From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan <yuri.v.khan@gmail.com> Newsgroups: gmane.emacs.help Subject: Re: Why is `pop' not named `npop'? Date: Wed, 17 Jan 2024 18:13:11 +0700 Message-ID: <CAP_d_8W2RRgQyEKZXqTztqU0RrjBcbiYYDR2b=md5dmmQyfVZA@mail.gmail.com> References: <87mst5yk6n.fsf@mbork.pl> <8734uxhk1e.fsf@posteo.net> <87ply0n2qj.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37991"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 17 12:14:14 2024 Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org> 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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1rQ3s5-0009j8-S3 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 17 Jan 2024 12:14:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <help-gnu-emacs-bounces@gnu.org>) id 1rQ3rN-0006cW-HE; Wed, 17 Jan 2024 06:13:29 -0500 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 <yurivkhan@gmail.com>) id 1rQ3rL-0006cE-OR for help-gnu-emacs@gnu.org; Wed, 17 Jan 2024 06:13:27 -0500 Original-Received: from mail-ua1-x935.google.com ([2607:f8b0:4864:20::935]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <yurivkhan@gmail.com>) id 1rQ3rK-0001lo-2f for help-gnu-emacs@gnu.org; Wed, 17 Jan 2024 06:13:27 -0500 Original-Received: by mail-ua1-x935.google.com with SMTP id a1e0cc1a2514c-7ce3a5f73bdso2720098241.0 for <help-gnu-emacs@gnu.org>; Wed, 17 Jan 2024 03:13:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705490003; x=1706094803; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Mf/JeKbw0RN7GOdY3wELRYvDsRgmqNfbzsOW+bYzkNQ=; b=WKWVdbegr187K6rq1SZoN+6aZcjmQvrKGuf2KnoZb3VPbpfw6/7JFUZFCfGLXolqtN hLnDISkEIaNPZxWrkgAC+z3xOp9CEq6pLinK4PEJGpb/3VrTl/m+wAXYPF1sSTvy973s 4WK6t4Ym56UEwQbcWT3a1DMfj0EJHat0VRmrmWiTtvkj1OkQdYoLVeMk7/vGHrh+797x u7kbyX+7CTyFdTZQ3jD5X5ehu71QEwe2SVVyzaZmiii8WOu57HI8HHHugOhoYlhNLLrr AkcN5gr4H8xQBcBl+SN9ZRLfqytHwR5o8Av9HM1UL6NkKc23ocaFK0tzd5VxtA7EETGd OxRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705490003; x=1706094803; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Mf/JeKbw0RN7GOdY3wELRYvDsRgmqNfbzsOW+bYzkNQ=; b=EBhxYBaH6PuF5bXK3o5usGl4X9l7RPTsW03dWhqmM85Wag2k7ZllQ7bP2ejtczRXlq xXogiodCKhTMMbdvPkpZPalnLCjWNVIq7GtKlYboKwAlc52wAiAAt7wwwSkrPYUJs+Y0 NumUOdQaWbyNjiSzlZd2zhnkbl3MfMWU2V4TqVlUCSjZrUKUcIRGN2liwDakS9Uzwx78 gRNMwr+B+riw0w3ufWN3RrLhbDYc2vCUeEEkL3D/u2qNJn0R18kusSylddtwzkB0JuyR +Y1TNcQe2ZfUoJSY4s9vitU6+zYhNnqpPi605IRPFznyiebO2Vsv01ZyKEGfovFF0r6S nqHA== X-Gm-Message-State: AOJu0YydMzYZGa1v58AidELD33kK5Q3guqh6CwIQb2XdajF4lxS6hMIo sXF3LnVONidHWuubIl5CshGigPQCAT+syrqyly/ItdFx X-Google-Smtp-Source: AGHT+IFXM88YdL/cOX8umWTcgofyPXdkHY+ScmTzq3Wm3GX/GVwLe/JfOtHVgMwuwEy0MCPh3IVc2zXvQQ8NHE21cLI= X-Received: by 2002:a05:6122:200b:b0:4b7:175a:957f with SMTP id l11-20020a056122200b00b004b7175a957fmr4567598vkd.10.1705490002885; Wed, 17 Jan 2024 03:13:22 -0800 (PST) In-Reply-To: <87ply0n2qj.fsf@dataswamp.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::935; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x935.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 <help-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs> List-Post: <mailto:help-gnu-emacs@gnu.org> List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=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:145746 Archived-At: <http://permalink.gmane.org/gmane.emacs.help/145746> On Wed, 17 Jan 2024 at 17:53, Emanuel Berg <incal@dataswamp.org> wrote: > >> the `pop' macro is destructive. Why isn't it called `npop' > >> then? [...] > > but there is also no need for a non-destructive pop since we > > already have car. > > But shouldn't `pop' be called "ncar" then? The =E2=80=98n=E2=80=99 in =E2=80=98nreverse=E2=80=99 and other destructive= functions is said to mean =E2=80=98non-consing=E2=80=99, that is, they won=E2=80=99t allocate new con= s cells but rather modify what is already there to achieve the desired structure. The focus is not on destructiveness, it is on the lack of pressure on the allocator. =E2=80=98car=E2=80=99 is already as non-consing as it gets.