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

Home » Public Forums » archive » Re: IDLWAVE and starting a comment on a new line
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: IDLWAVE and starting a comment on a new line [message #48654 is a reply to message #48651] Wed, 10 May 2006 19:34 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Wed, 10 May 2006 14:54:13 -0700, Gianguido Cianci wrote:

> I am running xemacs 21.4.15 and idlwave 5.1 and I get a different
> behaviour:
> on a blank line I get ";" at the beginnig of the line independantly of
> indentation. What do you think is going on? Feel free to just tell me
> to upgrade :-)

It only works with the stanza in .emacs that I provided. The next release
won't need this, but for now, you must set the "comment-add" parameter.

> While we are on the subject, is there a way to associate a key sequence
> in xemacs to inserting a set string, say ";{{{" ***with the
> appropriate indentation*** ?

Yes, indeed. You might add something like this to your idlwave-mode-hook
inside of .emacs:

(define-key (current-local-map)
[f6]
'(lambda () (interactive)
(insert ";{{{")
(indent-according-to-mode)))

The same pattern can be used to insert anything.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: very slow object graphics creation
Next Topic: 6.3 reactions?

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

Current Time: Wed Oct 08 15:57:08 PDT 2025

Total time taken to generate the page: 0.00431 seconds