From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: face-at-point Date: Fri, 14 Jun 2013 16:17:57 -0400 Message-ID: <87mwqswioa.fsf@pierrot.dokosmarshall.org> References: <87zjut2jk1.fsf@gilgamesch.quim.ucm.es> <87obb9xckp.fsf@pierrot.dokosmarshall.org> <8738sl2cxk.fsf_-_@gilgamesch.quim.ucm.es> <87d2royja2.fsf@pierrot.dokosmarshall.org> <87sj0k979j.fsf@gilgamesch.quim.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unads-0006EA-5D for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 16:30:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Unadr-0007Mn-04 for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 16:30:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:53556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnaRm-0003Nc-Fx for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 16:18:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UnaRk-0000cq-Fb for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 22:18:08 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jun 2013 22:18:08 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jun 2013 22:18:08 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Uwe Brauer writes: >>> "Nick" == Nick Dokos writes: > > > Uwe Brauer writes: > >> > The error is[fn:1]: > >> > >> I am sorry, this is also the fault of > >> gnus-dired-attach > >> > >> Which by default uses this type of attachment, I have to look into it, > >> how to change it on demand. > >> > >> > > > gnus-dired-attach uses mm-default-file-encoding to figure things out. > > I tried to generalize this function so that it optionally takes the type > as an argument. Too complicated. Eric Fraga has been prolific in providing solutions to these problems today. In addition to the client side solution ("Use v instead of t") which solves the problem on the recipient's side, he provided another solution (which I have used in the past, but I forgot all about it until I saw Eric's reply to your question in the gnus mailing list) that solves the problem on the sender's side: let gnus-dired-attach default to whatever it bloody well pleases - the attachment cookie it inserts in the mail you are composing is just text (until you hit C-c C-c and then it becomes a "real" attachment), so if the type is not to your liking, you can go ahead and edit it at will (I've stripped out parts of the cookie, so it won't be mistaken as a real attachment - I'm not sure how to quote it so that it won't be recognized): ... type="application/octet-stream" filename="~/Desktop/foo" disposition=attachment description=Hunoz> to ... type="text/plain" filename="~/Desktop/foo" disposition=attachment description=Hunoz> Another instance of the "Your life in plain text" principle. I thought I'd post a note with Eric's solution here, just to close the loop all the way. Here is a reference to his reply: http://thread.gmane.org/gmane.emacs.gnus.general/83319/focus=83320 Thanks, Eric! -- Nick