[ESS] transient mark mode

Martin Maechler maechler at stat.math.ethz.ch
Wed Jul 30 15:06:25 CEST 2008


>>>>> "TS" == tyler  <tyler.smith at mail.mcgill.ca>
>>>>>     on Wed, 30 Jul 2008 13:48:02 -0300 writes:

    TS> Martin Maechler <maechler at stat.math.ethz.ch> writes:
    >>>>>>> "TS" == tyler  <tyler.smith at mail.mcgill.ca>
    >>>>>>> on Tue, 29 Jul 2008 21:32:58 -0300 writes:
    >> 
    TS> I think it might be better to add (deactivate-mark) in the body of
    TS> ess-eval-region, but maybe there's a good reason not to.
    >> 
    >> Hmm, yes....
    >> 
    >> Thank you, Tyler!
    >> 
    >> However, we (statistics group at ETH Zurich) have been using the
    >> combination of these two options  
    >> transient-mark-mode t
    >> ess-eval-visibly-p  nil
    >> for a very long time,
    >> and I think I would rather  *not*  want that deactivation of the mark.
    >> After all, it's still your currrent region,
    >> and the transient mark mode is there to mark your current
    >> region, no?
    >> 
    >> But of course we could make it a  customizable option.

    TS> That would be easy, I think:

    TS> (if ess-deactivate-mark-p deactivate-mark)

    TS> in the body of ess-eval-region, and the corresponding variable
    TS> definition wherever it belongs.

indeed.  
The code I had added a few hours ago (not yet committed) used
	 ess-eval-deactivate-mark

    >> If you can give convincing reasons, we could even set the
    >> default of that option to be the one you prefer
    >> {as opposed to the current behavior}.

    TS> I have no convincing reasons, as I personally have no preference. If the
    TS> majority of ESS users aren't bothered by the current situation, that
    TS> argues in favour of the status quo remaining the default.

Ok, then so be it.
The next version of ESS will have the
    ess-eval-deactivate-mark
customization variable.

Regards,
Martin




More information about the ESS-help mailing list