From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#62847: 29.0.90; Propertized space in Org Agenda's mode-name Date: Sat, 15 Apr 2023 09:38:43 +0000 Message-ID: <87edollc2k.fsf@localhost> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26375"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62847@debbugs.gnu.org To: Gustavo Barros Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 15 11:37:22 2023 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 1pncLS-0006fW-AH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Apr 2023 11:37:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pncLA-0001ue-L7; Sat, 15 Apr 2023 05:37:04 -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 1pncL9-0001uV-37 for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 05:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pncL8-0005Uh-Qx for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 05:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pncL8-0004VF-4w for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 05:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Apr 2023 09:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62847 X-GNU-PR-Package: emacs Original-Received: via spool by 62847-submit@debbugs.gnu.org id=B62847.168155137817252 (code B ref 62847); Sat, 15 Apr 2023 09:37:02 +0000 Original-Received: (at 62847) by debbugs.gnu.org; 15 Apr 2023 09:36:18 +0000 Original-Received: from localhost ([127.0.0.1]:48258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pncKQ-0004UC-F9 for submit@debbugs.gnu.org; Sat, 15 Apr 2023 05:36:18 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:56917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pncKO-0004Ty-I4 for 62847@debbugs.gnu.org; Sat, 15 Apr 2023 05:36:17 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 68937240239 for <62847@debbugs.gnu.org>; Sat, 15 Apr 2023 11:36:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681551370; bh=gFQyE0GrL1u0DSwvzmSZq01XHpvX8uaN0823tfHiySY=; h=From:To:Cc:Subject:Date:From; b=ZQwGbSRWPWVd2MODBrDP5LXRmNVRReDROJ+X/3t6wwgeELNLbH8fsSLOqgRfW5Z52 FzrYr93BchPbGFhR2NZ+8qwWu5ky9HFO3kZfktu+CUBlULEmuXIIJRVPEmALlmRibo +921taHMjRfoyIZRW/+fNBCBcRUxugOf1AiJe6bcr+MC8a6FgfPoK4zl4W/g5mH8V7 K1Bav9gkPXg8vZlnlDTZh+VsKzgRaEY4s6He0rxuX5eJ9MXPSR5AJEfgy3+oRdhUxu fdzECIFa6sPoAZ7AJQ9rKTeerEQtc1qZy9xBRjO2uTpPIJ3yaI9sy4Eo1ZQlH32YuR uqCJ6t5K8V57A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Pz7VL0VHtz6tvC; Sat, 15 Apr 2023 11:36:10 +0200 (CEST) In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260011 Archived-At: Gustavo Barros writes: > Call `M-x org-agenda RET a'. Now examine `mode-name' with `M-: > mode-name RET' to get: > > #+begin_src emacs-lisp > ("Org-Agenda" "" #(" " 0 1 (org-category "agenda" tags nil... I suspect that it is Emacs-related because I see nothing wrong done on Org side. The code setting `mode-name' is (defun org-agenda-set-mode-name () "Set the mode name to indicate all the small mode settings." (setq mode-name (list "Org-Agenda" (if (get 'org-agenda-files 'org-restrict) " []" "") " " '(:eval (org-agenda-span-name org-agenda-current-span)) ...))) Note the third " " in `mode-name' list. Org does not modify the mode-name by side effect. This bug is only reproducible when using built-in Org. When I tried to reproduce with Git version of Org (the same release tag), no extra properties are present in `mode-name'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at