From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Suppress visibility cycling for a specific tree Date: Mon, 25 Jul 2011 18:43:53 +0200 Message-ID: References: <70280F95-CCCC-4831-ABBC-A8DA8B783F02@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlOGN-0005z6-HG for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 12:44:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlOGM-0001Ki-K6 for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 12:44:15 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:33329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlOGM-0001KX-EX for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 12:44:14 -0400 Received: by eyx24 with SMTP id 24so6040564eyx.19 for ; Mon, 25 Jul 2011 09:44:13 -0700 (PDT) In-Reply-To: <70280F95-CCCC-4831-ABBC-A8DA8B783F02@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: org-mode mailing list Hi Carsten, On Mon, Jul 25, 2011 at 3:24 PM, Carsten Dominik wrote: > Archived trees are kept closed by the function > `org-cycle-hide-archived-subtrees', which is called by > `org-cycle-hook'. =A0You could define a tag of your choice > and then put a function into org-cycle-hook that uses a let form > to bind `org-archive-tag' to the chosen tag and then calls > `org-cycle-hide-archived-subtrees' to do the work. > Thanks a lot! That works like a charm although I considering simply choose to "retrain" my brain to use ARCHIVE. :) --=20 Suvayu Open source is the future. It sets us free.