From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Boyer Newsgroups: gmane.emacs.bugs Subject: follow-mode arg should be optional Date: Tue, 10 Jul 2007 04:52:59 -0500 (CDT) Message-ID: <20070710095259.0D8BA9DC6D6@terlingua.local> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1184064334 31412 80.91.229.12 (10 Jul 2007 10:45:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2007 10:45:34 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 10 12:45:30 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I8DDl-0007VA-CD for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jul 2007 12:45:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8DDk-0003ME-Tg for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jul 2007 06:45:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8CPc-0003Yt-4d for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2007 05:53:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8CPZ-0003Wl-5O for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2007 05:53:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8CPY-0003WL-EB for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2007 05:53:36 -0400 Original-Received: from terlingua.csres.utexas.edu ([128.83.141.99] helo=terlingua.local) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8CPX-0002jo-HR for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2007 05:53:35 -0400 Original-Received: by terlingua.local (Postfix, from userid 501) id 0D8BA9DC6D6; Tue, 10 Jul 2007 04:52:59 -0500 (CDT) X-detected-kernel: FreeBSD 6.x (2) X-Mailman-Approved-At: Tue, 10 Jul 2007 06:44:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16122 Archived-At: In follow.el, we read: (defun follow-mode (arg) ... Maybe that arg should be &optional, so that it is possible to put follow-mode in the first line of a file, with, e.g., -*- mode: follow; -*- As it is now, I believe a wrong-number-of-arguments error arises when the code that parses such first lines tries to execute (follow-mode). The error is masked to some extent, but still shows up in a part of my screen. Thanks so much for Emacs. What a wondrous system -- one of the real seven wonders of the world. Forced to choose between Emacs and, say, any pyramid, I'd take Emacs. Bob In GNU Emacs 21.2.1 (powerpc-apple-darwin, X toolkit) of 2006-03-22 on kodaira.local configured using `configure powerpc-apple-darwin --prefix=/sw --with-x --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-gif '--infodir=${prefix}/share/info' '--mandir=${prefix}/share/man' '--libexecdir=${prefix}/lib''