all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Highlight opening parentheses in show-paren-mode
Date: Tue, 13 Apr 2004 14:38:55 +0300	[thread overview]
Message-ID: <87n05g857s.fsf@mail.jurta.org> (raw)
In-Reply-To: <E1BBH7n-0000se-38@fencepost.gnu.org> (Richard Stallman's message of "Wed, 07 Apr 2004 13:46:07 -0400")

BTW, this reminds me about another problem.  Saving the region into
the kill ring has a delay for showing the position of the mark.  This
delay is always 1 sec and can't be changed.  Instead of introducing a
new variable for this delay it makes sense to use a related variable
blink-matching-delay.  I think users customized this variable for
the delay to show a matching paren would prefer the same value
for the delay to show a mark position:

diff -u -r1.634 simple.el
--- emacs/lisp/simple.el	25 Mar 2004 16:01:37 -0000	1.634
+++ emacs/lisp/simple.el	13 Apr 2004 11:48:09 -0000
@@ -2013,7 +2013,7 @@
 	      ;; Swap point and mark.
 	      (set-marker (mark-marker) (point) (current-buffer))
 	      (goto-char other-end)
-	      (sit-for 1)
+	      (sit-for blink-matching-delay)
 	      ;; Swap back.
 	      (set-marker (mark-marker) other-end (current-buffer))
 	      (goto-char opoint)

-- 
Juri Linkov
http://www.jurta.org/emacs/

      parent reply	other threads:[~2004-04-13 11:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-06  3:57 Highlight opening parentheses in show-paren-mode sand
2004-04-07 17:46 ` Richard Stallman
2004-04-13 11:35   ` Juri Linkov
2004-04-13 11:38   ` Juri Linkov [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=87n05g857s.fsf@mail.jurta.org \
    --to=juri@jurta.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.