~ubuntu-elisp/emacs/+git/master:scratch/bulk-tracing

Last commit made on 2022-08-12
Get this branch:
git clone -b scratch/bulk-tracing https://git.launchpad.net/~ubuntu-elisp/emacs/+git/master

Branch merges

Branch information

Name:
scratch/bulk-tracing
Repository:
lp:~ubuntu-elisp/emacs/+git/master

Recent commits

5397d68... by phil-s

* lisp/emacs-lisp/trace.el: Correct outdated documentation

Experimenting with `goto-char' and `re-search-backwards' indicates
that this limitation no longer applies. The rewrite using nadvice in
commit 8b62d7427e12bbf07ab3454cc061a6b43ded56dd might have eliminated
this issue.

faf43bc... by phil-s

* lisp/emacs-lisp/trace.el: Allow trace context args to be forms

This lifts the restriction of context arguments needing to be
functions, when calling trace functions from lisp code.

(trace--read-extra-args, trace-entry-message, trace-entry-message):
Move the output formatting already used for interactive context into
the trace-*-message functions for use in non-interactive cases as
well. Previously it was necessary for context functions to format
their output in a trace-aware manner, making a custom wrapper function
necessary to obtain well-formatted output even when the desired
context had an existing function.

(trace-function-internal, trace-make-advice): Move the generation of
an 'empty' context function into `trace-make-advice', which now takes
care of generating a function for any non-function context.

(trace-make-context): New function returning a context function for
an expression argument; extracted from `trace--read-extra-args'.
(trace--read-extra-args, trace-make-advice): Call it.

* doc/lispref/debugging.texi: Update documentation.

69e105b... by phil-s

fixup! WIP: Add a 'tracing' section to the elisp manual debugging node

b1c8962... by phil-s

* doc/lispref/modes.texi: Docs for obsolete '%m' in mode-line-format

38c6820... by phil-s

fixup! WIP: Add a 'tracing' section to the elisp manual debugging node

32d26d7... by phil-s

fixup! WIP: Add a 'tracing' section to the elisp manual debugging node

3c90fa6... by phil-s

fixup! WIP: Add a 'tracing' section to the elisp manual debugging node

Make `after-load' the final argument

This provides greater consistency with the commands which do not have
an AFTER-LOAD argument.

7de3e1b... by phil-s

fixup! New commands for bulk tracing of elisp functions (bug#27397)

Make `after-load' the final argument

This provides greater consistency with the commands which do not have
an AFTER-LOAD argument.

d596474... by phil-s

WIP: Add a 'tracing' section to the elisp manual debugging node

9ec96fd... by phil-s

fixup! New commands for bulk tracing of elisp functions (bug#27397)