help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Writing a script to add comments to a python file


From: Joshua Moore
Subject: Writing a script to add comments to a python file
Date: Sun, 15 Jul 2012 16:45:20 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]