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

Home » Public Forums » archive » XEmacs for Windows
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
XEmacs for Windows [message #19033] Wed, 23 February 2000 00:00 Go to next message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Hi,

[true: there may be a better newsgroup for this, but at least I sort
of
know what to expect from you folks ;-)]

I happily found a binary archived file for xemacs under Windows, and
it runs
nicely --- except that I can't get it to honor any fontification. And I
would really like to have the idlwave mode going!
I gather this has to do with the directory structure which is certainly
not the same
as was compiled into the xemacs program. I've spent about an hour or so
to set
some load-path variables but couldn't make any headway (well, I am
really not an emacs expert, I admit!). If there is anyone who has
succeeded in doing this (or who would anxiously like to help me), I'd be
happy about email. This matter is probably not
of enough interest to be pursued in the newsgroup -- although I happily
volunteer to publish the solution once it's achieved.

Cheers,
Martin

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
Re: XEmacs for Windows [message #19082 is a reply to message #19033] Thu, 24 February 2000 00:00 Go to previous messageGo to next message
eric is currently offline  eric
Messages: 4
Registered: July 1996
Junior Member
Hello Martin,

I have idlwave mode and fontification working on my Win95 PC at home.
All I have done is to follow the directions in the idlwave
distribution. One thing I do notice on the Win95 setup is that I have
to make a single call to font-lock-fontify-buffer or to font-lock to
kick start fontification each time that I start XEmacs under Win95 (I
don't have to do this under Linux). After that, I am off and running
for the rest of the session. As far as I know, and I haven't really
looked into this, you can not run the idl process from inside XEmacs
under Win95 like you can under other *real* operating systems. This
is unfortuate. I wish that RSI supported their command line
executable under Win95 bercause I really hate IDLDE and I really love
idlwave-shell-mode. But unless they do I don't think that you will
get idlwave-shell-mode to work.

In the case that it helps you get started I have enclosed the
statements from my .emacs files which I use to start idlwave mode and
font-lock. This is more than you need, I have customized things a bit.

Good luck,

Eric

;;
;;;;;;;;;;;;;;;;;;;;;;;font-lock mode;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
(if (eq window-system 'x)
(progn
(require 'font-lock)
(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)))
;;
;;;;;;;;;;;;;;;;;;;;;;;;IDL editing mode;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
(setq load-path (append '("c:/xemcs/xemacs-packages/lisp/idlwave-3.5")))
(add-hook 'idlwave-mode-hook
(function
(lambda ()
(setq ;Set options here
idlwave-surround-by-blank t ;Turn on padding symbols =,<,>, etc.
idlwave-reserved-word-upcase t ;Change reserved words to upper case
idlwave-abbrev-move t ;Allow abbrevs to move point backwards
idlwave-file-header '("~/lib/idl/template.pro"
"Can't find Template file")
idlwave-end-block-reg "\\<end\\(\\|case\\|else\\|for\\|if\\|rep\\|while\\)\\>"
)
;; Run other functions here
(local-set-key "\C-j" 'idlwave-newline)
)))
(setq auto-mode-alist
(append '(("\\.pro$" . idlwave-mode)
("\\.PRO$" . idlwave-mode)
("\\.cmn$" . idlwave-mode))
auto-mode-alist))
(autoload 'idlwave-mode "idlwave" "IDLWAVE Mode" t)

--

============================================================ ================
| Eric E. Dors | SMTP: eric@dors.org |
| | WWW: http://www.dors.org/eric |
============================================================ ================
Re: XEmacs for Windows [message #19237 is a reply to message #19033] Thu, 02 March 2000 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Thanks to all for your helpful comments! Turns out it was a path
specification
written as "C:\xemacs-packages\lisp\idlwave" where it should be
"C:\\xeamcs-packages\\lisp\\idlwave" or
"C:/xemacs-packages/lisp/idlwave".
Now I still need to get the Fortran language support going. Something
about
a nil pointer. Must look this up again ...


Thanks again,
happy e-idl-macsing,
Martin



"John-David T. Smith" wrote:
>
> "Eric E. Dors" wrote:
>>
>> Hello Martin,
>>
>> I have idlwave mode and fontification working on my Win95 PC at home.
>> All I have done is to follow the directions in the idlwave
>> distribution. One thing I do notice on the Win95 setup is that I have
>> to make a single call to font-lock-fontify-buffer or to font-lock to
>> kick start fontification each time that I start XEmacs under Win95 (I
>> don't have to do this under Linux).
> <snip>
>
> Add
>
> (turn-on-font-lock)
>
> to your idlwave-mode-hook.
>
> JD
> --
> J.D. Smith |*| WORK: (607) 255-5842
> Cornell University Dept. of Astronomy |*| (607) 255-6263
> 304 Space Sciences Bldg. |*| FAX: (607) 255-5875
> Ithaca, NY 14853 |*|

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
Re: XEmacs for Windows [message #19262 is a reply to message #19033] Mon, 28 February 2000 00:00 Go to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
"Eric E. Dors" wrote:
>
> Hello Martin,
>
> I have idlwave mode and fontification working on my Win95 PC at home.
> All I have done is to follow the directions in the idlwave
> distribution. One thing I do notice on the Win95 setup is that I have
> to make a single call to font-lock-fontify-buffer or to font-lock to
> kick start fontification each time that I start XEmacs under Win95 (I
> don't have to do this under Linux).
<snip>

Add

(turn-on-font-lock)

to your idlwave-mode-hook.

JD
--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PS and Hershey fonts
Next Topic: Re: Problem with ASSOC,/PACKED

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

Current Time: Thu Oct 09 21:05:13 PDT 2025

Total time taken to generate the page: 0.16324 seconds