From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8NjHMgro6WQEBwEA9RJhRA:P1 (envelope-from ) for ; Sat, 26 Aug 2023 13:54:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8NjHMgro6WQEBwEA9RJhRA (envelope-from ) for ; Sat, 26 Aug 2023 13:54:50 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 878BB46560 for ; Sat, 26 Aug 2023 13:54:50 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=fMJMLpH9; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=vodafonemail.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693050890; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=q/BKY1BsssigvLywU0Z/I3Kj892ex65Tj8WiMDLE6O8=; b=bt178+bORBT33QbWyarqxvdN9SePXldwQphBSwuvz6TEZ2JLAO2O2USh93+7ElAa70x8Ei Esq7AhYpX8QpWuuA0HU4Y4XK+lI75p8DOlqv6fmW3Tk9ASpKcmrfQiV5YscHo01ZPlLiTR 1M/ryRr6aP842xBK8x7hosv498D0ZsFBQiyNplRQObWS1QqcfYsO5meIWuwfi1OwOUTkso P9QMmK3/qaQxietMAsNRCN/FOyGL6CPQ86YA/u83bfbY+R3htnC9h2YJTdhWz6D3A21rQW GahWw5hBEb/lt94U6p1sfeHbrpqbjU45p/SGqpaj+954KB75ChrdO/hdJ1588w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=fMJMLpH9; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=vodafonemail.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693050890; a=rsa-sha256; cv=none; b=Y+yymPigbwijSkXGdMl8OTa4tmgd+PFydHdV/DMU0BQA2BEmHG5S8XboTKHi7bfXMwKEBp M5CALkcXY0PnRWV6EvYMOCQ/fcod3XWXZ6W2c0zrI8BzjAMUqjh0wB4feYPsj5ic5CKaQs TwVpucTAnnf8i5LLKPjHQMdnYrRTz+nM8uzrd8d3/ze1l3gy5qK+tmjddi84C/w/kdKtkR EsfKkBjZ0oePNRV1RiXtXAo8ux8l699k9qJ+3fi2BCcO5EbRtHK4gcdyfPAfI7YeH1k0W0 vLV+GMho29aAvwLVx7AwPZJH4xfxJTOiFNNTSnaQOPXzjX3a7I+N1bDvy6c2WQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZrrh-0003x9-55; Sat, 26 Aug 2023 07:54:05 -0400 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 1qZrrf-0003x0-Nm for emacs-orgmode@gnu.org; Sat, 26 Aug 2023 07:54:03 -0400 Received: from mr5.vodafonemail.de ([145.253.228.165]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZrrc-0002Ur-Q6 for emacs-orgmode@gnu.org; Sat, 26 Aug 2023 07:54:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1693050838; bh=q/BKY1BsssigvLywU0Z/I3Kj892ex65Tj8WiMDLE6O8=; h=Message-ID:Date:User-Agent:Subject:To:References:Content-Language: From:In-Reply-To:Content-Type:From; b=fMJMLpH92qm16Zcq16oWZWGdbRGILnODFSCiTMvXlmKGlPiByoaplUC2DLHb3fgil KDE3FY5oRNDLmkhuHBplI4HfVNJ5FLzWVi+RTCVmTDp1eez8FYpDraOoVkX9kbCOWV DWDSmTjA4D39r5QYHrEyeK3MNbejk6egG0F7gA0k= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr5.vodafonemail.de (Postfix) with ESMTPS id 4RXwFy1pcfz1yHR; Sat, 26 Aug 2023 11:53:58 +0000 (UTC) Received: from [192.168.0.138] (unknown [86.33.64.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4RXwFk4TBtzMkrv; Sat, 26 Aug 2023 11:53:42 +0000 (UTC) Message-ID: <6a7888b5-1b4c-9a59-8a8e-e27c9d8b50cb@vodafonemail.de> Date: Sat, 26 Aug 2023 13:53:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property] To: Ihor Radchenko Cc: Samuel Loury , emacs-orgmode@gnu.org References: <87h6oq2nu1.fsf@gmail.com> <877cpm6oe3.fsf@localhost> <811c9bda-cea4-c0d6-30b4-53ebdb432ab6@vodafonemail.de> <748acab1-eaf4-fdd3-13a6-26e6229de613@vodafonemail.de> <87o7iw7v4q.fsf@localhost> <98f4101b-7281-2793-ca30-7086c4f10c5d@vodafonemail.de> <87sf86w1k8.fsf@localhost> Content-Language: de-DE-frami, en-US From: Jens Schmidt In-Reply-To: <87sf86w1k8.fsf@localhost> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-purgate-type: clean X-purgate: clean X-purgate-size: 1084 X-purgate-ID: 155817::1693050834-F6FFBE6D-7D65A8F3/0/0 Received-SPF: pass client-ip=145.253.228.165; envelope-from=jschmidt4gnu@vodafonemail.de; helo=mr5.vodafonemail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, NICE_REPLY_A=-1.57, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.82 X-Spam-Score: -6.82 X-Migadu-Queue-Id: 878BB46560 X-TUID: w9I1G/c7TSrS On 2023-08-26 12:16, Ihor Radchenko wrote: > Jens Schmidt writes: >> #+begin_example >> -+-long-and-twisted-property-name-="foo" >> +\-long\=and\\twisted\:property\.name\*="foo" >> #+end_example > > This actually feels rather cubersome. That particular example looks awkward, but pls don't forget that users (mostly) have been happy without any option of quoting so far. IOW, there shouldn't be much to quote in real life. I can provide a simpler example in the manual, but that's probably not what you meant :-) > I am now wondering if we could instead do something like > "-long=and\twisted:property.name*"="foo" > Then, we will just have to quote the " itself, not all > non-alphanumerics. > > Although, using " might be tricky. Agreed. It introduces more context, and longer context, than a simple backslash. Plus double quotes are already used for other purposes in the larger regexp, which could introduce more ambiguities. Finally, a term "foo-bar"="foo-bar" looks, er, tautologically? at best.