Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!quiroz From: quiroz@cs.rochester.edu (Cesar Quiroz) Newsgroups: gnu.emacs.bug Subject: Unfriendly naming of re-search-* Message-ID: <1989Dec3.063307.3905@cs.rochester.edu> Date: 3 Dec 89 06:33:07 GMT Reply-To: quiroz@cs.rochester.edu (Cesar Quiroz) Organization: U of Rochester, Dept. of Computer Science, Rochester, NY 14627 Lines: 24 Summary: re-* is not used in the rest of the system. Other code and the documentation use the word "regexp". The naming scheme would be friendlier if it used "regexp" uniformly, instead of "re-" and "regexp". Not quite a bug. This is in 18.55, but has been like this since I can remember (v15 or v16, eons ago). It just made me waste time one times too many. Every now and then I forget the names of re-search-forward and/or re-search-backward. Invariably, it takes me forever to figure them out, because I end up giving `M-x apropos' arguments that include "regexp". (Of course, I could try the obvious `M-x apropos search', but you get the idea that regexp stuff should be findable by saying "regexp".) Could it be possible, in future releases, to have friendly synonyms for them? How about: (fset 'search-forward-regexp 're-search-forward) (fset 'search-backward-regexp 're-search-backward) That wouldn't break anything, I think. While there, a synonym for string-match that included "regexp" may also help. Thanks! -- Cesar Augusto Quiroz Gonzalez Department of Computer Science University of Rochester Rochester, NY 14627 Brought to you by Super Global Mega Corp .com