On Wed, Dec 24, 2008 at 10:06:00AM +0100, Sven Joachim wrote: > I'm currently revising old emacs21 bugs. > > On 2002-08-21 00:14 +0200, Matt Kraai wrote: > > > Package: emacs21 > > Version: 21.2-1 > > Severity: minor > > Tags: patch > > > > In html-mode, the html-name-anchor command requires the user to > > type `//' for every absolute URL. It should include this in the > > default (e.g., `http://') so that the user doesn't have to. > > You mean html-href-anchor rather than html-name-anchor, I think. > > > --- emacs21-21.2/lisp/textmodes/sgml-mode.el Fri Feb 22 02:51:40 2002 > > +++ emacs21/lisp/textmodes/sgml-mode.el Tue Aug 20 15:06:44 2002 > > @@ -1303,7 +1303,7 @@ > > (define-skeleton html-href-anchor > > "HTML anchor tag with href attribute." > > "URL: " > > - '(setq input "http:") > > + '(setq input "http://") > > "<a href=\"" str "\">" _ "</a>") > > > > (define-skeleton html-name-anchor > > While this is an improvement, it is probably better to not have any > initial input at all, since many links will not start with http://. > Quoting Juri Linkov from [1]: > > ,---- > | 3. html-href-anchor skeleton asking for an URL has an initial input > | `http:'. This is inconvenient since `http://' is not the only one > | possible URL prefix. And even if it is more frequent, full URLs > | are rarely typed by hand, but more often copied from other places. > `---- > > So, in emacs22 the initial input for html-href-anchor is empty. Unless > you strongly object to that reasoning, I will close the bug after the > emacs21 package is removed (which should happen some time after the > Lenny release).
Sounds good to me. Thanks for following up on this. -- Matt http://ftbfs.org/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

