From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Micha=C3=ABl_Cadilhac?= Subject: Re: Completely hide the :PROPERTIES: drawer in org-mode. Date: Thu, 14 Feb 2019 14:16:20 +0000 Message-ID: References: <87lg2l4d2g.fsf@nicolasgoaziou.fr> <875ztnu5c3.fsf@nicolasgoaziou.fr> <87y36jsmwk.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]:41689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guHxZ-0002Ru-6N for emacs-orgmode@gnu.org; Thu, 14 Feb 2019 09:25:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guHp1-0007g2-9f for emacs-orgmode@gnu.org; Thu, 14 Feb 2019 09:17:04 -0500 Received: from cadilhac.name ([163.172.56.42]:33336 helo=mattermost.cadilhac.name) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guHp0-0007YV-UO for emacs-orgmode@gnu.org; Thu, 14 Feb 2019 09:17:03 -0500 Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) by mattermost.cadilhac.name (OpenSMTPD) with ESMTPSA id cfdd97f2 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 14 Feb 2019 14:16:58 +0000 (UTC) Received: by mail-vs1-f52.google.com with SMTP id t7so3707089vsq.5 for ; Thu, 14 Feb 2019 06:16:58 -0800 (PST) In-Reply-To: <87y36jsmwk.fsf@nicolasgoaziou.fr> 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?= , Keith David Bershatsky , emacs-orgmode@gnu.org Hi there; Again, thanks for your help Nicolas=E2=80=94that's much appreciated. On Wed, 13 Feb 2019 at 15:55, Nicolas Goaziou wrot= e: > The face you use for drawers is, well obnoxious, to say the least. No > wonder you find them cluttering your display. I agree; following your advice, I took the simpler path of customizing org-special-keyword. By changing its height, I got a small glitch; consider: https://michael.cadilhac.name/public/org-props-small-1.png The lines with ":PROPERTIES:" did not change height; this is simply due to the line-feed having the default face. With: --- a/lisp/org.el +++ b/lisp/org.el @@ -5934,7 +5934,7 @@ by a #." "Fontify drawers." (when (re-search-forward org-drawer-regexp limit t) (add-text-properties - (match-beginning 0) (match-end 0) + (match-beginning 0) (+ 1 (match-end 0)) '(font-lock-fontified t face org-special-keyword)) (org-remove-flyspell-overlays-in (match-beginning 0) (match-end 0)) t)) I get the desired outcome: https://michael.cadilhac.name/public/org-props-small-2.png (this is also where org-special-keyword should be replaced with org-drawer.= ) Any thoughts? Thanks! Micha=C3=ABl