all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 43780@debbugs.gnu.org
Subject: bug#43780: 27.1; defvaralias and define-obsolete-variable-alias
Date: Mon, 05 Oct 2020 09:47:01 +0200	[thread overview]
Message-ID: <87y2klp11m.fsf@gnus.org> (raw)
In-Reply-To: <d3a13330-e8ba-40d3-8b69-b11fe8a194c3@default> (Drew Adams's message of "Sat, 3 Oct 2020 11:16:25 -0700 (PDT)")

Drew Adams <drew.adams@oracle.com> writes:

> Seems like a bug to me.  Why shouldn't the last alias declaration win?

It is "winning", I guess, but the variable is still obsolete, and Emacs
should tell you so, even if somebody has been so unfortunate as to load
this library.

> Please tell me the best way to leave my code alone, using
> `inhibit-null-byte-detection', and yet eliminate (only) this
> byte-compiler warning.
>
> Should I just use (put 'inhibit-null-byte-detection
> 'byte-obsolete-variable nil)?

If you want to cause additional problems for people; sure.  

I don't see anything to fix here, so I'm closing this bug report.

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





  reply	other threads:[~2020-10-05  7:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-03 18:16 bug#43780: 27.1; defvaralias and define-obsolete-variable-alias Drew Adams
2020-10-05  7:47 ` Lars Ingebrigtsen [this message]
2020-10-05 16:27   ` Drew Adams
2020-10-06 21:41 ` Michael Heerdegen
2020-10-06 22:54   ` Drew Adams
2020-10-06 23:15     ` Michael Heerdegen
2020-10-07  0:06       ` Drew Adams
2020-10-07 23:13         ` Michael Heerdegen

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=87y2klp11m.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=43780@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.