Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
PDF from dired-buffer with win32 Reader in background?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
twiki7...@gmail.com  
View profile  
 More options Oct 12 2012, 4:54 am
Newsgroups: gnu.emacs.help
From: twiki7...@gmail.com
Date: Fri, 12 Oct 2012 01:54:25 -0700 (PDT)
Local: Fri, Oct 12 2012 4:54 am
Subject: PDF from dired-buffer with win32 Reader in background?
To read PDF files from within a Dired buffer
I use ! on the name of the file and the following
settings in my. emacs

...
  (add-hook 'dired-load-hook
          (function (lambda ()
                      (load "dired-x"))))

  (setq dired-guess-shell-alist-user
      (list
       (list "\\.pdf$"    "acrord32.exe")
       (list "\\.PDF$"    "acrord32.exe")
       ))
...

(The path of acrord32.exe is in my environment variable PATH)

Emacs, however, remains locked until I close Adobe Reader!
How do I run acrord32.exe in the background
while maintaining control of Emacs?

THANKS!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tassilo Horn  
View profile  
 More options Oct 12 2012, 5:53 am
Newsgroups: gnu.emacs.help
From: Tassilo Horn <t...@gnu.org>
Date: Fri, 12 Oct 2012 11:52:55 +0200
Local: Fri, Oct 12 2012 5:52 am
Subject: Re: PDF from dired-buffer with win32 Reader in background?

twiki7...@gmail.com writes:

Hi!

> Emacs, however, remains locked until I close Adobe Reader!  How do I
> run acrord32.exe in the background while maintaining control of Emacs?

,----[ C-h f dired-do-shell-command RET ]
| dired-do-shell-command is an interactive autoloaded compiled Lisp function in
| `dired-aux.el'.
|
| [...]
|
| If COMMAND ends in `&', `;', or `;&', it is executed in the
| background asynchronously, and the output appears in the buffer
| `*Async Shell Command*'.  When operating on multiple files and COMMAND
| ends in `&', the shell command is executed on each file in parallel.
| However, when COMMAND ends in `;' or `;&' then commands are executed
| in the background on each file sequentially waiting for each command
| to terminate before running the next command.  You can also use
| `dired-do-async-shell-command' that automatically adds `&'.
|
| [...]
`----

Bye,
Tassilo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin  
View profile  
 More options Oct 23 2012, 4:12 am
Newsgroups: gnu.emacs.help
From: Martin <paroz...@web.de>
Date: Tue, 23 Oct 2012 10:12:54 +0200
Local: Tues, Oct 23 2012 4:12 am
Subject: Re: PDF from dired-buffer with win32 Reader in background?

twiki7619 at gmail.com writes:
> Emacs, however, remains locked until I close Adobe Reader!

I use "dired-w32-browser, which is an interactive autoloaded Lisp
function in `w32-browser.el'".

Martin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »