emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subject: [PATCH] * lisp/xwidget.el (xwidget-webkit-browse-url): Remo


From: Po Lu
Subject: Re: Subject: [PATCH] * lisp/xwidget.el (xwidget-webkit-browse-url): Remove space prefix of url.
Date: Thu, 11 Nov 2021 18:53:19 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

tumashu <tumashu@163.com> writes:

> I often encountered in this case, when copy url, space begin url hard
> notice :)

I don't think a function intended for use as `browse-url-function'
should make those decisions.  And in any case, one should check a URL
before opening it.

On an unrelated note, I think the use of a regexp for stripping
whitespace is unwarranted.  Wouldn't `url-strip-leading-spaces' be a
better candidate for this job?

Thanks.


reply via email to

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