From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roy Crihfield Newsgroups: gmane.emacs.bugs Subject: bug#12297: show-paren-mode only recognizes show-paren-delay value on activation Date: Wed, 29 Aug 2012 22:45:27 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044787fb02be5104c872ab3f X-Trace: ger.gmane.org 1346294764 6521 80.91.229.3 (30 Aug 2012 02:46:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2012 02:46:04 +0000 (UTC) To: 12297@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 04:46:05 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T6ule-0000Mu-HP for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Aug 2012 04:46:02 +0200 Original-Received: from localhost ([::1]:48994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6ulc-0006eU-DL for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Aug 2012 22:46:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6ulZ-0006eB-Sc for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 22:45:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6ulY-0004QR-Q3 for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 22:45:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6ulY-0004QH-MT for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 22:45:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T6umd-0005KE-Dw for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 22:47:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Roy Crihfield Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Aug 2012 02:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12297 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134629480920450 (code B ref -1); Thu, 30 Aug 2012 02:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2012 02:46:49 +0000 Original-Received: from localhost ([127.0.0.1]:56694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6umN-0005Jl-Ua for submit@debbugs.gnu.org; Wed, 29 Aug 2012 22:46:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59062) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6umF-0005JX-JO for submit@debbugs.gnu.org; Wed, 29 Aug 2012 22:46:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6ul9-0004PF-Bm for submit@debbugs.gnu.org; Wed, 29 Aug 2012 22:45:32 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:58563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6ul9-0004PB-8G for submit@debbugs.gnu.org; Wed, 29 Aug 2012 22:45:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6ul8-0006cH-Cj for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 22:45:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6ul7-0004OE-9H for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 22:45:30 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:56764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6ul7-0004Mw-4F for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 22:45:29 -0400 Original-Received: by iagk10 with SMTP id k10so2742173iag.0 for ; Wed, 29 Aug 2012 19:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=NRWi9T+Vzyv4JDIMZ3suxO/5cTHHjJYdtjRqUa+BoSA=; b=JgiDqpQRidc/vtLD/3S3OP8QJG+89V9FHbAbraoq7zauck7OCA9WIgKZxwVHCjWBLh iQbOdN5X1A2N0o4NmtpE/rneRgJ1O4VRf8eRk61U52l71QQ7w1+48Bs6uW//KQ+tSwGB MGf+Yr50lYymMaR4nfVBM2R+PUPP2UtOFLceLe0vg+6RD2EcV+Fn336tQqrEnSom1lHj SvvlQ+7LCUU4TYApNqER3tNBY+ITtPVmHIq3gozUecKpN8OcyrAJE3XHBp4k3CfrO9UL Iqe17RCCnonhrAvhqjS4NLw3Qla/sJp7OS52FZ8w6H59RYvxfFicLpw+Koy0wPhqI9Q2 vrxQ== Original-Received: by 10.50.237.5 with SMTP id uy5mr3941785igc.3.1346294727753; Wed, 29 Aug 2012 19:45:27 -0700 (PDT) Original-Received: by 10.50.140.2 with HTTP; Wed, 29 Aug 2012 19:45:27 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 3D1-P9HMVFBRnS7GiyRETT-NSOA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63594 Archived-At: --f46d044787fb02be5104c872ab3f Content-Type: text/plain; charset=ISO-8859-1 Forgot to include version: 24.1.1. On Tue, Aug 28, 2012 at 6:47 PM, Roy Crihfield wrote: > 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)) > --f46d044787fb02be5104c872ab3f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Forgot to include version: 24.1.1.

On Tue= , Aug 28, 2012 at 6:47 PM, Roy Crihfield <rscrihf@gmail.com>= wrote:
Activating show-paren-mode sets the delay ti= me to show-paren-delay initially, but altering that value later has no effe= ct. i.e., after:

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

The timer is stil= l 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 pare= n.el into a separate function:

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

--f46d044787fb02be5104c872ab3f--