unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 49734@debbugs.gnu.org,
	Devon Sean McCullough <Emacs-Hacker2020@jovi.net>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#49734: 28.0.50; define-obsolete-variable-alias
Date: Wed, 28 Jul 2021 17:32:50 +0200	[thread overview]
Message-ID: <87k0labgil.fsf@gnus.org> (raw)
In-Reply-To: <wqpmv33cyy.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 27 Jul 2021 13:04:21 -0400")

Glenn Morris <rgm@gnu.org> writes:

> 3) Consider the byte compilation warnings for the following code in eg
> Emacs 27.1:
>
> (make-obsolete 'my-foo 'my-foo2)
> (define-obsolete-variable-alias 'my-foo3 'my-foo4)
>
>    foo.el:1:2:Warning: make-obsolete called with 2 arguments, but requires 3
> Ie no warning for define-obsolete-variable-alias.

So we didn't have any warning about `define-obsolete-variable-alias' --
so I think we'll have to make the third argument optional again, and
this time make the warning stuff work?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-07-28 15:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-25 18:11 bug#49734: 28.0.50; define-obsolete-variable-alias Devon Sean McCullough
2021-07-25 18:29 ` bug#49734: oops Devon Sean McCullough
2021-07-25 19:52 ` bug#49734: [External] : bug#49734: 28.0.50; define-obsolete-variable-alias Drew Adams
2021-07-26 17:50 ` Glenn Morris
2021-07-26 18:26 ` Lars Ingebrigtsen
2021-07-27 15:46 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-27 17:04   ` Glenn Morris
2021-07-28 15:32     ` Lars Ingebrigtsen [this message]
2022-08-21 20:46       ` Lars Ingebrigtsen

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=87k0labgil.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=49734@debbugs.gnu.org \
    --cc=Emacs-Hacker2020@jovi.net \
    --cc=monnier@iro.umontreal.ca \
    --cc=rgm@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).