[ESS] Backtick and font locking mystery

Dan Davison davison at stats.ox.ac.uk
Sat Jun 28 11:39:28 CEST 2008


This was discussed in the folowing thread. The conclusion was
that it was annoying but not sure of a good way to fix it.

Dan

https://stat.ethz.ch/pipermail/ess-help/2007-August/004234.html

On Sat, Jun 28, 2008 at 09:16:47PM +1200, Patrick Connolly wrote:
> If I do something like this:
> 
> > system("rm non.existing.file")
> rm: cannot remove `non.existing.file': No such file or directory
> > 
> 
> as one would expect.  However, the backtick screws up the font
> colours.  Deleting it fixes everything (even though the single quote
> isn't matched anywhere).
> 
> I didn't have this problem until about ESS 3.3.2 or so.  However, it
> might be that bash changed this detail at that time, a detail I didn't
> notice at the time, but somehow, I doubt it.
> 
> I thought I'd get round it by doing this:
> 
> > try(system("rm non.existing.file"), silent = TRUE)
> 
> But it's not silent anyway for this kind of error, so that got me
> nowhere.
> 
> Other ideas are welcome.
> 
> TIA
> 
> -- 
> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
>    ___    Patrick Connolly   
>  {~._.~}          		 Great minds discuss ideas    
>  _( Y )_  	  	        Middle minds discuss events 
> (:_~*~_:) 	       		 Small minds discuss people  
>  (_)-(_)  	                           ..... Anon
> 	  
> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
> 
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list