all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: [elpa] master cf9edfa 3/5: [gnugo slog] Clear ‘inhibit-point-motion-hooks’.
Date: Thu, 19 Jan 2017 08:16:06 +0100	[thread overview]
Message-ID: <87o9z3ldu1.fsf@zigzag.favinet> (raw)
In-Reply-To: <jwvy3ybspoj.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 15 Jan 2017 21:32:19 -0500")

[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]


() Stefan Monnier <monnier@IRO.UMontreal.CA>
() 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
‘replace-regexp-in-string’ as exemplified in the patch.  OTOH,
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 ‘describe-text-properties’), and
imagine others doing likewise.  (Too, no complaints yet.)

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)
   (pcase (context query)
     (`(technical mailing-list) t)
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      reply	other threads:[~2017-01-19  7:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170115231126.7513.20697@vcs.savannah.gnu.org>
     [not found] ` <20170115231126.DB46722017C@vcs.savannah.gnu.org>
2017-01-16  2:32   ` [elpa] master cf9edfa 3/5: [gnugo slog] Clear ‘inhibit-point-motion-hooks’ Stefan Monnier
2017-01-19  7:16     ` Thien-Thi Nguyen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9z3ldu1.fsf@zigzag.favinet \
    --to=ttn@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.