Re: [Orgmode] Bug: org-agenda-query-and-cmd results in (wrong-type-argument char-or-string-p nil) when org-agenda-query-string is unset [6.33trans (release_6.33c.27.g1bb0d)]
Hey! Case closed! Thanks a lot for spotting this! Nick Dokos schrieb: Perhaps that's because you are loading contrib/lisp/org-interactive-query.el, which redefines keys in the agenda mode map: ---Zitatende--- Exactly that was the problem... I think there was a lazy day in the past where I just said let's check this out, tried it, never used it again and forgot about it. ;-} Best regards Friedel -- Friedrich Delgado Friedrichs frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: org-agenda-query-and-cmd results in (wrong-type-argument char-or-string-p nil) when org-agenda-query-string is unset [6.33trans (release_6.33c.27.g1bb0d)]
Friedrich Delgado Friedrichs frie...@nomaden.org wrote: Hiho! I can't use the '/' command from the agenda. Here's a backtrace: Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) insert(Query: nil \n) (save-window-excursion (if expert (set-buffer ...) (delete-other-windows) (split-window-vertically) (org-switch-to-buffer-other-window ...)) (erase-buffer) (org-set-local (quote org-done-keywords) done-keywords) (insert Query: current \n) (org-agenda-query-op-line op) (insert \n\n) (org-fast-tag-show-exit exit-after-next) (setq tbl fulltable char 97 cnt 0) (while (setq e ...) (cond ... ... ...)) (setq ntable (nreverse ntable)) (insert \n) (goto-char (point-min)) (if (and ... ...) (fit-window-to-buffer)) (setq rtn (catch ... ...)) (if rtn current nil)) (let* ((fulltable ...) (maxlen ...) (fwidth ...) (ncol ...) (expert ...) (exit-after-next org-agenda-query-selection-single-key) (done-keywords org-done-keywords) tbl char cnt e groups ingroup tg c2 c c1 ntable rtn) (save-window-excursion (if expert ... ... ... ...) (erase-buffer) (org-set-local ... done-keywords) (insert Query: current \n) (org-agenda-query-op-line op) (insert \n\n) (org-fast-tag-show-exit exit-after-next) (setq tbl fulltable char 97 cnt 0) (while ... ...) (setq ntable ...) (insert \n) (goto-char ...) (if ... ...) (setq rtn ...) (if rtn current nil))) org-agenda-query-selection(nil + nil ((REMINDER . 114) (DONE . 107) (CANCELLED . 99) (DOING . 100) (TODO . 116))) (let ((q ...)) (when q (setq org-agenda-query-string q) (org-agenda-redo))) org-agenda-query-generic-cmd(+) org-agenda-query-and-cmd() call-interactively(org-agenda-query-and-cmd nil nil) Not sure what's wrong here, because it looks like this works for other people. Perhaps that's because you are loading contrib/lisp/org-interactive-query.el, which redefines keys in the agenda mode map: (org-defkey org-agenda-mode-map = 'org-agenda-query-clear-cmd) (org-defkey org-agenda-mode-map / 'org-agenda-query-and-cmd) (org-defkey org-agenda-mode-map ; 'org-agenda-query-or-cmd) (org-defkey org-agenda-mode-map \\ 'org-agenda-query-not-cmd) HTH, Nick ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode