emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-fill-paragraph seems broken
Date: Fri, 27 Apr 2012 13:54:15 -0400	[thread overview]
Message-ID: <3017.1335549255@alphaville> (raw)
In-Reply-To: Message from Bastien <bzg@gnu.org> of "Fri, 27 Apr 2012 19:21:20 +0200." <87sjfpw0of.fsf@gnu.org>

Bastien <bzg@gnu.org> wrote:

> Hi Nick,
> 
> Nick Dokos <nicholas.dokos@hp.com> 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	other threads:[~2012-04-27 17:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27 17:00 [BUG] org-fill-paragraph seems broken Nick Dokos
2012-04-27 17:21 ` Bastien
2012-04-27 17:54   ` Nick Dokos [this message]
2012-04-27 21:09     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3017.1335549255@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).