From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 3888@emacsbugs.donarmstrong.com, cyd@stupidchicken.com
Subject: bug#3888: Some variables get the wrong, platform-specific, documentation
Date: Wed, 22 Jul 2009 14:32:49 -0400 [thread overview]
Message-ID: <jwvprbsr2pt.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <8363dl6g8a.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 21 Jul 2009 21:30:45 +0300")
>> > I think, as a temporary solution, we should make the docstrings of all
>> > the affected functions and variables the same. If necessary, they can
>> > say somehthing like, "On Windows, this does X. On Nexstep, this does
>> > Y", and so on.
>>
>> That sounds OK as a quick temporary solution. The longer-term solution
>> is to say that such variables defined in various places are bugs.
>> I.e. the definition should be moved to a common file.
> Sorry, I don't follow. Each instance of the definitions of these
> identically-named symbols is a different platform-specific
> implementation of the same API. Sometimes, one implementation is in
> C, the other in Lisp. How can they be moved to the same file?
A defvar can trivially be moved from Lisp to C. I don't see any
obstacle here. As for functions, it's even easier since you can rename
one of the two from `foo' to `foo-internal' or somesuch and move some
code from one to the other. We've already done such things for lote and
lots of functions. There's no technical problem here.
Stefan
next prev parent reply other threads:[~2009-07-22 18:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-20 20:25 bug#3888: Some variables get the wrong, platform-specific, documentation Chong Yidong
2009-07-21 3:12 ` Eli Zaretskii
2009-07-21 16:18 ` Stefan Monnier
2009-07-21 18:30 ` Eli Zaretskii
2009-07-22 18:32 ` Stefan Monnier [this message]
2009-07-22 18:45 ` Eli Zaretskii
2009-07-23 2:43 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2009-07-20 21:33 bug#3888: " Chong Yidong
2009-07-21 18:59 ` Eli Zaretskii
[not found] <83k51y3up4.fsf@gnu.org>
2009-07-20 18:21 ` Glenn Morris
2009-07-20 18:56 ` Eli Zaretskii
2009-07-24 16:40 ` bug#3888: marked as done (Some variables get the wrong, platform-specific, documentation) Emacs bug Tracking System
2009-07-24 17:41 ` bug#3888: Some variables get the wrong, platform-specific, documentation Glenn Morris
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=jwvprbsr2pt.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=3888@emacsbugs.donarmstrong.com \
--cc=cyd@stupidchicken.com \
--cc=eliz@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.