[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30673: [PATCH] Allow `browse-url-emacs' to fetch url in same window.
From: |
Pierre Téchoueyres |
Subject: |
bug#30673: [PATCH] Allow `browse-url-emacs' to fetch url in same window. |
Date: |
Sat, 10 Mar 2018 16:05:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Pierre Téchoueyres <pierre.techoueyres@free.fr>
>> Date: Fri, 02 Mar 2018 01:14:03 +0100
>>
>> Here is a patch to allow browse-url-emacs to be invoked in a way to
>> reuse the current window.
>
> Thanks, but doesn't this go against the comment in the current code,
> which says all the other browsers show the URL in another window?
>
I don't thik so. I didn't change the default behaviour, which stay like
for the other browsers. But I added a possibility, which I think, make emacs
better than the other browsers.
Actually, the only way to browse an URL reusing the same Emacs window is
to define another `brows-url-emacs' duplicating this one.
I think it's just sad this possibility wasn't allowed because others
browsers aren't able to do it.
I don't know a way, for the others browsers, to reuse the same window /
tabs / whatever to display another url. This is, I think, the reason of
the comment. Maybe I should then add a comment to state this more
clearly ?
#+begin_src emacs-lisp
;; With all other browsers the URL is always shown in another window
;; than the current Emacs one since it's shown in another application's
;; window. But, here we can control that, so let's have the choice !
#+end_src
What do you think ?
And I didn't thiks about this : but should I add something in NEWS ?