From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime Newsgroups: gmane.emacs.help Subject: Re: Operation of format-mode-line Date: Thu, 25 Jul 2024 16:01:22 +0000 Message-ID: <0f--pABu2Yb1Y9QHPFvBJ6S684__nBaWQ-IOxrf7sTvspdcvowFh5GGqUTzSNQmTl-CEIPM1li9nu2zL5WpZ47-UyIUsifPoiOLBOCXS33o=@protonmail.com> References: <86jzha5494.fsf@gnu.org> 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="13776"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , help-gnu-emacs@gnu.org To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 25 18:03:23 2024 Return-path: Envelope-to: geh-help-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 1sX0w7-0003MR-Gr for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Jul 2024 18:03:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sX0uR-0004PA-0W; Thu, 25 Jul 2024 12:01:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sX0uO-0004L1-AG for help-gnu-emacs@gnu.org; Thu, 25 Jul 2024 12:01:36 -0400 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sX0uM-0006bO-14 for help-gnu-emacs@gnu.org; Thu, 25 Jul 2024 12:01:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1721923288; x=1722182488; bh=XIQZlqW+FxWiwWfB6S9DPxgMqLBkYFbYqFJ85pDVODo=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=cqFhaDsMI1VOXwvorfbQqRDWxPl/WMtLouDn7zL4XUvmPp1ROep5S1QaOzIIq/36A JqOkwhe+46CtGtsPd60Hk9aS5tSaMtTvNJLKd2wFJodi2R/3FdZ9fICSWDyUvAsQqi SqO4C/LpLvyNQ4AxFn4IZ9nyq3Ijzuf8zL2JzWD2PwxRZf/yZRbo3EXLtbnIcuL1ws QWqYdmPbKiwqR5SGG86KDm+qjdZCIrpTt3OcB2Hoq1Ntl5JoLACig7d4Z11xgNvlQD lkLFJ31hL0xvhPuzwY/yM1/l7A7agspoEYianrMGrEA3VAGb/ioG1MHwjoXC/izpQD VL4WG1ZEwfKIA== In-Reply-To: Feedback-ID: 57735886:user:proton X-Pm-Message-ID: f9ecc73c19b97a2354135580e197311d64d5af80 Received-SPF: pass client-ip=185.70.43.25; envelope-from=heimeborgia@protonmail.com; helo=mail-4325.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147370 Archived-At: Sent with Proton Mail secure email. On Friday, July 26th, 2024 at 3:26 AM, Yuri Khan wr= ote: > On Thu, 25 Jul 2024 at 20:20, Heime heimeborgia@protonmail.com wrote: >=20 > > I understand. propertized-buffer-identification has hardwired keymap et= c >=20 >=20 > It hardwires the keymap to the value of the variable > =E2=80=98mode-line-buffer-identification-keymap=E2=80=99, but you are all= owed to > modify that variable. >=20 > > and calling it only sets the format used for the buffer identification > > name. >=20 >=20 > I=E2=80=99m pretty sure it will set the format for whatever modeline > constructs you pass in. >=20 > That said, the function =E2=80=98propertized-buffer-identification= =E2=80=99 is not > very complex; you can copy it and adapt for your custom modeline > parts. >=20 > (For myself, I=E2=80=99m not bothering with mouse bindings. Switching buf= fers > one step at a time only really works when you have three or so, and > that just does not happen. Switching between a few hundred buffers is > better done via IBuffer anyway.) Agreed, but since it is how buffer-identificoation works in the modeline, I= did not want to mess with it.