From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Obsolete code in sregex.el Date: Mon, 06 Jun 2005 14:01:51 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118060108 1194 80.91.229.2 (6 Jun 2005 12:15:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2005 12:15:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 06 14:15:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfGRp-0007m6-VF for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 14:11:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfGY7-0007Vs-HV for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 08:17:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DfGXE-0007KG-71 for emacs-devel@gnu.org; Mon, 06 Jun 2005 08:16:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DfGXD-0007Jx-Dn for emacs-devel@gnu.org; Mon, 06 Jun 2005 08:16:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfGVj-0006o9-R0 for emacs-devel@gnu.org; Mon, 06 Jun 2005 08:15:20 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfGLb-0006X2-Kj for emacs-devel@gnu.org; Mon, 06 Jun 2005 08:04:51 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id 274C95EE0B1; Mon, 6 Jun 2005 14:01:29 +0200 (CEST) Original-To: Bob Glickstein User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:38161 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38161 I noticed the following declarations in sregex.el. But I don't see any references to them, so maybe they can be deleted? ;; Compatibility code for when we didn't have shy-groups (defvar sregex--current-sregex nil) (defun sregex-info () nil) (defmacro sregex-save-match-data (&rest forms) (cons 'save-match-data forms)) (defun sregex-replace-match (r &optional f l str subexp x) (replace-match r f l str subexp)) (defun sregex-match-string (c &optional i x) (match-string c i)) (defun sregex-match-string-no-properties (count &optional in-string sregex) (match-string-no-properties count in-string)) (defun sregex-match-beginning (count &optional sregex) (match-beginning count)) (defun sregex-match-end (count &optional sregex) (match-end count)) (defun sregex-match-data (&optional sregex) (match-data)) (defun sregex-backref-num (n &optional sregex) n) -- Kim F. Storm http://www.cua.dk