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 23:09:48 +0200 Message-ID: <874ns4evab.fsf@gnu.org> References: <719.1335546013@alphaville> <87sjfpw0of.fsf@gnu.org> <3017.1335549255@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNsPH-0005yf-VK for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 17:08:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNsPG-0006A3-Ay for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 17:08:47 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:58786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNsPG-00068p-1c for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 17:08:46 -0400 Received: by wgbds1 with SMTP id ds1so819547wgb.30 for ; Fri, 27 Apr 2012 14:08:44 -0700 (PDT) In-Reply-To: <3017.1335549255@alphaville> (Nick Dokos's message of "Fri, 27 Apr 2012 13:54:15 -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 Nick Dokos writes: >> -(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? Both -- I fixed the problem in Org, things should be okay now. But still, I think the arg in `mail-mode-fill-paragraph' should be optional. Thanks for reporting this, -- Bastien