From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Error report on startup Date: Fri, 02 Mar 2007 18:46:33 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1172879316 21520 80.91.229.12 (2 Mar 2007 23:48:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Mar 2007 23:48:36 +0000 (UTC) To: lekktu@gmail.com, herberteuler@hotmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 03 00:48:28 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 1HNHUB-0007Gc-UF for ged-emacs-devel@m.gmane.org; Sat, 03 Mar 2007 00:48:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNHUB-0004Ur-H4 for ged-emacs-devel@m.gmane.org; Fri, 02 Mar 2007 18:48:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HNHTy-0004Tl-2O for emacs-devel@gnu.org; Fri, 02 Mar 2007 18:48:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HNHTx-0004TX-LS for emacs-devel@gnu.org; Fri, 02 Mar 2007 18:48:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNHTx-0004TT-Eb for emacs-devel@gnu.org; Fri, 02 Mar 2007 18:48:13 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HNHTx-0002Kn-1n for emacs-devel@gnu.org; Fri, 02 Mar 2007 18:48:13 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HNHSL-0002Re-M1; Fri, 02 Mar 2007 18:46:33 -0500 In-reply-to: (message from Richard Stallman on Fri, 02 Mar 2007 03:26:04 -0500) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:67240 Archived-At: Does this patch give acceptable results? *** type-break.el 30 Jan 2007 18:46:39 -0500 1.44 --- type-break.el 02 Mar 2007 14:33:25 -0500 *************** *** 562,570 **** (if file (timep ;; returns expected format, else nil (with-current-buffer (find-file-noselect file 'nowarn) ! (save-excursion ! (goto-char (point-min)) ! (read (current-buffer)))))))) (defun type-break-get-previous-count () "Get previous keystroke count from `type-break-file-name'. --- 562,573 ---- (if file (timep ;; returns expected format, else nil (with-current-buffer (find-file-noselect file 'nowarn) ! (condition-case nil ! (save-excursion ! (goto-char (point-min)) ! (read (current-buffer))) ! (end-of-file ! (error "End of file in `%s'" file)))))))) (defun type-break-get-previous-count () "Get previous keystroke count from `type-break-file-name'.