From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: org-indent-mode and visual-line-mode Date: Fri, 20 Nov 2009 14:54:31 +0100 Message-ID: <18D98A36-AC0D-4952-A106-180CF37C82BB@gmail.com> References: <1258574856.3971.4751.camel@gont> <1258644001.29221.1095.camel@gont> <87zl6ign67.fsf@benfinney.id.au> <1258683126.10710.29.camel@gont> <1258722206.10710.1265.camel@gont> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBTwg-000258-9B for emacs-orgmode@gnu.org; Fri, 20 Nov 2009 08:54:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBTwa-00022b-OU for emacs-orgmode@gnu.org; Fri, 20 Nov 2009 08:54:41 -0500 Received: from [199.232.76.173] (port=49966 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBTwa-00022U-Hx for emacs-orgmode@gnu.org; Fri, 20 Nov 2009 08:54:36 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:46602) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBTwa-0001D2-1s for emacs-orgmode@gnu.org; Fri, 20 Nov 2009 08:54:36 -0500 Received: by ey-out-1920.google.com with SMTP id 3so1104805eyh.34 for ; Fri, 20 Nov 2009 05:54:34 -0800 (PST) In-Reply-To: <1258722206.10710.1265.camel@gont> 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: Matt Price Cc: emacs-orgmode@gnu.org Hi Matt, can you please try the following patch? ------------------------------------------------------------------------------- diff --git a/lisp/org-indent.el b/lisp/org-indent.el index afce59f..53db9be 100644 --- a/lisp/org-indent.el +++ b/lisp/org-indent.el @@ -106,8 +106,8 @@ this variable can be set to nil to get rid of the timer." ;; Initialize the indentation and star vectors (setq org-indent-strings (make-vector (1+ org-indent-max) nil)) (setq org-indent-stars (make-vector (1+ org-indent-max) nil)) - (aset org-indent-strings 0 "") - (aset org-indent-stars 0 "") + (aset org-indent-strings 0 nil) + (aset org-indent-stars 0 nil) (loop for i from 1 to org-indent-max do (aset org-indent-strings i (org-add-props -------------------------------------------------------------------------------- Also, you should have (I believe you do) (setq org-startup-truncated nil) Let me know if this solves the problem - Carsten On Nov 20, 2009, at 2:03 PM, Matt Price wrote: > On Fri, 2009-11-20 at 08:28 +0100, Carsten Dominik wrote: > >> Hi Matt, >> >> personally, I never use visual-line-mode, mainly because cursor >> motion >> becomes unpredictable to me (down doe not get me into the next line, >> so for example keyboard macros are much harder to make to >> consistently). >> >> That said, I would expect that what you are describing should work, >> and my memory is also that it used to work - after all, I implemented >> not only line-prefix, but also wrap-prefix in org-indent-mode. I am >> quite sure that this used to work. >> >> I am not sure how to proceed. Someone would have to bisect Emacs to >> find which commit changed this behavior. Or maybe at lease someone >> can try with a vanilla 23.1 Emacs? If it works there, we might have >> enough to file a bug report. >> > > I just tried it on the ubuntu karmic emacs23 packages. I get the same > behaviour i was seeing before. In case my description is > misleading, i > just made a couple of screenshots and posted them here: > http://www.derailleur.org/screenshots/ > one shows some quick text when indent-mode is enabled, the other shows > it with indent-mode disabled. > > anyway if you have any ideas how i might help that'd be great -- > bisecting the code is probably beyond what i can easily do but i could > try to dig around a bit somehow. > > thanks - i appreciate how much effort you put into this carsten! - > > > matt > > > -- > Matt Price > matt.price@utoronto.ca > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten