[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ffap versus url with "*" [patch]
From: |
Kevin Ryde |
Subject: |
ffap versus url with "*" [patch] |
Date: |
Thu, 23 Dec 2004 09:20:02 +1100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
I noticed with point at the start of a line like the following, M-x
ffap doesn't recognise the "*" in the url,
http://au.rd.yahoo.com/finance/news/rss/reuterau/*http://au.biz.yahoo.com/041222/19/2k95.html
it highlights and prompts with only
http://au.rd.yahoo.com/finance/news/rss/reuterau/
"*" is uncommon, but valid. This example is a link in a yahoo rss
feed. The patch below adds "*" to the char matching.
Also legal but not matched are "!'()", but I'm not sure if it's a good
idea to have those. They'd be pretty unusual, and maybe should be
treated as more likely to be surrounding punctuation, ie. left as they
are.
2004-12-22 Kevin Ryde <address@hidden>
* ffap.el (ffap-string-at-point-mode-alist): Add "*" to url chars,
it can appear unencoded and has been seen from yahoo.
ffap.el.url-star.diff
Description: Text document
- ffap versus url with "*" [patch],
Kevin Ryde <=