From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?H=C3=A9ctor?= Lahoz Newsgroups: gmane.emacs.help Subject: Re: setting non-user variables Date: Thu, 1 Jun 2017 11:24:03 +0200 Message-ID: <20170601092403.GB3432@workstation> References: <20170531142644.GA6848@workstation> <83tw41c9vr.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1496309100 24890 195.159.176.226 (1 Jun 2017 09:25:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Jun 2017 09:25:00 +0000 (UTC) User-Agent: Mutt/1.5.20 (2009-06-14) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 01 11:24:52 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGMLb-00060Z-GZ for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jun 2017 11:24:51 +0200 Original-Received: from localhost ([::1]:42318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGMLg-0006jc-LB for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jun 2017 05:24:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGML0-0006iL-2A for help-gnu-emacs@gnu.org; Thu, 01 Jun 2017 05:24:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGMKw-0000Mq-Tp for help-gnu-emacs@gnu.org; Thu, 01 Jun 2017 05:24:14 -0400 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:36183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGMKw-0000MQ-Nc for help-gnu-emacs@gnu.org; Thu, 01 Jun 2017 05:24:10 -0400 Original-Received: by mail-wm0-x232.google.com with SMTP id 7so149818357wmo.1 for ; Thu, 01 Jun 2017 02:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=ok/8wpBbaY/m3CqgTt5LV9qteKUgeVnO1KksEDHJOQU=; b=u9Q7JzUhxkyB4dxmbW6fAJBH9xXBNMCBKlDXlrDTF76AeZWNo0qq0D1BkLgPJY7DxJ Iz6qU/7xEwBvpzcLMYxvnxpY+dTAjTH0h/+I895owTTWM+XAudFCgacWvaonznuANQvg ZO6khsLyAmfyjdiCDdkk1Zp1MzvLBOhKzf9UU3+WVBxp5vmlK1aEMzzU1E3AvdM99FGl ov38/5nc/Arpsq/S7ohFa1LV0yB8rYcKuPr03z9yChMbT1h0rga28K3aLEEy8xCQi4Mc MGVe7kCJFRHXtOt6niuiVPwRVgQadHHtx+e/CBVsZifan5I3YS5tmCqdCfaUrHABSfk8 YG3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=ok/8wpBbaY/m3CqgTt5LV9qteKUgeVnO1KksEDHJOQU=; b=sDUMhYd7EZBnfhmAWWZECf71GYd9YOMmecGu9wjAvfVSxTj9Vl/Oa1cCDU/NkOBZOC zxTPBJbf9GNMAmbduw1oan0bam3nq2rpLT+PYKG+V1/BSnoRGUZDfOiYTF2mkLrvYpPh H/yijSB9ur5gK/k7zcYd7fWdEKVBVSMNBtsh7up4pUHZBmztNoYvJsRXHdudgt2kEzZE SFPl5O8BKxKrU0FpIBxW/QkQgZqt9cJ8jOf4dLt7CmgNfnRWZig+F5IsSYTzBuvuGd9G 8GlrXlxhEZX3mP/dieOCYlwJ4UpCiSBvURZUnNeXd6Vxbwljm6RLa9GDq3zKpmn5demQ t/9g== X-Gm-Message-State: AODbwcA+Z+Q+5LOb/VupGzQmDzvKvwvWa97ePPMaBHarZN7/awFjTWKD dxtImvSbndYTcBQb X-Received: by 10.223.128.34 with SMTP id 31mr498698wrk.108.1496309048969; Thu, 01 Jun 2017 02:24:08 -0700 (PDT) Original-Received: from workstation ([193.125.163.216]) by smtp.gmail.com with ESMTPSA id p139sm18529649wmg.14.2017.06.01.02.24.07 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 01 Jun 2017 02:24:08 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <83tw41c9vr.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113301 Archived-At: Eli Zaretskii wrote: > > From: "Héctor Lahoz" > > Date: Wed, 31 May 2017 16:26:44 +0200 > > > > Recently I upgraded my Emacs to version 24 (I don't like to live on > > the edge :-) and noticed that I can't use set-variable to set > > this buffer-local variable anymore. What should I do? > > Why was this changed? > > > > ;; before I did: > > ;; set-variable RET mpkg-master-file RET "file.txt" RET > > (make-variable-buffer-local > > (defvar mpkg-master-file)) > > What package defines mpkg-master-file? I couldn't find it in packages > bundled with Emacs. It is my own. Not published yet. > Also, what version of Emacs did you have before the upgrade? 23.4.1 So, to be clear. The variable is defined like this: (make-variable-buffer-local (defvar mpkg-master-file nil "The path of the video associated to the current buffer")) With 23 I could set the variable interactively, with 24 I can't.