emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] A suggestion, now that Muse has a file extension


From: Björn Lindström
Subject: [emacs-wiki-discuss] A suggestion, now that Muse has a file extension
Date: Fri, 11 Nov 2005 22:07:33 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Now that Muse doesn't have to rely on project definitions to figure out
if a particular file is a Muse file or not, I had an idea about how one
could store Muse settings.

The idea is, that when you open a file in muse-mode, and it doesn't
belong to a project currently in muse-project-alist, Muse would look for
a .el file (muse-config.el or something like that) in the same directory
as the .muse file, then in the parent directory of that directory, and
so on.

Thus, you would only need to make an autoload for muse-mode, and add
.muse to auto-mode-alist. The rest of the settings you could keep
per-project, nicely version controlled together with the .muse files.

It would also be nice if the directory of the .muse file was available
as a variable in the Muse config file. That way, you wouldn't have to
change the project definition even if you were to move the project
directory.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]