all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* smie regression?
@ 2015-07-12 18:42 Samuel Wales
  2015-07-13  0:22 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Wales @ 2015-07-12 18:42 UTC (permalink / raw)
  To: help-gnu-emacs

smie wants:

        ionice -c3 \
               nice \

but i want what sh-indent-line does:

        ionice -c3 \
            nice \

i tried smie-config-guess, but it failed to guess.

has the behavior changed?  there does not appear to be
anything in news about it.

thanks.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

Ramsay's disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: smie regression?
  2015-07-12 18:42 smie regression? Samuel Wales
@ 2015-07-13  0:22 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-07-13  0:22 UTC (permalink / raw)
  To: help-gnu-emacs

> smie wants:
>         ionice -c3 \
>                nice \

Yup, it tries to align the arguments.
For long "multilines" with lots of structure, it is very nice.

> but i want what sh-indent-line does:
>
>         ionice -c3 \
>             nice \

This just wraps the line and indents it 4 spaces further than the
beginning of the line, without paying attention to structure.

Currently the sh-smie-* indentation does not offer this indentation
style.  It' been asked a few times already, so patch very welcome.

> has the behavior changed?

Yes.

> there does not appear to be anything in news about it.

No, not specifically.  The indentation code has been completely
rewritten, and that implies many different changes, which aren't
described in detail.


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-13  0:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-12 18:42 smie regression? Samuel Wales
2015-07-13  0:22 ` Stefan Monnier

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.