all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer
@ 2011-11-30 14:54 Dani Moncayo
  2011-12-07 15:04 ` Dani Moncayo
  0 siblings, 1 reply; 5+ messages in thread
From: Dani Moncayo @ 2011-11-30 14:54 UTC (permalink / raw)
  To: 10170

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

Recipe from "emacs -Q":

1. Eval: (setq scroll-conservatively 101)
2. Eval: (setq scroll-margin 1)
3. Eval: (custom-set-faces '(mode-line ((t (:box (:line-width 1))))))
4. Visit the attached file (c-mode should be activated automatically).
5. Type: `C-s p'

The point jumps to line "/*p1*/" but an instant later the buffer is
scrolled vertically by 1 line.  This last scrolling should be avoided,
i.e., the buffer should be displayed in the right position without
having to correct its location afterwards.


In GNU Emacs 24.0.91.1 (i386-mingw-nt5.1.2600)
 of 2011-11-25 on DANI-PC
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.6) --cflags -fno-omit-frame-pointer'


-- 
Dani Moncayo

[-- Attachment #2: test.c --]
[-- Type: text/x-csrc, Size: 142 bytes --]

/* this is a test */















































/*p1*/










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

end of thread, other threads:[~2011-12-09 18:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 14:54 bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer Dani Moncayo
2011-12-07 15:04 ` Dani Moncayo
2011-12-07 17:54   ` Eli Zaretskii
2011-12-07 18:21     ` Dani Moncayo
2011-12-09 18:42   ` Eli Zaretskii

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.