From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: "Warning: `save-excursion' defeated by `set-buffer'" madness Date: Mon, 15 Feb 2010 07:44:01 -0800 Message-ID: <13BE082136C4435C9735B9B88844336C@us.oracle.com> References: <20100212204057.GG27521@headley><20100214001755.GA2289@headley> <20100215111948.GB2289@headley> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1266248703 5508 80.91.229.12 (15 Feb 2010 15:45:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2010 15:45:03 +0000 (UTC) Cc: 'Stefan Monnier' , emacs-devel@gnu.org To: "=?iso-8859-2?Q?'=A9tep=E1n_Nemec'?=" , "'Barry Fishman'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 15 16:45:00 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nh386-0001oq-RK for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2010 16:44:59 +0100 Original-Received: from localhost ([127.0.0.1]:55587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nh386-0004ew-CA for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2010 10:44:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nh380-0004en-6k for emacs-devel@gnu.org; Mon, 15 Feb 2010 10:44:52 -0500 Original-Received: from [140.186.70.92] (port=55015 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nh37z-0004ef-Cn for emacs-devel@gnu.org; Mon, 15 Feb 2010 10:44:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nh37y-0004VW-MO for emacs-devel@gnu.org; Mon, 15 Feb 2010 10:44:51 -0500 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:60528) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nh37y-0004VJ-Hm for emacs-devel@gnu.org; Mon, 15 Feb 2010 10:44:50 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o1FFiTdD029357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 15 Feb 2010 15:44:40 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o1FFFFMx028275; Mon, 15 Feb 2010 15:44:25 GMT Original-Received: from abhmt015.oracle.com by acsmt355.oracle.com with ESMTP id 30175691266248627; Mon, 15 Feb 2010 07:43:47 -0800 Original-Received: from dradamslap1 (/24.5.179.75) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Feb 2010 07:43:47 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20100215111948.GB2289@headley> Thread-Index: AcquMEfQwuIii9aZSXyNjGwxlI/+QQAJFJMA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4B796BDC.018B:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121130 Archived-At: > Actually, it's not always obvious to me how to find the source of the warnings FWIW (possibly amusing anecdote) - When this (nifty feature | annoyance) first was (given to | foisted on) us, I not only got the compiler warning when I compiled; I also got it in a popup window when I started Emacs. It took me a while to discover that the culprit was a defadvice that uses the compile option. It was compiling on the fly at runtime, of course, but for some reason that didn't occur to me while I searched for the cause.