From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Re: Speed commands Date: Tue, 17 Nov 2009 19:23:18 +0000 Message-ID: <87ocn1t0pl.fsf@stats.ox.ac.uk> References: <87aayqfh8a.wl%ucecesf@ucl.ac.uk> <8D1991FE-E04A-41DF-8919-C72E4EA9AFF1@uva.nl> <4AFDB0AB.9040607@cs.tu-berlin.de> <78C217F4-D3EA-46BA-A237-CA0E54216D5E@uva.nl> <87eio14s0y.fsf@stats.ox.ac.uk> <87pr7k1p8t.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NATeV-0002b3-9Q for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 14:23:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NATeQ-0002YZ-Lx for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 14:23:46 -0500 Received: from [199.232.76.173] (port=57491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NATeQ-0002YS-Dw for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 14:23:42 -0500 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:40422) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NATeP-0005rQ-Jb for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 14:23:42 -0500 In-Reply-To: (J. David Boyd's message of "Tue, 17 Nov 2009 09:44:13 -0500") 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: "J. David Boyd" Cc: emacs-orgmode@gnu.org david@adboyd.com (J. David Boyd) writes: > Dan Davison writes: > >> Dan Davison writes: >> >> >> Here are simplified versions of the forward- and backward-scroll speed >> commands that I'm suggesting. >> > > Ow, 1 major problem (to me). They wipe out my white space. > > I have my entries in an .org file set up like (I like white space): > > * DONE Timeouts on JDBC connection... > > * TODO Update Test Agents... > > * TODO Update UAT Agents... > > * TODO W911170058 - Prod Tomcat not being 'managed'... > > > but after I run your speed scripts, they look like: > > * DONE Timeouts on JDBC connection... > * TODO Update Test Agents... > * TODO Update UAT Agents... > * TODO W911170058 - Prod Tomcat not being 'managed'... > > > Any ideas what to change to preserve my empty white line. I could Hi David, I don't have an immediate solution. To make it appear as above, I'm assuming you have two blank lines after the end of each entry, right? Your whitespace is still there, it's just that the visibility of the blank lines has changed, as a result of calling org-overview. I didn't realise that the effects on whitespace visibility differed between org-overview and the "OVERVIEW" state of org-cycle. Does anyone know of a suitable way to programmatically achieve identical effects to the cycling induced by org-cycle? Or, to ask a slightly different question, is there any convenient way to use org-cycle in a lisp program and tell it to cycle to a particular state? In any case, my use of org-overview is probably not really appropriate, since it alters visibility in all the subtrees, whereas the scroll functions should probably only alter visibility in the subtrees in which they are operating. So if that were fixed hopefully the whitespace problem would disappear. I'll look into it. Dan > probably learn to live without it, but I'd rather not... > > Dave > > > > _______________________________________________ > 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