From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Addition to lisp/misc.el Date: Fri, 12 Sep 2003 17:05:17 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <1062321287.3f51bc87d20ae@impt1-2.free.fr> <87pti72et9.fsf@tc-1-100.kawasaki.gol.ne.jp> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1063401158 2374 80.91.224.253 (12 Sep 2003 21:12:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2003 21:12:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Sep 12 23:12:36 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xvDY-0001ea-00 for ; Fri, 12 Sep 2003 23:12:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19xvEz-0008Ex-00 for ; Fri, 12 Sep 2003 23:14:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19xvDO-0005H4-Mb for emacs-devel@quimby.gnus.org; Fri, 12 Sep 2003 17:12:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19xvC2-0004RG-NY for emacs-devel@gnu.org; Fri, 12 Sep 2003 17:11:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19xvBz-0004N7-Jw for emacs-devel@gnu.org; Fri, 12 Sep 2003 17:11:00 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19xvBy-0004MB-SP for emacs-devel@gnu.org; Fri, 12 Sep 2003 17:10:58 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19xv6T-0000ZT-A8; Fri, 12 Sep 2003 17:05:17 -0400 Original-To: Miles Bader In-reply-to: <87pti72et9.fsf@tc-1-100.kawasaki.gol.ne.jp> (message from Miles Bader on 12 Sep 2003 06:30:42 +0900) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16344 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16344 > (defun zap-up-to-char (arg char) > "Kill up to, but not including ARG'th occurrence of CHAR. > Case is ignored if `case-fold-search' is non-nil in the current buffer. > Goes backward if ARG is negative; error if CHAR not found. > Ignores CHAR at point." Why the `Ignores CHAR at point' anyway? Because otherwise it would be a no-op when CHAR appear there; in particular, repeating it would be useless.