From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#14591: New keyword :local for defcustom Date: Thu, 13 Jun 2013 16:25:04 +0200 Message-ID: References: <2wtxl3xmrf.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1371133573 3602 80.91.229.3 (13 Jun 2013 14:26:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2013 14:26:13 +0000 (UTC) Cc: 14591@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 13 16:26:12 2013 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 1Un8Tb-0006pb-0U for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 16:26:11 +0200 Original-Received: from localhost ([::1]:55471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un8Ta-0008Fv-HS for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 10:26:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un8TU-00088Z-T7 for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 10:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un8TS-0000h3-NB for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 10:26:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un8TS-0000gw-FN for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 10:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Un8TR-0007Ou-Pr for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 10:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jun 2013 14:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14591 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 14591-submit@debbugs.gnu.org id=B14591.137113355528425 (code B ref 14591); Thu, 13 Jun 2013 14:26:01 +0000 Original-Received: (at 14591) by debbugs.gnu.org; 13 Jun 2013 14:25:55 +0000 Original-Received: from localhost ([127.0.0.1]:41497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Un8TK-0007OO-MB for submit@debbugs.gnu.org; Thu, 13 Jun 2013 10:25:55 -0400 Original-Received: from mail-ea0-f180.google.com ([209.85.215.180]:34137) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Un8TH-0007Nx-1m for 14591@debbugs.gnu.org; Thu, 13 Jun 2013 10:25:51 -0400 Original-Received: by mail-ea0-f180.google.com with SMTP id k10so7766213eaj.39 for <14591@debbugs.gnu.org>; Thu, 13 Jun 2013 07:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=JIIYaufxA1tyIsv1z2HcLBvZLZ2cgHT/F0t77+4xz6c=; b=IE5f06Sugsf38Tld6qF3UPjJWuC1Kq8Jy2yflOVimAqO0uRNaKh58F+z4tCRAxcupc EfHAyMo09JgAbUhlCArbw5h1/GfyGtJqjHi4xlMUAceI6blqpJ25IHOhVPtce588h87U SMfLBEdHtBW0VCqzXHTlunxeqLmq6fTvVSVMY5FiqHvTy1Bg5cXWP6XRfEMlxMk0AepO yb5efIjt+k4VU7Cz2tJKajGMSIolFcJse4jP4LiASXdh8PyarYbGtLhvcppknUMvJr0k IMvb6I9ZtW55ROVZhHjduCpRyiECh63hpxH/l2syR9EdSj3KIE3KbLyraGcIxSQjua2n zxYw== X-Received: by 10.14.218.8 with SMTP id j8mr1378633eep.129.1371133544738; Thu, 13 Jun 2013 07:25:44 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Thu, 13 Jun 2013 07:25:04 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:75048 Archived-At: > But: is it important for those to be "not automatically buffer-local", > or would it be OK for them to be automatically buffer-local. Well, that's a good question. The first example I can think of is one variable I'm really puzzled is not automatically buffer-local, because it is *always* used as so (I checked), revert-buffer-function. The only case in the sources where it is not assigned with (set (make-local-variable 'revert-buffer-function) ...) is in dired-x.el, and that because at that point is already guaranteed that dired-mode.el made it a-b-l. So, it's important for revert-buffer-function to be "not automatically buffer-local"? Does it even make sense that it is not? :-) J