From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.devel Subject: Re: Questioning the new behavior of `open-line'. Date: Thu, 12 Nov 2015 15:16:42 +0100 Message-ID: <87pozfl2ut.fsf@gmx.us> References: <87vb98csu1.fsf@red-bean.com> <87h9kscqig.fsf@red-bean.com> <83vb98jqwp.fsf@gnu.org> <87k2poba1s.fsf@red-bean.com> <83si4cjnyw.fsf@gnu.org> <87twosp5ke.fsf@fencepost.gnu.org> <87fv0cm64g.fsf@gmx.us> <87si4bsktk.fsf@red-bean.com> <87wptnlbl6.fsf@gmx.us> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1447337825 8378 80.91.229.3 (12 Nov 2015 14:17:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2015 14:17:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 12 15:16:57 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZwsgH-0007Qe-GB for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 15:16:53 +0100 Original-Received: from localhost ([::1]:46886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwsgG-0006XZ-Pq for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 09:16:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwsgD-0006We-Bn for emacs-devel@gnu.org; Thu, 12 Nov 2015 09:16:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zwsg9-0002NH-Ul for emacs-devel@gnu.org; Thu, 12 Nov 2015 09:16:49 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:56830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwsg9-0002Mn-L6 for emacs-devel@gnu.org; Thu, 12 Nov 2015 09:16:45 -0500 Original-Received: from W530 ([62.80.108.13]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M8MyE-1aJLFR0tf8-00vzjc; Thu, 12 Nov 2015 15:16:43 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAmJLR0QA/4ePzL8AAAAJcEhZ cwAAAEgAAABIAEbJaz4AAAHKSURBVEjHlZTLlexACENnf3NRLiRCLmSiUBQR5y08v3Z73P1Y2nWr EAg+9iZ88e3j5nzqfwHlXeDIxbwN9OzuNn4bqN1EeDd5Byit25Ck/AKY7BpFXZRlXgBduxHTtBhp 6HsA7Q4yjKrRULdAwDPUgKsahXqUfX6hqCr3oGQaPC3fihZNxTC7A+1+VPEEmIYEDvXYemj4cx+q oVcwG8FsvwDc0BFoB5i17oEIKlTRqsI+jHUDIFXTDaQwk3vAjCRmoKI+W/bqBRcQQ5niNBRXGmag Nx4PvDLf7pbSjsfOPrn7CshkhCSp5p2Jy0jjHD2pvASsrzSyu65XI+o+TsQFnSfiCfiyZgMg79Tt APUcqaQ4wtt/2zvzq01uAZB9KO3H47ih37wbqMeV+Rs4fp+2TtWxSq6AuQAORZrrlFrnLfTt4FxX yVfrd3e36rpKZ+/kx/O5TKkfalyi8klJF8Dvac9nF/BuPCWegZ+Esj5mFNBXA8+AC8q7G7ta0F/m +IwTYJgB1bR6nBHcAUFZAQMV+8sXfwKmNwDHxYp7T4+cAWVbqq4qdTKu+5S+TTH+Xpj8PPkseqA9 MzPjJE/3P5e1eREnDeL/AHgX+Ac1wLS1jG2Y1gAAAABJRU5ErkJggg== In-Reply-To: (Artur Malabarba's message of "Thu, 12 Nov 2015 13:11:02 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:4ihJTpOGK28AeU9iImNtNGbKwSbZUE9SoqqCSrhofulcVJXuKpa XPTn6jaE4GJuXf/VOI87rsTmHNokB6vRaXCNYz9aBCPHpIz58aXwbBoLkfa8btCJIv6KfQP 1Kjs+FWyPgEXHvlN5LiZKNZt3aZx0kYLj192Cqzcx+s3KiwGqJhf+oBwKcYnXEpdns4wSTB lMkJKN3KcsZivIlmP/7Rw== X-UI-Out-Filterresults: notjunk:1;V01:K0:HuVrnWKsU68=:oqX7p/HVApokBF2/9rNb7H oVbYyC8Nq1Yinnv063Pas7FiCB9tepxE7S7H8odi/Bkbk7KELm5NVZ+VRV4K02fR/Dcv8WJl2 Q/JUgU26r0UGEqvAjvIlwIUs62UXVX+BCf8utJLaeJqzWYVVOmxChZ+A/P2NLm5Z8OydMOKVf hBf7MwkDdFmrf5XiYAFRamZLbPp7VnWKfs7Jdlid4kaI2W+EYnIRv4va05TPEp3PJJwJFTJNm E04SSp1DDXkKXaFVJ3pN6t40J58YHmiJ6iUXNoL3wtYz0JKv/NhKwsy/M1cZgUUxYfitG9mRc zJTrM6ThS+WEiQLF5stbx3cujDlHq1aL8hesPZHeX9m8sq+9fhSIYgZaTvCWhrPZ2UlX+keZM ibre5JnzwFzeANc/2PZlHds2N+u5WYoevHFLNbvYSbtW0YsMmrj2HhBoQ8UxtV9TC4hP5DyeL FzC2vXPedvsvgnZbf178/D1NgyBDUKWgS4WNnh3r5JvJD9bOuk+/87qQRv3SNFKHIV2AmvWBm St1WBOAT0aUVuQXIJuVrAWw5YovPJq/uF3T1Er9h2cNfkPxE7lnXQT/Bwfg++wi557N1BP0D/ 7P5mraj7wBdi8hMuKfwexwT6hx5UaZy1Xz/RLGU+Z5xlV4nLCQHcnQnmVb2kBFv+wZCJrYbta FWms22QoeFX4cLGMNNf7GoUKBHzb1+V7LpYHNwOZzKgN+j4CTTOL3u8h2pEPgpylD2iKnMPrp CSviYXuV9rLVcIKRP63EEUStsZqO70LjVpEHhDxCeFONYQHLuZriF4EF4WJbR4yPYYvUcz2x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194226 Archived-At: Hi Artur, Artur Malabarba writes: > On 12 Nov 2015 11:08 am, "Rasmus" wrote: >> You may say that this is an example of separate bug, but to the extend >> that >> misbehaviors exists, it=E2=80=99s very useful to >> have dumb behavior available. > > I do agree. Would C-M-o or C-j C-b suffice in these situations? Probably it. C-M-o is slightly different, but perhaps it=E2=80=99s just a question of getting used to it. Truth be told, I was unaware of split-line before this thread. >> Here=E2=80=99s an example of d3.js. I may want to >> insert a new attribute before the width, without affecting the current >> indentation. I=E2=80=99d then use C-o. >> >> var svg =3D div.append("svg") >> .attr("width", box_plot.w) >> .attr("height", box_plot.h); > > I'm sorry, I didn't understand. Could you explain (1) what you have before > typing C-o, (2) the location of the cursor, (3) what you want to see after > hitting C-o? I realize that I would probably be mostly OK if special behavior is adopted when point is a column zero. I=E2=80=99m still not sure that M-o w= arrants such complexity, but I don=E2=80=99t feel too strongly about it. In any case, to address you question. Picture 1; =E2=80=99|=E2=80=99 is the cursor. var svg =3D div.append("svg") | .attr("width", box_plot.w)=20 .attr("height", box_plot.h); M-o result before var svg =3D div.append("svg") | .attr("width", box_plot.w)=20 .attr("height", box_plot.h); Now, var svg =3D div.append("svg") .attr("width", box_plot.w) .attr("height", box_plot.h); When wanting to push something down from within the line, results are poor before and after patch Picture 2; =E2=80=99|=E2=80=99 is the cursor var svg =3D div.append("svg")|.classed("myclass", true) .attr("width", box_plot.w) .attr("height", box_plot.h); Before, var svg =3D div.append("svg")| .classed("myclass", true) .attr("width", box_plot.w) .attr("height", box_plot.h); Now, var svg =3D div.append("svg")| .classed("myclass", true) .attr("width", box_plot.w) .attr("height", box_plot.h); Thanks, Rasmus --=20 =E2=A0=A0=E2=A0=B5