From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dominik Schrempf Subject: Bug: Agenda Custom Command org-agenda-prefix-format %l returns error [8.3beta (release_8.3beta-1025-g7b97b6 @ /home/dominik/.emacs.d/org-mode/lisp/)] Date: Fri, 10 Apr 2015 17:37:40 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d041826e6a1652f0513608c24 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygb0O-00069r-KL for emacs-orgmode@gnu.org; Fri, 10 Apr 2015 11:38:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ygb0M-0002fi-LG for emacs-orgmode@gnu.org; Fri, 10 Apr 2015 11:38:04 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:34214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygb0M-0002fQ-94 for emacs-orgmode@gnu.org; Fri, 10 Apr 2015 11:38:02 -0400 Received: by widjs5 with SMTP id js5so18750027wid.1 for ; Fri, 10 Apr 2015 08:38:00 -0700 (PDT) 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 --f46d041826e6a1652f0513608c24 Content-Type: text/plain; charset=UTF-8 Hello, I tried to configure org-agenda-custom-commands by (setq org-agenda-custom-commands '((" " "Agenda" ((tags-todo "/!+TODO" ((org-agenda-overriding-header "University") (org-agenda-todo-ignore-scheduled t) (org-agenda-todo-ignore-deadlines t) (org-agenda-todo-ignore-with-date t) ;TODO: BUG, Indenting todo items does not work. (org-agenda-prefix-format " %i %-12:c%l%s") (org-agenda-sorting-strategy '(category-keep))))) nil))) I want the todo items to be indented according to their level with '%l'. However, when I add the '%l' flag and try to open this agenda view, I get: concat: Wrong type argument: buffer-or-string-p, 2 The error can be reproduced with a clean config (emacs -Q -l org-minimal.el) if one agenda file with todo items that match the criteria is present. Regards, Dominik Emacs : GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.7) of 2015-01-17 on bisson Package: Org-mode version 8.3beta (release_8.3beta-1025-g7b97b6 @ /home/dominik/.emacs.d/org-mode/lisp/) current state: ============== (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-agenda-custom-commands '((" " "Agenda" ((tags-todo "/!+TODO" ((org-agenda-overriding-header "University") (org-agenda-todo-ignore-scheduled t) (org-agenda-todo-ignore-deadlines t) (org-agenda-todo-ignore-with-date t) (org-agenda-prefix-format " %i %-12:c%l%s") (org-agenda-sorting-strategy (quote (category-keep)))) ) nil) ) ) org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-agenda-files '("~/Shared/emacs/org-files/index.org" "~/Shared/emacs/org-files/university.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) --f46d041826e6a1652f0513608c24 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdiBjbGFzcz0iZ21haWxfZGVmYXVsdCIgc3R5bGU9ImZvbnQtZmFt aWx5OnZlcmRhbmEsc2Fucy1zZXJpZiI+SGVsbG8sPGJyPkkgdHJpZWQgdG8gY29uZmlndXJlIG9y Zy1hZ2VuZGEtY3VzdG9tLWNvbW1hbmRzIGJ5PGJyPjxicj4oc2V0cSBvcmctYWdlbmRhLWN1c3Rv bS1jb21tYW5kczxicj7CoMKgwqDCoMKgICYjMzk7KCgmcXVvdDsgJnF1b3Q7ICZxdW90O0FnZW5k YSZxdW90Ozxicj7CoMKgwqDCoMKgwqDCoMKgICgodGFncy10b2RvICZxdW90Oy8hK1RPRE8mcXVv dDs8YnI+wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoKG9yZy1hZ2Vu ZGEtb3ZlcnJpZGluZy1oZWFkZXIgJnF1b3Q7VW5pdmVyc2l0eSZxdW90Oyk8YnI+wqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChvcmctYWdlbmRhLXRvZG8taWdub3Jl LXNjaGVkdWxlZCB0KTxicj7CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqAgKG9yZy1hZ2VuZGEtdG9kby1pZ25vcmUtZGVhZGxpbmVzIHQpPGJyPsKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAob3JnLWFnZW5kYS10b2RvLWlnbm9yZS13aXRo LWRhdGUgdCk8YnI+wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDtU T0RP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