emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Help on font-lock-add-keywords: APPEND is a poor name.]


From: Richard M. Stallman
Subject: address@hidden: Help on font-lock-add-keywords: APPEND is a poor name.]
Date: Sun, 11 Dec 2005 17:57:30 -0500

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" <address@hidden>
To: "Emacs-Pretest-Bug" <address@hidden>
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: address@hidden
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
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]