emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Thiago Alves <talk@thiagoalves.com.br>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <878tjfmkw1.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <60835aef-41e5-4f4c-90ed-b308ab14692b@Spark> (Thiago Alves's message of "Tue, 18 Jul 2017 17:15:42 -0700")

Hello,

Thiago Alves <talk@thiagoalves.com.br> 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 ~<return>~,
> 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 ~<return>~ 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

      reply	other threads:[~2017-07-23 11:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-19  0:15 Bug: Indentation on code blocks have odd behavior [9.0.9 (9.0.9-47-g404ac4-elpa @ /Users/thiagoa/.emacs.d/elpa/org-20170717/)] Thiago Alves
2017-07-23 11:51 ` Nicolas Goaziou [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=878tjfmkw1.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=talk@thiagoalves.com.br \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).