From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 12 23:43:25 2019 Received: (at submit) by debbugs.gnu.org; 13 Oct 2019 03:43:25 +0000 Received: from localhost ([127.0.0.1]:34713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJUmz-00018N-1F for submit@debbugs.gnu.org; Sat, 12 Oct 2019 23:43:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:36233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJUmy-00018G-3S for submit@debbugs.gnu.org; Sat, 12 Oct 2019 23:43:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32992) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJUmw-0006gm-JW for bug-hyperbole@gnu.org; Sat, 12 Oct 2019 23:43:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJUkl-0001f8-89 for bug-hyperbole@gnu.org; Sat, 12 Oct 2019 23:41:08 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:37175) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iJUkk-0001eE-IK for bug-hyperbole@gnu.org; Sat, 12 Oct 2019 23:41:07 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 4CE7C2C7 for ; Sat, 12 Oct 2019 23:41:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Sat, 12 Oct 2019 23:41:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=8t8.us; h=date :from:to:subject:message-id:mime-version:content-type; s=mesmtp; bh=GHgUUZj5fkYoGsnDDFXL8mcVgQC/uSOafLraVaqa77w=; b=ZXM15Kom9kuo FXg+u6mze+F9GXTz8/SmluRUQsc8dHT5OKtdNBKrD8RA3+Whe0v9d4BL/J9HmnOo xSuSX4nFHmGnebSId8ksgHEAcofR9BnvyzdziiTZ8sLAhmlCoUReh8QOAzeUaW5m txlTSbF+cDY2eZm0LhLl3b5ZDG8dZVI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=GHgUUZj5fkYoGsnDDFXL8mcVgQC/u SOafLraVaqa77w=; b=moEEZ/68q3QLkfztTBjkhVRQnphzBnTjiK2ikW7fjGYAC SPVz6z3q6JjSt11kS9C5idaadXy3MS1bryLDgX4HBgHXOreEaVNPfj6pr1HLhvgC NL6y+zvzHObKSVUcE2c680FxLDlBZyspYFHjItCyN3obBfhdRzPUdXs6ulFDALW9 voi4b6M0e0csrOT4dlLQlQjGpfq8rcG/iT+0zF4yO8rNuzGzciGoY3WDWn4uh4uG YXd+kL5037byOUCkGk4qRkpIFa2aGIna+79M0gXJcxwQWsNueexG+CoYxql0I8kE N3Ryg4cjk5lD5ibn1DAOdkfA4UAAbGl7GFj/E+kZA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrieekgdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggufgesthdttddttd ervdenucfhrhhomhepfdfmvghvihhnucflrdcuofgtvegrrhhthhihfdcuoehkvghvihhn seekthekrdhusheqnecukfhppeduudegrddviedrvdefjedrgeehnecurfgrrhgrmhepmh grihhlfhhrohhmpehkvghvihhnseekthekrdhushenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from qinghai.lan (114-26-237-45.dynamic-ip.hinet.net [114.26.237.45]) by mail.messagingengine.com (Postfix) with ESMTPA id ADD4F8005A for ; Sat, 12 Oct 2019 23:41:03 -0400 (EDT) Received: from kjm by qinghai.lan with local (Exim 4.92) (envelope-from ) id 1iJUkf-0001CO-9R for bug-hyperbole@gnu.org; Sun, 13 Oct 2019 11:41:01 +0800 Date: Sun, 13 Oct 2019 11:41:01 +0800 From: "Kevin J. McCarthy" To: bug-hyperbole@gnu.org Subject: Apropos Hyperbole key series in DEMO is not pressing final return Message-ID: <20191013034101.GA3700@qinghai.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Autocrypt: addr=kevin@8t8.us; prefer-encrypt=mutual; keydata= mDMEXUYSnhYJKwYBBAHaRw8BAQdAc7hzvhBQBt+lvyFnFNV5rU7JTQQEL8m99uohJvQGlf+0IiJ LZXZpbiBKLiBNY0NhcnRoeSIgPGtldmluQDh0OC51cz6IkAQTFggAOBYhBOPuDxjOXA4T6rpoqJ uLpSK5BwtoBQJdRhKeAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEJuLpSK5BwtoQpQBA P+1pX+GwPx4hoQVba7OGp/grcwU8BfLXXCPA+4YxYzcAQDH/YROAjdKhiUY4Bum6BhfDSREGOvw EehChH5ph9jlCLg4BF1GEp4SCisGAQQBl1UBBQEBB0BnO8ZqDk2jMKqYQ/ScfsKdsVgicyUz306 +NsOlzSdRSQMBCAeIeAQYFggAIBYhBOPuDxjOXA4T6rpoqJuLpSK5BwtoBQJdRhKeAhsMAAoJEJ uLpSK5Bwtona0A/3ewRZvb9J5sX9rRhTGg1rGNMKAV3a+aQuxwgZP5pfoTAP4uQxv/L7tqR0tNM 2ZCqilZXJ+/b7sjZlnyq3XfrTxwBA== OpenPGP: id=ADEF768480316BDA; url=http://www.8t8.us/configs/80316BDA.asc.pubkey; preference=signencrypt User-Agent: Mutt/1.12.2+152 (e4c176b3) (2019-10-01) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.21 X-Spam-Score: -1.3 (-) 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.3 (--) I use: Editor: GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.4) Hyperbole: 7.0.7 Sys Type: x86_64-pc-linux-gnu OS Type: gnu/linux Window Sys: x News Reader: Gnus v5.13 This might be quirks of my environment, but I'm reporting various little issues just in case. In the DEMO, under * Implicit Buttons ** Key Series Buttons The multiline key series: {M-x apropos RET hyperbole RET} is not pressing the final return for me. The prompt Search for symbol (word list or regexp): hyperbole is in the minibuffer and I need to press return myself. If I put it on one line the behavior is the same: {M-x apropos RET hyperbole RET} If I change it to {M-x apropos RET hyperbole RET i} the hyperbole apropos page comes up, and the minibuffer displays the error "i is undefined". Again, I use exwm as well as counsel/swiper/ivy. There may be a strange interaction there, but running it outside of exwm (from console) gives me the same behavior. Thank you, -Kevin From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 13 12:34:46 2019 Received: (at 37723-close) by debbugs.gnu.org; 13 Oct 2019 16:34:47 +0000 Received: from localhost ([127.0.0.1]:36773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJgpS-0003pV-Hz for submit@debbugs.gnu.org; Sun, 13 Oct 2019 12:34:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJgpQ-0003pG-UP for 37723-close@debbugs.gnu.org; Sun, 13 Oct 2019 12:34:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iJgpL-0005Bt-OW for 37723-close@debbugs.gnu.org; Sun, 13 Oct 2019 12:34:39 -0400 Received: from mail-lj1-f171.google.com ([209.85.208.171]:35048) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1iJgpL-0005ot-1S for 37723-close@debbugs.gnu.org; Sun, 13 Oct 2019 12:34:39 -0400 Received: by mail-lj1-f171.google.com with SMTP id m7so14285835lji.2 for <37723-close@debbugs.gnu.org>; Sun, 13 Oct 2019 09:34:38 -0700 (PDT) X-Gm-Message-State: APjAAAUKfOVU1VP9tg0Wz2yHSftp0pM1WMmGfD6NwOdUjKCLnBCDQbWM X9IjLEtRfslJ0Y2OF4Wz+sdnm4hJxYnjsemQQfE= X-Google-Smtp-Source: APXvYqwpdO+yU8518G191Newk/1bv/oEK89G7Vec0w4Mf9HbDZMONnx2xeJYHkyJo1n/Y8pSxgOZDGpmyPIiSpAwSLE= X-Received: by 2002:a2e:9f4d:: with SMTP id v13mr15960757ljk.183.1570984477844; Sun, 13 Oct 2019 09:34:37 -0700 (PDT) MIME-Version: 1.0 References: <20191013034101.GA3700@qinghai.lan> In-Reply-To: <20191013034101.GA3700@qinghai.lan> From: Robert Weiner Date: Sun, 13 Oct 2019 12:34:11 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: bug#37723: Apropos Hyperbole key series in DEMO is not pressing final return To: "Kevin J. McCarthy" Content-Type: multipart/alternative; boundary="000000000000bfeb6b0594cd53fc" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 37723-close Cc: 37723-close@debbugs.gnu.org, Lidell Mats 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: , Reply-To: rswgnu@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --000000000000bfeb6b0594cd53fc Content-Type: text/plain; charset="UTF-8" On Sat, Oct 12, 2019 at 11:44 PM Kevin J. McCarthy wrote: > I use: Editor: GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ > Version 3.24.4) > > Hyperbole: 7.0.7 > Sys Type: x86_64-pc-linux-gnu > OS Type: gnu/linux > Window Sys: x > News Reader: Gnus v5.13 > > This might be quirks of my environment, but I'm reporting various little > issues just in case. > > In the DEMO, under > * Implicit Buttons > ** Key Series Buttons > > The multiline key series: {M-x apropos > RET hyperbole RET} is not pressing the final return for me. The prompt > Search for symbol (word list or regexp): hyperbole > is in the minibuffer and I need to press return myself. > > If I put it on one line the behavior is the same: > {M-x apropos RET hyperbole RET} > Good catch, Kevin. There was a bug in a function that trims whitespace from pathname arguments that was doing this to non-pathname arguments like we have here. If you replace the following function in hpath.el and re-byte-compile and reload the file, this should work properly. (defun hpath:absolute-to (path &optional default-dirs) "Return PATH as an absolute path relative to one directory from optional DEFAULT-DIRS or `default-directory'. Return PATH unchanged when it is not a valid path or when DEFAULT-DIRS is invalid. DEFAULT-DIRS when non-nil may be a single directory or a list of directories. The first one in which PATH is found is used." (cond ((not (and (stringp path) (hpath:is-p (hpath:trim path) nil t))) path) ((progn (setq path (hpath:trim path)) (not (cond ((null default-dirs) (setq default-dirs (cons default-directory nil))) ((stringp default-dirs) (setq default-dirs (cons default-dirs nil))) ((listp default-dirs)) (t nil)))) path) (t (let ((rtn) dir) (while (and default-dirs (null rtn)) (setq dir (expand-file-name (file-name-as-directory (car default-dirs))) rtn (expand-file-name path dir) default-dirs (cdr default-dirs)) (or (file-exists-p rtn) (setq rtn nil))) (or rtn path))))) This issue is now resolved and is being closed. Bob --000000000000bfeb6b0594cd53fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Oct 12, 2019 at 11:44 PM Kevin J. McCarthy <kevin@8t8.us> wrote:
I= use:=C2=A0 Editor:=C2=A0 =C2=A0 =C2=A0 GNU Emacs 26.1 (build 2, x86_64-pc-= linux-gnu, GTK+ Version 3.24.4)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Hyperbole:=C2=A0 =C2=A07.0.7
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sys Type:=C2=A0 =C2=A0 x86_64-pc-linux-gn= u
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0OS Type:=C2=A0 =C2=A0 =C2=A0gnu/linux
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Window Sys:=C2=A0 x
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0News Reader: Gnus v5.13

This might be quirks of my environment, but I'm reporting various littl= e
issues just in case.

In the DEMO, under
* Implicit Buttons
** Key Series Buttons

The multiline key series:=C2=A0 {M-x apropos
RET hyperbole RET} is not pressing the final return for me.=C2=A0 The promp= t
=C2=A0 =C2=A0Search for symbol (word list or regexp): hyperbole
is in the minibuffer and I need to press return myself.

If I put it on one line the behavior is the same:
{M-x apropos RET hyperbole RET}

Good catch, Ke= vin.=C2=A0 There was a bug in a function that trims whitespace from pathnam= e arguments that was doing this to non-pathname arguments like we have here= .=C2=A0 If you replace the following function in hpath.el and re-byte-compi= le and reload the file, this should work properly.

(defun hpath:absolute-t= o (path &optional default-dirs)
=C2=A0 "Return PATH as an absol= ute path relative to one directory from optional DEFAULT-DIRS or `default-d= irectory'.
Return PATH unchanged when it is not a valid path or when= DEFAULT-DIRS
is invalid.=C2=A0 DEFAULT-DIRS when non-nil may be a singl= e directory or a list of
directories.=C2=A0 The first one in which PATH = is found is used."
=C2=A0 (cond ((not (and (stringp path)
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(hpath:is-p = (hpath:trim path) nil t)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0path)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 ((progn (setq path (hpath:trim path))
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (not (cond ((null default= -dirs)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq default-dirs (cons default-directo= ry nil)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0((stringp default-dirs)
=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (setq default-dirs (cons default-dirs nil)))
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0((listp default-dirs))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(t nil))))
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0path)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (t=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(let ((rtn) dir)
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0(while (and default-dirs (null rtn))
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(setq dir (expand-file-name
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 (file-name-as-directory (car default-dirs)))
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rtn (expand-file-name path = dir)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0default-dirs (cdr default-dirs))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(or (file-exists-p rtn) (setq rtn nil)))
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0(or rtn path)))))

This issue is now re= solved and is being closed.

Bob
--000000000000bfeb6b0594cd53fc-- From unknown Wed Aug 20 05:16:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 11 Nov 2019 12: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