GNU bug report logs -
#66838
hyperbole does not detect I’m on a mac
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66838 in the body.
You can then email your comments to 66838 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-hyperbole <at> gnu.org
:
bug#66838
; Package
hyperbole
.
(Mon, 30 Oct 2023 20:09:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mats Lidell <mats.lidell <at> lidells.se>
:
New bug report received and forwarded. Copy sent to
bug-hyperbole <at> gnu.org
.
(Mon, 30 Oct 2023 20:09:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Alan,
> alan.schmitt <at> polytechnique.org writes:
> Hello,
>
> I’m new to hyperbole, so don’t hesitate to tell me if I should be asking
> this somewhere else.
No problem. This sounds more like bug so the bug-hyperbole <at> gnu.org could be an
alternative but here is fine too and thanks for the report.
> When I press M-ret on a path to a pdf, hyperbole offers to run "setsid
> -w xdg-open", which I don’t have installed as I’m on a mac. Looking at
> hpath:get-external-display-alist, I see that my window system, which is
> "mac", is not in the first conditional. Is this a bug?
Yes I think so. It seems Hyperbole does not identify that you are on a Mac and
falls back to settings used when running under X-windows.
Can you share what value `window-system' has on your machine? (Use Hyperbole
key series: {C-hv window-system RET})
> Is there a way to configure M-ret to open the file in dired instead?
Yes there is. You can customize the variable `hpath:native-image-suffixes' and
add the suffix of the file type that you want to display naively in Emacs. In
your case "pdf". The name of the variable is not the best and should probably
be updated now when Emacs supports more native document types than images.
%% Mats
Information forwarded
to
bug-hyperbole <at> gnu.org
:
bug#66838
; Package
hyperbole
.
(Mon, 30 Oct 2023 21:03:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Mats,
On 2023-10-30 21:07, Mats Lidell <mats.lidell <at> lidells.se> writes:
>> When I press M-ret on a path to a pdf, hyperbole offers to run "setsid
>> -w xdg-open", which I don’t have installed as I’m on a mac. Looking at
>> hpath:get-external-display-alist, I see that my window system, which is
>> "mac", is not in the first conditional. Is this a bug?
>
> Yes I think so. It seems Hyperbole does not identify that you are on a Mac and
> falls back to settings used when running under X-windows.
>
> Can you share what value `window-system' has on your machine? (Use Hyperbole
> key series: {C-hv window-system RET})
My message was not clear, the window-system value is actually "mac"
(without the quotes). It’s this variant of emacs
https://bitbucket.org/mituharu/emacs-mac/src/master/, installed through
homebrew using https://github.com/railwaycat/homebrew-emacsmacport.
>> Is there a way to configure M-ret to open the file in dired instead?
>
> Yes there is. You can customize the variable `hpath:native-image-suffixes' and
> add the suffix of the file type that you want to display naively in Emacs. In
> your case "pdf". The name of the variable is not the best and should probably
> be updated now when Emacs supports more native document types than images.
Thank you for the suggestion, but it’s not exactly what I want. In this
case, it opens the file itself in emacs (using docview, or in my case
pdftools). What I would like is a way to open the enclosing folder in
dired with the file selected. But I now know more of hyperbole do it
myself:
<dired-jump nil "~/path/to/file.pdf">
Best,
Alan
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-hyperbole <at> gnu.org
:
bug#66838
; Package
hyperbole
.
(Tue, 31 Oct 2023 09:55:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 66838 <at> debbugs.gnu.org (full text, mbox):
> Alan Schmitt writes:
> Hi Mats,
>
> On 2023-10-30 21:07, Mats Lidell <mats.lidell <at> lidells.se> writes:
>
> >> When I press M-ret on a path to a pdf, hyperbole offers to run "setsid
> >> -w xdg-open", which I don’t have installed as I’m on a mac. Looking at
> >> hpath:get-external-display-alist, I see that my window system, which is
> >> "mac", is not in the first conditional. Is this a bug?
> >
> > Yes I think so. It seems Hyperbole does not identify that you are on a Mac and
> > falls back to settings used when running under X-windows.
> >
> > Can you share what value `window-system' has on your machine? (Use Hyperbole
> > key series: {C-hv window-system RET})
>
> My message was not clear, the window-system value is actually "mac"
> (without the quotes). It’s this variant of emacs
> https://bitbucket.org/mituharu/emacs-mac/src/master/, installed through
> homebrew using https://github.com/railwaycat/homebrew-emacsmacport.
>
> >> Is there a way to configure M-ret to open the file in dired instead?
> >
> > Yes there is. You can customize the variable `hpath:native-image-suffixes' and
> > add the suffix of the file type that you want to display naively in Emacs. In
> > your case "pdf". The name of the variable is not the best and should probably
> > be updated now when Emacs supports more native document types than images.
>
> Thank you for the suggestion, but it’s not exactly what I want. In this
> case, it opens the file itself in emacs (using docview, or in my case
> pdftools). What I would like is a way to open the enclosing folder in
> dired with the file selected. But I now know more of hyperbole do it
> myself:
> <dired-jump nil "~/path/to/file.pdf">
>
> Best,
>
> Alan
This should be fixed by commit
https://git.savannah.gnu.org/cgit/hyperbole.git/commit/?id=7decf14c5cc3c0a1b4d6d4fb962b93003ccc9d5c
and is available for installation from elpa-devel archive.
Thanks again for the report.
%% Mats
Information forwarded
to
bug-hyperbole <at> gnu.org
:
bug#66838
; Package
hyperbole
.
(Tue, 31 Oct 2023 10:21:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 66838 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
On 2023-10-31 10:53, Mats Lidell <matsl <at> gnu.org> writes:
> This should be fixed by commit
> https://git.savannah.gnu.org/cgit/hyperbole.git/commit/?id=7decf14c5cc3c0a1b4d6d4fb962b93003ccc9d5c
> and is available for installation from elpa-devel archive.
I installed from git and I confirm it is fixed. Thanks!
Alan
[signature.asc (application/pgp-signature, inline)]
bug closed, send any further explanations to
66838 <at> debbugs.gnu.org and Mats Lidell <mats.lidell <at> lidells.se>
Request was from
Mats Lidell <matsl <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 13 Mar 2024 14:05:02 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
.
(Thu, 11 Apr 2024 11:24:17 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 28 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.