Subject: bug#18413: Inline part displayed in the middle of its button

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 14 Feb 2015 16:03:12 +1100

Stefan Monnier <[email-masked]> 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/