[Top][All Lists]

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

Re: line-number-mode at EOB

From: Paul Eggert
Subject: Re: line-number-mode at EOB
Date: Thu, 20 Jul 2017 14:19:41 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

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.

reply via email to

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