[ESS] how to get matching brace
Bond, Stephen
Stephen@Bond @end|ng |rom c|bc@com
Thu Dec 12 22:29:38 CET 2019
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<mailto: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<mailto: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