From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Newsgroups: gmane.emacs.devel Subject: Re: "Warning: `save-excursion' defeated by `set-buffer'" madness Date: Mon, 15 Feb 2010 12:19:48 +0100 Message-ID: <20100215111948.GB2289@headley> References: <20100212204057.GG27521@headley> <20100214001755.GA2289@headley> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1266232565 8648 80.91.229.12 (15 Feb 2010 11:16:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2010 11:16:05 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Barry Fishman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 15 12:16:02 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 1Ngyvp-0002z4-Gh for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2010 12:16:01 +0100 Original-Received: from localhost ([127.0.0.1]:56214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ngyvo-00029T-6v for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2010 06:16:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ngyvg-00029L-1p for emacs-devel@gnu.org; Mon, 15 Feb 2010 06:15:52 -0500 Original-Received: from [140.186.70.92] (port=50865 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ngyve-000294-2A for emacs-devel@gnu.org; Mon, 15 Feb 2010 06:15:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ngyvc-0006ea-On for emacs-devel@gnu.org; Mon, 15 Feb 2010 06:15:49 -0500 Original-Received: from mail-fx0-f215.google.com ([209.85.220.215]:45217) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ngyvc-0006eW-FG for emacs-devel@gnu.org; Mon, 15 Feb 2010 06:15:48 -0500 Original-Received: by fxm7 with SMTP id 7so4904972fxm.8 for ; Mon, 15 Feb 2010 03:15:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=qrRayTyS7QljM7f40SKq8xtUO8RqCMJUNY2AVk7VdT0=; b=TlO1WcyGc7BBJccd9gnWUwtKkmTzs+f237RPfVGy8/hQRdoecM06lQbCgOqN52NGyl NNSBKr42r7GKCEkIqID3XpXooPhfvun6cVhJ/dHEY2yLgW/LuESwMo6OagIOeMI1plLZ oHiJjuCiZatCEkahIzT5R4OkJXedK7Z/vCeFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=oJp++QEegY+qNiZC/DY3oqS8jCMRnA8V9OCE7OUVmKeizD2jMvOpTf9nExEFGl7FPV w/ag9aTLQXQ/H+R780juGGMB06K4L+2/Ql8lV+xXVaSWcNRZLa4ghvvHxYkH99O4jv0L aEjh8tCNbj6bunvDBSxysezjtmNjWe2AvnAGk= Original-Received: by 10.223.15.154 with SMTP id k26mr1756568faa.77.1266232546787; Mon, 15 Feb 2010 03:15:46 -0800 (PST) Original-Received: from localhost ([88.103.132.186]) by mx.google.com with ESMTPS id 22sm9874099fkr.57.2010.02.15.03.15.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Feb 2010 03:15:46 -0800 (PST) Mail-Followup-To: Barry Fishman , Stefan Monnier , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-27) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:121128 Archived-At: On Sun, Feb 14, 2010 at 02:38:13PM -0500, Barry Fishman wrote: > Stefan Monnier writes: > >>> > Is there any way I can get rid of these warnings globally? It's > >>> > really annoying to have *Compile-Log* pop up every now and then. > >>> I put the following in my .emacs file: > >>> ;; Shut off compiler error pop-up warning about > >>> ;; save-excursion defeated by set-buffer > >>> (setq byte-compile-warnings '(not suspicious)) > >> Oh, great, thanks! > >> I knew there had to be a way... > > > > I really hope you did first report the warning to get it fixed. I > > currently only know of one external package (BBDB) where this warnings > > pops up like this, so if you're using BBDB, try to install a newer > > version. Err, for some reason I didn't receive Stefan's mail Barry is quoting here and replying to. It's also not in the online archives, lists.gnu.org or gmane. I'm using BBDB from CVS, but AFAIK the last commit occured in 2005. Actually, it's not always obvious to me how to find the source of the warnings (other than trying to grep all the sources) -- it appears when invoking `ibuffer', for instance, but not with emacs -q; and I have no customization of ibuffer whatsoever, so I have no idea what could be the issue there. In short, I believe it's a very annoying issue for the end users. Regards, Štěpán