From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: line-number-mode at EOB Date: Thu, 20 Jul 2017 23:35:16 +0200 Message-ID: <87a83y4wrv.fsf@rosalinde> References: <83tw35thxw.fsf@gnu.org> <87tw35cc70.fsf@rosalinde> <83injktb9p.fsf@gnu.org> <87k240xhk6.fsf@rosalinde> <87k236vh7p.fsf_-_@rosalinde> <878tjlc04f.fsf@rosalinde> <83bmohdcid.fsf@gnu.org> <44e6c16a-ee9f-0d02-7535-e38532c6d1b7@cs.ucla.edu> <87efta4z6c.fsf@rosalinde> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500586581 26787 195.159.176.226 (20 Jul 2017 21:36:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Jul 2017 21:36:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 20 23:36:16 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 1dYJ7E-0006WX-Vl for ged-emacs-devel@m.gmane.org; Thu, 20 Jul 2017 23:36:13 +0200 Original-Received: from localhost ([::1]:40072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYJ7K-00044d-Cm for ged-emacs-devel@m.gmane.org; Thu, 20 Jul 2017 17:36:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYJ6c-00044Y-FG for emacs-devel@gnu.org; Thu, 20 Jul 2017 17:35:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYJ6Z-0007LY-DI for emacs-devel@gnu.org; Thu, 20 Jul 2017 17:35:34 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:65084) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYJ6Z-0007LE-2O for emacs-devel@gnu.org; Thu, 20 Jul 2017 17:35:31 -0400 Original-Received: from rosalinde ([83.135.7.43]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mh5h7-1dC7Xz15Y9-00MICc; Thu, 20 Jul 2017 23:35:18 +0200 In-Reply-To: (Paul Eggert's message of "Thu, 20 Jul 2017 14:19:41 -0700") X-Provags-ID: V03:K0:cnFvju7d3UChxolIooNb4aUQRPYivKtC9ASxs1B5SihLuMAJZoU KC/S9jEtd18HdOVC9WzOXPWCeNucNAnGODoy6vplKrM/QF5fAGw+mXpc1JL/hra546hz3Fp bleiQU31hQR3WHg1MTPE1l1yzZgAixSnKD9VkFiLZQT2e2QID2ml7ZPz99xeMRbIW6Ftvfr Fl9ItPTjfs8UBrLcZJBhA== X-UI-Out-Filterresults: notjunk:1;V01:K0:QxCVyW/417w=:/5OlSsASSoCNJNyQEtHjPQ 2DVWE8WECMa+tQSL+zUwf6MlraoguPU3BGb7vH/rBTM6qokiU1/M/8jiCnthGKoCKNcptiSM5 k7oJdWaUE5ZhSkexLVkxsFdYOz2qckcopGNZp1IliiR1UlHOJLS4/HUC9ubpH0C4vYMuYvt+d sIZoGKdIHd4TbNRBV8CzvmjX75kWTyq44b6rspjOkiej8orx3GZEHyYoOkQeDGzHeC1tYnfwL iVTtDR7F3ANFu/n/yzqHmi1JyuweoHepRjtOXPSlQRGk3kRAmmZBHORe+06j7A1IrY0oXZUT7 F/zM7D/8fmdvfzkMEaC8m8NDrhbhKk/+1FQpu+V1HYF+lcBdgJs+TE+iRbcCQpT8+k22HwOiM +3j1kZjy5qtlj+WevIBFUf6JZQ7iW36GB9Zs9aSeHMIte83GehF0eGK4Mt0hVYCaEThXlpbAT iy2FCP0dxx4YQ4zeyb3nFg9dsnakYAytL3yrWX1S6z3q7ko9hnF3UwfG359N3UjgIe0zDSwB6 UOc7bXqRZNh700gSgVOo9UgY9HbRO3G0lzi0+zEQw0pCvRKc2ZH7xx7JErUooA0evWJstxaUA KvziRma0figLkvaLZ9FcnkFCQWpK56ZBuxUuwL9Y5SFSv4P7lRO2tSx7ZchRhC/d9k4T5ONOH Y9kaWDqDQi07t2aQwwVIsMXcJSkE9fqt9mp3AiGeGGB8eQNGIxy2BzWvXEie29yB6x83aUaT9 pEvQnD2WTwuiuhpBPSfDZPUxUI5jnld3HCVLdMlpy7xr0fT/gAb6LyIf4YCF+iRbHRmcHXT4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 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:216909 Archived-At: On Thu, 20 Jul 2017 14:19:41 -0700 Paul Eggert wrote: > On 07/20/2017 01:43 PM, Stephen Berman wrote: >>> More important, it's enough of a line so that (replace-regexp "^" "X") inserts >>> three "X"s in a 2-line buffer. >> Why doesn't this also happen with (replace-regexp "$" "X"), although >> both (looking-at "^$") and (looking-at "$") return t at EOB (preceded by >> a newline)? > > Sorry, haven't a clue. That part of Emacs has never made sense to me. Such an apparent inconsistency seems like a bug, but maybe there's a good reason for it... Steve Berman