From: Tom <adatgyujto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: browse-url drops fragment identifier from file urls on Windows?
Date: Tue, 30 Oct 2012 06:36:19 +0000 (UTC) [thread overview]
Message-ID: <loom.20121030T072038-796@post.gmane.org> (raw)
In-Reply-To: csip9sgbo2.fsf@fencepost.gnu.org
Glenn Morris <rgm <at> gnu.org> writes:
>
> Tom wrote:
>
> > Try this call with a local html file with a fragment appended
> > to the url (e.g. #top):
> >
> > (browse-url "file://localhost/stuff/a.html#top")
> >
> > For me the #top part is not there when the URL is opened in the
> > browser.
>
> Read these:
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2543
>
> http://www.emacswiki.org/emacs/BrowseUrl
> "The problem is not one of quoting..."
>
Thanks. It's a pity it doesn't work by default. For example
one could write a function which opens documentation for
symbols under the cursor using anchors in the url, so the
browser jumps to the specific part of the doc describing
the symbol. It won't work for Windows out of the box.
Maybe a warning message should be added to browse-url,
so the user knows he has to change browse-url configuration,
otherwise URLs won't be opened at the proper place.
browse-url could print this message in the echo area
if # is used in the URL and the default browser is
invoked on Windows.
prev parent reply other threads:[~2012-10-30 6:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 17:54 browse-url drops fragment identifier from file urls on Windows? Tom
2012-10-29 22:23 ` Glenn Morris
2012-10-30 6:36 ` Tom [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=loom.20121030T072038-796@post.gmane.org \
--to=adatgyujto@gmail.com \
--cc=help-gnu-emacs@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 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.