ess-transcript-clean-region -- solved
T. Baumann
tb at mafu.ws.chemie.tu-muenchen.de
Sat May 4 09:50:18 CEST 2002
Rich,
the strange behaviour is a consequence of the mark still being active in
the narrowed region. If one marks from top to bottom the mark = beg =
point-min, thus delete-non-matching-lines which observes the marked
region, works from point-min to point-min. The other way round
mark=point-max and everything is ok.
Solution:
(save-excursion
(save-restriction
(deactivate-mark)
(narrow-to-region beg end)
(goto-char (point-min))
...
tested with ess-5.1.21 and emacs-21.2.1 with and w/o transient-mark-mode
Greetings
Thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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