[ESS] What happened to ess-transcript-clean-region ?

Martin Maechler maechler at stat.math.ethz.ch
Wed Aug 11 11:29:09 CEST 2010

>>>>> "VS" == Vitaly S <spinuvit.list at gmail.com>
>>>>>     on Sat, 07 Aug 2010 15:54:55 +0200 writes:

    VS> Martin Maechler <maechler at stat.math.ethz.ch> writes:
    >> What exactly did you do to get emacs to hang there ?
    >> What's your major-mode there (C-h v major-mode)?

    VS> It does not work in .R buffers (ESS). I tried it with vanilla emacs with just
    VS> ess loaded,  the same story there - emacs hangs.

Yes, thank you.

I've now committed code that just gives an error message in such
a case.

Why (on earth) do you have a mess (with R input and output) in a
.R buffer that  you want to clean?
My .R buffers may be messy sometimes, but 
*not* because they'd contain things like
   "> A <- matrix(...)" instead of
     "A <- matrix(...)"

   (note the extra R prompt!)

If it's from cut&paste of e-mails or similar things, you really
need to change your work flow:
Put such things into an *.Rout buffer (open a new *.Rout file, make that writable
via C-x C-q, and then paste "the mess" in there),
and then maybe clean it.

The following issue, I have to leave to someone else,
possibly should go to a different mailing list / forum:


    VS> Somehow unrelated,  but while loading the vanilla emacs I realized that emacs23
    VS> does not expand usual directories at start-up  (.i.e
    VS> "/usr/local/share/emacs/site-lisp" and "/usr/local/share/emacs/VERSION/site-lisp".
    VS> Instead, the expanded directories are "/usr/share/emacs23/site-lisp/"
    VS> and "/usr/share/emacs/23.1/site-lisp/".

    VS> If it's indeed a change in emacs 23, then the  ESS debian package placing it's
    VS> ess-site.el in old dirs,  might be slightly inconvenient for some users.

    VS> I am somewhat at loss,  since I could not find any reference to the above change
    VS> in emacs23 in the Internet.

    VS> Vitaly.

More information about the ESS-help mailing list