From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruce Ingalls Newsgroups: gmane.emacs.help Subject: Re: Tip of the day: buffer navigation with global mark Date: Sun, 06 Apr 2003 15:51:05 GMT Organization: Road Runner - NYC Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <847ka8isq1.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1049644574 26290 80.91.224.249 (6 Apr 2003 15:56:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2003 15:56:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 06 17:56:13 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 192CVB-0006pu-00 for ; Sun, 06 Apr 2003 17:56:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192CUW-0005mh-03 for gnu-help-gnu-emacs@m.gmane.org; Sun, 06 Apr 2003 11:55:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cwix.com!news-east.rr.com!news-server.columbus.rr.com!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.3) Gecko/20030314 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: <847ka8isq1.fsf@lucy.is.informatik.uni-duisburg.de> Original-Lines: 46 Original-NNTP-Posting-Host: 24.168.135.82 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: twister.nyc.rr.com 1049644265 24.168.135.82 (Sun, 06 Apr 2003 11:51:05 EDT) Original-NNTP-Posting-Date: Sun, 06 Apr 2003 11:51:05 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:111723 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8224 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8224 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.