emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* tagging text, not headlines
@ 2013-02-04 22:01 42 147
  2013-02-04 23:30 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: 42 147 @ 2013-02-04 22:01 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 842 bytes --]

I want to avoid over-headlining data.

So in my playlist, I will list the songs as text, rather than as headlines.
The problem is, I'd like to tag, in the following example, "(8) Beata
Viscera"
as my favorite composition in the Hilliard Ensemble performance.

** Classical
*** Pérotin
**** Description

Pérotin (fl. c. 1200), also called Perotin the Great, was a European
composer, believed to be French, who lived around the end of the 12th and
beginning of the 13th century. He was the most famous member of the Notre
Dame school of polyphony and the ars antiqua style.
**** Performances
***** The Hilliard Ensemble

(1) Viderunt Omnes
(2) Veni Creator Spiritus
(3) Alleluia Posui Adiutorium
(4) O Maria Virginei
(5) Dum Sigillum
(6) Isalas Cecinit
(7) Alleluia Nativitas
(8) Beata Viscera
(9) Sederunt Principes

[-- Attachment #2: Type: text/html, Size: 917 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tagging text, not headlines
  2013-02-04 22:01 tagging text, not headlines 42 147
@ 2013-02-04 23:30 ` Bastien
  2013-02-05  0:03   ` 42 147
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2013-02-04 23:30 UTC (permalink / raw)
  To: 42 147; +Cc: Org Mode

42 147 <aeuster@gmail.com> writes:

> I want to avoid over-headlining data.
>
> So in my playlist, I will list the songs as text, rather than as
> headlines.
> The problem is, I'd like to tag, in the following example, "(8) Beata
> Viscera"
> as my favorite composition in the Hilliard Ensemble performance.
>
> ** Classical
> *** Pérotin
> **** Description
>
> Pérotin (fl. c. 1200), also called Perotin the Great, was a European
> composer, believed to be French, who lived around the end of the 12th
> and
> beginning of the 13th century. He was the most famous member of the
> Notre
> Dame school of polyphony and the ars antiqua style.
> **** Performances
> ***** The Hilliard Ensemble
>
> (1) Viderunt Omnes
> (2) Veni Creator Spiritus
> (3) Alleluia Posui Adiutorium
> (4) O Maria Virginei
> (5) Dum Sigillum
> (6) Isalas Cecinit
> (7) Alleluia Nativitas
> (8) Beata Viscera
> (9) Sederunt Principes

Tagging outside headlines doesn't really make sense in Org, 
as all tagging-related features need the tag to be on the headline.

But you can still use... plain text + emacs power:


  (8) Beata Viscera <- My favorite song!

M-x occur RET favorite RET

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tagging text, not headlines
  2013-02-04 23:30 ` Bastien
@ 2013-02-05  0:03   ` 42 147
  2013-02-05 17:31     ` Suvayu Ali
  0 siblings, 1 reply; 4+ messages in thread
From: 42 147 @ 2013-02-05  0:03 UTC (permalink / raw)
  To: Bastien; +Cc: Org Mode

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

Sometimes I forget what org-mode is built on...

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.

But what you suggested will do.

2013/2/4 Bastien <bzg@altern.org>

> 42 147 <aeuster@gmail.com> writes:
>
> > I want to avoid over-headlining data.
> >
> > So in my playlist, I will list the songs as text, rather than as
> > headlines.
> > The problem is, I'd like to tag, in the following example, "(8) Beata
> > Viscera"
> > as my favorite composition in the Hilliard Ensemble performance.
> >
> > ** Classical
> > *** Pérotin
> > **** Description
> >
> > Pérotin (fl. c. 1200), also called Perotin the Great, was a European
> > composer, believed to be French, who lived around the end of the 12th
> > and
> > beginning of the 13th century. He was the most famous member of the
> > Notre
> > Dame school of polyphony and the ars antiqua style.
> > **** Performances
> > ***** The Hilliard Ensemble
> >
> > (1) Viderunt Omnes
> > (2) Veni Creator Spiritus
> > (3) Alleluia Posui Adiutorium
> > (4) O Maria Virginei
> > (5) Dum Sigillum
> > (6) Isalas Cecinit
> > (7) Alleluia Nativitas
> > (8) Beata Viscera
> > (9) Sederunt Principes
>
> Tagging outside headlines doesn't really make sense in Org,
> as all tagging-related features need the tag to be on the headline.
>
> But you can still use... plain text + emacs power:
>
>
>   (8) Beata Viscera <- My favorite song!
>
> M-x occur RET favorite RET
>
> HTH,
>
> --
>  Bastien
>

[-- Attachment #2: Type: text/html, Size: 2215 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tagging text, not headlines
  2013-02-05  0:03   ` 42 147
@ 2013-02-05 17:31     ` Suvayu Ali
  0 siblings, 0 replies; 4+ messages in thread
From: Suvayu Ali @ 2013-02-05 17:31 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-05 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).