Hi,
I'm new to emacs and JDE, and am currently getting to grips with emacs
before moving onto master the lovely looking
JDE. So far things are going well, but one aspect is annoying me, and thats
code placement / tabs.
To explain, consider the following block of code:
void someFunction()
{
int iVariableA = 0; // Variable A
long lVariableB = 0; // Variable B
String sString = new String("Hello"); // String
// Code follows...
}
This is how I am currently forced to type it in, with emacs auto-code
formatting. Whilst I love the autoformatting, its a pain how it goes beyond
controlling not just where a line starts, but everything else (at least it
does on my current setup). I would prefer to be able to format the code like
this:
void someFunction()
{
int iVariableA = 0; // Variable A
long lVariableB = 0; // Variable B
String sString = new String("Hello"); // String
// Code follows...
}
using tabs to column-ise the code, making it more readable.
Is it possible to configure emacs to allow me to insert tabs within a line,
but still let it autoformat the starts of the line? I'm sure it must be,
since if I create the code above (second example) within another editor and
import it into emacs, and then run autoformat, it doesn't remove my mid-line
tabs.
Oh, on a more trival note, maybe someone could offer some help on the
following items:
1. I know you can delete from cursor to the end of a line, but can you
delete from the cursor to the start of a line? (which you can do in a brief
editor)
2. I noticed that the latest JDE has help at point functionality, but the
docs say it needs jdk documentation in javadoc format I believe? Are these
downloadable, or do they have to be generated somehow? Also, is it possible
to get JDK to reference the jdk HTML's instead?
3. For various reasons I cannot install the cygwin unix tools, so this means
I'm left without grep functionality (and probably other things too). This is
tricky obviously. I'm running NT, which has a find command, and I was
wondering if anyone has customised their emacs to use this command, assuming
that its possible of course?
4. Is there an emails mailing list? Also, are there any good guides /
tutorials beyond the ones that come with emacs, particularly on the .emacs
file and its possibilities.
5. When I edit the .emacs file, is there anyway of getting emacs to realise
the changes without shutting it down, or is that the only options?
Thanks for your help, please excuse the simple questions (which are mostly
emacs questions I know), but as I say I'm new to emacs and JDE, and its a
big hurdle to climb, but fun!
Martin Kift
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com