emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: Colin Baxter <m43cap@yandex.com>,
	"Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: pdf files with openwith only, and only this.
Date: Thu, 4 Jul 2019 14:05:12 -0400	[thread overview]
Message-ID: <CAJ51ETqFeOMViYDgKzDpDeE--7p8QUow0OLb0KB5kPaAWRtznw@mail.gmail.com> (raw)
In-Reply-To: <87a7dudj8c.fsf@debian>

[-- Attachment #1: Type: text/plain, Size: 1844 bytes --]

you might also try this:
https://emacs.stackexchange.com/questions/3105/how-to-use-an-external-program-as-the-default-way-to-open-pdfs-from-emacs/3106

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Thu, Jul 4, 2019 at 9:26 AM Joseph Vidal-Rosset <
joseph.vidal.rosset@gmail.com> wrote:

> Le   jeu.   07/04/19   juil.   2019    à   07:44:08   ,   John   Kitchin
> <jkitchin@andrew.cmu.edu> a envoyé ce message:
> > I don't think org-ref is responsible, except that it installs pdf-tools.
> When I click on a link like
> > [[./2019-07-04.pdf]] it opens in acrobat for me.
> >
> > I don't have anything fancy
> > org-file-apps is a variable defined in `org.el'.
> > Its value is
> > ((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default)
> >  ("\\.pdf\\'" . default))
> >
> > which I guess means on osx that it gets opened with "open".
> >
> > It looks like you can do this
> >
> > #+BEGIN_SRC emacs-lisp
> > (setf (cdr (assoc "\\.pdf\\'" org-file-apps)) "evince %s")
> > #+END_SRC
> >
> > to make it open in evince.
>
> Dear John,
>
> Thanks for  your reply. In  fact my problem is  only at the  moment with
> pdf links  in gnus, not  in usual org files.  (Maybe I should  switch for
> mu4e, but I  hesitate and I would be  happy to find a tutorial  to do it
> with gmail.)
>
> I    have    solved    temporarily    the   problem    with    eimp    :
>
> https://emacs.stackexchange.com/questions/2433/shrink-zoom-scale-images-in-image-mode
>
> and the pdf in emacs are now more easily readable for me.
>
> Best wishes, and again, to Colin and to you, many thanks.
>
> --
> Jo
>

[-- Attachment #2: Type: text/html, Size: 3007 bytes --]

  reply	other threads:[~2019-07-04 18:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-04 10:41 pdf files with openwith only, and only this Joseph Vidal-Rosset
2019-07-04 11:00 ` Colin Baxter
2019-07-04 11:23   ` Joseph Vidal-Rosset
2019-07-04 11:38     ` Colin Baxter
2019-07-04 11:44     ` John Kitchin
2019-07-04 12:48       ` Colin Baxter
2019-07-04 13:25       ` Joseph Vidal-Rosset
2019-07-04 18:05         ` John Kitchin [this message]
2019-07-04 23:15         ` Tim Cross
2019-07-05  9:41           ` Joseph Vidal-Rosset

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=CAJ51ETqFeOMViYDgKzDpDeE--7p8QUow0OLb0KB5kPaAWRtznw@mail.gmail.com \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=joseph.vidal.rosset@gmail.com \
    --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).