From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.help Subject: Re: openwith-mode opens attachments through message-send-and-exit Date: Mon, 10 Aug 2009 08:49:00 +0200 Organization: T-Online Message-ID: <87tz0gb1ur.fsf@marauder.physik.uni-ulm.de> References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249890051 17783 80.91.229.12 (10 Aug 2009 07:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 07:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 10 09:40:44 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MaPUp-0005GZ-1b for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 09:40:43 +0200 Original-Received: from localhost ([127.0.0.1]:40982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaPUo-0007cO-Fp for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 03:40:42 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-X-Trace: news.t-online.com 1249886971 02 n344 IentQB8OOjp2ByM 090810 06:49:31 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: S3DhOEZSwepIPznCRLq7DcLU6HP+05osoQMy6l5rxUuOZGb3JL+7Y3 X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l; 3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2; n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67024 Archived-At: On Sun, Aug 09 2009, Markus Triska wrote: > In my opinion, it's worth making mm-inhibit-file-name-handlers a bit > more "official", for example, making it work with M-x customize-variable > etc. What is unofficial about a defvar? Until yesterday, I didn't even know it exists, so I guess it's not something a user typically wants to set (via customize). > There is not much that openwith-mode can do in this case, because it > typically cannot tell the context in which it is used. You can add something like ... (eval-after-load "mm-util" '(add-to-list 'mm-inhibit-file-name-handlers 'openwith-file-handler)) BTW, a very quick glance over `openwith.el' suggest that parts of it do the same as `gnus-dired.el' (`gnus-dired-find-file-mailcap'). Instead of `openwith-associations' should use mailcap.el instead of re-inventing yet another mailcap list. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/