From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill White Subject: Re: Buffer *temp* modified; kill anyway? Date: Wed, 04 Mar 2009 13:57:54 -0600 Message-ID: <87d4cxf4cd.fsf@wolfram.com> References: <874oy9gpwo.fsf@wolfram.com> <9344.1236191912@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LexDt-0002zn-Qn for emacs-orgmode@gnu.org; Wed, 04 Mar 2009 14:57:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LexDt-0002yu-7J for emacs-orgmode@gnu.org; Wed, 04 Mar 2009 14:57:45 -0500 Received: from [199.232.76.173] (port=59292 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LexDt-0002yg-18 for emacs-orgmode@gnu.org; Wed, 04 Mar 2009 14:57:45 -0500 Received: from webmail.wolfram.com ([140.177.205.37]:56236) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LexDs-00050z-Fi for emacs-orgmode@gnu.org; Wed, 04 Mar 2009 14:57:44 -0500 In-Reply-To: <9344.1236191912@alphaville.usa.hp.com> (Nick Dokos's message of "Wed, 04 Mar 2009 13:38:32 -0500") 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org On Wed Mar 04 2009 at 12:38, Nick Dokos wrote: > Bill White wrote: > >> Hi all - >> >> "Buffer *temp* modified; kill anyway?" is driving me nuts. >> >> Has anyone seen this error message when html-exporting pages that >> contain #+begin_src ? I get this once for every #+begin_src >> ... #+end_src group on a page. I assume it's coming from htmlize.el, >> but I haven't been able to isolate the problem with edebug. I'm using >> the latest htmlize.el from >> http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el >> >> Any ideas what's going on and how to silence it? If it weren't for this >> I'd be able to publish without babysitting the process through >> source-heavy files. >> > > Bill, > > I just tried exporting the following: > > ,---- > | * Lisp source code > | > | #+begin_src emacs-lisp > | (defun org-xor (a b) > | "Exclusive or." > | (if a (not b) b)) > | #+end_src > `---- > > and did not have the problem you describe. Can you post a minimal example? Here's one that triggers it: ,---- | * Lisp source code | | #+begin_src message | From: Nick Dokos | Subject: Re: [Orgmode] Buffer *temp* modified; kill anyway? | To: Bill White | Cc: emacs-orgmode@gnu.org | Date: Wed, 04 Mar 2009 13:38:32 -0500 (from Gnus) | Reply-To: nicholas.dokos@hp.com | X-Sent: 1 hour, 9 minutes, 51 seconds ago | Message-ID: <9344.1236191912@alphaville.usa.hp.com> | #+end_src `---- Interestingly, the message is not triggered when I use your example with its "#+begin_src emacs-lisp", nor does "#+begin_src mma" trigger it (using Tim Wichmann's mma.el). My versions are: - Org-mode version 6.23trans - GNU Emacs 23.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-02-14 on billw-desktop - htmlize-version 1.34 - message.el version 1.169 (from the emacs cvs checkout above) Thanks for the example - I didn't realize that some src modes didn't trigger the problem. Cheers - bw -- Bill White . billw@wolfram.com . http://members.wolfram.com/billw "No ma'am, we're musicians."