[ESS] Issue with error/warning messages in Emacs.app

Rodney Sparapani rsparapa at mcw.edu
Mon Jan 19 23:05:50 CET 2009


Vincent Goulet wrote:
> Le ven. 16 janv. à 14:00, Rodney Sparapani a écrit :
> 
>> Vincent Goulet wrote:
>>> Hi all,
>>> Tired of deactivating many "features" of Aquamacs (an OS X-ified 
>>> version of Emacs), I decided to build my own distribution of Emacs 
>>> for OS X along the same lines as my Windows distribution. It is based 
>>> on Emacs.app, with the addition of ESS, AUCTeX and Aspell. See
>>>    http://vgoulet.act.ulaval.ca/en/emacs/mac
>>> for details and if you want to become some sort of a beta tester.
>>> Anyway, the point of my message was not to make an announcement, but 
>>> rather to report a problem. In an iESS buffer, error and warning 
>>> messages are somewhat garbled. For example:
>>> > 1:12 + 1:5
>>> [1]  2  4  6  8 10  7  9 11 13 15 12 14
>>> Warning message:
>>> In 1:12 + 1:5 :
>>>  la taille d'un objet plus long n'est pas multiple de la taille d'un 
>>> objet plus court
>>> >
>>> What can be the cause of the problem? A misconfiguration on my part? 
>>> Emacs? ESS?
>>> Thanks in advance for any clue.
>>> Emacs is: GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS 
>>> apple-appkit-949.43) compiled by myself based on the CVS version of 
>>> 2009-01-13.
>>> ESS is 5.3.10
>>> > sessionInfo()
>>> R version 2.8.1 (2008-12-22)
>>> i386-apple-darwin8.11.1
>>> locale:
>>> fr_CA.UTF-8/fr_CA.UTF-8/C/C/fr_CA.UTF-8/fr_CA.UTF-8
>>> attached base packages:
>>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>> Hi Vincent:
>>
>> Very interesting!  I'll have to check it out.  What is your TERM set to?
> 
> M-x getenv RET TERM RET gives "dumb". Doesn't look too good, heh?
> 
> OTOH, in R,
> 
>  > Sys.getenv("TERM")
>    TERM
> "emacs"
> 
> I confess I'm somewhat lost, here. What would be a good value? How do we 
> set the TERM?
> 
> TIA
> 
> Vincent
> 
>>

Hi Vincent:

And now, back to your question.  I'm not sure what is good for
TERM, but I use kermit and, therefore, I use vt100 for everything.
For a brief discussion of setting environment variables in an
Aqua/Application-aware manner see
http://www.emacswiki.org/cgi-bin/wiki/CarbonEmacsPackage#toc31

That discussion is about PATH, but hopefully you get the idea;
if you really care about PATH, like I do, then you might be
interested in the following
http://article.gmane.org/gmane.emacs.macintosh.osx/3724

And other bug fixes that I've noted over the years in Emacs.app
http://article.gmane.org/gmane.emacs.macintosh.osx/3756
http://article.gmane.org/gmane.emacs.macintosh.osx/3776


Rodney




More information about the ESS-help mailing list