From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: file/local variables (and auctex?) Date: Thu, 12 Apr 2007 10:34:21 +0200 Message-ID: <461DEF0D.3020104@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176368175 28031 80.91.229.12 (12 Apr 2007 08:56:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2007 08:56:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: dev.null@caeruleus.net Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 12 10:56:09 2007 Return-path: Envelope-to: geh-help-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 1Hbv66-0001QW-TY for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2007 10:56:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbvAE-0002Qv-2m for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2007 05:00:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hbv2l-0006Mu-0L for help-gnu-emacs@gnu.org; Thu, 12 Apr 2007 04:52:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hbv2f-0006Iv-6Y for help-gnu-emacs@gnu.org; Thu, 12 Apr 2007 04:52:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hbv2d-0006Hl-QF for help-gnu-emacs@gnu.org; Thu, 12 Apr 2007 04:52:32 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HbuyT-0004UK-8t for help-gnu-emacs@gnu.org; Thu, 12 Apr 2007 04:48:13 -0400 Original-Received: (qmail invoked by alias); 12 Apr 2007 08:48:09 -0000 Original-Received: from N709P011.adsl.highway.telekom.at (EHLO [62.47.32.139]) [62.47.32.139] by mail.gmx.net (mp047) with SMTP; 12 Apr 2007 10:48:09 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/DWYgAfBHDBZO+LvkPp5f7eguabIzuPRqTjsbmmJ AVQSFOdRig1UNh User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42607 Archived-At: > I actually got this very error when copying the lines above to a file > and opening it. Indeed - I was confused because the OP didn't mention it the first time. It's due to the "$" in (let ((suffix (concat (regexp-quote (buffer-substring (point) (line-end-position))) "$")) and I stand corrected. Maybe we should write (let ((suffix (concat (regexp-quote (buffer-substring (point) (line-end-position))) "[ \t]*$")) instead.