GNU bug report logs -
#77967
[PATCH] Fallback `eww-switch-to-buffer' to `eww'
Previous Next
Full log
Message #16 received at 77967-done <at> debbugs.gnu.org (full text, mbox):
> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
> Cc: 77967 <at> debbugs.gnu.org, larsi <at> gnus.org
> Date: Sun, 27 Apr 2025 13:08:57 +0200
>
> 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.
Thanks, installed on the master branch, and closing the bug.
This bug report was last modified 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.