From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#7987: 23.2; Refill error in message-mode Date: Mon, 07 Feb 2011 15:43:54 -0500 Message-ID: <8lr5bj60dx.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297118315 6058 80.91.229.12 (7 Feb 2011 22:38:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2011 22:38:35 +0000 (UTC) Cc: 7987@debbugs.gnu.org To: Jesse Sheidlower Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 07 23:38:30 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PmZj1-0004Gn-G9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Feb 2011 23:38:27 +0100 Original-Received: from localhost ([127.0.0.1]:35699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmZj2-0003kg-6P for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Feb 2011 17:38:28 -0500 Original-Received: from [140.186.70.92] (port=59676 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmYNn-0003bQ-Qv for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2011 16:12:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmYNi-0003j0-Iw for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2011 16:12:26 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmYNi-0003if-G5 for bug-gnu-emacs@gnu.org; Mon, 07 Feb 2011 16:12:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PmXoY-0006OV-Fw; Mon, 07 Feb 2011 15:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Feb 2011 20:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7987 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7987-submit@debbugs.gnu.org id=B7987.129711091724526 (code B ref 7987); Mon, 07 Feb 2011 20:36:02 +0000 Original-Received: (at 7987) by debbugs.gnu.org; 7 Feb 2011 20:35:17 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PmXnp-0006NV-10 for submit@debbugs.gnu.org; Mon, 07 Feb 2011 15:35:17 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PmXnn-0006NL-9U for 7987@debbugs.gnu.org; Mon, 07 Feb 2011 15:35:15 -0500 Original-Received: from localhost ([127.0.0.1]:36989) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmXwA-0005B0-NX; Mon, 07 Feb 2011 15:43:54 -0500 X-Spook: NASA eavesdropping $400 million in gold bullion Freeh X-Ran: +a.BT~[=9vnlOF\cpn%`?fDhXj|/7^D\h3\GUw1UB1xls&mM.DTfw$Arz#C&;Pk_^cm>+p X-Hue: yellow X-Attribution: GM In-Reply-To: (Jesse Sheidlower's message of "Fri, 04 Feb 2011 22:18:14 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 07 Feb 2011 15:36:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43981 Archived-At: Jesse Sheidlower wrote: > $ emacs -Q > M-x message-mode > (type or paste the following text, not including dashes): > > --- > I read with great interest your text, the "Declaration of Independence," > and I was particularly taken with the introduction: > > When in the Course of human events it becomes necessary for one people > to dissolve the > political bands which have connected them with another > and to assume among the powers of the earth, the separate > and equal > station to which the Laws of Nature and of Nature's God entitle them, > a decent respect to the opinions of mankind requires > that they should > declare the causes which impel them to the separation. > > I do think this is one of my favorite passages. Thank you. > --- > > Position point anywhere in the indented section, and type M-q. The text > will be refilled such that there's no space before or after the indented > paragraph, the first line of the indented paragraph will be indented > four spaces, and the second and subsequent lines should be indented > eight spaces. This is an artificial example because it is not how a mail buffer normally looks. The message filling code does different things in the header and in the body of an email. Since your example does not contain `mail-header-separator', message thinks it is in the header and fills accordingly. If you insert `mail-header-separator' at the start of your example buffer, message fills the paragraph correctly. Do you have an example of an actual mail composition buffer where the message filling code does the wrong thing?