From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: org-indent mode not indenting free text? Date: Fri, 03 Dec 2010 18:08:22 +0100 Message-ID: <87sjyepywp.fsf@Rainer.invalid> 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=us-ascii Return-path: Received: from [140.186.70.92] (port=44121 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POZ7f-0007QC-Qv for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 12:08:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POZ7e-0004eI-9l for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 12:08:39 -0500 Received: from lo.gmane.org ([80.91.229.12]:58778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POZ7d-0004dI-UL for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 12:08:38 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1POZ7c-0002kv-RA for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 18:08:36 +0100 Received: from p57aab81d.dip.t-dialin.net ([87.170.184.29]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Dec 2010 18:08:36 +0100 Received: from Stromeko by p57aab81d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Dec 2010 18:08:36 +0100 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: emacs-orgmode@gnu.org Antti Kaihola writes: > 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 I see. So the check needs to include the sub-sub-version also, just like org-indent-mode does. The documentation said that with-silent-modifications was introduced with Emacs 23.2, but maybe it got backported to 23.1.50 by Debian maintainers. > 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! Can you please check whether with-silent-modifications is defined in your Emacs version? I can only assume it must be since I don't think org-indent-mode would work correctly without... if so, I think patching the patch would be straightforward. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada