From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Bokma Newsgroups: gmane.emacs.help Subject: Re: Commenting out block of code in emacs in python mode Date: Wed, 13 Jan 2010 16:08:39 -0600 Organization: Castle Amber Message-ID: <87tyupd5eg.fsf@castleamber.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263430903 3927 80.91.229.12 (14 Jan 2010 01:01:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2010 01:01:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 14 02:01:35 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NVE5c-0003vE-3U for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jan 2010 02:01:32 +0100 Original-Received: from localhost ([127.0.0.1]:38090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVE5c-0003hM-TA for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jan 2010 20:01:32 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-X-Trace: individual.net njMvHSqN23OOw2WXgV1E7Ay7gBB4fKEHlwBzQqBQIxz3EX/MbW Cancel-Lock: sha1:7ySszm7ChJVRVSvKxqlXHi+zFCk= sha1:5rdbGOa0gNWsFObso8vtqnOKzMU= X-Url: http://johnbokma.com/ User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:176136 X-Mailman-Approved-At: Wed, 13 Jan 2010 20:01:07 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71207 Archived-At: alex47387 writes: > Hi, > > I hope I am posting this question in the right forum; otherwise please let > me know. > > Here is my problem: > I usually develop python code with emacs, emacs being in python code. On my > desktop a version is installed and/or configured that way, so I easily can > choose a region in the code and simply click on a menu option to comment out > this block of code (i.e. at the begin of each line in the selected code two > '##' are put). That is very convenient. > However, on my Laptop, running F12 and emacs 23.1.1, this menu option is > missing! I searched within google and found the hint that by pressing 'C-c > #' I also can comment out a selected region. But on my emacs it says: 'C-c # > is undefined'. Am I missing something? Anyone any idea how to > fix/install/update/solve this problem, so I can easily choose a couple of > python lines and comment them out? M-; comment DWIM, works on selected region -- John Bokma Read my blog: http://johnbokma.com/ Hire me (Perl/Python): http://castleamber.com/