From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Declaring a local dynamic variable? Date: Fri, 20 Sep 2013 16:54:52 +0200 Message-ID: <523C61BC.4060602@easy-emacs.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1379688795 7425 80.91.229.3 (20 Sep 2013 14:53:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2013 14:53:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 20 16:53:18 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VN257-0002gU-BJ for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Sep 2013 16:53:17 +0200 Original-Received: from localhost ([::1]:56220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN256-0005QA-Tc for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Sep 2013 10:53:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN24q-0005Pp-9T for help-gnu-emacs@gnu.org; Fri, 20 Sep 2013 10:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN24i-0002il-RP for help-gnu-emacs@gnu.org; Fri, 20 Sep 2013 10:53:00 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:53928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN24i-0002iX-IC for help-gnu-emacs@gnu.org; Fri, 20 Sep 2013 10:52:52 -0400 Original-Received: from purzel.sitgens (brln-4db9ce52.pool.mediaWays.net [77.185.206.82]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LsdiP-1W39BK0tXF-011xe2; Fri, 20 Sep 2013 16:52:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: X-Provags-ID: V02:K0:nN0OkK0BtVTJz6yLWqK+IliTrVkX5gsxauq86BZrEf/ A2i4jDLMnnE2v+ug4GhfdrHXE4ue8x1nU+WxJYEop68rQuJydG y6/z8DIIqTU7FMhMjghA6NLBM1h+xOIiOKTJUXzyE6ZqdfT4pv M3T1dyxTAV6qEq+Ckbzlpn1cACw0OhAXMjXzOU2PUwf92oKX7w /74D7tni6TNr+Fx7aXMMKolTe4yfjjShYu3Bp+4x2fPy4ozHvW UiYTdNba7BnJTfxcbl8wIHP83AAPN5+9M1F/E+uBML4mlCHbVE /QsE/sDHUliY0JBmoBRc0yQ0lu1sSw/tBG9ldIsBEt/9CVyzpk Nn/sydH3S0eGt8uMIXQwNJshxXZN/OYd4c6/cmjFU X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93468 Archived-At: Am 20.09.2013 14:30, schrieb Stefan Monnier: >> If I purposefully use a local dynamic variable as in: > > Use (defvar my-counter) at the file's top-level to indicate that this > variable is used in a way that relies on dynamic scoping. > > > Stefan > > > A need to write code just to silence compiler warnings? Emacs could do better.