all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* indentation not working if parentheses are already closed
@ 2013-04-15 17:06 Jannis
  0 siblings, 0 replies; only message in thread
From: Jannis @ 2013-04-15 17:06 UTC (permalink / raw)
  To: help-gnu-emacs

Dear ess community,


usually the automatic indentation in ess works like a charm. I have 
however, experienced that it does not work in case I add a newline and 
the matching parenthesis is already closed. E.g. hitting Return after


foo = function() {


would indent the following line correctly, but placing the cursor 
between the two curly braces here:

foo = function() {<cursor here>}

and hitting enter, results in a non indented new line. Is this a bug? Or 
intended? Or is there a way to switch it off?

I ask as I just installed smartparens.el which creates balanced 
parentheses automatically and, hence, would switch off the really 
helpful indentation behavior.


Cheers
jannis



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-15 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 17:06 indentation not working if parentheses are already closed Jannis

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.