From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Boeters Newsgroups: gmane.emacs.bugs Subject: bug#2668: user option `warning-suppress-types' Date: Fri, 13 Mar 2009 23:16:17 +0100 Message-ID: <49BADB31.20007@web.de> Reply-To: Stefan Boeters , 2668@emacsbugs.donarmstrong.com 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: ger.gmane.org 1236985582 4625 80.91.229.12 (13 Mar 2009 23:06:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2009 23:06:22 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 14 00:07:39 2009 Return-path: Envelope-to: geb-bug-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 1LiGTR-0000Xb-LX for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Mar 2009 00:07:30 +0100 Original-Received: from localhost ([127.0.0.1]:49476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiGS5-0000Os-UM for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Mar 2009 19:06:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiG6d-0005L3-LJ for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:43:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiG6Z-0005HM-SZ for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:43:55 -0400 Original-Received: from [199.232.76.173] (port=35588 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiG6Z-0005HJ-P4 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:43:51 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:4535) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LiG6Z-0001Rg-2y for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:43:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiG6Y-00042w-4k for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:43:50 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2DMhfW0020145; Fri, 13 Mar 2009 15:43:42 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2DMP4cH015488; Fri, 13 Mar 2009 15:25:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Boeters Original-Sender: stefan.boeters@web.de Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 13 Mar 2009 22:25:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2668 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123698259214119 (code B ref -1); Fri, 13 Mar 2009 22:25:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 13 Mar 2009 22:16:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2DMGSwL014113 for ; Fri, 13 Mar 2009 15:16:30 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiFg4-0002A8-Ej for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:16:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiFfy-00029w-K2 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:16:26 -0400 Original-Received: from [199.232.76.173] (port=47055 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiFfy-00029q-E6 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:16:22 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:58323) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiFfx-0005rx-M0 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:16:22 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id A4E46FE946A2 for ; Fri, 13 Mar 2009 23:16:19 +0100 (CET) Original-Received: from [86.83.157.195] (helo=[192.168.1.64]) by smtp05.web.de with asmtp (WEB.DE 4.110 #277) id 1LiFfv-0002BY-00 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 23:16:19 +0100 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) X-Sender: stefan.boeters@web.de X-Provags-ID: V01U2FsdGVkX19MHP4Yq0Md6v1ubF0MxjLbtdMuFCKS0EIrr9g1 4KN/7K/iMsuV7TSHAAn+bfqhLdteT7KI9gZMSnTJtf7NmOD5la XsT0MgykD1FY9XTGDDyQ== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Fri, 13 Mar 2009 18:43:55 -0400 X-Mailman-Approved-At: Fri, 13 Mar 2009 19:02:05 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26308 Archived-At: I regularly refresh newly generated output files that are open as a buffer in Emacs with "revert-buffer". If these files are very large, this produces the following warning: "Warning (undo): Buffer `calibrate.lst' undo info was 34019863 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'." I wanted to disable the popping up of the warning, but failed (with my rudimentary Emacs knowledge). If I got it correctly from the discussion in gnu.emacs.help (thread "Adding an entry to a user option"), the problem is that the user option cannot (immediately) be customised, because it is not defined by default. This is what Drew Adams wrote in gnu.emacs.help: "Grepping the Emacs 23 lisp libraries for `warning-suppress-types' shows that it is referred to in a doc string in `simple.el', but it is defined and used only in library `warnings.el', which is not loaded by default. You cannot customize it using Customize until it has been defined. I think the fact that it is referenced in `simple.el' but undefined by default is a bug - please report it using `M-x report-emacs-bug'. But I warn you that it's likely that Stefan M. will reply that it is normal that most user options are not defined by default. ;-) I guess it all depends whether the doc string in `simple.el' is ever likely to be user-visible without `warnings.el' having yet been loaded." He asked me to report the bug here. Stefan In GNU Emacs 22.3.1 (i386-mingw-nt6.0.6001) of 2008-09-06 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 6.0.6001 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: DEU locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: GAMS-LST Minor modes in effect: show-paren-mode: t cua-mode: t encoded-kbd-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-w 2 M-r M-x r e p o r t - e m a c s - b u g Recent messages: Loading paren...done Loading speedbar...done For information about GNU Emacs and the GNU system, type C-h C-a. Loading url-util...done Updating speedbar to: d:/data/GAMS/WorldScan/model_09/lst/baseline_EMF/...done kill-region: The mark is not set now, so there is no region Split window. Loading kmacro...done byte-code: Beginning of buffer Loading emacsbug...done