From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79048 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: using gnome-open with mailcap data Date: Thu, 09 Jun 2011 18:39:57 -0700 Message-ID: <878vtabh1u.fsf@ericabrahamsen.net> References: <87mxhsjgfs.fsf@ericabrahamsen.net> <87ipsghxhn.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307670089 1091 80.91.229.12 (10 Jun 2011 01:41:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Jun 2011 01:41:29 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27347@lists.math.uh.edu Fri Jun 10 03:41:25 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QUqiy-0005ik-KK for ding-account@gmane.org; Fri, 10 Jun 2011 03:41:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QUqhv-0005LB-Lr; Thu, 09 Jun 2011 20:40:19 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QUqhu-0005Kz-0U for ding@lists.math.uh.edu; Thu, 09 Jun 2011 20:40:18 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QUqhr-0003CR-VU for ding@lists.math.uh.edu; Thu, 09 Jun 2011 20:40:17 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QUqhp-000702-4h for ding@gnus.org; Fri, 10 Jun 2011 03:40:13 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QUqhn-0005BJ-ML for ding@gnus.org; Fri, 10 Jun 2011 03:40:11 +0200 Original-Received: from 63.226.249.211 ([63.226.249.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jun 2011 03:40:11 +0200 Original-Received: from eric by 63.226.249.211 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jun 2011 03:40:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 63.226.249.211 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:dS4qNvD7efBjE/6RTDbwLt+PHPw= X-Spam-Score: -3.7 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79048 Archived-At: Dan Christensen writes: > Eric Abrahamsen writes: > >> 2. Can I use gnome-open for this sort of thing? It's basically its own >> little mime parser, and knows all the system defaults, and if I'm >> going to pass a file to something outside of gnus/emacs, gnome-open >> knows best what to do with it. Setting gnome-open in my .mailcap file >> just gives me "Displaying /usr/bin/gnome-open >> /tmp/emm.5971frN/IMG_3368.JPG...done" in the minibuffer, and then >> nothing happens. > > I think gnome-open returns too quickly and then Gnus deletes the > temporary file. My hack to work around this is a script: > > #!/bin/sh > gnome-open "$@" > sleep 5 Thanks! I'll give this a shot. Eri