0

I'm a light user who use org-mode since 6 month ago. I think It's super useful mode to make GTD schedule and write a simple note.

but when I use org-mode I couldn't find the delimiters of tag except for : like :TAG:

what I want is changing delimiters of org-tag like TAG1|TAG2| or #TAG1#TAG2# ...

anyone how to do this?

  • 2
    The : format seems to be hard-coded (look at file org.el). – JeanPierre Oct 6 '18 at 13:06
  • Maybe you can try to modify only the display effect like org-bullets, if that's acceptable and possible. – xuchunyang Oct 7 '18 at 6:17
  • can org-bullets change the shape of tag separator? @xuchunyang I already used it for change the shape of *, ** to bullets – edward0im Oct 7 '18 at 15:33
  • @JeanPierre That's too bad :-/ .. why they wrote codes like this? Thank you for the reply anyway – edward0im Oct 7 '18 at 15:35
  • @edward0im it can't. I meant looking at the code of org-bullets to get inspiration. – xuchunyang Oct 7 '18 at 16:31
1

It is not customizable without forking the code repo.

According to the manual : https://orgmode.org/manual/Tags.html, Tags must be preceded and followed by a single colon

Incase you are looking to modify the org source code, good starting point would be https://code.orgmode.org/bzg/org-mode/src/master/lisp/org.el#L567

variables org-tag-re, org-tag-group-re, org-tag-line-re is where the regex for TAGS are declared in which colon is hard coded. These variables are declared using defconst (https://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Variables.html) and so the variables cant be customized.

  • Thank you for the answer :-) I'll try it out soon – edward0im Oct 7 '18 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.