unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: The function naming convention used by Emacs.
@ 2021-09-26 13:32 Pierpaolo Bernardi
  2021-09-26 13:35 ` Emanuel Berg via Users list for the GNU Emacs text editor
  2021-09-26 17:26 ` [External] : " Drew Adams
  0 siblings, 2 replies; 11+ messages in thread
From: Pierpaolo Bernardi @ 2021-09-26 13:32 UTC (permalink / raw)
  To: Emanuel Berg, help-gnu-emacs@gnu org


Il giorno 26 settembre 2021, alle ore 13:49, Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> ha scritto:

>there is also the "f" suffix for "function", e.g. `cl-incf'
>and `cl-decf' ... 

The "f" in these cases stands for "field".

^ permalink raw reply	[flat|nested] 11+ messages in thread
* The function naming convention used by Emacs.
@ 2021-09-26 11:05 Hongyi Zhao
  2021-09-26 11:27 ` 2QdxY4RzWzUUiLuE
  2021-09-26 11:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 11+ messages in thread
From: Hongyi Zhao @ 2021-09-26 11:05 UTC (permalink / raw)
  To: help-gnu-emacs

As far as function names are concerned, are there some established
conventions used by Emacs? For example, I noticed that there are so
many functions in Emacs named by the suffix `-p', say,
`file-exists-p', `ht-equal-p', and so on. But I still can't figure out
the meaning of this suffix. Any tips will be appreciated.

Best, HZ
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-09-27  1:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-26 13:32 The function naming convention used by Emacs Pierpaolo Bernardi
2021-09-26 13:35 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-26 17:26 ` [External] : " Drew Adams
2021-09-27  1:54   ` Emanuel Berg via Users list for the GNU Emacs text editor
  -- strict thread matches above, loose matches on Subject: below --
2021-09-26 11:05 Hongyi Zhao
2021-09-26 11:27 ` 2QdxY4RzWzUUiLuE
2021-09-26 11:49   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-26 11:50   ` Hongyi Zhao
2021-09-26 11:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-26 12:18   ` Hongyi Zhao
2021-09-26 13:34     ` Emanuel Berg via Users list for the GNU Emacs text editor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).