From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Top posting related changes in the cvs Date: Wed, 04 Apr 2007 01:02:17 +0200 Message-ID: <87ps6ljc3q.fsf@ambire.localdomain> References: <873b3hm942.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175641397 2442 80.91.229.12 (3 Apr 2007 23:03:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2007 23:03:17 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: "Gabor Z. Papp" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 04 01:03:04 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HYs1l-0000dU-Hx for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2007 01:03:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYs4x-0000DH-6h for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2007 19:06:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYs4t-0000AN-KO for emacs-devel@gnu.org; Tue, 03 Apr 2007 19:06:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYs4r-00007g-Ow for emacs-devel@gnu.org; Tue, 03 Apr 2007 19:06:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYs4r-00007V-Io for emacs-devel@gnu.org; Tue, 03 Apr 2007 19:06:13 -0400 Original-Received: from smtp-out3.libero.it ([212.52.84.43]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HYs1e-0003x8-SH for emacs-devel@gnu.org; Tue, 03 Apr 2007 19:02:55 -0400 Original-Received: from localhost (172.31.0.42) by smtp-out3.libero.it (7.3.120) id 4611FE5E00126CAD; Wed, 4 Apr 2007 01:02:17 +0200 X-Scanned: with antispam and antivirus automated system at libero.it Original-Received: from smtp-out4.libero.it ([172.31.0.40]) by localhost (asav-out2.libero.it [192.168.32.30]) (amavisd-new, port 10024) with ESMTP id hMbGbJmKRt0t; Wed, 4 Apr 2007 01:02:17 +0200 (CEST) Original-Received: from ambire.localdomain (151.21.32.188) by smtp-out4.libero.it (7.3.120) id 4611FEBC001503CF; Wed, 4 Apr 2007 01:02:17 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.50) id 1HYs1A-0001xH-Rx; Wed, 04 Apr 2007 01:02:24 +0200 In-Reply-To: (Reiner Steib's message of "Wed\, 04 Apr 2007 00\:05\:29 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69030 gmane.emacs.gnus.general:64494 Archived-At: () Reiner Steib () 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")))