bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58478: 29.0.50; Running (hl-line-mode +1) when global-hl-line-mode i


From: Lars Ingebrigtsen
Subject: bug#58478: 29.0.50; Running (hl-line-mode +1) when global-hl-line-mode is active sometimes disables hl-line-mode
Date: Thu, 13 Oct 2022 10:09:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Ihor Radchenko <yantar92@gmail.com> writes:

> 1. Create bug.el with the following contents
> -------------------
> (global-hl-line-mode t)
> (add-hook 'org-agenda-mode-hook
>         (lambda () (hl-line-mode +1))
>         'append)
> -------------------
> 2. Create bug.org with the following contents
> -------------------
> * TODO test
> -------------------
> 3. emacs -Q -l /path/to/bug.el /path/to-bug.org
> 4. M-x org-agenda <RET> < t
> 5. M-: hl-line-mode
>
> hl-line-mode is not active in agenda and the current line is not being
> highlighted.

Thanks for the clear recipe; I've now fixed this in Emacs 29.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]