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: Nick Dokos
Subject: Re: [O] [BUG] org-fill-paragraph seems broken
Date: Fri, 27 Apr 2012 13:54:15 -0400

Bastien <address@hidden> wrote:

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

That fixes it - but is it really a problem with sendmail.el
and not with org?

Nick



reply via email to

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