From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Operation of format-mode-line Date: Tue, 23 Jul 2024 20:48:05 +0300 Message-ID: <86o76o80fe.fsf@gnu.org> References: <86ed7k9xi1.fsf@gnu.org> <1Z2IC9_dVlRlp67zGjbXBgpj1BgEOXIj71O8YfjlxhPdnjUctIDsKjImFsqDqvajso47rbfhfvegA2-fSaHnaw6n7RhCRIRICIh0GYkM5J0=@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14869"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 23 19:48:47 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 1sWJd1-0003nO-Eg for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 23 Jul 2024 19:48:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWJcT-00010F-Pq; Tue, 23 Jul 2024 13:48:13 -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 1sWJcP-0000zy-V4 for help-gnu-emacs@gnu.org; Tue, 23 Jul 2024 13:48:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWJcP-0005sv-NJ for help-gnu-emacs@gnu.org; Tue, 23 Jul 2024 13:48:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1fFA/dZv4dZscwCKCfJogOKN60zMzMyB7/uzLC3Cgac=; b=RoM4T067jeYv DVYP+h3rPfhA7guvQyscnzv4AcgNOl1kAacmVnhQ+HxGBKfR2rjkhbMKjnlnr506Eyc0IBMuh6IUt gn+snU1W+pCm9/nuKBZb3HCTGhEviYajGCam8RoXHVAJD8ScsxqVMBeyhdrhB1kA1rsCIL7dTGdmv +GBeoQ6uOG1e6LdV/Arxe29azB3mSnH/JTlIoPfmDJaVUWmZQpEeDiUYN7xlc/ZY9M6DiicVUsDOn DCYaKhYkDWEik6w8Y7TQfLWd0DoVa+8Te1jydm1l9GImZ1+EaH36GOwdJR6CTPNdtHvB0oJqaewrA pEDzv8QiBIT4lWZ33S9Sdw==; In-Reply-To: <1Z2IC9_dVlRlp67zGjbXBgpj1BgEOXIj71O8YfjlxhPdnjUctIDsKjImFsqDqvajso47rbfhfvegA2-fSaHnaw6n7RhCRIRICIh0GYkM5J0=@protonmail.com> (message from Heime on Tue, 23 Jul 2024 16:37:38 +0000) 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:147319 Archived-At: > Date: Tue, 23 Jul 2024 16:37:38 +0000 > From: Heime > Cc: help-gnu-emacs@gnu.org > > > On Tuesday, July 23rd, 2024 at 11:08 PM, Eli Zaretskii wrote: > > > > (format-mode-line mode-line-buffer-identification) > > > > > > The documentation states that > > > > > > "Format a string out of a mode line format specification." > > > > > > But what does that mean ? What is actually returned ? > > > > > > The formatted string. > > In the context of (format-mode-line mode-line-buffer-identification) > what is the formatted string ? The string produced by following the mode-line format. It's similar to what you see on the mode line itself. > Is it the buffer name together with the text properties for display > by the modeline. More or less, yes. > Seems that the text properties are the same for each character. They are not.