From: Drew Adams <drew.adams@oracle.com>
To: 20815@debbugs.gnu.org
Subject: bug#20815: 25.0.50; doc of `null'
Date: Sun, 14 Jun 2015 15:31:46 -0700 (PDT) [thread overview]
Message-ID: <5bec299c-bc7b-414b-8ea1-77e9ee0fdc91@default> (raw)
In-Reply-To: <d7555608-5067-45bc-865e-5881625a68ac@default>
BTW, the URL for the online manual is not good for this node.
Following the convention, it should be simply
http://www.gnu.org/software/emacs/manual/html_node/elisp/List-related-Predicates.html
But it is instead:
http://www.gnu.org/software/emacs/manual/html_node/elisp/List_002drelated-Predicates.html
Somehow, the hyphen got translated to `_002d', unhelpfully.
It is good to follow a consistent convention. I take advantage
of that, for example, in this command, which I use several times
a day to point Web readers to the manual (e.g. from stackoverflow
and emacs.stackexchange.com):
(defun Info-goto-node-web (node &optional flip-new-win)
"Use `browse-url' to go to Info node NODE using a Web browser.
With a prefix arg, reverse the effect of option
option`browse-url-new-window-flag'.
NODE is the name of a node in the GNU Emacs or Elisp manual.
Alternatively, NODE can have the form (MANUAL)NODE, where MANUAL is
\"emacs\" or \"elisp\" and NODE is the name of the node in that
manual. Empty NODE in (MANUAL) defaults to the `Top' node."
(interactive
(list (Info-read-node-name "Go to node: " Info-current-node)
current-prefix-arg))
(require 'browse-url)
(unless Info-current-file (error "This command must be invoked from Info"))
(browse-url (Info-url-for-node node)
(list (if flip-new-win
(not browse-url-new-window-flag)
browse-url-new-window-flag))))
`Info-url-for-node' returns "a URL for NODE, a node in the GNU
Emacs or Elisp manual." It does this:
(replace-regexp-in-string "[ \t]+" "-" node t t). That doesn't
DTRT for the node reported in this bug report, for example.
next prev parent reply other threads:[~2015-06-14 22:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-14 22:20 bug#20815: 25.0.50; doc of `null' Drew Adams
2015-06-14 22:31 ` Drew Adams [this message]
2015-06-15 2:37 ` Eli Zaretskii
2015-06-16 19:52 ` Nicolas Petton
[not found] <<d7555608-5067-45bc-865e-5881625a68ac@default>
[not found] ` <<5bec299c-bc7b-414b-8ea1-77e9ee0fdc91@default>
[not found] ` <<834mm9puho.fsf@gnu.org>
2015-06-15 5:33 ` Drew Adams
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=5bec299c-bc7b-414b-8ea1-77e9ee0fdc91@default \
--to=drew.adams@oracle.com \
--cc=20815@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).