emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Stenhaug <thomas.stenhaug@gmail.com>
To: "Frédéric Santos" <frederic.santos@u-bordeaux.fr>
Cc: Colin Baxter <m43cap@yandex.com>, emacs-orgmode@gnu.org
Subject: Re: Bug: =C-c C-e l o= does not open the pdf anymore [9.3.7 (9.3.7-55-gba2405-elpa @ /home/fsantos/.emacs.d/elpa/org-20200907/)]
Date: Tue, 15 Sep 2020 15:43:29 +0200	[thread overview]
Message-ID: <87d02np33y.fsf@gmail.com> (raw)
In-Reply-To: <87a6xre0t7.fsf@u-bordeaux.fr>


Frédéric Santos <frederic.santos@u-bordeaux.fr> writes:

> Le 2020-09-15 à 11:15:48 CEST, Thomas Stenhaug a écrit :
>
>> I recently had the same problem, on Arch Linux with Emacs 27.1. 
>> If you
>> run xdg-open from an eshell, the problem should be the same. 
>> It should
>> also go away if you replace "xdg-open" with "setsid xdg-open".
>>
>> I ended up doing
>>
>>   (push '("\\.pdf\\'" . "evince %s") org-file-apps)
>>
>> to solve it for my case.
>
> Hi Thomas (and others),
>
> Thanks for your answer! This does work... in some way. In the 
> sense that
> it manages to open evince to read the PDF outside of Emacs; but 
> this
> does not restore (of course) the "normal" behavior of =C-c C-e l 
> o= to
> display the PDF in a dedicated Emacs buffer.
>
> I'm also on Arch/Manjaro, this might play a role... But it's not 
> a big
> deal anyway (and I've actually written a simple workaround in 
> Elisp to
> display and revert the associated PDF in its side window).

Ah, in that case

    (push '("\\.pdf\\''" . emacs))

might be what you're looking for.


Best regards,

Thomas


  reply	other threads:[~2020-09-15 13:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14  5:08 Bug: =C-c C-e l o= does not open the pdf anymore [9.3.7 (9.3.7-55-gba2405-elpa @ /home/fsantos/.emacs.d/elpa/org-20200907/)] Frederic Santos
2020-09-14  7:06 ` Colin Baxter
2020-09-15  3:27   ` Kyle Meyer
2020-09-15  9:15     ` Thomas Stenhaug
2020-09-15 11:28       ` Frédéric Santos
2020-09-15 13:43         ` Thomas Stenhaug [this message]
2020-09-15 16:45           ` Frederic Santos
2020-09-15 12:52       ` Colin Baxter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d02np33y.fsf@gmail.com \
    --to=thomas.stenhaug@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=frederic.santos@u-bordeaux.fr \
    --cc=m43cap@yandex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).