From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: The function naming convention used by Emacs. Date: Sun, 26 Sep 2021 19:05:36 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33211"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 26 13:06:48 2021 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 1mURzY-0008T3-As for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 26 Sep 2021 13:06:44 +0200 Original-Received: from localhost ([::1]:37194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mURzW-0001A1-QG for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 26 Sep 2021 07:06:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mURyh-00019p-Bm for help-gnu-emacs@gnu.org; Sun, 26 Sep 2021 07:05:51 -0400 Original-Received: from mail-vk1-xa33.google.com ([2607:f8b0:4864:20::a33]:38777) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mURyf-000176-Tj for help-gnu-emacs@gnu.org; Sun, 26 Sep 2021 07:05:51 -0400 Original-Received: by mail-vk1-xa33.google.com with SMTP id g15so5779347vke.5 for ; Sun, 26 Sep 2021 04:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=JyyefGot1bpinxBcKN2khAjnyB8VJqq215gzw3QaKl0=; b=JlU1bZcO8Y/VY2T9rodEgm7ahgsuP0WIZqxkCv21zFO/NQ9YyhMo8iHzwygc7nYR2k C9DPhBMwrXOq459+keIjoBaSLfLkiXjjDkij/RP7wEjYNuNGOf2cwjckv6qFfP3Dx4bJ 8w99W+q2LY1Mnpw6mDpyR7U4Tbg8GHvjwhIDYuieTWCnE9VnqSCAk5cHnl6kQSP3kwXk gQs3A+ixhAsh5rZSe391aYw0pWoZm5TOXlM1YlVM23YMq6vhzv4PEYTIXFYY/pts4CPN 5qwQJihuzXKk/U87QpbIpFnThM32zlaW9/K39nY90FNSoE6ohHSBc7eY0Fd9+4cgbZKV Dydw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JyyefGot1bpinxBcKN2khAjnyB8VJqq215gzw3QaKl0=; b=687tHS+edWJNDGR+QNYhm8oMVcqsM+FKtswZxOVBvKsC6x+kaqDyew30GZinhnq8/X vgKj2B+Eago7TuNigYz9u8tlKuEIdnv2FGwxVK9voIEDNMJP2GqkCDI+FzPuEeebgWkF vXy4p2vClZkOsykx9lCl2gthjcSFHF84H1yMZtOWZYQPXTeOI7DJk5VpSwNxgmYVSisI pkAr8K6xVL8wHrHRaqQC9k0EUCxi8/TWYvwW4DDgywtIeYoSZ9/17BiMHed7dEgtanOi hn8yor8s7pzdBDWzN6zw/jJsozSh9OiVI56jOKfaThP8WptCsKrvDvH5R02SSNcc6PRf KybA== X-Gm-Message-State: AOAM530pEI01VhyeLf1zF2N1hCa8ORuHIh2E+roW90P7WksiSQsnZdid xw1At/r33rlRP9yC/OzikGGOjeUxiPRj1/PpbCe0GB/doP1XLzi0 X-Google-Smtp-Source: ABdhPJx2ceS9XsMMwoKTcY4MJQ/bPCiwuecEy1yfIB9m4wCznmDKVegvDsXt8e1IdPif52gMHJHt+qKYZWjz3V1fU4k= X-Received: by 2002:a1f:9195:: with SMTP id t143mr13446274vkd.3.1632654347720; Sun, 26 Sep 2021 04:05:47 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::a33; envelope-from=hongyi.zhao@gmail.com; helo=mail-vk1-xa33.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:133250 Archived-At: 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 Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province