[ESS] Backtick and font locking mystery

Patrick Connolly p_connolly at slingshot.co.nz
Sat Jun 28 11:16:47 CEST 2008


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
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.




More information about the ESS-help mailing list