[Top][All Lists]

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

bug#35613: Cursor returns to wrong article!

From: Basil L. Contovounesios
Subject: bug#35613: Cursor returns to wrong article!
Date: Wed, 08 May 2019 13:09:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

積丹尼 Dan Jacobson <address@hidden> writes:

> Thanks. I suppose the temporary workaround is
> (add-hook 'gnus-summary-mode-hook
>  (lambda ()
>    (setq switch-to-buffer-preserve-window-point nil))) ;until bug#35613 fixed

Doing that will change the global value of
switch-to-buffer-preserve-window-point.  If you're okay with doing that,
why bother with gnus-summary-mode-hook at all?  Just set the user option
once and for all.

Alternatively, if you want to localise the change, you can instead:

(add-hook 'gnus-article-mode-hook
          (lambda ()
            (setq-local switch-to-buffer-preserve-window-point nil)))


reply via email to

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