[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Opening org-cite links with different application
From: |
Bruce D'Arcus |
Subject: |
Re: Opening org-cite links with different application |
Date: |
Wed, 25 May 2022 10:49:20 -0400 |
Just curious:
I'm not familiar with Sioyek (though it looks cool!); why do you need
a lambda there?
On Wed, May 25, 2022 at 10:10 AM Alessandro Bertulli
<alessandro.bertulli96@gmail.com> wrote:
>
> Thanks! Precise as always.
>
> I'm not sure if it's the best way to do so, but it worked for me by
> using a lambda:
>
> (setq citar-file-open-function '(lambda (file)
> (async-shell-command (format-message "sioyek \"%s\"" file))))
>
> Moreover, since I don't really care about the terminal output of the PDF
> viewer, I followed an Emacs SE suggestion
> (https://emacs.stackexchange.com/a/58341/29817) and made the output
> buffer not brought up:
>
> (add-to-list 'display-buffer-alist '("*Async Shell Command*"
> display-buffer-no-window (nil)))
>
> which, in case I want to inspect it, it's still visitable with the usual
> C-x b.
>
> Thank you!
>
> Alessandro
Re: Opening org-cite links with different application, Alessandro Bertulli, 2022/05/25
Re: Opening org-cite links with different application, Alessandro Bertulli, 2022/05/25
Re: Opening org-cite links with different application, Alessandro Bertulli, 2022/05/27