Hi Bernt, Thanks for the easy to follow-instructions.
I've been able to reproduce this error using Emacs23. It looks as though the `filter-buffer-substring-functions' variable is not defined in any Emacs prior to 24. I am not sure what the best way is to remove all usage of the now-deprecated `buffer-substring-filters' variable without using this new potentially-missing variable. For now I've reverted this commit, while I try to figure out the best solution here. Thanks -- Eric Bernt Hansen <be...@norang.ca> writes: > Hi Eric, > > Commit 66e8a4b (Globally replace buffer-substring-filters with > filter-buffer-substring-functions., 2011-06-14) breaks clock reports > with the following backtrace below when org-indent-mode is enabled. > > The key sequence to reproduce this error with the minimal emacs setup > below is as follows: > > | Key | Description | > |---------+-----------------------| > | C-c a a | Go to the agenda | > | R | Show the clock report | > > Reverting this commit fixes this for me. > > Regards, > Bernt > > /tmp/test.el > (setq org-startup-indented t) > > ~/bin/minimal-emacs > #!/bin/sh > TESTEL= > TESTFILE=/tmp/test.el > if test -e $TESTFILE > then > TESTEL="-l /tmp/test.el" > fi > emacs -q -l ~/minimal.emacs $TESTEL $1 > > ~/minimal.emacs > (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp")) > (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . > org-mode)) > (require 'org-install) > > (global-set-key "\C-cl" 'org-store-link) > (global-set-key "\C-ca" 'org-agenda) > (global-set-key "\C-cb" 'org-iswitchb) > > > Debug Backtrace > Debugger entered--Lisp error: (void-variable > filter-buffer-substring-functions) [...] > org-indent-mode(1) > > Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) > of 2010-12-11 on raven, modified by Debian > Package: Org-mode version 7.5 (release_7.5.384.g94b32) > -- Eric Schulte http://cs.unm.edu/~eschulte/