From: Noam Postavsky <npostavs@gmail.com>
To: Luis Gerhorst <privat@luisgerhorst.de>
Cc: 32129@debbugs.gnu.org
Subject: bug#32129: 26.1; Bug in add-dir-local-variable when used with eval, progn and setenv
Date: Fri, 13 Jul 2018 05:26:23 -0400 [thread overview]
Message-ID: <87tvp3a3ls.fsf@gmail.com> (raw)
In-Reply-To: <31BA42EC-58BC-4C69-9E04-E464AF41540D@luisgerhorst.de> (Luis Gerhorst's message of "Thu, 12 Jul 2018 01:18:19 +0200")
tags 32129 notabug
close 32129
quit
Luis Gerhorst <privat@luisgerhorst.de> writes:
> I'm sorry for the noise, I just retried it and it worked, TEST was
> set. So the generated .dir-locals.el does the right thing.
Right, I'm pretty sure you really do want setq-local though.
> Anyway: Shouldn't the .dir-locals.el look different? This is of course
> just a question of preference, if it makes the code more elegant or
> something I would accept that it's better to leave it as it is.
Yeah, it currently just does `pp' for the whole structure. We would
need to special case the top level printing of values I think. It might
be interesting to have a pretty printer that's able to take a sort of
"descriptor" of printing structure, to handle this sort of thing more
generally. But I'm going to go ahead and close this report as notabug,
since special casing the dir-local printing is not worth the trouble.
next prev parent reply other threads:[~2018-07-13 9:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-11 23:07 bug#32129: 26.1; Bug in add-dir-local-variable when used with eval, progn and setenv Luis Gerhorst
2018-07-11 23:18 ` Luis Gerhorst
2018-07-13 9:26 ` Noam Postavsky [this message]
2018-07-11 23:20 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvp3a3ls.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=32129@debbugs.gnu.org \
--cc=privat@luisgerhorst.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).