From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [BUG] org-fill-paragraph seems broken Date: Fri, 27 Apr 2012 19:21:20 +0200 Message-ID: <87sjfpw0of.fsf@gnu.org> References: <719.1335546013@alphaville> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNoqI-00026y-6y for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 13:20:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNoq8-0006XX-7U for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 13:20:25 -0400 Received: from incoming2.cnam.fr ([163.173.128.34]:41005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNoq7-0006U8-VS for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 13:20:16 -0400 In-Reply-To: <719.1335546013@alphaville> (Nick Dokos's message of "Fri, 27 Apr 2012 13:00:13 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi Nick, Nick Dokos writes: > Running M-q in a draft message with orgstruct++-mode enabled gives me > the appended backtrace. > > The problem seems to have been introduced by commit 84a358e3. Git blame > fingers the following two as the most recent commits that affected > org-fill-paragraph: > > 187f77a2 2012-04-04 > 84a358e3 2012-04-26 > > With the first one in force, I don't get the problem; with > the second, I do. Can you try this patch against sendmail.el and report? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=sendmail.el.patch === modified file 'lisp/mail/sendmail.el' --- lisp/mail/sendmail.el 2012-04-27 03:10:38 +0000 +++ lisp/mail/sendmail.el 2012-04-27 17:18:43 +0000 @@ -803,7 +803,7 @@ t))) (do-auto-fill))) -(defun mail-mode-fill-paragraph (arg) +(defun mail-mode-fill-paragraph (&optional arg) ;; Do something special only if within the headers. (if (< (point) (mail-header-end)) (let (beg end fieldname) --=-=-= Content-Type: text/plain -- Bastien --=-=-=--