unbalanced quotes vanish

Thomas Lumley thomas at biostat.washington.edu
Mon Mar 6 17:58:31 CET 2000


On Mon, 6 Mar 2000, Martin Maechler wrote:

> >>>>> "TL" == Thomas Lumley <thomas at biostat.washington.edu> writes:
> 
>     TL> When retrieving previous lines with M-p, unbalanced single or double
>     TL> quotes are lost from those lines.  This is presumably deliberate but it
>     TL> can be annoying in XLISP-Stat where the sharp-quote and quote operators
>     TL> have deliberate 'unbalanced' quotes
> 
>  TL> Eg the valid line
>  TL> (def a1 (sort-data (mapcar #'third (simulate-lots 50000 ei nil #'rr))))
> 
>  TL> comes out from M-p as the invalid line 
>  TL> (def a1 (sort-data (mapcar #'third (simulate-lots 50000 ei nil # rr))))
> 
>  TL> Can this be turned off by an option?
> 
> I have never seen this or heard about it.  
> I'm not at all sure that this is deliberate.
> 
> Has anyone seen this before?
> Is it lisp(stat) specific or couldn't it happen in other ESS modes as well ?
> (I've tried a bit to see something like it in *R* and have not succeeded ...)

I get it in R too, with unbalanced single or double quotes (but not with
unbalanced single quotes inside a quoted string.

	> "This is an error
	Error: syntax error
(M-p)	> This is an error
	> 'This too
	Error: syntax error
(M-p)	> This too
	Error: syntax error
	> "But not 'this"
	[1] "But not 'this"
(M-p)	> "But not 'this"


I'm using  XEmacs 21.1 (patch 8) "Bryce Canyon" [Lucid]
on Debian, with ESS 5.1.11


	 -thomas


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list