unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "T.V. Raman" <tv.raman.tv@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Request: Use message instead of message_with_string for user visible output?
Date: Sat, 26 Oct 2013 14:41:19 -0400	[thread overview]
Message-ID: <jwv7gczswq2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CADkJX2gZhRReG2GBH6OJ0N6HY-VXpL8pbNGWT6=UzXHZSAzZoQ@mail.gmail.com> (T. V. Raman's message of "Sat, 26 Oct 2013 09:11:41 -0700")

> Except in cases where efficiency is the reason for the choice,
> could we switch to using message -- instead of
> message_with_string to produce output in the echo area that is
>  to be seen by the user?

I doubt there is a place where we call message_with_string for
efficiency reasons: the added cost of going through Ffuncall of Qmessage
is negligible compared to the cost of doing the actual display of
the message.

But there might be cases where we need it for correctness reasons,
because the context is such that we can't run arbitrary Elisp code.


        Stefan



  parent reply	other threads:[~2013-10-26 18:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-26 16:11 Request: Use message instead of message_with_string for user visible output? T.V. Raman
2013-10-26 16:21 ` Eli Zaretskii
2013-10-26 16:33   ` T.V. Raman
2013-10-26 19:47     ` Dmitri Paduchikh
2013-10-27 22:07       ` T.V. Raman
2013-10-28  2:06         ` Richard Stallman
2013-10-28  8:04         ` Jarek Czekalski
2013-10-28 18:53           ` Johan Bockgård
2013-10-29  1:27             ` T.V. Raman
2013-10-29  1:26           ` T.V. Raman
2013-10-26 17:16 ` Drew Adams
2013-10-26 18:41 ` Stefan Monnier [this message]
2013-10-27 22:03   ` T.V. Raman
2013-10-29 20:54     ` Stefan Monnier
2013-10-30  9:17       ` T.V. Raman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7gczswq2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=tv.raman.tv@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).