[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Highlight opening parentheses in show-paren-mode
From: |
Juri Linkov |
Subject: |
Re: Highlight opening parentheses in show-paren-mode |
Date: |
Tue, 13 Apr 2004 14:38:55 +0300 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
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/