From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#18413: Inline part displayed in the middle of its button Date: Sat, 14 Feb 2015 16:03:12 +1100 Message-ID: <87oaoxgk4v.fsf@building.gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423890322 21286 80.91.229.3 (14 Feb 2015 05:05:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2015 05:05:22 +0000 (UTC) Cc: 18413@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 14 06:05:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1YMUuk-0004QA-7W for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Feb 2015 06:05:10 +0100 Original-Received: from localhost ([::1]:58768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMUuj-0000Nw-9X for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Feb 2015 00:05:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMUuf-0000MM-Lr for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2015 00:05:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMUuc-0007NN-Fi for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2015 00:05:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMUuc-0007MW-Bg for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2015 00:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YMUub-0005Uh-Mr; Sat, 14 Feb 2015 00:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 14 Feb 2015 05:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18413 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 18413-submit@debbugs.gnu.org id=B18413.142389026621069 (code B ref 18413); Sat, 14 Feb 2015 05:05:01 +0000 Original-Received: (at 18413) by debbugs.gnu.org; 14 Feb 2015 05:04:26 +0000 Original-Received: from localhost ([127.0.0.1]:42548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMUu2-0005Tl-8F for submit@debbugs.gnu.org; Sat, 14 Feb 2015 00:04:26 -0500 Original-Received: from smtp.syd.comcen.com.au ([203.23.236.77]:3396) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMUu0-0005Tc-6i for 18413@debbugs.gnu.org; Sat, 14 Feb 2015 00:04:25 -0500 Original-Received: from building.gnus.org ([27.96.197.126]) by smtp.syd.comcen.com.au (8.13.4/8.12.9) with ESMTP id t1E53HKZ039289; Sat, 14 Feb 2015 16:03:18 +1100 (EST) In-Reply-To: (Stefan Monnier's message of "Fri, 05 Sep 2014 14:09:16 -0400") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.196, required 4, AWL -0.06, BAYES_50 0.00, RDNS_NONE 0.10, SUBJECT_FUZZY_TION 0.16) X-comcen-MailScanner-From: larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99347 Archived-At: Stefan Monnier writes: > --- lisp/gnus/mm-decode.el 2014-03-23 23:13:36 +0000 > +++ lisp/gnus/mm-decode.el 2014-05-02 09:44:34 +0000 > @@ -821,7 +821,6 @@ > 'inline) > ((and (mm-inlinable-p ehandle) > (mm-inlined-p ehandle)) > - (forward-line 1) > (mm-display-inline handle) > 'inline) > ((or method I think the bug here is that this function is called during article rendering as well as by the `E' command without any way of differentiating. I've now made `E' pass a `force' parameter to this function, so that `E' can move point to the right place before inserting inline. (In git Gnus, soon to be in the Emacs trunk.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/