From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c1b4b86c91ace6ed X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-09 18:28:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!csulb.edu!newshub.sdsu.edu!west.cox.net!cox.net!newspeer1-gui.server.ntli.net!ntli.net!news8-gui.server.ntli.net.POSTED!53ab2750!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: Subject: Re: Ada Mode for Emacs X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Mon, 10 Jun 2002 02:27:40 +0100 NNTP-Posting-Host: 80.5.140.234 X-Complaints-To: abuse@ntlworld.com X-Trace: news8-gui.server.ntli.net 1023672481 80.5.140.234 (Mon, 10 Jun 2002 02:28:01 BST) NNTP-Posting-Date: Mon, 10 Jun 2002 02:28:01 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:25640 Date: 2002-06-10T02:27:40+01:00 List-Id: "Stephen Leake" 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