unbalanced quotes vanish

Martin Maechler maechler at stat.math.ethz.ch
Mon Mar 6 19:04:51 CET 2000


>>>>> "TL" == Thomas Lumley <thomas at biostat.washington.edu> writes:

    TL> 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 ...)

    TL> I get it in R too, with unbalanced single or double quotes (but not with
    TL> 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"


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

Aha.  I can reproduce the above bug with Xemacs (same version on Redhat),
but not with any recent version of GNU emacs (and I have used all of them...

Seems like an Xemacs bug to me...
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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