1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-27 10:54:40 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
Stefan Monnier
95ed7b4249 (show-paren-function): Use it to recognize parens that are
also used in 2-char comment markers.
2005-04-19 18:16:15 +00:00
Stefan Monnier
96bda29d36 (show-paren-function): Fix last change (2004-12-02). 2004-12-06 19:06:12 +00:00
Richard M. Stallman
2f27dfeb0d (show-paren-function): Check for matching chars specified by text props. 2004-12-03 00:06:21 +00:00
Stefan Monnier
d8ac3d271c (syntax-after): Undo last change. 2004-11-22 06:00:51 +00:00
Richard M. Stallman
d5d126ea02 (show-paren-function): Change calls to syntax-after
for new way of returning the value.
2004-11-08 16:45:17 +00:00
Juri Linkov
6afd5d68ae (show-paren-highlight-openparen): New var.
(show-paren-function): Turn on openparen highlighting when
matching forward if show-paren-highlight-openparen is non-nil.
2004-04-27 06:43:42 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Andreas Schwab
2e8f601205 (show-paren-mismatch-face): Fix face spec. 2002-12-01 23:15:37 +00:00
Stefan Monnier
9fe9d55a2c (show-paren-function): Use syntax-after. 2002-09-09 23:16:49 +00:00
Richard M. Stallman
6be7b1272d (show-paren-function): Move back in other direction
to verify the match is correct.
2002-03-11 09:14:28 +00:00
Miles Bader
05e122fe1f (show-paren-match-face): Add dark-background variant. 2001-11-07 05:13:45 +00:00
Eli Zaretskii
ca5b46fc99 Update the Commentary with installation instructions. 2001-10-16 19:07:50 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Stefan Monnier
83bfc0d9ec (show-paren-mode): Drop unneeded positional args. 2000-11-03 22:30:37 +00:00
Stefan Monnier
2b497eda44 (show-paren-mode): Use define-minor-mode. 2000-09-29 03:11:01 +00:00
Gerd Moellmann
5780586ea0 (show-paren-priority): New user option.
(show-paren-function): Set overlay priorities to
show-paren-priority.
2000-08-14 19:46:18 +00:00
Dave Love
d279baa8e7 (show-paren-mode): Add autoload cookie. 1999-09-25 12:35:20 +00:00
Karl Heuer
5762abecd3 Fix maintainer address. 1999-08-16 04:04:27 +00:00
Karl Heuer
050d5fc220 (show-paren-mode): Support making show-paren-mode
a buffer-local variable.  Don't check for a window system.
(show-paren-function): Check whether show-paren-function is
enabled in current buffer; do the right thing if not.
Don't check for a window system.
(show-paren-mode): Make it a user variable.
1999-08-16 03:18:40 +00:00
Dave Love
757c19e895 (show-paren-mode): Doc fix. 1999-04-27 19:10:09 +00:00
Karl Heuer
25f67e4bc9 *** empty log message *** 1999-03-30 21:37:40 +00:00
Karl Heuer
14fd44abc9 (show-paren-mode): Doc fix. 1999-03-30 21:29:38 +00:00
Richard M. Stallman
2fe66dda68 (show-paren-ring-bell-on-mismatch): New option.
(show-paren-function): Beep on mismatch, if requested.
1998-05-01 05:33:39 +00:00
Richard M. Stallman
82b6a81f61 (show-paren-match-face): Use gray on all non-color screens. 1997-07-17 18:36:12 +00:00
Richard M. Stallman
12eb843358 (show-paren-idle-timer): New defvar.
(show-paren-mode): Add :initialize attr in the defcustom.
Test the value at end of file, and turn on the mode if true.
1997-07-04 00:16:50 +00:00
Richard M. Stallman
b527f6c26c (show-paren-mode): Add a defvar before first use. 1997-07-03 01:06:11 +00:00
Simon Marshall
173f234148 customise, rewrite and extend. 1997-06-19 08:37:05 +00:00
Richard M. Stallman
9af289f9c2 Don't enable the mode just because file is loaded. 1997-06-18 20:21:20 +00:00
Karl Heuer
f8e2c40cde (show-paren-function): Handle multibyte characters. 1997-02-20 05:48:19 +00:00
Richard M. Stallman
0d554bae8b (show-paren-function): Handle unbalanced parens as
mismatched.  When the unbalanced paren is an opening paren,
highlight it as mismatched.
1996-09-03 17:54:23 +00:00
Simon Marshall
625d837ef4 Don't toggle on window-setup-hook. 1996-02-28 12:17:10 +00:00
Richard M. Stallman
673cc3c51d (show-paren-delay): New variable.
(show-paren-mode): New command.  Use it.  Call it at the top-level.
(show-paren-mode, show-paren-idle-timer): New variables.
(show-paren-function): Renamed from show-paren-command-hook.
1996-02-28 01:28:42 +00:00
Karl Heuer
44bea10aef Use run-with-idle-timer, not post-command-idle-hook. 1996-02-21 21:21:55 +00:00
Richard M. Stallman
6f554752a4 (show-paren-command-hook): Position show-paren-overlay-1
properly when first creating it (just like when moving it).
1996-02-11 19:25:08 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
69e01b8eb2 (window-setup-hook): Clear blink-matching-paren-on-screen;
don't touch  blink-paren-function.
1995-12-21 17:59:43 +00:00
Karl Heuer
fee7c89dc1 (show-paren-command-hook): Don't list `paren-mismatch'
face in menu.
1995-11-10 18:58:14 +00:00
Richard M. Stallman
26ee1a5dd0 Use post-command-idle-hook.
(show-paren-command-hook): No need to test for idleness.
1995-08-21 22:00:21 +00:00
Richard M. Stallman
0671e80b5e (show-paren-command-hook): Do nothing if have unread events. 1995-08-16 15:03:59 +00:00
Richard M. Stallman
00b05a4299 (show-paren-command-hook): Don't alter paren-mismatch face
if make-face gives it some contents.
1995-01-10 17:44:28 +00:00
Richard M. Stallman
329ff3a4e7 (show-paren-command-hook): Set the face of an overlay
each time we move it somewhere.
1994-08-17 22:31:16 +00:00
Richard M. Stallman
080d320dce (show-paren-command-hook): Cope if matching-paren gives nil. 1994-08-11 02:42:22 +00:00
Richard M. Stallman
d196a64d03 (show-paren-command-hook): Use matching-paren.
Call overlay-put once for each overlay.
Wait .1 sec to see if any input comes in.
1994-06-25 01:20:11 +00:00
Richard M. Stallman
cde4c890f1 (show-paren-command-hook): Handle close paren rather than open paren
if point is between the two.
1994-06-23 14:42:48 +00:00
Richard M. Stallman
a060984a9a (show-paren-command-hook): Set paren foreground to white. 1994-06-23 14:31:35 +00:00
Richard M. Stallman
e8f9dff93b (show-paren-command-hook):
Always set show-paren-mismatch-face to symbol, not face vector.
1994-05-23 07:45:49 +00:00
Richard M. Stallman
e4b93bab48 (show-paren-command-hook): Do nothing when in kbd macro. 1994-01-17 22:43:40 +00:00
Richard M. Stallman
bac79b5181 (show-paren-command-hook): Do nothing if input is pending. 1993-08-12 05:33:16 +00:00
Richard M. Stallman
a1251f7964 (show-paren-command-hook): Don't use value of make-face. 1993-08-11 20:18:06 +00:00