help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tip of the day: buffer navigation with global mark


From: Bruce Ingalls
Subject: Re: Tip of the day: buffer navigation with global mark
Date: Sun, 06 Apr 2003 15:51:05 GMT
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.3) Gecko/20030314

I like these Tip Of The Days. I hope they outlast the Package Of the Week
http://varnam.org/ (not much left)
I look at many of these tips as a shortcoming in usability. Such is to be
expected in a powerful system, such as Emacs.

For example, if these bookmarks are really useful, it would be nice to put
them into a submenu, with keystrokes displayed, which make it easier to
learn them.
I would put the history of the last 8 in the menu, and these would display
the line number, and the 10 chars following the bookmark.

Here are some other suggestions:
You might consider beginner & expert levels of Tip of the Day.
For example, I do
C-u 3 C-k
C-y
C-y
all the time to copy 3 lines, but you'd be surprised at how many, even long
term Emacs users, don't know this one.

Here's a better suggestion:
Create a tips splash screen, that users can defcustom().
It might explain to users, how they can use customize() to turn it off.
It might also explain, that when it runs out of tips in the local package, that
it goes out to the web for more, and how they can disable that feature.

This is where *beginner* tips would come in handy; they'd likely bore our
gnu.emacs.help audience.

Kai Großjohann wrote:
It is well known that you can do C-SPC at various spots in a buffer,
and subsequently, C-u C-SPC takes you back.  (Repeat to go further
back.)  Kinda like the web browser history.

But it is less well known, I think, that the global mark ring exists
and can be navigated in a similar manner.  If the previous mark was
set in another buffer, C-SPC also pushes mark on the global mark
ring.  This can be used with C-x C-@ to jump back to it.

So you can do C-SPC, then go to another buffer and do stuff.  Then
later on, C-x C-@ will go back to the original buffer.

It might land you in the wrong spot, though.  But C-u C-SPC will cure
that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]