GNU bug report logs - #6695
24.0.50; thing-at-point-url-at-point and ffap-guesser problem

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 21 Jul 2010 18:17:01 UTC

Severity: minor

Tags: fixed, patch

Merged with 8439, 13087

Found in versions 23.2+1-7, 24.0.50, 24.3.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 6695 <at> debbugs.gnu.org
Subject: bug#6695: 24.0.50; thing-at-point-url-at-point and ffap-guesser problem
Date: Thu, 14 Jul 2011 15:25:09 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> Load thingatpt.el and ffap.el.  Use this test line of text:
>
> ;; c:/Documents and Settings/foobar/My Documents/MyStuff/foo.pdf
>
> 1. Put the cursor on the g of Settings.
>    M-: (thing-at-point-url-at-point) => "http://Settings/foobar/My"
>
> 2. Put the cursor on the S of MyStuff.
>    M-: (thing-at-point-url-at-point) =>
>    "http://Documents/MyStuff/foo.pdf"

These both return nil for me in Emacs 24.

> Neither of those is remotely correct.
>
> 3. Put the cursor on the g of Settings.
>    M-: (ffap-guesser) => nil

[...]

> What should happen:
>
> `ffap-guesser' should return
> "c:/Documents and Settings/foobar/My Documents/MyStuff/foo.pdf"
>
> `thing-at-point-url-at-point should return
> "http://c:/Documents and Settings/foobar/My Documents/MyStuff/foo.pdf"

I don't really see how guessing that these things are file names is
feasible.

Unless one adds special matches for Windows where [letter]:/ matches
stuff until the end of the line or something...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 4 years and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.