From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: inserting comment headings Date: Mon, 19 Jan 2004 19:35:45 +1100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87k73o9vz2.fsf@tiger.rapttech.com.au> References: Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074501166 1865 80.91.224.253 (19 Jan 2004 08:32:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2004 08:32:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 09:32:37 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AiUpp-0003d7-00 for ; Mon, 19 Jan 2004 09:32:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AiUnu-0002gr-M4 for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2004 03:30:38 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:sygicYXrueaY99ZXVWYNPLkwx/s= Original-NNTP-Posting-Host: ppp193-172.lns1.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1074500153 ppp193-172.lns1.syd3.internode.on.net (19 Jan 2004 18:45:53 +1050) Original-Lines: 35 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!news.ade.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:120214 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16158 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16158 >>>>> "leo" == leo writes: leo> "Patrick Drechsler" wrote in message leo> news:m3vfn8g5ia.fsf@pdrechsler.fqdn.th-h.de... >> Hi, >> >> I can't find a command for inserting comment seperation >> headers... I'm probably looking for the wrong keywords. >> >> How do I insert something like this (i.e. lisp; preverably in all >> modes): >> >> ;;* my comment ---------------------------------------- leo> you can use `comment-region': set the mark before you begin, leo> then write the comment text and invoke `comment-region'. leo> should work in multiple modes. leo> cheers, leo In addition, in most modes if you hit M-; (usually bound to comment-region) without having set the region, you will get a comment character and then if you hit M-j you will get a continuation of the comment marker on the next line. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!