GNU bug report logs - #10170
24.0.91; scroll-conservatively in a c-mode buffer

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Wed, 30 Nov 2011 14:55:01 UTC

Severity: normal

Found in version 24.0.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#10170: closed (24.0.91; scroll-conservatively in a c-mode buffer)
Date: Fri, 09 Dec 2011 18:44:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 09 Dec 2011 20:42:28 +0200
with message-id <83liqlmvsb.fsf <at> gnu.org>
and subject line Re: bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer
has caused the debbugs.gnu.org bug report #10170,
regarding 24.0.91; scroll-conservatively in a c-mode buffer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
10170: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10170
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.91; scroll-conservatively in a c-mode buffer
Date: Wed, 30 Nov 2011 15:54:04 +0100
[Message part 3 (text/plain, inline)]
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
[test.c (text/x-csrc, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 10170-done <at> debbugs.gnu.org
Subject: Re: bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer
Date: Fri, 09 Dec 2011 20:42:28 +0200
> Date: Wed, 7 Dec 2011 16:04:20 +0100
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> 
> > 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.
> 
> Ping.
> 
> I experience this bug everyday, while editing C files.  It would be
> sad to release Emacs 24 with this bug.

Fixed in revision 106644 on the trunk.



This bug report was last modified 13 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.