all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: "T.V Raman" <raman@google.com>, emacs-devel@gnu.org
Subject: RE: pop-global-mark and info buffers
Date: Sat, 5 Dec 2020 22:11:17 -0800 (PST)	[thread overview]
Message-ID: <36c55705-ffe8-488c-9b81-6a1d57ef7082@default> (raw)
In-Reply-To: <20201206033517.BDF06C218D5@raman-glaptop.localdomain>

>    1. You're reading something in the info manual, and you set the mark.
>    2. You move on, do other things in other buffers.
>    3. You invoke pop-global-mark (C-x C-SPC) and as you cycle through,
>       hit the mark in the info buffer.
> 
>       If you happen to have changed nodes in the info buffer after you
>       set the mark earlier, you get this error message --- which is
>       annoying:
> 
>       Global mark position is outside accessible part of buffer

Yes, an Info node is a buffer restriction (a "narrowing").  The full buffer contains the whole manual.  If you try to go to a marker (buffer position) that's outside the current restriction (node) then you get that error.

For navigating among places you set in Info (same manual or not), you can do either of these things:

1. Bookmark the places you want to come back to.
2. Use `L' to get a menu/index/TOC of your visited nodes.

Bookmarks are generally what you want, I expect.
___


If you use Bookmark+ you can use `bmkp-info-auto-bookmark-mode' to turn on/off _automatic_ Info bookmarking.  That creates a bookmark for each node you visit, with the node name as the bookmark name.

An option makes the node optionally only update, not create, such bookmarks.  You can toggle the option between `create-or-replace' and `update-only' with command `bmkp-toggle-info-auto-type'.  (When you visit a bookmark it is updated, which increases the visit count and the last visited time.)

https://www.emacswiki.org/emacs/BookmarkPlus#AutomaticInfoBookmarking

(If you use Bookmark+ then bookmarks can also be temporary.  Even without Bookmark+ you can just delete or not save bookmarks you create, if you don't want to persist them.)




      parent reply	other threads:[~2020-12-06  6:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06  3:35 pop-global-mark and info buffers T.V Raman
2020-12-06  5:49 ` Eli Zaretskii
2020-12-06 14:57   ` T.V Raman
2020-12-06 15:42     ` Arch linux patches Ergus
2020-12-06 16:03       ` Eli Zaretskii
2020-12-06 15:44     ` pop-global-mark and info buffers Eli Zaretskii
2020-12-06 15:55       ` T.V Raman
2020-12-06 20:15       ` T.V Raman
2020-12-06 20:26         ` Eli Zaretskii
2020-12-07  1:17           ` T.V Raman
2020-12-07  3:40             ` Eli Zaretskii
2020-12-07 14:52               ` T.V Raman
2020-12-07 16:05                 ` Eli Zaretskii
2020-12-07 20:28                   ` T.V Raman
2020-12-06  6:11 ` Drew Adams [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36c55705-ffe8-488c-9b81-6a1d57ef7082@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=raman@google.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.