all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: 14110@debbugs.gnu.org
Subject: bug#14110: 24.3.50; Add command to open files outside of Emacs (use xdg-open, open etc)
Date: Thu, 04 Apr 2013 12:24:50 -0400	[thread overview]
Message-ID: <jwvhajm9soe.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87d2uanz3v.fsf@gmail.com> (Jambunathan K.'s message of "Thu, 04 Apr 2013 20:04:44 +0530")

> Leo suggests `dired-guess-shell-alist-user'.  COMMAND there is a sexp,
> btw. So the above variable is also evil.

Yes.  I also plead guilty of doing that a few times in the past.
It's still evil.

> There is one another reason why `dired-guess-shell-alist-user' will be
> improper to be used for Open semantics.  IIRC, running a shell command
> .tex file compiles it.  So equating shell command with open is
> confusing, btw.

I tend to agree, but:
- I can't think of anything useful "open" could do with a .tex file
  other than pass it back to Emacs (which you can already do better by
  opening the file in Emacs without going through "open").
  While this might not apply to all cases, I suspect that most cases are
  like that.
- That doesn't preclude using dired-guess-shell.  It might just mean
  that we should have maybe an alist for "run command" and another alist
  for "open command" (and maybe a third alist to share the many common
  cases between the two).


        Stefan





  reply	other threads:[~2013-04-04 16:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-01  6:57 bug#14110: 24.3.50; Add command to open files outside of Emacs (use xdg-open, open etc) Jambunathan K
2002-01-01  0:28 ` Jambunathan K
2013-04-01  7:42 ` Leo Liu
2013-04-01  8:06   ` Jambunathan K
2013-04-01 13:31     ` Leo Liu
2013-04-01 20:23       ` Jambunathan K
2013-04-04  1:08 ` Stefan Monnier
2013-04-04  3:25   ` Jambunathan K
2013-04-04 12:22     ` Stefan Monnier
2013-04-04 14:34       ` Jambunathan K
2013-04-04 16:24         ` Stefan Monnier [this message]
2013-04-04 17:52           ` Jambunathan K
2013-04-04 18:20             ` Eli Zaretskii
2013-04-05  4:58               ` Jambunathan K
2013-04-05  6:03               ` Thierry Volpiatto
2013-04-10  4:30                 ` Jambunathan K
2013-04-10  5:39                   ` Thierry Volpiatto
2013-04-05  6:53         ` Leo Liu

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

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

  git send-email \
    --in-reply-to=jwvhajm9soe.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=14110@debbugs.gnu.org \
    --cc=kjambunathan@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.