emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [BUG] org-fill-paragraph seems broken


From: Bastien
Subject: Re: [O] [BUG] org-fill-paragraph seems broken
Date: Fri, 27 Apr 2012 19:21:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Hi Nick,

Nick Dokos <address@hidden> 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?

=== 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)
-- 
 Bastien

reply via email to

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