all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: tagging text, not headlines
Date: Tue, 5 Feb 2013 18:31:56 +0100	[thread overview]
Message-ID: <20130205173156.GJ30767@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <CAMgvimGE62bbQ0o3foNYjJP5y5tGjPM1J1xCmGkWpnU6U6b_gA@mail.gmail.com>

On Mon, Feb 04, 2013 at 07:03:01PM -0500, 42 147 wrote:
>
> It would be nice to keep things in the org-style (e.g., :favorite song: is
> preferable to "<--- favorite song," just on rudimentary aesthetic grounds.

I often put in my own cookies inside floawing text.  For example, I
label doubts in my notes with a "(?)".  In the example below, I have a
doubt about comment 2.

  Some statement
  - Comment 1
  - Comment 2 (?)

Then I can easily look for it with occur or grep from the commandline.
If you want fontification for cookies like above, you can try something
like this (untested):


  ;; font-lock customisations
  (defface my-global-tag-face
    '((t (:background "royalblue4" :foreground "thistle" :weight bold)))
    "Face for the global tags."
    :group 'my-faces)

  (add-hook 'find-file-hook
  	  (lambda ()
  	    (font-lock-add-keywords
  	     nil '(("\\<[ (]\\([a-zA-Z0-9]\\+\\)[) ]\\>"
  		    1 'my-global-tag-face prepend)))))


Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

      reply	other threads:[~2013-02-05 17:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 22:01 tagging text, not headlines 42 147
2013-02-04 23:30 ` Bastien
2013-02-05  0:03   ` 42 147
2013-02-05 17:31     ` Suvayu Ali [this message]

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

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

  git send-email \
    --in-reply-to=20130205173156.GJ30767@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.