From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: some dired hints should be background jobs
Date: Fri, 28 Feb 2003 21:41:35 -0600 (CST) [thread overview]
Message-ID: <200303010341.VAA06801@eel.dms.auburn.edu> (raw)
Dan Jacobson wrote:
idea, in dired with the cursor on a .pdf file, when we hit ! we get
! on man.pdf: [xpdf]
[by the way, I just copy-and-pasted that line from the minibuffer
prompt into this message and can't edit it one bit!]
OK, but better a better default would be running xpdf in the
background, for which the user has to type "xpdf * &" which BTW
creates an distracting Async window. Yes, all that can be customized
on one's own.
The `v' command (in dired) currently will run xpdf and friends in the
foreground, making it impossible to continue using emacs without
killing the xpdf job. I agree that background would be better.
Changing the default of ! to run background jobs seems trivial, but
one would be stuck with the Async window popping up, which I agree is
distracting. I also believe it is usually useless. If one
inadvertently kills the useless buffer, the background job is gone
too. I myself have M-RETURN bound (in dired) to a command that will
run xpdf and friends in the background, without any Async window
appearing. A separate window (or frame) is created if necessary to
display output generated by the process, such as error messages and
the like, but only if necessary. (Usually it is not.) If people
would agree that this would be a good idea, I could send code for a
command that would either replace the `v' binding or would have a new
binding, say M-RETURN or whatever. I could not just use my own
current code literally, since it would have to be stripped of personal
idiosyncrasies, but I do not believe that would be difficult to do.
Sincerely,
Luc.
next reply other threads:[~2003-03-01 3:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-01 3:41 Luc Teirlinck [this message]
2003-03-02 22:10 ` some dired hints should be background jobs John Wiegley
2003-03-02 23:30 ` Luc Teirlinck
2003-03-03 0:00 ` John Wiegley
2003-03-03 0:33 ` Luc Teirlinck
2003-03-03 1:16 ` Luc Teirlinck
2003-03-03 4:13 ` Eli Zaretskii
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200303010341.VAA06801@eel.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=emacs-devel@gnu.org \
/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.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).