unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Engster <deng@randomsample.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "Eric M. Ludlam" <zappo@gnu.org>,
	Stephen Leake <stephen_leake@stephe-leake.org>,
	emacs-devel@gnu.org
Subject: Re: Noisy byte compilation on master
Date: Wed, 18 Feb 2015 18:53:33 +0100	[thread overview]
Message-ID: <8761aznm1u.fsf@engster.org> (raw)
In-Reply-To: <jwv8ufw16v7.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 17 Feb 2015 18:06:27 -0500")

Stefan Monnier writes:
>>> Or you could use a macro which either drops the name argument or passes
>>> it depending on the version of EIEIO with which it's compiled.
>> I would still have to rewrite the constructor calls, right?
>
> Yes, but it should be a slightly simpler rewrite (no need to find&remove
> the name string).

The real work is finding the constructor calls and making sure the
string isn't actually used for anything (which we'll have to do anyway,
as the string is not saved in Emacs25 unless explicitly set with
eieio-object-set-name-string).

I really do not want to clutter the code with some macro before every
constructor all. That would needlessly also end up in Emacs proper
through merging, and it would eventually have to be removed again when
we stop supporting Emacs24. I'm actually a bit confused, as I thought we
agreed that EIEIO should not emit a warning when the string is provided,
at least not during run-time. I could live with those warnings during
byte-compilation, as I would just shush those as long as we support
Emacs24.

-David



  reply	other threads:[~2015-02-18 17:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-01 16:06 Noisy byte compilation on master Eli Zaretskii
2015-02-02 16:31 ` Stefan Monnier
2015-02-02 16:35   ` Eli Zaretskii
2015-02-02 18:01   ` Stephen Leake
2015-02-02 23:23     ` Stefan Monnier
2015-02-03  7:03       ` David Engster
2015-02-04 15:45         ` Stefan Monnier
2015-02-15 15:58           ` David Engster
2015-02-16  2:56             ` Stefan Monnier
2015-02-16 21:11               ` David Engster
2015-02-16 23:14                 ` Stefan Monnier
2015-02-17  6:31                   ` David Engster
2015-02-17 23:06                     ` Stefan Monnier
2015-02-18 17:53                       ` David Engster [this message]
2015-02-18 19:35                         ` Stefan Monnier
2015-02-18 19:51                           ` David Engster
2015-02-18 22:44                             ` Stefan Monnier

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=8761aznm1u.fsf@engster.org \
    --to=deng@randomsample.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=stephen_leake@stephe-leake.org \
    --cc=zappo@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).