From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dieter Schoen Subject: Re: new to drawers Date: Sun, 11 May 2014 00:38:15 +0200 Message-ID: <87lhu9tg2w.wl%dieter@schoen.or.at> References: <87a9apzbwm.fsf@stevenarntson.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjFuU-0007YA-Ik for emacs-orgmode@gnu.org; Sat, 10 May 2014 18:38:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjFuN-0003UO-38 for emacs-orgmode@gnu.org; Sat, 10 May 2014 18:38:26 -0400 Received: from postrelay205.edis.at ([91.227.204.205]:38753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjFuM-0003UH-St for emacs-orgmode@gnu.org; Sat, 10 May 2014 18:38:19 -0400 Received: from mailrelay.edis.at (postrelay205.edis.at [91.227.204.205]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by postrelay205.edis.at (Postfix) with ESMTPS id CF85D200209D for ; Sun, 11 May 2014 00:38:16 +0200 (CEST) In-Reply-To: <87a9apzbwm.fsf@stevenarntson.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: Steven Arntson Cc: emacs-orgmode@gnu.org At Sat, 10 May 2014 12:11:53 -0700, Steven Arntson wrote: > > I'm having trouble getting drawers to collapse, and am wondering if I'm > misunderstanding their nature. I make an active region in an org-mode > doc on, for instance, "sample text" and invoke C-c C-x d, which invites > me to name the drawer. I name it "test," and RET, which gives me: > > :test: > sample text > :END: > > > ":END:" is colored green by org-mode, but "test" isn't. > > And it won't go through any kind of visibility cycle. I've tried [TAB] > and shift+TAB, and shift+arrowkey, and don't get any response. Using > emacs 24.3.1 and org 7.9.3f. What am I doing wrong? i can confirm this behaviour, it's the same over here. something is recognised as drawer if its name is either in the list 'org-drawers or defined in the current file with #+DRAWERS. try to add "test" either to org-drawers e.g. (setq org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "test2")) or add it to the file's headers: #+DRAWERS: HIDDEN STATE PROPERTIES BIG low and revert the buffer, if it's already open. as a hint: in my settings, a drawer is colored green. if you use an undefined string for a drawer name, it is white. so you quickly see, if your string is a defined drawer. and another, you can get completetions with TAB when you do C-c C-x d, your string should be in the list. kind regards, dieter