emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Shavkat Rustamov <shavkat.rustamov@gmail.com>
To: emacs-orgmode@gnu.org
Subject: (org-use-fast-tag-selection (quote auto)) - non ASCII characters shown as e.g. [\200] and other problems
Date: Thu, 12 Feb 2015 18:59:16 +0500	[thread overview]
Message-ID: <CANDCbn-+wJGaLGn_NK2Efo5NU8+zEoydHLU_YRDwUYG0Yctg0Q@mail.gmail.com> (raw)

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

I have set up only one persistent tag set with a key character like this:
(org-tag-persistent-alist (quote (("@i_shopping" . 105))))

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:
Running C-q in an org file on a heading shows a fast selection splash
window:
1. The main problem is that the assigned fast pick characters are not only
'a-z',  but also 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 (quote auto)) and hitting TAB after
C-q actually shows the selection of all tags in a Completions buffer as
expected, except in the Capture Buffer.

3. In a Capture Buffer, in addition to problem 1., and problem 2.,  TAB
does not show a full list of tags in the Completions buffer (with the
disabled fast select as in Problem 2. above).  However, typing a first
letter of a tag and then TAB will list all tags beginning with that letter
in all the org files and not only org-tag-persistent-alist.

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 az and
leaving other tags out of the fast select but allow TAB to choose all tags
in all org files using org-ido?

3. what is the point of 'auto' in  (org-use-fast-tag-selection (quote
auto)) if it does exactly the same thing if set to  (org-use-fast-tag-selection
(quote always))?

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

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

                 reply	other threads:[~2015-02-12 14:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CANDCbn-+wJGaLGn_NK2Efo5NU8+zEoydHLU_YRDwUYG0Yctg0Q@mail.gmail.com \
    --to=shavkat.rustamov@gmail.com \
    --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).