Re: idlwave: spaces round = and other operators [message #58494 is a reply to message #58373] |
Wed, 30 January 2008 13:48   |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Jan 29, 2:04 pm, Benjamin Hornberger
<hornb...@xray1.physics.sunysb.edu> wrote:
> Hi all (JD?),
>
> I used to use Emacs 21 (on Windows) with idlwave (self-installed; not
> sure about the version), and I had the lines
>
> (setq idlwave-surround-by-blank t) ; Turn on padding ops =,<,>
> (setq idlwave-pad-keyword nil) ; Remove spaces for keyword '='
>
> in my .emacs. This worked fine, spaces got automatically padded around
> my operators but not for keywords.
>
> Now I am using Emacs 22 (EmacsW32) with whatever idlwave version comes
> with it and I pretty much copied all idlwave-related lines into my new
> .emacs (not that I really understand what they do). Now spaces don't get
> padded any more, and when I type something like
>
> a=
>
> there is a beep and an error message "Wrong type argument: consp, nil".
>
> Any clues?
Works fine for me with the IDLWAVE included in Emacs 22 for Linux and
OSX. I'd guess it's conflicting with another setting, the combination
of which I haven't used. You can M-x toggle-debug-on-error, force it
to occur again, and show the results? You might also try starting
emacs without loading your .emacs (emacs -q does that), then turn on
'surround-by-blank' in the customization menu, and see if the error
disappears.
JD
|
|
|