1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-11 02:10:35 -08:00
emacs/etc
Alan Mackenzie 48215c41d1 New debugging facility: backtraces from errors in Lisp called from redisplay
Setting backtrace-on-redisplay-error to non-nil enables the generation of a
Lisp backtrace in buffer *Redisplay-trace* following an error in Lisp called
from redisplay.

* doc/lispref/debugging.texi (Debugging Redisplay): New subsection.
(Error Debugging): Reference to the new subsection.

* etc/NEWS: New entry for the new facility.

* src/eval.c (redisplay_deep_handler): New variable.
(init_eval): Initialize redisplay_deep_handler.
(call_debugger): Don't throw to top-level after calling debug-early
(internal_condition_case_n): "Bind" redisplay_deep_handler to the current
handler.
(backtrace_yet): New boolean variable.
(signal_or_quit): New code section to handle Lisp errors occurring in
redisplay.
(syms_of_eval): New DEFVAR_BOOL backtrace-on-redisplay-error.

* src/keyboard.c (command_loop_1): Set backtrace_yet to false each time around
the loop.
(safe_run_hooks_error): Allow args to be up to four Lisp_Objects long.
(safe_run_hooks_2): New function.

* src/lisp.h (top level): declare as externs backtrace_yet and
safe_run_hooks_2.

* src/xdisp.c (run_window_scroll_functions): Replace a call to
run_hook_with_args_2 with one to safe_run_hooks_2.
2022-08-11 19:31:09 +00:00
..
charsets
e
forms
gnus
images ; Fix typos 2022-07-19 14:13:25 +02:00
nxml
org
refcards Merge from origin/emacs-28 2022-06-05 06:30:25 +02:00
schema
srecode Adjust better to Autoconf quoting style change 2022-07-05 23:27:17 -05:00
themes ; Fix typos 2022-08-08 14:23:29 +02:00
tutorials ; Fix typos. 2022-07-02 13:32:41 +02:00
AUTHORS ; Update ChangeLog and AUTHORS 2022-08-01 18:13:13 +02:00
CALC-NEWS
ChangeLog.1
compilation.txt Add test for the gradle-android compilation message pattern 2022-07-11 12:29:12 +02:00
COPYING
DEBUG Support for debugging Emacs with LLDB 2022-07-11 14:08:05 +02:00
DEVEL.HUMOR
DISTRIB
edt-user.el
emacs-buffer.gdb
emacs-mail.desktop
emacs.desktop
emacs.icon
emacs.metainfo.xml
emacs.service
emacs_lldb.py ; * etc/emacs_lldb.py: Don't print '->' in type summary 2022-08-02 09:12:47 +02:00
emacsclient-mail.desktop
emacsclient.desktop
enriched.txt Document 'enriched-toggle-markup' 2022-05-20 15:03:06 +03:00
ERC-NEWS Update ERC's Info doc with network-ID related changes 2022-06-30 15:19:53 -07:00
ETAGS.EBNF
ETAGS.README
future-bug
gnus-tut.txt
grep.txt
HELLO Add support for the Meetei Mayek script 2022-06-13 16:55:20 +03:00
HISTORY
JOKES
MACHINES
MH-E-NEWS
NEWS New debugging facility: backtraces from errors in Lisp called from redisplay 2022-08-11 19:31:09 +00:00
NEWS.1-17 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.18 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.19 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.20 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.21 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.22 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.23 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.24 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.25 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.26 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.27 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEWS.28 (help-fns--first-release): Try and avoid false positives 2022-07-18 22:22:34 -04:00
NEXTSTEP
NXML-NEWS
ORG-NEWS ; Fix typos: prefer American spelling 2022-07-13 13:04:22 +02:00
org.gnu.emacs.defaults.gschema.xml
package-keyring.gpg
PROBLEMS Merge from origin/emacs-28 2022-08-07 12:57:53 +02:00
ps-prin0.ps
ps-prin1.ps
publicsuffix.txt Update publicsuffix.txt from upstream 2022-08-01 06:01:07 +02:00
README
rgb.txt
ses-example.ses
spook.lines
TERMS
TODO Update TODO about fix_command 2022-08-08 16:03:25 +02:00
w32-feature.el
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2022 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)