From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuchen Pei Newsgroups: gmane.emacs.bugs Subject: bug#51176: eww switch buffer by title Date: Thu, 14 Oct 2021 08:26:18 +1100 Message-ID: References: <87v9214j6g.fsf@ypei.me> <87lf2x6t11.fsf@gnus.org> <87fst53ytg.fsf@ypei.me> <871r4p6q5n.fsf@gnus.org> <871r4oyjm1.fsf@mail.linkov.net> <875yu050sz.fsf@gnus.org> <875yu0x256.fsf@mail.linkov.net> <87wnmg3i8f.fsf@gnus.org> <87pms8psyt.fsf@protesilaos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21387"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: 51176@debbugs.gnu.org To: Protesilaos Stavrou , Lars Ingebrigtsen , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 13 23:29:37 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maloe-0005NF-Tq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Oct 2021 23:29:37 +0200 Original-Received: from localhost ([::1]:58884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1malod-0000ob-PI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Oct 2021 17:29:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1malmA-00051K-Pf for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2021 17:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1malmA-0003qz-GB for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2021 17:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1malmA-0001vl-4q for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2021 17:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuchen Pei Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Oct 2021 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51176 X-GNU-PR-Package: emacs Original-Received: via spool by 51176-submit@debbugs.gnu.org id=B51176.16341603977370 (code B ref 51176); Wed, 13 Oct 2021 21:27:02 +0000 Original-Received: (at 51176) by debbugs.gnu.org; 13 Oct 2021 21:26:37 +0000 Original-Received: from localhost ([127.0.0.1]:33750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1malll-0001uo-Bf for submit@debbugs.gnu.org; Wed, 13 Oct 2021 17:26:37 -0400 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:42975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mallg-0001uU-B6 for 51176@debbugs.gnu.org; Wed, 13 Oct 2021 17:26:35 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 6A163320152C; Wed, 13 Oct 2021 17:26:26 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 13 Oct 2021 17:26:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ypei.me; h=date :from:to:cc:subject:in-reply-to:references:message-id :mime-version:content-type:content-transfer-encoding; s=fm2; bh= 2WVNK5Zsj1OS9gmO6ciyv5cnwxJlk9whzaB3WzuDBDI=; b=siUqy6rsOdyirrcu sy1gZpX7I5Sw63De6ZYSXh3CoeVEwyAZyvKhodKjwiX90mvBlpVnBAJA2S/OJr1A HoZDMN7w4y62lHFNwdKPb3SJAp6jv2D4wmBlbEqDVEA4Sayca+CL+Kyy+Zh5rWfI i6P1LD34GD9D6F/IFKGMjysMaUQL1wPA3h61SvLbZjim6uHQ61XSBiPdk866STnb zJpzHih1hgF0DICNHnvUKuS6nSijg+vf2uJ0FN43JI1K3+waIHmV1NKwbv3g0Sqw LW+VhfHP0krcMcG967fTG/paBque/95Pk9ibR36vmkXaOqUXh1cO9pf86NRm4P8e RL4WJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=2WVNK5Zsj1OS9gmO6ciyv5cnwxJlk9whzaB3WzuDB DI=; b=PUaybGCp5m3KeVKyVZjEmwKg6BvaNXTHTyk1e3AiKMOCyOfPZW4fy534v +CFgrpOx5NMYmSYHMeG0w8saZoL1/W3fgaiQk6XA9WJb5h5F8HwzSwFFVQ8iJ9c3 Jctg2SqcxEuLaD9NwjcbrxqnfgTVVHc0ILeNqLQHaJGA1lCfZwUzP82RfpULTwtk REpD0Dput+ENZWQssPlBTCqEnVA7rM+MmDm/xTcVaRJTd3PHVkQYlE2a5WZjjLaJ NZTYOoCge2Q7evtVh5lKCnYkiszKO8RGjBSUb3cuEksw8VQGkvjEs96l5SrF5aSA WZpQomJs7+hiv9QtUD8ecjZdKgm3Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddutddgudehkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpegjuhgt hhgvnhcurfgvihcuoehhiheshihpvghirdhmvgeqnecuggftrfgrthhtvghrnheptdefke fgteejgfevteevgfejudduieehvedvvdejheeffffgvdejtdegjeelkefhnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhiseihphgvihdrmh gv X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Oct 2021 17:26:24 -0400 (EDT) In-Reply-To: <87pms8psyt.fsf@protesilaos.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217179 Archived-At: On 14 October 2021 07:31:22 GMT+11:00, Protesilaos Stavrou wrote: >On 2021-10-13, 20:14 +0200, Lars Ingebrigtsen wrote: > >> Juri Linkov writes: >> >>> I see=2E Then maybe in the existing hook `eww-after-render-hook'? >> >> Yup; I misread the code -- that looks like the correct place to put it= =2E >> But I can also see many people wanting this, so perhaps a user option t= o >> rename the buffers this way would be nice=2E > >That is right=2E I am preparing together with another person a patch tha= t >auto-renames eww buffers after they are rendered=2E The idea is to use >either the page title or, if that is not available, the page's URL=2E > >In terms of user options, there would be a toggle to enable the >behaviour (off by default to not upset existing users) as well as a >defcustom with ":type 'function", so users can specify exactly how the >renaming scheme should work=2E > >I expect the code to be finalised within the coming days, in case you >have not done the work already=2E > Sgtm and looking forward :)