unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12297: show-paren-mode only recognizes show-paren-delay value on activation
@ 2012-08-28 22:47 Roy Crihfield
  2012-08-30  1:45 ` Glenn Morris
  2012-08-30  2:45 ` Roy Crihfield
  0 siblings, 2 replies; 3+ messages in thread
From: Roy Crihfield @ 2012-08-28 22:47 UTC (permalink / raw)
  To: 12297

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

Activating show-paren-mode sets the delay time to show-paren-delay
initially, but altering that value later has no effect. i.e., after:

(show-paren-mode)
(setq show-paren-delay 0)

The timer is still set to the original value .125, until the mode is
re-activated.
This should maybe be noted in the variable description, or there should be
a dedicated function to set the new value, e.g. by turning line 125 of
paren.el into a separate function:

(setq show-paren-idle-timer (run-with-idle-timer
                   show-paren-delay t
                   'show-paren-function))

[-- Attachment #2: Type: text/html, Size: 619 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-30  2:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-28 22:47 bug#12297: show-paren-mode only recognizes show-paren-delay value on activation Roy Crihfield
2012-08-30  1:45 ` Glenn Morris
2012-08-30  2:45 ` Roy Crihfield

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).