Subject: bug#10170: closed (Re: bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 09 Dec 2011 18:44:02 +0000

Your bug report

#10170: 24.0.91; scroll-conservatively in a c-mode buffer

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
10170: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10170
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer
From: Eli Zaretskii <[email-masked]>
To: Dani Moncayo <[email-masked]>
Cc: [email-masked]
Date: Fri, 09 Dec 2011 20:42:28 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Wed, 7 Dec 2011 16:04:20 +0100
> From: Dani Moncayo <[email-masked]>
> 
> > 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.

Subject: 24.0.91; scroll-conservatively in a c-mode buffer
From: Dani Moncayo <[email-masked]>
To: [email-masked]
Date: Wed, 30 Nov 2011 15:54:04 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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