From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kevin Vigouroux via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: How to analyze the value of `mode-line-misc-info'? Date: Tue, 15 Feb 2022 10:22:58 +0100 Message-ID: <878ruc7abx.fsf@laposte.net> References: <878rudmm7g.fsf@laposte.net> <87czjo7fal.fsf@laposte.net> <87leycmu2z.fsf@zoho.eu> Reply-To: Kevin Vigouroux 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="28275"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 15 10:24:18 2022 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 1nJu4H-00073q-EJ for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 15 Feb 2022 10:24:17 +0100 Original-Received: from localhost ([::1]:51364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJu4G-0007T9-50 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 15 Feb 2022 04:24:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJu3W-0007HQ-VX for help-gnu-emacs@gnu.org; Tue, 15 Feb 2022 04:23:31 -0500 Original-Received: from smtp-outgoing-2002.laposte.net ([160.92.124.109]:41569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJu3G-0006mT-Bx for help-gnu-emacs@gnu.org; Tue, 15 Feb 2022 04:23:16 -0500 X-mail-filterd: {"version":"1.3.4", "queueID":"4JybGq2Fkwz14K0Z", "contextId":"8b7d559d-3a40-4f51-98c1-c69253f4c2a2"} Original-Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0109.laposte.net (SMTP Server) with ESMTP id 4JybGq2Fkwz14K0Z for ; Tue, 15 Feb 2022 10:22:59 +0100 (CET) X-mail-filterd: {"version":"1.3.4", "queueID":"4JybGq14xJz14K0V", "contextId":"ed00b3e2-f953-4f5a-a250-1f5a69f911c5"} X-lpn-mailing: LEGIT X-lpn-spamrating: 50 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrgedvvddrjeeggddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfntefrqffuvffgpdggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepmfgvvhhinhcugghighhouhhrohhugicuoehkvgdrvhhighhouhhrohhugieslhgrphhoshhtvgdrnhgvtheqnecuggftrfgrthhtvghrnhepkeetjeetffegveeggeeugeekfeegkeefgedttdevhfffjeegfeekgfefgfekledtnecukfhppedvrddugedrgedtrdekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrddugedrgedtrdekgedphhgvlhhopegrrhgrghhoghdpmhgrihhlfhhrohhmpehkvgdrvhhighhouhhrohhugieslhgrphhoshhtvgdrnhgvthdpnhgspghrtghpthhtohepuddprhgtphhtthhopehhvghlphdqghhnuhdqvghmrggtshesghhnuhdrohhrghdpmhhouggvpehsmhhtphhouhht Original-Received: from aragog (arennes-652-1-310-84.w2-14.abo.wanadoo.fr [2.14.40.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0109.laposte.net (SMTP Server) with ESMTPSA id 4JybGq14xJz14K0V for ; Tue, 15 Feb 2022 10:22:58 +0100 (CET) Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: <87leycmu2z.fsf@zoho.eu> (Emanuel Berg via Users list for the's message of "Tue, 15 Feb 2022 09:07:16 +0100") DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1644916984; bh=ITkP6hn7rOZdJOy6sATtwXta6qXHSC0py+VEBSC8b5U=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SeJS2u0x/9DtfdGTelGmOJx1umrxV7wgazD+6dlezoCSAKdQkI7JSvHpIoDGMWq8LvJWY76YQFgRNMLsW05IkWdVuB/Ou8yphKqQ+ejI8Om+OG75d2/zLxqgQFcM0zSuUOsU/LCTRJY6yB+I/FbsCToXgeyh3g2UpzkbT4VnzJpaXJSQaseKNeDKTDdeF2xHKs9cy6Hm0YsYDeNtSr8/cvdCUCSezWccpsXwDIySAOTbaccM+nQNBAtUONFfgsldaQ8b3mSctWRVOSQ8AD+08NydDHgBUEzskAz/c1p4F5dgP/lM38xRbqxcBXptAH+rb6tXY7icRYojik0Z0Hx4Bg==; Received-SPF: pass client-ip=160.92.124.109; envelope-from=ke.vigouroux@laposte.net; helo=smtp-outgoing-2002.laposte.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.help:135958 Archived-At: My problem is that there may be a flaw in my reasoning. I may not perceive something, I am not very comfortable with recursion. First issue: How to process (STRING REST...)? 1. ("" global-mode-string " ") =E2=A4=B7 "" ("" display-time-string) " " =E2=A4=B7 "" ("" "12:00") " " =E2=A4=B7 "" "12:00" " " =E2=A4=B7 "12:00 " 2. ("" global-mode-string " ") =E2=A4=B7 ("" ("" display-time-string) " ") Second issue: How to process (LIST REST...)? 1. (("" global-mode-string " ")) =E2=A4=B7 "" ("" display-time-string) " " =E2=A4=B4 ("" ("" display-time-string) " ") =E2=86=92 ("" ("" display-time-string) " ") =E2=A4=B7 "" "12:00" " " =E2=A4=B7 "12:00 " 2. ?? --=20 Kevin Vigouroux, Best regards