maxima lisp emacs



Adam Majewski wrote:
> Hi,
>
> ....
> Thx.
>
>   
>> First, it's a lot easier to find the problem if you use more typical
>> Lisp indentation style.  
>>     
>
> Like here ?
>
> http://dept-info.labri.fr/~strandh/Teaching/MTP/Common/Strandh-Tutorial/indentation.html
> OK. I will try
>   
Yes, that's a good start.
> (This particular result was obtained by running
>   
>> (pprint '(defun ....)) with CMUCL.  There will be differences if other
>> Lisps are used.)
>>
>>     
>
> I have tried :
> CL-USER> (pprint '(defun write_To_XPM_File))
>   
You want to pretty-print the whole function, so you need to give the
entire form to pprint instead of just (defun write_to_xpm_file).  You'll
see your whole function indented then.  Note that it will be all
uppercase.  Your code should be in lower case, so if you use the output
of pprint, you should downcase everything.
> I have also :
> C-M-\
>
> Also with no result ( automatic indentation).
>   
Perhaps you haven't set up everything for emacs to indent lisp.  (I
normally use C-M-q.)

Ray