From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ed Hirgelt" Subject: Re: org-mode 4.63 (was: agenda mode) Date: Thu, 25 Jan 2007 13:27:03 -0800 Message-ID: <44d0d9630701251327i253b3a14h610f1e3253c51a7b@mail.gmail.com> References: <0e9e7d99d16c36b3aa874a302ac5a6a8@science.uva.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1519191465==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HAC7f-00075h-BW for emacs-orgmode@gnu.org; Thu, 25 Jan 2007 16:27:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HAC7c-00075T-Ub for emacs-orgmode@gnu.org; Thu, 25 Jan 2007 16:27:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAC7c-00075Q-P9 for emacs-orgmode@gnu.org; Thu, 25 Jan 2007 16:27:04 -0500 Received: from ug-out-1314.google.com ([66.249.92.170]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HAC7c-0001xK-CJ for emacs-orgmode@gnu.org; Thu, 25 Jan 2007 16:27:04 -0500 Received: by ug-out-1314.google.com with SMTP id j3so639776ugf for ; Thu, 25 Jan 2007 13:27:03 -0800 (PST) In-Reply-To: <0e9e7d99d16c36b3aa874a302ac5a6a8@science.uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org --===============1519191465== Content-Type: multipart/alternative; boundary="----=_Part_6415_11969988.1169760423109" ------=_Part_6415_11969988.1169760423109 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 1/25/07, Carsten Dominik wrote: > > I have just uploaded 4.63 which fixes this problem for now - Both 4.62 & 4.63 suffer from another problem, perhaps limited to XEmacs. In org-agenda-mode org-set-local is called like this: (org-set-local 'buffer-substring-filters (cons (lambda (x) (set-text-properties 0 (length x) nil x) x) buffer-substring-filters)) Unfortunately, buffer-substring-filters is evaluated before it is created resulting in an error. I've patched my version temporarily like this (which is a bit redundant): ;; Make sure properties are removed when copying text (make-local-variable 'buffer-substring-filters) (org-set-local 'buffer-substring-filters (cons (lambda (x) (set-text-properties 0 (length x) nil x) x) buffer-substring-filters)) Thanks, Ed ------=_Part_6415_11969988.1169760423109 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 1/25/07, Carsten Dominik <dominik@science.uva.nl> wrote:
I have just uploaded 4.63 which fixes this problem for now -


Both 4.62 & 4.63 suffer from another problem, perhaps limited to XEmacs.

In  org-agenda-mode  org-set-local is called like this:

  (org-set-local 'buffer-substring-filters
         (cons (lambda (x) (set-text-properties 0 (length x) nil x) x)
               buffer-substring-filters))

Unfortunately, buffer-substring-filters is evaluated before it  is created resulting in an error.
I've patched my version temporarily  like this (which is a bit redundant):

  ;; Make sure properties are removed when copying text
  (make-local-variable 'buffer-substring-filters)
  (org-set-local 'buffer-substring-filters
         (cons (lambda (x) (set-text-properties 0 (length x) nil x) x)
               buffer-substring-filters))

Thanks,
Ed
 

------=_Part_6415_11969988.1169760423109-- --===============1519191465== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1519191465==--