From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#62847: 29.0.90; Propertized space in Org Agenda's mode-name Date: Sun, 16 Apr 2023 14:02:39 +0200 Message-ID: <191D1749-C594-498C-B498-2C1770BBF413@acm.org> References: <87edollc2k.fsf@localhost> <83v8hxcw6k.fsf@gnu.org> <875y9xlayt.fsf@localhost> <83sfd1cuka.fsf@gnu.org> <873551l97f.fsf@localhost> <83h6thcr3k.fsf@gnu.org> <87jzyde5e3.fsf@localhost> <83cz45cqrw.fsf@gnu.org> <7C9FAA71-595D-47BD-B1DB-3256CF90CA63@acm.org> <87mt38t69l.fsf@localhost> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15153"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 62847@debbugs.gnu.org, Stefan Monnier , gusbrs.2016@gmail.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 16 14:04:18 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 1po17C-0003i5-7w for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Apr 2023 14:04:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1po16z-0006AU-0F; Sun, 16 Apr 2023 08:04:05 -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 1po16x-0006AI-0P for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 08:04: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 1po16v-0003hy-Qk for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 08:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1po16v-00089r-LZ for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 08:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Apr 2023 12:04:01 +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.168164658331284 (code B ref 62847); Sun, 16 Apr 2023 12:04:01 +0000 Original-Received: (at 62847) by debbugs.gnu.org; 16 Apr 2023 12:03:03 +0000 Original-Received: from localhost ([127.0.0.1]:50736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1po15k-00087u-47 for submit@debbugs.gnu.org; Sun, 16 Apr 2023 08:03:03 -0400 Original-Received: from mail18c50.megamailservers.eu ([91.136.10.28]:55816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1po15h-00087i-4K for 62847@debbugs.gnu.org; Sun, 16 Apr 2023 08:02:47 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1681646563; bh=RbbiU9w73ky/m+7F8d0y++n+cfCEvYijyFCjQe5b7Zw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=i6JP5XotKsRls8hg5dSZU5eNronA9J8hcW62lMXz5mUd3zH/zgWOWoNn0Pjbt6E7J gDKjQ3ZR8QQWqUJkmNVmpNP7L2VN+cuFsvGC0kjJWAMCAYSw/3bJyhNr9tdAOWFAN3 tp2iOfOKZG3G05xhd8MKcycRyclEyIdrJPagHvMw= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail18c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 33GC2eDf091392; Sun, 16 Apr 2023 12:02:41 +0000 In-Reply-To: <87mt38t69l.fsf@localhost> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdelgedgudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepveekffdujefhkeehvdfgffeikefghfefvdekueffleegfeekueelhfejieefkefgnecukfhppedukeekrdduhedtrdduieehrddvfeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudeihedrvdefhedphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohephedprhgtphhtthhopeihrghnthgrrhelvdesphhoshhtvghordhnvghtpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtoh epmhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggrpdhrtghpthhtohepghhushgsrhhsrddvtdduieesghhmrghi X-Origin-Country: SE 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:260115 Archived-At: 16 apr. 2023 kl. 13.29 skrev Ihor Radchenko : > I am wondering if there is any relevant warning raised by the byte > compiler when doing something like > (let ((str " ")) (add-text-properties 0 1 '(foo bar) str)) No, but it wouldn't be very hard to add one, but it would miss a lot of = code that has no idea whether it is working on a string literal or not. Counter to my usual preference for static checks I'd prefer a dynamic = warning in this case because it would be precise and the run-time cost = would likely be acceptable. That requires a 'literal' flag for string objects and there's no obvious = space for one, but perhaps we can grab the LSB of the `intervals` = pointer. Even if such a check defaults to off, it could be enabled selectively to = root out bugs like this one. I'll see what I can do.