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

Home » Public Forums » archive » Re: IDLWAVE routine info problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDLWAVE routine info problem [message #47469] Fri, 10 February 2006 09:30 Go to next message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Fri, 10 Feb 2006 03:43:08 -0800, lbusett@yahoo.it wrote:

> Hi all,
>
> I'm trying to install IDLWAVE on my windows XP PC, but I'm having
> some problems. I installed Xemacs (last version) and i also updated the
> IDLWAVE package to version 5.6, and all seems to work correctly until i
> try to use the help or the auto-completion function: the problem is that
> only some of the IDL procedures are "available".
>
> For example, if i write "d" and then "ESC + TAB" for autocompletion, i
> can't find the "DIALOG_PICKFILE" procedure(see below):
>
>> Possible completions are:
>> define_key dendro_plot dlm_load define_msgblk dendrogram
>> dlm_register define_msgblk_from_file device doc_library defsysv
>> dfpmin draw_roi
>> delvar dissolve
>
> The results are strange: for example, I can get "WIDGET_CONTROL", but not
> "WIDGET_BASE".
>
> What am I doing wrong ? Do i need to update in some way the routine-info
> files ? If so , how can I do it (I'm completely new with emacs/xemacs) ?

IDLWAVE understands the difference between procedures and functions.
You are trying to complete a procedure, whereas DIALOG_PICKFILE is a
function, so it doesn't show up in the list. Try:

f=dia[M-Tab]

and DIALOG_PICKFILE should show up. IDLWAVE actually understands the
completion context of many different things. The current list is (for
point at the `_'):

plo_ Procedure
x = a_ Function
plot,xra_ Keyword of plot procedure
plot,x,y,/x_ Keyword of plot procedure
plot,min(_ Keyword of min function
obj -> a_ Object method (procedure)
a[2,3] = obj -> a_ Object method (function)
x = obj_new('IDL_ Class name
x = obj_new('MyCl',a_ Keyword to Init method in class MyCl
pro A_ Class name
pro _ Fill in Class:: of first method in this file
!v_ System variable
!version.t_ Structure tag of system variable
self.g_ Class structure tag in methods
state.w_ Structure tag, if tag completion enabled
name = 'a_ File name (default inside quotes)


You can also force the IDLWAVE completion context, e.g. using the menu
IDLWAVE->Complete->Complete Specific. Of course, if you complete
DIALOG_PICKFILE as a function but call it as a procedure, IDL will
complain and it won't work. Usually IDLWAVE knows best.

JD
Re: IDLWAVE routine info problem [message #47529 is a reply to message #47469] Mon, 13 February 2006 04:11 Go to previous messageGo to next message
lbusett@yahoo.it is currently offline  lbusett@yahoo.it
Messages: 30
Registered: February 2006
Member
Ooops... I knew I was missing something.... now I know how to use the
completion function correctly !

Thanks for your help!

I have just another question: I've been able to customize IDLWAVE in
order to highlight different "items" with different colors, but I can't
find a way
to highlight procedure and function names. How can I do that ?

Thanks,


Lorenzo
Re: IDLWAVE routine info problem [message #47603 is a reply to message #47529] Tue, 21 February 2006 11:07 Go to previous messageGo to next message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Mon, 13 Feb 2006 04:11:13 -0800, lbusett@yahoo.it wrote:

> Ooops... I knew I was missing something.... now I know how to use the
> completion function correctly !
>
> Thanks for your help!
>
> I have just another question: I've been able to customize IDLWAVE in
> order to highlight different "items" with different colors, but I can't
> find a way
> to highlight procedure and function names. How can I do that ?

In definition statements routines are already highlighted. Do you
mean when they are being called? This is non-trivial (and no other Emacs
programming modes I know of do this, for this reason).

JD
Re: IDLWAVE routine info problem [message #47742 is a reply to message #47603] Wed, 22 February 2006 01:39 Go to previous message
lbusett@yahoo.it is currently offline  lbusett@yahoo.it
Messages: 30
Registered: February 2006
Member
Hi JD,

I'm sorry that my question wasn't clear: What I'd like to know is if
in IDLWAVE it is possible to highlight the calls to built-in functions
or procedures like it happens in the IDLDE environment (e.g. when i
write "plot, X,Y", the word "plot" is highlighted in blue).

Thanks for the help,

Lorenzo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL java bridge on Windows
Next Topic: iTools opinions

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

Current Time: Wed Oct 08 18:41:47 PDT 2025

Total time taken to generate the page: 0.00454 seconds