unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* An issue with electric mode
@ 2020-04-18 16:38 Angelo Graziosi
  2020-04-18 19:21 ` João Távora
  0 siblings, 1 reply; 4+ messages in thread
From: Angelo Graziosi @ 2020-04-18 16:38 UTC (permalink / raw)
  To: emacs-devel

Maybe this is not an issue but just e feature..

In the init.el I have

(electric-pair-mode 1)

and in an .adoc buffer (it is an Asciidoctor document which Emacs processes in Fundamental mode) I have this text:

_function_ ends (with `return` or with `}`)

Before this line the electric-pair-mode does not work. In short the '(' is matched with the '}' (in violet) so the last ')' is considered unmatched.

Is this the right behavior?

Thanks,
  Angelo.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-18 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-18 16:38 An issue with electric mode Angelo Graziosi
2020-04-18 19:21 ` João Távora
2020-04-18 21:03   ` Angelo Graziosi
2020-04-18 21:05     ` João Távora

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).