comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <spamoff.danx@ntlworld.com>
Subject: Re: Ada Mode for Emacs
Date: Mon, 10 Jun 2002 02:27:40 +0100
Date: 2002-06-10T02:27:40+01:00	[thread overview]
Message-ID: <BgTM8.2004$q65.143959@news8-gui.server.ntli.net> (raw)
In-Reply-To: wk3cvwqdkv.fsf@acm.org


"Stephen Leake" <stephen_leake@acm.org> wrote in message
news:wk3cvwqdkv.fsf@acm.org...

> The behaviour you want is implemented by the function
>
> tab-to-tab-stop
>
> So you need to bind that to a key in ada-mode. I suggest S-tab or
> C-tab, rather than tab itself:
>
> (define-key ada-mode-map [C-tab] 'tab-to-tab-stop)

:(  That doesn't work.  It says "identifier not found" when C-tab is pressed
when there's no identifier and "no cross-reference available for reserved
word" so I'm guessing C-tab is redefined elsewhere.

M-tab won't work on Windows since M is alt and alt-tab is switch between
tasks/programs within Windows, S-tab is assigned to untab.

I reassigned s-tab to tab-to-tab-stop to test it, but it gives "not
implemented"!  Assigning it to another sequence "C-x\C-g" (which is free)
just gives a ping sound each time it's pressed (no text in the minibuffer)
:(  This is maddening!


> As others have pointed out, the "standard" Ada-mode tab function is
> extremely useful in normal code. Give it a try, you'll like it
> eventually :).

Sure the default will be ok, if the other tab (c-tab/s-tab/whatever) will
there when it's really needed (or rather wanted).


Chris





  reply	other threads:[~2002-06-10  1:27 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
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 [this message]
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