comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: New user - can't get Meta-tab to work on OS X
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: New user - can't get Meta-tab to work on OS X [message #33074 is a reply to message #33073] Fri, 06 December 2002 11:27 Go to previous messageGo to previous message
psisquared is currently offline  psisquared
Messages: 5
Registered: December 2002
Junior Member
In <qzuisy7wb5j.fsf@sand.science.uva.nl> Carsten Dominik wrote:
>>>> >> "CD" == Carsten Dominik <dominik@_DROP_THIS_science.uva.nl>
>>>> >> writes:
>
> CD> 4. To make a long story short: On the Mac, you cannot have IDLWAVE
> CD> completion on M-TAB (i.e. Command-TAB). However, the following
> CD> will assign idlwave-complete to ESC TAB:
>
> CD> (add-hook 'idlwave-mode-hook
> CD> (lambda ()
> CD> (define-key idlwave-mode-map "\M-\C-i" 'idlwave-complete)))
>
>
> Actually, I did some more checking. If you use option as meta by
> setting
>
> (setq mac-command-key-is-meta nil)
>
> then the above binding actually also assigns completion of Opt-TAB,
> which is what the original poster wanted.
>
> - Carsten
>

Thanks! Sounds like it's working for you. Maybe someone can tell me what
I'm doing wrong. I enter in the following into my .emacs:
;; Use the option key for META
(setq mac-command-key-is-meta nil)
:: :: Bind idlwave-complete to ESC TAB, which also works for Meta-Tab when
;; Meta is set to Option
(add-hook 'idlwave-mode-hook
(lambda ()
(define-key idlwave-mode-map "\M-\C-i" 'idlwave-complete)))

The option key part definitely works because I've been using that for a
while. When I start up Emacs I get the following error:
An error has occurred while loading `/Users/rcohen/.emacs':

Symbol's
value as variable is void: Bind

To ensure normal operation, you should
investigate the cause
of the error in your initialization file and
remove it. Start
Emacs with the `--debug-init' option to view a
complete error
backtrace

Is there a syntax error someone sees in the binding above to idlwave-
complete?

TIA,
Rob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Switch Renderer
Next Topic: anything more accurate than systime() ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 06:01:30 PDT 2025

Total time taken to generate the page: 1.83825 seconds