From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: C Mode Comments Date: Mon, 30 Dec 2002 17:35:05 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84r8bz79dy.fsf@lucy.cs.uni-dortmund.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041266285 25898 80.91.224.249 (30 Dec 2002 16:38:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Dec 2002 16:38:05 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18T2vO-0006ix-00 for ; Mon, 30 Dec 2002 17:37:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18T2t6-0000sC-07 for gnu-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2002 11:35:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!p50877cb3.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: p50877cb3.dip.t-dialin.net (80.135.124.179) Original-X-Trace: fu-berlin.de 1041266112 8792158 80.135.124.179 (16 [73968]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:EArfIZkyYTA9Azo8iLoriWlwWxs= Original-Xref: shelby.stanford.edu gnu.emacs.help:108603 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5132 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5132 Kevin Dziulko writes: > I am running GNU Emacs 20.2.3. M-; does not run comment-dwim, but runs > indent-for-comment. > > What I am looking for is a command that would have the effect of killing > an entire comment. For example, given: > > int x; /* this is a comment */ > > Only "int x;" would remain on this line of code. It might work to say C-u M-;. You could try to search for a file newcomment.el, it might have been posted to gnu.emacs.sources and this version might work with your Emacs. Or it might not. Maybe it's easier to just upgrade your Emacs. This is very easy to do, if you have enough space in your home dir, say. -- Ambibibentists unite!