From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Subject: Re: Capture aborts after selecting template Date: Sun, 27 Nov 2011 09:11:47 +0000 (UTC) Message-ID: References: <87y5v3f4wq.fsf@norang.ca> <87ty5qgamv.fsf@norang.ca> <87ipm6fyz6.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUamH-0007Oh-J0 for emacs-orgmode@gnu.org; Sun, 27 Nov 2011 04:12:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUamG-0000nU-71 for emacs-orgmode@gnu.org; Sun, 27 Nov 2011 04:12:01 -0500 Received: from lo.gmane.org ([80.91.229.12]:42749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUamG-0000nI-1s for emacs-orgmode@gnu.org; Sun, 27 Nov 2011 04:12:00 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RUamE-00055L-Hg for emacs-orgmode@gnu.org; Sun, 27 Nov 2011 10:11:58 +0100 Received: from host020.samsungtelecom.com ([host020.samsungtelecom.com]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Nov 2011 10:11:58 +0100 Received: from felixfcaf by host020.samsungtelecom.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Nov 2011 10:11:58 +0100 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 Bernt Hansen norang.ca> writes: > > If you want to set adaptive-fill-mode to nil you need something like > this instead: > > (add-hook 'text-mode-hook '(lambda () (setq adaptive-fill-mode nil))) > > Thanks for the detailed explanation. I added (add-hook 'text-mode-hook '(lambda () (setq adaptive-fill-mode nil))) as suggested. It didn't work at first, but then when I did C-u C-c C-x r to "reload org uncompiled" and generate a backtrace, it did work and I was able to use capture to add a todo list. The current status is that I have to reload org uncompiled every time I restart emacs to get capture to work. The situation is the same even when I comment out the preceding add-hook for text-mode-hook. Any idea how to fix this?