From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions Date: Sat, 18 Jun 2016 14:37:06 -0400 Message-ID: References: <83shwa9zmr.fsf@gnu.org> <83lh229ywc.fsf@gnu.org> <83inx69xcx.fsf@gnu.org> <83d1ne9wsu.fsf@gnu.org> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d48b2d99123053591c375 X-Trace: ger.gmane.org 1466275088 18146 80.91.229.3 (18 Jun 2016 18:38:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2016 18:38:08 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 18 20:37:50 2016 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 1bEL7t-0004qB-UN for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2016 20:37:50 +0200 Original-Received: from localhost ([::1]:36011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEL7s-0004wZ-S1 for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2016 14:37:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEL7n-0004sq-HA for emacs-devel@gnu.org; Sat, 18 Jun 2016 14:37:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEL7i-0003Rh-IP for emacs-devel@gnu.org; Sat, 18 Jun 2016 14:37:43 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEL7i-0003RK-F7 for emacs-devel@gnu.org; Sat, 18 Jun 2016 14:37:38 -0400 Original-Received: from mail-oi0-f45.google.com ([209.85.218.45]:36679) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bEL7g-0001AS-Hz; Sat, 18 Jun 2016 14:37:36 -0400 Original-Received: by mail-oi0-f45.google.com with SMTP id p204so160352406oih.3; Sat, 18 Jun 2016 11:37:36 -0700 (PDT) X-Gm-Message-State: ALyK8tJxMGHV23AmB3UyRRyLjJOrlXUVyuZyDBoms0AZ/5AYaDM3m0tGw4zAUhrhgUjG+30fDavxJDz2V360Hw== X-Received: by 10.202.218.65 with SMTP id r62mr4076473oig.32.1466275055895; Sat, 18 Jun 2016 11:37:35 -0700 (PDT) Original-Received: by 10.202.236.73 with HTTP; Sat, 18 Jun 2016 11:37:06 -0700 (PDT) In-Reply-To: <83d1ne9wsu.fsf@gnu.org> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:204489 Archived-At: --001a113d48b2d99123053591c375 Content-Type: text/plain; charset=UTF-8 On Sat, Jun 18, 2016 at 2:28 PM, Eli Zaretskii wrote: > As I wrote elsewhere, I don't object to outline-only solution. > Of course we could write another function and make it do what we wanted for a limited set of callers but the reason we are discussing it and trying to have sort-lines changed is to help all callers of sort-lines. My suggestion is that if anyone has a use case where this change would hurt a caller of sort-lines that they list it here so that it can be part of the discussion. There is also the second part of the patch which makes forward-visible-line be callable the same way as forward-line, which will also help callers of those functions. > The > proposed solution would have a much wider effect. > As intended. Bob --001a113d48b2d99123053591c375 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On S= at, Jun 18, 2016 at 2:28 PM, Eli Zaretskii <eliz@gnu.org> wrote:<= br>
As I wrote elsewhere, I don't object to outline-only solut= ion.

Of course we could write another= function and make it do what we wanted for a limited set of callers but th= e reason we are discussing it and trying to have sort-lines changed is to h= elp all callers of sort-lines.=C2=A0 My suggestion is that if anyone has a = use case where this change would hurt a caller of sort-lines that they list= it here so that it can be part of the discussion.

There is also the second part of the patch which makes forward-visible-lin= e be callable the same way as forward-line, which will also help callers of= those functions.
=C2=A0
=C2=A0 The
proposed solution would have a much wider effect.
As intended.

Bob
=C2=A0


--001a113d48b2d99123053591c375--