On Fri, 21 Dec 2012 16:12:06 -0800 (PST) Rich Shepard <[email protected]> wrote:
> I work with large (~16-20M) data files in emacs and when I do a > global search and replace a new buffer opens telling me that the > number of changes has filled the undo buffer. That's OK with me but I > want to stop the warning from appearing each time. How to do this is > the last paragraph of the warning: > > "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. > > I have many files for the .el scripts. Searching with grep > in /usr/share turns up nothing. How do I determine which one holds > the `Warnings' library? $ cd /usr/share/emacs $ find . -name warning\* -print ./lisp/emacs-lisp/warnings.el.gz ./lisp/emacs-lisp/warnings.elc That said, there's no need to be directly modifying the emacs source. Use the Emacs Customization feature, go to Emacs => Files = Large File Warning Threshold and change the value to something you're comfortable with. --Dale -- "Who cares if it doesn't do anything? It was made with our new Triple-Iso-Bifurcated-Krypton-Gate-MOS process ..." _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
