From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.help Subject: Re: Locating file via load-path Date: Sun, 11 Aug 2024 21:49:54 +0200 Message-ID: References: <868qx6n9ug.fsf@gnu.org> <86zfpml0sq.fsf@gnu.org> <86zfplj5s8.fsf@gnu.org> <86mslji1y9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16036"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 11 21:50:37 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 1sdEaL-000427-ST for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Aug 2024 21:50:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdEZl-0008Lh-Nh; Sun, 11 Aug 2024 15:50:02 -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 1sdEZi-0008LV-Hq for help-gnu-emacs@gnu.org; Sun, 11 Aug 2024 15:49:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdEZi-0007Xv-5q for help-gnu-emacs@gnu.org; Sun, 11 Aug 2024 15:49:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=/YJa52FHU3vGjWxEiscY83ug+hBq0A/ogxAnX+++4Xs=; b=aC8fA/UdKYzZAXKXaHox FYr0kifqh/NWDCnoALvL/ZI9WNUId4bzEB2e7Y7hDaAPCXPG01EXLu24bYrTLJ7/a9blAIMZk+X4p bh15dNzruMLB33NzkwBhZTsbOTdbXdqscWqkWNMd2fkA+8GZIO1Yvi0Gh3gqajXaqKqkWWEY4qaZ+ 66LAvFauey9/AUcnf2xgrMETr+yWfQiOkw+sQTQb9GTmA7Sp0Vs01WiVDYA1AVFNLkNA/9XZ1O7jW fisCy56WppbjfcBNtgRovatK61agrsldi8A+9LxIjQ5qWF2YfETNib5ctAIHMpBABzQPtrKhRoQLo gPliwAmVTq0foQ==; In-Reply-To: <86mslji1y9.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Aug 2024 17:11:42 +0300") 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:147614 Archived-At: Eli Zaretskii writes: > Why not nconc? The use case I have to deal with runs inside hooks which run more than once, and I don't want to pollute the target variable with same entry over and over again. Of course I can check if the entry is already there, but I think it would be convenient if `cl-pushnew' could be a full replacement for `add-to-list' and one would use only the former in Lisp and be done with it. Best, Arash