From: Jean Louis <bugs@gnu.support>
To: Ergus <spacibba@aol.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Question about dir-locals c-mode.
Date: Sun, 8 Nov 2020 09:22:58 +0300 [thread overview]
Message-ID: <X6eOwlny3r1oxvCA@protected.rcdrun.com> (raw)
In-Reply-To: <20201107235056.5lwabkhbflx2gc6o@Ergus>
* Ergus <spacibba@aol.com> [2020-11-08 02:52]:
> Hi:
>
> This is probably a basic question, but I don't find any reference.
>
> I have a .dir-locals.el file a bit long because the project implied is a
> bit special regarding indentation. The problem is that the project is
> either C and C++ code and the indentation in both cases is retty much
> the same; but other files like python, bash or makefiles require
> different indentation.
Did you try with local file variables?
M-x add-file-local-variable
next prev parent reply other threads:[~2020-11-08 6:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20201107235056.5lwabkhbflx2gc6o.ref@Ergus>
2020-11-07 23:50 ` Question about dir-locals c-mode Ergus
2020-11-08 6:22 ` Jean Louis [this message]
2020-11-08 13:39 ` Daniel Martín
2020-11-08 14:50 ` Stefan Monnier
2020-11-08 16:16 ` Ergus
2020-11-08 17:58 ` Stefan Monnier
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=X6eOwlny3r1oxvCA@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=spacibba@aol.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.