unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15951: 24.3.50; C-n and C-p don't work in narrowed buffer
@ 2013-11-22  4:14 Katsumi Yamaoka
  2013-11-22 11:59 ` Stephen Berman
  0 siblings, 1 reply; 4+ messages in thread
From: Katsumi Yamaoka @ 2013-11-22  4:14 UTC (permalink / raw)
  To: 15951

Run Emacs with the -Q option, create a new buffer, and put those
three lines there,

foo
bar
baz

type  C-p  C-p  C-SPC  M-> , and type `C-x n n' so that the last
two lines are visible.  Then you will see C-n and C-p don't work.

In GNU Emacs 24.3.50.1 (i686-pc-cygwin, GTK+ Version 3.8.2)
 of 2013-11-22 on localhost
Bzr revision: 115177 yamaoka@jpl.org-20131121221530-5ip837owjus3yvjc
Windowing system distributor `The Cygwin/X Project', version 11.0.11404000
Configured using:
 `configure --verbose --with-x-toolkit=gtk3'





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

* bug#15951: 24.3.50; C-n and C-p don't work in narrowed buffer
  2013-11-22  4:14 bug#15951: 24.3.50; C-n and C-p don't work in narrowed buffer Katsumi Yamaoka
@ 2013-11-22 11:59 ` Stephen Berman
  2013-11-22 13:10   ` Katsumi Yamaoka
  2013-11-22 16:07   ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Berman @ 2013-11-22 11:59 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: 15951

On Fri, 22 Nov 2013 13:14:49 +0900 Katsumi Yamaoka <yamaoka@jpl.org> wrote:

> Run Emacs with the -Q option, create a new buffer, and put those
> three lines there,
>
> foo
> bar
> baz
>
> type  C-p  C-p  C-SPC  M-> , and type `C-x n n' so that the last
> two lines are visible.  Then you will see C-n and C-p don't work.

This is evidently more fallout from enabling cache-long-scans: if you
set this to nil, C-n and C-p work again.

> In GNU Emacs 24.3.50.1 (i686-pc-cygwin, GTK+ Version 3.8.2)
>  of 2013-11-22 on localhost
> Bzr revision: 115177 yamaoka@jpl.org-20131121221530-5ip837owjus3yvjc
> Windowing system distributor `The Cygwin/X Project', version 11.0.11404000
> Configured using:
>  `configure --verbose --with-x-toolkit=gtk3'

Steve Berman





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

* bug#15951: 24.3.50; C-n and C-p don't work in narrowed buffer
  2013-11-22 11:59 ` Stephen Berman
@ 2013-11-22 13:10   ` Katsumi Yamaoka
  2013-11-22 16:07   ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Katsumi Yamaoka @ 2013-11-22 13:10 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 15951

Stephen Berman <stephen.berman@gmx.net> wrote:
> On Fri, 22 Nov 2013 13:14:49 +0900 Katsumi Yamaoka <yamaoka@jpl.org> wrote:
>> Run Emacs with the -Q option, create a new buffer, and put those
>> three lines there,

>> foo
>> bar
>> baz

>> type  C-p  C-p  C-SPC  M-> , and type `C-x n n' so that the last
>> two lines are visible.  Then you will see C-n and C-p don't work.

> This is evidently more fallout from enabling cache-long-scans: if you
> set this to nil, C-n and C-p work again.

Thanks.  I confirmed (setq-default cache-long-scans nil) helps.
I overlooked it is buffer-local.





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

* bug#15951: 24.3.50; C-n and C-p don't work in narrowed buffer
  2013-11-22 11:59 ` Stephen Berman
  2013-11-22 13:10   ` Katsumi Yamaoka
@ 2013-11-22 16:07   ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2013-11-22 16:07 UTC (permalink / raw)
  To: Stephen Berman; +Cc: yamaoka, 15951-done

> From: Stephen Berman <stephen.berman@gmx.net>
> Date: Fri, 22 Nov 2013 12:59:21 +0100
> Cc: 15951@debbugs.gnu.org
> 
> On Fri, 22 Nov 2013 13:14:49 +0900 Katsumi Yamaoka <yamaoka@jpl.org> wrote:
> 
> > Run Emacs with the -Q option, create a new buffer, and put those
> > three lines there,
> >
> > foo
> > bar
> > baz
> >
> > type  C-p  C-p  C-SPC  M-> , and type `C-x n n' so that the last
> > two lines are visible.  Then you will see C-n and C-p don't work.
> 
> This is evidently more fallout from enabling cache-long-scans: if you
> set this to nil, C-n and C-p work again.

No, this is cache-long-scans doing us a favor and exposing a bug in
our code that uses one of the caches.

Fixed in trunk revision 115190.

Thanks.





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

end of thread, other threads:[~2013-11-22 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-22  4:14 bug#15951: 24.3.50; C-n and C-p don't work in narrowed buffer Katsumi Yamaoka
2013-11-22 11:59 ` Stephen Berman
2013-11-22 13:10   ` Katsumi Yamaoka
2013-11-22 16:07   ` 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).