From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: Why does mml-attach-file put the attachment at the very end of the message... Date: Mon, 26 Oct 2015 12:24:06 +0100 Message-ID: <87lhaplvop.fsf@mbork.pl> References: <87r3kikp5t.fsf@mbork.pl> <87pp02kp0s.fsf@mbork.pl> <87mvv5lxtr.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445858711 7501 80.91.229.3 (26 Oct 2015 11:25:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Oct 2015 11:25:11 +0000 (UTC) Cc: Katsumi Yamaoka , Help Gnu Emacs mailing list , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 26 12:24:59 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZqftZ-0004gi-Ra for ged-emacs-devel@m.gmane.org; Mon, 26 Oct 2015 12:24:57 +0100 Original-Received: from localhost ([::1]:52020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqftZ-0006zv-4H for ged-emacs-devel@m.gmane.org; Mon, 26 Oct 2015 07:24:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqftA-0006w7-C5 for emacs-devel@gnu.org; Mon, 26 Oct 2015 07:24:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zqft6-00022D-1O for emacs-devel@gnu.org; Mon, 26 Oct 2015 07:24:32 -0400 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:59682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqft5-0001zn-QM; Mon, 26 Oct 2015 07:24:27 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 257166F2007; Mon, 26 Oct 2015 12:24:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6qA4RqszBbUU; Mon, 26 Oct 2015 12:24:14 +0100 (CET) Original-Received: from localhost (c76-224.wmi.amu.edu.pl [150.254.76.224]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 169386F2003; Mon, 26 Oct 2015 12:24:14 +0100 (CET) User-agent: mu4e 0.9.15; emacs 25.0.50.1 In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192647 gmane.emacs.help:107818 Archived-At: On 2015-10-26, at 12:02, Andreas Schwab wrote: > Marcin Borkowski writes: > >> And now I've got a question: how can I reliably find the part >> responsible for the attachment (sorry, I don't know the correct term for >> it) in the buffer? > > If you are in the body then mml-attach-file always puts the attachment > at point. I know that from reading the source of `mml-attach-file'. But it doesn't help at all. Assume that I already have an attachment /somewhere/ in the email (never mind how it got there - probably by means of `gnus-dired-attach'). How can I find that place? > Andreas. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University