From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs26: Quick thoughts on display-line-numbers-mode Date: Fri, 06 Oct 2017 16:06:21 +0300 Message-ID: <83infsv31u.fsf@gnu.org> References: <83h8vdwh7t.fsf@gnu.org> <83d161wenj.fsf@gnu.org> <1507259379.15251.27.camel@gmail.com> <834lrcwxd0.fsf@gnu.org> <6CA5DFB3-8D0C-4B3D-9F72-3434F83B5895@gmail.com> <83y3oovgh5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1507295202 5621 195.159.176.226 (6 Oct 2017 13:06:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 6 Oct 2017 13:06:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 06 15:06:38 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0SKp-0000fS-VZ for ged-emacs-devel@m.gmane.org; Fri, 06 Oct 2017 15:06:36 +0200 Original-Received: from localhost ([::1]:44853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0SKv-0006qr-NQ for ged-emacs-devel@m.gmane.org; Fri, 06 Oct 2017 09:06:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0SKp-0006qb-Ei for emacs-devel@gnu.org; Fri, 06 Oct 2017 09:06:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0SKk-0007Uo-Ed for emacs-devel@gnu.org; Fri, 06 Oct 2017 09:06:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0SKk-0007Uj-AL; Fri, 06 Oct 2017 09:06:30 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1073 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e0SKj-0004Tk-RC; Fri, 06 Oct 2017 09:06:30 -0400 In-reply-to: (message from Stefan Monnier on Fri, 06 Oct 2017 08:37:37 -0400) 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:219179 Archived-At: > From: Stefan Monnier > Date: Fri, 06 Oct 2017 08:37:37 -0400 > > >> If I understand the problem correctly, since orientation depends on > >> paragraph, does that mean line numbers could be on different sides in the > >> same window? > > Yes. You can see that in action if you visit TUTORIAL.he with > > display-line-numbers-mode turned on. > > Oh, wow, I hadn't realized that. Is that the generally expected behavior? I don't know. It doesn't strike me as blatantly wrong, to give you just one data point. I guess we will have to hear more from users. In general, buffers with changing paragraph direction are quite rare, btw. > As a naive user who can't read any R2L scripts, I find this very > unexpected. I'd have expected/wanted instead the line numbers to always > be on the same side for a given window (tho I admit that I'm not sure > how to turn this rule into an implementable behavior, except maybe by > letting the user decide globally whether line numbers should be on the > left or the right). Currently, the only way of doing that is set bidi-paragraph-direction to a non-nil value. > But again, I'm just a very naive user who's never bothered by the > current behavior because he never faces such situations anyway. Thanks, noted.