From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: is there a save-visibility? Date: Fri, 15 May 2009 11:23:43 -0700 Message-ID: <20524da70905151123u35e06446uabc4c7b045aebffb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M524q-0007sC-GP for emacs-orgmode@gnu.org; Fri, 15 May 2009 14:24:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M524l-0007rt-5O for emacs-orgmode@gnu.org; Fri, 15 May 2009 14:24:11 -0400 Received: from [199.232.76.173] (port=43801 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M524k-0007rq-Vt for emacs-orgmode@gnu.org; Fri, 15 May 2009 14:24:07 -0400 Received: from mail-pz0-f107.google.com ([209.85.222.107]:64888) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M524k-0002cS-G4 for emacs-orgmode@gnu.org; Fri, 15 May 2009 14:24:06 -0400 Received: by pzk5 with SMTP id 5so1331928pzk.14 for ; Fri, 15 May 2009 11:24:05 -0700 (PDT) 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 I want to sort upon todo state change. However, sort changes visibility. I could use the new after sort hook to create a desired visibility, but I'd like it to be the same as before the todo state change. Is there a save-visibility analogous to save-excursion? Thanks. -- Myalgic encephalomyelitis denialism is causing death and severe suffering worse than MS. Conflicts of interest are destroying research. /You/ can get the disease at any time permanently. Do science and justice matter to you? Posters: http://www.mefreeforall.org/fileadmin/PDFs/ME_Awareness_Posters_2009.pdf Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm