From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: wgreenhouse@riseup.net (W. Greenhouse) Newsgroups: gmane.emacs.help Subject: Re: Declaring a local dynamic variable? Date: Sat, 28 Sep 2013 06:24:32 +0000 Message-ID: <878uyh1n1b.fsf@motoko.kusanagi> References: <87zjqyyq5r.fsf@informatimago.com> <5246751B.3020204@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1380349508 22159 80.91.229.3 (28 Sep 2013 06:25:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Sep 2013 06:25:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 28 08:25:11 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 1VPnxn-0001E6-EQ for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Sep 2013 08:25:11 +0200 Original-Received: from localhost ([::1]:39864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPnxn-0002H4-1B for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Sep 2013 02:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPnxX-0002Gb-4t for help-gnu-emacs@gnu.org; Sat, 28 Sep 2013 02:25:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPnxR-0006oT-0c for help-gnu-emacs@gnu.org; Sat, 28 Sep 2013 02:24:55 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPnxQ-0006oP-Pm for help-gnu-emacs@gnu.org; Sat, 28 Sep 2013 02:24:48 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VPnxP-0000uO-FA for help-gnu-emacs@gnu.org; Sat, 28 Sep 2013 08:24:47 +0200 Original-Received: from politkovskaja.torservers.net ([77.247.181.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Sep 2013 08:24:47 +0200 Original-Received: from wgreenhouse by politkovskaja.torservers.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Sep 2013 08:24:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: politkovskaja.torservers.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:2xwUrglTqcVdUJyqpyt0VeJW+Z4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:93686 Archived-At: Andreas Röhler writes: > Am 27.09.2013 22:18, schrieb Pascal J. Bourguignon: > [ ... ] >> >> The conclusion is that in emacs lisp you have to prefix ALL the symbols! >> Which clearly demonstrates a failure of the language. >> > > Resp. of it's implementation. > > Why not uniquify --instead of prefixing-- under the hood? As has already been pointed out in this thread, Emacs does have (via cl-lib or more specifically cl-macs) a version of `declare' whose special-variable declarations are respected by the byte compiler. So it's a solved problem; I don't understand why Pascal and others are NIHing it and then complaining about the deficiencies of Emacs Lisp. The general usefulness of this functionality, however, does make me wonder why it's still stuck in the cl namespace. It seems like a prime candidate for promotion to subr or similar. -- Regards, WGG