From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Help sought understanding shorthands wrt modules/packages Date: Wed, 9 Nov 2022 12:42:24 +0700 Message-ID: References: <87r0yemgt2.fsf@rfc20.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="30511"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Matt Armstrong , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 09 06:43:49 2022 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 1osdsK-0007px-Hl for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Nov 2022 06:43:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osdrH-0000QB-HE; Wed, 09 Nov 2022 00:42:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osdrG-0000Px-3I for emacs-devel@gnu.org; Wed, 09 Nov 2022 00:42:42 -0500 Original-Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osdrE-0001F6-Lb; Wed, 09 Nov 2022 00:42:41 -0500 Original-Received: by mail-wm1-x32b.google.com with SMTP id l39-20020a05600c1d2700b003cf93c8156dso519458wms.4; Tue, 08 Nov 2022 21:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jgv64N7g9XNLKduTCyI+9DQIoUY+mPw0n456a+RDhYE=; b=CNxWEgRRu8kp5B7j93Ej6ttLgTSESByZQe+nXFyjmBu7ZRaP0NzwnZno9g5L8/7Aj8 szVd6N89NNvvh2r5UFFD8T+gNsr1nxAACjfVcoVipz69iD+HSTIKmBs0jvjSwVsMcuM9 zqBKSSmA7FRgcPDLoqjio8E4j4ZxIAGb7ycf5v8qeitmEH7nV2b+ytK4dVyGPhZjMRMo aGmBalda3gGCcKP8qggMekbQIykwuAYw16PFKj6IQo0Zct/ESHOiqS6h3FzAK3MVJkJi nQ0pnSGjgfUWgDwGwygdQoxEuAOH39+kjN0aUn8klz3lP95LU2oiw0PSnHO68o0uOv1I RPdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jgv64N7g9XNLKduTCyI+9DQIoUY+mPw0n456a+RDhYE=; b=bzIhNM1FHqMzlXu7+BXxn1VcWz8Al8drogHs9CSWAjsoAM2egMk/NZWrAgGV8QB3b9 U6ohJ5n0c8wSKSHeq1Ti/OWnTDsVCc0tO+6yETn05tHiQYy4Lqk+wbMSJndDgrFfiRbc JnjDuizp87nMSqhyurRo0Z18st3tOoGUj3QRlo9wRbkWXm3ONpfBxRAT8zq0SurbNic6 70MBNYY3sk101Ur+rxN3iNEhFL4msLUD+cKokkTMIb2oghnjU/i/UqQzmVQxop3k1n4w d/P0VDOctTykImuu3lgCR+z1csJfo3IwlO+N+I9uYYDqrQd/rgRNkaG2TmQAOYokawyR LfbQ== X-Gm-Message-State: ACrzQf3U8s44QEYDMiKHLJc5LvSe2J4DTs0VtqNK+wIYZlErFc6Wjnw5 qjtDM8nK4y+tC/VQvi9rb+xzkXw5lwLCTnVb0QJ3IXQqXIM= X-Google-Smtp-Source: AMsMyM6S8VJAqS01QNqtwvcU2zHqJyp3vM5fez3pBdw5y4JFbGo78e6B/gyJ6HXRh4d8ujsNT+YQFiNcWQarDUYd2+k= X-Received: by 2002:a05:600c:424c:b0:3cf:6cbc:91fc with SMTP id r12-20020a05600c424c00b003cf6cbc91fcmr36469812wmm.90.1667972557352; Tue, 08 Nov 2022 21:42:37 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=yurivkhan@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299380 Archived-At: On Wed, 9 Nov 2022 at 11:04, Richard Stallman wrote: > There was a feature that let you specify, in one package FOO, "Let me > omit package prefixes when I refer to symbols from package BAR." > The general idea is a nice one, but it doesn't work in Lisp. This feature exists in C++, Python, Scala, and many other languages, and most code style guides frown upon using it, for the very reasons you cite. It is tolerated sometimes for tightly coupled modules, like a library and its automated tests, or a public interface module of a library importing its internal implementation modules wholesale. Point is: wholesale import is a sharp tool best reserved for very special circumstances.