From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: Customize citation character
Date: Wed, 18 Jan 2012 08:31:24 +0100 [thread overview]
Message-ID: <87ty3tqxf7.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <b4mipk93bnc.fsf@jpl.org>
On Wed, Jan 18 2012, Katsumi Yamaoka wrote:
> 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
[...]
> (replace-match (subst-char-in-string
> ?> ?| (match-string 0)))))))
That's probably not /visually/ because it also affects followups as
demonstrated above.
I think using display strings might be an option (untested).
(info "(elisp)Display Property"), (info "(elisp)Other Display Specs")
,----[ (info "(elisp)Other Display Specs") ]
| `STRING'
| Display STRING instead of the text that has this property.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2012-01-18 7:31 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
2012-01-18 7:31 ` Reiner Steib [this message]
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=87ty3tqxf7.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--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).