[ESS] how to get matching brace

Alex Branham @|ex@br@nh@m @end|ng |rom gm@||@com
Thu Dec 12 22:48:20 CET 2019


Yes, sorry, electric-pair-mode. Thanks for the correction.

Alex

On Thu, Dec 12, 2019, 4:29 PM Bond, Stephen <Stephen.Bond using cibc.com> wrote:

> I think you mean electric-pair-mode
>
> The ESS implementation may be doing more.
>
>
>
>
>
> *From:* Alex Branham <alex.branham using gmail.com>
> *Sent:* December 12, 2019 3:35 PM
> *To:* Bond, Stephen <Stephen.Bond using cibc.com>
> *Cc:* ESS-help <ess-help using r-project.org>
> *Subject:* Re: [ESS] how to get matching brace
>
>
>
> [EXTERNAL]
> ------------------------------
>
> 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
>
> ATTENTION: This email originated outside your organization. Exercise
> caution before clicking links, opening attachments, or responding with
> personal information.
> ------------------------------
>

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list