all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson@gmail.com>
To: Christopher Dimech <dimech@gmx.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Adding messages to the *Message* buffer?
Date: Mon, 24 Oct 2022 20:38:03 -0700	[thread overview]
Message-ID: <SJ0PR03MB54550C0C31B585DE24E6CEFBA2319@SJ0PR03MB5455.namprd03.prod.outlook.com> (raw)
In-Reply-To: <trinity-73a74e16-0bd6-47b2-843f-10b46be63d33-1666587535680@3c-app-mailcom-bs13> (Christopher Dimech's message of "Mon, 24 Oct 2022 06:58:55 +0200")

Christopher Dimech <dimech@gmx.com> writes:

>> From: "David Masterson" <dsmasterson@gmail.com>
>>
>> Is there a simple command I could add to my .emacs that would allow me
>> to print a message to the *Message* buffer?  I want to use it to help me
>> debug my .emacs -- basically, tell me what step in startup Emacs is at
>> by sprinkling this command in my .emacs.
>
> (message "Val: %s" varstring)
> (message "Number: %d" n)
> (message "%S" symbol)

Thank you

-- 
David Masterson



  reply	other threads:[~2022-10-25  3:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-24  3:39 Adding messages to the *Message* buffer? David Masterson
2022-10-24  4:58 ` Christopher Dimech
2022-10-25  3:38   ` David Masterson [this message]
2022-10-25  3:58     ` Emanuel Berg
2022-10-24  4:59 ` tomas
2022-10-24 21:01   ` Emanuel Berg
2022-10-25  9:37     ` tomas

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=SJ0PR03MB54550C0C31B585DE24E6CEFBA2319@SJ0PR03MB5455.namprd03.prod.outlook.com \
    --to=dsmasterson@gmail.com \
    --cc=dimech@gmx.com \
    --cc=help-gnu-emacs@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.