From: Teemu Likonen <tlikonen@iki.fi>
To: info-gnus-english@gnu.org
Subject: Re: Configuring the ellipses of hidden threads
Date: Thu, 15 Oct 2015 12:40:21 +0300 [thread overview]
Message-ID: <87k2qowjne.fsf@mithlond.arda> (raw)
In-Reply-To: <87h9ls7bi9.fsf@mailbox.org> (Alexander Baier's message of "Thu, 15 Oct 2015 10:59:42 +0200")
[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]
Alexander Baier [2015-10-15 10:59:42+02] wrote:
> With threading turned on, the summary buffer indicates children in a
> hidden thread by appending "..." to the end of the summary line. Is
> there a way to change this string? I would like to use an utf-8
> ellipsis "…" instead.
You can do that with display tables. Current buffer's display table is
in variable "buffer-display-table". It has a slot that controls how
invisible text is displayed. Perhaps this is does what you want:
(add-hook 'gnus-summary-mode 'my-gnus-summary-mode-hook)
(defun my-gnus-summary-mode-hook ()
(set-display-table-slot buffer-display-table 'selective-display [?…]))
You see, there is a vector [?…] which sets the character(s). Three Ascii
dots would be [?. ?. ?.]. See info node "(elisp) Display Tables".
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2015-10-15 9:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 8:59 Alexander Baier
2015-10-15 9:40 ` Teemu Likonen [this message]
2015-10-15 9:52 ` Teemu Likonen
2015-10-15 15:28 ` Alexander Baier
2015-10-15 15:40 ` Teemu Likonen
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=87k2qowjne.fsf@mithlond.arda \
--to=tlikonen@iki.fi \
--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).