From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers, final testing Date: Tue, 4 Jul 2017 19:37:10 +0100 Message-ID: References: <83y3s9pm2a.fsf@gnu.org> <83zicmntaq.fsf@gnu.org> <83van9o6l8.fsf@gnu.org> <83mv8knuhi.fsf@gnu.org> <83fuecnr4p.fsf@gnu.org> <83d19gnocd.fsf@gnu.org> <87lgo4ccqz.fsf@lylat> <8360f8njq2.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1499193499 2858 195.159.176.226 (4 Jul 2017 18:38:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2017 18:38:19 +0000 (UTC) Cc: Filipe Silva , james@jojojames.com, Alex , Emacs Development To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 04 20:38:15 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 1dSSiF-0000PI-DO for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 20:38:15 +0200 Original-Received: from localhost ([::1]:42592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSSiJ-00080W-18 for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 14:38:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSShk-00080R-0g for emacs-devel@gnu.org; Tue, 04 Jul 2017 14:37:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSShj-0003LD-6V for emacs-devel@gnu.org; Tue, 04 Jul 2017 14:37:44 -0400 Original-Received: from mail-vk0-x22c.google.com ([2607:f8b0:400c:c05::22c]:36249) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSShh-0003IX-NP; Tue, 04 Jul 2017 14:37:41 -0400 Original-Received: by mail-vk0-x22c.google.com with SMTP id y70so113965639vky.3; Tue, 04 Jul 2017 11:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iTWLMwsKzAOpuionHd2NShWbZfPyY0luD/xRuAQqhMg=; b=lFQ1f5LLAz5KkkJ63mXD+ioyuj7UW5McwIoeBtifNVViOXcPxQ4OCJ4bZvdn6j+Myq qgbSxvqu0wmC158nADzzAZeq1unXP0B1fPcZ2cueYs7Vqb+/y5P8/MDOGkaTDvO2C6OV Gu0r8mEdHY7ie4mHlTLXpMdU1FK5MWHWbMvbJbHMeL//Hk0XkHDhKEgktLFXG8Zh5TlY 2w2vVSaKp851779QZVnLE9LLiaI6ZyG4oX89vYhXMgEyVeRN3psOO+KV3oUlvvkpzxD1 guV25gw5DYSlRjZHWmyr6gKaoooHQhjG1knFQw3vI5yGgqvaX+MlpuFWf3CTMYNyGKrj Tr7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iTWLMwsKzAOpuionHd2NShWbZfPyY0luD/xRuAQqhMg=; b=qCeRbWm3ICjFga7Kt3rIqsfWO2cDA6eNiBlllXYL9UOMK5Lk/mw4upaTjWnHjUTmub afGrY0aj/TS3PweJOYR5rM7nMr0Me7kFw1ZTAyWP0uC44097idjoziwVEzjxRdGUH998 4k+Z54wR8A0VSiZai+0SH/zfYW6vMZ7OaG4S8+n61gwccYnkdSsWqFzLxYWoMP3USW6F BgczB/6k32T+1xUE2Sbti5T296uc7XQYDYA5J/O1gBJ7Vk1CiVamSAc/+KcrBvFpqtjo YYEOAB8noNN7TnRbJFsfuz/ukRSZx7uL4+AwUOmPqqo/NEW5Kq3+2BVlES2Fp3zuguCT EQtg== X-Gm-Message-State: AIVw111V7f9BcuJ9kyfGUK0kHASmkTw3TrnU6HEqgzNAoGx81YWm44hQ hpyoxjaJdSdtVkvvm+Q9bA9Ckuo8OhYi X-Received: by 10.31.115.139 with SMTP id o133mr8585481vkc.27.1499193460729; Tue, 04 Jul 2017 11:37:40 -0700 (PDT) Original-Received: by 10.176.78.1 with HTTP; Tue, 4 Jul 2017 11:37:10 -0700 (PDT) In-Reply-To: <8360f8njq2.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c05::22c 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:216171 Archived-At: On 4 July 2017 at 19:24, Eli Zaretskii wrote: >> From: Alex >> Cc: Richard Copley , emacs-devel@gnu.org, james@jojojames.com, filipe.silva@gmail.com >> Date: Tue, 04 Jul 2017 11:50:44 -0600 >> >> Here's an attempt at a relevant macro: >> >> C-n C-d 1 >> C-p DEL 0 >> C-b >> >> This replaces the character at point to 0, and the one below it to 1. >> >> Now go into xdisp.c and set display-line-numbers to t: >> >> M-g c 2960 >> C-17 C-n >> C-x e >> >> Notice that it's the previous columns that are changed, and not the >> current column. > > Isn't that the same issue we were discussing lately, with C-n keeping > the horizontal coordinate? Yes, it seems to be. I think Alex's recipe does support my opinion that this behaviour (unpredictable column position after vertical motion) is, to a degree, in some respects, undesirable. (The keyboard macro I suggested completely failed to support my point.) It's just my opinion. (It was a response to your request for opinions.)