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

Home » Public Forums » archive » May anyone share his IDLwave configuration file with me ?
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
May anyone share his IDLwave configuration file with me ? [message #53351] Sun, 08 April 2007 23:53 Go to next message
zhuangbao@gmail.com is currently offline  zhuangbao@gmail.com
Messages: 12
Registered: January 2007
Junior Member
Mine is below:

;;;; 5. settings for IDLwave

;; Change the indentation preferences
;; Start autoloading routine info after 2 idle seconds
(setq idlwave-init-rinfo-when-idle-after 2)
;; Pad operators with spaces
(setq idlwave-do-actions t
idlwave-surround-by-blank t)
;; Syntax Highlighting
(add-hook 'idlwave-mode-hook 'turn-on-font-lock)
;;(setq idlwave-default-font-lock-items 3)
;; set reserved word captical
(setq idlwave-reserved-word-upcase t)
;; Automatically start the shell when needed
(setq idlwave-shell-automatic-start t)
;; Bind debugging commands with CONTROL and SHIFT modifiers
(setq idlwave-shell-debug-modifiers '(control shift))
;;(setq idlwave-shell-debug-modifiers '(super))

;; new line and auto indent
(add-hook 'idlwave-mode-hook
(lambda ()
(local-set-key [(return)] 'newline-and-indent) ))
;; set maximum highlightning
(add-hook 'idlwave-mode-hook
(lambda ()
(setq font-lock-maximum-decoration 3)))
;; First for the source buffer
(add-hook 'idlwave-mode-hook
(lambda ()
(local-set-key [f4] 'idlwave-shell-retall)
(local-set-key [f5] 'idlwave-shell-break-here)
(local-set-key [f6] 'idlwave-shell-clear-current-bp)
(local-set-key [f7] 'idlwave-shell-cont)
(local-set-key [f8] 'idlwave-shell-clear-all-bp)))
;; Then for the shell buffer
(add-hook 'idlwave-shell-mode-hook
(lambda ()
(local-set-key [f4] 'idlwave-shell-retall)
(local-set-key [f5] 'idlwave-shell-break-here)
(local-set-key [f6] 'idlwave-shell-clear-current-bp)
(local-set-key [f7] 'idlwave-shell-cont)
(local-set-key [f8] 'idlwave-shell-clear-all-bp)))
;; set custom examination
(add-hook 'idlwave-shell-mode-hook
(lambda ()
(idlwave-shell-define-key-both [s-down-mouse-2]
(idlwave-shell-mouse-
examine
"print, size(___,/
DIMENSIONS)"))
(idlwave-shell-define-key-both [f9] (idlwave-shell-examine
"print, size(___,/
DIMENSIONS)"))
(idlwave-shell-define-key-both [f10] (idlwave-shell-
examine
"print,size(___,/
TNAME)"))
(idlwave-shell-define-key-both [f11] (idlwave-shell-
examine
"help,___,/
STRUCTURE"))))


;; ;; Some setting can only be done from a mode hook. Here is an
example:
(add-hook 'idlwave-mode-hook
(lambda ()
;; (setq case-fold-search nil) ; Make searches case
sensitive
;; ;; ;; Run other functions here
;; (font-lock-mode 1) ; Turn on font-lock
mode
(idlwave-auto-fill-mode 0) ; Turn off auto
filling
;; ;; (setq idlwave-help-browser-function 'browse-url-w3)

;; ;; ;; Pad with 1 space (if -n is used then make the
;; ;; ;; padding a minimum of n spaces.) The defaults use
-1
;; ;; ;; instead of 1.
(idlwave-action-and-binding "=" '(idlwave-expand-equal 1
1))
(idlwave-action-and-binding "<" '(idlwave-surround 1 1))
(idlwave-action-and-binding ">" '(idlwave-surround 1 1
'(?-)))
(idlwave-action-and-binding "&" '(idlwave-surround 1 1))
(idlwave-action-and-binding "+" '(idlwave-surround 1 1))
(idlwave-action-and-binding "-" '(idlwave-surround 1 1))
(idlwave-action-and-binding "*" '(idlwave-surround 1 1))
(idlwave-action-and-binding "/" '(idlwave-surround 1 1))
(idlwave-action-and-binding "#" '(idlwave-surround 1 1))
;; Only pad after comma and with exactly 1 space
(idlwave-action-and-binding "," '(idlwave-surround nil
1))
(idlwave-action-and-binding "&" '(idlwave-surround 1 1))

;; ;; ;; Pad only after `->', remove any space before the
arrow
(idlwave-action-and-binding "->" '(idlwave-surround 0 -1
nil 2))

))
Re: May anyone share his IDLwave configuration file with me ? [message #53450 is a reply to message #53351] Thu, 12 April 2007 12:24 Go to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Sun, 08 Apr 2007 23:53:08 -0700, uniqueman wrote:

>
> Mine is below:

I've just updated mine on:

http://idlwave.org/mydotemacs.html

All of this is optional stuff, by the way.

JD
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Resizable IDL List widget?
Next Topic: Re: Variable sized bins in histogram, or find a bounding lat/lon box

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

Current Time: Wed Oct 08 15:10:38 PDT 2025

Total time taken to generate the page: 0.00811 seconds