[ESS] uncomment no longer working
Vitalie Spinu
spinuvit at gmail.com
Fri Nov 15 04:43:10 CET 2013
BTW, M-; conveniently uncomment the region if it is commented. This is
what I have in my .emacs in order to use an even more convenient
comment-or-uncomment-region:
(global-set-key [(meta ?\;)] 'comment-or-uncomment-region)
Vitalie
>>> Chris Howden on Fri, 15 Nov 2013 14:00:50 +1100 wrote:
> FYI,
> I have just gone onto the stack overflow site where the emacs code was
> listed that I was using and left an "answer" that explains what future
> users should do if they encounter this problem.
> 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