From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo Liu <sdl.web@gmail.com>
Cc: 24648@debbugs.gnu.org
Subject: bug#24648: 25.1; smie indentation in strings
Date: Sun, 09 Oct 2016 17:01:30 -0400 [thread overview]
Message-ID: <jwvh98l1bnj.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <m137k5eajs.fsf@gmail.com> (Leo Liu's message of "Mon, 10 Oct 2016 00:45:11 +0800")
> 1. Open a new buffer in octave-mode (or ruby mode)
> 2. Insert a string:
>
> "line 1
> line 2
> line 3"
>
> 3. Move point to the beginning of `line 2' and pressing TAB
>
> line 2 will be indented freely. This is a big surprise. Regression?
What would you like instead? You're indenting within a string, so
octave-mode has no idea what rule to follow since the string may
represent anything. By design, it should behave like in text-mode, more
or less.
Stefan
next prev parent reply other threads:[~2016-10-09 21:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-09 16:45 bug#24648: 25.1; smie indentation in strings Leo Liu
2016-10-09 21:01 ` Stefan Monnier [this message]
2016-10-12 10:00 ` Dmitry Gutov
2016-10-12 16:57 ` Leo Liu
2016-10-12 17:08 ` Dmitry Gutov
2016-10-12 17:39 ` Leo Liu
2016-10-12 17:43 ` Dmitry Gutov
2018-06-05 23:46 ` Noam Postavsky
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=jwvh98l1bnj.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=24648@debbugs.gnu.org \
--cc=sdl.web@gmail.com \
/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.