emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with completion and case in tag search
@ 2018-05-23 10:03 Alain.Cochard
  2018-05-27 20:14 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Alain.Cochard @ 2018-05-23 10:03 UTC (permalink / raw)
  To: org-mode


Hello.

I run 

   emacs -Q -l ~/tmp/scr.emacs 

The file ~/tmp/scr.emacs contains

   (add-to-list 'load-path "~/.emacs.d/elpa/org-20180521/")
   (setq org-agenda-files '("~/tmp/bug-agenda.org"))
   (global-set-key "\C-ca" 'org-agenda)
   (find-file "~/tmp/bug-agenda2.org") ;; <- empty file

The file ~/tmp/bug-agenda.org contains

   * foo :bar:baR:Bar:BAR:

When in the empty document ~/tmp/bug-agenda2.org,

if I type

   C-a m <TAB>

it gives "BAR" in the minibuffer.

If I type

   C-a m B<TAB>

it also gives "BAR".

If I type

   C-a m b<TAB>

it gives "baR".

Is it normal?  Am I doing something wrong?  Thank you.  Regards.


Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version
3.18.9) of 2016-04-11 on buildvm-25.phx2.fedoraproject.org Package:
Org mode version 9.1.13 (9.1.13-elpa @
/home/cochard/.emacs.d/elpa/org-20180521/)
 

-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     

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

* Re: Problem with completion and case in tag search
  2018-05-23 10:03 Problem with completion and case in tag search Alain.Cochard
@ 2018-05-27 20:14 ` Nicolas Goaziou
  2018-05-27 22:58   ` Alain.Cochard
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2018-05-27 20:14 UTC (permalink / raw)
  To: Alain.Cochard; +Cc: org-mode

Hello,

Alain.Cochard@unistra.fr writes:

> I run 
>
>    emacs -Q -l ~/tmp/scr.emacs 
>
> The file ~/tmp/scr.emacs contains
>
>    (add-to-list 'load-path "~/.emacs.d/elpa/org-20180521/")
>    (setq org-agenda-files '("~/tmp/bug-agenda.org"))
>    (global-set-key "\C-ca" 'org-agenda)
>    (find-file "~/tmp/bug-agenda2.org") ;; <- empty file
>
> The file ~/tmp/bug-agenda.org contains
>
>    * foo :bar:baR:Bar:BAR:
>
> When in the empty document ~/tmp/bug-agenda2.org,
>
> if I type
>
>    C-a m <TAB>
>
> it gives "BAR" in the minibuffer.
>
> If I type
>
>    C-a m B<TAB>
>
> it also gives "BAR".
>
> If I type
>
>    C-a m b<TAB>
>
> it gives "baR".
>
> Is it normal?  Am I doing something wrong?  Thank you.  Regards.

I pushed a fix in master. Could you confirm it fixes your issue?

Thank you.

Regards,

-- 
Nicolas Goaziou

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

* Re: Problem with completion and case in tag search
  2018-05-27 20:14 ` Nicolas Goaziou
@ 2018-05-27 22:58   ` Alain.Cochard
  0 siblings, 0 replies; 3+ messages in thread
From: Alain.Cochard @ 2018-05-27 22:58 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: org-mode, Alain.Cochard

Nicolas Goaziou writes on Sun 27 May 2018 22:14:

> > The file ~/tmp/bug-agenda.org contains
 > >
 > >    * foo :bar:baR:Bar:BAR:
 > >
 > > When in the empty document ~/tmp/bug-agenda2.org,
 > >
 > > if I type
 > >
 > >    C-a m <TAB>
 > >
 > > it gives "BAR" in the minibuffer.
 > >
 > > If I type
 > >
 > >    C-a m B<TAB>
 > >
 > > it also gives "BAR".
 > >
 > > If I type
 > >
 > >    C-a m b<TAB>
 > >
 > > it gives "baR".
 > >
 > > Is it normal?  Am I doing something wrong?  Thank you.  Regards.
 > 
 > I pushed a fix in master. Could you confirm it fixes your issue?

Yes it does: everything works as expected now.  Thank you very much.

I can't help being surprised though: this problem is likely to affect
any user using both upper and lower case for tags, and it has been
around for a while now (it is also there for version 8.2) -- how come
nobody reported it?  Well, it is just curiosity...

Regards

-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     

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

end of thread, other threads:[~2018-05-27 22:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23 10:03 Problem with completion and case in tag search Alain.Cochard
2018-05-27 20:14 ` Nicolas Goaziou
2018-05-27 22:58   ` Alain.Cochard

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