[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: line-number-mode at EOB

From: Stephen Berman
Subject: Re: line-number-mode at EOB
Date: Thu, 20 Jul 2017 23:35:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

On Thu, 20 Jul 2017 14:19:41 -0700 Paul Eggert <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]