all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Eli Zaretskii'" <eliz@gnu.org>, <help-gnu-emacs@gnu.org>
Subject: RE: Converting an Integer into Human Readable String
Date: Thu, 7 Apr 2011 11:51:52 -0700	[thread overview]
Message-ID: <65FF0AF211E94548813FED81190D42C5@us.oracle.com> (raw)
In-Reply-To: <831v1dvrjf.fsf@gnu.org>

> > > Beware: this has side effects.  It doesn't just return a string.
> > What side effects?  Where are they documented?
> It affects the display.  In the ELisp manual.

Can you be more specific?  Do you mean node `Emulating Mode Line'?

AFAICT, the only thing it says about display happening (side effects) is in the
final Note and the example following it.  That is, the only case it mentions
(AFAICT) where display actually happens is if you pass one of "`mode-line',
`mode-line-inactive', or `header-line' as FACE".

Did you have something else in mind, or was that it?  Is this text exhaustive
wrt side effects, or is it missing something?

[FWIW - The fact that this side effect happens (only?) wrt 3 particular faces
seems like a design bug.  A priori, a function designed "to compute the text
that _would_ appear", as an emulation, has no business actually changing the
display.  But I imagine there were some good reasons for coupling the two
functionalities (emulation and real effect).]





  reply	other threads:[~2011-04-07 18:51 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 10:02 Converting an Integer into Human Readable String Nordlöw
2011-04-07 11:34 ` Deniz Dogan
2011-04-07 12:04   ` Eli Zaretskii
2011-04-07 11:52 ` Eli Zaretskii
2011-04-07 12:51 ` Drew Adams
2011-04-07 17:43   ` Eli Zaretskii
2011-04-07 18:13     ` Drew Adams
2011-04-07 18:35       ` Eli Zaretskii
2011-04-07 18:51         ` Drew Adams [this message]
2011-04-07 20:10           ` Eli Zaretskii
2011-04-07 18:44       ` Eli Zaretskii
2011-04-07 19:01         ` Thierry Volpiatto
     [not found]         ` <mailman.17.1302204476.27822.help-gnu-emacs@gnu.org>
2011-04-08  6:35           ` Klaus Straubinger
2011-04-08  7:07             ` Thierry Volpiatto
2011-04-08  8:29               ` Eli Zaretskii
2011-04-08  9:38                 ` Thierry Volpiatto
2011-04-08 11:41 ` Pascal J. Bourguignon
2011-04-08 15:19   ` Eli Zaretskii
2011-04-08 19:12     ` Thierry Volpiatto
2011-04-08 21:36       ` Eli Zaretskii
2011-04-09  5:24         ` Thierry Volpiatto
2011-04-09  8:46   ` Eli Zaretskii
     [not found]   ` <mailman.1.1302338931.20547.help-gnu-emacs@gnu.org>
2011-04-09  9:33     ` Pascal J. Bourguignon
2011-04-09 12:13       ` Eli Zaretskii
     [not found]       ` <mailman.0.1302351322.29796.help-gnu-emacs@gnu.org>
2011-04-11 15:31         ` Ted Zlatanov
2011-04-11 16:57           ` Eli Zaretskii
2011-05-12 19:30           ` Ted Zlatanov

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=65FF0AF211E94548813FED81190D42C5@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --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.