[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ffap can't deal with & in HTML
From: |
Kevin Rodgers |
Subject: |
Re: ffap can't deal with & in HTML |
Date: |
Mon, 24 May 2004 11:57:24 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Dan Jacobson wrote:
> While editing HTML I put the cursor on the middle of
> href=
>
"http://www.topozone.com/map.asp?lat=49.3645&lon=-95.1191&s=25&size=l">
> and hit C-x C-f, and ffap prompted me with a shorter url.
The problem is that the url entry in ffap-string-at-point-mode-alist
allows ampersand but not semicolon, and then strips any trailing
semicolons.
Here's a workaround, the patch to ffap.el is obvious:
(setq ffap-string-at-point-mode-alist
(cons '(url "--:=&;?$+@-Z_a-z~#,%" "^A-Za-z0-9" ":.,!?")
ffap-string-at-point-mode-alist))
--
Kevin Rodgers