From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: Tool-bar changes Date: Tue, 13 May 2008 19:38:30 +0100 Message-ID: <8685F8F5-EC0A-41B4-BF8B-9E2F1ED94DED@gmail.com> References: <18457.37369.262079.668907@kahikatea.snap.net.nz> <200805040056.m440u3eS022727@sallyv1.ics.uci.edu> <874p9dn46h.fsf@stupidchicken.com> <87hcd8i7iq.fsf_-_@stupidchicken.com> <87skwmrsax.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210703938 17269 80.91.229.12 (13 May 2008 18:38:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2008 18:38:58 +0000 (UTC) Cc: emacs- devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 13 20:39:34 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JvzPS-00033K-Cj for ged-emacs-devel@m.gmane.org; Tue, 13 May 2008 20:39:34 +0200 Original-Received: from localhost ([127.0.0.1]:32886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvzOj-0005v0-9y for ged-emacs-devel@m.gmane.org; Tue, 13 May 2008 14:38:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvzOd-0005uX-UI for emacs-devel@gnu.org; Tue, 13 May 2008 14:38:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvzOa-0005tC-UT for emacs-devel@gnu.org; Tue, 13 May 2008 14:38:43 -0400 Original-Received: from [199.232.76.173] (port=36126 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvzOa-0005t1-Ok for emacs-devel@gnu.org; Tue, 13 May 2008 14:38:40 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.190]:13362) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvzOa-00047f-LT for emacs-devel@gnu.org; Tue, 13 May 2008 14:38:40 -0400 Original-Received: by nf-out-0910.google.com with SMTP id c7so1561172nfi.26 for ; Tue, 13 May 2008 11:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=OMLyFyDBDJbwmiLjE9A68STnIuIwVaZK/1O6+G82Bbc=; b=BC9cjJJS3sIk0U5SZ8KRuOklY7m5zMxR9jVWeOntfgG/8Xk4JbsKFgfwz5lKedNYdMZZmiEIxxhHRm0w0qNkAhjYuZhceFZIfmZncz4Lo6Z9+7ENWP39lz2pB/j0frFZEdE8uGDSjfCF50arTU223ibnlypMdgUaR0I5dbECvJs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=s+sT3i1uaXPG2R8grAMFpABJ+Ahcy7nvjKdp/LPFIT7I4dX6YkpgynOOiijsDytW02Q2sR2oH2gp0kL/X84Sq8M/zhz73+UFmE41pnbJA/HOimzt9cuIu5AyV46AJL4/eBUPKkYIadUizF1/hKuHOEsLo6aWY2bik/hEZD22gVU= Original-Received: by 10.210.16.20 with SMTP id 20mr29867ebp.134.1210703918905; Tue, 13 May 2008 11:38:38 -0700 (PDT) Original-Received: from scarlett.lan ( [172.141.247.6]) by mx.google.com with ESMTPS id c24sm314433ika.4.2008.05.13.11.38.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 May 2008 11:38:36 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.919.2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97095 Archived-At: On 13 May 2008, at 19:19, Stefan Monnier wrote: > I threw away this caching code in my own Emacs (I threw it out a long > time ago, i.e. when I added the where-is-internal reverse keymap > cache, > since this made on-the-fly recomputation sufficiently fast for me to > make the cache unnecessary (or even harmful since it's not correctly > maaintained: when the cache key-sequence becomes invalid, it is > correclty thrown out, but if a key-sequence becomes later available, > the cache will prevent it from being discovered)). Is there a way to trigger an update of the cache, or turn it off? I think I may be seeing such a problem (in certain, unclear circumstances, :key-sequence nil works correctly when evaluating define-key manually, but not in my package that is loaded early) and thought I could try debugging this by turning off the caching.