[ESS] how to get matching brace

Alex Branham @|ex@br@nh@m @end|ng |rom gm@||@com
Thu Dec 12 21:34:31 CET 2019


Turn on electric-parenthesis-mode.

It's a customizable option for all of Emacs.

On Thu, Dec 12, 2019, 3:33 PM Bond, Stephen via ESS-help <
ess-help using r-project.org> wrote:

> Hello,
>
> What is the best way to get ESS mode to produce matching parens or quotes
> when I enter just the opening symbol?
> I want to see {
> }
>
> When I press a single {.
> My elisp is beginner level and I can do that by overwriting the electric
> brace function in ess, but it seems to me what I want is already available
> as there is a skeleton function etc and the behavior is controlled by a
> variable that is not available to set with M-x.
> If I do my simple solution, I get the closing brace, but I am afraid I
> break quite a bit of code, which is there for a purpose.
> Thanks everybody
>
> Stephen B
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list