For simple code snippets I use abbrevs. See help on buffer-abbrev-file, expand-abbrev, abbrev-list. Many languages already support abbrev mode by default. By...
Bryan Schofield
schofield.bryan@...
Oct 2, 2006 4:07 pm
1969
You could write a macro and tie it to a keystroke or menu item. The macro could do the equivalent of "print" statements, or insert text read from a file. ...
The documentation for cygwin integration contains this tidbit in the bugs section: Break Key A break in a bash shell is C-c , the macros define the key C-c...
Bryan Schofield
schofield.bryan@...
Oct 3, 2006 5:50 pm
1971
Does anyone have java highlight and indent fixes that improve how java 5 annotations and generics are handled?...
Bryan Schofield
schofield.bryan@...
Oct 3, 2006 7:10 pm
1972
My biggest gripe about Java indenting is how it handles things inside parentheses: What I want: foo = new some_long_class_name( some_long_param); What it...
... No this has not changed. The contents of a bracket are aligned and yes you are right that it uses the 'C' indentation. You could over-ride the indent rules...
set-variable $timestamp "%Y%M%D.%h%m" causes session files to become corrupted with the message: [Session file "foo" is corrupt - missing end marker] Sessions...
Bryan Schofield
schofield.bryan@...
Oct 3, 2006 8:51 pm
1975
In ME 2005 I defined myjava.emf as follows to fix the indentation issues: indent .hilight.java "s" t indent .hilight.java "c" t indent .hilight.java "x" t ...
Bryan Schofield
schofield.bryan@...
Oct 3, 2006 9:07 pm
1976
Ahh.. mystery solved... 2006 uses 2 different indentations for java and real java files don't use "hilight.java" indent, they use "hilight.java + 1" indent......
Bryan Schofield
schofield.bryan@...
Oct 3, 2006 9:24 pm
1977
... Hi Bryan, I'm not sure as trap '' INT does not seem to work in my cygwin. Regards Jon....
I sometimes wonder why Jon writes such good documentation when no one seems to read them! I guess its to help me answer these questions :) To solve the problem...
Steven Phillips
bill@...
Oct 3, 2006 10:29 pm
1981
... OK, being as you have just become our Java experts. Is this what we should set the default Java template to for the 2006 distribution? (with the missing...
It's a start but not complete... the indentation still can't handle annotations. Consider how ME indents the following contribed method: @Deprecated ...
Bryan Schofield
schofield.bryan@...
Oct 4, 2006 2:06 pm
1984
... ... and, what is is supposed to look like? How should this indentation be performed? Are there any other problems with the indentation or is this the only...
Jon Green
jnaught@...
Oct 4, 2006 2:34 pm
1985
Sorry, I should have been more clear... A little work to be done still... by me :) When I get it worked out, I'll submit a patch....
Bryan Schofield
schofield.bryan@...
Oct 4, 2006 2:43 pm
1986
... I like this answer, that is good. Be aware we are very close to a final release cut which is likely to be complete in the next few days. There is a little...
Is there a way to tell ME to start in full screen mode? If not, is there a way to specify a location and size on startup so that it will be close to full...
... See the following for start up size/position: .Xdefaults(8) me32.ini(8) For a 'soft' macro approach use - the easiset way: Rightclick on mode line to...
Yowza.... this was rather complicated, but I have an indentation scheme for java that seems to handle most things I could throw at it with the exceptions I...
Bryan Schofield
schofield.bryan@...
Oct 4, 2006 9:18 pm
1990
crap... I pasted in a line accidentally... delete the following: 0 indent .indent.java-enum 1 20...
... Would you want to add this as well? Jon. ; fix throws indent at start of line, typically a statement ; continuation. indent .indent.java s "^\\s*throws\\s"...
... A few more to add to that maybe? ; fix throws/implements/extends indent at start of line, typically a ; statement continuation. indent .indent.java s...
I took a look at the java hilighting. It was missing some java keywords and it had a bunch of c keywords that don't really apply. Below is a suggestion for...
Bryan Schofield
schofield.bryan@...
Oct 5, 2006 2:51 pm
1995
... Thanks Bryan, I have re-worked hkjava.emf with all of the suggestions received to date. If you install this then delete the myjava.emf file (or rename to ...
Hold it. This release is unusable. Basic functionality has been broken: private static final Logger LOG = Logger.getLogger(PeakHourReportRunner.class); now...