From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#14926: 24.3.50; Warning "`make-variable-buffer-local' should be called at toplevel" Date: Fri, 16 Aug 2013 07:07:16 -0700 (PDT) Message-ID: <55709e09-4565-4ef0-8b53-89842e358c95@default> References: <2aaa3bfa-1556-4135-b70a-1308e6cc7cdd@default> <8738qb816m.fsf@web.de> <878v017uyy.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376662106 3236 80.91.229.3 (16 Aug 2013 14:08:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Aug 2013 14:08:26 +0000 (UTC) Cc: 14926@debbugs.gnu.org To: Michael Heerdegen , Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 16 16:08:27 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 1VAKhU-0008DY-VH for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 16:08:25 +0200 Original-Received: from localhost ([::1]:59246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAKhU-0006Ga-8x for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 10:08:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAKhH-0006FP-Vq for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 10:08:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAKh9-0005Vp-1p for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 10:08:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAKh8-0005Vi-V8 for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 10:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VAKh8-00046g-7g for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 10:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Aug 2013 14:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14926-submit@debbugs.gnu.org id=B14926.137666205315728 (code B ref 14926); Fri, 16 Aug 2013 14:08:02 +0000 Original-Received: (at 14926) by debbugs.gnu.org; 16 Aug 2013 14:07:33 +0000 Original-Received: from localhost ([127.0.0.1]:34675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VAKge-00045c-PQ for submit@debbugs.gnu.org; Fri, 16 Aug 2013 10:07:33 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:17265) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VAKgb-00045C-RK for 14926@debbugs.gnu.org; Fri, 16 Aug 2013 10:07:30 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r7GE7J5h015933 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 16 Aug 2013 14:07:20 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r7GE7HOr005505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Aug 2013 14:07:18 GMT Original-Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r7GE7HU2005490; Fri, 16 Aug 2013 14:07:17 GMT In-Reply-To: <878v017uyy.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6668.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] 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:77430 Archived-At: > > FWIW, looking at the change I've had the same reaction as Drew. >=20 > Well, it was the best short formulation that came to my mind. ... > The "shortish" part is the problem. Is this short enough and clear enough? "Consider using `make-local-variable' instead" The context (line #) should make it clear what the "instead" refers to. This way we're just drawing the user's attention to the possibility that it might be more appropriate to use `make-local-variable' in that context. It's up to the user to check what that means, by checking the doc. If we could include a reference to the manual that would be even better. The node is (elisp) `Creating Buffer-Local'. If a link is not possible then perhaps just add text. Is this too long (dunno)? "Consider using `make-local-variable' instead [(elisp) Creating Buffer-Loc= al] (Yes, links or textual references from product to doc can mean more maintenance, unless they can be updated automatically. But they can help users.)