[ESS-bugs] ess-next-code-line sometimes failing in 'R Help Preview'

Vitalie Spinu spinuvit at gmail.com
Tue Sep 11 00:26:38 CEST 2012




       
  >> Martin Maechler <maechler at stat.math.ethz.ch>
  >> on Mon, 10 Sep 2012 23:49:58 +0200 wrote:

  > I alluded to this several days ago,
  > then I committed this on Saturday,

  > ------------------------------------------------------------------------
  > r5080 | maechler | 2012-09-08 14:16:29 +0200 (Sat, 08 Sep 2012) | 3 lines
  > Changed paths:
  >    A etc/chol2inv-ex.Rd

  > example demonstrating that "l", well, actually (ess-next-code-line)
  > does not work in 'R Help Preview' even though it works in 'R Help'

  > ------------------------------------------------------------------------

  > but forgot to send the e-mail alerting you to it.

  > The problem is described in "% .." comments inside the *.Rd file.
  > Basically,
  >   the  (ess-next-code-line)  function is confused because of comments
  > at the end of one of the example lines.

  > Interestingly, this bug does *NOT* show in *.Rd mode proper, just in
  > Rd preview mode.
  > Note that this bug is new insofar, as this works fine in old ESS 5.14.

That is indeed weired. I have a vague idea where it comes from;
ess-next-code-line is smarter than before, but apparently not smart
enough for help files. Will look tomorrow into it.

    Vitalie



More information about the ESS-bugs mailing list