all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [drew.adams@oracle.com: Help on font-lock-add-keywords: APPEND is a poor name.]
@ 2005-12-11 22:57 Richard M. Stallman
  2005-12-14 11:24 ` Romain Francoise
  0 siblings, 1 reply; 2+ messages in thread
From: Richard M. Stallman @ 2005-12-11 22:57 UTC (permalink / 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 -------

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

end of thread, other threads:[~2005-12-14 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-11 22:57 [drew.adams@oracle.com: Help on font-lock-add-keywords: APPEND is a poor name.] Richard M. Stallman
2005-12-14 11:24 ` Romain Francoise

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.