emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: hidestarsfile: "hidestars" for file
Date: Thu, 9 Feb 2012 19:57:41 +0100	[thread overview]
Message-ID: <CALn3zohjDs4QePv50BK_0HfmxSE=2gytErwCAGabzazjD1XJXw@mail.gmail.com> (raw)
In-Reply-To: <CALn3zogSGqQpL8NQp+DWzreeFkOytRAddAhwcBYpWV43EdBJ3Q@mail.gmail.com>

Hi all

On Fri, Feb 3, 2012 at 17:43, Michael Brand <michael.ch.brand@gmail.com> wrote:
> I am still uncertain about if this could be made Org-mode-specific to
> cover more use cases: When switching between Org mode and another
> major mode like Fundamental mode [...]

Now I see that for testing how a hidestarsfile looks like in a file
viewer or simple editor, preferred over switching the major mode is:
Just stay in Org mode and with org-hide-leading-stars still enabled
from before, temporarily change only the look:

#+BEGIN_SRC emacs-lisp
  (visible-mode 1)
  (my-disable-font-lock-except-org-hide)
#+END_SRC

I have not yet much of an idea how to do this: Disable font lock for
all faces except the face org-hide. What possibilities are there?

Michael

  reply	other threads:[~2012-02-09 18:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-03 16:43 hidestarsfile: "hidestars" for file Michael Brand
2012-02-09 18:57 ` Michael Brand [this message]
2012-02-16 17:53   ` Michael Brand
2012-02-26 15:50     ` Michael Brand

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='CALn3zohjDs4QePv50BK_0HfmxSE=2gytErwCAGabzazjD1XJXw@mail.gmail.com' \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).