Hi Alan,

Alan Schmitt <alan.schm...@polytechnique.org> writes:

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

Thanks - I now understand better.

You may want to hack something together based on this:

#+begin_src emacs-lisp
(replace-regexp-in-string "::+" ":" (mapconcat (lambda(s) (if (stringp (car s)) 
(car s))) org-tag-alist ":"))
#+end_src

-- 
 Bastien

Reply via email to