From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: bootstrap failure Date: Fri, 7 May 2010 02:14:05 +0200 Message-ID: References: <4BE355CA.6070802@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1273191284 3263 80.91.229.12 (7 May 2010 00:14:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 May 2010 00:14:44 +0000 (UTC) Cc: Emacs To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 07 02:14:43 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OABDB-0002F6-LV for ged-emacs-devel@m.gmane.org; Fri, 07 May 2010 02:14:37 +0200 Original-Received: from localhost ([127.0.0.1]:50334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OABDA-00058W-5b for ged-emacs-devel@m.gmane.org; Thu, 06 May 2010 20:14:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OABD5-00057F-Dk for emacs-devel@gnu.org; Thu, 06 May 2010 20:14:31 -0400 Original-Received: from [140.186.70.92] (port=53065 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OABD4-000557-1h for emacs-devel@gnu.org; Thu, 06 May 2010 20:14:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OABD2-0007ht-F1 for emacs-devel@gnu.org; Thu, 06 May 2010 20:14:29 -0400 Original-Received: from mail-bw0-f212.google.com ([209.85.218.212]:35137) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OABD1-0007hU-Vj for emacs-devel@gnu.org; Thu, 06 May 2010 20:14:28 -0400 Original-Received: by bwz4 with SMTP id 4so311475bwz.26 for ; Thu, 06 May 2010 17:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=B+sTE+nYEyZLHXiamhKmcIY5gn2jw5B3Co/dZUeHKI4=; b=YXzi4DC6UcYzK4DbJ5CKIG0riNxPxQZxl7bTtVFu7ZfYMOCMcBgJXbK5a8RYGE4Goe oXQLQaTDnipcERCQJnIwMiGfaeBwFiCJlAo9jc7l3LQBM4nfnV0UNOPtW/RH5k8Bv2yC 25kbPrrn9hmDJzsmL2338NY+GD+2UUk1T/tNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=eXtejAr6tW7cwGz5zLGhX1HoSgzjMedH4w4lF6nu1DQQ3B/tHQEmSBzjBjcw9t7uhF 67i7cSSzbo/SVxnp+UP7uO1y4QcazFO0n2Me30ePegKjLz8eWIO0IOa6bqsLY6wSvA7v d9XRCYvSHagywds7TDw7nnk4KsDklpumNtod8= Original-Received: by 10.204.132.196 with SMTP id c4mr2153732bkt.5.1273191265439; Thu, 06 May 2010 17:14:25 -0700 (PDT) Original-Received: by 10.204.84.81 with HTTP; Thu, 6 May 2010 17:14:05 -0700 (PDT) In-Reply-To: <4BE355CA.6070802@alice.it> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:124607 Archived-At: On Fri, May 7, 2010 at 01:50, Angelo Graziosi wrote: > So, even enabling scroll-bars, the trunk bootstrap fails. :( It's not related to the scrollbars, but the auto-save-mode change, as Stephen pointed out. I think just reverting this part of the commit is enough to bootstrap. Juanma === modified file 'lisp/files.el' --- lisp/files.el 2010-05-06 23:14:54 +0000 +++ lisp/files.el 2010-05-06 02:53:56 +0000 @@ -5150,29 +5150,25 @@ (kill-buffer-ask buffer))))) -(defun auto-save-mode (arg) +(define-minor-mode auto-save-mode "Toggle auto-saving of contents of current buffer. With prefix argument ARG, turn auto-saving on if positive, else off." - (interactive "P") - (setq buffer-auto-save-file-name - (and (if (null arg) - (or (not buffer-auto-save-file-name) - ;; If auto-save is off because buffer has shrunk, - ;; then toggling should turn it on. - (< buffer-saved-size 0)) - (or (eq arg t) (listp arg) (and (integerp arg) (> arg 0)))) - (if (and buffer-file-name auto-save-visited-file-name - (not buffer-read-only)) - buffer-file-name - (make-auto-save-file-name)))) + :variable ((and buffer-auto-save-file-name + ;; If auto-save is off because buffer has shrunk, + ;; then toggling should turn it on. + (>= buffer-saved-size 0)) + . (lambda (val) + (setq buffer-auto-save-file-name + (cond + ((null val) nil) + ((and buffer-file-name auto-save-visited-file-name + (not buffer-read-only)) + buffer-file-name) + (t (make-auto-save-file-name)))))) ;; If -1 was stored here, to temporarily turn off saving, ;; turn it back on. (and (< buffer-saved-size 0) - (setq buffer-saved-size 0)) - (if (called-interactively-p 'interactive) - (message "Auto-save %s (in this buffer)" - (if buffer-auto-save-file-name "on" "off"))) - buffer-auto-save-file-name) + (setq buffer-saved-size 0))) (defun rename-auto-save-file () "Adjust current buffer's auto save file name for current conditions.