all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sylvain Benner <sylvain.benner@gmail.com>
To: 19345@debbugs.gnu.org
Subject: bug#19345: 24.4; Opening buffer-menu causes periodic auto-recentering in all windows
Date: Wed, 10 Dec 2014 23:36:54 -0500	[thread overview]
Message-ID: <CAGb_FfZQ4uzfScqgTwcX6SAjiMCxfZmxy7UBk-vPMEy+x=jp7A@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2014-12-11  4:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11  4:36 Sylvain Benner [this message]
2019-08-03 12:43 ` bug#19345: 24.4; Opening buffer-menu causes periodic auto-recentering in all windows Lars Ingebrigtsen
2019-10-14  7:29   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGb_FfZQ4uzfScqgTwcX6SAjiMCxfZmxy7UBk-vPMEy+x=jp7A@mail.gmail.com' \
    --to=sylvain.benner@gmail.com \
    --cc=19345@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.