From unknown Sun Jun 22 03:51:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23781 <23781@debbugs.gnu.org> To: bug#23781 <23781@debbugs.gnu.org> Subject: Status: 25.0.95; read-string with HIST lexically bound Reply-To: bug#23781 <23781@debbugs.gnu.org> Date: Sun, 22 Jun 2025 10:51:06 +0000 retitle 23781 25.0.95; read-string with HIST lexically bound reassign 23781 emacs submitter 23781 Tino Calancha severity 23781 normal tag 23781 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 17 01:19:21 2016 Received: (at submit) by debbugs.gnu.org; 17 Jun 2016 05:19:21 +0000 Received: from localhost ([127.0.0.1]:43751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDmBc-0005c3-MV for submit@debbugs.gnu.org; Fri, 17 Jun 2016 01:19:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDmBb-0005br-BZ for submit@debbugs.gnu.org; Fri, 17 Jun 2016 01:19:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDmBU-0000Uy-VF for submit@debbugs.gnu.org; Fri, 17 Jun 2016 01:19:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDmBU-0000Ud-SC for submit@debbugs.gnu.org; Fri, 17 Jun 2016 01:19:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDmBS-0004M4-6y for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2016 01:19:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDmBN-0000Tk-TK for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2016 01:19:09 -0400 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]:33910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDmBN-0000Tc-J1 for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2016 01:19:05 -0400 Received: by mail-pf0-x231.google.com with SMTP id h14so11915039pfe.1 for ; Thu, 16 Jun 2016 22:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=HX03r2HJtkRKSQ+3/8jdzM+d/GZs/lCWjkn0Eyqv/z4=; b=qD6tF7TP+KIu0Aw8ratvMkYcGacIafGZxyWEOy4z0QMW5Px9UaKno4fstwEcEwEYz/ TkN8AMQzbCBnltZM9AqjovMcgY7vawV1Acco1wSklSncizlbFG+Obt+n6q0wMFcjz8Ln 2fYnlDeoj66HMocBkm1jWpFmwMESuHqBKQSdRTm+/R1uQNAOWv5U8WwIzwnbo5qDmbJq 3hsfsZf8i1hurx0NX8wBdL6K9zkzgG0rBHomkd46KIriI2f5oO6urb6JnBxIxNlxn4cu k/9T024cEB7oUx7OQOf1j68SXB7VlQ7mzt9bCNt1VlH7NB+Jh5iei4tsChQsEGGNtqxz wFoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=HX03r2HJtkRKSQ+3/8jdzM+d/GZs/lCWjkn0Eyqv/z4=; b=Vz122GSGiFvdr9JuSeIM+GrSdDavqTgoblfty/Q4/3DPZ4ZmWfcqt0a8nHefQ9kLDB 8OagSySMb8vfNPmNR6BpfeajO7OsPF1HFz2wqDq9bK1ZUOCwoeIQaDD9bSZr81COIoz9 xWRF94Jh6mPCCCcAtyxDs/G2wq0+tN4Uc/leAHI5tktEF6iSxBmg+ynhij0NNvSjMvUe KUMo7xvfUZtI8q1NZBKVosFVaOvFWNrI28wjuDhPB8trf/SpaDOULnYDnfW1h9muv1Ay BTijVjUEynxRI4mufZOU7zIWFK8a76ADCSAOhqbeekhrscN+QSt2YDsPD90+JWBnQQVY dDFw== X-Gm-Message-State: ALyK8tIhekgNo3UCGg4QwIUv+KYlc/ulzLxNNKHKwQ/dht3qOk9FjdIDhOPfVxQD1Gh9ow== X-Received: by 10.98.193.65 with SMTP id i62mr332919pfg.78.1466140744479; Thu, 16 Jun 2016 22:19:04 -0700 (PDT) Received: from [192.168.1.51] (softbank126075177055.bbtec.net. [126.75.177.55]) by smtp.gmail.com with ESMTPSA id b67sm13372766pfg.85.2016.06.16.22.19.03 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 16 Jun 2016 22:19:04 -0700 (PDT) To: bug-gnu-emacs@gnu.org From: Tino Calancha Subject: 25.0.95; read-string with HIST lexically bound Message-ID: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> Date: Fri, 17 Jun 2016 14:19:02 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello, recently i have noticed that arg HIST in read-from-minibuffer/read-string needs to be dynamically bound. If the file has the local variable lexical-binding non-nil those functions just pick up one element of HIST. In case this is a feature, it would be worth to mention it on the manual. Following example reproduce the issue: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; I) Create two files 'test-dynamic.el', 'test-lexical.el' as follows: *) test-dynamic.el: (defun my-test-dynamic () "Test of dynamic-binding." (interactive) (let ((values '("a" "b" "c"))) (read-string "dynamic: " (car values) '(values . 1)))) *) test-lexical.el: ;; -*- lexical-binding: t; -*- (defvar my-test-var nil) (defun my-test-lexical-defvar () "Test of lexical-binding with defvar." (interactive) (let ((values '("a" "b" "c"))) (setq my-test-var values)) (read-string "lexical-defvar: " (car my-test-var) '(my-test-var . 1))) (defun my-test-lexical () "Test of lexical-binding." (interactive) (let ((values '("a" "b" "c"))) (read-string "lexical: " (car values) '(values . 1)))) II) emacs -Q -l test-dynamic.el -l test-lexical.el II.1) M-x my-test-dynamic RET ;; minibuffer shows: dynamic: a M-p ;; minibuffer shows: dynamic: b M-p ;; minibuffer shows: dynamic: c II.2) (Similar than II.1) M-x my-test-lexical-defvar RET ;; minibuffer shows: lexical-defvar: a M-p ;; minibuffer shows: lexical-defvar: b M-p ;; minibuffer shows: lexical-defvar: c II.3) (Different) M-x my-test-lexical RET ;; minibuffer shows: lexical: a M-p ;; user-error: Beginning of history; no preceding item ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 25.0.95.1 (x86_64-pc-linux-gnu, GTK+ Version 3.20.6) of 2016-06-15 built on calancha-pc Repository revision: d7084f2260943287cdfb5e3021ac33aab6a14c6d Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 System Description: Debian GNU/Linux testing (stretch) Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit [2 times] user-error: Beginning of history; no preceding item [2 times] Quit Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 86343 6478) (symbols 48 19751 0) (miscs 40 38 121) (strings 32 14375 4876) (string-bytes 1 409631) (vectors 16 11718) (vector-slots 8 428578 4129) (floats 8 164 84) (intervals 56 193 0) (buffers 976 11) (heap 1024 28246 991)) From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 17 11:25:14 2016 Received: (at 23781) by debbugs.gnu.org; 17 Jun 2016 15:25:14 +0000 Received: from localhost ([127.0.0.1]:44423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDvdy-00088o-Kn for submit@debbugs.gnu.org; Fri, 17 Jun 2016 11:25:14 -0400 Received: from mout.web.de ([212.227.15.3]:60424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDvdx-00088Z-ES for 23781@debbugs.gnu.org; Fri, 17 Jun 2016 11:25:13 -0400 Received: from drachen.dragon ([94.217.122.112]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0Lrb4v-1bOLjI45KX-013NvC; Fri, 17 Jun 2016 17:25:06 +0200 From: Michael Heerdegen To: Tino Calancha Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> Date: Fri, 17 Jun 2016 17:25:04 +0200 In-Reply-To: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> (Tino Calancha's message of "Fri, 17 Jun 2016 14:19:02 +0900") Message-ID: <877fdn96sv.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:nv35Jqp2l56TT0OkEqgRgw5TTrS0+BNonJz/quYqoMfQyxrMg9C aDVonP6IzRTZgWWAvhFSv/CbTZ0/x5gs7k8w5szSE9tWYAd0/+ceAvRhsL0uGc6GoYMEDru cemX3TylvYQsL3jyD3eKVJM4bBIFnX719CRlaYXet1LkWUg2qkVArIjB0footec3UoBaJhM Cz8lDQ+t8SnAGd9MFIuXw== X-UI-Out-Filterresults: notjunk:1;V01:K0:eXHhlsxkK0c=:e8OCIf9IFZvPtPoPeBsEUd Um6W20MYurIwlw1BhmxdkO/1HKQF1Aw+Ubs2jG11uYc2Sx9w5XPWM9K2YXOyWw/krH60dZ4i5 hri4AsjI7m7UZ3Bykh4J7/j7Jn+rVdBnj11pfnPMNE/4D1N2AlLhftxA3WPXAinO6piRmN4of ceoNk4USsumkOW8x7Wmy9m7BPdha/mRYxSLUa8xE7wiagQlkISdLz1w0eWdpus3UVAv9R8/4t YirpYjx/l1KxmEXjFsJBHlDULJIvRBZWCGFOWFv0zt21Y7mNGhHfJ7yViMr2F+b1zy8U8jRHR 0T0HFBgjtex2hrXaCiYkiSou0fdJCRqQK5/mx6IVNHjgFNyMDaRSqqIItFeDhw5vZ0YWgE52f 1MNml6B8Fw5Eaj1SxJoYblidKmhp3YLGVpGiEqx2iBHFBrVUxgRmNvRFMTlnz8LHXteTv7G2z 3POEEMmXC9OKrpyRviAh+MqtWDSYJSUx+O5u8xqsbGQTzgxU6sTSO57qE0r+1YQLfUg5jBCwE p3HXjPT9zOG6ja4LvCwtB0d1bxQYaGqL4F4jboy0UgECblbY3jGDCtPEoyH3BTt9qnrCxsllL dv7Bw23gTVWabJLcu8nq3ArHq8bri067Zl+jcVmoX5rJ6F7KDUpGanMy2pYVmjVUpWmsDklFp fhu4GDPrH3R1RLkaHTtgUbdCkQWDgC6NCgBvBtQpDm2/bGO6f72/bHdmA3yiWhoZJSVbI2Iv9 N0VdCw/56f92gwgoFxlXe9nUIZEoir+YXW2v1orrCC9DMbW0eMH58f/F+oKJvLWFqB8f77hqd cI9u/u0 X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23781 Cc: 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Tino Calancha writes: > (defun my-test-lexical () > "Test of lexical-binding." > (interactive) > (let ((values '("a" "b" "c"))) > (read-string "lexical: " (car values) '(values . 1)))) > > [...] > II.3) (Different) > M-x my-test-lexical RET > ;; minibuffer shows: lexical: a > M-p > ;; user-error: Beginning of history; no preceding item AFAICT this is expected and not specific to `read-string': A quoted symbol can never refer to a lexical binding - and `symbol-value' or `eval' always return the dynamic binding. Some time ago, Stefan gave a good explanation about this topic (in emacs-dev, I think). Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 23 19:01:59 2016 Received: (at 23781) by debbugs.gnu.org; 23 Jun 2016 23:01:59 +0000 Received: from localhost ([127.0.0.1]:53104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGDdH-0002dm-64 for submit@debbugs.gnu.org; Thu, 23 Jun 2016 19:01:59 -0400 Received: from mail-oi0-f41.google.com ([209.85.218.41]:35487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGDdF-0002YM-7V for 23781@debbugs.gnu.org; Thu, 23 Jun 2016 19:01:57 -0400 Received: by mail-oi0-f41.google.com with SMTP id r2so92574934oih.2 for <23781@debbugs.gnu.org>; Thu, 23 Jun 2016 16:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=H+MjYpMFwdGNGKuR7BPaE2QOSNyN4NdN4SJKUuPidrY=; b=svned9iVVAQ9IHogo3zn6eFoRD73Wpg+dsED1NKi30iw5WdgvQ46TYY9B9NTXAywSv BcfdlCpyeQBEtjeni4MM9C42xxrYJm1WVS5i/jzppXEJ9/FrsbdeYYt6vQdeEYkK+4qI 2y3z/bzSVLbaGrumLlkyZB6hWPUskqTLzqZ5C3ZYQgl+j5VPG0mvkKVyNiXihhy2vhRS dUmcRtctA9mweibELK9XjCss99rmgvEvEVjgHodrGEQWcZioTYVXapmO5SIdXwVD4iab 5YXghA/4uz7ppCO9zJXqvzH4oi6v2ujOvxD7ARmMBHo+HVdDmLrW8eRE40NvMBAiqNKC gnNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=H+MjYpMFwdGNGKuR7BPaE2QOSNyN4NdN4SJKUuPidrY=; b=QmMdFzDZuJNXUv7Wx79oJjr5SKbxwN6M9xTeDIiSkCyzAIryz+q4n/jFZ1JH7z7FP3 m+ro28dV2ywhKYB4WOigRzRVLeB9Dj9ZWaPOngF0v3yKDAkTR+txAvpnTNu5DxHwA0Re hDkyIvxK6Q1SuXgUYbLIV56IIIOjM2A54TK5UGBIKP1CUfzpWDMS+vkt6+UETe4kQdad 6Pk7XcITzn/vvz5v3Wqlmn1uXjkruxtKQnIlylZGubnnlmQNdMCgpQ5pZ94dO0GK8evR smiP7VDOo7wV6vCqMCjPTttQjiPwwxoFDLgEBoe3nCMITwl8qseQbZs0Idm6FmaP9ZM0 Qa9Q== X-Gm-Message-State: ALyK8tK2hw7TZWYmbb/HxHr2qFDpYhZFgvSKm0ANfJ6v2HHfdLTkVlZyYWHx0E5Zpw0NQiYVsVdHWC7S4YxUgQ== X-Received: by 10.202.219.135 with SMTP id s129mr762439oig.144.1466722911596; Thu, 23 Jun 2016 16:01:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.52.238 with HTTP; Thu, 23 Jun 2016 16:01:51 -0700 (PDT) In-Reply-To: <877fdn96sv.fsf@web.de> References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> From: Noam Postavsky Date: Thu, 23 Jun 2016 19:01:51 -0400 X-Google-Sender-Auth: UBjSDk72vx4vMkHEP4gsDC32HhA Message-ID: Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound To: Michael Heerdegen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 23781 Cc: Tino Calancha , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On Fri, Jun 17, 2016 at 11:25 AM, Michael Heerdegen wrote: > > AFAICT this is expected and not specific to `read-string': A quoted > symbol can never refer to a lexical binding - and `symbol-value' or > `eval' always return the dynamic binding. Right, it's sort of hinted at in the elisp manual (11.9.3 Lexical Binding): Note that functions like =E2=80=98symbol-value=E2=80=99, =E2=80=98bound= p=E2=80=99, and =E2=80=98set=E2=80=99 only retrieve or modify a variable=E2=80=99s dynamic binding (i.e., the contents of its symbol=E2=80=99s value cell). I think we should be a little more specific, not just give examples, something like: Note that functions which take a symbol argument (like =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2=80=98= set=E2=80=99) can only retrieve or modify a variable=E2=80=99s dynamic binding (i.e., the contents of its symbol=E2= =80=99s value cell). Sort of releated: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21185 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 23 19:19:03 2016 Received: (at 23781) by debbugs.gnu.org; 23 Jun 2016 23:19:03 +0000 Received: from localhost ([127.0.0.1]:53124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGDtn-0004ro-Ea for submit@debbugs.gnu.org; Thu, 23 Jun 2016 19:19:03 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:29173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGDtl-0004rI-L4 for 23781@debbugs.gnu.org; Thu, 23 Jun 2016 19:19:02 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5NNItHU013678 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Jun 2016 23:18:55 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u5NNIsW0003851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Jun 2016 23:18:54 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u5NNIqik002990; Thu, 23 Jun 2016 23:18:54 GMT MIME-Version: 1.0 Message-ID: <321d46ee-407f-4a6e-93be-302a55da6196@default> Date: Thu, 23 Jun 2016 16:18:52 -0700 (PDT) From: Drew Adams To: Noam Postavsky , Michael Heerdegen Subject: RE: bug#23781: 25.0.95; read-string with HIST lexically bound References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 23781 Cc: Tino Calancha , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.7 (---) > > AFAICT this is expected and not specific to `read-string': A quoted > > symbol can never refer to a lexical binding - and `symbol-value' or > > `eval' always return the dynamic binding. >=20 > Right, it's sort of hinted at in the elisp manual (11.9.3 Lexical Binding= ): >=20 > Note that functions like =E2=80=98symbol-value=E2=80=99, =E2=80=98bou= ndp=E2=80=99, and =E2=80=98set=E2=80=99 only > retrieve or modify a variable=E2=80=99s dynamic binding (i.e., the > contents of its symbol=E2=80=99s value cell). >=20 > I think we should be a little more specific, not > just give examples, something like: >=20 > Note that functions which take a symbol argument (like > =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2=80= =98set=E2=80=99) can only retrieve or modify a > variable=E2=80=99s dynamic binding (i.e., the contents of its symbol= =E2=80=99s > value cell). >=20 > Sort of releated: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21185 Be even more specific: A Lisp symbol is a dynamic thing. It is an object. Lexical binding has nothing to do with symbols. A given _name_ in code can sometimes be lexically bound. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 23 22:24:23 2016 Received: (at 23781) by debbugs.gnu.org; 24 Jun 2016 02:24:23 +0000 Received: from localhost ([127.0.0.1]:53170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGGn9-0000nc-5U for submit@debbugs.gnu.org; Thu, 23 Jun 2016 22:24:23 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:35893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGGn5-0000nN-KI for 23781@debbugs.gnu.org; Thu, 23 Jun 2016 22:24:21 -0400 Received: by mail-pf0-f179.google.com with SMTP id t190so34267753pfb.3 for <23781@debbugs.gnu.org>; Thu, 23 Jun 2016 19:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=kQGQ9RAJHFWchxeSfpWf71f6iod5MrBrLC2bv10Y4Vo=; b=bqJUvuBuX1Ydl2uc6q1HGS4cSi9EsoZgD0Gm82qUP/7zQNuyKKQKYW8jfaRN6BjqUo Ufa7IflHYys8UN9WpM4+kESj/ZHD3oI8RXb9BSR6Cmmocneo1HiDCuZc1TiAvqxXBUzZ jP74wfvDPMWBY9aJbiHIIc+BY7TViBISRCpoWppSqwgmjFoqEaw6Oqx8noVvYWw9EcFR 6V3oS7DfShtnIHwgyKrJLAjpJWcUqs6lg//ovCK02YCMY+N1R1Dis3GqzPsWCMNLfgIy kznqgGO64VQM8PZ9iATw5B/wpRrl0f2MUJTyNTU8I5wlMVUQOTIkDQu6dyvSK7a/4KQY v2hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=kQGQ9RAJHFWchxeSfpWf71f6iod5MrBrLC2bv10Y4Vo=; b=l1js4olWqgcBqSlr7Pi7lOfH0JKlRPQvXbnKzlICUM+BEIU5QcIjTCFMDbouj//BrN NWMbZmYKdXJZu3sMhTYWzKkd6LOIUSqZzytD5mRFStvc9PtL7DQk7kTQJQJNkMx3Bv1Q kcSsmdgJtgqPAVpI8qJdEC020WjuBc6jDnfYJwDQjbj6yF/Im3kAo6yTF2HyY6KEgDRw haOaq4rYQT/ZZc9gciS0nqEsCxIIc5SiHm8w7LLoIfXcCf9U7bnDMBqKSTEt0Raw/pif xL6r0REMtYlbSLphVjdHByQlICYg+M+7OgnWR0rh+GHgxNzV30EiI40kgFm3sY1W9Lpc ksBw== X-Gm-Message-State: ALyK8tJsE263GnvkZpfLt4KeJ0W20RtiEDqYZEuv9hV25aQdJu4auUtTZpq/6Q3lSkO3hg== X-Received: by 10.98.92.133 with SMTP id q127mr2819611pfb.103.1466735053825; Thu, 23 Jun 2016 19:24:13 -0700 (PDT) Received: from calancha-pc (softbank126103139048.bbtec.net. [126.103.139.48]) by smtp.gmail.com with ESMTPSA id x67sm3020487pfa.56.2016.06.23.19.24.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jun 2016 19:24:13 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Fri, 24 Jun 2016 11:24:10 +0900 (JST) X-X-Sender: calancha@calancha-pc To: Noam Postavsky Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound In-Reply-To: Message-ID: References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-1572162240-1466735052=:16288" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --8323329-1572162240-1466735052=:16288 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 23 Jun 2016, Noam Postavsky wrote: > I think we should be a little more specific, not > just give examples, something like: > > Note that functions which take a symbol argument (like > ‘symbol-value’, ‘boundp’, and ‘set’) can only retrieve or modify a > variable’s dynamic binding (i.e., the contents of its symbol’s > value cell). > > Sort of releated: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21185 +1 I read that part of the manual before opening this bug and i was still confuse. --8323329-1572162240-1466735052=:16288-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 20:26:54 2016 Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 00:26:54 +0000 Received: from localhost ([127.0.0.1]:54782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGbR0-0005s5-6x for submit@debbugs.gnu.org; Fri, 24 Jun 2016 20:26:54 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:35704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGbQy-0005rs-1g for 23781@debbugs.gnu.org; Fri, 24 Jun 2016 20:26:52 -0400 Received: by mail-oi0-f52.google.com with SMTP id r2so136403649oih.2 for <23781@debbugs.gnu.org>; Fri, 24 Jun 2016 17:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=U23OTFviXfPssjmTExBUN1SrsLhM1SGAXRWcxQWqC/Y=; b=H7Obdu+270ji/qdXB/q8KncM2zC6FP8QO/nGgPt9ModRLmBhXogG1ZLYn/yb1DIt8N eHk/USMTPAcYwE3LRHt3FlJzKWXX1PFeiIgVHLWV11fl1SRtQfAqFPbK1cViSNP2GlKM /LJthW7jesTCkLMr6ClhGDB96pvM9C5VR5lSNFzmlTeYxiX9fDUJLAXrJCCwTX8TWUIo PiHrTxXKlEE0FbcC5qv32kFhoeP+EF7loREbYOrT1jP+VbpC5YpMHnsJi68h/EfXh9ZF fhXjnRVpEu8Qn6OS15YI/CyQMS/0AiO/+3NQs62lv63CyCpNeb/mymWyRHeyCrJlNcut zLwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=U23OTFviXfPssjmTExBUN1SrsLhM1SGAXRWcxQWqC/Y=; b=GZ8Fh/VtValcSU7hoVlwgTEMbONay9oWtutbQdnqUrHBGIxgHat4eYV5/RtwuUzdoE Ff3+4sT0qMl8r5rtXAuCtJ8PGN6fUZUoDDULpXm3VmMwhAvhwga/L8bd5uHLJd2QS/bs v7pnJGFtDpmAk22t+EC5S+gFYKy4SsGiD0VM5mhVHYzbSzioExw8rtbq4MZtr0uYAztY s7v83C6WKwSEDyAWVwgBONZBFp4Q6q/7OyXqtLvUARn0ySaz1d4iPgkuggDccAkqMQJ1 lopP3GHEIOz8Gs5oF7ONZR5pM4P6VRGeTpHTiOrSLuwwQOU3sK0M3hVxYW1mSfJc5Jus 5KtA== X-Gm-Message-State: ALyK8tJMXuFDUCubQUTaTxSx33eoEZePc1MMHM2Kor+rmeOLTH4svWdVWceZaltwUviCOkoJTyFqhFMWYRd4jw== X-Received: by 10.202.85.9 with SMTP id j9mr4109141oib.202.1466814406334; Fri, 24 Jun 2016 17:26:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.52.238 with HTTP; Fri, 24 Jun 2016 17:26:45 -0700 (PDT) In-Reply-To: <321d46ee-407f-4a6e-93be-302a55da6196@default> References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> From: Noam Postavsky Date: Fri, 24 Jun 2016 20:26:45 -0400 X-Google-Sender-Auth: B6bDFDZnWE9U7TQzDxtj7MTgoxE Message-ID: Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound To: Drew Adams Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On Thu, Jun 23, 2016 at 7:18 PM, Drew Adams wrote: >> I think we should be a little more specific, not >> just give examples, something like: >> >> Note that functions which take a symbol argument (like >> =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2=80= =98set=E2=80=99) can only retrieve or modify a >> variable=E2=80=99s dynamic binding (i.e., the contents of its symbol= =E2=80=99s >> value cell). > > Be even more specific: A Lisp symbol is a dynamic thing. > It is an object. Lexical binding has nothing to do with symbols. > A given _name_ in code can sometimes be lexically bound. Hmm, this threatens to get a little philosophical, but that seems to contradict earlier text in the same node: Here is how lexical binding works. Each binding construct defines a =E2=80=9Clexical environment=E2=80=9D, specifying the symbols= that are bound within the construct and their local values. When the Lisp evaluator wants the current value of a variable, it looks first in the lexical environment; if the variable is not specified in there, it looks in the symbol=E2=80=99s value cell, where the dynamic value is stored. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 06:41:42 2016 Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 10:41:42 +0000 Received: from localhost ([127.0.0.1]:54923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGl1y-00068c-HV for submit@debbugs.gnu.org; Sat, 25 Jun 2016 06:41:42 -0400 Received: from mout.gmx.net ([212.227.15.15]:51011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGl1w-00068Q-KP for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 06:41:41 -0400 Received: from rosalinde ([89.245.114.250]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M2ts6-1bWlfm2Fhm-00saNa; Sat, 25 Jun 2016 12:41:16 +0200 From: Stephen Berman To: Noam Postavsky Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound In-Reply-To: (Noam Postavsky's message of "Fri, 24 Jun 2016 20:26:45 -0400") Date: Sat, 25 Jun 2016 12:12:46 +0200 Message-ID: <87oa6pwp9d.fsf@gmx.net> References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0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Wa2MnVTgY 0zh5Ilm X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On Fri, 24 Jun 2016 20:26:45 -0400 Noam Postavsky wrote: > On Thu, Jun 23, 2016 at 7:18 PM, Drew Adams wrote: >>> I think we should be a little more specific, not >>> just give examples, something like: >>> >>> Note that functions which take a symbol argument (like >>> =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2= =80=98set=E2=80=99) can only retrieve or modify a >>> variable=E2=80=99s dynamic binding (i.e., the contents of its symbo= l=E2=80=99s >>> value cell). >> >> Be even more specific: A Lisp symbol is a dynamic thing. >> It is an object. Lexical binding has nothing to do with symbols. >> A given _name_ in code can sometimes be lexically bound. > > Hmm, this threatens to get a little philosophical, but that seems to > contradict earlier text in the same node: > > Here is how lexical binding works. Each binding construct > defines a =E2=80=9Clexical environment=E2=80=9D, specifying the symbo= ls that are > bound within the construct and their local values. I think it's more a question of definition than philosophy: AFAIU using the word "symbols" here is strictly speaking incorrect; it should be "variables". Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 12:53:26 2016 Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 16:53:26 +0000 Received: from localhost ([127.0.0.1]:55658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGqpi-0000Sq-Kx for submit@debbugs.gnu.org; Sat, 25 Jun 2016 12:53:26 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:34963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGqpg-0000Sc-8w for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 12:53:24 -0400 Received: by mail-oi0-f48.google.com with SMTP id r2so153327484oih.2 for <23781@debbugs.gnu.org>; Sat, 25 Jun 2016 09:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=mC/ke9boVNq35Myou1a/rX3u1GAUX+X/+xRPWkdQmQA=; b=i7HdpkEpHPMO6AYme1Ty1QI27m0euXVUNYHVWXZShDav7wVqZxr53RZ8hjNd66yP8K skXg6da9GDarhbfdxDktC2MOEa+nPrOjWuPPqzin9+yPmRquEH6y9EKRa475GIQjfknW 9+vFfFGMrQDX9inVtMNyMTad5XD70DSBuWVB9Y4jMcf4GXbVT8S98VTYWRlpcKSrvieT cyCwa+qs7NqtHI+qJ+9wi14ma5e0sIaOvwrhZyGk7J4HFfycE4/ofW2pr7c52VX4YzFA J0xTDSMoK14CqulT0z9UiUh3g+dXL4EC+uJdUpHChL1fSgUoFF7lLlM3khn0yae3U9Xx GdFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=mC/ke9boVNq35Myou1a/rX3u1GAUX+X/+xRPWkdQmQA=; b=O8UhqJzQQiJZ3j18CQHzCyJv7FI1AsVhIFFYo65+JxYzWqpH0mQWqkfgn9eRsxEyzB L6MyovEoJEhCPYQNerN0I3A3I73yTaWTSRtPvKCwmDY28uP4g+RPI5SivaXwvQTIEJwY Gqx8k0n8hF5jKR3Se6My1Afr1e8K1Iuu1i88LqA74hw4x4GIHxbApcavsfQ7yd+VXL+K vOOU4OIZGpgfCyBfOtr5p8UeYqXpSvVOCNVgDoPTMsusXK+JkLSruUy0PP58TJnVTg+M yMq+vxvxww+CR4qahtGnXvRNr27AcHqQ7kGfXnWbscBlAHmgc0UYaNq1iYqIQbMmGJ0E 0Qug== X-Gm-Message-State: ALyK8tKkv0U4hfXYlg6fX5oeKntx+Zkg5IkYKPRXusyz2shH6dMKWiQsjE5jbbHSb0307xxgmyyf5s+nPkaKTg== X-Received: by 10.202.5.193 with SMTP id 184mr4962093oif.143.1466873598607; Sat, 25 Jun 2016 09:53:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.52.238 with HTTP; Sat, 25 Jun 2016 09:53:18 -0700 (PDT) In-Reply-To: <87oa6pwp9d.fsf@gmx.net> References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> From: Noam Postavsky Date: Sat, 25 Jun 2016 12:53:18 -0400 X-Google-Sender-Auth: pKdij-HYpI2CoKCe5UdkB3VPIXQ Message-ID: Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound To: Stephen Berman Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sat, Jun 25, 2016 at 6:12 AM, Stephen Berman wr= ote: > On Fri, 24 Jun 2016 20:26:45 -0400 Noam Postavsky wrote: > >> On Thu, Jun 23, 2016 at 7:18 PM, Drew Adams wrot= e: >>>> I think we should be a little more specific, not >>>> just give examples, something like: >>>> >>>> Note that functions which take a symbol argument (like >>>> =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2= =80=98set=E2=80=99) can only retrieve or modify a >>>> variable=E2=80=99s dynamic binding (i.e., the contents of its symb= ol=E2=80=99s >>>> value cell). >>> >>> Be even more specific: A Lisp symbol is a dynamic thing. >>> It is an object. Lexical binding has nothing to do with symbols. >>> A given _name_ in code can sometimes be lexically bound. >> >> Hmm, this threatens to get a little philosophical, but that seems to >> contradict earlier text in the same node: >> >> Here is how lexical binding works. Each binding construct >> defines a =E2=80=9Clexical environment=E2=80=9D, specifying the symb= ols that are >> bound within the construct and their local values. > > I think it's more a question of definition than philosophy: AFAIU using > the word "symbols" here is strictly speaking incorrect; it should be > "variables". Yes, perhaps the implementation details leaked a bit too much into the description. I think it remains the case that the name of a variable is a symbol (as opposed to a string) though. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 14:54:01 2016 Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 18:54:01 +0000 Received: from localhost ([127.0.0.1]:55729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGsiP-00057D-8s for submit@debbugs.gnu.org; Sat, 25 Jun 2016 14:54:01 -0400 Received: from mout.gmx.net ([212.227.17.22]:55447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGsiN-000571-Nh for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 14:54:00 -0400 Received: from rosalinde ([89.245.114.250]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MOBOi-1bKAV13qUO-005boC; Sat, 25 Jun 2016 20:53:36 +0200 From: Stephen Berman To: Noam Postavsky Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> Date: Sat, 25 Jun 2016 20:53:34 +0200 In-Reply-To: (Noam Postavsky's message of "Sat, 25 Jun 2016 12:53:18 -0400") Message-ID: <8737o1w15d.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:SIcpZIXYrJIm02Mqp7J5pUMZqEz1JGm+FiV+PGBhvJEJOuhL3Nr PHssCJZ+BQbq6FWBOXUauS0wWysUBkbETZl9f4oWem9a4zQaH3Z0rwpCx7cPFPNGvcQSwW6 3VK0cerfb2nqK5siFD627K4HW0NdEZ5PWehUp/TvYGIqEEeoVxBDAq/s4e+fZnJXXoE8Bhd RFpDQ9OM/yV3/jk7zPtvg== X-UI-Out-Filterresults: notjunk:1;V01:K0:7BFB71+eVew=:xPNx+jHPxi/2hQwGXzNemu gCW6/uFu33Blz/bwR9eJCAC1J3Mf7WSzfChQmJrCZzzR6nrk6Mmx1lVwFyBlKveBar+ZiouQD VXGlonAruh8mXPCOR1V6shF9tOvQqca22k5lAHXi065c0OUsxvh0NWZtx78ZJzJkxEgTezfhD K+8L1y9ybOIZ/psxEgkOfOQMQmRwnBxHgdW27f3E/h2jx4GpDf6MyXC4a2XLerDDBoM3M6UcY UlupHSx7jE1ilXPjYBde4MOI2YaI9dtLxLD7fdqTDnRkkdwUgMqynzF7SyvYLDT1sK/cmXpif mPIw391hbYAP3YroEsHm9euit1GsGF/bgu6Hospe/TkqeCbmzzfq7+EkoxyIPLoUFERq3NwUy Uso0qwDOouDF3tvrwp3PgOyuvd0JAKZei1ZN6oLXOv4v47qIoQrNe9Ja6U6jCmn3NX0k157WA kxKMu6oWcncHGzxTzvdAk8dy8qDeDRA9AD9wnfTvSrWQS+zhMyVZj2D5lFazeXDNk3GHS0M+u N7n/e7L50iiEO5zvWB508oWSIadqEp4kyn6tFm+QDnhMSrRnA5RJAZA5n6h5b6uN5F3H6ByG3 WQTzw3sOtH2GWxsaITBYpCv5ERiPkzesORCrnw1D9TrzZAVgbgCc+roJLQJ8hAVaUVX3PmvVi 1yr3xlxY9qAc3sRN/Nxttp6Qw/0N/uzXqqUYJo8geD8IRSxymRx7QPGlQ+Z0VKB+q+U3ro3pD V/IAWVW5QDcONloO0RP+YcSMpb0nZiGW0MV8Ez5hE5v1ePBnHEYj8JN5qJCXAcx9wiBIrn0tX SD70qRR X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On Sat, 25 Jun 2016 12:53:18 -0400 Noam Postavsky wrote: > On Sat, Jun 25, 2016 at 6:12 AM, Stephen Berman = wrote: >> On Fri, 24 Jun 2016 20:26:45 -0400 Noam Postavsky >> wrote: >> >>> On Thu, Jun 23, 2016 at 7:18 PM, Drew Adams wro= te: >>>>> I think we should be a little more specific, not >>>>> just give examples, something like: >>>>> >>>>> Note that functions which take a symbol argument (like >>>>> =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2= =80=98set=E2=80=99) can only retrieve or modify a >>>>> variable=E2=80=99s dynamic binding (i.e., the contents of its sym= bol=E2=80=99s >>>>> value cell). >>>> >>>> Be even more specific: A Lisp symbol is a dynamic thing. >>>> It is an object. Lexical binding has nothing to do with symbols. >>>> A given _name_ in code can sometimes be lexically bound. >>> >>> Hmm, this threatens to get a little philosophical, but that seems to >>> contradict earlier text in the same node: >>> >>> Here is how lexical binding works. Each binding construct >>> defines a =E2=80=9Clexical environment=E2=80=9D, specifying the sym= bols that are >>> bound within the construct and their local values. >> >> I think it's more a question of definition than philosophy: AFAIU using >> the word "symbols" here is strictly speaking incorrect; it should be >> "variables". > > Yes, perhaps the implementation details leaked a bit too much into the > description. I think it remains the case that the name of a variable > is a symbol (as opposed to a string) though. Well, the info node `(elisp) Variables' says: In Lisp, each variable is represented by a Lisp symbol (see Symbols::). The variable name is simply the symbol=E2=80=99s name [...] and a symbol's name is a string (according to `symbol-name'). But maybe we should leave the bike shed before this gets too philosophical ;-) Steve Berman=20 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 15:46:45 2016 Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 19:46:46 +0000 Received: from localhost ([127.0.0.1]:55737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGtXR-00083Y-Ml for submit@debbugs.gnu.org; Sat, 25 Jun 2016 15:46:45 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:35770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGtXQ-00083M-55 for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 15:46:44 -0400 Received: by mail-oi0-f43.google.com with SMTP id r2so156292748oih.2 for <23781@debbugs.gnu.org>; Sat, 25 Jun 2016 12:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=5Lrt35DH23sVddYP4a93gL0GM7RZa5jYhbojF5hqT2I=; b=glsGYBdmp4fVGBkNZ/KWoVQZzTIGP5w4x822wxpTNP1Wy0MWnSNl2Y3KQ/Bb4NkxNy b7WAHTLdKFtxWtni1oQw9spknCnzU3Fld12lf785rTWiCqJjEXdTso4ghIEQLl47GKG5 jW4i0IvUfv/jpnWFFWtLojy4f08Be+x9ItbR89ydBgKSTx6mrNptlG23eYVBBbXfpdYE TWb6V/S2v6jIbgPNdwFkjkBTEo4ISr+vsSI2ibAQpOHyeqh3DslOLwjzLecLNQgR1Nno K8N9eFkRSg6IElB3V0MvFZHNTv/9aqsESbrSezcxGkZx+c2wOQvWJ/IBfOoecW/IQLqO eKjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=5Lrt35DH23sVddYP4a93gL0GM7RZa5jYhbojF5hqT2I=; b=kAr5LGP/rTr7mv9AvSydasu/1Em2qsFbOvGSWQs+5j8YMhb2gBr4udSh8gI0/eJNQn PK878+wv9OvYY6erIfzTofxuA3y4Wo0kthNb1vOEC5HrPs+3mblDV5NC0Zus/qd/dQDr iATkQJ7ln+b5U3kKeTQExce9OHVd/goiMhI+UPQeADye8KYq0NQ/dJAIjFmcBaC+Zg2I 7BKl9TzeQqK4kXO+tEUMmN8GyvQZ6al08u2etbmrJMqfjQNLEkDhbMBQxyEOAdE/gGHV Ie7SFxNyNb2p64SfsULUrMPgcVo2dkirqJeceQLY6OdWR54Q0Dj3+2hss10dqYrSe8bb oG9Q== X-Gm-Message-State: ALyK8tKqNNJi0DthjVhMRi1GHmqUXM6yfl6JrksgYGV05ZtdrPtpvBYQ35PX8E3qtQ0078g8YqHDYP0YTO4Qng== X-Received: by 10.157.24.118 with SMTP id t51mr7262934ott.92.1466883998626; Sat, 25 Jun 2016 12:46:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.52.238 with HTTP; Sat, 25 Jun 2016 12:46:38 -0700 (PDT) In-Reply-To: <8737o1w15d.fsf@gmx.net> References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> <8737o1w15d.fsf@gmx.net> From: Noam Postavsky Date: Sat, 25 Jun 2016 15:46:38 -0400 X-Google-Sender-Auth: 14heaKfw_pmhi4wR2RMuDH61Z9w Message-ID: Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound To: Stephen Berman Content-Type: multipart/mixed; boundary=001a113db3e2aa567405361f8bad X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a113db3e2aa567405361f8bad Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jun 25, 2016 at 2:53 PM, Stephen Berman wr= ote: > But maybe > we should leave the bike shed before this gets too philosophical ;-) Ugh, yes please. So can we agree on this updated wording? (as shown in attached patch) Note that unlike dynamic variables which are tied to the symbol object itself, the relationship between lexical variables and symbols is only present in the interpreter (or compiler). Therefore, functions which take a symbol argument (like =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2=80=98= set=E2=80=99) can only retrieve or modify a variable=E2=80=99s dynamic binding (i.e., the contents of its symbol=E2= =80=99s value cell). Also, the code in the body of a =E2=80=98defun=E2=80=99 o= r =E2=80=98defmacro=E2=80=99 cannot refer to surrounding lexical variable= s. Should it be updated any further? (if yes, please reply with concrete propo= sals) --001a113db3e2aa567405361f8bad Content-Type: text/x-patch; charset=US-ASCII; name="0001-Clarify-lexical-binding-with-symbol-args-behavior.patch" Content-Disposition: attachment; filename="0001-Clarify-lexical-binding-with-symbol-args-behavior.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ipvktadm0 RnJvbSAxNTFjMjgzN2RjNWM4MjA3MzQ2NWY2YjY4ZTAyMTZhMGU4MTQ5Y2Y3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb2FtIFBvc3RhdnNreSA8bnBvc3RhdnNAZ21haWwuY29tPgpE YXRlOiBGcmksIDI0IEp1biAyMDE2IDIwOjM5OjI0IC0wNDAwClN1YmplY3Q6IFtQQVRDSF0gQ2xh cmlmeSBsZXhpY2FsIGJpbmRpbmcgd2l0aCBzeW1ib2wgYXJncyBiZWhhdmlvcgoKKiBkb2MvbGlz cHJl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sIGFuZCBAY29kZXtzZXR9KSBjYW4gb25seSByZXRyaWV2ZSBvciBtb2RpZnkgYQordmFy aWFibGUncyBkeW5hbWljIGJpbmRpbmcgKGkuZS4sIHRoZSBjb250ZW50cyBvZiBpdHMgc3ltYm9s J3MgdmFsdWUKK2NlbGwpLiAgQWxzbywgdGhlIGNvZGUgaW4gdGhlIGJvZHkgb2YgYSBAY29kZXtk ZWZ1bn0gb3IKK0Bjb2Rle2RlZm1hY3JvfSBjYW5ub3QgcmVmZXIgdG8gc3Vycm91bmRpbmcgbGV4 aWNhbCB2YXJpYWJsZXMuCiAKIEBub2RlIFVzaW5nIExleGljYWwgQmluZGluZwogQHN1YnNlY3Rp b24gVXNpbmcgTGV4aWNhbCBCaW5kaW5nCi0tIAoyLjguMAoK --001a113db3e2aa567405361f8bad-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 16:43:03 2016 Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 20:43:03 +0000 Received: from localhost ([127.0.0.1]:55756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGuPu-0000zG-PK for submit@debbugs.gnu.org; Sat, 25 Jun 2016 16:43:02 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:41073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGuPt-0000yc-Nz for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 16:43:02 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5PKgsIr028254 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 25 Jun 2016 20:42:55 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u5PKgs4X028772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 25 Jun 2016 20:42:54 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u5PKgrHc014216; Sat, 25 Jun 2016 20:42:54 GMT MIME-Version: 1.0 Message-ID: Date: Sat, 25 Jun 2016 13:42:52 -0700 (PDT) From: Drew Adams To: Noam Postavsky , Stephen Berman Subject: RE: bug#23781: 25.0.95; read-string with HIST lexically bound References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) > > I think it's more a question of definition than philosophy: AFAIU using > > the word "symbols" here is strictly speaking incorrect; it should be > > "variables". >=20 > Yes, perhaps the implementation details leaked a bit too much into the > description. I think it remains the case that the name of a variable > is a symbol (as opposed to a string) though. The _name_ of a variable is not a symbol. A symbol is a Lisp object. It can have a name (`symbol-name'), a value as a (dynamic) variable (`symbol-value'), a value as a function (`symbol-function'), and a list of arbitrary Lisp values (`symbol-plist'). Other kinds of programming variables also exist in Emacs Lisp, including lexical variables. A `let' and similar constructs in the language can bind a lexical variable or it can bind a dynamic variable, that is, a symbol used as a variable. In the latter case, the bound value is available as the symbol's `symbol-value'. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 17:00:45 2016 Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 21:00:45 +0000 Received: from localhost ([127.0.0.1]:55778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGuh3-0003bg-IE for submit@debbugs.gnu.org; Sat, 25 Jun 2016 17:00:45 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:42093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGuh2-0003W4-2d for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 17:00:44 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5PL0bnj026694 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 25 Jun 2016 21:00:37 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u5PL0bXT009987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 25 Jun 2016 21:00:37 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u5PL0XBa019083; Sat, 25 Jun 2016 21:00:36 GMT MIME-Version: 1.0 Message-ID: Date: Sat, 25 Jun 2016 14:00:32 -0700 (PDT) From: Drew Adams To: Stephen Berman , Noam Postavsky Subject: RE: bug#23781: 25.0.95; read-string with HIST lexically bound References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> <8737o1w15d.fsf@gmx.net> In-Reply-To: <8737o1w15d.fsf@gmx.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) > Well, the info node `(elisp) Variables' says: >=20 > In Lisp, each variable is represented by a Lisp symbol (see > Symbols::). The variable name is simply the symbol=E2=80=99s name [..= .] >=20 > and a symbol's name is a string (according to `symbol-name'). But maybe > we should leave the bike shed before this gets too philosophical ;-) That was written (and was true) back when Emacs had only dynamic variables, that is, symbols that act as variables, with name `symbol-name' and value `symbol-value'. Unfortunately, the developer who added lexical binding to Emacs Lisp was not very strong or motivated in the Doc department (by his own admission), so that text was not amended. At least that's my guess for why it still says that. Section `Variable Scoping' was added to the manual to present lexical binding. And there is some hint of it in node `Local Variables'. The rest of the doc seems to generally be talking about dynamic variables (even if local, buffer-local, file-local, etc.). From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 18:07:45 2016 Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 22:07:45 +0000 Received: from localhost ([127.0.0.1]:55794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGvjs-0006HN-Pp for submit@debbugs.gnu.org; Sat, 25 Jun 2016 18:07:44 -0400 Received: from mout.gmx.net ([212.227.17.20]:62687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGvjr-0006H8-0v for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 18:07:43 -0400 Received: from rosalinde ([89.245.114.250]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MUm1o-1arlVr0WnU-00YCmK; Sun, 26 Jun 2016 00:07:19 +0200 From: Stephen Berman To: Noam Postavsky Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> <8737o1w15d.fsf@gmx.net> Date: Sun, 26 Jun 2016 00:07:17 +0200 In-Reply-To: (Noam Postavsky's message of "Sat, 25 Jun 2016 15:46:38 -0400") Message-ID: <87y45svs6i.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:PzVtYbeghtZ8LhSP3CDOqKdmQ3fWOb6EQQXZ+JIXWpCqGK+bWem XjiyyWde7S5mLNgDW0XPtjfT5bSHSNpQWubMyrMaYb9inhEqdQUJV2loHw8HvADKSBvFE2+ vk1PXwQckbMd9PKucioYWeKXabtQ3IzeHs8ox+Ea27JVRj4MdQC16dH7xlIFNqAiGFM4hxI Au3j3U51K8y8YRjQBjUuQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:Bx3jdAloZ3M=:Bav1cl0mofPAxFjvQdQavt in88ICjPBDMJwi1h3gQC3B49c2no2wZxvHbs6PpRSLQ7XzVWVY3xgPT3IG5YYQPgkQutn684B fmv2MdaptnFYa7k6X47/YFWenkd9mV00bSOwTCP7pixCVegwUuhy7hzmPDl3jejKnkGFa2GdJ w5vwOJvvbIIz7RdSCfij2Cidjov8+h2X+TF5LsH19d+xxGLNZttQrBka4WQ7HWxKIwARhtknp NNpOTY4RNN8v8eWWiRnvOxUfHE5vTa6KQTSY3GVPidpSpYBSRX0od60IA93Ft0W064SjSNa/B 4/4BIlqv3tWQiLHj+IpfA6fo1CUH+YGj/eCCrNRFbtttlelGzhJe030pKkw23ocALyTEj73YD xHSsN/NZvUvfo7mCLIkeez6cpOEPxRpIHtXE5U+EGI5xqQApra+5KU7U6Xm/NKbkF0uiQrJ40 oDni2mwxbCrdB4MWeNyuWxYCKon/0ySlKLUxOad/TJXcQPs/dDLx9GJwPliVaiGtH+u+hDAUq lJA1vAq9dsqV4bmwqvm3xEHkArTRYm9YexK8MMOIx9Ir1zohuvQvDO4y5o1Z0DGwm5HyQmkkD Tr+rTP1uRPbp3h7al02pal4JnU/E+S6qK4jbQ5sbUblqO5mU3QGtBwG3wHnc/19C05q0Rrsbf mDCr/jbSIAuW2j9WLoSKlVJII0V6zQPt44zqcnq76u6eW3Ub6Jm57lrTzRTwLgWqxFqY3p6Ku 0kv43NCKq2bMexfrwta990xYn7Mpvhdk9kFVlCo20FU47blRR96ifyipwOrgiGrTsQvnZ89Mu K3rg3jr X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On Sat, 25 Jun 2016 15:46:38 -0400 Noam Postavsky wrote: > So can we agree on this updated wording? (as shown in attached patch) > > Note that unlike dynamic variables which are tied to the symbol > object itself, the relationship between lexical variables and > symbols is only present in the interpreter (or compiler). > Therefore, functions which take a symbol argument (like > =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2=80= =98set=E2=80=99) can only retrieve or modify a > variable=E2=80=99s dynamic binding (i.e., the contents of its symbol= =E2=80=99s > value cell). Also, the code in the body of a =E2=80=98defun=E2=80=99= or > =E2=80=98defmacro=E2=80=99 cannot refer to surrounding lexical variab= les. This sounds clearer to me, thanks. > Should it be updated any further? (if yes, please reply with concrete pro= posals) I don't feel competent enough to judge that; however, Drew pointed out that the `(elisp) Variables' node I quoted from earlier and other places in the manual haven't been updated for lexical binding. Anyway, these questions would be more properly assigned to a separate bug report. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 19:43:02 2016 Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 23:43:02 +0000 Received: from localhost ([127.0.0.1]:55810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGxE6-00007k-3Q for submit@debbugs.gnu.org; Sat, 25 Jun 2016 19:43:02 -0400 Received: from mout.web.de ([212.227.17.11]:50424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGxE4-00007C-PM for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 19:43:01 -0400 Received: from drachen.dragon ([79.216.83.88]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MZlR4-1avZmY3Yis-00LWxS; Sun, 26 Jun 2016 01:42:33 +0200 From: Michael Heerdegen To: Stephen Berman Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> <8737o1w15d.fsf@gmx.net> <87y45svs6i.fsf@gmx.net> Date: Sun, 26 Jun 2016 01:42:28 +0200 In-Reply-To: <87y45svs6i.fsf@gmx.net> (Stephen Berman's message of "Sun, 26 Jun 2016 00:07:17 +0200") Message-ID: <878txs7s4b.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:l/MliTZ39qWlHZi2Nu0qyXu3wVZbxbqfiObL1iJWu+w7a7gNFOH ueYCvTB3q0LnXEUVOfXGY6E8VMCskudHZr8R7ikMFRhapqtBJbPXPg6sBgC5SpBtZJsih3m f2e5ich6rdcMdq9jyOiL+9HyTS2bCyJFYBksNDjSvPdptLbXmutf0T0/vSZP2MaeV0WcbAR cJCUAAUqa8ykbIOClb90w== X-UI-Out-Filterresults: notjunk:1;V01:K0:GMh0GgWMKx0=:TdoZMGDJ5CDVJtOOZQWKdt PvqdSnohlXGfk+OsHfNC/AJsFgwqt07N6emHqhD6axxNWMHAdHWrj5APpeJtPBSQUCv//q5AJ IPYt8jaVEwluSwf5L/nfjtaHUnFHJpTLULp7mxOeOTyONiqfTsf4ZBRXpeiQqx93NEgvLSECf YGPy+f271APL2SPHgqqe7qPPRa9jM0L1AnEXuxr7ChlYinM1EgLl75mQxkeDJvBRNvOVI1gBi 8okRlwEiwX3pfvly7+mZI+fxm/UWmTH+jkKoobPyk8c5X7tjB21J3TkXLRmdbhQzyUwOPZ015 FhzJa/HJXLa5wIccg2ga9jBA8s7eurMKrzR+EJGnbuDMYo50ZLc3PRJYNm6DwCSBgfTaigEor 3NtumH9q12PiDgiLFuzMw6c+8yTCImGW68U4Ub2CzdgT4YUfgdXyUBklgRq16tYzcRxvdYU53 WUiTGT3d8QquB5hNmo8N43QMOnNco7agzkhrYN81kYlOMqvGWjjwPL1rWfW/3d3gnHnuJYoog WskFfAEAoujkGkvUPIUIjkmECeQM9+6AW86206sW6dyvh5ONJ4pgDwQXiZ+vqvIUxS3qz7X3/ 1oBTCFkt535vilgRAmmCd3KK0mM4LtELWVuILfbVWLZmfMau4WmK/V7z+xY+eIXi6OSRjFy2K CjViAWZrIKcrbcMcBCFBdwAj0+BTR0/CzaRCTNKEUF/8kpJS0fgcgTw2qTAbzaPui6NpRBsw2 NmePv4D6peEUBumcQBX1FGAKxMrQdoP89RdsJX74Ab193dtqD2an7CTc+1sDVJ02d/WDeonsy JgQy25o X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23781 Cc: Tino Calancha , 23781@debbugs.gnu.org, Drew Adams , Noam Postavsky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Stephen Berman writes: > > Also, the code in the body of a =E2=80=98defun=E2=80=99 or > > =E2=80=98defmacro=E2=80=99 cannot refer to surrounding lexical variabl= es. This seems a bit unclear to me. It sounds like something like this would not work: ;; -*- lexical-binding: t -*- (let ((x 1)) (defun f () x)) (f) =3D=3D> 1 The term "surrounding" can describe different things here (mostly, "lexically" vs. "dynamically" surrounding). Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 22:24:10 2016 Received: (at 23781) by debbugs.gnu.org; 26 Jun 2016 02:24:10 +0000 Received: from localhost ([127.0.0.1]:55892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGzk2-00047u-6d for submit@debbugs.gnu.org; Sat, 25 Jun 2016 22:24:10 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:44473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGzk0-00047h-J5 for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 22:24:09 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5Q2O0Ql024352 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 26 Jun 2016 02:24:01 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u5Q2O0Lw009692 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 26 Jun 2016 02:24:00 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u5Q2NxMK000899; Sun, 26 Jun 2016 02:23:59 GMT MIME-Version: 1.0 Message-ID: <3f71a58c-98d9-4ed0-9d16-62d96a263255@default> Date: Sat, 25 Jun 2016 19:23:57 -0700 (PDT) From: Drew Adams To: Stephen Berman , Noam Postavsky Subject: RE: bug#23781: 25.0.95; read-string with HIST lexically bound References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> <8737o1w15d.fsf@gmx.net> <87y45svs6i.fsf@gmx.net> In-Reply-To: <87y45svs6i.fsf@gmx.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 23781 Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) > > So can we agree on this updated wording? (as shown in attached patch) > > > > Note that unlike dynamic variables which are tied to the symbol > > object itself, the relationship between lexical variables and > > symbols is only present in the interpreter (or compiler). > > Therefore, functions which take a symbol argument (like > > =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2= =80=98set=E2=80=99) can only retrieve or modify a > > variable=E2=80=99s dynamic binding (i.e., the contents of its symbo= l=E2=80=99s > > value cell). Also, the code in the body of a =E2=80=98defun=E2=80= =99 or > > =E2=80=98defmacro=E2=80=99 cannot refer to surrounding lexical vari= ables. >=20 > This sounds clearer to me, thanks. >=20 > > Should it be updated any further? (if yes, please reply with concrete > proposals) >=20 > I don't feel competent enough to judge that; however, Drew pointed out > that the `(elisp) Variables' node I quoted from earlier and other places > in the manual haven't been updated for lexical binding. Anyway, these > questions would be more properly assigned to a separate bug report. My comments were probably too simplistic. It would be good for someone to take a close look at all of the doc about symbols, variables, and lexical/dynamic treatment. But it is probably not critical. If someone does that, s?he probably needs to be careful, and the result, if precise, might be too unreadable for our manual. I agree that any such consideration is outside this bug report. FWIW, the CLTL2 section "3. Scope and Extent" is helpful here, even though Emacs Lisp is not Common Lisp. You will soon see there, however, that the relation between symbols and variables is not so straightforward. You will right away see "referencable entities", which have both scope and extent and which become "established" by "the execution of some language construct". Referencable entities include function parameters and other variables, and even `catch' and `throw' tags. I recommend a (re-)reading of that section, asking yourself why this or that term is introduced instead of just referring to words like "variable". None of the terms are introduced gratuitously. So yes, it would be good to be precise in the Elisp manual, but some degree of imprecision can sometimes make for more, not less clarity. ;-) One thing that could perhaps be made more clear in the doc is that the Lisp reader creates symbols (and conses and vectors and...). I'm not sure that this is made clear. These created symbols etc. are used when the objects resulting from reading are later evaluated. IOW, even a referencable entity such as a `catch' tag is associated with a symbol when the `catch' code is read. Likewise, for function parameters and other variables, including variables that use lexical binding. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 23:34:52 2016 Received: (at 23781) by debbugs.gnu.org; 26 Jun 2016 03:34:52 +0000 Received: from localhost ([127.0.0.1]:55905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bH0qS-0005vy-Dj for submit@debbugs.gnu.org; Sat, 25 Jun 2016 23:34:52 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:34239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bH0qP-0005vk-Iu for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 23:34:50 -0400 Received: by mail-oi0-f51.google.com with SMTP id s66so162594135oif.1 for <23781@debbugs.gnu.org>; Sat, 25 Jun 2016 20:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=4KgPD/T8PHAkeWSjGhz4AeDzVGOPdDcw7tUgsZZuN5U=; b=scBZfsH6O767JkqzpYB2+7hADNZCC9/KWPAPjSf9YzyynkDttzpIQ1oPPNUnibZLLX wxg0TB4uHdVksSI/HfSTifM+rPgohCr3C4YDGpjsMtamCMOwvBSUEmh5iIhfAMT097Y3 S/JoFwSGVUHUj5GOHuqWI6uoxkDvYonsN3pCbSWfsCtZT5v9LMty/mS4Q2ncSOH6giEP 9LLyCkglD5M+xbgvjZD74tfPRL5OM/PodMu4MDZGmnPhbmvvNKkjYGsHNTnIiU9fVrsK Xws5fIf+mUJFGlc65+lUFMf8+XRhwvw02yJOjgSFM+b50Ez9tUpwCrZQa2xpfnVzxvzK 0CNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=4KgPD/T8PHAkeWSjGhz4AeDzVGOPdDcw7tUgsZZuN5U=; b=aZpSYxxveCD9HF6vR7zIrk4RuZ/s5XU17tU7IsOUrRwR5GZM2ibL6qJjpQiuzArIvY x3qOdHHtYIxflsWJdcn8hU/vDGIrLBne8GxD071iQO9t0PzyfrDqPJZ7/8E6g71dgAmN WNAyLrsBjg6WzISWm/1nKbY9NiTycJAf3PfiOQkV3nQdXnEQVKZkYvXB1q4pOT+ed+qn Wbi7O6glx87CyPkNzymwnFDgo8GEQadBUd3BvkLCKo8SDSOGExIvCXVZXhzn2Ec6Ymps pgJfgTPSy3Opyz9YSvpQlZao8KIikwvVMcetKh5hQCVe1IiLe1BX5HOFh0z99opet1X+ Frqw== X-Gm-Message-State: ALyK8tJScU+3YMaNxpxkVOXndyngkKq3eFNaZgFbab1cwHmNcFqOyd1VXnY9KWZgOrqphJfyylNsoAeWQqIujQ== X-Received: by 10.157.24.118 with SMTP id t51mr8022624ott.92.1466912084007; Sat, 25 Jun 2016 20:34:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.52.238 with HTTP; Sat, 25 Jun 2016 20:34:43 -0700 (PDT) In-Reply-To: <878txs7s4b.fsf@web.de> References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> <8737o1w15d.fsf@gmx.net> <87y45svs6i.fsf@gmx.net> <878txs7s4b.fsf@web.de> From: Noam Postavsky Date: Sat, 25 Jun 2016 23:34:43 -0400 X-Google-Sender-Auth: TcAJu5Nj0P8purwimYb04nFcvPQ Message-ID: Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound To: Michael Heerdegen Content-Type: multipart/mixed; boundary=001a113db3e2af36fc053626150e X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23781 Cc: Tino Calancha , Stephen Berman , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a113db3e2af36fc053626150e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jun 25, 2016 at 7:42 PM, Michael Heerdegen wrote: > Stephen Berman writes: > >> > Also, the code in the body of a =E2=80=98defun=E2=80=99 or >> > =E2=80=98defmacro=E2=80=99 cannot refer to surrounding lexical variab= les. > > > This seems a bit unclear to me. It sounds like something like this > would not work: > > ;; -*- lexical-binding: t -*- > (let ((x 1)) > (defun f () x)) > > (f) =3D=3D> 1 That's indeed what it meant, but this restriction was lifted sometime after 24.1, see http://help-gnu-emacs.gnu.narkive.com/uspqRdsq/surrounding-lexical-variable= -reference-in-the-body-of-defun and http://stackoverflow.com/questions/12026137/emacs-the-code-in-the-body-= of-a-defun-or-defmacro-cannot-refer-to-surrounding-l. Updated patch to remove that sentence. --001a113db3e2af36fc053626150e Content-Type: text/x-patch; charset=US-ASCII; name="v2-0001-Add-to-elisp-completion-at-point-s-docstring.patch" Content-Disposition: attachment; filename="v2-0001-Add-to-elisp-completion-at-point-s-docstring.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ipw1f0g10 RnJvbSAzZjA4YThhNTM1ZThmYjVkY2VkOGJmMTQ3NDY1OTI0NGVkMzU4MTI1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb2FtIFBvc3RhdnNreSA8bnBvc3RhdnNAZ21haWwuY29tPgpE YXRlOiBTYXQsIDI1IEp1biAyMDE2IDE2OjIzOjA0IC0wNDAwClN1YmplY3Q6IFtQQVRDSCB2Ml0g QWRkIHRvIGVsaXNwLWNvbXBsZXRpb24tYXQtcG9pbnQncyBkb2NzdHJpbmcKCiogbGlzcC9wcm9n bW9kZXMvZWxpc3AtbW9kZS5lbCAoZWxpc3AtY29tcGxldGlvbi1hdC1wb2ludCk6IERvY3VtZW50 CnBvc2l0aW9uIGRlcGVuZGVudCBiZWhhdmlvci4gIFJlbW92ZSBtZW50aW9uIG9mIG9ic29sZXRl IHJlc3RyaWN0aW9uCnJlZ2FyZGluZyBsZXhpY2FsIGJpbmRpbmcgZm9yIGRlZnVuIGFuZCBkZWZt YWNybywgdGhpcyBubyBsb25nZXIgYXBwbGllcwpzaW5jZSA2MWIxMDhjYyAyMDEyLTA1LTI5ICIq IGxpc3AvZW1hY3MtbGlzcC9ieXRlLXJ1bi5lbCAoZGVmbWFjcm8sCmRlZnVuKTogTW92ZSBmcm9t IEMuLi4iIChCdWcgIzE5ODU0KS4KLS0tCiBkb2MvbGlzcHJlZi92YXJpYWJsZXMudGV4aSAgIHwg MyArLS0KIG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EvbGlzcC9wcm9nbW9kZXMvZWxpc3AtbW9kZS5lbAorKysgYi9saXNwL3Byb2dtb2Rlcy9l bGlzcC1tb2RlLmVsCkBAIC00NTUsNyArNDU1LDExIEBAIGVsaXNwLS1jb21wYW55LWxvY2F0aW9u CiAgICAgICgoZmFjZXAgc3ltKSAoZmluZC1kZWZpbml0aW9uLW5vc2VsZWN0IHN5bSAnZGVmZmFj ZSkpKSkpCiAKIChkZWZ1biBlbGlzcC1jb21wbGV0aW9uLWF0LXBvaW50ICgpCi0gICJGdW5jdGlv biB1c2VkIGZvciBgY29tcGxldGlvbi1hdC1wb2ludC1mdW5jdGlvbnMnIGluIGBlbWFjcy1saXNw LW1vZGUnLiIKKyAgIkZ1bmN0aW9uIHVzZWQgZm9yIGBjb21wbGV0aW9uLWF0LXBvaW50LWZ1bmN0 aW9ucycgaW4gYGVtYWNzLWxpc3AtbW9kZScuCitUaGUgcmV0dXJuZWQgY29tcGxldGlvbnMgZGVw ZW5kIG9uIHdoZXRoZXIgcG9pbnQgaXMgaW4gYSBmdW5jdGlvbgorb3IgdmFyaWFibGUgcG9zaXRp b247IGluIHBvc2l0aW9ucyB3aGVyZSBib3RoIGFyZQorcG9zc2libGUgKGUuZy4gcXVvdGVkIHN5 bWJvbHMpLCBmdW5jdGlvbnMgYXJlIGFubm90YXRlZCB3aXRoCitcIjxmPlwiIHZpYSB0aGUgYDph bm5vdGF0aW9uLWZ1bmN0aW9uJyBwcm9wZXJ0eS4iCiAgICh3aXRoLXN5bnRheC10YWJsZSBlbWFj cy1saXNwLW1vZGUtc3ludGF4LXRhYmxlCiAgICAgKGxldCogKChwb3MgKHBvaW50KSkKIAkgICAo YmVnIChjb25kaXRpb24tY2FzZSBuaWwKLS0gCjIuOC4wCgo= --001a113db3e2af36fc053626150e-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 20:55:32 2016 Received: (at 23781) by debbugs.gnu.org; 27 Jun 2016 00:55:32 +0000 Received: from localhost ([127.0.0.1]:57161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHKpo-0002ZK-F7 for submit@debbugs.gnu.org; Sun, 26 Jun 2016 20:55:32 -0400 Received: from mail-oi0-f44.google.com ([209.85.218.44]:33755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHKpn-0002Z7-Fn for 23781@debbugs.gnu.org; Sun, 26 Jun 2016 20:55:31 -0400 Received: by mail-oi0-f44.google.com with SMTP id u201so181396443oie.0 for <23781@debbugs.gnu.org>; Sun, 26 Jun 2016 17:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=QPHtGcSfsUQ9Cu3GVbKr4pNY5tY+FC6eIENPFyiIrYk=; b=B1m6kaRjNYgNAlI4KjkedMX0aML5vTsUo5gGOflfbiR5SAN5gSK+8FHTRgWm8bW5RB sr0Bmbsv8ElgjXQ7QGFiJzbeWxXeyqLCSK3QB+jf3+IXvzavjt1lOAQ9jJymqxc2CLQh rc4fsSh2OTkdv3zIIkzgKgViQqg/bMhhBYCVMMO3NjMjMrJsV0szH/RHKnejspyAs4DI XLuCGMUwhzKIOdfQIQZVEBOllncOvxAGzQhE2Uzyow8L+jdyLm/9CV9iuddBDNZilJUd OENCARem/tUt2B8MrhuGR00j5gEgcdFLrjAm0Qrx6hGz2zUCbr8nAO3q6C3UoHsKQYZJ AGGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=QPHtGcSfsUQ9Cu3GVbKr4pNY5tY+FC6eIENPFyiIrYk=; b=UuHIxQHsYuyseN3Cq9xfFGsSH3fhulFzMKhtB/OPVzihGSqLIg/HjOr+PfBMBk2Qyq iDzfJBhts1owZSP5pk0gAKANJ4TGo3Yig0z3D9XKJR8m1P7DWRhZHo5LuoP1US95QYd4 QG9yycB7td8yo7+C3NuO58x/mNHnCcQyFElepR+ci/ZX9lKmgtR2Lxe7e1yAaDi37PKU umi7R8O4EtnVDWM5tyCutZsfr/KwFAUwoG+AFXmL4Uvx28NHPG+smBMUxzHtNZJV8m9M /JGz1Jho9JTEJKUIUjTIFfM/TCO3VMb9nCyCyxJn6SbJazSfMZCKKJwADyqJo89gFINn c53w== X-Gm-Message-State: ALyK8tI3+YbxCNJ7JV5RUO/RJAqJBdO080AiRki4yuL6G86sL8eWDBLPKZLvQmqBUpNRBZnfUSXgH8iMzFbXmw== X-Received: by 10.202.73.140 with SMTP id w134mr8350312oia.35.1466988925760; Sun, 26 Jun 2016 17:55:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.52.238 with HTTP; Sun, 26 Jun 2016 17:55:25 -0700 (PDT) In-Reply-To: References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> <8737o1w15d.fsf@gmx.net> <87y45svs6i.fsf@gmx.net> <878txs7s4b.fsf@web.de> From: Noam Postavsky Date: Sun, 26 Jun 2016 20:55:25 -0400 X-Google-Sender-Auth: mIDkO-93ccnHbsSuSib-WD-jsjE Message-ID: Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound To: Michael Heerdegen Content-Type: multipart/mixed; boundary=001a113dd4e2cf6ef4053637f9d0 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23781 Cc: Tino Calancha , Stephen Berman , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a113dd4e2cf6ef4053637f9d0 Content-Type: text/plain; charset=UTF-8 On Sat, Jun 25, 2016 at 11:34 PM, Noam Postavsky wrote: > Updated patch to remove that sentence. I messed up the patch (the change got combined with unrelated commit). Here's a corrected one. --001a113dd4e2cf6ef4053637f9d0 Content-Type: text/x-patch; charset=US-ASCII; name="v3-0001-Clarify-lexical-binding-with-symbol-args-behavior.patch" Content-Disposition: attachment; filename="v3-0001-Clarify-lexical-binding-with-symbol-args-behavior.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ipxbay9b1 RnJvbSBhNjY5ZTY5OTcyY2Y2YmNiOTg0NWEwNmEyNDI3MDM0YjhiZDE4YzBiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb2FtIFBvc3RhdnNreSA8bnBvc3RhdnNAZ21haWwuY29tPgpE YXRlOiBGcmksIDI0IEp1biAyMDE2IDIwOjM5OjI0IC0wNDAwClN1YmplY3Q6IFtQQVRDSCB2M10g Q2xhcmlmeSBsZXhpY2FsIGJpbmRpbmcgd2l0aCBzeW1ib2wgYXJncyBiZWhhdmlvcgoKKiBkb2Mv bGlzcHJlZi92YXJpYWJsZXMudGV4aSAoTGV4aWNhbCBCaW5kaW5nKTogQ2xhcmlmeSB0aGF0IHN5 bWJvbAphcmd1bWVudHMgYWx3YXlzIHJlZmVyIHRvIGR5bmFtaWMgdmFsdWVzIChCdWcgIzIzNzgx KS4gIFJlbW92ZSBtZW50aW9uCm9mIG9ic29sZXRlIHJlc3RyaWN0aW9uIHJlZ2FyZGluZyBsZXhp Y2FsIGJpbmRpbmcgZm9yIGRlZnVuIGFuZApkZWZtYWNybywgdGhpcyBubyBsb25nZXIgYXBwbGll cyBzaW5jZSA2MWIxMDhjYyAyMDEyLTA1LTI5ICIqCmxpc3AvZW1hY3MtbGlzcC9ieXRlLXJ1bi5l bCAoZGVmbWFjcm8sIGRlZnVuKTogTW92ZSBmcm9tIEMuLi4iLgotLS0KIGRvYy9saXNwcmVmL3Zh cmlhYmxlcy50ZXhpIH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gVXNpbmcgTGV4aWNhbCBCaW5kaW5nCiBAc3Vic2VjdGlvbiBVc2luZyBMZXhpY2FsIEJp bmRpbmcKLS0gCjIuOC4wCgo= --001a113dd4e2cf6ef4053637f9d0-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 01 00:07:07 2016 Received: (at 23781) by debbugs.gnu.org; 1 Jul 2016 04:07:07 +0000 Received: from localhost ([127.0.0.1]:33038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIpjP-0002Yr-Lk for submit@debbugs.gnu.org; Fri, 01 Jul 2016 00:07:07 -0400 Received: from mail-io0-f180.google.com ([209.85.223.180]:35837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIpjN-0002YJ-Ss; Fri, 01 Jul 2016 00:07:06 -0400 Received: by mail-io0-f180.google.com with SMTP id f30so90542409ioj.2; Thu, 30 Jun 2016 21:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=0Za819IVPpwv/tJtNY4GBhPCE9l3F14dH1oWNXgze+E=; b=YWEzCPB/4ZDV85Fl9DPZ5n/JN1N8/SXIOjBguuHZiS1i1h5pnzhLvBfohljXSav7kF v34JjV77f+JpzaCVYVOVCDZKMShqlrQClBIkShwpimSXuikW25jR4YtEsU1U8SQ4pcGs 1Vvrc+vtuypr0OfaUNhL5MJs+7YE+wJFSilbjIZPvOGNZ/OiqZv6q4Kgc0lywLdRQn9F dHaiD4zwXQ1DrY4i1dpjaQ0KAOkNKuSM/+CAmkmv3RLD4q6ggkyfQG30LVsXqISar62y fkg8uE9/FmjNNfKEvJBeqVTWJQo7VDLa/KHLyAZgQ36LhI+36fvoSkMSZ2e4MaEm6+pG d0Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=0Za819IVPpwv/tJtNY4GBhPCE9l3F14dH1oWNXgze+E=; b=Cf21SOiJb/vGDSoDpAxFsXKA9LyZ1o71yU1uhksnAQe/zgSlLARqU4gZacYHn2+R8A bO3vHS7AXOSWA3dAFuGHXpJojUbSGK9WsBYAbc9eqwv5yTZSh4kJfx6IPiBESyYuaUJL X3NFPODSp0gq/fgs44ipt1KFbwgm2u/xgyyR3vzLJT1cPZQe+LDgsLE6xFJdA7LNpkIo acimNBAHrRrrc8W4G/tZZN2JG296wdAqFKCoK7SnCWDCWfyTUBvzysjiPDUcRJUZq2TW HLzZ+xRjEezz780z+NKGqqHkKkI6+8ilhmQgvU2zDNFoJ1bd3Tab4tnjYSBRurqCWHpe jLYg== X-Gm-Message-State: ALyK8tIKLehiQykzz5UrXL2Myf8VTYNMLP6wp/RI8mkibqNoS5rS+boEd0AuCrRtyclRpw== X-Received: by 10.107.170.37 with SMTP id t37mr16979474ioe.58.1467346020434; Thu, 30 Jun 2016 21:07:00 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id 92sm5338321iok.22.2016.06.30.21.06.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jun 2016 21:06:59 -0700 (PDT) From: npostavs@users.sourceforge.net To: Michael Heerdegen Subject: Re: bug#23781: 25.0.95; read-string with HIST lexically bound References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> <8737o1w15d.fsf@gmx.net> <87y45svs6i.fsf@gmx.net> <878txs7s4b.fsf@web.de> Date: Fri, 01 Jul 2016 00:07:06 -0400 In-Reply-To: (Noam Postavsky's message of "Sun, 26 Jun 2016 20:55:25 -0400") Message-ID: <87r3begfx1.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23781 Cc: Tino Calancha , Stephen Berman , 23781@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 23781 fixed close 23781 25.1 quit Noam Postavsky writes: > On Sat, Jun 25, 2016 at 11:34 PM, Noam Postavsky > wrote: >> Updated patch to remove that sentence. > > I messed up the patch (the change got combined with unrelated commit). > Here's a corrected one. I've pushed as 850ba444 From unknown Sun Jun 22 03:51:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Jul 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator