From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: is there a save-visibility? Date: Sat, 16 May 2009 15:39:40 -0700 Message-ID: <20524da70905161539o161a99f3hd22e2d533f279515@mail.gmail.com> References: <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 1M5SY1-0008Rd-H3 for emacs-orgmode@gnu.org; Sat, 16 May 2009 18:40:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5SXx-0008RN-Jx for emacs-orgmode@gnu.org; Sat, 16 May 2009 18:40:05 -0400 Received: from [199.232.76.173] (port=49711 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5SXx-0008RK-FB for emacs-orgmode@gnu.org; Sat, 16 May 2009 18:40:01 -0400 Received: from mail-pz0-f175.google.com ([209.85.222.175]:34263) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M5SXx-00034p-1b for emacs-orgmode@gnu.org; Sat, 16 May 2009 18:40:01 -0400 Received: by pzk5 with SMTP id 5so1732870pzk.14 for ; Sat, 16 May 2009 15:40:00 -0700 (PDT) In-Reply-To: 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 Thanks, Carsten. I tried using clone-indirect-buffer to fake it, but sorting changes visibility in both buffers. Very strangely, it also seems to change the save-excursion saved point, but you can do that manually. My solution is to use a canonical visibility after sorting. -- 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