Browse Source

Agenda: Allow typing a question mark in an agenda query string

Reported by Paul R.
Carsten Dominik 16 years ago
parent
commit
9aa72230a2
2 changed files with 6 additions and 1 deletions
  1. 4 0
      lisp/ChangeLog
  2. 2 1
      lisp/org.el

+ 4 - 0
lisp/ChangeLog

@@ -1,5 +1,9 @@
 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org.el (org-make-tags-matcher): Never use IDO for completing the
+	tags matcher match string.
+	(org-completing-read): Also remove the special biding for "?".
+
 	* org-attach.el (org-attach-allow-inheritance): New option.
 	(org-attach-inherited): New variable.
 	(org-attach-dir): Handle properties related to the attachment

+ 2 - 1
lisp/org.el

@@ -6830,6 +6830,7 @@ used as the link location instead of reading one interactively."
   (let ((minibuffer-local-completion-map
 	 (copy-keymap minibuffer-local-completion-map)))
     (org-defkey minibuffer-local-completion-map " " 'self-insert-command)
+    (org-defkey minibuffer-local-completion-map "?" 'self-insert-command)
     (apply 'org-ido-completing-read args)))
 
 (defun org-ido-completing-read (&rest args)
@@ -9445,7 +9446,7 @@ also TODO lines."
     ;; Get a new match request, with completion
     (let ((org-last-tags-completion-table
 	   (org-global-tags-completion-table)))
-      (setq match (org-ido-completing-read
+      (setq match (org-completing-read
 		   "Match: " 'org-tags-completion-function nil nil nil
 		   'org-tags-history))))