unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: pierre.techoueyres@free.fr (Pierre Téchoueyres)
To: Eli Zaretskii <eliz@gnu.org>
Cc: 30673@debbugs.gnu.org
Subject: bug#30673: [PATCH] Allow `browse-url-emacs' to fetch url in same window.
Date: Sat, 10 Mar 2018 16:05:46 +0100	[thread overview]
Message-ID: <87lgf0hsxh.fsf@killashandra.ballybran.fr> (raw)
In-Reply-To: <836064uqgc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Mar 2018 13:20:51 +0200")

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 ?





  reply	other threads:[~2018-03-10 15:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-02  0:14 bug#30673: [PATCH] Allow `browse-url-emacs' to fetch url in same window Pierre Téchoueyres
2018-03-10 11:20 ` Eli Zaretskii
2018-03-10 15:05   ` Pierre Téchoueyres [this message]
2018-03-19  9:18 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgf0hsxh.fsf@killashandra.ballybran.fr \
    --to=pierre.techoueyres@free.fr \
    --cc=30673@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).