all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 12107@debbugs.gnu.org
Subject: bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set"
Date: Wed, 01 Aug 2012 03:12:44 +0300	[thread overview]
Message-ID: <87ipd38tc7.fsf@mail.jurta.org> (raw)
In-Reply-To: <CAH8Pv0jKe3+FYCEVPWheJkUEw6oX7DgbD-_orgsZYLFXNheC=A@mail.gmail.com> (Dani Moncayo's message of "Tue, 31 Jul 2012 22:22:44 +0200")

> Therefore, I request that the name of the info manual be included in
> the list of candidates used by M-n, in addition to the name of the
> node.

Completely agree with you.  The standard Info node name is what you see
in the modeline and also by typing `w' (`Info-copy-current-node-name').
So it should be used in bookmarks as well:

=== modified file 'lisp/info.el'
--- lisp/info.el	2012-07-17 16:53:39 +0000
+++ lisp/info.el	2012-08-01 00:12:40 +0000
@@ -5025,7 +5025,10 @@ (declare-function bookmark-get-bookmark-
 (defun Info-bookmark-make-record ()
   "This implements the `bookmark-make-record-function' type (which see)
 for Info nodes."
-  `(,Info-current-node
+  `(,(if (stringp Info-current-file)
+	 (concat "(" (file-name-nondirectory Info-current-file) ") "
+		 Info-current-node)
+       Info-current-node)
     ,@(bookmark-make-record-default 'no-file)
     (filename . ,Info-current-file)
     (info-node . ,Info-current-node)





  reply	other threads:[~2012-08-01  0:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31 20:22 bug#12107: 24.1.50; In Info mode, add the name of the manual as completion candidate for "bookmark-set" Dani Moncayo
2012-08-01  0:12 ` Juri Linkov [this message]
2012-08-01  1:09   ` Dani Moncayo
2012-08-01  8:19     ` Juri Linkov
2012-08-01  9:16       ` Dani Moncayo
2012-08-01 20:35       ` Stefan Monnier
2012-08-01 23:04         ` Juri Linkov
2012-08-02  0:10           ` Stefan Monnier
2012-08-02  8:03             ` Juri Linkov
2012-08-05  0:01             ` Juri Linkov
2012-08-08  8:49             ` Juri Linkov

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=87ipd38tc7.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=12107@debbugs.gnu.org \
    --cc=dmoncayo@gmail.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.