GNU bug report logs - #18739
24.3; Request for a hook to be provided when scrolling will move the cursor

Previous Next

Package: emacs;

Reported by: josh+gnu <at> nispio.net

Date: Wed, 15 Oct 2014 19:09:02 UTC

Severity: wishlist

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 18739 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> suse.de>
Cc: josh+gnu <at> nispio.net, 18739 <at> debbugs.gnu.org, josh.huns <at> gmail.com
Subject: Re: bug#18739: 24.3;
 Request for a hook to be provided when scrolling will move the cursor
Date: Thu, 16 Oct 2014 10:50:59 +0300
> From: Andreas Schwab <schwab <at> suse.de>
> Cc: josh+gnu <at> nispio.net,  18739 <at> debbugs.gnu.org,  josh.huns <at> gmail.com
> Date: Thu, 16 Oct 2014 09:38:18 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Andreas Schwab <schwab <at> suse.de>
> >> Cc: Josh Hunsaker <josh.huns <at> gmail.com>,  josh+gnu <at> nispio.net,  18739 <at> debbugs.gnu.org
> >> Date: Thu, 16 Oct 2014 09:15:08 +0200
> >> 
> >> Eli Zaretskii <eliz <at> gnu.org> writes:
> >> 
> >> >> From: Josh Hunsaker <josh.huns <at> gmail.com>
> >> >> Date: Wed, 15 Oct 2014 14:12:49 -0700
> >> >> Cc: josh+gnu <at> nispio.net, 18739 <at> debbugs.gnu.org
> >> >> 
> >> >> > The usual technique in Emacs is to put the mark where you were before
> >> >> > scrolling.  Then "C-x C-x" will get you back.
> >> >> 
> >> >> This requires the forethought to set the mark before scrolling.
> >> >
> >> > No, you can do it always.
> >> 
> >> Then you lose the previous mark.
> >
> > Not if it's pushed.
> 
> C-x C-x only uses the current mark.

Which is what the OP wants.  Later, he can restore the other marks
from the ring, if that is needed.





This bug report was last modified 3 years and 30 days ago.

Previous Next


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