home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / help / 3941 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.4 KB  |  38 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!cis.ohio-state.edu!midget.towson.edu!tree
  3. From: tree@midget.towson.edu (Denise Tree)
  4. Subject: line numbers
  5. Message-ID: <9209020320.AA07133@midget.towson.edu>
  6. Sender: daemon@cis.ohio-state.edu
  7. Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
  8. Date: Tue, 1 Sep 1992 19:20:10 GMT
  9. Lines: 27
  10.  
  11.  
  12. Hello Gnuish,
  13. I know that Emacs is not a line type editor but I've been doing
  14. a lot of patching lately and it would be helpful....
  15.  
  16. I tried line-nos.el from the archive but it doesn't work for me.
  17. It's quite an amazing kluge though..
  18.  
  19. Next I tried to write a keyboard macro that would combine next-line
  20. with what-line:
  21.  
  22.          (define-key SS3-map "q" 'line-nnum)
  23.          (fset 'line-nnum
  24.         "^N^[xwhat-line^M)
  25.  
  26. It moves down a line but does not do what-line.
  27.  
  28. Am I trying to do something that can't be done easily? It seems like
  29. it would work as a macro...but I am not elispoid.
  30. ______________________________________________________________________
  31. _______________ Denise Tree
  32. ____________________________tree@midget.towson.edu
  33. _________________________________________.... . . .   .   .    .     .
  34.                                                                      .
  35.                                                                      .
  36.                                                                      *
  37.     
  38.