From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: dired-garbage-files-regexp: use regexp-opt? Date: Tue, 07 Jan 2003 11:24:05 +0100 Organization: University of Dortmund, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84isx1mf5m.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041968891 2912 80.91.224.249 (7 Jan 2003 19:48:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2003 19:48:11 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Vzhk-0000kN-00 for ; Tue, 07 Jan 2003 20:48:04 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18VzmR-0002Zn-00 for ; Tue, 07 Jan 2003 20:52:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Vyuy-0001Rj-07 for emacs-devel@quimby.gnus.org; Tue, 07 Jan 2003 13:57:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18VquK-0005Ye-00 for emacs-devel@gnu.org; Tue, 07 Jan 2003 05:24:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18VquF-0005NL-00 for emacs-devel@gnu.org; Tue, 07 Jan 2003 05:24:27 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18VquF-0005MA-00 for emacs-devel@gnu.org; Tue, 07 Jan 2003 05:24:23 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18VqtC-0005IJ-00 for ; Tue, 07 Jan 2003 11:23:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18VqtB-0005I3-00 for ; Tue, 07 Jan 2003 11:23:17 +0100 Original-Path: not-for-mail Original-Lines: 13 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:xtqYWTMMx48QoEnnNBsBDZIHta4= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10534 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10534 The current value of dired-garbage-files-regexp uses things like \\.xx$ for matching *.xx files. I suggest to use \\.xx\\' instead, for consistency with other places in Emacs. OK to fix? The current value of dired-garbage-files-regexp uses a\\|b\\|c to match various alternatives. I suggest to use regexp-opt for that. It makes the code easier to read. OK to fix? -- Ambibibentists unite!