From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: org-show-following-heading shows even when nil Date: Sat, 22 May 2010 11:13:31 -0700 Message-ID: References: <5A5EB417-319C-4E4D-BD1A-74AF8FEFE945@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=38857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFtCb-0006cv-3D for emacs-orgmode@gnu.org; Sat, 22 May 2010 14:13:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFtCY-0003I7-0y for emacs-orgmode@gnu.org; Sat, 22 May 2010 14:13:37 -0400 Received: from mail-qy0-f187.google.com ([209.85.221.187]:53747) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFtCX-0003Hn-TB for emacs-orgmode@gnu.org; Sat, 22 May 2010 14:13:33 -0400 Received: by qyk17 with SMTP id 17so2958632qyk.12 for ; Sat, 22 May 2010 11:13:32 -0700 (PDT) In-Reply-To: <5A5EB417-319C-4E4D-BD1A-74AF8FEFE945@gmail.com> 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: Carsten Dominik Cc: emacs-orgmode@gnu.org Hi Carsten, Could it be the following in org-agenda-switch-to? (save-excursion (and (outline-next-heading) (org-flag-heading nil))))))) ; show the next heading I wonder if it will cause any problems to remove that whole sexp. Thanks. Samuel On 2010-05-19, Carsten Dominik wrote: > Hi Samuel, > > thanks for your feedback - I do not know what else could be wrong > here..... > > - Carsten > > On May 18, 2010, at 6:17 AM, Samuel Wales wrote: > >> Hi Carsten, >> >> On 2010-05-14, Carsten Dominik wrote: >>> for some reason I do not remember, I enforce showing the next >>> headline >>> in this special case. Please try the following patch and run with if >>> for a while, to see if it causes any problems. >> >> The patch did not apply for some reason, but I manually applied it, >> and it seemed in trivial testing to work perfectly. Strangely, >> however, today the behavior is as if I did not apply the patch. I did >> eval the function, so it must be some other piece of code that is >> involved. I don't get it. (Not physically able to investigate now, >> unfortunately.) >> >> Samuel >> >> -- >> Q: How many CDC "scientists" does it take to change a lightbulb? >> A: "You only think it's dark." [CDC has denied a deadly disease for >> 25 years] >> ========== >> Retrovirus: http://www.wpinstitute.org/xmrv/index.html > > - Carsten > > > > -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly disease for 25 years] ========== Retrovirus: http://www.wpinstitute.org/xmrv/index.html