From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Indentation on code blocks have odd behavior [9.0.9 (9.0.9-47-g404ac4-elpa @ /Users/thiagoa/.emacs.d/elpa/org-20170717/)] Date: Sun, 23 Jul 2017 13:51:26 +0200 Message-ID: <878tjfmkw1.fsf@nicolasgoaziou.fr> References: <60835aef-41e5-4f4c-90ed-b308ab14692b@Spark> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZFQ9-0006LV-AV for emacs-orgmode@gnu.org; Sun, 23 Jul 2017 07:51:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZFQ5-0004L0-A0 for emacs-orgmode@gnu.org; Sun, 23 Jul 2017 07:51:36 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60325) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dZFQ5-0004H4-2t for emacs-orgmode@gnu.org; Sun, 23 Jul 2017 07:51:33 -0400 In-Reply-To: <60835aef-41e5-4f4c-90ed-b308ab14692b@Spark> (Thiago Alves's message of "Tue, 18 Jul 2017 17:15:42 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Thiago Alves Cc: emacs-orgmode@gnu.org Hello, Thiago Alves writes: > For example, lets say I have this code on my doc (the `|` character is > the cursor): > > #+BEGIN_SRC emacs-lisp > (setq user-full-name "Thiago Alves" > user-mail-address "talk@thiagoalves.com.br"|) > #+END_SRC > > With ~org-src-tab-acts-natively~ set to ~t~ and > ~org-edit-src-content-indentation~ set to ~2~, if I press ~~, > this is the result: > > #+BEGIN_SRC emacs-lisp > (setq user-full-name "Thiago Alves" > user-mail-address "talk@thiagoalves.com.br" > |) > #+END_SRC > > If I type anything and press ~~ again, it continues to indent: > > #+BEGIN_SRC emacs-lisp > (setq user-full-name "Thiago Alves" > user-mail-address "talk@thiagoalves.com.br" > anything > |) > #+END_SRC Your report is confusing because you sent it as HTML instead of plain text. Please do not send messages with HTML. Anyway, I cannot reproduce your issue. Could you try with "emacs -q", i.e., without any configuration on your side? Regards, -- Nicolas Goaziou