comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <spamoff.danx@ntlworld.com>
Subject: Re: Ada Mode for Emacs
Date: Sun, 9 Jun 2002 14:05:47 +0100
Date: 2002-06-09T14:05:47+01:00	[thread overview]
Message-ID: <4pIM8.494$ca2.82652@newsfep1-win.server.ntli.net> (raw)
In-Reply-To: pan.2002.06.08.22.29.45.789120.21891@cowgar.com


"Jeremy" <j___c@cowgar.com> wrote in message
news:pan.2002.06.08.22.29.45.789120.21891@cowgar.com...
> Your apt to start a war (or maybe I am) talking about editors, but
> Emacs is the best for Ada!

I had no intention of starting a war, I just want to control formatting but
got no idea what I'm doing!


> You need to download the Ada mode for Emacs. It can be found at:
>
> http://libre.act-europe.fr/

I have it already, it comes with emacs 21.2.1 or has there been an update
since then?


> Once you have this, Emacs will do all the formatting for you,
> perfectly! Places that you want to format with comments such as:
>
> Put_Line ("Short"); -- Just demo
> Put_Line ("Much longer than prev line"); -- Long
>
> your right, tab will not indent. You will have to use your
> space bar, but this is better because a space is always a space
> no matter what your editor or platform, therefore your comments
> will always align.

Yes but most of the editors I use have soft tabs, and that's the way I like
it.  Emacs is customisable so in theory I should be able to get the same
behaviour, unfortunately in practise lack of knowlege of elisp prevents me.


> Once you get the mode, remove the Always Indent feature you
> enabled and watch Emacs do what it's best at.

I don't see how that would help, but I'll try it anyway... ok tried it
didn't work.  Emacs on windows says tab isn't implemented, don't know about
Linux.

I suppose what I want is:

Soft tabs (i.e. spaces)
soft tabs that always work!
auto indentation.

emacs does auto indentation in ada mode already, so all it needs are soft
tabs that always work when tab is hit.



Chris





  parent reply	other threads:[~2002-06-09 13:05 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
replies disabled

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