[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Configuring the ellipses of hidden threads
From: |
Teemu Likonen |
Subject: |
Re: Configuring the ellipses of hidden threads |
Date: |
Thu, 15 Oct 2015 12:40:21 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (gnu/linux) |
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".
signature.asc
Description: PGP signature