From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: Why no setq, eval in a dir-locals? Date: Fri, 11 Feb 2022 12:01:22 +0000 Message-ID: <874k558ve5.fsf@yandex.com> References: <878ruh8ybu.fsf@yandex.com> <87k0e1zm04.fsf@mother.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26003"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux) Cc: , help-gnu-emacs@gnu.org To: irek Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 11 13:02:43 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIUdO-0006b9-VW for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Feb 2022 13:02:43 +0100 Original-Received: from localhost ([::1]:60548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIUdN-0007Ne-2N for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Feb 2022 07:02:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIUcd-0007NV-9y for help-gnu-emacs@gnu.org; Fri, 11 Feb 2022 07:01:55 -0500 Original-Received: from [2a02:6b8:0:1a2d::611] (port=57582 helo=forward501o.mail.yandex.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIUcY-0000ST-QK for help-gnu-emacs@gnu.org; Fri, 11 Feb 2022 07:01:53 -0500 Original-Received: from vla1-a4eb77149b4b.qloud-c.yandex.net (vla1-a4eb77149b4b.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:3816:0:640:a4eb:7714]) by forward501o.mail.yandex.net (Yandex) with ESMTP id 1754245C3CF6; Fri, 11 Feb 2022 15:01:25 +0300 (MSK) Original-Received: from vla1-ef285479e348.qloud-c.yandex.net (vla1-ef285479e348.qloud-c.yandex.net [2a02:6b8:c0d:35a1:0:640:ef28:5479]) by vla1-a4eb77149b4b.qloud-c.yandex.net (mxback/Yandex) with ESMTP id hN42LJ5Xqj-1OcGkZle; Fri, 11 Feb 2022 15:01:25 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1644580885; bh=pNqMBavwjdBcLWsSLEz+ow7QLgugDAREx6XFXQ0fAig=; h=In-Reply-To:Subject:Date:References:To:From:Message-ID:Cc:Cc; b=oxLhXHgxqZdIgUrQcfpsJcGY+KZMNBkQYN+bz/aq0WA/H5ZK3QyTITrnVO9x1Zv1W PRz62s2sbis7nHejGyjKhS1bvUNqsh9jdG81H8p7VX9qAGbB8Bta2kJ5aUhb8ulb0O 84pwmGRwFrCGLfW7jIuq6mW7qjvUkKslDIFWnHKI= Authentication-Results: vla1-a4eb77149b4b.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by vla1-ef285479e348.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 8LtUky96Ik-1OHCcFW7; Fri, 11 Feb 2022 15:01:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T X-Message-My-Extra-Message: 8-) We are the only ones here =?utf-8?B?8J+YuiDwn5i6IPCfmLo=?= In-Reply-To: <87k0e1zm04.fsf@mother.org> (irek's message of "Fri, 11 Feb 2022 12:22:03 +0100") Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:6b8:0:1a2d::611 (failed) Received-SPF: pass client-ip=2a02:6b8:0:1a2d::611; envelope-from=m43cap@yandex.com; helo=forward501o.mail.yandex.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135893 Archived-At: Thank you for your reply. >>>>> irek writes: > Not sure why do you assume that `eval setq' is required for > `backup-directory-alist' variable. It should work the same way as > you did for other variables. Provide variable name, period and > value. > (backup-directory-alist . (("." . "sub-directory/"))) I did originally have that line ... or at least I thought I did! That line appeared not to work which is why I was puzzled and went on to use eval setq. I can only assume that I originally inserted a typo somewhere. All is now working satisfactorily. Thank you for your help. Next time I'll double check for typos. Best wishes, Colin Baxter.