From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joseph Shraibman Newsgroups: gmane.emacs.help Subject: Re: "Args out of range:" error when opening existing files Date: Wed, 09 Oct 2002 18:13:11 -0000 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <491y6zbq4b.fsf@ast.cam.ac.uk> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1034187384 17350 127.0.0.1 (9 Oct 2002 18:16:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2002 18:16:24 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17zLNe-0004VS-00 for ; Wed, 09 Oct 2002 20:16:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zLNb-0006QH-00; Wed, 09 Oct 2002 14:16:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.2.18 (i686)) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 23 Original-Xref: shelby.stanford.edu gnu.emacs.help:105878 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2425 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2425 Ugh. Right under my nose. I changed it to: (setq backup-enable-predicate(lambda (name) (not (or (and (> (length name) 5) (string-equal "/tmp/" (substring name 0 5))) (and (> (length name) 18) (string-equal "/local/www/htdocs/" (substring name 0 18))) ) ) )) (tin screwed up the indentation). BTW I noticed before when I edited .emacs emacs automatically entered lisp mode, but since I upgraded it doesn't do it anymore. Is this some redhat thing or a change in emacs? -- -- TuPari Joseph Shraibman jks(at)iname.com