unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Adrian Robert" <adrian.b.robert@gmail.com>
Cc: emacs- devel <emacs-devel@gnu.org>
Subject: Re: Proposed function: x-display-usable-bounds
Date: Tue, 04 Dec 2007 08:56:18 -0500	[thread overview]
Message-ID: <jwv63zeo9bd.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <55f7df060712040310i10db439q193cfd6b322dd088@mail.gmail.com> (Adrian Robert's message of "Tue, 4 Dec 2007 14:10:07 +0300")

> It seems the 'x-' prefix may sometimes mean "X-windows display
> function" but is mostly used as "generic windowing system function".

Usually it started as "X-only" and then code started to use it and in
order not to have to fix it other backends also used "x-" when
implementing the corresponding feature.

But this is wrong and should be fixedm and has been fixed in several
cases (e.g. most of the functions that start with "display-").

> Changing this might be good but it would make the most sense to do it
> all at once after determining the best plan.

Yes, maybe it should be fixes wholesale as well, but at least let's not
make things worse than they already are.

> Note there is also an 'xw-' prefix used for some functions (e.g.
> xw-color-defined-p).

Indeed.  And notice that there's `color-defined-p' as well, which is the
one that should be used.


        Stefan

      reply	other threads:[~2007-12-04 13:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-03  8:43 Proposed function: x-display-usable-bounds Adrian Robert
2007-12-03  9:40 ` Jan Djärv
2007-12-03 12:34   ` Adrian Robert
2007-12-03 14:36     ` YAMAMOTO Mitsuharu
2007-12-03  9:41 ` Andreas Schwab
2007-12-03 10:00   ` Jason Rumney
2007-12-03 14:56 ` Stefan Monnier
2007-12-04 11:10   ` Adrian Robert
2007-12-04 13:56     ` Stefan Monnier [this message]

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=jwv63zeo9bd.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=adrian.b.robert@gmail.com \
    --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 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).