From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Bug: void-variable filter-buffer-substring-functions [7.5 (release_7.5.384.g94b32)] Date: Thu, 16 Jun 2011 10:29:47 -0700 Message-ID: <87sjr9d6r8.fsf@gmail.com> References: <87mxhhhlke.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXGOA-0007dJ-MN for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 13:29:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXGO9-00078U-4q for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 13:29:54 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:49971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXGO8-00078N-Lu for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 13:29:52 -0400 Received: by pvc12 with SMTP id 12so1538134pvc.0 for ; Thu, 16 Jun 2011 10:29:51 -0700 (PDT) In-Reply-To: <87mxhhhlke.fsf@norang.ca> (Bernt Hansen's message of "Thu, 16 Jun 2011 10:56:17 -0400") 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: Bernt Hansen Cc: emacs-orgmode@gnu.org 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 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/