From unknown Fri Aug 15 16:57:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61918: Filenames starting with hash interpreted as social references Resent-From: John Cummings Original-Sender: "Debbugs-submit" Resent-CC: bug-hyperbole@gnu.org Resent-Date: Thu, 02 Mar 2023 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61918 X-GNU-PR-Package: hyperbole X-GNU-PR-Keywords: To: 61918@debbugs.gnu.org X-Debbugs-Original-To: "bug-hyperbole@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.167777461423413 (code B ref -1); Thu, 02 Mar 2023 16:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Mar 2023 16:30:14 +0000 Received: from localhost ([127.0.0.1]:58210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXlos-00065Z-GW for submit@debbugs.gnu.org; Thu, 02 Mar 2023 11:30:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:55850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXloq-00065Q-Ub for submit@debbugs.gnu.org; Thu, 02 Mar 2023 11:30:13 -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 1pXloo-0005Fx-Vk for bug-hyperbole@gnu.org; Thu, 02 Mar 2023 11:30:11 -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 1pXlol-0006Lj-NE for bug-hyperbole@gnu.org; Thu, 02 Mar 2023 11:30:10 -0500 Date: Thu, 02 Mar 2023 16:29:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rootabega.net; s=protonmail; t=1677774602; x=1678033802; bh=YPiVzTEMUlw/lOsgasNTjbza0jIfgqKhmIBht97P6Cs=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=osgAzXlOb6R6dN3ogWGQob8q2ML2Gl0UuaNOC3aq3eC1tZWBbK8AKGLULUtrpw5oM Kub66q0Yfmui9l8ZVdLo2ZXMXQNETuG3FjHk00iqbr6CRHSs55VAIGs7xJu5JAGv2Q 0qaiiMn0KuOccXGgVqJzzqH+6AxzZny+ssmUQoiJKh9CwdIu5ZtCmu10gqrm7MLgIL 9fHT/3vw6zUCEJLkQB3FD3L/yV3fKvNU7ykxLnjJP6upUQVJcTo7EXL9LFP8r0CHpx 07SwivCMib5oNa0CoMb9OAUSwS8hCZ/kzaFy3Ch6Iy7l14syfEGygvjleMQgsn16ts yPxzg9w2aAC0g== From: John Cummings 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-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 (HyDebug) ButProps: (variable-documentation "The currently selected Hyperbo= le button. Available to action routines." lbl-key "#abc" lbl-start 11596 l= bl-end 11600 categ ibtypes::social-reference loc # dir "/ho= me/emacs/shellbug/examples/social/" actype social-reference args ("" "#" "a= bc")) Given: In a shell buffer, an ls command is run, and one of the filenames starts with a hash character, e.g. '#abc' or, in the format of an Emacs autosave filename: '#abc#'. (The quotes are not part of the filename.) Expectation: The Hyperbole smart keys will prioritize interpreting this as a filename. The action key will open that file. Actual behavior The action key, and hkey-help, interpret them as social media references, and in my case, the action key does nothing. The HyDebug message included above was generated when I used the action key on a filename '#abc#', so it may also be interesting to note that the=20 trailing hash character is dropped somewhere along the way. From unknown Fri Aug 15 16:57:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61918: Filenames starting with hash interpreted as social references Resent-From: Bob Weiner Original-Sender: "Debbugs-submit" Resent-CC: bug-hyperbole@gnu.org Resent-Date: Mon, 13 Mar 2023 23:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61918 X-GNU-PR-Package: hyperbole X-GNU-PR-Keywords: To: John Cummings Cc: 61918@debbugs.gnu.org Received: via spool by 61918-submit@debbugs.gnu.org id=B61918.16787507754249 (code B ref 61918); Mon, 13 Mar 2023 23:40:01 +0000 Received: (at 61918) by debbugs.gnu.org; 13 Mar 2023 23:39:35 +0000 Received: from localhost ([127.0.0.1]:35809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbrlO-00016S-MJ for submit@debbugs.gnu.org; Mon, 13 Mar 2023 19:39:34 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:33426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbrlM-00016F-Pw for 61918@debbugs.gnu.org; Mon, 13 Mar 2023 19:39:33 -0400 Received: by mail-qt1-f171.google.com with SMTP id z6so15174360qtv.0 for <61918@debbugs.gnu.org>; Mon, 13 Mar 2023 16:39:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678750767; 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=0zYAgIMe9iyDqLeLmwR67PWwolJ+LqyEBqjFYazNSc4=; b=HXsU8FYjNfe5Jl78JKBNprHq2AAOx3gxcPcE2w278HDQdP6Xc1gYpvC4EhaWfZrheK GOhdu2xpeilsk5Wdd09giiZLVWo2WoshdKI/yu7jf6RhB8HONAs4nU6QW2v6vXE/iyrt ljTdU3bH4fBnu0EUnLsIplixja5OVE/49manDN3W3XGdTNUFsAplh8QmDElH0Wl6Oz41 gwwwilhHmXhF/dxOE5WMC6OyMFrnMGC7pTPV94BIfsxamliE1qpaviQriQcTf21zdibm T8k+7MSNr11cDqZS6nInvxPdLolHhSttTwwFgbXLQD2e6euHT2iTNR5O6sxB2ouiKyX2 WRaw== X-Gm-Message-State: AO0yUKW9qF/U++Cyfyft9dvI7/tolxTVNOzH7WKE0WSxze5uhL9ytOUj iRO3Iv5Y7A0Ung8ksM7cLJ9SeYncBK0= X-Google-Smtp-Source: AK7set/29wRvcmXGqcHkOkHsq9Vrkev8txbEEiXBrbN6RO8m8xZ/TsLUr2sLr2feKqAUdfHzncu9EA== X-Received: by 2002:a05:622a:2d1:b0:3b6:309e:dfe1 with SMTP id a17-20020a05622a02d100b003b6309edfe1mr24977543qtx.3.1678750767251; Mon, 13 Mar 2023 16:39:27 -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 y13-20020a37f60d000000b00743049c2b15sm630371qkj.66.2023.03.13.16.39.26 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Mar 2023 16:39:26 -0700 (PDT) From: Bob Weiner References: Date: Mon, 13 Mar 2023 19:39:26 -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-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 > (HyDebug) ButProps: (variable-documentation "The currently selected > Hyperbole button. Available to action routines." lbl-key "#abc" > lbl-start 11596 lbl-end 11600 categ ibtypes::social-reference loc > # dir "/home/emacs/shellbug/examples/social/" actype > social-reference args ("" "#" "abc")) > > Given: > In a shell buffer, an ls command is run, and one of the filenames > starts with a hash character, e.g. '#abc' or, in the format of an > Emacs autosave filename: '#abc#'. (The quotes are not part of the > filename.) > > Expectation: > The Hyperbole smart keys will prioritize interpreting this as a > filename. The action key will open that file. > > Actual behavior > The action key, and hkey-help, interpret them as social media > references, and in my case, the action key does nothing. The HyDebug > message included above was generated when I used the action key on a > filename '#abc#', so it may also be interesting to note that the > trailing hash character is dropped somewhere along the way. 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