all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Len Trigg <lenbok@gmail.com>
Cc: 59868@debbugs.gnu.org
Subject: bug#59868: 28.2.50; compilation-search-path incompatible with dir-locals
Date: Fri, 09 Dec 2022 09:06:47 +0200	[thread overview]
Message-ID: <83a63x12ew.fsf@gnu.org> (raw)
In-Reply-To: <CAOGVwekSSS5+FPecNxdm7TFzXoweB+4jvaKD7z72o0+e25byuA@mail.gmail.com> (message from Len Trigg on Fri, 9 Dec 2022 13:49:03 +1300)

> From: Len Trigg <lenbok@gmail.com>
> Date: Fri, 9 Dec 2022 13:49:03 +1300
> 
> On Thu, 8 Dec 2022 at 02:01, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>  I don't think this variable is meant to be buffer-local in
>  *compilation* buffers.  If project.el wants to provide a project-local
>  value for this search path, it should define a new variable for that,
>  and then compilation-mode can set its own variable from that.
> 
> I'm not using project.el at all, this is simply using a .dir-locals.el in the root of my project to set
> project-specific variables.

You are ignoring the first sentence in my response, right?

The rest was a suggestion (and I do see a good reason why project.el
would like to provide this as a project-specific setting).

More generally, why would you want a directory-specific value for this
variable, if it isn't something the entire directory tree shares?

Maybe you should tell why you need to tell Emacs where to find the
sources?  Doesn't the tool you use to compile spell that out?

P.S. And please use Reply All to keep the bug tracker on the CC list,
so that this discussion gets recorded by the bug tracker.





  parent reply	other threads:[~2022-12-09  7:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-07  1:56 bug#59868: 28.2.50; compilation-search-path incompatible with dir-locals Len Trigg
2022-12-07 13:01 ` Eli Zaretskii
     [not found]   ` <CAOGVwekSSS5+FPecNxdm7TFzXoweB+4jvaKD7z72o0+e25byuA@mail.gmail.com>
2022-12-09  7:06     ` Eli Zaretskii [this message]
2022-12-09 19:11       ` Len Trigg
2022-12-10 14:02         ` Eli Zaretskii
2022-12-10 22:01           ` Len Trigg
2022-12-11  7:14             ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83a63x12ew.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59868@debbugs.gnu.org \
    --cc=lenbok@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.