From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel 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 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1134342462 13395 80.91.229.2 (11 Dec 2005 23:07:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2005 23:07:42 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 12 00:07:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ElaHz-0003YU-ED for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2005 00:07:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElaIQ-0005N9-VB for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2005 18:07:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ela9m-0007KQ-23 for emacs-devel@gnu.org; Sun, 11 Dec 2005 17:59:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ela9l-0007Jw-3Y for emacs-devel@gnu.org; Sun, 11 Dec 2005 17:59:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ela9k-0007Jr-SL for emacs-devel@gnu.org; Sun, 11 Dec 2005 17:59:00 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ElaBN-0000N7-Bw for emacs-devel@gnu.org; Sun, 11 Dec 2005 18:00:41 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Ela8I-0007wL-CJ; Sun, 11 Dec 2005 17:57:30 -0500 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47493 Archived-At: 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" To: "Emacs-Pretest-Bug" 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 -------