Creating '_' in S/R modes
Stephen Eglen
stephen at cogsci.ed.ac.uk
Fri Oct 5 17:06:34 CEST 2001
> >>>>> "GRW" == Gregory R Warnes <Warnes> writes:
>
> GRW> I like the feature of converting a typed '_' to '<-'.
> GRW> However, for various reasons I sometimes *want* to create the
> GRW> underscore character. Would be possible to preserve the
> GRW> current behavior translating a single typed underscore ('_')
> GRW> into '<-' while translating two consecutive underscores
> GRW> ('__') to '_'?
>
> Yes. Rob Gentleman had recently requested this feature, and its quite
> sensible. Look for it in a few weeks.
If you want a "_" in an R buffer, why not try the Emacs convention of
using the C-q prefix (quoted-insert). e.g. C-q _ gives me an
underscore in an R buffer, whereas _ on its own gives me the left
arrow.
Just an idea, and may be of a more general use for people in many
other modes.
Stephen
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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