From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CJK+JAQg3GFnJQAAgWs5BA (envelope-from ) for ; Mon, 10 Jan 2022 13:01:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0PpKIQQg3GGTXQAAauVa8A (envelope-from ) for ; Mon, 10 Jan 2022 13:01:08 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 354B81F06D for ; Mon, 10 Jan 2022 13:01:08 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A7BD95F737; Mon, 10 Jan 2022 12:01:04 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 8595D5F731 for ; Mon, 10 Jan 2022 12:01:01 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id ED72C5FC42; Mon, 10 Jan 2022 07:01:00 -0500 (EST) Received: (nullmailer pid 4053482 invoked by uid 1000); Mon, 10 Jan 2022 12:01:00 -0000 From: David Bremner To: Jose Antonio Ortega Ruiz , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: use query name for tree saved-search buffer names In-Reply-To: <87bl0k46w8.fsf@gnus.jao.io> References: <20220108204121.1053932-1-jao@gnu.org> <87mtk41hj8.fsf@tethera.net> <87bl0k46w8.fsf@gnus.jao.io> Date: Mon, 10 Jan 2022 08:01:00 -0400 Message-ID: <87a6g3241v.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: PQBB4HZWFPYOQXC4BS7CNRSSZLNCRXRC X-Message-ID-Hash: PQBB4HZWFPYOQXC4BS7CNRSSZLNCRXRC X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641816068; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=539NTz592xHvjudqISThMpmV2/XmOODhOKnTgMO4iMs=; b=FeMAc4LYd4T74dOMNEpHaWTZk9MeBvk46rGlYvjCb9PMf//9HbfogVLXL0Dnvb9TPbdgUA JKGYNbu8No9+2OGrgk90faOraReKjeoBUHkpgZ9KIDl0acokb3wa6QPiZJSy/JmQQEXlMT ICu/80GRKQ8znXP0EKCjH+4MSa7gFzscmMZ05QywzO7l9j2hPTepxi8sOyPuPk+zUG0xPG y1H68gz1j8Yc6QX+UOcNgSn+Khok2QpZkqkUSf3kA+x2l8YhW72l0XjpkERB9x0utaCCZ4 nfK4adcjoj9P72BvEpNicYua0jgDBtGENwAicGrGC7re7Ptl6kAMT3FSeyzUGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641816068; a=rsa-sha256; cv=none; b=TlBMFEDkUEytwm8+gS6rDL6DS1upmXWvzU1jFg/AeNnL0usPSBszLfU8w8KUDhwgyUeqfx 3uxIHTX/qZo2T8q1v82IEA8P1dzFDU02spzxxFqlcHsx5R+f0wLl+BlxT6txOigCkcBiZP rvJqZvRLWeBwoJEY4Xy5I2odqRBe9LLu1uN+Doaaj8jdhXmOrALocDRA6s+yHYvg6utUjr 4DU9rR7xvu8fTfo6NgrMlD9LMDilRQYGLfOuKhVe2GyiRlOMOtdPU3NWKUEKE3rhqSBqTM FpfJlctarIwA/UWW3DNzVHDwi7nPqnbnHksBeekfEWQUe7ljGRo48j7x7xIEFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.33 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 354B81F06D X-Spam-Score: -2.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1/7mPN574DV6 Jose Antonio Ortega Ruiz writes: > On Sun, Jan 09 2022, David Bremner wrote: >> >> 1) Should this actually approximate what we do in >> #'notmuch-search-buffer-title ? The buffer gets a name like >> "*notmuch-saved-search-inbox*" > oh, you're right. i have that function advised (because i prefer using > the unadorned query name), and thought i was being consistent. i think > we should. maybe we could consider adding a customizable format string > with default "*notmuch-saved-search-inbox-%s*" for cases like mine? Yes, sounds reasonable. > >> 2) Should we do the same thing (whatever that is) for unthreaded mode >> searches? > > i don't see any reason not to. i'll be happy to send a patch for both > cases. sounds good.