emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Michaël Cadilhac" <michael@cadilhac.name>
Cc: Keith David Bershatsky <esq@lawlist.com>, emacs-orgmode@gnu.org
Subject: Re: Completely hide the :PROPERTIES: drawer in org-mode.
Date: Wed, 13 Feb 2019 16:55:55 +0100	[thread overview]
Message-ID: <87y36jsmwk.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CADt3fpMq6h-s5bg8Gzx64cbV7Rrso9D64XUO0fNQndhOkj0new@mail.gmail.com> ("Michaël Cadilhac"'s message of "Wed, 13 Feb 2019 15:11:05 +0000")

Michaël Cadilhac <michael@cadilhac.name> 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.

  reply	other threads:[~2019-02-13 15:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-07 16:21 Completely hide the :PROPERTIES: drawer in org-mode Keith David Bershatsky
2019-02-12  8:37 ` Nicolas Goaziou
2019-02-12 20:17   ` Michaël Cadilhac
2019-02-13 14:32     ` Nicolas Goaziou
2019-02-13 15:11       ` Michaël Cadilhac
2019-02-13 15:55         ` Nicolas Goaziou [this message]
2019-02-14 14:16           ` Michaël Cadilhac
2019-02-14 16:11             ` Nicolas Goaziou
2019-02-14 16:21               ` Michaël Cadilhac
2019-02-14 23:15                 ` Nicolas Goaziou
2019-08-28 22:38                   ` Michaël Cadilhac
2019-09-05 16:54                     ` Nicolas Goaziou
2019-02-13 18:44       ` Marco Wahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y36jsmwk.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=esq@lawlist.com \
    --cc=michael@cadilhac.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).