emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Lawrence Bottorff <borgauf@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Ad-hoc, mix-and-match tag hierarchies?
Date: Thu, 1 Feb 2018 07:28:42 -0800	[thread overview]
Message-ID: <CAJ51ETqa+UcZvRmTA2ex41EboTqs0b_L0QfwEDWQ2gOO6LgR6g@mail.gmail.com> (raw)
In-Reply-To: <CAFAhFSWBFoQg4tV-jNPg534O=yjsdnZa8kUfh-yzBqG4xujX3A@mail.gmail.com>

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

I was not aware of any implied hierarchy with tags. The order is not
important as far as I know, and what you describe as mix-and-match seems
ok. There is an idea of inheritance, e.g. sub-headings can inherit tags
from higher headings.

In any case, you should be able to use agenda queries to find headings that
are lisp and not emacs, lisp+orgmode, etc.

I am not sure about the org-mode tag. In the past, emacs splits that into
:org:mode: for me.

What do you want to do with the tags?

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Thu, Feb 1, 2018 at 7:07 AM, Lawrence Bottorff <borgauf@gmail.com> wrote:

> Is it possible to have two or more tags that are "peers," i.e., all equal,
> not in a hierarchy, be in an ad-hoc, as-needed way be hierarchical? For
> example, I have the tags *org-mode, lisp, *and *emacs, *and I want to
> have a header with the tags
>
> * my header    :emacs:org-mode:lisp:
>
> So the above should be an ad-hoc hierarchy of
>
> - emacs
>    - org-mode
>       - lisp
>
> As I understand, the order indicates the level in a hierarchy. True? So
> the above has *emacs* at the top of the tag hierarchy, then *org-mode, *then
> *lisp. *Correct? So yes, I could simply set up this hierarchy. But what I
> really want is to not have these tags in any set hierarchy, rather, be able
> to use them independently, mix-and-match, e.g.,
>
> * Another Header    :emacs:lisp:
>
> or maybe
>
> * Yet Another Header   :lisp:
>
> and this would be just about non-Emacs, non-org-mode Lisp. Is this
> mix-and-match possible?
>
> LB
>

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

  reply	other threads:[~2018-02-01 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-01 15:07 Ad-hoc, mix-and-match tag hierarchies? Lawrence Bottorff
2018-02-01 15:28 ` John Kitchin [this message]
2018-02-01 15:36   ` Kaushal Modi
2018-02-01 19:45     ` Lawrence Bottorff
2018-02-04  3:18       ` John Kitchin

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=CAJ51ETqa+UcZvRmTA2ex41EboTqs0b_L0QfwEDWQ2gOO6LgR6g@mail.gmail.com \
    --to=jkitchin@andrew.cmu.edu \
    --cc=borgauf@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).