Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!ginosko!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!sun.com!peck From: peck@sun.com (Jeff Peck) Newsgroups: gnu.emacs.bug Subject: looks like regexp collides with substitute-command-keys Message-ID: <8908040135.AA08618@denali.sun.com> Date: 4 Aug 89 01:34:53 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 23 in emacs version 18.54, the docstring for sort-regexp-fields confuses substitute-command-keys. sort-regexp-fields: Sort the region lexicographically as specifed by RECORD-REGEXP and KEY. RECORD-REGEXP specifies the textual units which should be sorted. For example, to sort lines RECORD-REGEXP would be "^.*$" KEY specifies the part of each record (ie each match for RECORD-REGEXP) is to be used for sorting. If it is "\digit" then the digit'th "\(...\)" match field from RECORD-REGEXP is used. If it is "\&" then the whole record is used. Otherwise, it is a regular-expression for which to search within the record. If a match for KEY is not found within a record then that record is ignored. With a negative prefix arg sorts in reverse order. For example: to sort lines in the region by the first word on each line starting with the letter "f", RECORD-REGEXP would be "^.*$" and KEY " Uses keymap "f\w*\", which is not currently defined. "