🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #73001

Keyboard macros in emacs lisp.

#73001
From: Sharma Kunapalli
Date: Wed, 13 Nov 1991 16:38
19 lines
1079 bytes
I have a question on keyboard macros. I don't
know if this is the right newsgroup. If not, Could you please direct me to the
right newsgroup.

I want to insert a character '>' at the beginning of this line and
move to the next line. 

(defun my-insert-char ()
  (interactive) ; Should this be here. Why?
  (beginning-of-line)
  (">") ; What should I do here? (self-insert-command >) does not work.
  (forward-line)
 )

Does anyone know how?

Thanks

Sharma
Technical Details
Message-ID: <1991Nov13.163852.20311@enigma.Warren.MENTORG.COM>
Path: arc1-ca.pugleaf.net!gmdzi!ieee.org!sdd.hp.com!spool.mu.edu!uunet!news.mentorg.com!sdl!sharma

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,db1f5982713c6177,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-11-13 09:08:56 PST
Path: arc1-ca.pugleaf.net!gmdzi!ieee.org!sdd.hp.com!spool.mu.edu!uunet!news.mentorg.com!sdl!sharma
From: sharma@scsfs11.Warren.MENTORG.COM (Sharma Kunapalli)
Newsgroups: gnu.misc.discuss
Subject: Keyboard macros in emacs lisp.
Message-ID: <1991Nov13.163852.20311@enigma.Warren.MENTORG.COM>
Date: 13 Nov 91 16:38:52 GMT
Sender: sharma@enigma.Warren.MENTORG.COM (Sharma Kunapalli)
Organization: Mentor Graphics Corp. - Warren, NJ
Lines: 19