all messages for Emacs-related lists mirrored at yhetil.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 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.