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

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

Unwanted automatic cursor recentering


From: Edgar Thier
Subject: Unwanted automatic cursor recentering
Date: Thu, 13 Mar 2014 06:03:42 -0700

Hi,

I currently have the situation that emacs sometimes decides to enable a
global
auto recentering of the cursor. After this event the cursor will
recenter itself in all buffers.
One step step that seems to trigger this behaviour halfway reliably is
calling gud-gdb.
This behaviour does not seem related to this mode though and appears
often enough withou gbd interaction.

After another short while a warning like this will appear:

Warning (undo): Buffer `*Buffer List*' undo info was 12561756 bytes
long.
The undo info was discarded because it exceeded `undo-outer-limit'.

This is normal if you executed a command that made a huge change
to the buffer.  In that case, to prevent similar problems in the
future, set `undo-outer-limit' to a value that is large enough to
cover the maximum size of normal changes you expect a single
command to make, but not so large that it might exceed the
maximum memory allotted to Emacs.

If you did not execute any such command, the situation is
probably due to a bug and you should report it.

You can disable the popping up of this buffer by adding the entry
(undo discard-info) to the user option `warning-suppress-types',
which is defined in the `warnings' library.



This is not correlated to the buffer I am currently working on.
A restart of emacs fixes this problem for a good amount of time.
My emacs version is 24.3 und debian testing.

I do not know if this settings are in any way related but I use the
following settings for the cursor:

(mouse-wheel-mode t)
(setq scroll-conservatively 10000)
(setq auto-window-vscroll nil)
(setq mouse-wheel-scroll-amount '(5 ((shift) . 1)))
(setq mouse-wheel-progressive-speed nil)
(setq mouse-wheel-follow-mouse 't)
(setq scroll-step 1)

Undo limit is defined as follows;
(setq undo-limit 100000)



reply via email to

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