From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: [elpa] master cf9edfa 3/5: [gnugo slog] Clear =?utf-8?Q?=E2=80=98inhibit-point-motion-hooks=E2=80=99=2E?= Date: Thu, 19 Jan 2017 08:16:06 +0100 Message-ID: <87o9z3ldu1.fsf@zigzag.favinet> References: <20170115231126.7513.20697@vcs.savannah.gnu.org> <20170115231126.DB46722017C@vcs.savannah.gnu.org> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1484815505 32604 195.159.176.226 (19 Jan 2017 08:45:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2017 08:45:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 19 09:45:00 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 1cU8KK-0004Rh-HT for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2017 09:44:12 +0100 Original-Received: from localhost ([::1]:46566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU8KP-0004g2-5E for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2017 03:44:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU8KI-0004fk-Pb for emacs-devel@gnu.org; Thu, 19 Jan 2017 03:44:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cU8KF-0001cP-N3 for emacs-devel@gnu.org; Thu, 19 Jan 2017 03:44:10 -0500 Original-Received: from mail.agora-net.com ([67.59.132.6]:50244) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cU8KF-0001bQ-Hu for emacs-devel@gnu.org; Thu, 19 Jan 2017 03:44:07 -0500 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.82) (envelope-from ) id 1cU8KB-0007wY-8K for emacs-devel@gnu.org; Thu, 19 Jan 2017 03:44:03 -0500 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1cU6xJ-0004Rx-Ih for emacs-devel@gnu.org; Thu, 19 Jan 2017 08:16:21 +0100 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Sun, 15 Jan 2017 21:32:19 -0500") X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ttn@gnuvola.org X-SA-Exim-Scanned: No (on mail.agora-net.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 67.59.132.6 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:211399 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Stefan Monnier () Sun, 15 Jan 2017 21:32:19 -0500 How 'bout the patch below (which additionally gets you rid of the place where you modify a string in-place, which I find very untoward). Thanks. I have modified the mode-line munging bits to use =E2=80=98replace-regexp-in-string=E2=80=99 as exemplified in the patch. OT= OH, the cursor-intangible parts of the patch i'm still mulling. From the bit of testing I've done, the intangibility on your board is a bit flimsy (C-f/C-b can move off the board), but I haven't tried to change that. Yeah, it has always been partial. At the design level, i wonder what is the preferred user experience when about to move off the board. I see these possibilities: (a) wrap toroidally (both horiz and vert); (b) stay motionless; (c) like (b) w/ error; (d) do nothing special (status quo). Personally, i don't mind (d) because i like to explore the text properties (move point, invoke =E2=80=98describe-text-properties=E2=80=99),= and imagine others doing likewise. (Too, no complaints yet.) =2D-=20 Thien-Thi Nguyen ----------------------------------------------- (defun responsep (query) (pcase (context query) (`(technical mailing-list) t) ...)) 748E A0E8 1CB8 A748 9BFA =2D-------------------------------------- 6CE4 6703 2224 4C80 7502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAliAZ7wACgkQZwMiJEyAdQLD+ACfaf094/AQ7Unuw5anZOkgGT9H MjEAmgLTYT1QWHKxpT3Tyrl28Cd8MxBR =7o/7 -----END PGP SIGNATURE----- --=-=-=--