[ESS] How to improve ESS syntax high-lighting and shortcuts
Ronaldo Reis Junior
chrysopa at gmail.com
Fri Jun 22 22:23:18 CEST 2007
Em Sexta 22 Junho 2007 03:28, Frede Aakmann Tøgersen escreveu:
> Ronaldo,
>
> If M-x comment-region works and you can bound that to a key then
>
> C-u M-x comment-region or M-x uncomment-region should work too and removes
> the commenting chars.
>
> I have this in my .emacs (I don't know what the customizing init file is
> called for Xemacs or where it is put):
>
> (define-key ess-mode-map "\C-c;" 'comment-region)
> (define-key ess-mode-map "\C-c:" 'uncomment-region)
>
Frede,
yes, I try this, but the problem now is: XEmacs dont have a uncomment-region
command, therefore M-x uncomment-region dont work.
Solutions:
1) create a uncomment-region command on XEmacs, I dont know howto make this.:(
2) put the C-u in the command, somethink like this
(define-key ess-mode-map "\C-c;" \C-u'comment-region)
But this dont work.
Thanks
Ronaldo
--
Homens com segredos tendem a andar juntos, não porque querem dividir o que
sabem, mas pela companhia dos que pensam como eles
--Don De Lillo
--
> Prof. Ronaldo Reis Júnior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Ecologia
| : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia
| `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil
| `- Fone: (38) 3229-8187 | ronaldo.reis at unimontes.br | chrysopa at gmail.com
| http://www.ppgcb.unimontes.br/ | ICQ#: 5692561 | LinuxUser#: 205366
More information about the ESS-help
mailing list