all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-devel@gnu.org
Subject: Re: debug-warn macro [was: Re: Emacs memory usage]
Date: Sun, 29 Nov 2020 11:49:36 -0600	[thread overview]
Message-ID: <87r1oc12a7.fsf@alphapapa.net> (raw)
In-Reply-To: CADwFkmm7+=DmpWejZZ+56-MEjURydRxNBSd-V6hHDC+cY0qZHQ@mail.gmail.com

Stefan Kangas <stefankangas@gmail.com> writes:

> Adam Porter <adam@alphapapa.net> writes:
>
>> In case it would be help anyone in this context, this macro is useful
>> when it's necessary to use print-style debugging in several functions
>> with output displayed in one place.  It handles a few chores for the
>> programmer, like getting and printing the function name and values of
>> variables or other expressions:
>>
>> https://github.com/alphapapa/emacs-package-dev-handbook#debug-warn-macro
>>
>> Plain-text export from Org follows (I hope the lines don't get wrapped):
>
> Looks useful.  Why is it not in Emacs?

I'll be glad to propose a patch if you think it would be a suitable
addition to Emacs.  I'll submit it as a bug report.  Thanks.




  reply	other threads:[~2020-11-29 17:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24 14:39 Emacs memory usage Arthur Miller
2020-11-24 14:49 ` Stefan Monnier
2020-11-24 15:08   ` Arthur Miller
2020-11-24 16:12 ` Eli Zaretskii
2020-11-24 22:06   ` Tomas Hlavaty
2020-11-25  3:31     ` Eli Zaretskii
2020-11-25 20:08       ` Tomas Hlavaty
2020-11-25  0:38   ` arthur miller
2020-11-25  3:27     ` Eli Zaretskii
2020-11-25  5:57       ` Jean Louis
2020-11-25 15:27         ` Eli Zaretskii
2020-11-25 16:01           ` Arthur Miller
2020-11-29  1:30             ` debug-warn macro [was: Re: Emacs memory usage] Adam Porter
2020-11-29  9:42               ` Stefan Kangas
2020-11-29 17:49                 ` Adam Porter [this message]
2020-11-24 21:16 ` Emacs memory usage Tomas Hlavaty
2020-11-24 21:53   ` Stefan Monnier
2020-11-25  0:24     ` arthur miller
2020-11-25  0:32   ` arthur miller

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=87r1oc12a7.fsf@alphapapa.net \
    --to=adam@alphapapa.net \
    --cc=emacs-devel@gnu.org \
    /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.