From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Better way to require with shorthands/renamed symbols Date: Tue, 28 Sep 2021 12:01:52 +0800 Message-ID: <874ka51h73.fsf@localhost> 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11379"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Porter , Dmitry Gutov , =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= , emacs-devel To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 28 06:16:16 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 1mV4XQ-0002pD-9P for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 06:16:16 +0200 Original-Received: from localhost ([::1]:41178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV4XP-0002Ln-7P for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 00:16:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV4IJ-0007Hv-Od for emacs-devel@gnu.org; Tue, 28 Sep 2021 00:00:41 -0400 Original-Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:43681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV4IG-0004Gc-V7 for emacs-devel@gnu.org; Tue, 28 Sep 2021 00:00:38 -0400 Original-Received: by mail-pf1-x435.google.com with SMTP id c1so17729821pfp.10 for ; Mon, 27 Sep 2021 21:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Zd2M3OvxqKgh77H1ZuB7rSyg2TaYRdyVcvO9Np+VL7Q=; b=KH711qGw+c5QJt9yS9X4Onn00hdQqVPe7hoVQroR8ekTemgPApwh70M0Lbjtm4JelI GN4+O313AhbWtzMC6oJ5cQSeKo4HtBESFrq6KTSh5WP9vjH4cjgKeIj2qkdgVCbV7HrN bgDO2HGSuIMyTWEBhmLw1LAX6X3gqbqUxINnTpIDA+6GlFKkTkltTI8183F4oXj1WmGK WxfyhPtNBlzRgTs6/n0ViC2HvG4UAiM1LCjLyBn8non9I7LXe83Ky+EbGXtT0bR9c4J1 RN6PGBgGiZ0f/+/DwD2gkoeCQNLvtrhh/KEHdKoBjVrf9D35Z6Jvpp2If35ciarDUaek LTAA== 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:in-reply-to:references:date :message-id:mime-version; bh=Zd2M3OvxqKgh77H1ZuB7rSyg2TaYRdyVcvO9Np+VL7Q=; b=keKQs/l6XLxMZe1hqGXUr6WYd6izDeosJQHrIAPdAj/plbnfU6exigCLIDJqmLHetO i1SL1Nym7EKw/Oee+nGJx2Ub6r1U7AZB9oQhxVWR4T7cmZfNDnfGTUm87+AD1zymmBlK 2Id/VsJ7pj/BKJSP5mttpza97MW10bIuFwhWM5iBU3mtdZRn2xqGdiCUD/rTQQ9oTw4O REZKMAkxQLTSCP2QYI4o5UBMfHxKXna2W21OQnMcmtkk8l3cnN8Oer9EVhkcjriQrLt5 MQQPOUZ+XU5H4Quh/2zRbCga9J0uZpOljn2GGkm2LtIBbaV0C+UDdeUomKPhTtsEWlLg xaMw== X-Gm-Message-State: AOAM533pYlKOqZ08fsc91bXQDNqUDvCyu0C8zDhjf841n4yDsSRkihDA bRrdIHStwBuD/6UgILUbXPc= X-Google-Smtp-Source: ABdhPJzgEbvur0CqeMKjI2JX8zhDkwwTJGwMLm+BvulF8WREinbBaJVWgZVRtQClxb3BpFe/236K6A== X-Received: by 2002:a63:684a:: with SMTP id d71mr2680124pgc.175.1632801635596; Mon, 27 Sep 2021 21:00:35 -0700 (PDT) Original-Received: from localhost ([222.112.127.227]) by smtp.gmail.com with ESMTPSA id l128sm18948912pfd.106.2021.09.27.21.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 21:00:35 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=yantar92@gmail.com; helo=mail-pf1-x435.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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.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:275646 Archived-At: Stefan Kangas writes: > The main drawback though is that you still need to type out the package > name. You can simply (bind-key "_" #'nameless-insert-name-or-self-insert nameless-mode-map) Best, Ihor