From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CL58EoXmUWH1EgAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 17:43:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6PErDoXmUWF2TQAAB5/wlQ (envelope-from ) for ; Mon, 27 Sep 2021 15:43:01 +0000 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 C43EC86EC for ; Mon, 27 Sep 2021 17:43:00 +0200 (CEST) Received: from localhost ([::1]:57440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUsmR-0002Z0-Rm for larch@yhetil.org; Mon, 27 Sep 2021 11:42:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUslv-0002VG-VH for emacs-orgmode@gnu.org; Mon, 27 Sep 2021 11:42:27 -0400 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:37489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUslu-0003g7-CH; Mon, 27 Sep 2021 11:42:27 -0400 Received: by mail-qt1-x835.google.com with SMTP id e16so14455307qts.4; Mon, 27 Sep 2021 08:42:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=jT+C2fJmy2FsujFpYImXFnBRY3tq8wMQDsowmhsFYMc=; b=hoBM1SlBHilb/GWXoXz6A3+E5AK69jCit5CnSzx+Jw6Uk9K2WM+KYkA797IqUnO3YB UJjP61p7+c2IU59V+Q2Rl9pRs3j5C2HbeRe9pjaHMHfGP0NDySeGua58EIwMlxB9Ul30 od4rSS1ZPRFttv+jAZ9WNTIhsiYTak3zNvhKK9uSREozYifN0kOJIra2N4UF7q9IYjXj WTZfpwpCr8CcAs9MlvCiJzGKzrNh7wxhse0rL0zBBjekex3r5AkhAUBrR52jKf/YHXRO nsboNX/ZYkYwYhkryCfpxaI1oZ7mNnThtMwJPIoYOOC211pIIor5xrnxRxJxy+K+2mhM k2Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=jT+C2fJmy2FsujFpYImXFnBRY3tq8wMQDsowmhsFYMc=; b=3z3ofXwxhJcte0ARlAhdMKzlhian0Eru68TYnVqo8VnlOKoqQoIoBkadv+9NPvxofQ rCjP5eYApejiIHYNqYfdeNd1NvSoOnpb91p/XIJnd3PIrLJoaoqnSazrbJLaENPF6mjK 7EFwcnoZkCzhii3V/EKcCUMC87hdZA53gibaWWU6eoUQZ83xYCU6AZfqZEc0EklR0Q/+ oZzY+fgHo9tt8aR8EaCnrNZC7zRRNovckDpk0Xt1FhpQoyXeBQI3jcJNRRDUm+vw1huf TcSz41Cwa7BJc713rdIfT1R+py+Ms3vWdAB0n2KN/nQHDEEhW66zEfruw4g0a6MW3m0q +3HQ== X-Gm-Message-State: AOAM5337kZxRrjgQpOxJCsNbyf2NlaDYUpuLtNtKVF8tq2u3+xSFeTFY 2Qq5HIazjZFZjb4RXS33vxr3WMTkL8E= X-Google-Smtp-Source: ABdhPJzECPEO8VEiU3gUlzpCosyvmY4fLQ/6stSN7YJd+aaemlbsXPpQvLbqZ4Kb5msJC3zQsJh+Dw== X-Received: by 2002:ac8:187:: with SMTP id x7mr550176qtf.66.1632757343540; Mon, 27 Sep 2021 08:42:23 -0700 (PDT) Received: from arch ([2601:82:c200:166d:afae:ebe6:a0e2:409e]) by smtp.gmail.com with ESMTPSA id l195sm12966358qke.98.2021.09.27.08.42.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 08:42:22 -0700 (PDT) References: <87a6l4b0bx.fsf@gmail.com> <80pmtqp2wx.fsf@felesatra.moe> <87ilzhjwkk.fsf@gmail.com> <87mtotcuf5.fsf@gmail.com> <87y28ddyby.fsf@gmail.com> <87mtnyquva.fsf@gnu.org> User-agent: mu4e 1.7.0; emacs 28.0.50 From: No Wayman To: Bastien Subject: Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)] Date: Mon, 27 Sep 2021 11:19:56 -0400 In-reply-to: <87mtnyquva.fsf@gnu.org> Message-ID: <87lf3idnz6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qt1-x835.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Allen Li Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632757380; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jT+C2fJmy2FsujFpYImXFnBRY3tq8wMQDsowmhsFYMc=; b=qUk1bitDxJotz1VOUxNxqIwLlH+onrNnQuracG2oF2r33+QzEyV2zbrnL6cEAfdIbqoOq4 Xin0cfd+yIcVUvjuXOIPcXEViqZLxPV6hFKAp67FuZkOrtSm7Pq1A05c9kJR+G+J9XE2Xd pnJDAYabjXwh2CK/ga4d6RWVnxNg7G5hEwJlnMrR8248B3JSF/Db44w19+aFUslhzB6xrV LLB4LaLx1dCNQCnAgG/NUOCHJeqQIW9QVenF9ZmQRepwSYx5NHJvvHN2dK0yVQdqsKGu4T TER4ybaMQEvbV4VqnSPaziR4+lE0BnISLZtOrHBdmT11+i4UF66icDz/1sIuZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632757380; a=rsa-sha256; cv=none; b=FTPcc7R7B1KmEi1uGBXxc3qy0Mq0K0TucFqkztZuXCqiGTuac8nJLFBBamP/n0Sb2Y5rcV ebtK1OoM056Ss88DUgpl8clNvrXM1BRXPCBAnXQngWzB4mEwzF9SnGPL3vmBR0F+GgqQSd XQA2YJPDEe2CBeZtWF1p6y3uz5d+um+uWMlycKKfMldy7ATItuIBhE7L+rsVRJy2XgfGTv MGI3DRV7bzDR693KCAnp0odcYgUUmladgMwjXnB3HtBcB+OZUr00Pv+cuU6ev1EGNYM4Fc L81Op6vSkjzyzd8jljnG9bJ2UsK0JwMq5aNzogEHC4F+PjJlvnuLmlcNi2+syg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hoBM1SlB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: 0.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hoBM1SlB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: C43EC86EC X-Spam-Score: 0.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: wFEG1QI6yQ2e Bastien writes: > Hi, > > No Wayman writes: > >> * org.el (org-tags-crm-separators): Defcustom controlling which >> characters are used to delimit tags in commands which utilize >> `completing-read-multiple'. > > Why should we allow anything else than ":" for separating tags > in > commands which utilize completing-read-multiple? > > I surely miss something obvious. The patch you are viewing is outdated. This is the latest patch on offer: https://list.orgmode.org/87bl4rce4j.fsf@gmail.com/2-0001-Allow-to-delimit-tags.patch It allows "," (the default for completing-read-multiple) and ":" to delimit tags when completing-read-multiple is used. The reason for allowing "," is that it's easier to type than ":". I make liberal use of tags and IMO typing a "Shift+;" between each tag is annoying and slow. The comma is also used as the default separator when completing-read-multiple is used. > If we relax a constraint, I'd rather have this hardcoded and > well > documented than adding a new defvar or defcustom. The latest patch removed the defcustom and replaced it with a defvar for the crm-separator regexp. If it would ease your mind I'd be happy to convert it to a defconst. It's also worth noting that the constraint was only recently introduced. "," worked fine to delimit tags in `org-set-tags-command' prior to the switch to completing-read-multiple. Regarding documentation, let me know where you'd prefer it documented.