A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.gnu.org/software/emacs/manual/html_node/ede/Project-Local-Variables.html below:

Project Local Variables (Emacs Development Environment)

Next: EDE Project Features, Previous: Customize Features, Up: Modifying your project   [Contents]

5.4 Project Local Variables

EDE projects can store and manager project local variables. The variables are stored in the project, and will be restored when a project reloads.

Projects which are not stored on disk WILL NOT restore your project local variables later.

You can use Customize Features to of the project to edit the project local variables. They are under the ’Settings’ group as “Project Local Variables”.

You can also use M-x ede-set to set a new variable local in the mini buffer.

In multi-level projects such as Automake and Make generating projects, project local variables are installed from both the TOP most project, and the local directory’s project. In that way, you can have some variables across your whole project, and some specific to a subdirectory.

You can use project local variables to set any Emacs variable so that buffers belonging to different projects can have different settings.

NOTE: When you use project-local variables with ede-cpp-root, the format is an association list. For example:

(ede-cpp-root-project "SOMENAME"
                       :file "/dir/to/some/file"
                       :local-variables
                       '((grep-command . "grep -nHi -e ")
                         (compile-command . "make -f MyCustomMakefile all")))

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4