From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#23813: 24.5; undo warning while find-file Date: Tue, 21 Jun 2016 20:48:30 +0900 Message-ID: <87a8ieu5ip.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466509774 28376 80.91.229.3 (21 Jun 2016 11:49:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2016 11:49:34 +0000 (UTC) To: 23813@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 21 13:49:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bFKBC-0007AU-8W for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2016 13:49:18 +0200 Original-Received: from localhost ([::1]:50969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFKBB-0002Zk-2e for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2016 07:49:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFKB1-0002SB-3T for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 07:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFKAw-0000Sj-T3 for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 07:49:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFKAw-0000Se-PG for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 07:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bFKAw-0000z2-LA for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 07:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jun 2016 11:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14665097383767 (code B ref -1); Tue, 21 Jun 2016 11:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jun 2016 11:48:58 +0000 Original-Received: from localhost ([127.0.0.1]:48661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFKAs-0000yg-7Y for submit@debbugs.gnu.org; Tue, 21 Jun 2016 07:48:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFKAp-0000yS-Mu for submit@debbugs.gnu.org; Tue, 21 Jun 2016 07:48:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFKAh-0000QN-8m for submit@debbugs.gnu.org; Tue, 21 Jun 2016 07:48:50 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFKAh-0000QG-5e for submit@debbugs.gnu.org; Tue, 21 Jun 2016 07:48:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFKAc-0001YS-Bq for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 07:48:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFKAY-0000Ll-4t for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 07:48:41 -0400 Original-Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:34307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFKAX-0000Lg-Qc for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 07:48:38 -0400 Original-Received: by mail-pf0-x22b.google.com with SMTP id h14so6094430pfe.1 for ; Tue, 21 Jun 2016 04:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=BdUWyUWgofdqIXcaSMyboxRGOXmIfSTBPP0dUXutMUw=; b=eU5RUlt9xbKjn4BTbWOJg3zIu+aICnIXpdCqRLTQPffYI+wSCqdNNacq4EaWReooL/ 3svpHwwCyP3oeXgPztYLbccLrJqKRKcLpkbfqb/CbxeUNdS7mCGWs+MVIuKkYKh+N7wp 5k2M3u2n/57dCQFdW0miCe31TAaZQrGS9VuT3ZulEJtilYi1Q1kb4oF1FSNKyzyCqdV2 1peJB2eIgxcc3s0AQv89Bdr5SXWsz4nycota58xVbC5UpXH3//Rp51ZwoySDETP+czkL AvQC/Ta729H13K/Ej0/ADC4bGWZF1xq+ruIgq4qoVq1Vt17qMC+fjYUBh+TSQ/2teWo7 7IZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=BdUWyUWgofdqIXcaSMyboxRGOXmIfSTBPP0dUXutMUw=; b=QTYB2MFPEYeB+WsdZgaXPaadaDRmwU9TGKoNdAOxnD8CGCaa5UXfb97QNB+Vih+CoE OHzQN2gDJS6A3Lu1IylbViFLi4OojDJ3ofoX6L8GywIbBYTIaLDaZ/2MaTDsHidTPY9+ AQV1kQfTMrlMs7qNf+0MW13V/TM7VcZ2ZEU46bAoSMrjY33IjpBsfRsKHu3NNUvo3Sqd Cge55JQQd4PUnZYtntpgg8slX6SRwp7fLtg+hFZuAf0evRFhvw7QmgccWq7tGGo7eZ03 E+/B+4w4vn4v+gRUeUc028EwTB4/WcdxoYXbl1pXy0lS+ygi6D4cYcxCa9goH8w0aztb 36CA== X-Gm-Message-State: ALyK8tJGTzdTM8M6zLFqhzEqQWZqg+ik821CHwqE1ZQiIBMx82l5tQCJhJHHAyuA8B8MNg== X-Received: by 10.98.26.148 with SMTP id a142mr27499230pfa.46.1466509716471; Tue, 21 Jun 2016 04:48:36 -0700 (PDT) Original-Received: from PNUT-PC (east49-p99.eaccess.hi-ho.ne.jp. [219.105.5.100]) by smtp.gmail.com with ESMTPSA id 77sm53246641pfp.66.2016.06.21.04.48.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jun 2016 04:48:36 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119869 Archived-At: When `post-read-conversion' changes the buffer many times, undo warning buffer popups. This may occur while `find-file', even though undo info is not needed. (let ((tmpfile "/tmp/test-hz.txt")) (with-temp-buffer (dotimes (i 100000) (insert "~{R;~}\n")) (write-region (point-min) (point-max) tmpfile) (let ((coding-system-for-read 'hz)) (find-file tmpfile)))) Evaluating the form above, *Warnings* buffer shows this text. Warning (undo): Buffer `test-hz.txt' undo info was 12765470 bytes long. The undo info was discarded because it exceeded `undo-outer-limit'. This is normal if you executed a command that made a huge change to the buffer. In that case, to prevent similar problems in the future, set `undo-outer-limit' to a value that is large enough to cover the maximum size of normal changes you expect a single command to make, but not so large that it might exceed the maximum memory allotted to Emacs. If you did not execute any such command, the situation is probably due to a bug and you should report it. You can disable the popping up of this buffer by adding the entry (undo discard-info) to the user option `warning-suppress-types', which is defined in the `warnings' library. In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.0.6002 Configured using: `configure --prefix=/c/usr --host=i686-pc-mingw32' Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu advice help-fns time-date japan-util tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 78016 6918) (symbols 32 17691 0) (miscs 32 35 158) (strings 16 11326 4298) (string-bytes 1 284552) (vectors 8 10542) (vector-slots 4 465337 5130) (floats 8 58 110) (intervals 28 210 0) (buffers 508 13))