From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: problem with auto-fill-mode in gnus with org Date: Thu, 13 Nov 2014 21:07:27 +0100 Message-ID: <87fvdmq2yo.fsf@nicolasgoaziou.fr> References: <87tx26i3be.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp0fE-0003ON-FV for emacs-orgmode@gnu.org; Thu, 13 Nov 2014 15:06:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xp0f6-00075w-Ko for emacs-orgmode@gnu.org; Thu, 13 Nov 2014 15:06:44 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:35513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp0f6-00075m-Dd for emacs-orgmode@gnu.org; Thu, 13 Nov 2014 15:06:36 -0500 Received: from mfilter6-d.gandi.net (mfilter6-d.gandi.net [217.70.178.135]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id AB12241C05D for ; Thu, 13 Nov 2014 21:06:35 +0100 (CET) Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter6-d.gandi.net (mfilter6-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 9FNPRFBigAbF for ; Thu, 13 Nov 2014 21:06:34 +0100 (CET) Received: from selenimh (unknown [91.224.148.150]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 39D1E41C061 for ; Thu, 13 Nov 2014 21:06:34 +0100 (CET) In-Reply-To: <87tx26i3be.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 11 Nov 2014 07:50:13 +0000") 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: emacs-orgmode@gnu.org Hello, Eric S Fraga writes: > So I decided to not enable orgstruct mode. However, by doing so, I get > the following error whenever I try to type in a line longer than my > auto-fill-column: > > ,---- > | Debugger entered--Lisp error: (void-variable orgtbl-line-start-regexp) > | org-adaptive-fill-function() > | org-auto-fill-function() > | self-insert-command(1) > | funcall-interactively(self-insert-command 1) > | call-interactively(self-insert-command nil nil) > | command-execute(self-insert-command) > `---- > > I have > > (setq auto-fill-function 'org-auto-fill-function) > > in my message-mode-hook so I do expect org to be involved in my message > composition. Am I responsible for initialisation of org in this > context? What am I missing? Odd. I'm not able to reproduce it. However, using `org-auto-fill-function' without Org major mode may be asking for trouble (variables not initialized...). Regards, -- Nicolas Goaziou