[ESS] uncomment no longer working

Chris Howden chris at trickysolutions.com.au
Fri Nov 15 03:42:49 CET 2013


Thanks Vitalie,

Worked like a charm,

As to why I would do this?  I picked up this code from someone else's
suggested *.emacs file. When I googled alternatives to my code in an
attempted fix it was all over the net and tended to come up first. So I
thought it was necessary. It obviously isn't.

Thanks again

Chris Howden B.Sc. (Hons) GStat.
Founding Partner
Evidence Based Strategic Development, IP Commercialisation and Innovation,
Data Analysis, Modelling and Training
(mobile) 0410 689 945
(skype) chris.howden
chris at trickysolutions.com.au




Disclaimer: The information in this email and any attachments to it are
confidential and may contain legally privileged information. If you are
not the named or intended recipient, please delete this communication and
contact us immediately. Please note you are not authorised to copy, use or
disclose this communication or any attachments without our consent.
Although this email has been checked by anti-virus software, there is a
risk that email messages may be corrupted or infected by viruses or other
interferences. No responsibility is accepted for such interference. Unless
expressly stated, the views of the writer are not those of the company.
Tricky Solutions always does our best to provide accurate forecasts and
analyses based on the data supplied, however it is possible that some
important predictors were not included in the data sent to us. Information
provided by us should not be solely relied upon when making decisions and
clients should use their own judgement.


-----Original Message-----
From: Vitalie Spinu [mailto:spinuvit at gmail.com]
Sent: Friday, 15 November 2013 1:24 PM
To: Chris Howden
Cc: ess-help at r-project.org
Subject: Re: [ESS] uncomment no longer working

 >>> Chris Howden on Fri, 15 Nov 2013 10:01:37 +1100 wrote:

[...]


 > comment-region-default: Wrong number of arguments: (lambda (beg end)
"Like  > `comment-region' invoked with a C-u prefix arg." (interactive
"r")  > (comment-region beg end -1)), 3

Your functions redefines a builtin uncomment-region with only 2 arguments
instead of 3. Why would you do that? Just remove your definition and it
should be fine.

Otherwise, if you insist on defining your own, name it differently or add
an optional 3rd argument.


   Vitalie



More information about the ESS-help mailing list