From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shavkat Rustamov 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 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d041824dcf18961050ee48863 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLuJD-0004uW-Fs for emacs-orgmode@gnu.org; Thu, 12 Feb 2015 09:00:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLuJC-000233-6i for emacs-orgmode@gnu.org; Thu, 12 Feb 2015 08:59:59 -0500 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:38246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLuJB-00022x-Sd for emacs-orgmode@gnu.org; Thu, 12 Feb 2015 08:59:58 -0500 Received: by mail-wi0-f181.google.com with SMTP id r20so4546816wiv.2 for ; Thu, 12 Feb 2015 05:59:56 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --f46d041824dcf18961050ee48863 Content-Type: text/plain; charset=UTF-8 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. --f46d041824dcf18961050ee48863 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have set up only one persistent tag set with a key=C2=A0c= haracter like this:
(org-tag-persistent-alist (quote (("@i_shoppin= g" . 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-comp= lete-tags-always-offer-all-agenda-tags t)
=C2=A0
Finally I= 9;d like to have a fast selection splash screen:
(org-use-fast-tag-s= election (quote auto)) =C2=A0

Now the problems:=C2=A0
Runnin= g 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=C2=A0characters are not only 'a-z', =C2=A0but= =C2=A0also non-ASCII=C2=A0characters which are shown as:
- [\200] tagname1
- [\204] tagname2
- etc
<= div class=3D"gmail_default" style>There seems to be no way to select tagnam= e1 or tagname2.

2. With all the above variables unchanged hitting= the TAB here for selection of tags in the minibuffer only allows tags alre= ady in the file, ignoring the=C2=A0(org-= complete-tags-always-offer-all-agenda-tags t) variable. Disabling=C2=A0(org-use-fast-tag-selection (quote au= to)) and hitting TAB after C-q actually shows the selection of all tags in = a Completions buffer as expected, except in the Capture Buffer.
<= /div>
=
3. In a Capture Buffer, in addition to problem 1., and problem = 2., =C2=A0TAB does not show a full list of tags in the Completions buffer (= with the disabled fast select as in Problem 2. above).=C2=A0 However, typin= g a first letter of a tag and then TAB will list all tags beginning=C2=A0with that letter in all the org files and not = only=C2=A0org-tag-persistent-alis= t.

So, fast select seems broken.

I= =C2=A0would expect it =C2=A0behave like this= :
1= . having=C2=A0(org-complete-tags-= always-offer-all-agenda-tags t) and=C2=A0(org-use-fast-tag-selection (quote auto)) should limit the tags sel= ection to ASCII only=C2=A0characters or offe= r double character selection like [aa]-[zz] if there are more tags that az = permits. Use numbers perhaps too?= .=C2=A0

2. If 1. is not possible then perhaps limit the= =C2=A0characters to az and leaving other tag= s 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=C2=A0=C2=A0(org-use-f= ast-tag-selection (quote auto)) if it does exactly the same thing if set to= =C2=A0=C2=A0(org-use-fast-tag-selection (quote always))?

I'm forc= ed currently to disable=C2=A0(org= -use-fast-tag-selection (quote auto)) =C2=A0setting it to=C2=A0=C2=A0(org-use= -fast-tag-selection (quote never))=C2=A0and use the Completions buffer, which seems to work more consistentl= y.




--f46d041824dcf18961050ee48863--