emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questioning the new behavior of `open-line'.


From: Andreas Schwab
Subject: Re: Questioning the new behavior of `open-line'.
Date: Thu, 12 Nov 2015 12:18:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Rasmus <address@hidden> writes:

> You may say that this is an example of separate bug (and indeed there
> exists a bug report on JS mode alignment), but to the extend that
> misbehaviors (even "subjective misbehaviors") exists, it’s very useful to
> have dumb behavior available.  Here’s an example of d3.js.  I may want to
> insert a new attribute before the width, without affecting the current
> indentation.  I’d then use C-o.
>
>     var svg = div.append("svg")
>                  .attr("width", box_plot.w)
>                  .attr("height", box_plot.h);

There is also C-M-o (split-line) which would keep the indentation intact.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]