emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xwidget: Add xwidget-webkit-buffer-name-format (Re:Re: About


From: Eli Zaretskii
Subject: Re: [PATCH] xwidget: Add xwidget-webkit-buffer-name-format (Re:Re: About rename xwidget-webkit-buffer-name-prefix)
Date: Thu, 11 Nov 2021 08:54:36 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: tumashu <tumashu@163.com>,  emacs-devel@gnu.org
> Date: Thu, 11 Nov 2021 08:30:13 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> +                 (rename-buffer
> >> +                  (format-spec
> >> +                   xwidget-webkit-buffer-name-format
> >> +                   `((?T . ,title)))
> >> +                  t)))))
> 
> > Hmmm... does this mean that the format spec _must_ contain %T?
> > Because otherwise all the buffers will have the same name, no?
> > Which would mean this change introduces a regression wrt how this
> > worked previously, right?
> 
> It tells `rename-buffer' to come up with a new name in that cases, which
> is pretty much how the old code worked (except it called
> `generate-new-buffer-name' manually).

Thanks, I have no more comments to that patch.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]