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 wMZ0CXARlWGF7QAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 15:28:00 +0100 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 KrcJBXARlWFgIgAAB5/wlQ (envelope-from ) for ; Wed, 17 Nov 2021 14:28:00 +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 D9F73E68C for ; Wed, 17 Nov 2021 15:27:59 +0100 (CET) Received: from localhost ([::1]:55224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnLuo-0007T0-A4 for larch@yhetil.org; Wed, 17 Nov 2021 09:27:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnLq9-0000EC-SI for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 09:23:09 -0500 Received: from [2607:f8b0:4864:20::62d] (port=35444 helo=mail-pl1-x62d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnLq6-0005O6-94 for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 09:23:09 -0500 Received: by mail-pl1-x62d.google.com with SMTP id b13so2324920plg.2 for ; Wed, 17 Nov 2021 06:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=RMjyWuErWRXgPTDueN1ikApsyXn7R4qHhs/XX9ycQVw=; b=SIkkE23Q+05sycS5Exwf04UI73j/gnJQM8JwgKW+HhkvU075wJTunso1UfKEc10OOs HQTA1MPIaRk5jcFNHSaHkdIS36miyvoWgUdK116NmiXVi7qNzJRrjbMIc0t5J6gfrErU 5bQr7SiBiGlSVfaXXaUO9nwzCXjvG1uqMERP8D8caF4pNmSeg13oLAetXc7inaIRI4to 7z/M/AlFD8Ry3Dady+ktdZ29AtF/dpS54cYW8OvelefbK6AWZfXGCLCPFEdQmCtHkieQ jM7vV+LhlQcvqQ4E5fWFIFnOM96mNkwheoAgkshNmfluhSX624dOsanSVLYWJePd12p+ 6x2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=RMjyWuErWRXgPTDueN1ikApsyXn7R4qHhs/XX9ycQVw=; b=TEVgZiaiPS2dj30k14FT/grvHCBiOJdAs7wOrsfQsQAlvSECmp5xxNI9kN2PU3jfSn jEn8fb8FJwkmEPOezZlTH/6GARkRkVSelDqn9nB1y380bN8ACDyvMK9gWHEGzbGLMoWx wM4qzcV2sA6CWM+VnXJ6BgTbaL9atjrO8jb0+CZWMVSAeYZodtb/SeQCBpUoCLun/ljb f+ejY1/B0Ekxt8jCdQ1fNzzdrtyIo0bHRzDGN2VTC86Rjsty0+TiFqc9DshDSjSVJO6o p8fagZqgiBytTJhv8ZlYUq6EY1B2YXcelazEHk6cRK7oprXNXxMgvI53nkZkDSNQvJYB cOHw== X-Gm-Message-State: AOAM532B+yJzAcvV+RP0eG4hKJgolDLWkGELzMUSpT/kTtZxaqM2GpqT v2+1a2sXIL+mNKw9l4Gd7py0DGGUIyONlA== X-Google-Smtp-Source: ABdhPJxCfVAQZXaz2/1+/JD/5WOhQq2U0ayNj+XVaG7vKIsaOgsZFF16KOB63Tv0Uw9Ctna3zs6sag== X-Received: by 2002:a17:90b:3758:: with SMTP id ne24mr3520pjb.59.1637158984819; Wed, 17 Nov 2021 06:23:04 -0800 (PST) Received: from localhost ([210.3.160.230]) by smtp.gmail.com with ESMTPSA id w5sm23932897pfu.219.2021.11.17.06.23.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 06:23:04 -0800 (PST) From: Ihor Radchenko To: Carlos Pita Subject: Re: [BUG] Agenda query trailing spaces [9.5 (release_9.5-225-g494c20.dirty @ /Users/carlos/Install/Source/org-mode/lisp/)] In-Reply-To: References: Date: Wed, 17 Nov 2021 22:24:30 +0800 Message-ID: <87r1be97xd.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62d (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62d.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: , Cc: emacs-orgmode@gnu.org 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=1637159279; 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=RMjyWuErWRXgPTDueN1ikApsyXn7R4qHhs/XX9ycQVw=; b=nYr22ipLZXaxU+9UOFZ37VEOLR3XZ4cu7fbftk8c7qt2rb8X1xfo1pKQcZgFkG/l0OeSv1 rfBMkjUAnwAIakkYWnnsyRM7ttHsOg0iuVnfDwj2xa964ghafmRJbv4i0QnSMju6wbkoqn +EZyZYBAiLKrQ4pbPIQEc+aSUY92RbP/SHxlTvzUPijq/DcrVIPEy+riS5m/gWDaAda4Au aLNyqEBmvPC3cv3BFourTsB8ZZTWJGLzZkrLMTMIWk69j6zr9M+569EfHNqV2pn4w51+3/ Dx704Sb5WZbYpYmwFanN8yMhqsHmINBd0pzG8VLaCIXkELo1ddsZp6QRfG3b9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637159279; a=rsa-sha256; cv=none; b=l1yXaX7s/xmhgCo88ciUqTJLdhiM9+p4TeL3uYkzaUqar4600/W5H85QtK989qJQZdMTXI TgUh5eK5np1rBfLzzn417CfJkGtaD8DDou544YYeQO5pFpjb05iOypAuQTxZKHrBwYFAU0 AaHRonWRMcnhJyYcZDvPdbJM7GsThCC77ilsXBHPQPfPF1If/ZNBuHAr7XWeyHGpDP4uGa wU4MVMDgwSOZkvb52GnGQtcHg3oq4806d7paZDF2aZzjdtQ1XDaH5/ZLS0IACScSxaU00v Zza+0c05P52MuiZIXT6Jrua/9/WvU0WB1y3a9B1dAmubaTy6+F0N/hhBnhIq8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SIkkE23Q; 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: -3.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SIkkE23Q; dmarc=pass (policy=none) header.from=gmail.com; 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: D9F73E68C X-Spam-Score: -3.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: O4IamGQMoSDV Carlos Pita writes: > 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. Confirmed However, this behaviour seems to be partially intentional. It was explicitly introduced in 774964adb. So, the fix may not be straightforward. Someone needs to study the relevant agenda code. Best, Ihor