brickman@cme-durer.ARPA (Jonathan E. Brickman) (07/29/88)
Has anyone out there who has used GNU emacs been aggravated with the
tendency of it to cause the status line to move halfway up the screen
with each scroll? I can't seem to prevent this, or find a source. I'm
running on Sun/3's in SunView 3.2.
||Jonathan E. Brickman
mikep@ism780c.isc.com (Michael A. Petonic) (07/30/88)
In article <534@rosie.cme-durer.ARPA> brickman@cme-durer.ARPA (Jonathan E. Brickman) writes: >Has anyone out there who has used GNU emacs been aggravated with the >tendency of it to cause the status line to move halfway up the screen >with each scroll? I can't seem to prevent this, or find a source. I'm >running on Sun/3's in SunView 3.2. >||Jonathan E. Brickman Look at your termcap description. Mine doesn't do what you say yours does when I use my WYSE-75. But, if I used the "AT386" (console driver for UNIX V.3.2/386), then it does. -MikeP
mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) (07/30/88)
In article <534@rosie.cme-durer.ARPA> brickman@cme-durer.ARPA (Jonathan E. Brickman) writes: >Has anyone out there who has used GNU emacs been aggravated with the >tendency of it to cause the status line to move halfway up the screen >with each scroll? I can't seem to prevent this, or find a source. I'm >running on Sun/3's in SunView 3.2. Your termcap entry for "sun" probably needs the following line inserted: :AL=\E[%dL:DL=\E[%dM:\ It is not in the standard sun termcap supplied by Sun, but is a fix described in one of the GNU files. Mike Khaw -- internet: mkhaw@teknowledge.arpa uucp: {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge.arpa hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303
msc_wdqn@jhunix.HCF.JHU.EDU (Daniel Q Naiman) (11/25/89)
I am new to gnu emacs and I am wondering how the experts deal with certain problems in emacs. For example, 1. It seems like a pain to type ESC-X goto-line to move the cursor to another line. Is it advisable to create one`s own key sequence to do this, or is there some trick I do not know about for getting the cursor. The command ESC-X < followed by ESC-number of lines CTRL-n would work, but that's a lot of typing! 2. In the manual to this wonderful PD Software it is indicated that global search and replace commands are not needed as often in emacs as they are in other editors. Why is this? Am I missing some fundamental principle? Again, is it possible to replace the command ESC-X replace-string ... with a command with less keystrokes? Any hints or references to hints would be greatly appreciated. Dan Naiman Department of Mathematical Sciences Johns Hopkins University msc_wdqn@jhunix.hcf.jhu.edu
arc1@ukc.ac.uk (A.R.Curtis) (11/27/89)
In article <3397@jhunix.HCF.JHU.EDU> msc_wdqn@jhunix.HCF.JHU.EDU (Daniel Q Naiman) writes: > > 1. It seems like a pain to type ESC-X goto-line to move the cursor to > You can globally bind keys to functions using global-set-key This allows you to take a key sequence and use that key sequence to invoke one of the emacs lisp functions (either one supplied or even one or your own). Suppose you wanted to use C-x C-r for ``goto-line''. What you do is (global-set-key "\^x\^r" 'goto-line) > 2. In the manual to this wonderful PD Software it is indicated that ^^^^^^ Isn't it under the GNU manifesto rather than PD? (Anyone up-to-date with the exact definition?) Have a look in gnu.misc.discuss or gnu.announce, or the GNU manifesto and copying files supplied with GNU software. > global search and replace commands are not needed as often in emacs > as they are in other editors. Why is this? Am I missing some fundamental > principle? Again, is it possible to replace the command ESC-X > replace-string ... with a command with less keystrokes? > Exactly as above really. (global-set-key "\^c\^r" 'query-replace) to bind C-c C-r to query-replace (string). There is also a query-replace-regexp. The reason global substitutes aren't required (often) is that you can try out a substitution with query-replace and if it works Ok, then you can make it global, but if not then you can abort and undo any changes which occurred. The function documentation for query-replace will tell you how. Hope that helps. Tony
kjones@talos.uucp (Kyle Jones) (11/28/89)
[ comp.emacs readers, the article to which I am responding was posted to comp.editors. ] Daniel Q Naiman writes: > I am new to gnu emacs and I am wondering how the experts deal with certain > problems in emacs. For example, > > 1. It seems like a pain to type ESC-X goto-line to move the cursor to > another line. Is it advisable to create one`s own key sequence to do > this, or is there some trick I do not know about for getting the > cursor. Create your own key sequence. C-x g and ESC g are good choices, since the commands that to which these keys are normally bound (inser-register and fill-region respectively) are not commands a beginner would normally use. In particular fill-region is a terrible command to invoke by accident. If you like ESC g, then put (global-set-key "\eg" 'goto-line) in your .emacs file. For C-x g, use (global-set-key "\C-xg" 'goto-line) > The command ESC-X < followed by ESC-number of lines CTRL-n > would work, but that's a lot of typing! Ironically enough, the command goto-line does little more than that, internally. > 2. In the manual to this wonderful PD Software it is indicated that > global search and replace commands are not needed as often in > emacs as they are in other editors. Why is this? If you become proficient with Emacs regular expressions, then you'll be able to do with one global replace command what it would take several commands to do in a lesser editor. That's true enough, although the author of the manual could have chose better words, if that's what he intended to say. > Am I missing some fundamental principle? Again, is it possible > to replace the command ESC-X replace-string ... with a command > with less keystrokes? Yes, just bind the command replace-string to a key. ESC r is a good choice for this, as move-to-window-line (what ESC r is bound to by default) isn't used that often, at least not by me. In fact I've never used it, except to see what it does. > Any hints or references to hints would be greatly appreciated. Read comp.emacs; 99% of the Emacs discussions take place there. As for why comp.emacs isn't called comp.editors.emacs, well, we're working on that. kyle jones <kjones@talos.uu.net> ...!uunet!talos!kjones "Give your analytical hemisphere a break now and then... it's both a candy *and* a breath mint!" --- Cam Spillman
cscdts@sysauto.UUCP (CSC Data Transmission System) (08/31/90)
Just for the records. I know that VI means 'Visual' Editor. What does EMACS mean.?? Also, is it called Emacs or The Emacs? E-mail will be appreciated -- olu@sysauto.UUCP
mwm@raven.pa.dec.com (Mike (Real Amigas have keyboard garages) Meyer) (08/31/90)
In article <BRISTER.90Aug31111824@westworld.decwrl.dec.com> brister@decwrl.dec.com (James Brister) writes: > What does EMACS mean.?? I believe EMACS was part of the name of an ice cream store near MIT where Richard Stallman (RMS) and others would go. How about "Editor MACros", as it started life as a set of ITS TECO macros. <mike -- So this is where the future lies Mike Meyer In a beer gut belly; In an open fly mwm@relay.pa.dec.com Brilcreamed, acrylic, mindless boys decwrl!mwm Punching, kicking, making noise
brister@decwrl.dec.com (James Brister) (08/31/90)
On 30 Aug 90 19:28:07 GMT, cscdts@sysauto.UUCP (CSC Data Transmission System) said: > What does EMACS mean.?? I believe EMACS was part of the name of an ice cream store near MIT where Richard Stallman (RMS) and others would go. > Also, is it called Emacs or The Emacs? If you're discussing GNU Emacs, then it's "THE Emacs", otherwise it's "Another Emacs". James -- James Brister brister@decwrl.dec.com DEC Western Software Lab., Palo Alto, California. .....!decwrl!brister
captain@sun.udel.edu (Jeffrey Kirk) (09/01/90)
Gee, I always thought EMACS stood for: Eight Megabytes And Constantly Swapping -- Disclaimer: My other computer is a Cray. captain@sun.acs.udel.edu (Jeff C. Kirk)
molnar@neis.UUCP (Christopher Molnar) (05/24/91)
I seem to remember a command line prompt that will put micro-emacs into a text mode (one including a word wrap feature, as well as margins). Can anyone out there tell me what this command is, or if it isn't a command line, how I might do this from inside the program? Thanks for the help! ---------- Christopher J. Molnar uunet!crdgw1!sixhub!neis!molnar New England Information Services molnar@neis.UUCP New England Inventory Systems ------------------------------- 345 State Street #3F Ask about NEIS V1.1 BBS Albany, New York 12210 a full function *nix BBS Package -------------------------------------------------------------------------