comp.lang.ada
 help / color / mirror / Atom feed
* Ada Mode for Emacs
@ 2002-06-09  0:26 chris.danx
  2002-06-09  2:34 ` Jeremy
                   ` (3 more replies)
  0 siblings, 4 replies; 32+ messages in thread
From: chris.danx @ 2002-06-09  0:26 UTC (permalink / raw)


Hi,

I'm having a spot of bother with Emacs and since I don't know if it's ada
mode specific I thought I'd ask here rather than gnu.emacs.help (there are
ppl here who use emacs IIRC).  The problem is that when TAB is pressed it
won't indent further than the previous line, and won't allow lines to be
indented of my free will (indentations can be decreased but not increased).

I did some digging and found an option

Emacs->Editing->Indent->Tab Always Indent

which controls the global behaviour.  This is non-nil and works for non-Ada
files.  I haven't tried editing files for other languages, so I don't know
if this is Ada mode specific.  Does Ada mode override this setting, or is it
a more general programming setting?  I've tried fiddling with the Ada mode
settings a little, but to no avail.  Also looked through most of the
customisation settings, but might have missed it.

This is most annoying since it doesn't allow information to be formatted in
a neat way, comments in particular:

e.g.

-- author:        Bob
-- date:          7th June 2002
-- last modified: 7th June 2002


The alternative emacs is currenlty imposing just looks silly.  Any ideas?


Chris.








^ permalink raw reply	[flat|nested] 32+ messages in thread
* Re: Ada mode for emacs
@ 1993-09-08 22:19 munck
  0 siblings, 0 replies; 32+ messages in thread
From: munck @ 1993-09-08 22:19 UTC (permalink / raw)


In INFO-ADA Digest V93 #58, Rolf Ebert <ebert@enpc.fr> said:

> I don't want to start an editor flame war, but the best editor (IMHO)
> that I've ever seen or used is GNU-Emacs. ... hilight package for Ada
> which puts keywords in black-bold, comments in red-italic, ...
> ... full featured Ada mode for Emacs with templates, automatic
> indentation, online LRM and some other goodies ...

Along with that, I'd recommend the "hyperbole" hypertext package -- also
an emacs extension -- from wilma.cs.brown.edu:pub/hyperbole.  This will
allow you to structure your source code, documentation, tests, design
documents, requirements documents, etc. as a hypertext with links from
one to another.  Possible uses:

 - trace forward and backward from requirements to design to code to test

 - click on an identifier in the code and see its definition or
   references to it in the documentation.

 - structure documentation like an on-line HELP system, with point-and-
   click indices, cross-references, etc.

 - call up graphic editors to see requirements or design diagrams.

emacs and hyperbole have quite a bit of support for invoking programs; I
wonder if we could integrate GNAT with them?

Bob Munck

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

end of thread, other threads:[~2002-06-11 18:25 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-09  0:26 Ada Mode for Emacs chris.danx
2002-06-09  2:34 ` Jeremy
2002-06-09  5:19   ` David Marceau
2002-06-09  7:08     ` [OT] " Pascal Obry
2002-06-09 10:35       ` Preben Randhol
2002-06-09 10:46         ` Pascal Obry
2002-06-09 16:35         ` Darren New
2002-06-09 23:54           ` Preben Randhol
2002-06-11  9:12     ` Frode Tenneboe
2002-06-11 11:54       ` John McCabe
2002-06-11 13:10         ` Adrian Hoe
2002-06-11 15:12           ` John McCabe
2002-06-11 18:25       ` Stephen Leake
2002-06-09 13:05   ` chris.danx
2002-06-09 17:13     ` Chad R. Meiners
2002-06-10 11:07       ` Adrian Hoe
2002-06-09 17:57     ` Simon Wright
2002-06-10  9:59       ` Emmanuel Briot
2002-06-10 11:09       ` Adrian Hoe
2002-06-09 11:08 ` Simon Wright
2002-06-09 11:43   ` Preben Randhol
2002-06-09 14:14     ` Pascal Obry
2002-06-09 22:42 ` Stephen Leake
2002-06-10  1:27   ` chris.danx
2002-06-10 12:52     ` Stephen Leake
2002-06-11  6:08     ` Adrian Hoe
2002-06-11 12:11       ` chris.danx
2002-06-11 13:17         ` Adrian Hoe
2002-06-11 14:06           ` chris.danx
2002-06-10 12:00   ` chris.danx
2002-06-10 15:02 ` Georg Bauhaus
  -- strict thread matches above, loose matches on Subject: below --
1993-09-08 22:19 Ada mode for emacs munck

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