From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Roehler Newsgroups: gmane.emacs.devel Subject: Re: general-purpose.el - a general-forms-resource-utility Date: Fri, 07 Jul 2006 08:32:15 +0200 Message-ID: <44ADFFEF.6050204@easy-emacs.de> References: <44ACE1B5.10909@easy-emacs.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152253861 687 80.91.229.2 (7 Jul 2006 06:31:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2006 06:31:01 +0000 (UTC) Cc: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 07 08:30:59 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fyjrd-0006Cg-Tr for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 08:30:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fyjrd-0000UE-BA for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 02:30:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FyjrR-0000Tu-2W for emacs-devel@gnu.org; Fri, 07 Jul 2006 02:30:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FyjrP-0000Sx-UG for emacs-devel@gnu.org; Fri, 07 Jul 2006 02:30:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyjrP-0000Sp-PK for emacs-devel@gnu.org; Fri, 07 Jul 2006 02:30:43 -0400 Original-Received: from [212.227.126.183] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fyjrj-0000bX-TG; Fri, 07 Jul 2006 02:31:04 -0400 Original-Received: from [84.190.155.85] (helo=[192.168.178.23]) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1FyjrM1oKg-0002O8; Fri, 07 Jul 2006 08:30:40 +0200 User-Agent: Thunderbird 1.5.0.4 (X11/20060516) Original-To: rms@gnu.org In-Reply-To: X-Provags-ID: kundenserver.de abuse@kundenserver.de login:62d13292e0fce6aaed56aaadcb96352d 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:56699 Archived-At: Richard Stallman schrieb: > Just today I saw > > (defun region-around-match (&optional n) > (set-mark (match-beginning n)) > (goto-char (match-end n))) > > (defun region-to-string () > (buffer-substring (min (point) (mark)) (max (point) (mark)))) > > in mlsupport.el. > > These are not useful. There are other good ways to do these things. > OK. But which? Where and how to find it quickly? What I tried to say is: The sources are full of paralell defined subroutines - more or less useful and suitable. There are at least six different scattered string-strip definitions I esteem. Why not think about a way to relate and reflect these different - already exiting and delivered - definitions? __ Andreas Roehler PS. Probably the message's subject should not say `a general-forms-resource-utility', rather `towards a general-forms-resource-utility' - that's to late now. :)