From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Re: Re: org-indent mode not indenting free text? Date: Fri, 03 Dec 2010 10:18:27 -0600 Message-ID: <4CF91853.9090001@ccbr.umn.edu> References: <4CEBF039.6040503@ccbr.umn.edu> <87aakzj2l9.wl%n.goaziou@gmail.com> <87r5ebzsll.wl%dmaus@ictsoc.de> <87oc94hqv2.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=55932 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POYLB-0001Vb-Tr for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 11:18:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POYLA-0004be-Is for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 11:18:33 -0500 Received: from walleye.ccbr.umn.edu ([128.101.116.11]:4394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POYLA-0004bS-AH for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 11:18:32 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Antti Kaihola Cc: Achim Gratz , emacs-orgmode@gnu.org Just a guess here: This may be some weirdness because the check in org-indent *will* allow people using GNU Emacs 23.1.50 to turn on org-indent, as far as I can tell. The message "org-indent-mode can crash Emacs 23.1" does not fully explain if it can also crash 23.1.50. If indeed you should be having to run Emacs 23.2 or greater to get org-indent-mode, I don't believe that is what is currently happening. Perhaps that check should require 23.2 or greater? I don't know the details here, but it's a starting place to look. Antti Kaihola wrote: > 2010/12/2 Achim Gratz : >> What version of Emacs are you running? > > This is: > GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0) of > 2009-09-27 on palmer, modified by Debian > >> What does C-h f with-silent-modifications result in? > > with-silent-modifications is a Lisp macro in `org-macs.el'. > > (with-silent-modifications ORG-UNMODIFIED) > > Not documented. > >> Could you back out the change >> (most likely the defmacro for with-silent-modifications in org-macs.el, >> even though I have no clue why this would interact with org-indent-mode >> as it should not be defined for versions >23.1) and tell us if that >> solves your problem (which I can't test because org-indent-mode doesn't >> even start on Emacs 23.1)? > > Yes it does! I commented out: > > ;;(if (or (< emacs-major-version 23) > ;; (and (<= emacs-major-version 23) > ;; (< emacs-minor-version 2))) > ;; (defmacro with-silent-modifications > ;; (org-unmodified))) > > and it now works correctly. Thanks a lot! > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode