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: A read-based grep-like for symbols (el-search?) (was Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master)) Date: Sat, 2 Oct 2021 17:22:29 +0200 Message-ID: References: <87h7e2xsl5.fsf@gmail.com> <25d8d72022e1ea7ed022@heytings.org> <87fstl7lzw.fsf@web.de> <87a6jt7ilx.fsf@web.de> <87fstlzlaq.fsf@gmail.com> <20211001070242.GC16352@tuxteam.de> <1dd5e2c1f42bce50dc26@heytings.org> <6969a83a74f7bebe69f2@heytings.org> <6969a83a74b57d3d7839@heytings.org> <6969a83a7447c1963410@heytings.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="17199"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, Dmitry Gutov , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Emacs developers To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 02 17:23:41 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 1mWgrV-0004JQ-Na for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Oct 2021 17:23:41 +0200 Original-Received: from localhost ([::1]:56588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWgrU-00088h-Ig for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Oct 2021 11:23:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWgqa-0007Fp-Pb for emacs-devel@gnu.org; Sat, 02 Oct 2021 11:22:44 -0400 Original-Received: from mail-pj1-f42.google.com ([209.85.216.42]:53246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWgqZ-00067Z-Bw for emacs-devel@gnu.org; Sat, 02 Oct 2021 11:22:44 -0400 Original-Received: by mail-pj1-f42.google.com with SMTP id v19so8557177pjh.2 for ; Sat, 02 Oct 2021 08:22:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b2CjAj4x4Gh5Xz4s0lwgIfBv3dqpiP/R6xuKVsfciP0=; b=WSCxscjZhI+eIeyGggzK6gFOVQmYT/btYn1jfaXVMA9EPNId6Enb6wubaU2gSdW214 dcVZaIHx02j1mrstWDWysaBUYHe72M7oOTA1Y7/U0bFdCeZyjL9CrludA1JpwomGJHsT bGzF6kGuAmbEivnQyjYLUunBmRSvpHza12BynxIqb/OV97lZHHktR0v8HlDrosfffR3U 6lAeKNiNhoNQN+no5/TN+W1ZYB/4g8Mn+MDT7Ac6FKQ9v6lvXP0UPEFAChmtqcEWHu2p a+KhGIcalxhce3QNqOo5s7nhC4JHih+BGo/68AxSREw8FHk7We2BjDAob5cTGNCAl4s8 qPog== X-Gm-Message-State: AOAM530JyaGuxGjIQS9H24DzAvfVzVGGvFYkqJsf9XFvBl1hOkWXxZZN O00fjEhPirEsmiYdLgoc2I4mVQWOtWVpJVMcpak= X-Google-Smtp-Source: ABdhPJxlUISw6IgADL8dqGcoti1QeIjnklVaIZuSDeRBUPggxjI2Upvv4kEEJpjp55sMomyWr9N1HFNNazkwFt0OpMg= X-Received: by 2002:a17:90a:5583:: with SMTP id c3mr19503330pji.133.1633188161869; Sat, 02 Oct 2021 08:22:41 -0700 (PDT) In-Reply-To: <6969a83a7447c1963410@heytings.org> Received-SPF: pass client-ip=209.85.216.42; envelope-from=stefankangas@gmail.com; helo=mail-pj1-f42.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:276070 Archived-At: Gregory Heytings writes: > A handful Elisp libraries have decided (for good reasons, but against the > common practice so far) to use a short prefix for their functions. That > doesn't seem a sufficient reason to design namespaces in Elisp in such a > way that these particular libraries need to be changed as little as > possible. This might be a tangent, but can we really say that shorthands implements namespaces? AFAIU, namespaces means that you restrict the scope of identifiers (or symbols) so that identically named identifiers in different scopes don't conflict. But shorthands does not do that, and would therefore be better described precisely as a work-around for the lack of namespaces. Or am I missing something?