unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19345: 24.4; Opening buffer-menu causes periodic auto-recentering in all windows
@ 2014-12-11  4:36 Sylvain Benner
  2019-08-03 12:43 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Sylvain Benner @ 2014-12-11  4:36 UTC (permalink / raw)
  To: 19345

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

Whenever I open a buffer-menu with C-x C-b then switch to a buffer I get
a periodic recentering of the point in all the buffers I visit.

I tracked the bug to find a work around and ended up redefining
`tabulated-list-revert`
function like this:

(defun tabulated-list-revert (&rest ignored)
  "The `revert-buffer-function' for `tabulated-list-mode'.
It runs `tabulated-list-revert-hook', then calls `tabulated-list-print'."
  (interactive)
  (unless (derived-mode-p 'tabulated-list-mode)
    (error "The current buffer is not in Tabulated List mode"))
  (run-hooks 'tabulated-list-revert-hook)
  ;; hack is here
  ;; (tabulated-list-print t)
  (tabulated-list-print))

syl20bnr

[-- Attachment #2: Type: text/html, Size: 820 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-14  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11  4:36 bug#19345: 24.4; Opening buffer-menu causes periodic auto-recentering in all windows Sylvain Benner
2019-08-03 12:43 ` Lars Ingebrigtsen
2019-10-14  7:29   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).