[Top][All Lists]

[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: Gecko/20020406 Netscape6/6.2.2

Dan Jacobson wrote:

> While editing HTML I put the cursor on the middle of
> href=
> 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

Here's a workaround, the patch to ffap.el is obvious:

(setq ffap-string-at-point-mode-alist
      (cons '(url "--:=&;address@hidden,%" "^A-Za-z0-9" ":.,!?")

Kevin Rodgers

reply via email to

[Prev in Thread] Current Thread [Next in Thread]