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: Why is not end-of-defun-function buffer local? Date: Fri, 07 Dec 2007 21:18:40 -0500 Message-ID: References: <4759ED09.7060601@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197080339 18304 80.91.229.12 (8 Dec 2007 02:18:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2007 02:18:59 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 08 03:19:08 2007 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 1J0pHV-0002A8-12 for ged-emacs-devel@m.gmane.org; Sat, 08 Dec 2007 03:19:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0pHD-0003DK-N5 for ged-emacs-devel@m.gmane.org; Fri, 07 Dec 2007 21:18:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J0pH9-0003BA-U0 for emacs-devel@gnu.org; Fri, 07 Dec 2007 21:18:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J0pH8-00038v-El for emacs-devel@gnu.org; Fri, 07 Dec 2007 21:18:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0pH8-00038o-AW for emacs-devel@gnu.org; Fri, 07 Dec 2007 21:18:42 -0500 Original-Received: from tomts43.bellnexxia.net ([209.226.175.110] helo=tomts43-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J0pH8-0005xe-1U for emacs-devel@gnu.org; Fri, 07 Dec 2007 21:18:42 -0500 Original-Received: from toip3.srvr.bell.ca ([209.226.175.86]) by tomts43-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071208021841.XNBY26794.tomts43-srv.bellnexxia.net@toip3.srvr.bell.ca> for ; Fri, 7 Dec 2007 21:18:41 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAGuNWUdKDNGS/2dsb2JhbACBWg Original-Received: from bas1-montreal42-1242354066.dsl.bell.ca (HELO pastel.home) ([74.12.209.146]) by toip3.srvr.bell.ca with ESMTP; 07 Dec 2007 21:16:08 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 755627F79; Fri, 7 Dec 2007 21:18:40 -0500 (EST) In-Reply-To: <4759ED09.7060601@gmail.com> (Lennart Borgman's message of "Sat, 08 Dec 2007 02:02:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:84860 Archived-At: > It surprises me that beginning/end-of-defun-function are not always > buffer local. Why force them to be buffer-local? When you need to set them in a buffer, just do (set (make-local-variable 'end-of-defun-function) 'foo) If you think that's too long, then you may want to request a new `setq-local' macro. Stefan