GNU bug report logs - #78345
Koutliner error in file name without file type [not a bug, exactly]

Previous Next

Package: hyperbole;

Reported by: Cena Mayo <cenazoic <at> gmail.com>

Date: Sat, 10 May 2025 07:35:03 UTC

Severity: normal

Tags: confirmed

To reply to this bug, email your comments to 78345 AT debbugs.gnu.org.

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#78345; Package hyperbole. (Sat, 10 May 2025 07:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cena Mayo <cenazoic <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-hyperbole <at> gnu.org. (Sat, 10 May 2025 07:35:03 GMT) Full text and rfc822 format available.

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

From: Cena Mayo <cenazoic <at> gmail.com>
To: bug-hyperbole <at> gnu.org
Subject: Koutliner error in file name without file type [not a bug, exactly]
Date: Fri, 9 May 2025 12:13:32 -0500
[Message part 1 (text/plain, inline)]
In my simple-mindedness as an (Emacs) newbie trying out Hyperbole, (9.0.1
on Emacs 31.0.50) I attempted to create a new Koutliner file via the
Hyperbole menu->Koutliner->Create-File.

After entering the name of the file and pressing return, I got:

Debugger entered--Lisp error: (void-function klabel-type:function)
  klabel-type:function(alpha)
  kview:set-functions(alpha)
  kview:create("changes")
  kfile:create(#<buffer changes>)
  kfile:read(#<buffer changes> nil)
  kfile:find("~/.emacs.d/changes")
  funcall-interactively(kfile:find "~/.emacs.d/changes")
  command-execute(kfile:find)

As you can see, I left the file type off of the file name; including it
(changes.kotl)) resolves the issue.

So this isn't a bug, per se; I'm just reporting this because maybe(?) a
reminder upon file name input or auto-addition of the file type to the file
name could be implemented?  In your copious free time?

As an aside, if Bob Weiner happens to see this - I was inspired to try
Hyperbole after seeing this 3-hr Q&A
<https://emacsconf.org/2022/talks/fanfare/> from EmacsConf 2022, where you
and John Cummings chat about a million things.  Really appreciated your
long-term perspective on a variety of topics (benefit of getting older, as
one old tries to convince the other.)

As another of those infernal 'seeks-to-understand-from-the-atomic-level'
people y'all discuss (maybe not toilet paper, fine)  really looking forward
to digging into Hyperbole, and perhaps will even generate a one-page report
of feedback from a newbie. :)

Best,
Cena Mayo
[Message part 2 (text/html, inline)]

Information forwarded to bug-hyperbole <at> gnu.org:
bug#78345; Package hyperbole. (Sun, 11 May 2025 12:33:02 GMT) Full text and rfc822 format available.

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

From: Robert Weiner <rswgnu <at> gmail.com>
To: Mayo Cena <cenazoic <at> gmail.com>
Cc: 78345 <at> debbugs.gnu.org
Subject: Re: bug#78345: Koutliner error in file name without file type [not a
 bug, exactly]
Date: Sun, 11 May 2025 08:32:36 -0400
[Message part 1 (text/html, inline)]

Information forwarded to bug-hyperbole <at> gnu.org:
bug#78345; Package hyperbole. (Mon, 12 May 2025 13:45:02 GMT) Full text and rfc822 format available.

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

From: Mats Lidell <matsl <at> gnu.org>
To: Cena Mayo <cenazoic <at> gmail.com>
Cc: 78345 <at> debbugs.gnu.org
Subject: Re: bug#78345: Koutliner error in file name without file type [not
 a bug, exactly]
Date: Mon, 12 May 2025 15:43:31 +0200
> Cena Mayo writes:
> In my simple-mindedness as an (Emacs) newbie trying out Hyperbole, (9.0.1 on Emacs 31.0.50) I attempted to create a new Koutliner file via the
> Hyperbole menu->Koutliner->Create-File.
>
> After entering the name of the file and pressing return, I got:
>
> Debugger entered--Lisp error: (void-function klabel-type:function)
>   klabel-type:function(alpha)
>   kview:set-functions(alpha)
>   kview:create("changes")
>   kfile:create(#<buffer changes>)
>   kfile:read(#<buffer changes> nil)
>   kfile:find("~/.emacs.d/changes")
>   funcall-interactively(kfile:find "~/.emacs.d/changes")
>   command-execute(kfile:find)
>
> As you can see, I left the file type off of the file name; including it (changes.kotl)) resolves the issue. 
>
> So this isn't a bug, per se; I'm just reporting this because maybe(?) a reminder upon file name input or auto-addition of the file type to the file name
> could be implemented?  In your copious free time? 

Thanks for the report. I can recreate the issue on thus confirm it.

I think it is a loading or dependency issue where all relevant kotl functions are not loaded as they should. A possible workaround is to add a "(require 'kotl-mode)" to your .emacs. The problem is present in all versions of Hyperbole.

%% Mats




Added tag(s) confirmed. Request was from Mats Lidell <matsl <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 12 May 2025 13:46:02 GMT) Full text and rfc822 format available.

This bug report was last modified 32 days ago.

Previous Next


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