GNU bug report logs - #70277
Crash when attempting to create a regular button

Previous Next

Package: hyperbole;

Reported by: Marc Coquand <marc <at> mccd.space>

Date: Mon, 8 Apr 2024 13:52:02 UTC

Severity: normal

Done: rswgnu <at> gmail.com

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70277 in the body.
You can then email your comments to 70277 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-hyperbole <at> gnu.org:
bug#70277; Package hyperbole. (Mon, 08 Apr 2024 13:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marc Coquand <marc <at> mccd.space>:
New bug report received and forwarded. Copy sent to bug-hyperbole <at> gnu.org. (Mon, 08 Apr 2024 13:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marc Coquand <marc <at> mccd.space>
To: bug-hyperbole <at> gnu.org 
Subject: Crash when attempting to create a regular button
Date: Mon, 08 Apr 2024 08:44:41 -0500

Heya!

I'm having issues creating a regular Hyperbole button with {C-h h i c}
and Info-index.

I wanted to link to a specific info page, however, after setting a label
and attempting to link to Info-index, I get the error:

Debugger entered--Lisp error: (error "Cannot clone a file-visiting buffer")
  error("Cannot clone a file-visiting buffer")
  clone-buffer()
  byte-code("\304\305 \306 \307\30\31\32\33\310 \210\311\216r\nq\210\312
  \210\313\314\315\".\6C\207" [Info-history-list Info-complete-nodes
  Info-complete-menu-buffer completion-ignore-case t clone-buffer
  Info-index-nodes nil info--ensure-not-in-directory-node
  #f(compiled-function () #<bytecode 0x1f9d9807f94f6>) Info-goto-index
  completing-read "Index topic: " Info-complete-menu-item] 4)
  hargs:iform-read((interactive (byte-code "\304\305 \306
  \307\30\31\32\33\310 \210\311\216r\nq\210\312
  \210\313\314\315\".\6C\207" [Info-history-list Info-complete-nodes
  Info-complete-menu-buffer completion-ignore-case t clone-buffer
  Info-index-nodes nil info--ensure-not-in-directory-node
  #f(compiled-function () #<bytecode 0x1f9d9807f94f6>) Info-goto-index
  completing-read "Index topic: " Info-complete-menu-item] 4)) nil)
  hargs:action-get(#<subr Info-index> nil)
  hargs:actype-get(Info-index)
  hui:ibut-create(nil nil)
  funcall-interactively(hui:ibut-create nil nil)
  hui:menu-act(hyperbole nil nil nil)
  hyperbole(nil nil nil nil)
  funcall-interactively(hyperbole nil nil nil nil)
  command-execute(hyperbole)

Version is 20240401.1927.

I'm also noticing that regular info is broken as well:

{C-h h i c eat<RET>info<RET>}

Creates the following:

<[eat]> - <nil nil nil>

Thanks in advance for any help.

Sincerely,
Marc




Information forwarded to bug-hyperbole <at> gnu.org:
bug#70277; Package hyperbole. (Mon, 08 Apr 2024 20:39:04 GMT) Full text and rfc822 format available.

Message #8 received at 70277 <at> debbugs.gnu.org (full text, mbox):

From: Mats Lidell <matsl <at> gnu.org>
To: Marc Coquand <marc <at> mccd.space>
Cc: 70277 <at> debbugs.gnu.org
Subject: Re: bug#70277: Crash when attempting to create a regular button
Date: Mon, 08 Apr 2024 22:37:45 +0200
> Marc Coquand writes:
> Heya!
>
> I'm having issues creating a regular Hyperbole button with {C-h h i c}
> and Info-index.
>
> I wanted to link to a specific info page, however, after setting a label
> and attempting to link to Info-index, I get the error:
>
> Debugger entered--Lisp error: (error "Cannot clone a file-visiting buffer")
>   error("Cannot clone a file-visiting buffer")
>   clone-buffer()
>   byte-code("\304\305 \306 \307\30\31\32\33\310 \210\311\216r\nq\210\312
>   \210\313\314\315\".\6C\207" [Info-history-list Info-complete-nodes
>   Info-complete-menu-buffer completion-ignore-case t clone-buffer
>   Info-index-nodes nil info--ensure-not-in-directory-node
>   #f(compiled-function () #<bytecode 0x1f9d9807f94f6>) Info-goto-index
>   completing-read "Index topic: " Info-complete-menu-item] 4)
>   hargs:iform-read((interactive (byte-code "\304\305 \306
>   \307\30\31\32\33\310 \210\311\216r\nq\210\312
>   \210\313\314\315\".\6C\207" [Info-history-list Info-complete-nodes
>   Info-complete-menu-buffer completion-ignore-case t clone-buffer
>   Info-index-nodes nil info--ensure-not-in-directory-node
>   #f(compiled-function () #<bytecode 0x1f9d9807f94f6>) Info-goto-index
>   completing-read "Index topic: " Info-complete-menu-item] 4)) nil)
>   hargs:action-get(#<subr Info-index> nil)
>   hargs:actype-get(Info-index)
>   hui:ibut-create(nil nil)
>   funcall-interactively(hui:ibut-create nil nil)
>   hui:menu-act(hyperbole nil nil nil)
>   hyperbole(nil nil nil nil)
>   funcall-interactively(hyperbole nil nil nil nil)
>   command-execute(hyperbole)
>
> Version is 20240401.1927.
>
> I'm also noticing that regular info is broken as well:
>
> {C-h h i c eat<RET>info<RET>}
>
> Creates the following:
>
> <[eat]> - <nil nil nil>
>
> Thanks in advance for any help.
>
> Sincerely,
> Marc

Hi Marc,

Thanks for your report. We have confirmed the problems and are working on it.

%% Mats




Information forwarded to bug-hyperbole <at> gnu.org:
bug#70277; Package hyperbole. (Tue, 09 Apr 2024 02:00:02 GMT) Full text and rfc822 format available.

Message #11 received at 70277 <at> debbugs.gnu.org (full text, mbox):

From: Robert Weiner <rswgnu <at> gmail.com>
To: Mats Lidell <matsl <at> gnu.org>
Cc: 70277 <at> debbugs.gnu.org, Marc Coquand <marc <at> mccd.space>
Subject: Re: bug#70277: Crash when attempting to create a regular button
Date: Mon, 8 Apr 2024 21:59:20 -0400
One way around this is to enter (with completion) link-to-Info-index-item, rather than just ‘Info’.  Or you can use link-to-Info-node if that is what you want.  Both should work.  Not sure what ‘Info’ by itself is doing but we’ll sort that out separately.

-- rsw

> On Apr 8, 2024, at 4:39 PM, Mats Lidell <matsl <at> gnu.org> wrote:
> 
> 
>> 
>> Marc Coquand writes:
>> Heya!
>> 
>> I'm having issues creating a regular Hyperbole button with {C-h h i c}
>> and Info-index.
>> 
>> I wanted to link to a specific info page, however, after setting a label
>> and attempting to link to Info-index, I get the error:
>> 
>> Debugger entered--Lisp error: (error "Cannot clone a file-visiting buffer")
>>  error("Cannot clone a file-visiting buffer")
>>  clone-buffer()
>>  byte-code("\304\305 \306 \307\30\31\32\33\310 \210\311\216r\nq\210\312
>>  \210\313\314\315\".\6C\207" [Info-history-list Info-complete-nodes
>>  Info-complete-menu-buffer completion-ignore-case t clone-buffer
>>  Info-index-nodes nil info--ensure-not-in-directory-node
>>  #f(compiled-function () #<bytecode 0x1f9d9807f94f6>) Info-goto-index
>>  completing-read "Index topic: " Info-complete-menu-item] 4)
>>  hargs:iform-read((interactive (byte-code "\304\305 \306
>>  \307\30\31\32\33\310 \210\311\216r\nq\210\312
>>  \210\313\314\315\".\6C\207" [Info-history-list Info-complete-nodes
>>  Info-complete-menu-buffer completion-ignore-case t clone-buffer
>>  Info-index-nodes nil info--ensure-not-in-directory-node
>>  #f(compiled-function () #<bytecode 0x1f9d9807f94f6>) Info-goto-index
>>  completing-read "Index topic: " Info-complete-menu-item] 4)) nil)
>>  hargs:action-get(#<subr Info-index> nil)
>>  hargs:actype-get(Info-index)
>>  hui:ibut-create(nil nil)
>>  funcall-interactively(hui:ibut-create nil nil)
>>  hui:menu-act(hyperbole nil nil nil)
>>  hyperbole(nil nil nil nil)
>>  funcall-interactively(hyperbole nil nil nil nil)
>>  command-execute(hyperbole)
>> 
>> Version is 20240401.1927.
>> 
>> I'm also noticing that regular info is broken as well:
>> 
>> {C-h h i c eat<RET>info<RET>}
>> 
>> Creates the following:
>> 
>> <[eat]> - <nil nil nil>
>> 
>> Thanks in advance for any help.
>> 
>> Sincerely,
>> Marc
> 
> Hi Marc,
> 
> Thanks for your report. We have confirmed the problems and are working on it.
> 
> %% Mats
> 
> 
> 
> _______________________________________________
> Bug-hyperbole mailing list
> Bug-hyperbole <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole




Information forwarded to bug-hyperbole <at> gnu.org:
bug#70277; Package hyperbole. (Sun, 30 Jun 2024 02:58:02 GMT) Full text and rfc822 format available.

Message #14 received at 70277 <at> debbugs.gnu.org (full text, mbox):

From: Robert Weiner <rsw <at> gnu.org>
To: Marc Coquand <marc <at> mccd.space>
Cc: 70277 <at> debbugs.gnu.org
Subject: Re: bug#70277: Crash when attempting to create a regular button
Date: Sat, 29 Jun 2024 22:55:01 -0400
[Message part 1 (text/plain, inline)]
Marc Coquand <marc <at> mccd.space> writes:

> Heya!
>
> I'm having issues creating a regular Hyperbole button with {C-h h i c}
> and Info-index.
>
> I wanted to link to a specific info page, however, after setting a label
> and attempting to link to Info-index, I get the error:
>
> Debugger entered--Lisp error: (error "Cannot clone a file-visiting
buffer")
>   error("Cannot clone a file-visiting buffer")
>   clone-buffer()

This is the regular behavior of Emacs Info-index when called interactively
from a buffer with an attached file.  It simply doesn't support what you
are trying to do.  As mentioned in another response to your issue, use the
action type link-to-Info-index-item instead.

> I'm also noticing that regular info is broken as well:
>
> {C-h h i c eat<RET>info<RET>}
>
> Creates the following:
>
> <[eat]> - <nil nil nil>
>

The above works a bit better now but again you should choose the action
type link-to-Info-node instead.

Hope that helps.  We'll be closing this issue now.

-- rsw
[Message part 2 (text/html, inline)]

bug closed, send any further explanations to 70277 <at> debbugs.gnu.org and Marc Coquand <marc <at> mccd.space> Request was from Robert Weiner <rsw <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 30 Jun 2024 03:00:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 28 Jul 2024 11:24:17 GMT) Full text and rfc822 format available.

This bug report was last modified 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.