unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: Please restore `make-obsolete''s functionality.
Date: Tue, 27 Jul 2010 19:41:45 +0000	[thread overview]
Message-ID: <20100727194145.GA2280@muc.de> (raw)
In-Reply-To: <jwvwrshnc2y.fsf-monnier+emacs@gnu.org>

Hi, Stefan,

On Mon, Jul 26, 2010 at 11:55:33PM +0200, Stefan Monnier wrote:
> > Please can we remove this Cleverness?  `make-obsolete' also has to work
> > on OLD code (sometimes very old code) written when WHEN was &optional.

> It's still optional, although the byte-compiler doesn't know it so
> it complains.

Stefan, the following is a lie - a barefaced lie:

    "cc-cmds.el:326:2:Warning: make-obsolete called with 2 arguments, but
    requires 3".

It's a mendacious attempt, by deceit, to force hackers into
doing what's considered good for them.  It's not something which happened
accidentally; code was deliberately inserted so as to hide WHEN's
optionality.

What effect does this have?  I can only answer for me, but...  It's a
drag.  It makes the maintenance of my project less fun.  It raises
feelings of guilt and inadequacy in the face of the juggernaut that Emacs
has become.  Will CC Mode still work without crashing if a user stumbles
over one of these `make-obsolete's?  I know the answer now, but I didn't
between when this change was done and yesterday.

Please can't we have the REAL argument list back in the byte compiler?

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2010-07-27 19:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 20:28 Please restore `make-obsolete''s functionality Alan Mackenzie
2010-07-26 20:49 ` Juanma Barranquero
2010-07-26 21:27   ` Alan Mackenzie
2010-07-26 21:46 ` Dan Nicolaescu
2010-07-27 19:45   ` Alan Mackenzie
2010-07-26 21:55 ` Stefan Monnier
2010-07-27 19:41   ` Alan Mackenzie [this message]
2010-07-27 21:38     ` Stefan Monnier
2010-07-28 17:29       ` Alan Mackenzie
2010-07-30  8:58         ` 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=20100727194145.GA2280@muc.de \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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).