[Top][All Lists]

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

Re: Emacs pretest -- electric-pair-mode change

From: Stefan Monnier
Subject: Re: Emacs pretest -- electric-pair-mode change
Date: Fri, 11 Apr 2014 11:53:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Would replacing (+ (point) <constant>) with (window-end) give reliable
> behavior, from the user's perspective?  If the extra " is not visible,
> it would not impact the result.

No, the problem is not the distance, the problem is to find a position
that we know is outside of a string.  There's no reason why
(window-end) should be presumed to be outside of any string.


reply via email to

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