unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Writing a script to add comments to a python file
@ 2012-07-15 23:45 Joshua Moore
  2012-07-16  1:26 ` John Bokma
  2012-07-16  3:35 ` Jambunathan K
  0 siblings, 2 replies; 3+ messages in thread
From: Joshua Moore @ 2012-07-15 23:45 UTC (permalink / raw)
  To: help-gnu-emacs

Hi gnu.emacs.help

I've been using the basic features of emacs for a while now, and would like to add my own functions to it. 

What would be a good way to implement a command that adds a comment symbol (#) to a selected region in a python file?

I can read and write a little bit of lisp-like languages, but I don't know how to access the region of selected text, edit the lines or where to save the script.

Any help is appreciated.

-- 
Josh


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-16  3:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-15 23:45 Writing a script to add comments to a python file Joshua Moore
2012-07-16  1:26 ` John Bokma
2012-07-16  3:35 ` Jambunathan K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).