GNU bug report logs - #77967
[PATCH] Fallback `eww-switch-to-buffer' to `eww'

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Mon, 21 Apr 2025 17:45:03 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77967 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: bug#77967: [PATCH] Fallback `eww-switch-to-buffer' to `eww'
Date: Sun, 27 Apr 2025 13:08:57 +0200
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Cc: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
>> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
>> Date: Mon, 21 Apr 2025 19:43:47 +0200
>> 
>> The following patch calls `eww' interactively from
>> `eww-switch-to-buffer' when there is no EWW buffers.  Then, one can set
>> a global shortcut on `eww-switch-to-buffer' and always be able to launch
>> EWW.
>
> Thanks.
>
>>  (defun eww-switch-to-buffer ()
>> -  "Prompt for an EWW buffer to display in the selected window."
>> +  "Prompt for an EWW buffer to display in the selected window.  If no such
>> +buffer exist, fallback to calling `eww'."
>
> The first line of a doc string should be a single complete sentence.
>
> Doesn't this change warrant a NEWS entry, and a suitable change to the
> EWW manual?

Thanks.  Here is a new patch.  While here, I also modified
`eww-list-buffers' to not pop to *eww-buffers* when there is no such
buffer.
[0001-Fallback-eww-switch-to-buffer-to-eww.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Manuel Giraud

This bug report was last modified 11 days ago.

Previous Next


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