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: DynamicBindingVsLexicalBinding Date: Sat, 12 Oct 2013 19:56:26 +0200 Message-ID: <52598D4A.2010901@easy-emacs.de> 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 1381600467 20443 80.91.229.3 (12 Oct 2013 17:54:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Oct 2013 17:54:27 +0000 (UTC) To: "help-gnu-emacs@gnu.org List" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 12 19:54:31 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 1VV3OV-0001Rv-0T for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Oct 2013 19:54:27 +0200 Original-Received: from localhost ([::1]:58960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VV3OU-0002JC-MW for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Oct 2013 13:54:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VV3OF-0002Iu-SQ for help-gnu-emacs@gnu.org; Sat, 12 Oct 2013 13:54:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VV3O9-0002A7-JF for help-gnu-emacs@gnu.org; Sat, 12 Oct 2013 13:54:11 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:62696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VV3O9-0002A3-8U for help-gnu-emacs@gnu.org; Sat, 12 Oct 2013 13:54:05 -0400 Original-Received: from purzel.sitgens (brln-4db9de66.pool.mediaWays.net [77.185.222.102]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0MH9sM-1Va3aL0rDu-00DnWn; Sat, 12 Oct 2013 19:54:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 X-Provags-ID: V02:K0:+ndiJ5jp8PgjvaQqJdLVmBMBistJhDKs1lU19bq2EU7 rkSArxYFfTEIdvO5byiGxGIpigwGTea7JHCJzyaJyy1Cqck0DB rplUEBpqNikUbuRv0b1yW0MWL/OxitsU7PN4TTZxqLehCmzbJx Jj/elqIbNHNgj3p8vF4CPLs3Bj8uKUjJ3vznlA4dX0Cv77tlLl c5vvs20qj1abfN9dJgHSm79NTPsbKgVxZI4+wBHC97SAdrVxzv KJVLEuMvKh2O7LHf7U79Ci3hsiw8DlacloBSC6vRDc31KF5i+i g4yXfi5iq9ivWkKW0v1m8pQ0CR2DTb3IJ8rI+PVVFSum5HXcoc f3HA1GbbL5wNczbd/lYeZv5KHIO9UO+2OXNb+Zbjm X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.8 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:93958 Archived-At: Hi, in article http://www.emacswiki.org/emacs/DynamicBindingVsLexicalBinding it's said WRT lexical binding "Because it's (1) much easier for the user [that is, programmer], because it eliminates the problem of which variables lambda-expressions use (when they attempt to use variables from their surrounding context)" Unfortunately couldn't find a use-case where it is easier - while consenting it might be easier for the compiler to swallow. Could someone give an example, where lexical binding makes coding easier? TIA, Andreas