From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "leo" Newsgroups: gmane.emacs.help Subject: Re: inserting comment headings Date: Mon, 19 Jan 2004 15:32:16 +1100 Organization: Netspace Internet Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1074487691 14966 80.91.224.253 (19 Jan 2004 04:48:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2004 04:48:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 05:48:03 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 1AiRKU-0004nc-00 for ; Mon, 19 Jan 2004 05:48:03 +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 1AiRIF-0008O6-CE for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Jan 2004 23:45:43 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!news.xtra.co.nz!news.mel.connect.com.au!news.netspace.net.au!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: dsl-210-15-204-246.nsw.netspace.net.au Original-X-Trace: otis.netspace.net.au 1074486712 30922 210.15.204.246 (19 Jan 2004 04:31:52 GMT) Original-X-Complaints-To: usenet@otis.netspace.net.au Original-NNTP-Posting-Date: Mon, 19 Jan 2004 04:31:52 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-Xref: shelby.stanford.edu gnu.emacs.help:120210 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:16154 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16154 "Patrick Drechsler" wrote in message 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 ---------------------------------------- you can use `comment-region': set the mark before you begin, then write the comment text and invoke `comment-region'. should work in multiple modes. cheers, leo