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: Native line numbers, final testing Date: Mon, 03 Jul 2017 05:33:17 +0300 Message-ID: <83zicmntaq.fsf@gnu.org> References: <83y3s9pm2a.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1499049264 11842 195.159.176.226 (3 Jul 2017 02:34:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Jul 2017 02:34:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: James Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 03 04:34:20 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 1dRrBq-0002cf-7e for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2017 04:34:18 +0200 Original-Received: from localhost ([::1]:60037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRrBs-0003xr-9G for ged-emacs-devel@m.gmane.org; Sun, 02 Jul 2017 22:34:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRrB2-0003v8-Br for emacs-devel@gnu.org; Sun, 02 Jul 2017 22:33:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRrAz-0000by-8U for emacs-devel@gnu.org; Sun, 02 Jul 2017 22:33:28 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRrAz-0000bq-4h; Sun, 02 Jul 2017 22:33:25 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4660 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dRrAx-0007uP-6m; Sun, 02 Jul 2017 22:33:24 -0400 In-reply-to: (message from James Nguyen on Sun, 02 Jul 2017 12:27:30 -0700) 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:216126 Archived-At: > From: James Nguyen > Cc: emacs-devel@gnu.org > Date: Sun, 02 Jul 2017 12:27:30 -0700 > > This breaks a crucial setting on evil-mode. > > Setting this variable. > > (require 'evil) > (setq evil-move-beyond-eol t) > (evil-mode) > > Documentation: (for evil-move-beyond-eol) > Whether the cursor is allowed to move past the last character of a line. > > Go to any line. Press $ in 'normal' mode. It will go to the end of the > line past the last character in the line. Trying to go backwards now > will error 'args out of range'. > > For context, that variable is very important to get to cursor point to > evaluate the last s-expression properly. Sorry if that's a little vague. > > Turning off display-line-numbers makes it work as expected. Are you sure this isn't a bug in evil-mode? Does this feature behave correctly in a buffer with a non-nil line-prefix? Can you show a backtrace from the args out of range error?