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
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english