tkf / emacs-ipython-notebook

IPython notebook client in Emacs
tkf.github.com/emacs-ipython-notebook/
GNU General Public License v3.0
548 stars 51 forks source link

Organize directory #6

Closed tkf closed 12 years ago

tkf commented 12 years ago

Putting many files in top level directory is a bit ugly. But how to do it properly?

relevant: #5

Directory organization in other projects

Just a quick lookup.

Lisp code lies under lisp/ (no subdirectories under it):

% cd ~/.emacs.d/el-get/el-get/recipes
% grep '"lisp"' *.rcp                          
ess.rcp:       :load-path ("lisp")
jdee.rcp:  :load-path ("lisp" "elib"))
nognus.rcp:       :load-path ("lisp")
org-mode.rcp:       :load-path ("." "lisp" "contrib/lisp")
reftex.rcp:       :load-path ("lisp")
session.rcp:       :load-path ("lisp")

Flat (like current EIN):

yyr commented 12 years ago

I dont find official link to back up.. But I think The directory structure of org-mode is the standard way.

For eg: in org mode case, only the files under

doc/ lisp/ etc/

be synced to Emacs. All other directories and top level files will not go into official Emacs. Cedet is restructured recently similar to other official packages.

In any way, refactoring to sub directories is a good idea.

Just my 2c

tkf commented 12 years ago

@yyr Thanks for the info. It helps me to decide what to do. I think having a lisp/ directory is way to go.

I found Emacs's README helpful for directory organization https://github.com/emacsmirror/emacs