Hi Alexis,

> Alexis Praga writes:
> Hi Mats, hi Robert,
>
> Thanks. So it should not happen then, I was not sure !
>
> I'm using emacs 30.0.92 packaged by Guix on Gentoo. This happens with
> and without the Guix version of hyperbole (9.0.1 for both).
>
> Steps to reproduce:
> 1. emacs -Q
> 2. package-install hyperbole
> 3. M-x hyperbole-mode
> 4. C-h v hyrolo-file-list shows nil
> 5. Trying to add a record : C-h h r a prompts for a string. Typing
> some text yields an error `hyrolo-add: Wrong type argument: stringp,
> nil`.
> Stacktrace :
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   file-exists-p(nil)
>   hyrolo-add("lol" nil)
>   funcall-interactively(hyrolo-add "lol" nil)
>   call-interactively(hyrolo-add)
>   hui:menu-act(hyperbole nil nil nil)
>   hyperbole(nil nil nil nil)
>   funcall-interactively(hyperbole nil nil nil nil)
>   command-execute(hyperbole)

Thanks for the version info and the backtrace. I only tried to recreate the
issue using the latest development version where I did not get it. I think we
did some major changes to how the hyrolo-file-list is handled since the latest
major release. (Yes, we are way behind in how we would want to produce stable
releases.)

So you might want to give the version of Hyperbole available through gnu-devel
(or melpa) a try. It has many other improvements as well.

> If needed, I can open a bug report.

No need to create a bug report.

I can't reach elpa.gnu.org at the moment but will later try to recreate the
issue just for the sake of confirming I also see it.

@Bob - When I used the development version I did not get any errors but the
hyrolo-file-list was not set either. If it is nil we use a default, as it
seems, without setting the var for the next user session. I think that is by
design but might be confusing for a user?

Yours
-- 
%% Mats

Reply via email to