From: Mariano Montone <marianomontone@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Integrate my package into Emacs
Date: Thu, 26 May 2022 09:47:45 -0300 [thread overview]
Message-ID: <10aecb7a-8822-9ca6-80d8-7dd78251db12@gmail.com> (raw)
In-Reply-To: <jwvk0aalewa.fsf-monnier+emacs@gnu.org>
Hi Stefan,
I've applied your changes:
https://github.com/mmontone/emacs-inspector/commit/d7c5e7cb292eb23e66de78ae12ede15323bd0531
Do you think it is acceptable now?
About the inspect-last-sexp function, I changed the comment, but where
you thinking about some more explicit name for the function? Like:
eval-last-sexp-and-inspect , or something like that ...
Let me know if you think there's anything else that needs changing.
Mariano
El 24/5/22 a las 19:59, Stefan Monnier escribió:
> Mariano Montone [2022-05-24 16:22:37] wrote:
>> I've signed the papers and applied your changes.
> Yay!
>
>> What would be the next step? Can you have a look again at my package let
>> me know?
> I just pushed it to `elpa.git`. It won't appear on GNU ELPA yet, tho
> because your copyright line still has your name. You'll have to change
> it to the FSF (and after that (or at the same time) change the
> `Version:` to make a "new" release from that).
>
> See patch below which includes the copyright change along with various
> FIXME comments (meant to be read rather than applied. If you have any
> questions/answers about those FIXMEs, feel free to send them right here).
>
>
> Stefan
>
>
> diff --git a/README.md b/README.md
> index 06a6d142be..743dfcd604 100644
> --- a/README.md
> +++ b/README.md
> @@ -6,6 +6,11 @@ Inspector tool for Emacs Lisp objects.
>
> Similar to inspectors available for Smalltalk and Common Lisp, but for Emacs Lisp.
>
> +<!-- FIXME: As far as I can tell, this cannot be viewed without
> + running Google's proprietary code in one's browser.
> + Any chance you can upload it to a site more respectful of its
> + users (like some PeerTube instance, maybe), or place a link that
> + goes straight to the MP4? -->
> DEMO VIDEO: https://drive.google.com/file/d/1808JlDM0q-aW4woZQBscatxp6omIR2j8/view
>
> ![emacs-inspector.png](emacs-inspector.png "Emacs Inspector")
> diff --git a/inspector.el b/inspector.el
> index f32416198d..d011bc6ce0 100644
> --- a/inspector.el
> +++ b/inspector.el
> @@ -1,6 +1,6 @@
> ;;; inspector.el --- Tool for inspection of Emacs Lisp objects. -*- lexical-binding: t -*-
>
> -;; Copyright (C) 2021 Mariano Montone
> +;; Copyright (C) 2021-2022 Free Software Foundation, Inc.
>
> ;; Author: Mariano Montone <marianomontone@gmail.com>
> ;; URL: https://github.com/mmontone/emacs-inspector
> @@ -616,6 +616,8 @@ When PRESERVE-HISTORY is T, inspector history is not cleared."
>
> ;;;###autoload
> (defun inspect-last-sexp ()
> + ;; FIXME: According to the code, this doesn't inspect the "sexp before point"
> + ;; but the value returned by the evaluation of that sexp.
> "Evaluate and inspect sexp before point."
> (interactive)
> (let ((result (eval (eval-sexp-add-defvars (elisp--preceding-sexp)) lexical-binding)))
> @@ -623,6 +625,9 @@ When PRESERVE-HISTORY is T, inspector history is not cleared."
>
> ;;-- Inspection from Emacs debugger
>
> +;; FIXME: Please use the "inspect-" namespace instead of stepping onto
> +;; the debugger's namespace, e.g. `inspect-debugger-locals'.
> +
> ;;;###autoload
> (defun debugger-inspect-locals ()
> "Inspect local variables of the frame at point in debugger backtrace."
> @@ -683,13 +688,9 @@ When PRESERVE-HISTORY is T, inspector history is not cleared."
> :vert-only t)
> map))
>
> -(add-hook 'inspector-mode-hook
> - (lambda ()
> - (setq-local tool-bar-map inspector-tool-bar-map)))
> -
> -;; Better define and use a major mode?:
> -(define-derived-mode inspector-mode fundamental-mode
> - "Inspector mode")
> +(define-derived-mode inspector-mode fundamental-mode "Inspector"
> + "Major mode for the Emacs Lisp Inspector."
> + (setq-local tool-bar-map inspector-tool-bar-map))
>
> (provide 'inspector)
>
>
next prev parent reply other threads:[~2022-05-26 12:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 15:36 Integrate my package into Emacs Mariano Montone
2022-04-22 17:44 ` Eduardo Ochs
2022-04-22 17:57 ` Mariano Montone
2022-04-22 21:16 ` Mariano Montone
2022-04-25 16:40 ` Stefan Monnier
2022-04-25 17:14 ` Mariano Montone
2022-05-24 19:22 ` Mariano Montone
2022-05-24 22:59 ` Stefan Monnier
2022-05-24 23:11 ` Stefan Monnier
2022-05-24 23:16 ` Mariano Montone
2022-05-25 0:54 ` Stefan Monnier
2022-05-26 12:47 ` Mariano Montone [this message]
2022-05-26 15:10 ` Stefan Monnier
2022-05-26 15:36 ` Mariano Montone
2022-05-26 16:07 ` Stefan Monnier
2022-05-26 16:31 ` Mariano Montone
2022-05-26 21:07 ` Mariano Montone
2022-05-27 1:14 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10aecb7a-8822-9ca6-80d8-7dd78251db12@gmail.com \
--to=marianomontone@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.