]> git.eshelyaron.com Git - emacs.git/commitdiff
2009-02-20 Carsten Dominik <dominik@science.uva.nl>
authorCarsten Dominik <dominik@science.uva.nl>
Fri, 20 Feb 2009 09:02:49 +0000 (09:02 +0000)
committerCarsten Dominik <dominik@science.uva.nl>
Fri, 20 Feb 2009 09:02:49 +0000 (09:02 +0000)
* org-remember.el (org-remember-apply-template): Turn off ido for
this completion.

* org.el (org-priority): Also find invisible headings, for remote
editing.
(org-completing-read-no-ido): New function.
(org-make-tags-matcher, org-set-property): Turn off ido for this completion.

* org-colview.el (org-columns-edit-value): No special treatment of
prefix arg.

lisp/org/ChangeLog
lisp/org/org-colview.el
lisp/org/org-remember.el
lisp/org/org.el

index 7e66c35dfddd255c299a8c022e421ec1da0b0fff..c3b5f12dd102615805213ba4f2f51af9c0c69bec 100644 (file)
@@ -1,3 +1,16 @@
+2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
+
+       * org-remember.el (org-remember-apply-template): Turn off ido for
+       this completion.
+
+       * org.el (org-priority): Also find invisible headings, for remote
+       editing.
+       (org-completing-read-no-ido): New function.
+       (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
+
+       * org-colview.el (org-columns-edit-value): No special treatment of
+       prefix arg.
+
 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
 
        * org.el (org-block-todo-from-children-or-siblings): Use
index 3171332e252112d0a51e2d3c73d2edfc0d500e7c..5a896185590c57e6ef6d0a00ce6c8cbad671a33b 100644 (file)
@@ -383,8 +383,7 @@ If yes, throw an error indicating that changing it does not make sense."
 Where possible, use the standard interface for changing this line."
   (interactive)
   (org-columns-check-computed)
-  (let* ((external-key key)
-        (col (current-column))
+  (let* ((col (current-column))
         (key (or key (get-char-property (point) 'org-columns-key)))
         (value (get-char-property (point) 'org-columns-value))
         (bol (point-at-bol)) (eol (point-at-eol))
@@ -406,9 +405,7 @@ Where possible, use the standard interface for changing this line."
                    (org-edit-headline))))
      ((equal key "TODO")
       (setq eval '(org-with-point-at pom
-                   (let ((current-prefix-arg
-                          (if external-key current-prefix-arg '(4))))
-                     (call-interactively 'org-todo)))))
+                                    (call-interactively 'org-todo))))
      ((equal key "PRIORITY")
       (setq eval '(org-with-point-at pom
                    (call-interactively 'org-priority))))
index 2efc6a47957b96ed113dd708bf0e31fd9215ea5e..d2dcedfeb5cee4b8cd9fb5d26b0e03556b9e828e 100644 (file)
@@ -538,7 +538,7 @@ to be run from that hook to function properly."
                           propprompt
                           (mapcar 'list (org-split-string allowed "[ \t]+"))
                           nil 'req-match)
-                       (org-completing-read propprompt existing nil nil
+                       (org-completing-read-no-ido propprompt existing nil nil
                                             "" nil ""))))
              (org-set-property prop val)))
           (char
index d9177579912fd060b6f674277f817833936310cc..2f9847e2fee7d0baf58de34596b85b9f891b227e 100644 (file)
@@ -6956,6 +6956,10 @@ used as the link location instead of reading one interactively."
     (org-defkey minibuffer-local-completion-map "?" 'self-insert-command)
     (apply 'org-ido-completing-read args)))
 
+(defun org-completing-read-no-ido (&rest args)
+  (let (org-completion-use-ido)
+    (apply 'org-completing-read args)))
+
 (defun org-ido-completing-read (&rest args)
   "Completing-read using `ido-mode' speedups if available"
   (if (and org-completion-use-ido
@@ -9391,7 +9395,7 @@ ACTION can be `set', `up', `down', or a character."
   (setq action (or action 'set))
   (let (current new news have remove)
     (save-excursion
-      (org-back-to-heading)
+      (org-back-to-heading t)
       (if (looking-at org-priority-regexp)
          (setq current (string-to-char (match-string 2))
                have t)
@@ -9652,7 +9656,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-completing-read
+      (setq match (org-completing-read-no-ido
                   "Match: " 'org-tags-completion-function nil nil nil
                   'org-tags-history))))
 
@@ -10889,7 +10893,7 @@ in the current file."
          (existing (mapcar 'list (org-property-values prop)))
          (val (if allowed
                   (org-completing-read "Value: " allowed nil 'req-match)
-                (org-completing-read
+                (org-completing-read-no-ido
                  (concat "Value" (if (and cur (string-match "\\S-" cur))
                                      (concat "[" cur "]") "")
                          ": ")