From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ed Hirgelt" Subject: buffer-substring-filters again Date: Thu, 25 Jan 2007 13:33:54 -0800 Message-ID: <44d0d9630701251333see4ab9ak2144850f06421e91@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0766454200==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HACEJ-00013l-M1 for emacs-orgmode@gnu.org; Thu, 25 Jan 2007 16:33:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HACEH-00013A-6d for emacs-orgmode@gnu.org; Thu, 25 Jan 2007 16:33:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HACEG-000136-VO for emacs-orgmode@gnu.org; Thu, 25 Jan 2007 16:33:56 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HACEF-00036k-Lv for emacs-orgmode@gnu.org; Thu, 25 Jan 2007 16:33:56 -0500 Received: by ug-out-1314.google.com with SMTP id j3so641336ugf for ; Thu, 25 Jan 2007 13:33:54 -0800 (PST) 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 --===============0766454200== Content-Type: multipart/alternative; boundary="----=_Part_6579_4578678.1169760834289" ------=_Part_6579_4578678.1169760834289 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Oops, my fix wasn't completely correct either. This one is and is less redundant although it doesn't keep with the spirit of org-set-local (org-set-local 'buffer-substring-filters (cons (lambda (x) (set-text-properties 0 (length x) nil x) x) (if (boundp 'buffer-substring-filters) buffer-substring-filters nil))) -- Ed Hirgelt Life is too short to read bad books. ------=_Part_6579_4578678.1169760834289 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Oops, my fix wasn't completely correct either.  This one is and is less redundant although it doesn't keep with the spirit of org-set-local

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


--
Ed Hirgelt 

Life is too short to read bad books. ------=_Part_6579_4578678.1169760834289-- --===============0766454200== 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 --===============0766454200==--