[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m-goto-url with URL containing colons?
- From: Thorsten Jolitz <tjolitz@xxxxxxxxx>
- Date: Fri, 25 Jul 2014 16:33:33 +0200
- X-ml-name: emacs-w3m
- X-mail-count: 12347
- References: <87tx6tgwld.fsf@xxxxxxxxx> <87sim8bxaz.fsf@xxxxxx> <87ha25q2q9.fsf@xxxxxxxxx> <871tt967ws.fsf@xxxxxx> <87d2ctpr4b.fsf@xxxxxxxxx> <87vbql4kyv.fsf@xxxxxx>
Michael Heerdegen <michael_heerdegen@xxxxxx> writes:
(B> Thorsten Jolitz <tjolitz@xxxxxxxxx> writes:
(B>> no no - using 'g' or 'G' in emacs-w3m lets you either enter a URL or a
(B>> google search string. If its a valid URL, its visited, otherwise input
(B>> is used for a google search.
(B> Ok, I understand now.
(B> The problem is that "orgmode :ARCHIVE:" is considered a valid url by
(B> `w3m-canonicalize-url' -- because after evaluating
(B> (w3m-string-match-url-components url)
(B> (match-beginning 1) yields non-nil.
(Bok, I see.
(B> Dunno if this is expected; but I tried several browsers, and w3m is the
(B> only one that behaves this way in this case.
(BPersonnally I find this behaviour unexpected - something that is clearly
(Bnot a valid url is treated a such, causing an error.
(B> Who can help - should the behavior be changed???
(B> @Thorsten: In any case you can request google search directly, enter
(B> gg: orgmode :ARCHIVE:
(B> into the minibuffer. You can configure `w3m-uri-replace-alist' to
(B> replace the "gg:" prefix with something easier to type, like just "g".
(BThanks, thats a nice tip! Did not know about it ...