unofficial mirror of bug-gnu-emacs@gnu.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

* bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer
  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-09 18:42   ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Dani Moncayo @ 2011-12-07 15:04 UTC (permalink / raw)
  To: 10170

> 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.

-- 
Dani Moncayo





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

* bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2011-12-07 17:54 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 10170

> Date: Wed, 7 Dec 2011 16:04:20 +0100
> From: Dani Moncayo <dmoncayo@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.

Cool down.  No one is going to release Emacs 24 any time soon.  This
bug was reported a few days ago, and it's tricky, so I will need more
than a few moments to debug it.  I only have enough time to debug
tricky bugs on weekends.






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

* bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer
  2011-12-07 17:54   ` Eli Zaretskii
@ 2011-12-07 18:21     ` Dani Moncayo
  0 siblings, 0 replies; 5+ messages in thread
From: Dani Moncayo @ 2011-12-07 18:21 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 10170

> Cool down.  No one is going to release Emacs 24 any time soon.  This
> bug was reported a few days ago, and it's tricky, so I will need more
> than a few moments to debug it.  I only have enough time to debug
> tricky bugs on weekends.

Ok Eli.  Take your time.

-- 
Dani Moncayo





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

* bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer
  2011-12-07 15:04 ` Dani Moncayo
  2011-12-07 17:54   ` Eli Zaretskii
@ 2011-12-09 18:42   ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2011-12-09 18:42 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 10170-done

> Date: Wed, 7 Dec 2011 16:04:20 +0100
> From: Dani Moncayo <dmoncayo@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.






^ 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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).