From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: defalias inside a defun Date: Tue, 09 Apr 2024 11:43:00 +0200 Message-ID: <86le5mzxaz.fsf@p200300d6270a69d99ce50a63538851d9.dip0.t-ipconnect.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35166"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.2; emacs 29.3 Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 09 11:44:05 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ru81L-0008tV-Fc for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 09 Apr 2024 11:44:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ru80Z-0006rh-QZ; Tue, 09 Apr 2024 05:43:17 -0400 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 1ru80W-0006ph-Rr for help-gnu-emacs@gnu.org; Tue, 09 Apr 2024 05:43:13 -0400 Original-Received: from wfout8-smtp.messagingengine.com ([64.147.123.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ru80T-0006vw-Fh for help-gnu-emacs@gnu.org; Tue, 09 Apr 2024 05:43:12 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.west.internal (Postfix) with ESMTP id 178CA1C000DE; Tue, 9 Apr 2024 05:43:06 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 09 Apr 2024 05:43:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1712655785; x=1712742185; bh=iOjIusMq10 7U6EGtWDkTROmBtjTnOejBBiLp4VWdbvM=; b=hyNZvI36oN/ioCtuVuDxa1K7aa Zy2OMVv0f2q9PJceDlOAjXqhFOAM2YUZyrf7pwM10oHp9Rse5VDkMiTfRT4mUkfA /e+jFnl3m/46ShD2IgqTiHD/iaQrvbViFkkteBWvlmPZnoyvXOoOj+DjlyM6VT+T VTFgPE2WMYwxhhIwFGRJoraKt2jnZvSzI6U2VQ72ge7fO9xhwWL1dXNdSD2ERQnX VnvTa57Wl4F++Gg4h4FryIGQa1a3QPJZu5sXHt6rRhSsM7nQdTC2iif+Nn3H/iuu nbjY6EnY6pnRHRLH79jb/Xv2kjvaxDy1534H27EgNFIWA8WI2ucBlGppcVng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1712655785; x=1712742185; bh=iOjIusMq107U6EGtWDkTROmBtjTn OejBBiLp4VWdbvM=; b=N1WSg9Q1J2X/rxdDJrbbRArO+ybbRUn2xU3/0az2fcvB bWkriD9NO2na245iGUBGrNn/uODxj2XFdbjZwtiiX+tDzZ0wfo7lSe/stuySNJS4 HN1bAP/1Og+vCNvhL+U8t3MiQX4tVpDeYgg38wWSjQIvbqOfKSZryG37gxbtdHK9 pHKLEfck33ye6wbYLVVg4UIeRs39vnmNXiucd2ljY2+TzNIghRIUza2z0biDKwyM 2ovy8UVKNRVXw+fT9c7QFpfUnA01og4FnWoi0yZkwagdQ3uyMu/zTtjeFOvzrg5o 2a7bLWrqXQyUnkcrcAzqwpurLeKerv8Q7X31n9wJVg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudegledgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffgffkfggtgesthdtredttdertdenucfhrhhomheplfhoohhs thcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh eqnecuggftrfgrthhtvghrnhepfeekjefgffdtgfffjeduueekteehudfhveethffhheei hfeltdfghfegkeeivdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepjhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 9 Apr 2024 05:43:04 -0400 (EDT) In-Reply-To: (Heime's message of "Sat, 06 Apr 2024 00:59:40 +0000") Received-SPF: pass client-ip=64.147.123.151; envelope-from=joostkremers@fastmail.fm; helo=wfout8-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146277 Archived-At: On Sat, Apr 06 2024, Heime wrote: > Would it be acceptable to call a defalias inside a defun ?\ "Acceptable" how? Stylistically? Technically? Technically, I don't think it matters whether defalias occurs at the top level or inside a defun. Stylistically, I don't really see anything wrong with it, but there's no accounting for taste. :-) -- Joost Kremers Life has its moments