From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Completely hide the :PROPERTIES: drawer in org-mode. Date: Wed, 13 Feb 2019 16:55:55 +0100 Message-ID: <87y36jsmwk.fsf@nicolasgoaziou.fr> References: <87lg2l4d2g.fsf@nicolasgoaziou.fr> <875ztnu5c3.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtwtN-0001xa-Ma for emacs-orgmode@gnu.org; Wed, 13 Feb 2019 10:56:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtwtL-0002vq-Jy for emacs-orgmode@gnu.org; Wed, 13 Feb 2019 10:56:09 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:40621) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtwtK-0002eZ-GE for emacs-orgmode@gnu.org; Wed, 13 Feb 2019 10:56:07 -0500 In-Reply-To: (=?utf-8?Q?=22Micha=C3=ABl?= Cadilhac"'s message of "Wed, 13 Feb 2019 15:11:05 +0000") 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" To: =?utf-8?Q?Micha=C3=ABl?= Cadilhac Cc: Keith David Bershatsky , emacs-orgmode@gnu.org Micha=C3=ABl Cadilhac writes: > You mention that these drawers don't clutter display, so as an > example, consider the following screenshot: > https://michael.cadilhac.name/public/org-props.png The face you use for drawers is, well obnoxious, to say the least. No wonder you find them cluttering your display. > All the property drawers in that screenshot consist of "ID" elements > added by ox-icalendar. Arguably, these properties are internal values > and their storage shouldn't interfere with the user's experience. These are not internal values only. You can use them as link targets, too. > But I do understand being uneasy about hiding stuff. Another > solution that would work for me would be to change the font size and > color a folded :PROPERTIES: drawer, and have a normal font when I open > the drawer. Is there a way to do that? I don't think that's possible out of the box, but font-lock stuff is configurable. > I thought I could start playing with the face "org-drawer" but it > looks unused. Any help? It seems that, for some reason, drawers use `org-special-keyword'. It sounds like a bug.