From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gD5lBA2YlGGH5wAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 06:50:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kAQlAA2YlGEIPAAA1q6Kng (envelope-from ) for ; Wed, 17 Nov 2021 05:50:05 +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 66BE81C473 for ; Wed, 17 Nov 2021 06:50:04 +0100 (CET) Received: from localhost ([::1]:35662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnDpb-00025R-KR for larch@yhetil.org; Wed, 17 Nov 2021 00:50:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnDoR-00025G-9J for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 00:48:51 -0500 Received: from [2607:f8b0:4864:20::92f] (port=45785 helo=mail-ua1-x92f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnDoP-000470-GD for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 00:48:51 -0500 Received: by mail-ua1-x92f.google.com with SMTP id ay21so3302911uab.12 for ; Tue, 16 Nov 2021 21:48:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ha800NNOzHnkQpUM1glOQ2TsinvkIW+O8csY9A74CBw=; b=nz1R0qN2PQKcoDY4WZnp1Yk12vM7LEjA73t46E/L2Tm7RG3SGozQVLH292t7hVqf1U ptskRI3BYHyb9dX6ctKbz9yjbXl+EzANeEitxp099diN5sy25INdBkha60V9g1R3UE/5 FYghgpjfStV1zq/PMgbRRKt4ksRTZvgNW2xKb5rQ7zkf4a8ZmSb8b2zWLpgNuiiZrQ2H p5WWCFhNW/qxITgyLHCFQHtO+lp/nNOQLD7l+r5aA5EO97tyBIpgehEAeYlkIt/Vdfs+ nJxS7mrog5ZNuZ6IckhXUHrwJuJ4K7+H620lLy7deoYZAQ60ABH0WEKmQZlH6VDELwsS h6Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ha800NNOzHnkQpUM1glOQ2TsinvkIW+O8csY9A74CBw=; b=HFYOV/S+3JgcnyAScnHr46TLp/nLa5e2cBZQ4NMUy2cgwCs+ucAjENBDvL97WMRmxq ft3odqtif6lOsSnVLvmNOZegI5MyA29wLh32K525T0jht4wR+BlOYWy0KQyhc0OppJnp PDG9Y9wWSvuN+jdmNRm6eB1lHceCWUARnK2dIcBh47imQbZpG0xW7nJiZ4lEm9CSwi/7 iRayMJ4jRa5vtM4UEk0dnsZVBaQusAByhnPnZj8lLzchqiIfPl1AmwzveXlrW7IG5hlH rADiiGGZ6xiYJj9BsDM14dNCkZAV7ILrc/cG1UQnIx83ZZt7hvP+7mGQabEozxvQCP9J 373Q== X-Gm-Message-State: AOAM531n/pmsoiAehRW2NVV0Un/ZNzlk7SVEBEevFf3uODLbKpQzbvAP Lx/Px7arassoXaOOmWkK4SXPSxl2zA8= X-Google-Smtp-Source: ABdhPJxw8gRnMStMkvxyI4ocw1gddaeNgI/WQWfXxBfB+FGZzCufoxSk5KePzCPy2DOVtQtqdcIstw== X-Received: by 2002:ab0:5928:: with SMTP id n37mr19853802uad.15.1637128128072; Tue, 16 Nov 2021 21:48:48 -0800 (PST) Received: from Carloss-MacBook-Pro.local ([186.136.138.53]) by smtp.gmail.com with ESMTPSA id j31sm13038788uag.4.2021.11.16.21.48.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 21:48:47 -0800 (PST) From: Carlos Pita To: emacs-orgmode@gnu.org Subject: [BUG] Agenda query trailing spaces [9.5 (release_9.5-225-g494c20.dirty @ /Users/carlos/Install/Source/org-mode/lisp/)] Date: Wed, 17 Nov 2021 02:48:45 -0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::92f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::92f; envelope-from=carlosjosepita2@gmail.com; helo=mail-ua1-x92f.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637128204; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ha800NNOzHnkQpUM1glOQ2TsinvkIW+O8csY9A74CBw=; b=iKrEasLYCcDws7n0nJdpZqCri4tXGIDCfMZPLw67jo01q6VJS+gBMi72O9GjIqSzdVtM3p DkZmTsc7RMmHOi/wrLVGfRIUZ/w5WShvTZVmePmd7CPVQg0vdr/8V/bDTCTRczqC2H+9oH CW2QN/icjpHo3Wt8ULE9Jkz5rh1QflGvQ7UTS1OLHsA+6BWrQU3aWMs8NmNMGe0KzKP4TX V2N2jwCaBEJayyFD1helcmQeTzgbXejqmAjAbexvHXHc2eigwrqcEsVtUSHgRdmoZ/xhgl VS5MXTwY2QZ0T23xeoCpz0rFWh9qRublVXouirW8/gb/nzY/5Tj3CA0TiYQ7ZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637128204; a=rsa-sha256; cv=none; b=keuA+05hkljsJhfTAfMS5dw0L26+axEhFyEfbX3Maz9JoO4KYuZGIkfMXeWxsOnaxDVUDw 0u2/qtRGbSuij+prhVVPnJtMc9GcwzvWFRtlzfPfFDwjds6Ir07bwyq0LfFgggVsNVj/Gw E6anzSA9DU0pAhCWkWLH5RKWqN/PFdlJ3a7Bbm1Hj8gSXrUZ59Fxjv0Tk3UkEyKjfjmuI0 M/AiIs25gs/jNYUAE8HPaHtxGFFYxvp2Z+JRtKY0WnrVxwDsF62uEQbvtJl7rxemmslV8K J3eTZuyjWWfCbCd6qHRZVItdDhFiUsbLv2Mr7LKt09oomHCDRS1eUQnwpx0CWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nz1R0qN2; 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" X-Migadu-Spam-Score: -3.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nz1R0qN2; 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" X-Migadu-Queue-Id: 66BE81C473 X-Spam-Score: -3.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: MHU87RRqgrY1 Hi all, when I press [ or ] to add additional words to the agenda query but then immediately abort the prompt with C-g without actually adding any new word, a trailing extra space is added to the query. After doing the same n times, the query includes n trailing spaces. Best regards, Carlos ------------------------------------------------------------------------ Emacs : GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2= 022.60 Version 11.6 (Build 20G165)) of 2021-11-14 Package: Org mode version 9.5 (release_9.5-225-g494c20.dirty @ /Users/carlo= s/Install/Source/org-mode/lisp/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-link-elisp-confirm-function 'yes-or-no-p org-directory "~/Documents" org-bibtex-headline-format-function '(closure (org-id-locations org-agenda-search-= view-always-boolean org-agenda-overriding-header t) (entry) (cdr (assq :title entry))) org-persist-after-read-hook '(org-element--cache-persist-after-read) org-export-before-parsing-hook '(org-attach-expand-links) org-default-notes-file "~/Documents/Capturas.org" org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers o= rg-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-mode-hook '((closure (org-agenda-skip-regexp org-table1-hline-regexp org-table= -tab-recognizes-table\.el org-table-dataline-regexp org-table-any-border-regexp or= g-agenda-restriction-lock-overlay org-agenda-overriding-restriction org-agenda-diary-file = org-complex-heading-regexp t) nil (setq imenu-create-index-function 'org-imenu-get-tree= )) (closure (org--rds reftex-docstruct-symbol org-element-greater-ele= ments visual-fill-column-width org-clock-history org-agenda-current-date org-with-time org-defdecode org-= def org-read-date-inactive org-ans2 org-ans1 org-columns-current-fmt-compiled org-clock-current-task = org-clock-effort org-agenda-skip-function org-agenda-skip-comment-trees org-agenda-archives-mode o= rg-end-time-was-given org-time-was-given org-log-note-extra org-log-note-purpose org-log-post-mes= sage org-last-inserted-timestamp org-last-changed-timestamp org-entry-property-inherited-= from org-blocked-by-checkboxes org-state org-agenda-headline-snapshot-before-repeat org-agenda-bu= ffer-name org-agenda-start-on-weekday org-agenda-buffer-tmp-name org-priority-regexp org-mode-= abbrev-table org-mode-syntax-table org-element-use-cache org-element-cache-persistent buffe= r-face-mode-face org-tbl-menu org-org-menu org-struct-menu org-entities org-last-state org-id-track= -globally org-clock-start-time texmathp-why remember-data-file org-agenda-tags-todo-honor-ignore-opt= ions iswitchb-temp-buflist calc-embedded-open-mode calc-embedded-open-formula calc-= embedded-close-formula align-mode-rules-list org-emphasis-alist org-emphasis-regexp-components org-ex= port-registered-backends org-modules crm-separator org-babel-load-languages org-id-overriding= -file-name org-indent-indentation-per-level org-element-paragraph-separate org-agenda-buffer-name or= g-inlinetask-min-level t) nil (add-hook 'change-major-mode-hook 'org-show-all 'appe= nd 'local)) (closure (org-src-window-setup *this* org-babel-confirm-evaluate-a= nswer-no org-babel-tangle-uncomment-comments org-src-preserve-indentation org-src-lang-modes org-edit= -src-content-indentation org-babel-library-of-babel t) nil (add-hook 'change-major-mode-hook #'org-babel-show-re= sult-all 'append 'local)) org-babel-result-hide-spec org-babel-hide-all-hashes) org-confirm-shell-link-function 'yes-or-no-p org-reveal-start-hook '(org-decrypt-entry) outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-cycle-separator-lines 1 org-todo-keywords '((sequence "TODO" "NEXT" "|" "DONE")) outline-minor-mode-buttons '(("=E2=96=B6" "=E2=96=BC" outline--valid-char-= p)) org-support-shift-select t org-speed-command-hook '(org-speed-command-activate org-babel-speed-comman= d-activate) org-preview-latex-default-process 'dvisvgm org-persist-before-write-hook '(org-element--cache-persist-before-write) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-a= rg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete or= g-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-op= en :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-sto= re-link) ("mhe" :follow org-mhe-open :store org-mhe-store-lin= k) ("irc" :follow org-irc-visit :store org-irc-store-li= nk :export org-irc-export) ("info" :follow org-info-open :export org-info-expor= t :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-= link) ("docview" :follow org-docview-open :export org-docv= iew-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-= store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-expor= t :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org= -link-doi-open :export org-link-doi-export) ("file+sys") ("file+emacs") ("shell" :follow org-lin= k--open-shell) ("news" :follow (closure ((scheme . "news") (--dolist-tail--) org-ts-regexp= org-time-stamp-formats org-src-source-file-name org-outline-regexp-bol org-inhibit-startup org-id= -link-to-org-use-id org-highlight-links org-comment-string org-agenda-buffer-name clean-b= uffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("mailto" :follow (closure ((scheme . "mailto") (--dolist-tail--) org-ts-rege= xp org-time-stamp-formats org-src-source-file-name org-outline-regexp-bol o= rg-inhibit-startup org-id-link-to-org-use-id org-highlight-links org-comment-string org-agenda= -buffer-name clean-buffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("https" :follow (closure ((scheme . "https") (--dolist-tail--) org-ts-regex= p org-time-stamp-formats org-src-source-file-name org-outline-regexp-bol org-inhibit-startup org-id= -link-to-org-use-id org-highlight-links org-comment-string org-agenda-buffer-name clean-b= uffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("http" :follow (closure ((scheme . "http") (--dolist-tail--) org-ts-regexp= org-time-stamp-formats org-src-source-file-name org-outline-regexp-bol org-inhibit-startup org-id= -link-to-org-use-id org-highlight-links org-comment-string org-agenda-buffer-name clean-b= uffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("ftp" :follow (closure ((scheme . "ftp") (--dolist-tail--) org-ts-regexp = org-time-stamp-formats org-src-source-file-name org-outline-regexp-bol org-inhibit-startup org-id= -link-to-org-use-id org-highlight-links org-comment-string org-agenda-buffer-name clean-b= uffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("help" :follow org-link--open-help :store org-link-= -store-help) ("file" :complete org-link-complete-file) ("elisp" := follow org-link--open-elisp)) org-metaup-hook '(org-babel-load-in-session-maybe) )