From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9312 Path: news.gmane.org!not-for-mail From: Svend Tollak Munkejord Newsgroups: gmane.emacs.gnus.user Subject: Re: Alterative to tc-indent-region? Date: Thu, 12 Jul 2007 09:05:56 +0200 Organization: The Royal Society for Putting Things on Top of Other Things Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184226020 27537 80.91.229.12 (12 Jul 2007 07:40:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2007 07:40:20 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Jul 12 09:40:19 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I8tHf-0001oy-0e for gegu-info-gnus-english@m.gmane.org; Thu, 12 Jul 2007 09:40:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8tHe-00089H-HY for gegu-info-gnus-english@m.gmane.org; Thu, 12 Jul 2007 03:40:18 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.freenet.de!ecngs!feeder2.ecngs.de!feeder.erje.net!nuzba.szn.dk!pnx.dk!news.banetele.no!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 45 Original-NNTP-Posting-Host: decibel.pvv.ntnu.no Original-X-Trace: quimby.gnus.org 1184223956 1146 129.241.210.179 (12 Jul 2007 07:05:56 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 12 Jul 2007 07:05:56 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Face: (2vS>!nr@2"*^KO{^8A<, _lGWx3HpnuA1UCA5vbsLl|2fZAV\T'x(3E`4@UJ >_mn@3S(.`C]g9DoFSSNAB@hftp\f-b#!UjRVfG5e#~H*^RvP+:meH63245"^?Zs7S[dE(SL`cn Cancel-Lock: sha1:F70k0j9rYD58UqX23R+VNh2j8Eo= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79498 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9312 Archived-At: On 2007-07-11, Reiner Steib wrote: > On Tue, Jul 10 2007, David Z Maze wrote: > >> Svend Tollak Munkejord writes: >> >>> Is there a function in standard No Gnus that resembles >>> tc-indent-region from Trivial Cite? (I didn't find any.) >>> tc-indent-region inserts ">" in front of each line, and it is >>> practical if you want to fix replies to replies made e.g. using >>> Outlook. > > ,----[ ` k M-;' ] > | M-; runs the command comment-region > | which is an interactive compiled Lisp function in `newcomment'. > | It is bound to M-;. > | (comment-region beg end &optional arg) > | > | Comment or uncomment each line in the region. > | With just C-u prefix arg, uncomment each line in region beg .. end. > | Numeric prefix arg means use arg comment characters. > | If arg is negative, delete that many comment characters instead. > | By default, comments start at the left margin, are terminated on each line, > | even for syntax in which newline does not end the comment and blank lines > | do not get comments. This can be changed with `comment-style'. > | > | The strings used as comment starts are built from > | `comment-start' without trailing spaces and `comment-padding'. > `---- Ah, I didn't know that comment-region was this clever. However, this produces citations with "> > " in front of them. To have ">> " instead, I set (add-hook 'message-mode-hook (lambda () (setq comment-start ">"))) in ~/.gnus Does that seem to be an OK solution? Regards, -- Svend Tollak Munkejord