emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: automatic completion of file tags
Date: Sun, 26 Jan 2020 19:37:10 +0100	[thread overview]
Message-ID: <87zheaqd2h.fsf@polytechnique.org> (raw)
In-Reply-To: <878slucfo3.fsf@gnu.org>

Hi Bastien,

On 2020-01-26 18:04, Bastien <bzg@gnu.org> writes:

> I'm not entirely sure: you want to tag all headline in a file with
> multiple pre-defined tags?

There are no headlines in the file (it's a small note). I want to tag
the file itself (or its content). It's mostly to help with full-text
search (I prefix my tags with '#' so they don't occur otherwise). I
think the notion of file tag does not really exist in org mode, but as
there is a '+#FILETAGS:' cookie (?), I was wondering if there was
infrastructure to help me enter the tags there.

> With `org-loop-over-headlines-in-active-region' set to `t', you can
> tag multiple headlines by selecting a region with the headlines you
> want to tag, then C-c C-q to tag them one after another.
>
> You cannot add multiple tags for each headline this way, though.
>
> I would go for defining a temporary local tag like "replaceme" to
> tag multiple (all) headline in the file, then simpy search/replace
> occurrences of "replaceme" with your:list:of:tags

Thank you. This is not what I want to do, but it's nice to know how to
do this.

Alan

  reply	other threads:[~2020-01-26 18:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-23  8:54 automatic completion of file tags Alan Schmitt
2020-01-26 17:04 ` Bastien
2020-01-26 18:37   ` Alan Schmitt [this message]
2020-01-27 11:12     ` Bastien

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=87zheaqd2h.fsf@polytechnique.org \
    --to=alan.schmitt@polytechnique.org \
    --cc=bzg@gnu.org \
    --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).