emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Top posting related changes in the cvs


From: Thien-Thi Nguyen
Subject: Re: Top posting related changes in the cvs
Date: Wed, 04 Apr 2007 01:02:17 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

() Reiner Steib <address@hidden>
() Wed, 04 Apr 2007 00:05:29 +0200

   I gather that you refer to an interactive call of
   `message-yank-original' (C-c C-y) after doing a reply/followup
   without citing the original (using `r'/`f').

yes.
                                         
   However, when using `R'/`F', I don't get this behavior anymore:
   Point is _below_ the quote, which is wrong.

patch below seems to fix `R'/`F' w/ light testing.
here is a ChangeLog entry:

        * gnus-msg.el (gnus-inews-yank-articles):
        Fix bug: Make sure point is at eob after yanking.

probably all callers of `message-yank-original' should be checked.
does that give good results?

thi



*** gnus-msg.el 31 Mar 2007 09:43:42 -0000      1.38
--- gnus-msg.el 3 Apr 2007 22:57:22 -0000
***************
*** 771,776 ****
--- 771,777 ----
                 (nnheader-narrow-to-headers)
                 (nnheader-parse-naked-head)))))
        (message-yank-original)
+       (exchange-point-and-mark)       ; point to eob
        (setq beg (or beg (mark t))))
        (when articles
        (insert "\n")))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]