[ESS] Weird behaviour of assignment symbols with Emacs-24.1 (and ESS 12.04-4)
John Maindonald
john.maindonald at anu.edu.au
Tue Aug 28 09:30:27 CEST 2012
Hi Vincent -
I have finally sussed this out. The problem was with the
emacs foreground setting for
font-lock-constant-face
A useful clue was that in my .emacs file, in
(require 'ess-font-lock)
the <'ess--font-lock> appeared blanked out, unless it
was highlighted with the cursor.
Also, if I typed
ESC-x ess-font-lock-mode
and invoked one of the five foot-lock colour options then
offered to me, the assigment symbol was displayed
(in all 5 cases, in brown, which was the font-lock-constant-face).
The setting in my Emacs 23.4 build was also 'brown'. The
setting appeared as white under your 24.1 build. I had changed
it before thinking to check what it claimed to be. I am guessing
that the file that holds these settings had been corrupted.
John Maindonald email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473 fax : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.
http://www.maths.anu.edu.au/~johnm
On 21/06/2012, at 8:21 PM, John Maindonald <john.maindonald at anu.edu.au> wrote:
> Hi Vincent -
> Maybe it does have to do with color settings, on some part of my system.
> I have however no idea where to look. Until light dawns, I will stick with the
> Emacs 23.4 build.
>
> Thanks anyway
> John.
>
> John Maindonald email: john.maindonald at anu.edu.au
> phone : +61 2 (6125)3473 fax : +61 2(6125)5549
> Centre for Mathematics & Its Applications, Room 1194,
> John Dedman Mathematical Sciences Building (Building 27)
> Australian National University, Canberra ACT 0200.
> http://www.maths.anu.edu.au/~johnm
>
> On 21/06/2012, at 1:47 PM, Vincent Goulet wrote:
>
>> Hi John,
>>
>> Same setup as you. All I get is the assignment operator turns from color to black when the command line goes from active (the line the cursor is on) to inactive/history.
>>
>> No problem in an R script.
>>
>> Could it be... your colors?
>>
>> Cheers,
>>
>> v.
>>
>> Vincent Goulet
>> Directeur général adjoint
>> Direction générale de la formation continue - DGFC
>>
>> Le jeu. 14 juin à 08:33, John Maindonald a écrit :
>>
>>> PS: I forgot to mention. I am using MacOS 10.7.4
>>>
>>> I have just now installed Vincent Goulet's latest Emacs-24.1-modified-1.dmg
>>> for MacOS X, dated 11 June 2012.
>>>
>>> If I type
>>> a <- 2
>>> into my R session, the assignment symbol promptly changes to blank space.
>>> Once the command has been executed, the symbol reappears. This behaviour
>>> happens whether the symbol is entered as <-, or by typing an underscore.
>>>
>>> If I open a .R script file, the assignment symbols likewise appear as blank space.
>>> If I copy relevant code e.g. into this email message, the assignment symbols
>>> magically reappear. Thus, the issue seems to be one of displaying the symbol.
>>>
>>> Has anyone else experienced this behaviour? I am guessing that something in
>>> my .emacs file may be interacting with some feature of Emacs 24.1 to cause the
>>> problem. Any suggestions on what I might check for?
>>>
>>> John Maindonald email: john.maindonald at anu.edu.au
>>> phone : +61 2 (6125)3473 fax : +61 2(6125)5549
>>> Centre for Mathematics & Its Applications, Room 1194,
>>> John Dedman Mathematical Sciences Building (Building 27)
>>> Australian National University, Canberra ACT 0200.
>>> http://www.maths.anu.edu.au/~johnm
>>>
>>> ______________________________________________
>>> ESS-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/ess-help
>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list