From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bug#23794: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions Date: Sun, 19 Jun 2016 20:55:07 -0400 Message-ID: References: <83shwa9zmr.fsf@gnu.org> <83lh229ywc.fsf@gnu.org> <83inx69xcx.fsf@gnu.org> <0984ce22-cbcf-42a6-906e-a03b65f3c71c@default> <8360t5aolu.fsf@gnu.org> <83vb158awq.fsf@gnu.org> <83oa6x87ky.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466384048 25901 80.91.229.3 (20 Jun 2016 00:54:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 00:54:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 20 02:53:59 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 1bEnTS-0006eX-Jf for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2016 02:53:58 +0200 Original-Received: from localhost ([::1]:40611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEnTR-00087H-Ri for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2016 20:53:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEnTM-000876-6z for emacs-devel@gnu.org; Sun, 19 Jun 2016 20:53:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEnTI-00008y-3o for emacs-devel@gnu.org; Sun, 19 Jun 2016 20:53:51 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:43117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEnTH-00008l-Sl for emacs-devel@gnu.org; Sun, 19 Jun 2016 20:53:48 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bEnTC-0006Tk-Vi for emacs-devel@gnu.org; Mon, 20 Jun 2016 02:53:43 +0200 Original-Received: from 45.72.244.67 ([45.72.244.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jun 2016 02:53:42 +0200 Original-Received: from monnier by 45.72.244.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jun 2016 02:53:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.devel Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 45.72.244.67 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:hjmsbbL0v2j6HAQ2eEFQfI6pUP8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:204557 Archived-At: > The problem with that approach is that each mode has to be aware of this > and add a setting, really not much different than each mode having its own > sort function or way of calling a sort function. Right. To be an improvement, the setting should be one which makes sense independently from the modes which sets it and independently from the packages that uses the setting. I.e. one needs to get at the core reason *why* we want this behavior in this case. I suggest something like `invisible-text-belongs-to-the-preceding-visible-text' (which hence implies that if you move one, you need to move the other along with it). Maybe a more concise name is in order, tho ;-) Stefan