help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Make a "general" Emacs configuration


From: Glauber Alex Dias Prado
Subject: Re: Make a "general" Emacs configuration
Date: Wed, 11 Aug 2010 16:10:42 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

also keep submodules here but i do only use emacs on linux so i can
share it with many machines and have a backup, no problems about versioning 
only use
latest stuff.

Andrea Crotti <address@hidden> writes:

> Tim Visher <address@hidden> writes:
>
>> FWIW, my config file makes extensive use of git submodules and solves
>> the consistent version across deploys of the configuration.  I also
>> use a slightly modified version of emacs-version to detect OS
>> settings.  However, I'm still a complete n00b when it comes to elisp
>> and emacs in general so my configuration is probably riddled with
>> awful antipatterns.
>>
>> http://github.com/timvisher/.emacs/tree/master/site-lisp/
>>
>
> Well I think is not too bad at all.
> I didn't know about label macro btw, why not flet?
>
> If I can suggest something I like to add directories in the first level
> automatically to the load path, because normally if I put something
> there I want to use it.
>
>   (defun gen-path-dirs ()
>     "Add to load path all the subdirectories of first level"
>     (interactive)
>     (message "adding all directories in the first level to the load-path")
>     (dolist (dir (directory-files conf t))
>       (if (and 
>            (file-directory-p dir)
>            (not (file-symlink-p dir)))
>           (add-to-list 'load-path dir))))
>   
>   (gen-path-dirs)



reply via email to

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