From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Vladimir Sedach Newsgroups: gmane.emacs.devel Subject: Re: Proper namespaces in Elisp Date: Thu, 07 May 2020 11:48:34 -0700 Message-ID: <87ftcb37jx.fsf@t510.orion.oneofus.la> References: <87ftcee7td.fsf@tromey.com> <87pnbgzdmx.fsf@tromey.com> <87lfm3290o.fsf@tromey.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="3682"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.10; emacs 26.2 Cc: Tom Tromey , =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 07 20:49:38 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 1jWlaU-0000ps-4r for ged-emacs-devel@m.gmane-mx.org; Thu, 07 May 2020 20:49:38 +0200 Original-Received: from localhost ([::1]:34886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWlaS-000653-TB for ged-emacs-devel@m.gmane-mx.org; Thu, 07 May 2020 14:49:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWlZl-0005Ml-Rz for emacs-devel@gnu.org; Thu, 07 May 2020 14:48:53 -0400 Original-Received: from forward103o.mail.yandex.net ([2a02:6b8:0:1a2d::606]:55617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWlZj-0005vK-NO for emacs-devel@gnu.org; Thu, 07 May 2020 14:48:53 -0400 Original-Received: from mxback21g.mail.yandex.net (mxback21g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:321]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 57A135F8210B; Thu, 7 May 2020 21:48:46 +0300 (MSK) Original-Received: from sas1-e00c2743cdb8.qloud-c.yandex.net (sas1-e00c2743cdb8.qloud-c.yandex.net [2a02:6b8:c14:3a22:0:640:e00c:2743]) by mxback21g.mail.yandex.net (mxback/Yandex) with ESMTP id zYbBOjZHRI-mjLu41UH; Thu, 07 May 2020 21:48:46 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneofus.la; s=mail; t=1588877326; bh=FLpKVTsQZzqtaZRqPqjmQhBo40gcuDkVGy9KuaRdzvQ=; h=In-reply-to:Subject:Cc:To:From:Date:References:Message-ID; b=varUJLp8MM/gSnoz/Ah4PGcup8NL03lb7801YwRGFKCcb2ka5Fwaexv+BtEdL247g 4o5UGglFtDVCnjq7QBPLLgNVGgD60caLv3e7UFmuMMZL2o5moEeFdRP1S71Q3pUVBI Vht8KF/T1ygn/1SwFxZQn/Dcaes1icwbyYz51FYg= Authentication-Results: mxback21g.mail.yandex.net; dkim=pass header.i=@oneofus.la Original-Received: by sas1-e00c2743cdb8.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 527rJvKzky-mh3qXw4s; Thu, 07 May 2020 21:48:44 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) In-reply-to: Received-SPF: pass client-ip=2a02:6b8:0:1a2d::606; envelope-from=vas@oneofus.la; helo=forward103o.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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:249199 Archived-At: Stefan Monnier writes: >> ;;; Shorthand: (("vl-" . "very-long-prefix-") >> ;;; ("yalp-" . "yet-another-long-prefix-")) > > Adding such "local, read-time prefix remapping" does sound to me like > the best approach in the context of Elisp, indeed. You can do the same thing without breaking grep/TAGS/etc or changing the reader with overlays and a modified abbrev facility. -- Vladimir Sedach Software engineering services in Los Angeles https://oneofus.la