emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* (org-use-fast-tag-selection (quote auto)) - problem with TAB Completion and non ASCII tag selection characters [\200]
@ 2015-02-13  8:22 Shavkat Rustamov
  0 siblings, 0 replies; only message in thread
From: Shavkat Rustamov @ 2015-02-13  8:22 UTC (permalink / raw)
  To: emacs-orgmode

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

I have
​
one
​
persistent tag
​
​
set with a key character like this:
 '(org-tag-persistent-alist (quote (("a" . 97))))

There are no file based #+TAGS in any of org files.

I also like to have access to all tags in all files, so I set this up:
(org-complete-tags-always-offer-all-agenda-tags t)

Finally I'd like to have a fast selection splash screen:
(org-use-fast-tag-selection (quote auto))

Now the problems:

​1. ​
Running C-q in an org file on a heading shows a fast selection splash window
​. ​
​
​
It shows all the tags from all the org files.
​
The main problem is that

apart from [a] defined in org-tag-persistent-alist other characters are
​
assigned
​
for
​
 fast pick
​
randomly
​
and
​
are not only 'a-z',  but also

seemingly
​
non-ASCII characters which are shown as:
- [\200] tagname1
- [\204] tagname2
- etc
There seems to be no way to select tagname1 or tagname2.

2. With all the above variables unchanged hitting the TAB here for
selection of tags in the minibuffer only allows tags already in the file,
ignoring the (org-complete-tags-always-offer-all-agenda-tags t) variable.
Disabling
​
'
​
org-use-fast-tag-selection
​
' by setting it
​

to

'nil'
​
 and hitting TAB after C-q
produces ':' and the Completions buffer is not opened. However, typing a
first character of a tag, say 'b' and hitting TAB opens 'Completions'
buffer and lists all tags starting with 'b'
​
.

Note that org ido completion (which would be shown as 'Ido Completions'
buffer name) is not used although  (org-completion-use-ido t) if
(org-use-fast-tag-selection (quote
​
nil
​
))
​
.
​


3.
​I
​
n addition to problem 1., and problem 2., TAB does not show a full list of
tags in the Completions buffer
​
which start with 'a' {probably due to the tag 'a'
​
defined above}, but selecting another starting letter and hitting TAB opens
Completion buffer with all tags starting with 'b'
​
.

So, fast select seems broken.

I would expect it behave like this:

1. having (org-complete-tags-always-offer-all-agenda-tags t) and
(org-use-fast-tag-selection (quote auto)) should limit the tags selection
to ASCII only characters or offer double character selection like [aa]-[zz]
if there are more tags that az permits. Use numbers perhaps too?.
2. If 1. is not possible then perhaps limit the characters to
​
'
​
a
​
-
​
z
​
'
​
 and leaving other tags out of the fast select but allow TAB to choose all
tags in all org files using org-ido?

I'm forced currently to disable (org-use-fast-tag-selection (quote auto))
 setting it to  (org-use-fast-tag-selection (quote
​
nil
​
)) and use the Completions buffer, which
​
seems to work more consistently.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-13  8:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-13  8:22 (org-use-fast-tag-selection (quote auto)) - problem with TAB Completion and non ASCII tag selection characters [\200] Shavkat Rustamov

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