From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Better way to require with shorthands/renamed symbols Date: Mon, 27 Sep 2021 18:53:54 -0700 Message-ID: References: <20210927003203.15806.29864@vcs0.savannah.gnu.org> <20210927003205.EF26620A5E@vcs0.savannah.gnu.org> <8735pqryt2.fsf@gmail.com> <0b213c21-aacb-fe9b-11c8-0c4e777fe14d@yandex.ru> <87pmsuqi5o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14224"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Kangas , Adam Porter , emacs-devel , Dmitry Gutov To: =?iso-8859-1?Q?Jo=E3o_T=E1vora?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 28 03:55:01 2021 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 1mV2Ki-0003Vb-7g for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 03:55:00 +0200 Original-Received: from localhost ([::1]:41936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV2Kh-0002df-7V for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 21:54:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV2Jm-0001xI-HV for emacs-devel@gnu.org; Mon, 27 Sep 2021 21:54:02 -0400 Original-Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:45944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV2Jk-000161-Lh for emacs-devel@gnu.org; Mon, 27 Sep 2021 21:54:02 -0400 Original-Received: by mail-pf1-x434.google.com with SMTP id w19so17522747pfn.12 for ; Mon, 27 Sep 2021 18:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=7NALDpurTBBqHMKHqLCtzZTevh3JbwfvZXAJ3g6LRP8=; b=Pe0qOJtWxWwz1KHiUwsFN0hnhmA+VxcUbBejz+d6Ud57GrpSdpOmuuEtzEr5+8W+2C qf0GH4zn/z1qCKbmJQ97k1IpO1V/gc/O4c7t3WmPGjnviX8WKwVu0IqcD6AmIMlzS2Tj L0w7Kpe1Uo/Gew9HOzpt2ys87Po2aPvzG+uXJsmjGuqjPtOuFOg77CLaB9Y1CyTZemnL oY+PSsLI7dXLZD6NeaQ0prOv3RPeu+4/SQgVkC2DNqPYMWLNffpBjsElZRc44dHMg8A0 ba+HqJiOq0GQx6WVZZb8LLT5s9h6/dgTWKOpFQbW9LkLwqwpRaWC8YMpoitZuJ8tWq8z ZUvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=7NALDpurTBBqHMKHqLCtzZTevh3JbwfvZXAJ3g6LRP8=; b=FpQr9sOXpfEuWVdydzAaXwoGuJ1k2mB/8RVZ8XpYLk7TLmGE7YLWxlUkCluv0EhvNy W26EmCE4B6xYzS6pRW5Z3UcfSfa5U/+Yl6tjwaal0l9WJZ2K/ZlfGbCC5jfUHqOO6Xbv RxBlFfZzJmfxGWfQyB7N6X3AY3sdtcaNu09yhMNAQnB6DK0pB1WQxhu1VMHuKGEzdJai Ih6o8lh1w3HQH/nxPRMEd9UskA1Ct6lSJqUdJJiHKDWn3u3Cir6gCqQCcM0F3wHYNPRi LwyWTh57/e+ekRXrzFtWEiuXd48Z39Bb6trfryx+PcJj3IJ1cFE13brKxSOjpIWVTfiX 5WhA== X-Gm-Message-State: AOAM531Cd4I5Nh8TbsitAxl70sgwkYd+/LwynfRLMTEruAWHh8T/SQ3n UHQ/iarriyldunrBpTs3recddQ== X-Google-Smtp-Source: ABdhPJwIMfArQSIVnol9O4IB54/amfM8RDJR2i7kNgH6g3B70B1KmdJCHdNGZ8e/u3YFiivSGLtjVQ== X-Received: by 2002:a62:6383:0:b0:447:7fc:3eee with SMTP id x125-20020a626383000000b0044707fc3eeemr3023989pfb.86.1632794037537; Mon, 27 Sep 2021 18:53:57 -0700 (PDT) Original-Received: from raman-glaptop (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id 23sm578278pjc.37.2021.09.27.18.53.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 18:53:56 -0700 (PDT) In-Reply-To: (=?iso-8859-1?Q?=22Jo=E3o_T=E1vora=22's?= message of "Mon, 27 Sep 2021 21:18:50 +0100") Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=raman@google.com; helo=mail-pf1-x434.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham 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:275641 Archived-At: This is a suggestion for thinking about *after* we have had some experience using this: Consider a prefix separator char like ':' so that the shorthand is easily distinguishable as a shorthand prefix? Might help in many ways: 1. Indicates to the reader that new: is a shorthand prefix. 2. Enable refactoring/renaming code to easily change the prefix or undo it if desired=20 --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8