From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Pure strings (Re: Compilation to native) Date: Sun, 18 Apr 2004 17:47:12 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87eks0654s.fsf@sno.mundell.ukfsn.org> <87n06bp4ng.fsf@sno.mundell.ukfsn.org> <8765cwkejr.fsf@mail.jurta.org> <200404071157.UAA25094@etlken.m17n.org> <87oepvo4jz.fsf@mail.jurta.org> <200404132340.IAA14502@etlken.m17n.org> <87u0zniciw.fsf@mail.jurta.org> <87fzb5h4x7.fsf_-_@mail.jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1082325478 11834 80.91.224.253 (18 Apr 2004 21:57:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Apr 2004 21:57:58 +0000 (UTC) Cc: emacs-devel@gnu.org, handa@m17n.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Apr 18 23:57:53 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFKIS-0006Ae-00 for ; Sun, 18 Apr 2004 23:57:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFKIS-0008UP-00 for ; Sun, 18 Apr 2004 23:57:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFKG9-0001RQ-7H for emacs-devel@quimby.gnus.org; Sun, 18 Apr 2004 17:55:29 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BFKD1-00087g-3e for emacs-devel@gnu.org; Sun, 18 Apr 2004 17:52:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BFKB4-0006xP-0S for emacs-devel@gnu.org; Sun, 18 Apr 2004 17:50:45 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFK92-0005x7-68 for emacs-devel@gnu.org; Sun, 18 Apr 2004 17:48:08 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1BFK88-0004ja-Mb; Sun, 18 Apr 2004 17:47:12 -0400 Original-To: Juri Linkov In-reply-to: <87fzb5h4x7.fsf_-_@mail.jurta.org> (message from Juri Linkov on Thu, 15 Apr 2004 14:11:16 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21857 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21857 This error is raised on the string "Buffers" by the macro CHECK_IMPURE. Could someone explain why should this string be "impure"? The problem occurs because the string is pure. It looks like it is pure because it comes from menu-bar-update-buffers, which is in a preloaded file. Does this patch fix it? *** menu-bar.el 11 Sep 2003 09:45:49 -0400 1.244 --- menu-bar.el 18 Apr 2004 14:34:39 -0400 *************** *** 1557,1563 **** (setq buffers-menu (cons 'keymap (cons "Select Buffer" buffers-menu))) (define-key (current-global-map) [menu-bar buffer] ! (cons "Buffers" buffers-menu))))) (add-hook 'menu-bar-update-hook 'menu-bar-update-buffers) --- 1557,1563 ---- (setq buffers-menu (cons 'keymap (cons "Select Buffer" buffers-menu))) (define-key (current-global-map) [menu-bar buffer] ! (cons (copy-sequence "Buffers") buffers-menu))))) (add-hook 'menu-bar-update-hook 'menu-bar-update-buffers)