From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Customize citation character
Date: Wed, 18 Jan 2012 12:57:59 +0900 [thread overview]
Message-ID: <b4mipk93bnc.fsf@jpl.org> (raw)
In-Reply-To: <87wr8pohnv.fsf@nzebook.haselwarter.org>
philipp.haselwarter@gmx.de wrote:
> Is it possible to /visually/ replace the leading `> ' in citations with
> something else, like `│ ' ?
Is this ok?
(add-hook 'gnus-article-prepare-hook
(lambda nil
(goto-char (point-min))
(let ((inhibit-read-only t))
(while (re-search-forward "^[\t >]+" nil t)
(replace-match (subst-char-in-string
?> ?| (match-string 0)))))))
next prev parent reply other threads:[~2012-01-18 3:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 2:42 Philipp Haselwarter
2012-01-18 3:57 ` Katsumi Yamaoka [this message]
2012-01-18 7:31 ` Reiner Steib
2012-01-18 17:58 ` Yagnesh Raghava Yakkala
2012-01-18 18:15 ` Yagnesh Raghava Yakkala
2012-01-19 19:24 ` Philipp Haselwarter
2012-01-19 21:13 ` Yagnesh Raghava Yakkala
2012-01-18 6:17 ` Martin
2012-01-18 8:48 ` Eric S Fraga
2012-01-18 10:06 ` Eric S Fraga
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=b4mipk93bnc.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.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).