comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Emacs Ada mode vs Ada 2012 syntax
Date: Fri, 31 Aug 2012 12:47:59 +0200
Date: 2012-08-31T12:47:57+02:00	[thread overview]
Message-ID: <5040965d$0$6580$9b4e6d93@newsspool3.arcor-online.net> (raw)
In-Reply-To: <85r4qnweue.fsf@stephe-leake.org>

On 31.08.12 12:11, Stephen Leake wrote:

> One option is to totally rewrite that part of Emacs Ada mode, replacing
> it with a semantic browser based engine implemented in elisp.

Since other pre-Ada 2012 things do seem to confuse the current mode
(such as anonymous access to subprogram parameters), starting from a
well documented grammar with some error rules added to the grammar
seems promising. This might have to be done carefully if what Emacs
currently has would, by default, result in one of those parsers that
cannot handle ''' properly.

Is there some current introduction to Emacs syntax thingies?
Last time I looked it seemed to be a moving target.

> 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.

Argh!

- "Emacs Ada Support: Now Vendor Locked!"

- GPS version dependence

- cuts alternatives (Emacs' indentation has some nice
  adjustable features that GPS does not have, and vice versa)

- cannot change Emacs mode without knowing some other, external
  program's sources well, and how to recreate that

- might force running an X server (unless an "indentation
  daemon" could be extraced/made from GPS/gnatpretty).
  Pretty often, I need to run emacs in a terminal window outside
  a graphical environment; imagine a remote server machine,
  or some virtual machine that is efficient only when it does
  not have to compute pixels.





  reply	other threads:[~2012-09-07  1:22 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31 10:11 Emacs Ada mode vs Ada 2012 syntax Stephen Leake
2012-08-31 10:47 ` Georg Bauhaus [this message]
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
replies disabled

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