emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

debug-ignored-errors


From: Juri Linkov
Subject: debug-ignored-errors
Date: Sun, 30 May 2004 23:53:48 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

I'd like to update `debug-ignored-errors' with messages from simple.el
which serve as informational messages rather than serious errors which
need to be debugged.

Also I noticed one contradiction: the comment in bindings.el says
that packages should add to this list when they are loaded,
but below there were error messages from ediff package.  These message
should be moved to ediff.el.

Index: emacs/lisp/bindings.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/bindings.el,v
retrieving revision 1.130
diff -u -r1.130 bindings.el
--- emacs/lisp/bindings.el      1 May 2004 03:50:24 -0000       1.130
+++ emacs/lisp/bindings.el      30 May 2004 18:21:34 -0000
@@ -542,63 +542,20 @@
        file-supersession
        "^Previous command was not a yank$"
        "^Minibuffer window is not active$"
+       "^No previous history search regexp$"
+       "^No later matching history item$"
+       "^No earlier matching history item$"
+       "^End of history; no default available$"
        "^End of history; no next item$"
        "^Beginning of history; no preceding item$"
        "^No recursive edit is in progress$"
        "^Changes to be undone are outside visible portion of buffer$"
        "^No undo information in this buffer$"
-       "^No further undo information$"
+       "^No further undo information"
        "^Save not confirmed$"
        "^Recover-file cancelled\\.$"
        "^Cannot switch buffers in a dedicated window$"
-
-       ;; ediff
-       "^Errors in diff output. Diff output is in "
-       "^Hmm... I don't see an Ediff command around here...$"
-       "^Undocumented command! Type `G' in Ediff Control Panel to drop a note 
to the Ediff maintainer$"
-       ": This command runs in Ediff Control Buffer only!$"
-       ": Invalid op in ediff-check-version$"
-       "^ediff-shrink-window-C can be used only for merging jobs$"
-       "^Lost difference info on these directories$"
-       "^This command is inapplicable in the present context$"
-       "^This session group has no parent$"
-       "^Can't hide active session, $"
-       "^Ediff: something wrong--no multiple diffs buffer$"
-       "^Can't make context diff for Session $"
-       "^The patch buffer wasn't found$"
-       "^Aborted$"
-       "^This Ediff session is not part of a session group$"
-       "^No active Ediff sessions or corrupted session registry$"
-       "^No session info in this line$"
-       "^`.*' is not an ordinary file$"
-       "^Patch appears to have failed$"
-       "^Recomputation of differences cancelled$"
-       "^No fine differences in this mode$"
-       "^Lost connection to ancestor buffer...sorry$"
-       "^Not merging with ancestor$"
-       "^Don't know how to toggle read-only in buffer "
-       "Emacs is not running as a window application$"
-       "^This command makes sense only when merging with an ancestor$"
-       "^At end of the difference list$"
-       "^At beginning of the difference list$"
-       "^Nothing saved for diff .* in buffer "
-       "^Buffer is out of sync for file "
-       "^Buffer out of sync for file "
-       "^Output from `diff' not found$"
-       "^You forgot to specify a region in buffer "
-       "^All right. Make up your mind and come back...$"
-       "^Current buffer is not visiting any file$"
-       "^Failed to retrieve revision: $"
-       "^Can't determine display width.$"
-       "^File `.*' does not exist or is not readable$"
-       "^File `.*' is a directory$"
-       "^Buffer .* doesn't exist$"
-       "^Directories . and . are the same: "
-       "^Directory merge aborted$"
-       "^Merge of directory revisions aborted$"
-       "^Buffer .* doesn't exist$"
-       "^There is no file to merge$"
-       "^Version control package .*.el not found. Use vc.el instead$"))
+        ))
 
Index: emacs/lisp/ediff.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/ediff.el,v
retrieving revision 1.64
diff -u -r1.64 ediff.el
--- emacs/lisp/ediff.el 13 Oct 2003 01:28:49 -0000      1.64
+++ emacs/lisp/ediff.el 30 May 2004 18:21:34 -0000
@@ -1474,7 +1474,53 @@
-
+(dolist (mess '("^Errors in diff output. Diff output is in "
+                "^Hmm... I don't see an Ediff command around here...$"
+                "^Undocumented command! Type `G' in Ediff Control Panel to 
drop a note to the Ediff maintainer$"
+                ": This command runs in Ediff Control Buffer only!$"
+                ": Invalid op in ediff-check-version$"
+                "^ediff-shrink-window-C can be used only for merging jobs$"
+                "^Lost difference info on these directories$"
+                "^This command is inapplicable in the present context$"
+                "^This session group has no parent$"
+                "^Can't hide active session, $"
+                "^Ediff: something wrong--no multiple diffs buffer$"
+                "^Can't make context diff for Session $"
+                "^The patch buffer wasn't found$"
+                "^Aborted$"
+                "^This Ediff session is not part of a session group$"
+                "^No active Ediff sessions or corrupted session registry$"
+                "^No session info in this line$"
+                "^`.*' is not an ordinary file$"
+                "^Patch appears to have failed$"
+                "^Recomputation of differences cancelled$"
+                "^No fine differences in this mode$"
+                "^Lost connection to ancestor buffer...sorry$"
+                "^Not merging with ancestor$"
+                "^Don't know how to toggle read-only in buffer "
+                "Emacs is not running as a window application$"
+                "^This command makes sense only when merging with an ancestor$"
+                "^At end of the difference list$"
+                "^At beginning of the difference list$"
+                "^Nothing saved for diff .* in buffer "
+                "^Buffer is out of sync for file "
+                "^Buffer out of sync for file "
+                "^Output from `diff' not found$"
+                "^You forgot to specify a region in buffer "
+                "^All right. Make up your mind and come back...$"
+                "^Current buffer is not visiting any file$"
+                "^Failed to retrieve revision: $"
+                "^Can't determine display width.$"
+                "^File `.*' does not exist or is not readable$"
+                "^File `.*' is a directory$"
+                "^Buffer .* doesn't exist$"
+                "^Directories . and . are the same: "
+                "^Directory merge aborted$"
+                "^Merge of directory revisions aborted$"
+                "^Buffer .* doesn't exist$"
+                "^There is no file to merge$"
+                "^Version control package .*.el not found. Use vc.el 
instead$"))
+  (add-to-list 'debug-ignored-errors mess))
 
 ;;; Local Variables:
 ;;; eval: (put 'ediff-defvar-local 'lisp-indent-hook 'defun)

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]