unofficial mirror of emacs-devel@gnu.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

* Re: [drew.adams@oracle.com: Help on font-lock-add-keywords: APPEND is a poor name.]
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Romain Francoise @ 2005-12-14 11:24 UTC (permalink / raw)
  Cc: emacs-devel

"Richard M. Stallman" <rms@gnu.org> writes:

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

I've done that.

-- 
Romain Francoise <romain@orebokech.com> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter

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