From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: with a fresh emacs "(buffer-local-value fundamental-mode (current-buffer))" error. Date: Fri, 10 Apr 2009 18:10:30 -0400 Message-ID: References: <50950.128.165.123.18.1239229924.squirrel@webmail.lanl.gov> <33049.128.165.123.18.1239290817.squirrel@webmail.lanl.gov> <33849.128.165.123.18.1239316978.squirrel@webmail.lanl.gov> <87ocv4flys.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239401485 24811 80.91.229.12 (10 Apr 2009 22:11:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Apr 2009 22:11:25 +0000 (UTC) Cc: MON KEY , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 11 00:12:44 2009 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 1LsOxk-0004ei-In for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2009 00:12:40 +0200 Original-Received: from localhost ([127.0.0.1]:40028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsOwM-0005Ok-4f for ged-emacs-devel@m.gmane.org; Fri, 10 Apr 2009 18:11:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LsOvm-0004ej-2v for emacs-devel@gnu.org; Fri, 10 Apr 2009 18:10:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LsOvh-0004Z2-AN for emacs-devel@gnu.org; Fri, 10 Apr 2009 18:10:37 -0400 Original-Received: from [199.232.76.173] (port=59953 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsOvg-0004YP-IH for emacs-devel@gnu.org; Fri, 10 Apr 2009 18:10:32 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:50815 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LsOvg-0000P2-AZ for emacs-devel@gnu.org; Fri, 10 Apr 2009 18:10:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkIGABBh30lLd+7D/2dsb2JhbACBUskNg3sGhRQ X-IronPort-AV: E=Sophos;i="4.40,169,1238990400"; d="scan'208";a="36885348" Original-Received: from 75-119-238-195.dsl.teksavvy.com (HELO pastel.home) ([75.119.238.195]) by ironport2-out.teksavvy.com with ESMTP; 10 Apr 2009 18:10:31 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id CE84DE9B48; Fri, 10 Apr 2009 18:10:30 -0400 (EDT) In-Reply-To: <87ocv4flys.fsf@cyd.mit.edu> (Chong Yidong's message of "Fri, 10 Apr 2009 13:38:19 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:110197 Archived-At: >>> If you need to detect (and not just suppress) longlines-mode without >>> having to load it, you can do bound-and-true-p 'longlines-mode) > This should be (bound-and-true-p longlines-mode), because the > bound-and-true-p macro treats its VAR argument like setq; it is a macro, > not an ordinary Lisp function. Its docstring needs to be > corrected---I'll do this once I when I get the chance. It's too bad: it should have been a function, but it's a bit late to fix it now. Stefan