From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Andryshak Newsgroups: gmane.emacs.bugs Subject: bug#20521: Bug 2051 Date: Fri, 15 May 2015 19:24:38 -0400 Message-ID: References: <0DBA2ACE64E8894F80DEC59F1EB9BE23048E1E554241@NXT-EXCH.nextlabs.com> <0DBA2ACE64E8894F80DEC59F1EB9BE23048E1E55476B@NXT-EXCH.nextlabs.com> <19f6a4a4-81d6-499f-9f90-d41a1dda9c4c@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ddd2ee8039105162725e0 X-Trace: ger.gmane.org 1431732329 31649 80.91.229.3 (15 May 2015 23:25:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 May 2015 23:25:29 +0000 (UTC) Cc: Alan Morgan , 20521@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 16 01:25:21 2015 Return-path: Envelope-to: geb-bug-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 1YtOyj-0000QI-Bh for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 May 2015 01:25:17 +0200 Original-Received: from localhost ([::1]:33212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtOyi-0005Lu-Jk for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 May 2015 19:25:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtOyb-0005Fi-TO for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 19:25:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtOyX-0000rq-SP for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 19:25:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtOyX-0000qw-Ox for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 19:25:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YtOyX-0004Qk-EV for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 19:25:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nick Andryshak Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 May 2015 23:25:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20521 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 20521-submit@debbugs.gnu.org id=B20521.143173228716988 (code B ref 20521); Fri, 15 May 2015 23:25:05 +0000 Original-Received: (at 20521) by debbugs.gnu.org; 15 May 2015 23:24:47 +0000 Original-Received: from localhost ([127.0.0.1]:46566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YtOyE-0004Pw-C9 for submit@debbugs.gnu.org; Fri, 15 May 2015 19:24:46 -0400 Original-Received: from mail-ob0-f176.google.com ([209.85.214.176]:35889) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YtOyC-0004Pj-HY for 20521@debbugs.gnu.org; Fri, 15 May 2015 19:24:45 -0400 Original-Received: by obbkp3 with SMTP id kp3so88848729obb.3 for <20521@debbugs.gnu.org>; Fri, 15 May 2015 16:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hG9qDKkkvtR1TMkot8aUoidADKWWSDFdDDg2xFZpWBU=; b=Jcf/bh3QZch95W3U7yobcRCMjYhbkL4X+T80lNEYB0PtFtelVJiuPLkJEP6nmeQ9Em XQ7BnWAXiwuwpax0pkNz9MYusIDQ71OWWkBx6e+RRfGVKTWvsMFp+9u9BOOmY6V0Dl99 f5iVO5zfyb9M5PW04akKLatRPCgxW6AXa6nnbK/0f6hXt23bfjsfG8eMTBK8ZKXjNVuk w+hDrIjKvGAqbEcUJFtFycMFmozSVfLY5wVks6b0mHt9uCF8yqEZS2uEe8etkXups7Hj +A/q5SMpN/6io/Td2CzVcqTjZw4yybNSz1o0Jd7KXRHaSO1NPU63Nnm6GgNw+7XiUzic K1cw== X-Received: by 10.202.69.130 with SMTP id s124mr9837311oia.70.1431732279049; Fri, 15 May 2015 16:24:39 -0700 (PDT) Original-Received: by 10.202.0.12 with HTTP; Fri, 15 May 2015 16:24:38 -0700 (PDT) In-Reply-To: <19f6a4a4-81d6-499f-9f90-d41a1dda9c4c@default> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102851 Archived-At: --001a113ddd2ee8039105162725e0 Content-Type: text/plain; charset=UTF-8 Interesting, thanks. I suppose I misunderstand the manual page that I linked. - Nick On Fri, May 15, 2015 at 5:42 PM, Drew Adams wrote: > > I think you may misunderstand: setq always sets a global variable. > > Since when? > > -- Macro: setq-local variable value > This macro creates a buffer-local binding in the current buffer for > VARIABLE, and gives it the buffer-local value VALUE. It is > equivalent to calling `make-local-variable' followed by `setq'. > VARIABLE should be an unquoted symbol. > > Note the last sentence, which points out that `setq' does not always > set a global variable. If it did, then so would `setq-local', > according to that text. > --001a113ddd2ee8039105162725e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Interesting, thanks. I suppose I misunderstand the manual = page that I linked.

- Nick

On Fri, May 15, 2015 at 5:42 PM, Dr= ew Adams <drew.adams@oracle.com> wrote:
> I think you may misunderstand: setq= always sets a global variable.

Since when?

=C2=A0 -- Macro: setq-local variable value
=C2=A0 =C2=A0 =C2=A0This macro creates a buffer-local binding in the curren= t buffer for
=C2=A0 =C2=A0 =C2=A0VARIABLE, and gives it the buffer-local value VALUE.=C2= =A0 It is
=C2=A0 =C2=A0 =C2=A0equivalent to calling `make-local-variable' followe= d by `setq'.
=C2=A0 =C2=A0 =C2=A0VARIABLE should be an unquoted symbol.

Note the last sentence, which points out that `setq' does not always set a global variable.=C2=A0 If it did, then so would `setq-local',
according to that text.

--001a113ddd2ee8039105162725e0--