From unknown Fri Sep 05 08:41:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#61920 <61920@debbugs.gnu.org> To: bug#61920 <61920@debbugs.gnu.org> Subject: Status: incorrect quote-delimited pathnames across newlines found in shell buffer Reply-To: bug#61920 <61920@debbugs.gnu.org> Date: Fri, 05 Sep 2025 15:41:33 +0000 retitle 61920 incorrect quote-delimited pathnames across newlines found in = shell buffer reassign 61920 hyperbole submitter 61920 John Cummings severity 61920 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 02 11:40:03 2023 Received: (at submit) by debbugs.gnu.org; 2 Mar 2023 16:40:03 +0000 Received: from localhost ([127.0.0.1]:58249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXlyM-0006MZ-Lq for submit@debbugs.gnu.org; Thu, 02 Mar 2023 11:40:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:42298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXlyK-0006M6-91 for submit@debbugs.gnu.org; Thu, 02 Mar 2023 11:40:00 -0500 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 1pXlyJ-0000zB-Um for bug-hyperbole@gnu.org; Thu, 02 Mar 2023 11:39:59 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXlyI-00014H-7Q for bug-hyperbole@gnu.org; Thu, 02 Mar 2023 11:39:59 -0500 Date: Thu, 02 Mar 2023 16:39:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rootabega.net; s=protonmail; t=1677775194; x=1678034394; bh=dEagfpeB2Nf6wemxmv2YZbUwRrTO/Y2xvh1MX3BItpE=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=NLlBb+FVL4DWZpa2yGk7af2Me9gK08Hr6w6imlMVJcDXjAKDIj2JF+H/FDEAMP1ne 0R4z1SWabFkzgvYdBg8nbLutIjRZmNfblJglwKXdymnGaLuumX8KidC/wTLTW32wJt 5/56gzP8rQtZGJkQTqJRUTl/DuooSohQKxr0ATlT81mqoeuSjpoQdgafRqm149BSnz q48yu5U15tsXZfT5PRagSErZeS7+iT0KZscBlpFfYXdqZKTJks4vop0ues+fUR59W6 IYBBoo8Q3KEn3xHWHpPsjUqkGH6uuhwhQUqCxffEBH159hfqJt78WF9+mfNx27lUzq ycWajBdn0cA2g== To: "bug-hyperbole@gnu.org" From: John Cummings Subject: incorrect quote-delimited pathnames across newlines found in shell buffer Message-ID: Feedback-ID: 6700448:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=john@rootabega.net; helo=mail-40136.proton.ch 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) I use: Editor: GNU Emacs 28.2 Hyperbole: 9.0.0 Sys Type: x86_64-pc-linux-gnu OS Type: gnu/linux Window Sys: None News Reader: Gnus v5.13 Install: elpa-devel, 8.0.1pre0.20230227.3018 Given: In a shell buffer in a window 80 characters wide, run an ls command and get the following output: emacs@neptune:~/shellbug/data$ ls '#buttons-9.txt#' foofoofoo sources buttons-9.txt hyperbole.el test.el buttons-9.txt~ '#*message*-20230220-192738#' test.html buttons.txt '#*message*-20230220-205601#' test.html~ buttons.txt~ '#*message*-20230220-210029#' test.kotl EXAMPLE.kotl source.el test.kotl~ foo source.el~ '#foofoofoo#' source.elc emacs@neptune:~/shellbug/data$=20 Expected behavior: The action key on test.html or test.html~ opens that file. hkey-help will show that those names are pathnames. Actual behavior: The action key and hkey-help report that there is no matching context (so there is also no HyDebug message to include.) Possible cause: I did some shallow debugging, and it appears that Hyperbole matches the quotes surrounding the filenames, also consuming the newline after the filename. So on test.html, it may be matching it as=20 ' test.html buttons.txt ' Since Hyperbole tries many different implicit button types, I'm not certain that this is the main problem. But I'm guessing that it is, since it would explain why it only happens to those two names in the listing. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 13 19:38:01 2023 Received: (at 61920) by debbugs.gnu.org; 13 Mar 2023 23:38:01 +0000 Received: from localhost ([127.0.0.1]:35801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbrjs-00013V-TZ for submit@debbugs.gnu.org; Mon, 13 Mar 2023 19:38:01 -0400 Received: from mail-qt1-f175.google.com ([209.85.160.175]:33297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbrjp-00013F-Mv for 61920@debbugs.gnu.org; Mon, 13 Mar 2023 19:37:59 -0400 Received: by mail-qt1-f175.google.com with SMTP id z6so15171413qtv.0 for <61920@debbugs.gnu.org>; Mon, 13 Mar 2023 16:37:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678750672; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KZHU5baNzJ7bAXRlfyiLESfVo4vcQtg2+vAI6Rw+D6c=; b=RYBquuWew2E4XTDs/KtrZPWnELLgNff/2K1eC3XnTxE5c4N5o6QrDlhQiaaCZI8Lis hE1qMGl3h78RdZi5WwG4GAQYU+AcRthQde0m0+5GeZQQrN5ki9ftlE7l3J+LDs0pNmlx +mIsbXwqDr9aEZJhxh9RZHgusIU+ACbcD0xsqhvA++kg67YlWiGABFLLHzCYKt1SOoA9 nPQQuxnGXb27XjFW8g7xLXc1K1r0zGEsGyZXFQ19xX0S/34tE6M+WA4taM8JxCV/jFSN XjsHo3uRzGx7Fvsv//bVJaDORgS6Tro1Dw0XeCQgrnnTPvODea5R0aKvpldGWr/VIOlk 47qw== X-Gm-Message-State: AO0yUKVzbzEYGDDvpzH9KBXR6ffv0NfGJJbBJdqUVq6R7g2LK8hRD6IL mSAi+sJXoBFKONnkN9AazNETU06Z+Q8= X-Google-Smtp-Source: AK7set9NPtguy8G5XjkerFpARU+LAB8UhgafovimO0F1czqeF48h8mfDdzhX6zvmkN6KdCy48RQ6AQ== X-Received: by 2002:ac8:5ad4:0:b0:3bf:b0c6:497b with SMTP id d20-20020ac85ad4000000b003bfb0c6497bmr24707572qtd.2.1678750672124; Mon, 13 Mar 2023 16:37:52 -0700 (PDT) Received: from water-imac-3.local.gnu.org (ool-2f1480e0.dyn.optonline.net. [47.20.128.224]) by smtp.gmail.com with ESMTPSA id x22-20020a05620a0b5600b006ff8a122a1asm623439qkg.78.2023.03.13.16.37.51 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Mar 2023 16:37:51 -0700 (PDT) From: Bob Weiner To: John Cummings Subject: Re: bug#61920: incorrect quote-delimited pathnames across newlines found in shell buffer References: Date: Mon, 13 Mar 2023 19:37:50 -0400 In-Reply-To: (John Cummings's message of "Thu, 02 Mar 2023 16:39:46 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 61920 Cc: 61920@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Hi John: This has been fixed in a recent Hyperbole pre-release at elpa-devel. Thanks for reporting it. I will close this issue. -- rsw John Cummings writes: > I use: Editor: GNU Emacs 28.2 > Hyperbole: 9.0.0 > Sys Type: x86_64-pc-linux-gnu > OS Type: gnu/linux > Window Sys: None > News Reader: Gnus v5.13 > Install: elpa-devel, 8.0.1pre0.20230227.3018 > > Given: > In a shell buffer in a window 80 characters wide, run an ls command > and get the following output: > > emacs@neptune:~/shellbug/data$ ls > '#buttons-9.txt#' foofoofoo sources > buttons-9.txt hyperbole.el test.el > buttons-9.txt~ '#*message*-20230220-192738#' test.html > buttons.txt '#*message*-20230220-205601#' test.html~ > buttons.txt~ '#*message*-20230220-210029#' test.kotl > EXAMPLE.kotl source.el test.kotl~ > foo source.el~ > '#foofoofoo#' source.elc > emacs@neptune:~/shellbug/data$ > > > Expected behavior: > The action key on test.html or test.html~ opens that file. hkey-help > will show that those names are pathnames. > > > Actual behavior: > The action key and hkey-help report that there is no matching context > (so there is also no HyDebug message to include.) > > > Possible cause: > I did some shallow debugging, and it appears that Hyperbole matches > the quotes surrounding the filenames, also consuming the newline after > the filename. So on test.html, it may be matching it as > ' test.html buttons.txt ' > Since Hyperbole tries many different implicit button types, I'm not > certain that this is the main problem. But I'm guessing that it is, > since it would explain why it only happens to those two names in the > listing. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 13 19:41:19 2023 Received: (at control) by debbugs.gnu.org; 13 Mar 2023 23:41:19 +0000 Received: from localhost ([127.0.0.1]:35814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbrn5-00019c-5w for submit@debbugs.gnu.org; Mon, 13 Mar 2023 19:41:19 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:39858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbrn4-00019R-1c for control@debbugs.gnu.org; Mon, 13 Mar 2023 19:41:18 -0400 Received: by mail-qt1-f171.google.com with SMTP id w23so15103043qtn.6 for ; Mon, 13 Mar 2023 16:41:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678750872; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/kvDk+I7wmXn3IUSbmmhQSI2FnQmE6G/bwnhFfbMUi8=; b=BMX08qo6Y2DdP5bBIKHgtVDx2tqTLdzBTxfmn9QXeXGvdsrv0jHDpTCFxZ9z9cL1S0 dNbBk3hu5kFDGvz27qyx3eHWCWNQ8Nj3r/VznFfe/mBYUKgN5BMyKWVq0Y2xNSeOOrU6 Pvpury1bC0T5rKq7aIZXZjjJ7KH84J0xdpm7EsXD2ol5xOMQcdORzjeWY957Akn5HPhb ueoGxXGe55V4y+YLIHU++jDyo/LDAuST04NZPKWy7+8FbTPpe52Kp5Y8+4x05nNTNh+B teZ4NscpN3Xoo+jICzKJtzVVAUmu5rXqcgbEVtG+mN+n8jDb4+u530tBacDMu1jvJrOe CUDA== X-Gm-Message-State: AO0yUKUSaKxRzGSaDERMn34nyuajXrpYUJD6tuflbYQURRoBd6yyw/mr OINPfBsBZo3bwTxV/xJKT3z1QFq4P20= X-Google-Smtp-Source: AK7set+fZJ7Wi4GPvdpdfEJrCaxIUz4PzhRKqUYsqdQ2ftHdSE37PXCYYk5ZUBGdvrrihS21alQq9g== X-Received: by 2002:a05:622a:118a:b0:3bf:cc1b:9512 with SMTP id m10-20020a05622a118a00b003bfcc1b9512mr29806069qtk.1.1678750872530; Mon, 13 Mar 2023 16:41:12 -0700 (PDT) Received: from water-imac-3.local.gnu.org (ool-2f1480e0.dyn.optonline.net. [47.20.128.224]) by smtp.gmail.com with ESMTPSA id z130-20020a376588000000b00706c1f7a608sm618963qkb.89.2023.03.13.16.41.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Mar 2023 16:41:12 -0700 (PDT) From: Bob Weiner To: control@debbugs.gnu.org Subject: Close bugs 61918, 61919 and 61920 - shell filename handling issues References: Date: Mon, 13 Mar 2023 19:41:11 -0400 In-Reply-To: (John Cummings's message of "Thu, 02 Mar 2023 16:29:50 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) close 61918 close 61919 close 61920 From unknown Fri Sep 05 08:41:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 Apr 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator