* ffap can't deal with & in HTML
@ 2004-05-22 0:09 Dan Jacobson
0 siblings, 0 replies; 2+ messages in thread
From: Dan Jacobson @ 2004-05-22 0:09 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ffap can't deal with & in HTML
[not found] <mailman.6894.1085338020.1061.bug-gnu-emacs@gnu.org>
@ 2004-05-24 17:57 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2004-05-24 17:57 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-24 17:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-22 0:09 ffap can't deal with & in HTML Dan Jacobson
[not found] <mailman.6894.1085338020.1061.bug-gnu-emacs@gnu.org>
2004-05-24 17:57 ` Kevin Rodgers
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.