From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Speed commands Date: Tue, 17 Nov 2009 20:43:36 +0100 Message-ID: <96484712-09E0-47E0-A626-CF7449D1CBB9@gmail.com> 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> <87ocn1t0pl.fsf@stats.ox.ac.uk> 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 1NATxr-0004Ev-RK for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 14:43:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NATxl-00048d-CS for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 14:43:46 -0500 Received: from [199.232.76.173] (port=36303 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NATxl-00048X-6r for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 14:43:41 -0500 Received: from mail-bw0-f215.google.com ([209.85.218.215]:60621) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NATxk-0000eB-O3 for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 14:43:40 -0500 Received: by bwz7 with SMTP id 7so387040bwz.26 for ; Tue, 17 Nov 2009 11:43:39 -0800 (PST) In-Reply-To: <87ocn1t0pl.fsf@stats.ox.ac.uk> 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: Dan Davison Cc: emacs-orgmode@gnu.org, "J. David Boyd" Hi Dan, you need to call `org-cycle-show-empty-lines' with appropriate arguments, just like org-cycle does it. - Carsten On Nov 17, 2009, at 8:23 PM, Dan Davison wrote: > 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 > > > _______________________________________________ > 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