From: Ivan Shmakov <ivan@siamics.net>
To: 18739@debbugs.gnu.org
Subject: bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor
Date: Wed, 15 Oct 2014 21:27:28 +0000 [thread overview]
Message-ID: <87mw8xvxa7.fsf@violet.siamics.net> (raw)
In-Reply-To: <CAHatyRFn80=ZUf71BJbYK+Osox9SSEE=55ZumSKP42Fx5tzQrA@mail.gmail.com> (Josh Hunsaker's message of "Wed, 15 Oct 2014 14:12:49 -0700")
>>>>> Josh Hunsaker <josh.huns@gmail.com> writes:
>>> I am writing code and I realize that I forgot the name of the
>>> variable that I defined 30 lines ago, I use the mouse to do a quick
>>> scroll up, read the name, and scroll back down where I came from.
>> 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.
Usually, I use incremental search (C-r) to look back at the
code. A side effect of that is that the mark gets set, so after
I’ve looked what I was interested in up, – I can readily C-x C-x
my way back.
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
next prev parent reply other threads:[~2014-10-15 21:27 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-15 18:51 bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor Josh
2014-10-15 20:43 ` Eli Zaretskii
2014-10-15 21:01 ` Josh
2014-10-15 21:08 ` Eli Zaretskii
2014-10-15 21:12 ` Josh Hunsaker
2014-10-15 21:27 ` Ivan Shmakov [this message]
2014-10-16 6:36 ` Eli Zaretskii
2014-10-16 7:15 ` Andreas Schwab
2014-10-16 7:33 ` Eli Zaretskii
2014-10-16 7:38 ` Andreas Schwab
2014-10-16 7:50 ` Eli Zaretskii
2014-10-15 22:48 ` Stefan Monnier
2014-10-16 6:41 ` Eli Zaretskii
2014-10-16 13:44 ` Stefan Monnier
2014-10-16 13:53 ` Josh
2014-10-16 14:25 ` Eli Zaretskii
2014-10-16 14:35 ` Josh
2014-10-16 14:46 ` Eli Zaretskii
2014-10-16 14:58 ` Josh
2014-10-16 15:00 ` Eli Zaretskii
2022-04-27 18:45 ` Lars Ingebrigtsen
2014-10-16 14:13 ` Eli Zaretskii
2014-10-16 15:13 ` Stefan Monnier
2014-10-16 15:32 ` Josh
2014-10-16 15:54 ` Eli Zaretskii
2014-10-16 19:28 ` Stefan Monnier
2014-10-16 20:28 ` Eli Zaretskii
2014-10-16 21:24 ` Stefan Monnier
2014-10-17 6:38 ` Eli Zaretskii
2014-10-17 13:04 ` Stefan Monnier
2014-10-17 13:16 ` Eli Zaretskii
2014-10-17 17:02 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mw8xvxa7.fsf@violet.siamics.net \
--to=ivan@siamics.net \
--cc=18739@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 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).