LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2005, 12:59 PM   #1
Hockeyfan
Member
 
Registered: May 2004
Distribution: SuSe 10.0
Posts: 154

Rep: Reputation: 30
emacs module install


I just found a module that will highlight keywords for Apache velocity. My only problem is that I can not find the right directory to put the vtl.el file in. Can someone please tell me?

Thanks
 
Old 05-22-2005, 01:51 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
in emacs you do Cntrl. h then v load-path RETURN and emacs will tell you all the places it looks for lisp code
just put it in the first place
you might want to
while you are in that directory go ahead and
Esc. (push and relaese) x byte-compile-file RETURN and feed it the file to compile so it runs better

you could always create a new entry in search-path using your ~/.emacs file but no reason to

also it might require some code in ~/.emacs to get it to load at apropriate times
consult the info the author gives
i think this is it but i'm not sure -- don't use it myself
Code:
(autoload 'turn-on-vtl-mode "vtl" nil t)
(add-hook 'html-mode-hook 'turn-on-vtl-mode t t)
(add-hook 'xml-mode-hook 'turn-on-vtl-mode t t)
(add-hook 'text-mode-hook 'turn-on-vtl-mode t t)
or you can put the code to load the mode (i bust a rhyme)
into a file in the directory it's in named site-start.el i think but again no need to do that just use ~/.emacs
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where is the .emacs file in the emacs source code tarball? aizkorri Programming 2 01-13-2007 02:05 PM
Emacs module for better perl coding rose_bud4201 Linux - Software 3 04-27-2005 02:39 PM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM
php static module & dynamic module install. eye Linux - Software 0 10-18-2003 12:16 PM
Emacs re-install from RPM odat Linux - Software 0 06-07-2001 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration