<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lisp, branch scratch/pkg</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Make some parameters &amp;optional</title>
<updated>2023-12-20T10:14:51+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-20T10:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9b3711f2d06d24f46714d509b91116f46038146c'/>
<id>9b3711f2d06d24f46714d509b91116f46038146c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some autoload cookies</title>
<updated>2023-12-20T09:46:50+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-20T09:46:50+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f2db6b55782ec7239803e63c47e8d8bc6b5aa7f0'/>
<id>f2db6b55782ec7239803e63c47e8d8bc6b5aa7f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More package-local nicknames</title>
<updated>2023-12-19T08:34:45+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-19T08:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0a107bfd4410cd702fe27cc0d69becda3dbc78e6'/>
<id>0a107bfd4410cd702fe27cc0d69becda3dbc78e6</id>
<content type='text'>
* lisp/emacs-lisp/pkg.el (find-package): Search in local nicknames.
* src/pkg.c (pkg_find_package): Fix last change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/pkg.el (find-package): Search in local nicknames.
* src/pkg.c (pkg_find_package): Fix last change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Local package nicknames -&gt; package objects</title>
<updated>2023-12-19T08:23:21+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-19T08:22:24+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e79ff2b6e55a7d9836b4074262c8acc1192b1330'/>
<id>e79ff2b6e55a7d9836b4074262c8acc1192b1330</id>
<content type='text'>
Also, find nicknames in pkg_find_package.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, find nicknames in pkg_find_package.
</pre>
</div>
</content>
</entry>
<entry>
<title>Defpackage with :local-nicknames</title>
<updated>2023-12-19T07:59:30+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-19T07:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e86431036e8a1fc18d8bf291d38e3243965c1ebc'/>
<id>e86431036e8a1fc18d8bf291d38e3243965c1ebc</id>
<content type='text'>
* lisp/emacs-lisp/pkg.el (pkg-defpackage): Add local-nicknames.
(defpackage): Handle :local-nicknames.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/pkg.el (pkg-defpackage): Add local-nicknames.
(defpackage): Handle :local-nicknames.
</pre>
</div>
</content>
</entry>
<entry>
<title>More package-local nicknames</title>
<updated>2023-12-19T07:31:33+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-19T07:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f68ff6b3d813f5b9d3d355b79b5cf302f6893ef1'/>
<id>f68ff6b3d813f5b9d3d355b79b5cf302f6893ef1</id>
<content type='text'>
* lisp/emacs-lisp/pkg.el (package-nicknames): New function.
(package-local-nicknames): Ditto.
(add-package-local-nickname): Ditto.
(remove-package-local-nickname): Ditto.
(package-locally-nicknamed-by-list): Ditto.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/pkg.el (package-nicknames): New function.
(package-local-nicknames): Ditto.
(add-package-local-nickname): Ditto.
(remove-package-local-nickname): Ditto.
(package-locally-nicknamed-by-list): Ditto.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into scratch/pkg</title>
<updated>2023-12-19T05:50:49+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-19T05:50:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f0edf8dd04cfcad101faf90434cffa95c416d776'/>
<id>f0edf8dd04cfcad101faf90434cffa95c416d776</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Display a message for an unknown package during eval</title>
<updated>2023-12-19T05:49:45+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-19T05:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a0e61826a2c99afd394b30952633250f50abb25e'/>
<id>a0e61826a2c99afd394b30952633250f50abb25e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>debug.el: Straighten the code that find the "base" of the backtrace</title>
<updated>2023-12-18T22:52:58+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2023-12-18T22:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6937182a0e7735e83377c757ae13292692b0cb85'/>
<id>6937182a0e7735e83377c757ae13292692b0cb85</id>
<content type='text'>
Let the caller tell us clearly where is the base of the backtrace,
if it's not `debug`.  This is done by passing a new `:backtrace-base`
keyword argument to `debug`.

Then use this info systematically in all the places where we access
the real C-level backtrace, to try and avoid inconsistencies and brittle
code that tries to enumerate the expected frames we're in.

* src/eval.c (get_backtrace_starting_at): Add support for offsets in the
`base` argument.
(Fbacktrace_debug): Add optional `base` argument.

* lisp/emacs-lisp/debug.el (debug, debugger-frame, debugger-frame-clear):
Use `debugger--backtrace-base` when calling `backtrace-debug`.
(debugger-setup-buffer): Use `debugger--backtrace-base`
when calling `backtrace-get-frames`.
(debugger-frame-number): Drop `skip-base` arg, assume it's never nil.
Add sanity check.
(debugger--backtrace-base): Use the `:backtrace-base` info
in `debugger-args`.
(debugger-eval-expression): Adjust call to `debugger-frame-number`.
(debug--implement-debug-on-entry): Pass appropriate `:backtrace-base`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let the caller tell us clearly where is the base of the backtrace,
if it's not `debug`.  This is done by passing a new `:backtrace-base`
keyword argument to `debug`.

Then use this info systematically in all the places where we access
the real C-level backtrace, to try and avoid inconsistencies and brittle
code that tries to enumerate the expected frames we're in.

* src/eval.c (get_backtrace_starting_at): Add support for offsets in the
`base` argument.
(Fbacktrace_debug): Add optional `base` argument.

* lisp/emacs-lisp/debug.el (debug, debugger-frame, debugger-frame-clear):
Use `debugger--backtrace-base` when calling `backtrace-debug`.
(debugger-setup-buffer): Use `debugger--backtrace-base`
when calling `backtrace-get-frames`.
(debugger-frame-number): Drop `skip-base` arg, assume it's never nil.
Add sanity check.
(debugger--backtrace-base): Use the `:backtrace-base` info
in `debugger-args`.
(debugger-eval-expression): Adjust call to `debugger-frame-number`.
(debug--implement-debug-on-entry): Pass appropriate `:backtrace-base`.
</pre>
</div>
</content>
</entry>
<entry>
<title>No package warnings when eval'ing elisp</title>
<updated>2023-12-18T13:57:14+00:00</updated>
<author>
<name>Gerd Möllmann</name>
</author>
<published>2023-12-18T13:57:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ee1b70fb1f934a929893fc45a35e7c59e690aa07'/>
<id>ee1b70fb1f934a929893fc45a35e7c59e690aa07</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
