GNU bug report logs - #51613
Eww buffer creation

Previous Next

Package: emacs;

Reported by: André A. Gomes <andremegafone <at> gmail.com>

Date: Fri, 5 Nov 2021 15:47:01 UTC

Severity: wishlist

Tags: patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51613 in the body.
You can then email your comments to 51613 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#51613; Package emacs. (Fri, 05 Nov 2021 15:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to André A. Gomes <andremegafone <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 05 Nov 2021 15:47:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: André A. Gomes <andremegafone <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Eww buffer creation
Date: Fri, 05 Nov 2021 18:46:04 +0300
[Message part 1 (text/plain, inline)]
Hi Emacs,

I noticed that in order to open url-foo in a new buffer, I'd need to
call `(eww "url-foo" 4)`.  I understand that 4 is the universal
argument, but it looks cryptic (unless used interactively).  

Find my suggestion attached.  I took the opportunity to simplify the
underlying logic.


-- 
André A. Gomes
"Free Thought, Free World"
[0001-Fix-creation-of-eww-buffers.patch (text/x-patch, attachment)]

Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 05 Nov 2021 21:03:02 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 05 Nov 2021 21:03:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51613; Package emacs. (Fri, 05 Nov 2021 23:18:02 GMT) Full text and rfc822 format available.

Message #12 received at 51613 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: André A. Gomes <andremegafone <at> gmail.com>
Cc: 51613 <at> debbugs.gnu.org
Subject: Re: bug#51613: Eww buffer creation
Date: Sat, 06 Nov 2021 00:17:28 +0100
André A. Gomes <andremegafone <at> gmail.com> writes:

> Find my suggestion attached.  I took the opportunity to simplify the
> underlying logic.

[...]

> +   (if (and (eq major-mode 'eww-mode) (null arg))
> +       (current-buffer)
> +     (generate-new-buffer "*eww*")))

I don't think that's correct?  Then `M-x eww' in a different buffer will
generate a new name.

So I've now fixed this in a different way in Emacs 29 (and renamed the
arguments to be more sensible).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 51613 <at> debbugs.gnu.org and André A. Gomes <andremegafone <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 05 Nov 2021 23:18:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 04 Dec 2021 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.