From: Dani Moncayo <dmoncayo@gmail.com>
To: 10170@debbugs.gnu.org
Subject: bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer
Date: Wed, 30 Nov 2011 15:54:04 +0100 [thread overview]
Message-ID: <CAH8Pv0iHQF6NEexWTUMH_XbAeW+kT-mU2ZqdBBKBVCD+7Wohow@mail.gmail.com> (raw)
[-- 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*/
next reply other threads:[~2011-11-30 14:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-30 14:54 Dani Moncayo [this message]
2011-12-07 15:04 ` bug#10170: 24.0.91; scroll-conservatively in a c-mode buffer Dani Moncayo
2011-12-07 17:54 ` Eli Zaretskii
2011-12-07 18:21 ` Dani Moncayo
2011-12-09 18:42 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH8Pv0iHQF6NEexWTUMH_XbAeW+kT-mU2ZqdBBKBVCD+7Wohow@mail.gmail.com \
--to=dmoncayo@gmail.com \
--cc=10170@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.