emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Duplicate tags
@ 2019-09-03 10:29 Dmitrii Korobeinikov
  2019-09-03 12:11 ` Dmitrii Korobeinikov
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitrii Korobeinikov @ 2019-09-03 10:29 UTC (permalink / raw)
  To: emacs-orgmode

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

   org-set-tags-command allows duplicates. Example:
   - M-x org-set-tags-command -> "tag"
   - M-x org-set-tags-command -> "tag"
   Result:
   * Title    :tag:tag:

   I think it would be handy to prevent this.
   Not unimaginable that someone could use this as a feature, though, in
which case, a flag would be nice.

   Regards,
   Dmitrii.

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

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

* Re: Duplicate tags
  2019-09-03 10:29 Duplicate tags Dmitrii Korobeinikov
@ 2019-09-03 12:11 ` Dmitrii Korobeinikov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitrii Korobeinikov @ 2019-09-03 12:11 UTC (permalink / raw)
  To: emacs-orgmode

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

BTW one possible behavior is to move the old tag to the end, providing both
feedback and function

вт, 3 сент. 2019 г. в 16:29, Dmitrii Korobeinikov <dim1212k@gmail.com>:

>    org-set-tags-command allows duplicates. Example:
>    - M-x org-set-tags-command -> "tag"
>    - M-x org-set-tags-command -> "tag"
>    Result:
>    * Title    :tag:tag:
>
>    I think it would be handy to prevent this.
>    Not unimaginable that someone could use this as a feature, though, in
> which case, a flag would be nice.
>
>    Regards,
>    Dmitrii.
>

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

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

end of thread, other threads:[~2019-09-03 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-03 10:29 Duplicate tags Dmitrii Korobeinikov
2019-09-03 12:11 ` Dmitrii Korobeinikov

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