From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: New obsolete.el file for obsolete stuff? Date: Tue, 18 Aug 2020 12:44:12 +0000 Message-ID: References: <87imdgnn7c.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32913"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 18 14:44:48 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k80ys-0008QX-Qn for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Aug 2020 14:44:46 +0200 Original-Received: from localhost ([::1]:44436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k80yr-0006Bi-QJ for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Aug 2020 08:44:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k80yM-0005l8-Ve for emacs-devel@gnu.org; Tue, 18 Aug 2020 08:44:16 -0400 Original-Received: from mail-yb1-f177.google.com ([209.85.219.177]:42869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k80yL-0004kb-KA for emacs-devel@gnu.org; Tue, 18 Aug 2020 08:44:14 -0400 Original-Received: by mail-yb1-f177.google.com with SMTP id a34so11284776ybj.9 for ; Tue, 18 Aug 2020 05:44:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=YVOqFu1Q1eQMJXozy3Qs3dy9R9OdIBJCweVFCTf2Nh4=; b=ibvneCOv+/9sfBJND6M8aNdU6e6ltUrDk40u+4j3hlvC2Dzfhhn2sozU1IpT1OGl0u CRfRth9S7x1Xwp036YGu1eELzX2bd428+N5ybMgeAv+i/1HfdHKkdKgf6/ffWfHVIsun 0l/YYVZLGqarIrM3tMJXmtKWD6tip2P3oxl388hlcRyAE29THZygdRxE6rD8SxMkQ5yf Vgy5et/L3uF8vq5aq3k9GF/Zvfeu95/UdQf72xyNBDD+3usMQVYdBo2Jb1qrOO/kMI3d ovNhOPbMh3gzljA5+jGwdwNP/NlSCuzukV60t7suPYPl7H0YQD1l8jEkpprWQ9GeOaDb xEgQ== X-Gm-Message-State: AOAM531xNgEJPCaaRnFiY96sTuLOlQjgHj3Fi5CO+1oQ2bao+q0Uttbe 17a2kcZh8F1THnMRsiljjsY079Gd6A+R4jYoBPcaX4P/TtwSEQ== X-Google-Smtp-Source: ABdhPJwFLAE2mYmv3Zkf/CWP6+7wbakxkc+hhBKlQgXQ91DWKx5GzEXa7+KhWukEnCW4yQ3ffcrvgUgfF+Lkooo1Vj4= X-Received: by 2002:a5b:410:: with SMTP id m16mr25804410ybp.309.1597754652566; Tue, 18 Aug 2020 05:44:12 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 18 Aug 2020 12:44:12 +0000 In-Reply-To: <87imdgnn7c.fsf@gnus.org> Received-SPF: pass client-ip=209.85.219.177; envelope-from=stefankangas@gmail.com; helo=mail-yb1-f177.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/18 08:44:12 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253942 Archived-At: Lars Ingebrigtsen writes: > I don't think that would work... We add the aliases and stuff so that > people's code will continue to work. If somebody has out-of-tree code > that says > > (require 'foo) > (foo-name) > > that continues to work even if we've obsoleted foo-name. Moving it to a > separate file would defeat the purpose of that... It would need to be dumped/pre-loaded (not sure what's the prefered terminology here). That's what they did in XEmacs. (One could also use `eval-after-load' where it makes sense to do so.) Best regards, Stefan Kangas