The Emacs version I'm using: GNU Emacs 22.2.1 (i386-redhat-linux-gnu, GTK + Version 2.12.9)
A gdb call from emacs breaks the horizontal scroll in emacs windows. I call gdb by typing Mx gdb and then accept the default value (just adding the name of my binary at the end, for example): gdb --annotate = 3 unittest
At some point after calling the debugger (not immediately), automatic horizontal scrolling no longer works.
By using automatic horizontal scrolling, I mean that the expected behavior: follow the cursor by moving the viewport left or right when necessary. For example: when the cursor is at the end of a long row (for example, column 200), the window's viewing area moves to the right, so that column 200 is visible. If I then click "Home" and the cursor moves to the beginning of the line - the window also follows it, and I can see the leftmost column of the buffer.
Inserting my entire .emacs file here is probably a bad idea, so I was just looking for hscroll related entries:
(custom-set-variables
'(column-number-mode t)
'(cua-mode t nil (cua-base))
'(hscroll-global-mode t nil (hscroll))
'(hscroll-margin 5)
'(hscroll-mode-name " ")
'(hscroll-snap-threshold 30)
'(indent-tabs-mode nil)
...
... but I can attach it here or send an email if someone thinks it is necessary ...
, - , , - , , emacs... , 20....