Cannot add space after abbrev keyword in comment
Hi, with the latest JDEE beta I cannot type a space after abbrev keywords ("if", "for", "while", ...) in a comment, eg, I have: /** * Return the history for--|-- with cursor at "--|--" I try to type a space but nothing happens! The same is true for // comments. Sorry this is just a bug report - I can't contribute any lisp fix! Thanks, Maurice Maurice Nicholson Senior Analyst Programmer SITA Advanced Travel Solutions Tel: +44 (0) 1483 414411 Fax: +44 (0) 1483 414122 Direct: +44 (0) 1483 521294 Email: [EMAIL PROTECTED] This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please notify us immediately and delete it from your system. 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. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of SITA.
Re: Cannot add space after abbrev keyword in comment
Hi, I think I'll use #1 for now (C-q - but I knew what you meant) and look at tmmofl later. BTW, this problem also happens in strings. Thanks, Maurice Maurice Nicholson Senior Analyst Programmer SITA Advanced Travel Solutions Tel: +44 (0) 1483 414411 Fax: +44 (0) 1483 414122 Direct: +44 (0) 1483 521294 Email: [EMAIL PROTECTED] This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please notify us immediately and delete it from your system. 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. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of SITA. Charles Sutton <[EMAIL PROTECTED]> 23/10/2003 15:31 To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: Cannot add space after abbrev keyword in comment On Thursday, October 23, 2003, at 05:03 AM, [EMAIL PROTECTED] wrote: > Hi, > > with the latest JDEE beta I cannot type a space after abbrev keywords > ("if", "for", "while", ...) in a comment, eg, I have: > > /** > * Return the history for--|-- > > with cursor at "--|--" I try to type a space but nothing happens! The > same > is true for // comments. > > Sorry this is just a bug report - I can't contribute any lisp fix! > I have experienced this as well. As for as workarounds go, 1. Typing M-q will bypass abbreviations and give you a space. 2. I don't have this problem any more because I use Phillip Lord's tmmofl package (http://www.russet.org.uk/emacs.html). tmmofl changes minor mode based on the current font lock, so that for example, you can set it so that in comments you have auto-fill but no abbrev, but everywhere else you have abbrev but not auto-fill. It's quite convenient. Cheers, Charles -- Charles Sutton University of Massachusetts, Amherst [EMAIL PROTECTED] URL: http://www.cs.umass.edu/~casutton/
unusual symbol lookup feature
Hi, I find C-c C-v C-y excellent and find myself using it more and more, but occasionally have this odd behavoir: Point is in class "A" like so: public class A { ... new X().--|--someMethod() ... } and I hit C-c C-v C-y. I get the dialog: === Which class? (*) java.lang.Object ( ) org.omg.CORBA.Object ( ) com.inprise.vbroker.CORBA.Object ( ) org.omg.CORBA.Object [Ok] [Cancel] === At the same time JDE loads class "X" in the other window. If I select "Ok" or "Cancel" we stop there and the cursor rests at: public class X--|-- extends Y { ... Actually class "Y", which as you can see is the super of "X", implements the method. And if I then go back to the original point and redo C-c C-v C-y the screen splits and in one I have class X (again!) and in the other class Y with point correctly placed after the method name. IMHO class X is a red herring and should not be loaded at all! Also, I can repeat this double-attempt sequence over and over with the same result, so JDE apparently does not "learn" where the method is defined. Does anybody else also have this? Thanks, Maurice Maurice Nicholson Senior Analyst Programmer SITA Advanced Travel Solutions Tel: +44 (0) 1483 414411 Fax: +44 (0) 1483 414122 Direct: +44 (0) 1483 521294 Email: [EMAIL PROTECTED] This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please notify us immediately and delete it from your system. 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. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of SITA.