unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Subject: [drew.adams@oracle.com: Help on font-lock-add-keywords: APPEND is a poor name.]
Date: Sun, 11 Dec 2005 17:57:30 -0500	[thread overview]
Message-ID: <E1Ela8I-0007wL-CJ@fencepost.gnu.org> (raw)

I think it would be good to rename this argument to HOW.
Would someone like to do that?

Please don't change the special value `set'.  I think that symbol is
good for the job.

------- Start of forwarded message -------
From: "Drew Adams" <drew.adams@oracle.com>
To: "Emacs-Pretest-Bug" <emacs-pretest-bug@gnu.org>
Date: Fri, 9 Dec 2005 15:51:22 -0800
X-Brightmail-Tracker: AAAAAQAAAAI=
X-Whitelist: TRUE
Subject: Help on font-lock-add-keywords: APPEND is a poor name.
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python
X-Spam-Level: 
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63

Both Info and the doc string for font-lock-add-keywords name the
optional argument APPEND.  However, its possible values show that this
is a poor name.  A better name might be HOW or WHERE. The values are:

 - nil: add to the front
 - `set': replace the entire current value
 - other non-nil: append to the rear

Also, a better value than `set' for the replacement function would be
`replace'.


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

             reply	other threads:[~2005-12-11 22:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-11 22:57 Richard M. Stallman [this message]
2005-12-14 11:24 ` [drew.adams@oracle.com: Help on font-lock-add-keywords: APPEND is a poor name.] Romain Francoise

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1Ela8I-0007wL-CJ@fencepost.gnu.org \
    --to=rms@gnu.org \
    /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 public inbox

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

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).