From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: save-excursion and save-current-buffer - edits to the manual Date: Mon, 14 Mar 2011 18:33:39 -0400 Message-ID: References: <19836.61380.828000.270873@gargle.gargle.HOWL><1D85C3D14179400982EEB993C6CFFD99@us.oracle.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: dough.gmane.org 1300142033 22887 80.91.229.12 (14 Mar 2011 22:33:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2011 22:33:53 +0000 (UTC) Cc: u.s.reddy@cs.bham.ac.uk, emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 23:33:48 2011 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 1PzGKi-0004il-GL for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2011 23:33:48 +0100 Original-Received: from localhost ([127.0.0.1]:41731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzGKh-000815-EW for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2011 18:33:47 -0400 Original-Received: from [140.186.70.92] (port=33479 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzGKc-00080u-Bl for emacs-devel@gnu.org; Mon, 14 Mar 2011 18:33:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzGKb-0005pk-5K for emacs-devel@gnu.org; Mon, 14 Mar 2011 18:33:42 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:44244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzGKb-0005pg-3k for emacs-devel@gnu.org; Mon, 14 Mar 2011 18:33:41 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PzGKZ-0006ME-Sh; Mon, 14 Mar 2011 18:33:39 -0400 In-reply-to: (drew.adams@oracle.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:137229 Archived-At: So now we've apparently gone all the way - from a warning issued supposedly just in case, because a tiny minority of cases where `save-excursion' is used with `set-buffer' are deemed (by some) to be inappropriate or not ideal, to your claiming outright that use of `save-excursion' "contradicts the compiler" and "the compiler says no", it simply cannot be used. Compiler warnings should be programmers' assistants, not their masters. That is why we have with-no-warnings. We implement helpful warnings about constructions that _might_ be mistakes, but that doesn't mean they are taboo. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org, www.gnu.org