~ubuntu-elisp/emacs/+git/master:feature/soc-bytecode-in-traceback-reduced

Last commit made on 2020-07-23
Get this branch:
git clone -b feature/soc-bytecode-in-traceback-reduced https://git.launchpad.net/~ubuntu-elisp/emacs/+git/master

Branch merges

Branch information

Name:
feature/soc-bytecode-in-traceback-reduced
Repository:
lp:~ubuntu-elisp/emacs/+git/master

Recent commits

bed4004... by Zach Shaftel

Clean up before patch submission

* src/lisp.h (struct handler): Remove unused 'bytecode_offset' field,
which was added at some point while prototyping.

* src/bytecode.c (UPDATE_OFFSET): Subtract 1, so the offset is accurate.

54b94af... by Zach Shaftel

Only store offset when executing bytecode

* src/eval.c (record_in_backtrace): Use 'backtrace_top' instead of
'backtrace_next', and check that 'backtrace_byte_offset' > 0 before
calling it, so the specbinding stack isn't scanned just to store an
invalid offset.

c0576f5... by Zach Shaftel

Only print offset for byte-code functions

* lisp/emacs-lisp/backtrace.el (backtrace--print-flags): Check if the
function is compiled and only print the offset in that case.

9a36861... by rocky <email address hidden>

Reduced bytecode offset update

This reduces bytecode-offset updates to happen only before a call.

0cb1df1... by Zach Shaftel

Store the bytecode offset in thread_state

* src/lisp.h:
* src/eval.c (backtrace_byte_offset): Remove global variable, and
put it...

* src/thread.h (thread_state): ...in here as
m_backtrace_byte_offset, and define backtrace_byte_offset as a
macro that points to it.

* src/bytecode.c (UPDATE_OFFSET): Move out of #ifdef
BYTE_CODE_THREADED.

58e112f... by Zach Shaftel

Properly align offset in backtrace

* lisp/emacs-lisp/backtrace.el (backtrace--print-flags): Use format
width specifier to line up the flags and offset nicely.

afa6a97... by rocky <email address hidden>

Merge feature/zach-soc-bytecode-in-traceback

acba19e... by Eli Zaretskii

; * src/composite.c (syms_of_composite): Fix last change.

22b2e9c... by Eli Zaretskii

Fix Arabic composition rules

* lisp/language/misc-lang.el (composition-function-table): Reorder
Arabic composition rules in descending order of lookback.

* src/composite.c (syms_of_composite): Document the order of rules
in 'composition-function-table'.

9afcf2b... by Simen Heggestøyl

Write project list to file only when changed

* lisp/progmodes/project.el (project--add-to-project-list-front):
Write the project list to file only when it has changed.