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 22:43:23 +0200 Message-ID: <87efta4z6c.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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500583437 11072 195.159.176.226 (20 Jul 2017 20:43:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Jul 2017 20:43:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 20 22:43:53 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 1dYIIW-0002Hr-6W for ged-emacs-devel@m.gmane.org; Thu, 20 Jul 2017 22:43:48 +0200 Original-Received: from localhost ([::1]:39896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYIIb-0008TO-Un for ged-emacs-devel@m.gmane.org; Thu, 20 Jul 2017 16:43:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYIIV-0008TH-50 for emacs-devel@gnu.org; Thu, 20 Jul 2017 16:43:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYIIR-0004UJ-6O for emacs-devel@gnu.org; Thu, 20 Jul 2017 16:43:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:65143) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYIIQ-0004Tt-Rp for emacs-devel@gnu.org; Thu, 20 Jul 2017 16:43:43 -0400 Original-Received: from rosalinde ([83.135.7.43]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MSq5p-1d8omG4B5Z-00RoWk; Thu, 20 Jul 2017 22:43:26 +0200 In-Reply-To: <44e6c16a-ee9f-0d02-7535-e38532c6d1b7@cs.ucla.edu> (Paul Eggert's message of "Thu, 20 Jul 2017 13:25:15 -0700") X-Provags-ID: V03:K0:ow0AZW4xe87SF0p5g3iX+O4KbKD++dAmSTD42rNHt4ZccDyom40 8bULqeJVECf/bLkUN9wi/mz0kd5oMRHtCiiJFl6DuScNQ8Vc4PsmFLDVJbQQQ6lJJDZ0ahG SL7BTfu3ds6qk8/BbozEN2FZ7qid56O/badebHP89Owa7XKG28RnERXDQ1+WMhSwNzM7bZd /yTmQGfVOD+d3LItdNVww== X-UI-Out-Filterresults: notjunk:1;V01:K0:fKVyOjqQ/9U=:utyjaXrWJ4X+aEtYKDfgnj ayuPOjE9ir7ho4Nd/AGyQZwyg4sgAqktSECMNNUrZGw2sSQLEoDeL3bWLHwGA/yvU6+KrlhA+ CUar8z3kmtMbYbGXdXw1PLKjpgfqNGZZwr0B0r5ofB+V5mPhbtpm1q9IyiIRiY9iKiIKoGg94 4PUceTL1Myy/rnOxw2J6ol/TRNowPMrQlRHa9SJRgbr5Jd07o4LR8CaTLMTz5r0nybw/Z9iON uFGMEr8wQ86zv48/4vQFdYYf8QhgrT5c5IoMai7vvo8sdmmgFzntzHS1aOW6kyQ8Th5MBWGHx inH/KbtQMS/JrWUY0gcvlR1KUuuszjRVmPWfb1cFOXR7bvy/KtcJ4g8RJsFHK6gEKVL+EqRIi W8eCb6ODNRWVybPF9xhsBxyAfivSwy324kXf3SeXffsnqttmufIGTXtwqtQJhpk5wdT3VDmSO g26l+A8aItn3oj14qG/AveRtDDic8WerhqeUnssMW6wwl7sugPSsJBi3zJ15dbncih0Cbf5yI RSvSOw951v7UOzn361e/YNzri1T5cs6IXcEgTao6hew7V1qyGCRd5VUdwCXco0z3vRNYkiXzN HQGrbc2MXR80P//4YxKowuMQdYZt7GWKAgjR5C7k2g3L2pAsaAx9vs0gi+e+1FTObk/r1phkK BNEsSUwJSypcbALBc6SNZmqpBINf4zPnKGg2AhyCOS+tNR0D8hCBtlcdjOTrzfkoebUkrYlC3 aImdRDiAThrxth/jjtIZ+6cwXfN0/BKnOhrbj6Q/HzlXF+15BoPbbPqGlH0IJFxE9rFIPK46 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.22 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:216906 Archived-At: On Thu, 20 Jul 2017 13:25:15 -0700 Paul Eggert wrote: > On 07/18/2017 08:04 AM, Stefan Monnier wrote: >>> But there's no line there. >> That's a philosophical opinion. >> There's enough of a line to display a cursor, apparently. >> > 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)? Steve Berman