GNU bug report logs -
#32129
26.1; Bug in add-dir-local-variable when used with eval, progn and setenv
Previous Next
Reported by: Luis Gerhorst <privat <at> luisgerhorst.de>
Date: Wed, 11 Jul 2018 23:08:01 UTC
Severity: normal
Tags: notabug
Found in version 26.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 32129 <at> debbugs.gnu.org (full text, mbox):
tags 32129 notabug
close 32129
quit
Luis Gerhorst <privat <at> 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.
This bug report was last modified 6 years and 314 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.