Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: David Z Maze <dmaze@mit.edu>
To: info-gnus-english@gnu.org
Subject: Re: Alterative to tc-indent-region?
Date: Tue, 10 Jul 2007 11:31:56 -0400	[thread overview]
Message-ID: <y68bqeknukz.fsf@contents-vnder-pressvre.mit.edu> (raw)
In-Reply-To: <hddy7hobn0o.fsf@decibel.pvv.ntnu.no>

Svend Tollak Munkejord <stm-direct_reply@pvv.org> 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.

I might just use M-x replace-regexp ^ > to insert a > at the start of
each line.

(Bizarrely, this is something I know how to do *easier* in vi: move to
start of current region, use C-g to find the current line number, move
to end of region, then do :97,.s/^/>/ where 97 was that earlier line
number to do the same replace-regexp.)

C-h f indent-region talks about indenting non-blank lines with the fill
prefix, which is set via set-fill-prefix, which IIRC is usually bound to
C-x f.  So another approach would be to move after the citation mark on
an earlier line, run M-x set-fill-prefix, then select the section to
quote and run M-x indent-region.

C-h f message- TAB gives me a list of message-related functions (which
is to say, Gnus' message-composition mode) but nothing there jumped out
at me.

  --dzm

  reply	other threads:[~2007-07-10 15:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10  9:56 Svend Tollak Munkejord
2007-07-10 15:31 ` David Z Maze [this message]
2007-07-11  6:56   ` Svend Tollak Munkejord
2007-07-11 19:34   ` Reiner Steib
2007-07-12  7:05     ` Svend Tollak Munkejord
2007-07-12 16:30       ` Reiner Steib
2007-07-13  6:46         ` Svend Tollak Munkejord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y68bqeknukz.fsf@contents-vnder-pressvre.mit.edu \
    --to=dmaze@mit.edu \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).