From: Alexander Baier <alexander.baier@mailbox.org>
To: Teemu Likonen <tlikonen@iki.fi>
Cc: info-gnus-english@gnu.org
Subject: Re: Configuring the ellipses of hidden threads
Date: Thu, 15 Oct 2015 17:28:20 +0200 [thread overview]
Message-ID: <8761286tij.fsf@mailbox.org> (raw)
In-Reply-To: <87k2qowjne.fsf@mithlond.arda> (Teemu Likonen's message of "Thu, 15 Oct 2015 12:40:21 +0300")
On 2015-10-15 12:40 Teemu Likonen wrote:
> 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".
This works like a charm, thank you! For future reference, it should be
(add-hook 'gnus-summary-mode-hook 'my-gnus-summary-mode-hook)
^^^^^
I believe.
Regards,
--
Alexander Baier
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next prev parent reply other threads:[~2015-10-15 15:28 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
2015-10-15 9:52 ` Teemu Likonen
2015-10-15 15:28 ` Alexander Baier [this message]
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=8761286tij.fsf@mailbox.org \
--to=alexander.baier@mailbox.org \
--cc=info-gnus-english@gnu.org \
--cc=tlikonen@iki.fi \
/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).