From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17714 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: small article highlighting bug? Date: 11 Oct 1998 02:38:25 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156365 2355 80.91.224.250 (20 Oct 2002 23:26:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:26:05 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA10248 for ; Sat, 10 Oct 1998 20:44:27 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id TAF20745; Sat, 10 Oct 1998 19:10:14 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 10 Oct 1998 19:39:12 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id TAA01016 for ; Sat, 10 Oct 1998 19:39:01 -0500 (CDT) Original-Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA10093 for ; Sat, 10 Oct 1998 20:38:39 -0400 (EDT) Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.9.0/8.9.0) id CAA25587; Sun, 11 Oct 1998 02:38:25 +0200 (MET DST) Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h 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 | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- - When I die, shall I not be like Enkidu? - Like, no, man, you'll be, like, totally dead.