LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2004, 07:48 AM   #1
pycoucou
Member
 
Registered: Apr 2004
Location: Edinburgh
Posts: 78

Rep: Reputation: 15
Emacs tuning


Hi there,

I would like to tune my emacs but I don't know how to do that.

1) I tried the following in .emacs but emacs don't like it that much.

(defun start-exception-block()
(interactive)
(insert "try {\n} catch (Exception e) {\n}")
(backward-char 25)
)

(define-key java-map-mode "\C-ce" 'start-exception-block)

2) I would like to load some el files from .emacs.d/ directory for instance but

(setq load-path
(append (list nil "/u1/pg/pym1/.emacs.d/") load-path))

don't seem to do the trick.

Does any of you understand emacs well enough to explain me the tailoring of emacs?

Thanks very much.
Cheers,
Pierre-Yves

PS: Another one... Under my previous linux distribution (Mandrake, now I'm on RH sth.0), I've got much better key for typing latex. For instance, \c-cf was able to write begin figure, generate a proper label fig:<myFigLabel> etc... Now, I ve just \C-ce to do some \end opened environment.... I don't know if I'm clear but this tuning was really handy for efficient report writing...
 
  


Reply



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
Regarding MEMORY TUNING hinetvenkat Linux - General 2 08-19-2005 07:58 AM
emacs not responding to .emacs file in Mandriva 2005 LE. Please help LaptopLinux Mandriva 1 06-08-2005 08:36 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM
Satellite TV tuning mmc Linux - Software 0 03-19-2004 06:40 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:47 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