From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <87zjxi4u15.fsf@gmail.com> <871uarou3r.fsf@gmail.com> <87d2uanz3v.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365092769 27142 80.91.229.3 (4 Apr 2013 16:26:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2013 16:26:09 +0000 (UTC) Cc: 14110@debbugs.gnu.org To: Jambunathan K Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 04 18:26:36 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNmzg-0007Ry-Uv for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Apr 2013 18:26:33 +0200 Original-Received: from localhost ([::1]:51662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNmzH-0001PE-Qv for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Apr 2013 12:26:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNmz9-0001O3-Rz for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2013 12:26:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNmz2-00066n-Gh for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2013 12:25:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNmz2-00066j-B1 for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2013 12:25:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UNn25-0004WF-TS for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2013 12:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Apr 2013 16:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14110 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14110-submit@debbugs.gnu.org id=B14110.136509288617303 (code B ref 14110); Thu, 04 Apr 2013 16:29:01 +0000 Original-Received: (at 14110) by debbugs.gnu.org; 4 Apr 2013 16:28:06 +0000 Original-Received: from localhost ([127.0.0.1]:33795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNn1B-0004V1-Bo for submit@debbugs.gnu.org; Thu, 04 Apr 2013 12:28:05 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:37818) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNn18-0004Us-OA for 14110@debbugs.gnu.org; Thu, 04 Apr 2013 12:28:03 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFxLSu/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFFFxLSu/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="6485490" Original-Received: from 69-196-180-174.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Apr 2013 12:24:48 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E5C1F67C34; Thu, 4 Apr 2013 12:24:50 -0400 (EDT) In-Reply-To: <87d2uanz3v.fsf@gmail.com> (Jambunathan K.'s message of "Thu, 04 Apr 2013 20:04:44 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73155 Archived-At: > 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