From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.help Subject: Re: Gnus: How to simplify file attachments? Date: Sun, 08 Jan 2012 20:19:26 +0800 Message-ID: References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326025306 4267 80.91.229.12 (8 Jan 2012 12:21:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2012 12:21:46 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , help-gnu-emacs@gnu.org To: Marius Hofert Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 08 13:21:42 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rjrks-0005Gj-EV for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jan 2012 13:21:42 +0100 Original-Received: from localhost ([::1]:56599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjrko-0002If-IM for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jan 2012 07:21:38 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjrkj-0002Hw-OS for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 07:21:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjrki-0006SZ-9Y for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 07:21:33 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:40813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjrki-0006ST-1J for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 07:21:32 -0500 Original-Received: by iacb35 with SMTP id b35so6155015iac.0 for ; Sun, 08 Jan 2012 04:21:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:face:date :message-id:mime-version:content-type; bh=NNHjA2uub453VgtU2AWFF7C9f8Ip6IVYmdsQgVcfUns=; b=nIPVmBqFR4QDGJqp13sKk/SbIDvnH4M2br4YXudmrOzVAYYHqidyynAniaqBuDKEtu kUlfcX35zZZGyav86kLwZWEEus+hIBac5jugqm1DjP8Dvqm5GroMTeqFLXXKMp1FRAXC DYd5OvzDR8IcT+WovQ57GZ3JmwE99o2T6YA1E= Original-Received: by 10.50.189.137 with SMTP id gi9mr15067008igc.1.1326025291206; Sun, 08 Jan 2012 04:21:31 -0800 (PST) Original-Received: from Victoria.local ([123.123.251.229]) by mx.google.com with ESMTPS id rc7sm9835648igb.0.2012.01.08.04.21.25 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Jan 2012 04:21:30 -0800 (PST) In-Reply-To: <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> (Marius Hofert's message of "Sat, 7 Jan 2012 16:45:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.8) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAMFBMVEUaFRZLMy1dTENxVzKQ WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9cBBwMJOwHXewoAAAIBSURBVCjPVdNBiNNAFADQ6J4F x3hThHZBBC+WCFI8SS0iezRDcMHLHkLAg6gJH/fgYQ9xYlj2sLK4KHgqCgXFhda2Idmr4kkQPZQ0 nkQMbTypbMmMM2m7ZgYSmMef/5OZPwo7HFnx3uKPcmj0Dht1LWZJ+Hvr7dIFZXRUwl9VRTuuKDJ+ U44gjscknK4hhJaCkYRsWjmBtLqXlJAG2wipNe18OZJu1BBq1E8xafl4s6Jq2mUZGftU1y7CCxnp FVUDWJXx4C66BKBnErbuoaYNtoRTu6EZBsCbMn7W+5qOAR6WvxNOby9jHWC9hAf3n304CdiAByXs 3Nh9roLDkyb/sWV712vYwaLSAn8CPMHIAAzOPDKP2COAFm4Y4ODVWc6xG7KXsN7UeUJjjimx2uwd gCgNhr0i8C/xyCD5CiCKAMY3Bf5oDzx//w/fimscdcAZU2jv9sedx6+nYPPFIoWI/GK6QZ+EFGOR ErAjCnV3vPZ7XqlTIMbOLY7fLcvvmT7rXNWaGDexIY44N12TG2PDp7vqyl57dnCeuWwyNpnEURxk fTbDYeBnKRn4oejPYI4sH6WviBumEZ/GxX4X/x6EcURFZ7E071bjQGAxpcOAEOJuTiroDEea5Szv rVWLYfl7ZiQwSUToxrkux7OLixAWGz22+HIyWTRYcVfomOwvzusfjtVIGgLHf3MAAAAASUVORK5C YII= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83410 Archived-At: On 2012-01-07 23:45 +0800, Marius Hofert wrote: > Can you explain how, please? > If I DnD a .pdf to a new message buffer (Gnus v5.13, Emacs 24, Mac OS > X 10.7.2), the *code* of the .pdf file is inserted, not a link to the > .pdf file as attachment. To be more precise, a huge amount of code is > inserted starting with "%PDF-1.5..." (as if you look at the .pdf file > as .txt). > Furthermore, DnD of an attachment out of a received email also did not work under my setup above. I just can't "grab" the .pdf. > > Cheers, > > Marius I just used the mouse to drop a file on to this buffer. Worked perfectly. I am using emacs-23(Macport) + gnus(from emacs-24). ,----[ leading # removed ] | | `---- Check dnd-protocol-alist, see if you have mml-dnd-attach-file in it. ,----[ C-h v dnd-protocol-alist RET ] [snipped 18 lines] | This variable was introduced, or its default value was changed, in | version 22.1 of Emacs. | | Value: (("^file:///" . mml-dnd-attach-file) | ("^file://" . dnd-open-file) | ("^file:" . mml-dnd-attach-file) | ("^file:///" . dnd-open-local-file) | ("^file://" . dnd-open-file) | ("^file:" . dnd-open-local-file) | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) | | Original value was | (("^file:///" . dnd-open-local-file) | ("^file://" . dnd-open-file) | ("^file:" . dnd-open-local-file) | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) | | Local in buffer *unsent wide reply to Marius Hofert*; global value is | (("^file:///" . dnd-open-local-file) | ("^file://" . dnd-open-file) | ("^file:" . dnd-open-local-file) | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) `----