Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: small article highlighting bug?
Date: 11 Oct 1998 02:38:25 +0200	[thread overview]
Message-ID: <kig3e8w9blq.fsf@jagor.srce.hr> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "11 Oct 1998 02:22:10 +0200"

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> But are boolean variables supposed to end in "-p"?  Isn't that
> really just predicate functions?

According to the Emacs manual, boolean variables should end in "-flag"
when there is a need to indicate their boolean-ness.

However, having variables end in "-p" appears to be quite common, both 
for temporary variables and customization variables.  There are also
examples of -p boolean variables from ZMACS, ZWEI and others, as
reported by Jamie Zawinski.  Here are the "-p" variables in my current 
XEmacs image:

(apropos-internal "-p\\'" 'boundp)
  => (atomic-extent-goto-char-p auto-save-hash-p
      bottom-toolbar-visible-p browse-url-new-window-p
      buffers-menu-submenus-for-groups-p
      c-echo-syntactic-information-p
      c-enable-xemacs-performance-kludge-p c-hanging-comment-ender-p
      c-hanging-comment-starter-p c-indent-comments-syntactically-p
      c-recognize-knr-p c-strict-syntax-p
      c-style-variables-are-local-p complex-buffers-menu-p
      cperl-xemacs-p default-toolbar-visible-p
      font-menu-this-frame-only-p gnus-article-decoded-p
      gnus-async-prefetch-article-p gnus-frame-split-p
      gnus-topology-checked-p has-modeline-p
      horizontal-scrollbar-visible-p initial-frame-unmapped-p
      ispell-highlight-p ispell-look-p ispell-pdict-modified-p
      ispell-use-framepop-p ispell-use-ptys-p left-toolbar-visible-p
      mail-use-multiple-buffers-p mailcap-parsed-p menubar-visible-p
      mouse-track-rectangle-p ps-print-color-p right-toolbar-visible-p
      scroll-pos-visible-bug-p scrollbar-on-left-p scrollbar-on-top-p
      scrollbars-visible-p sgml-xml-p teach-extended-commands-p
      text-cursor-visible-p toolbar-buttons-captioned-p
      toolbar-captioned-p toolbar-visible-p top-toolbar-visible-p
      vertical-divider-always-visible-p vertical-scrollbar-visible-p
      widget-documentation-link-p zmacs-region-active-p
      zmacs-region-rectangular-p)

And here are the "-flag" ones:

(apropos-internal "-flag\\'" 'boundp)
  => (bq-at-flag bq-comma-flag bq-dot-flag cl-hacked-flag
      file-precious-flag isearch-yank-flag mc-flag
      minibuffer-history-sexp-flag purify-flag quit-flag
      sgml-conref-flag widget-menu-minibuffer-flag)

Personally, "-p" sounds nicer than "-flag", but I don't care all that
much.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
- When I die, shall I not be like Enkidu?
- Like, no, man, you'll be, like, totally dead.


  reply	other threads:[~1998-10-11  0:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-09 14:16 John H Palmieri
1998-10-10  5:53 ` Stephen Zander
1998-10-17 19:22   ` Lars Magne Ingebrigtsen
1998-10-10 23:08 ` Lars Magne Ingebrigtsen
1998-10-10 23:33   ` Kai Grossjohann
1998-10-11  0:22     ` Lars Magne Ingebrigtsen
1998-10-11  0:38       ` Hrvoje Niksic [this message]
1998-10-11  4:44         ` Lars Magne Ingebrigtsen
1998-10-11 14:28           ` Per Abrahamsen
1998-10-11 10:18       ` Kai Grossjohann
1998-10-11 15:34         ` Lars Magne Ingebrigtsen
1998-10-11 17:51           ` Per Abrahamsen
1998-10-11 17:56             ` Lars Magne Ingebrigtsen
1998-10-12 13:39               ` Per Abrahamsen
1998-10-12 14:07                 ` Lars Magne Ingebrigtsen

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=kig3e8w9blq.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /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.
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 NNTP newsgroup(s).