From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Can we make set_point_both less expensive? Date: Mon, 16 Mar 2015 13:53:44 -0700 Message-ID: <550742D8.2020503@dancol.org> References: <5505E34C.4000106@dancol.org> <838uex1u1m.fsf@gnu.org> <8361a029p2.fsf@gnu.org> <83vbi0zukw.fsf@gnu.org> <55071E92.1050700@dancol.org> <83twxkztkn.fsf@gnu.org> <5507219D.2010504@dancol.org> <83lhiwzq3y.fsf@gnu.org> <5507408D.1040104@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PhNd9BPILIqnc5hcNKBD1D0PFuQvupx0m" X-Trace: ger.gmane.org 1426539254 21272 80.91.229.3 (16 Mar 2015 20:54:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2015 20:54:14 +0000 (UTC) Cc: Eli Zaretskii , Stefan Monnier , Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 16 21:54:13 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YXc1a-0003eu-Jd for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2015 21:54:10 +0100 Original-Received: from localhost ([::1]:51616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXc1Z-0003uD-T4 for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2015 16:54:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXc1H-0003rF-Oq for emacs-devel@gnu.org; Mon, 16 Mar 2015 16:53:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXc1G-0002gy-Ub for emacs-devel@gnu.org; Mon, 16 Mar 2015 16:53:51 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:57578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXc1G-0002go-Jm; Mon, 16 Mar 2015 16:53:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=ZFUcjfSHCNSuiBX+8k/99gdzuj3L92GjVgj7KMFMi6E=; b=ZJ8lbLDoe1Khe8UHZ0CbHKlhxNI/WDDzsaE+WqX41ehLLJUW5bqkyTeofgph3HH6WPxuk5IhybcsYWYjtV3HyR3TZN7GIFSnxg4z90RPhJoDFmgEfkJrFO83m8rovsI+9I/0DKOvLIYe2vJK27YloHMHFFknyEekh50A7ZYbz+PIBSShs3j6oVmwU0SPueboQwG5CrAcdmvzQjk8kx61gT+hYO7P58dz+v+n1BZpGIKv/f8GzR2TFQtClxUgxW0RqMsCPixyikKsaulfv4gUhVMCixxm+2FyzQNntenLcFc9Y0R1va08R6wn3Pwu5ny+JG5Yy9bIJbpPzudbAThbHw==; Original-Received: from [2620:10d:c083:1004:56ee:75ff:fe20:83dc] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YXc1F-0000Hq-O7; Mon, 16 Mar 2015 13:53:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183932 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PhNd9BPILIqnc5hcNKBD1D0PFuQvupx0m Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/16/2015 01:48 PM, Lennart Borgman wrote: > On Mon, Mar 16, 2015 at 9:43 PM, Daniel Colascione = wrote: >> >> >> modes should be using a >> "level triggered" approach, where they inspect the current location of= >> point and update whatever state they need based on that current locati= on. >=20 > Don't they need the previous location sometimes too? (Entering > direction in invisible regions, for example.) We already have code to adjust point out of invisible regions. The command loop takes care of that. AFAICT, the actual existing uses of point motion hooks don't require state. --PhNd9BPILIqnc5hcNKBD1D0PFuQvupx0m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVB0LYAAoJEN4WImmbpWBl6ZQP/jA9r8/9eh+TjyHKxAAUqRS6 fdIdb7DPlf7l+wgZcvGwQHyIyUJFpeC4VnFuTBL1996SbWqUtrE1+YGn/9tQsMNG Ef60O6zRw2Hy4xsqIg4Ci4v1LXCwTUffXyyrZpwazLrWD0tBJU+tgQJGCtMz2jGw f6mPsOQLBF2iwk7u5rhebgOzHqmC7n7Vamg4aZ5xjRQxlo1x5kf4HtxUGd7+csSs OeDIOCfzM08PVrk594Er+jWGaAyg+QFkI7sCxLQJ+aES1eaFgzU7qrbddKV1jtQ9 YaWbc+AlbvJepkWfhffrn43QeH38XDvbPEpBy2muJRnum1PwhveIpWFqXD3AiMWH wxxfabIkb8eHFEaat+rSH390CnnPtaShUNQ+OBVHtezbvzrJogTZ/cxUVJR2rKcK gyKzd/6+bICKZrfCtLO7GA8Eku4n6XmeXy0mElVKlrdJWF6IhGGBv8CYLxCnfdXC NqVq3M4F4m4DuQ/MkFyw6mgMib7F4clNDa4y2swsIsyeVwNy3HbnRWhLuUpcZPnD bqQ3XqMgsCZO9IOzPxVuilulLq6Ha78gc+5CeSUX0ECAGbeL+1zIEQ8dYMwtIYXx rZC+h9q1KwSlFsV2wNqhPzXiHBnlJKb0ad1mLbXb5YQxJ1QYrBUyFX79CZSLEVU4 HeqIS5GbvAToctngpNfe =PBaj -----END PGP SIGNATURE----- --PhNd9BPILIqnc5hcNKBD1D0PFuQvupx0m--