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

Home » Public Forums » archive » Re: *MOST* useful feature!
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: *MOST* useful feature! [message #33126] Tue, 10 December 2002 07:59 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Pertti Rautiainen (pertti@sun3.oulu.fi) writes:

> Yup. Could you record the scream and put it to your home page
> (coyote.wav)?

I've added a coyote howl to the tones Windows users can
activate with the BELL procedure on my web page:

http://www.dfanning.com/programs/bell.zip

I'm not sure it has exactly the forlorn quality
I was looking for, but there you go. :-)

IDL> Bell, /Coyote

Cheers,

David

P.S. Let's just say it works pretty well if you
want to get the dog's attention during an IDL program!

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: *MOST* useful feature! [message #33128 is a reply to message #33126] Tue, 10 December 2002 01:36 Go to previous messageGo to next message
Carsten Dominik is currently offline  Carsten Dominik
Messages: 45
Registered: February 1998
Member
>>>> > "DF" == David Fanning <david@dfanning.com> writes:


DF> JD Smith (jdsmith@as.arizona.edu) writes:
>> Well, to avoid the scream, I'll only say that in addition to this useful
>> feature, IDLWAVE also lets you "Run Region" on selected text. What does
>> this do for you? Try giving a regular piece of code like:
>>
>> for i=0,1 do begin
>> foo,i
>> endfor
>>
>> to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
>> take that code, slap an END statement at the end, and .run it as a
>> $MAIN$ level routine. Excellent for trying out individual pieces of a
>> routine, complete with real control blocks, at a time.

DF> Oh, I knew it ... :-(

Just wait until JD releases his new debugger :-) I am sure we'll need
some ear protection then.

- Carsten
Re: *MOST* useful feature! [message #33129 is a reply to message #33128] Mon, 09 December 2002 15:59 Go to previous messageGo to next message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Mon, 09 Dec 2002 12:50:00 -0700, Alex Schuster wrote:

> david@dfanning.com (David Fanning) wrote:
>
>> JD Smith (jdsmith@as.arizona.edu) writes:
>
>>> to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
>>> take that code, slap an END statement at the end, and .run it as a
>>> $MAIN$ level routine. Excellent for trying out individual pieces of a
>>> routine, complete with real control blocks, at a time.
>
>> Oh, I knew it ... :-(
>
> Some time, I _will_ learn Emacs.


Try:

http://jeremy.zawodny.com/emacs/emacs.html

or

http://bioinformatics.weizmann.ac.il/~lvssso/emacs/guide.htm l

or even better yet, start Emacs, then hit "Control-h" then "t".

This advice written in 1985 from a tutor of Emacs may help:

EMACS is the name of a text editor that everyone around here,
sooner or later, learns how to use. (So far the longest hold-out
has been about three months.) Learning to use EMACS is exactly the
same as learning to ride a bicycle. It is awkward,
counter-intuitive, frequently painful, and the documentation is no
help at all. Bicycles are optimized for efficient use by those who
already know how; they are not optimized for the learning
period. Neither is EMACS. One of the most painful parts of learning
to ride a bicycle is enduring the snotty condescension of those who
go whizzing by no-hands, bragging about how easy it is. Be prepared
to have that happen as you struggle with EMACS as well.

At least the documentation is better now:

http://www.gnu.org/manual/emacs-21.2/html_chapter/emacs_toc. html


JD
Re: *MOST* useful feature! [message #33132 is a reply to message #33129] Mon, 09 December 2002 14:58 Go to previous messageGo to next message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
>> I thought coyote's *howled*.
>
> Only when they are content. When they are upset they
> swear profusely in at least three pre-Incan languages.
> It really is something to hear late at night, in a quiet
> box canyon, somewhere up in the high country.

And they always sound like they are exactly 3 feet away from the
entrance to your tent, when in fact they are probably on the other side
of the valley.

Ken
Re: *MOST* useful feature! [message #33134 is a reply to message #33132] Mon, 09 December 2002 13:57 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth Bowman (k-bowman@null.tamu.edu) writes:

> I thought coyote's *howled*.

Only when they are content. When they are upset they
swear profusely in at least three pre-Incan languages.
It really is something to hear late at night, in a quiet
box canyon, somewhere up in the high country. Most people
are startled to find their ears turning red. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: *MOST* useful feature! [message #33135 is a reply to message #33134] Mon, 09 December 2002 13:26 Go to previous messageGo to next message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
> David Fanning <david@dfanning.com> wrote:
> : P.S. If somebody opens their mouth and says they
> : have been able to do this with their IDLWAVE emacs
> : mode since 1986 I am going to scream. :-(
>
> Yup. Could you record the scream and put it to your home page
> (coyote.wav)?

I thought coyote's *howled*.

Ken
Re: *MOST* useful feature! [message #33136 is a reply to message #33135] Mon, 09 December 2002 11:50 Go to previous messageGo to next message
Wonko[2] is currently offline  Wonko[2]
Messages: 6
Registered: March 2002
Junior Member
david@dfanning.com (David Fanning) wrote:

> JD Smith (jdsmith@as.arizona.edu) writes:

>> to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
>> take that code, slap an END statement at the end, and .run it as a
>> $MAIN$ level routine. Excellent for trying out individual pieces of a
>> routine, complete with real control blocks, at a time.

> Oh, I knew it ... :-(

Some time, I _will_ learn Emacs.

Alex
--
Alex Schuster Wonko@netcologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
Re: *MOST* useful feature! [message #33137 is a reply to message #33136] Mon, 09 December 2002 11:39 Go to previous messageGo to next message
Wonko[2] is currently offline  Wonko[2]
Messages: 6
Registered: March 2002
Junior Member
wmc@bas.ac.uk wrote:

> Alex Schuster <Wonko@netcologne.de> wrote:

>> No need to learn emacs, I just use IDL in a unix terminal...

> I am confused. I've been able to paste code in from unix in the
> standard terminal window for a long time (though sometimes
> it hangs for really long lines :-().

Right, so have I.

> Has this really only just become possible under windows or is there
> some subtle enhancement you're referring to?

No, I just mentioned that in Unix I don't have to use Emacs and
IDLWAVE at all, because pasting code is already possible.

Alex
--
Alex Schuster Wonko@netcologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
Re: *MOST* useful feature! [message #33138 is a reply to message #33137] Mon, 09 December 2002 10:39 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
wmc@bas.ac.uk (wmc@bas.ac.uk) writes:

> Has this really only just become possible under windows or is there
> some subtle enhancement you're referring to?

It used to be there, then it disappeared for a number of years,
now its back. But it sure as hell doesn't slap an END statement
on a loop like IDLWAVE does. :-(

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: *MOST* useful feature! [message #33139 is a reply to message #33138] Mon, 09 December 2002 10:37 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
JD Smith (jdsmith@as.arizona.edu) writes:

> Well, to avoid the scream, I'll only say that in addition to this useful
> feature, IDLWAVE also lets you "Run Region" on selected text. What does
> this do for you? Try giving a regular piece of code like:
>
> for i=0,1 do begin
> foo,i
> endfor
>
> to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
> take that code, slap an END statement at the end, and .run it as a
> $MAIN$ level routine. Excellent for trying out individual pieces of a
> routine, complete with real control blocks, at a time.

Oh, I knew it ... :-(

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: *MOST* useful feature! [message #33140 is a reply to message #33139] Mon, 09 December 2002 10:31 Go to previous messageGo to next message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
Alex Schuster <Wonko@netcologne.de> wrote:
> david@dfanning.com (David Fanning) wrote:

>> In IDL 5.6 Windows version you can grab a piece of
>> code out of a window and paste the whole darn thing
>> at the IDL command line! Hooray!!!

> No need to learn emacs, I just use IDL in a unix terminal...

I am confused. I've been able to paste code in from unix in the
standard terminal window for a long time (though sometimes
it hangs for really long lines :-().

Has this really only just become possible under windows or is there
some subtle enhancement you're referring to?

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nerc-bas.ac.uk/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
Re: *MOST* useful feature! [message #33141 is a reply to message #33140] Mon, 09 December 2002 10:26 Go to previous messageGo to next message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Mon, 09 Dec 2002 09:18:13 -0700, David Fanning wrote:

> Folks,
>
> Did you see what the elves brought us this Christmas!?
>
> In IDL 5.6 Windows version you can grab a piece of code out of a window
> and paste the whole darn thing at the IDL command line! Hooray!!!
>
> Productivity at my place has just gone up 178%.
>
> Cheers,
>
> David
>
> P.S. If somebody opens their mouth and says they have been able to do
> this with their IDLWAVE emacs mode since 1986 I am going to scream. :-(

Well, to avoid the scream, I'll only say that in addition to this useful
feature, IDLWAVE also lets you "Run Region" on selected text. What does
this do for you? Try giving a regular piece of code like:

for i=0,1 do begin
foo,i
endfor

to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
take that code, slap an END statement at the end, and .run it as a
$MAIN$ level routine. Excellent for trying out individual pieces of a
routine, complete with real control blocks, at a time.

JD
Re: *MOST* useful feature! [message #33144 is a reply to message #33141] Mon, 09 December 2002 08:44 Go to previous messageGo to next message
Wonko[2] is currently offline  Wonko[2]
Messages: 6
Registered: March 2002
Junior Member
david@dfanning.com (David Fanning) wrote:

> In IDL 5.6 Windows version you can grab a piece of
> code out of a window and paste the whole darn thing
> at the IDL command line! Hooray!!!

That's great! Although I probably won't see this, my current version
is 5.3 :)


> P.S. If somebody opens their mouth and says they
> have been able to do this with their IDLWAVE emacs
> mode since 1986 I am going to scream. :-(

No need to learn emacs, I just use IDL in a unix terminal... and
sometimes also on a windows PC, where I'd really like this feature :)

Alex
--
Alex Schuster Wonko@netcologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
Re: *MOST* useful feature! [message #33146 is a reply to message #33144] Mon, 09 December 2002 08:30 Go to previous messageGo to next message
Pertti Rautiainen is currently offline  Pertti Rautiainen
Messages: 5
Registered: October 2002
Junior Member
David Fanning <david@dfanning.com> wrote:
: P.S. If somebody opens their mouth and says they
: have been able to do this with their IDLWAVE emacs
: mode since 1986 I am going to scream. :-(

Yup. Could you record the scream and put it to your home page
(coyote.wav)?

Pertti
Re: *MOST* useful feature! [message #33218 is a reply to message #33129] Wed, 11 December 2002 08:04 Go to previous message
mvukovic is currently offline  mvukovic
Messages: 63
Registered: July 1998
Member
JD Smith <jdsmith@as.arizona.edu> wrote in message news:<pan.2002.12.09.23.59.48.980292.6387@as.arizona.edu>...
> This advice written in 1985 from a tutor of Emacs may help:
>
> EMACS is the name of a text editor that everyone around here,
> sooner or later, learns how to use. (So far the longest hold-out
> has been about three months.) Learning to use EMACS is exactly the
> same as learning to ride a bicycle. It is awkward,
> counter-intuitive, frequently painful, and the documentation is no
> help at all. Bicycles are optimized for efficient use by those who
> already know how; they are not optimized for the learning
> period. Neither is EMACS. One of the most painful parts of learning
> to ride a bicycle is enduring the snotty condescension of those who
> go whizzing by no-hands, bragging about how easy it is. Be prepared
> to have that happen as you struggle with EMACS as well.
>

Strongly disagree. Like any other skill (even Word requires some
skill) it requires the willingness to invest time and effort to learn
in. For emacs, unlike Word, it takes about 30 minutes to go through
the tutorial. With that, one will be more than competent in basic
usage. Now compare that with at least two hours for one to go through
a 3D CAD tutorial to achieve a same level of proficiency. It is
really not that catastrophic. And actually, how much time does it
take for one to become somewhat proficient in IDL? More than 30
minutes I bet.

My morning's gripe :-)

Mirko
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Polyshade and Postscript (beginner)
Next Topic: Re: Polyshade and Postscript (beginner)

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

Current Time: Wed Oct 08 15:18:06 PDT 2025

Total time taken to generate the page: 0.00699 seconds