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

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

[debbugs-tracker] bug#29111: closed (26.0.90; Erc keep-place module brok


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#29111: closed (26.0.90; Erc keep-place module broken with new default of switch-to-buffer-preserve-window-point)
Date: Tue, 21 Nov 2017 16:26:02 +0000

Your message dated Tue, 21 Nov 2017 11:25:36 -0500
with message-id <address@hidden>
and subject line Re: bug#29111: 26.0.90; Erc keep-place module broken with new 
default of switch-to-buffer-preserve-window-point
has caused the debbugs.gnu.org bug report #29111,
regarding 26.0.90; Erc keep-place module broken with new default of 
switch-to-buffer-preserve-window-point
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
29111: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29111
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.0.90; Erc keep-place module broken with new default of switch-to-buffer-preserve-window-point Date: Wed, 01 Nov 2017 23:41:06 -0400
Hi,

One of the built-in erc modules is keep-place (in erc-goodies), which
keeps the place of point while new messages come into erc. The module
works as expected in Emacs 25.

However, in Emacs 26, enabling this module does nothing in an Emacs -Q
(ie: the point is not saved at all, point is always moved to the bottom
of the buffer).

After much searching, I found this is related to the new default value
(t) of `switch-to-buffer-preserve-window-point'. When setting this
variable back to nil, this issue goes away, and the keep-place module
works as normal on Emacs 26.

Since `switch-to-buffer-preserve-window-point' is defaulting to t, is it
possible to update keep-place to work regardless of this setting? If
that's not a possibility (since this seems to be a global variable),
documentation needs to be updated somehow to make it very clear that
this variable must be set to 'nil' for keep-place to work properly.


I tested this with the minimal init file:

(require 'erc)
(setq erc-modules
          '(autojoin button completion fill irccontrols list match
                                 menu move-to-prompt netsplit networks 
noncommands
                                 readonly ring stamp track truncate keep-place))
(erc-update-modules)


Please let me know if you cannot reproduce.

-Jay

In GNU Emacs 26.0.90 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-10-22 built on laythe
Repository revision: 237e96bc5259e59ac5623a93a47f64abffab4e0b
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description:     Debian GNU/Linux 9.2 (stretch)




--- End Message ---
--- Begin Message --- Subject: Re: bug#29111: 26.0.90; Erc keep-place module broken with new default of switch-to-buffer-preserve-window-point Date: Tue, 21 Nov 2017 11:25:36 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
Hi,

As Eli said, I should have assignment on file. Let me know if there are
any other issues with the patch and I'll follow up. I'll (attempt) to
close this bug now.

Thanks again to Martin for all your help, and working to get this bug fixed!

-Jay


--- End Message ---

reply via email to

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