comp.lang.ada
 help / color / mirror / Atom feed
* Emacs Ada mode vs Ada 2012 syntax
@ 2012-08-31 10:11 Stephen Leake
  2012-08-31 10:47 ` Georg Bauhaus
                   ` (4 more replies)
  0 siblings, 5 replies; 54+ messages in thread
From: Stephen Leake @ 2012-08-31 10:11 UTC (permalink / raw)


(also posted to emacs-ada-mode mailing list, partly as a test of
which place is better for this type of discussion)

I've started using some Ada 2012 syntax, in particular if expressions,
and it confuses the Emacs Ada mode indentation engine.

So it's time to think about adding that syntax to the engine.

However, as I've mentioned before, the current Emacs Ada mode
indentation engine is a horrible mess of heuristic code, so I really
don't want to mess with it.

One option is to totally rewrite that part of Emacs Ada mode, replacing
it with a semantic browser based engine implemented in elisp. Emacs has
support in general for this approach; several other language modes use
it. We could possibly get hints from the GPS implementation (I'm
assuming it does Ada 2012 by now).

Another option is to try to abstract the Ada implementation of the
indentation engine from GPS, and arrange for Emacs to use it, via
process or function calls. I don't think that would be easy, and it
could be too slow.

Another option is to give up on Emacs. I don't want to do that, but if
there are not many people using it, maybe it's time.

Opinions? Offers of help?

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2013-04-12 13:09 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-31 10:11 Emacs Ada mode vs Ada 2012 syntax Stephen Leake
2012-08-31 10:47 ` Georg Bauhaus
2012-09-01 16:25   ` Stephen Leake
2012-08-31 11:33 ` Simon Wright
2012-09-01  7:31 ` stefan-lucks
2012-09-02 11:23   ` Stephen Leake
2012-09-06  6:04 ` Jerry van Dijk
2012-09-06 15:46   ` Adam Beneschan
2012-09-07  9:45     ` Stephen Leake
2012-10-03 12:40 ` Jacob Sparre Andersen
2012-10-04  8:28   ` Stephen Leake
2012-10-08  9:37     ` Markus Schöpflin
2012-10-09  3:14       ` Stephen Leake
2012-10-09  7:53         ` Markus Schöpflin
2012-10-10  6:19           ` Stephen Leake
2012-10-10  7:55             ` Markus Schöpflin
2012-10-12 16:30               ` Jacob Sparre Andersen
2012-10-13 12:20               ` Stephen Leake
2012-10-14  1:23                 ` Vasiliy Molostov
2012-10-23  9:30               ` Gour
2012-10-23 11:27                 ` Markus Schöpflin
2012-10-23 21:56                   ` Gour
2012-10-23 11:31             ` Markus Schöpflin
2012-10-24 10:13               ` Stephen Leake
2012-10-24 13:06                 ` Markus Schöpflin
2013-03-24 20:18                   ` Gour
2013-03-24 22:34                     ` Simon Wright
2013-03-25  7:21                       ` Gour
2013-03-26 20:27                         ` Stephen Leake
2013-03-26 21:24                           ` Gour
2013-03-29 22:02                             ` Stephen Leake
2013-03-30  5:54                               ` Gour
2013-03-31 11:39                                 ` Stephen Leake
2013-03-31 21:01                                   ` Gour
2013-04-02 11:12                                     ` Stephen Leake
2013-04-02 13:20                           ` Shmuel Metz
2013-04-04  8:10                             ` Stephen Leake
2013-04-04  9:21                               ` Simon Wright
2013-04-05  8:35                                 ` Stephen Leake
2013-04-06  7:43                                   ` Simon Wright
2013-04-04  9:38                               ` Gour
2013-04-05  8:37                                 ` Stephen Leake
2013-04-06  3:31                                   ` Dennis Lee Bieber
2013-04-06  7:04                                   ` Gour
2013-04-08  7:43                                     ` Markus Schöpflin
2013-04-08  8:53                                       ` Gour
2013-04-10 22:39                                       ` Stephen Leake
2013-04-11  4:31                                         ` Gour
2013-04-12 10:56                                           ` Stephen Leake
2013-04-12 12:07                                             ` Gour
2013-04-12 13:03                                               ` Markus Schöpflin
2013-04-12 13:09                                                 ` Gour
2013-04-07  2:34                               ` Shmuel Metz
2013-04-10 22:38                                 ` Stephen Leake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox