all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jannis <bt_jannis@yahoo.de>
To: help-gnu-emacs@gnu.org
Subject: indentation not working if parentheses are already closed
Date: Mon, 15 Apr 2013 19:06:43 +0200	[thread overview]
Message-ID: <516C33A3.2030504@yahoo.de> (raw)

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



                 reply	other threads:[~2013-04-15 17:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=516C33A3.2030504@yahoo.de \
    --to=bt_jannis@yahoo.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.