From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Elisp: help on string operations Date: Tue, 08 Nov 2016 23:29:27 +0100 Message-ID: <87mvh9a9mg.fsf@web.de> References: <2016-11-05T20-07-58@devnull.Karl-Voit.at> <87vavyxdjn.fsf@web.de> <2016-11-08T18-33-51@devnull.Karl-Voit.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1478644240 21522 195.159.176.226 (8 Nov 2016 22:30:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2016 22:30:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: Karl Voit , help-gnu-emacs@gnu.org To: Karl Voit Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 08 23:30:36 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4EuC-00029w-9k for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Nov 2016 23:30:12 +0100 Original-Received: from localhost ([::1]:35821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4EuF-0001ot-BN for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Nov 2016 17:30:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Etp-0001ob-LQ for help-gnu-emacs@gnu.org; Tue, 08 Nov 2016 17:29:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Etl-0005g3-Ns for help-gnu-emacs@gnu.org; Tue, 08 Nov 2016 17:29:49 -0500 Original-Received: from mout.web.de ([212.227.15.14]:51754) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4Etl-0005ft-Ee for help-gnu-emacs@gnu.org; Tue, 08 Nov 2016 17:29:45 -0500 Original-Received: from drachen.dragon ([90.186.0.49]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0MC6ZE-1bvTTI3PJw-008sur; Tue, 08 Nov 2016 23:29:41 +0100 In-Reply-To: <2016-11-08T18-33-51@devnull.Karl-Voit.at> (Karl Voit's message of "Tue, 8 Nov 2016 18:36:01 +0100") X-Provags-ID: V03:K0:9KfHBhZbnPxmp2xO9lSoEPiOCbHggcaJZLcuxxZRGbMyzdy0mqH ErQZ21+9pORGDb7ddYP06F9/qqDxUGUulWP03xWYuptnO72ATy7IvY93G2In1gHY05qr2je KBAIla0ilshvJFOmQkmPhjx9/ZQi5iocO8hDM5IcQuzx7Muv6mhGMRw2Cezw6zmN36puvXj WKCKmfGlkslsTSmrL4INQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:yMPAs2Bt7q0=:4YHenRfis1ESWA/cVMoFnI pj49OQYsCCqllC8X1SsHej0O+AfhDB96Ss68csV6k+jkmvragx4kZ2hN4kv7I27EsisaX0/Rk VXXMUh++VTkMUTkcf/hGw891AdUjLfgfqi83Zac5LrKuCnZ99i/hTNTkZOBAmlxCZmUyJCB9W 6prDgPdE8is+vYnahQgbnDc/VISx/k8O8WUSHoG+AjBvoHw3uYq5rHXzwIcLPwCy+CaDwa0Qf yBQFdcMcjccJ4gbm3bQhWzrskI0ZRd5uTx1nWp/d8RSPz5dllTkf95X87RHTW+OjwqMC1Pf15 MzfXd/NG/4B6SGaHstD0gJVqbfcqus8KcExUcWWwpK8n1fLf2fNrBE9aDkEOxO3lOgk5D3GDw 0bRCP5Rty3T3qy6GkpuVm9kOV7o78td+G6ez0dQxYCaDnvbT+3Wrf5EKxlyeo4zv2LnspUq88 +E3UVax1kMFzXig/l9jp6QBvdYHlnu2iOS6jKZJHqaerAhJRVXK9qNcc4K9MAFJ3inC7e2GO5 H6TaE9O5DKiT486RUxgR9VXL64u2NAyqfpPwqwaGKVPZ28RK6H4XsGouT6PsTmmLCOmFYdz39 1CWr84HsjHwjNaaoMIZFyGUET0cFi5ncZwlG6ufpNsYiztzksktZiVN5FXJaKz1GN+V9M8sXh 8mhQKVGoRqoxV8ZutyybSJovdAdDkO38qw6JEOoEfbH1T/p8KlWEzZWRXB+tXzwaYJpAX7PTn PjFk4V4iCRr1/HvCWUB3qo26Q1rjIE9fnMKBv2wvHDMXHXJfJqgxfLkp23HwKvflocHam0ju X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111691 Archived-At: Karl Voit writes: > > You could use `with-temp-buffer', insert the string and do your work > > there. Alternatively, go with `count-matches' or `split-string'. > > Ah, so there are no string operations on strings in "memory" but > rather (lots of) string operations on strings in buffers. I see. No no, there are tons of string operations, `split-string' is one of them. But if you feel more comfortable with buffer operations, you can go with temp buffers, unless speed is very crucial. > Danke! Aber gerne doch! Michael.