all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: mbork@mbork.pl
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Why is `pop' not named `npop'?
Date: Tue, 16 Jan 2024 13:07:06 +0800	[thread overview]
Message-ID: <87y1cpx3wl.fsf@yahoo.com> (raw)
In-Reply-To: <87mst5yk6n.fsf@mbork.pl> (mbork@mbork.pl's message of "Tue, 16 Jan 2024 05:28:20 +0100")

mbork@mbork.pl writes:

> Hi all,
>
> the `pop' macro is destructive.  Why isn't it called `npop' then?  My
> wild guess is that the `n-' prefix is only used for functions, not
> macros, but is that really true?
>
> Best,

If I were to guess, because `pop' does not modify the list itself, only
the value of the GV.



  reply	other threads:[~2024-01-16  5:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-16  4:28 Why is `pop' not named `npop'? mbork
2024-01-16  5:07 ` Po Lu [this message]
2024-01-16  6:25 ` Philip Kaludercic
2024-01-17  1:54   ` Emanuel Berg
2024-01-17 11:13     ` Yuri Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1cpx3wl.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.