emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: John Rakestraw <lists@johnrakestraw.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: OT?: viewing pdf as attachment
Date: Tue, 18 Nov 2008 17:11:06 -0500	[thread overview]
Message-ID: <87bpwcznut.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: 20081118145609.62d5b485@johnrakestraw.com

John Rakestraw <lists@johnrakestraw.com> writes:

>> Hi --
>> 
>> I think this is not specifically an org-mode issue, but it shows up in
>> org.
>> 
>> I've started using the file attachment feature. I really like the way
>> it works, except that it doesn't work consistently with pdf files on
>> one of my computers. I can attach a pdf easily, but when I try to open
>> the attachment from org-mode, acroread opens as expected but it
>> doesn't open the file -- instead, I have an empty acroread window
>> (the same window I get if I open acroread from the command line with
>> no file specified). The program is run, but somehow the file name
>> isn't passed to the program.
>> 
>> I'm puzzled because it works as expected on my other primary computer,
>> and both computers have basically the emacs and org-mode same set-up
>> -- i.e., .emacs and the org-configuration files are identical. (I know
>> they're identical because they're synched between computers.) So
>> there's some other setting that's off. I'm hoping that someone can
>> give me a hint where to look. I've come up empty in my searches.
>> 
>> Set-up on both computers:
>>  - emacs 22.2.1
>>  - org 6.12trans
>>  - Fedora 8
>>  - fvwm window manager
>
> Apologies for replying to my own message, but I forgot to say that when
> I run "acroread some_file.pdf" from a terminal, acroread opens the file
> as expected.

I'm assuming this is a Linux system...

This is probably a MIME handling setup issue between your two machines.
Check your mailcap settings (/etc/mailcap and ~/.mailcap probably).

If it's Windows...well you're on your own ;)

-Bernt

  reply	other threads:[~2008-11-18 22:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18 19:40 OT?: viewing pdf as attachment John Rakestraw
2008-11-18 19:56 ` John Rakestraw
2008-11-18 22:11   ` Bernt Hansen [this message]
2008-11-18 22:31   ` Sebastian Rose
2008-11-18 22:43     ` John Rakestraw

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=87bpwcznut.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists@johnrakestraw.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).