From mboxrd@z Thu Jan 1 00:00:00 1970 From: ded-law@ddoherty.net (Daniel E. Doherty) Subject: Re: I can't make work 'startup hidestars' Date: Wed, 05 Dec 2012 07:40:52 -0600 Message-ID: <87y5hcipln.fsf@ddoherty.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgFDn-00039P-8n for emacs-orgmode@gnu.org; Wed, 05 Dec 2012 08:41:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgFDe-0008JV-99 for emacs-orgmode@gnu.org; Wed, 05 Dec 2012 08:41:07 -0500 Received: from mail-da0-f41.google.com ([209.85.210.41]:64956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgFDe-0008JB-1h for emacs-orgmode@gnu.org; Wed, 05 Dec 2012 08:40:58 -0500 Received: by mail-da0-f41.google.com with SMTP id e20so2224821dak.0 for ; Wed, 05 Dec 2012 05:40:56 -0800 (PST) In-Reply-To: (Ashfaq's message of "Sat, 25 Aug 2012 16:08:44 +0600") 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: Ashfaq Cc: emacs-orgmode@gnu.org If it helps, I have the following in my init file to make sure the hidden stars stay hidden: #+begin_src emacs-lisp (defun ded-set-org-hide () "Make sure the background and foreground colors of the org-hide face matches the background of the default face." (interactive) (when (featurep 'org) (set-face-attribute 'org-hide nil :foreground (face-attribute 'default :background)) (set-face-attribute 'org-hide nil :background (face-attribute 'default :background)))) (add-hook 'after-init-hook 'ded-set-org-hide) (add-hook 'org-ctrl-c-ctrl-c-hook 'ded-set-org-hide) #+end_src This works fine, but has to be manually re-run if you load a different custom theme. -- ==================================================== Daniel E. Doherty Law Offices of Daniel E. Doherty ded-law@ddoherty.net