[ESS] ESS+Polymode Questions

Marc Schwartz m@rc_@chw@rtz @end|ng |rom me@com
Fri Mar 15 21:16:39 CET 2019


Note:

Re-sending my reply below, as I noted that even though I did reply-all, the ESS list was not included in the reply...

Apologies.

Marc

> On Mar 13, 2019, at 6:12 AM, Vitalie Spinu <spinuvit using gmail.com> wrote:
> 
> 
> 
>>> On Thu, Mar 07 2019 12:17, Marc Schwartz via ESS-help wrote:
>>>> 
>>>> that defines the boundary of an R chunk is bolded in black instead of red. I
>>>> Googled for polymode colors but did not see anything obvious, so was
>>>> wondering if someone can point me to the fontlock settings for the above to
>>>> change it from black to red. Red stands out better for my aging eyes...
>>> 
>>> Usually M-x describe-face defaults to the face under point, perhaps
>>> that's what you need?
> 
>> It just shows the default 'bold', not a specific font-lock face.
> 
> There is no global customization entry for this as yet.
> 
> For now you can alter the default value of the class:
> 
> (with-eval-after-load "polymode"
>   (oset-default 'pm-inner-chunkmode :head-adjust-face font-lock-warning-face))
> 
> Or if you with to customize specific innermodes:
> 
> (oset pm-inner/noweb :head-adjust-face font-lock-string-face)
> 
> Vitalie


Hi Vitalie,

Thanks for the above.

I have not had a chance to work on the incantation in my .emacs file to get the above to work yet, but have an additional question, and since it is related to the original topic, hopefully will be ok to keep in this thread.

Is there a way to disable the automatic displaying of the .tex file that results from the Sweave processing of a .Rnw file, which occurs in a new frame once Sweave is completed. I rarely inspect the .tex file, unless there is an error, and in the case of very large .tex files, this extra step can result in a decent delay before Emacs comes back.

If you need more information, please let me know.

Thanks,

Marc


	[[alternative HTML version deleted]]



More information about the ESS-help mailing list