I'm not too good in this sort of customization.
The only customization I've done is change the font which is done through the command line so my runemacs is like this:
emacs -fn '-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1' /usr/home/home/ralph/chaos/jchaos/GraphicalFramework.java
which gives me a better font.
However if you go to the emacs site and do a search I think you'll find this sort of information.
Also if you have not already done so you may need to install all the info files - for example is there such a function as the one you are using?
Also remember that there are some xemacs defaults for jde which are NOT defaults in emacs for example:
(tempo-interactive t) so you need to go through the help file pretty carefully.
Also if you have set up customized menus you may have to redo them using easy-menu.
Bye R.
Shashank wrote:
Hi !Thanks for such a helpful reply.
I downloaded emacs version, 21.1 something, and performance is definitely better then Xemacs.
But problem me facing is am used to many customization done in Xemacs, that seems not to be working for emacs.
For as simple as if I try changing color of cursor
I tried putting up following code which works for Xemacs(setq default-frame-plist
'((cursor-color . "brickred")
;;(width . 220) (height . 62)
))
doesn't works for my emacs.
Where can I get customization codes??
thanks in advance,
take care,
Shashank
Ralph Jorre wrote:
Hi--It is a bit difficult to advise you on this as it depends on your setup.
However, as a first step you need to find out how <file_name> and <file_name(2)> are loaded.
To do this look into the buffer list from the xemacs menu and see what the paths for each of these files are.
You may find that they are <:/dir1/dir2/dir3/dir4/file_name> and </dir1/dir4/<file_name2>
this implies that you have set up a soft link (ln -s in linux ) or ("shortcut" in windows) from dir 1 to dir 4.
This link may be important for other purposes - you need to check this.
There are various remedies:
1) Use emacs - I can't see what extra xemacs gives for developing with JDE - and performance is much better with emacs.
2) Do your development from a directory which has no soft links
2) Start xemacs from a shell(bat) loading a java source file with the path as in that loaded by JDE - usually the "long" path
3) Be very consistent about how you load source file - for example always from the speedbar.
I found that only (1) was a really satisfactory solution.
Bye R.
Shashank wrote:
Hi !What is this Soft link.
How to break this or there is no solution to it.?thanks in advance,
take care
ShashankRalph Jorre wrote:
Hi thereYes - I had exactly the same problem.
I think you may have a soft link to the directory where the java source code is.
Hence when you load a file it can load through 2 paths and think that it is a file with the same name in 2 different directories and hence two different files.
The best solution is to use emacs instead of xemacs as emacs seems to know it is the same file.
Failing this you need to make sure you always load through the same path as xemacs - this is difficult as the debugger also loads files.
Or shift you source code to a directory not on a softlink.
Bye R.
Shashank wrote:
Hi !If I am editing a java source file. and then try to compile it
Control( c v c)the modeline shows File with same name but number 2 . meaning it opens
up second buffer with same name and all changes are affected in this new
buffer.How to stop this creation of new buffer file.
take care,
Shashank-- Dr R Jorre C/Ramon Matias 24 La Corujera 38390 Santa Ursula Tenerife, Islas Canarias SPAINTel: 0034 922 337035 EMAIL: [EMAIL PROTECTED]-- Dr R Jorre C/Ramon Matias 24 La Corujera 38390 Santa Ursula Tenerife, Islas Canarias SPAIN Tel: 0034 922 337035 EMAIL: [EMAIL PROTECTED]-----------------------------------------------------------
Shashank
iCMG
India Development Center
Millennium Towers
Queens Road, Bangalore - 51
Ph:91-80-286 5620 Fax:91-80-286 5623
-------------------------------------------------------------
Architecting Software Components for EAI
http://www.iCMGworld.com/
-------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you are not
the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message.
-- Dr R Jorre C/Ramon Matias 24 La Corujera 38390 Santa Ursula Tenerife, Islas Canarias SPAIN Tel: 0034 922 337035 EMAIL: [EMAIL PROTECTED]
