eiffel-emacs-users Mailing List for Emacs Eiffel mode
Brought to you by:
berenddeboer
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(10) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Berend de B. <be...@po...> - 2012-05-10 09:23:24
|
>>>>> "Colin" == Colin Adams <col...@gm...> writes: Colin> I want to add highlighting support for the note keyword Colin> (replacement for indexing), and also correctly highlight Colin> functions that are not marked with the "is" keyword Colin> (annoyingly, this has been dropped from the standard, Colin> obscuring the cost model still further). This will mean Colin> multi-line parsing, but I've checked the elisp reference Colin> manual, and it is possible to do this. Colin> Do I have commit authority to the repository (sourceforge Colin> name is colin-adams)? If not, you can will it :-) It's on my list to completely rewrite the parser into something simpler, but that's one of those plans... It also doesn't handle agents, so that's the main reason to rewrite this into something drastically simpler. -- All the best, Berend de Boer ------------------------------------------------------ Awesome Drupal hosting: https://www.xplainhosting.com/ |
From: Colin A. <col...@gm...> - 2012-05-10 08:50:12
|
I want to add highlighting support for the note keyword (replacement for indexing), and also correctly highlight functions that are not marked with the "is" keyword (annoyingly, this has been dropped from the standard, obscuring the cost model still further). This will mean multi-line parsing, but I've checked the elisp reference manual, and it is possible to do this. Do I have commit authority to the repository (sourceforge name is colin-adams)? |
From: Colin A. <col...@go...> - 2008-09-18 00:43:26
|
Can you add support for notes? (So that it is treated identically to indexing). |
From: Colin A. <col...@go...> - 2008-09-16 07:29:21
|
I've asked for this before - can we please have support for the ECMA syntax where "is" is not a keyword. I.e. Functions and commands should be recognized as soon as (, do, external or once appear). Also constants use = instead of "is". I tried looking at the code, but I can't see where "is" is recognized. |
From: Colin A. <col...@ho...> - 2007-04-04 15:14:20
|
Currently, eiffel-mode recognizes functions from the presence of the is keyword. With the advent of ECMA, and ISE 5.7, this is no longer a sure sign. Because of ECMAs attribute bodies, i think it will be very difficult for emacs to distinguish between attributes and functions with no arguments in the future, but could we at least look for an opening bracket? This also helps when the is keyword appears on a second line. _________________________________________________________________ Match.com - Click Here To Find Singles In Your Area Today! http://msnuk.match.com/ |
From: Colin A. <col...@ho...> - 2007-02-14 12:32:15
|
Can we please remove all knwoledge of the SE 2 insert keyword from eiffel-mode? It can mess things up, both highlighting and indentation. _________________________________________________________________ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com |
From: Colin A. <col...@ho...> - 2007-02-08 11:13:18
|
>From: Berend de Boer <be...@po...> > >>>>> "Colin" == Colin Adams <col...@ho...> writes: > > Colin> Aren't comments in the body of a routine supposed to be > Colin> indetned by one more tab than their surroundings? > >Don't think so, at least would be setting I would have disabled. > >Indenting is more for comments on stuff above, in a body I usually >comment on stuff below. Well, the Gobo style guidelines require it: "<section id="free_comments"><title>Free Comments</title> 134 135 <para> 136 They should give useful information and not just paraphrase the software text. 137 They should appear on the line before the instruction(s) to be explained and 138 should have one more indentation level to the right than the instruction(s). 139 </para> 140 141 </section> " so I need it as an option that I can set, at least. Personally, I think the Gobo guidelines should be the default. _________________________________________________________________ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/ |
From: Berend de B. <be...@po...> - 2007-02-08 10:04:33
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "Colin" == Colin Adams <col...@ho...> writes: Colin> Aren't comments in the body of a routine supposed to be Colin> indetned by one more tab than their surroundings? Don't think so, at least would be setting I would have disabled. Indenting is more for comments on stuff above, in a body I usually comment on stuff below. - -- Live long and prosper, Berend de Boer PS: This email has been digitally signed if you wonder what the strange characters are that your outdated email client displays. PGP public key: http://www.pobox.com/~berend/berend-public-key.txt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFFyvWnIyuuaiRyjTYRAq9xAJ0aRzdZQ60eF+m/fyzkT3nUfOczOQCfcKtw kwgSV0P/KIxHxI/RBMeUrVE= =zQpr -----END PGP SIGNATURE----- |
From: Colin A. <col...@ho...> - 2007-02-08 09:15:15
|
Aren't comments in the body of a routine supposed to be indetned by one more tab than their surroundings? _________________________________________________________________ Click Here To Find Your Perfect Match This Valentines! http://msnuk.match.com/ |
From: Colin A. <col...@ho...> - 2007-01-30 15:31:41
|
create {A_CLASS} make - note the presence of the class specifier - this stops the indentation working. _________________________________________________________________ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/ |
From: Berend de B. <be...@po...> - 2007-01-29 05:34:21
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "Colin" == Colin Adams <col...@ho...> writes: Colin> INTEGER_64, NATURAL_8 etc. could all be recognized and Colin> highlighted. Done, How about you getting CVS access yourself Colin? If you want it, let me know your SF username. - -- Live long and prosper, Berend de Boer PS: This email has been digitally signed if you wonder what the strange characters are that your outdated email client displays. PGP public key: http://www.pobox.com/~berend/berend-public-key.txt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFFvYdUIyuuaiRyjTYRAn4wAKCDipjmGVqYjxdmsEVifB36g8+fIQCfc3OG JJGmc4OciAME/qOHOP6aFN8= =IsqF -----END PGP SIGNATURE----- |
From: Colin A. <col...@ho...> - 2007-01-28 14:31:45
|
INTEGER_64, NATURAL_8 etc. could all be recognized and highlighted. _________________________________________________________________ Find Love This New Year With match.com! http://msnuk.match.com |
From: Colin A. <col...@ho...> - 2007-01-23 10:34:55
|
Then no longer gets highlighted after ensure, and indentation is askew. E.G: make is -- Initialize `Current'. do -- nothing to do ensure then valid: is_valid end _________________________________________________________________ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com |
From: Berend de B. <be...@po...> - 2007-01-18 21:43:05
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "Colin" == Colin Adams <col...@ho...> writes: Colin> If I type a comment that includes an (, and forget to close Colin> it with a ), then this influences the indentation of the Colin> next line. Saw the same happen with ( in strings. I'll look into this. - -- Live long and prosper, Berend de Boer PS: This email has been digitally signed if you wonder what the strange characters are that your outdated email client displays. PGP public key: http://www.pobox.com/~berend/berend-public-key.txt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFFr+giIyuuaiRyjTYRAvqGAJ9rioxBw7KpS7M7bpnFZKw8VDCE+wCgsoJd C3r70lr92O7QLEP6t34cAAk= =9cqc -----END PGP SIGNATURE----- |
From: Colin A. <col...@ho...> - 2007-01-18 14:55:37
|
If I type a comment that includes an (, and forget to close it with a ), then this influences the indentation of the next line. _________________________________________________________________ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com |
From: Colin A. <col...@ho...> - 2007-01-17 07:45:01
|
>From: Berend de Boer <be...@po...> > Colin> there are problems indenting the following routine: > >Thanks for that, here the fix. > Thanks. that works fine. _________________________________________________________________ Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/ |
From: Colin A. <col...@ho...> - 2007-01-16 17:45:26
|
there are problems indenting the following routine: add_observation (a_data, a_weight: DOUBLE) is -- Add a data point and it's associated weight to `Current'. local l_unit: DOUBLE_PAIR l_weighted: DOUBLE do l_weighted := a_data * a_weight if count = 0 then minimum := l_weighted maximum := l_weighted else minimum := l_weighted.min (minimum) maximum := l_weighted.max (maximum) end total := total + a_data square_total := square_total + (a_data * a_data) weight := weight + a_weight weighted_total := weighted_total + l_weighted create l_unit.make (a_data, a_weight) data_units.extend (l_unit) count := count + 1 order_statistics_saved := Void ensure order_statistics_cache_cleared: order_statistics_saved = Void end The first problem occurs with the assignment to weight. Removing the parentheses around the multiplication on the previous line yields correct indentation. The second problem is the indentation of the last line before the post-condition. _________________________________________________________________ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com |
From: Colin A. <col...@ho...> - 2007-01-03 14:06:26
|
When two names are given for the same routine, e.g: a, b (a_x: DOUBLE) : DOUBLE is then neither a nor b are highlighted to indicate a function name. _________________________________________________________________ MSN Hotmail is evolving check out the new Windows Live Mail http://ideas.live.com |
From: Berend de B. <be...@po...> - 2006-12-10 21:58:59
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "Colin" == Colin Adams <col...@ho...> writes: Colin> I don't know if your latest effort (as i don't have it on Colin> this machine) fixes this or not, but version 2.78 does not Colin> indent the following code well: Did some work on that in later releases, but still didn't work well. Fixed it now. Get cvs version 2.87. - -- All the best, Berend de Boer PS: This email has been digitally signed if you wonder what the strange characters are that your outdated email client displays. PGP public key: http://www.pobox.com/~berend/berend-public-key.txt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFFfIMMIyuuaiRyjTYRAjOiAKCh6HxmNZwxlXBnKANwgG7Dm4o9qwCgwYk0 00heCFpqmBDJHxfXWFcRtVM= =xNXU -----END PGP SIGNATURE----- |
From: Colin A. <col...@ho...> - 2006-12-09 13:39:25
|
I don't know if your latest effort (as i don't have it on this machine) fixes this or not, but version 2.78 does not indent the following code well: if document.is_node_number_valid (l_node_number) and then node_test.matches_node (document.retrieve_node_kind (l_node_number), fingerprint_from_name_code (document.retrieve_name_code (l_node_number)), document.element_annotation (l_node_number)) then current_item := document.retrieve_node (l_node_number) l_found := True else l_node_number := l_node_number + 1 end _________________________________________________________________ It's Hotmail's 10th Birthday! Come and play Pass the Parcel http://www.msnpasstheparcel.com |
From: Berend de B. <be...@po...> - 2006-12-05 03:49:37
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "GColin" == Colin Adams <col...@ho...> writes: GColin> These are indented flush with the left margin at present - GColin> it should be two-tabs in, I think. Any reference to this? I can make it a comment, but left margin makes sense of me. It isn't subordinate to anything. We're talking about the comment before the indexing/class keyword, right? - -- Live long and prosper, Berend de Boer (PGP public key: http://www.pobox.com/~berend/berend-public-key.txt) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFFdOwRIyuuaiRyjTYRAlkwAKDco4i4tIlyxGxwEKk650hsucBYcQCeJlVY UB25uYrRk/iaYoIjWe6ghPs= =uFuV -----END PGP SIGNATURE----- |
From: Colin A. <col...@ho...> - 2006-11-25 11:21:07
|
In code such as: if errors.count = 1 and then errors.has (discretionary_choices.key_for_iteration) and then not discretionary_choices.item_for_iteration then create comment The line: create comment is indented too far. _________________________________________________________________ Windows Live Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb |
From: Berend de B. <be...@po...> - 2006-11-25 02:57:06
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "Colin" == Colin Adams <col...@ho...> writes: Colin> Why? What does it mean? No clue, Removed it. - -- All the best, Berend de Boer (PGP public key: http://www.pobox.com/~berend/berend-public-key.txt) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFFZ7BKIyuuaiRyjTYRAhN0AJ9VG5zVHb4EJ0ngd35YioFPA69QCgCg6sVu ZCzYQ+HAyOE6PN7z5eE/YEY= =9R6v -----END PGP SIGNATURE----- |
From: Colin A. <col...@ho...> - 2006-11-24 16:03:21
|
Why? What does it mean? _________________________________________________________________ Find Singles In Your Area Now With Match.com! msnuk.match.com |
From: Colin A. <col...@ho...> - 2006-11-23 13:17:48
|
These are indented flush with the left margin at present - it should be two-tabs in, I think. _________________________________________________________________ Download the new Windows Live Toolbar, including Desktop search! http://toolbar.live.com/?mkt=en-gb |