From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.help Subject: Re: re-search-forward hangs Date: Mon, 30 Jul 2018 21:29:54 +0200 Message-ID: <11cb916e-0217-4e3c-8370-6d79d43972f1@easy-emacs.de> References: <83tvogpzcr.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1532978710 27098 195.159.176.226 (30 Jul 2018 19:25:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2018 19:25:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 21:25:06 2018 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 1fkDmz-0006vd-9j for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2018 21:25:05 +0200 Original-Received: from localhost ([::1]:55516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkDp6-0004Fz-0E for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2018 15:27:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkDod-0004Fu-GN for help-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:26:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkDoa-0001hp-9M for help-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:26:47 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.134]:55431) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkDoZ-0001hR-Uw for help-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:26:44 -0400 Original-Received: from [192.168.178.35] ([188.103.24.235]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MP6Q7-1fduQ33bRH-006KoI for ; Mon, 30 Jul 2018 21:26:41 +0200 In-Reply-To: <83tvogpzcr.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:hSLNhPWD3PSMnsg1wqNS1JcnI7VmWkm26TQ9DlSV5b9+UzGGv/1 0oCraODGePZasR/H2rgiZlIyYOS2DXf0JZzn2mKUpyTFzvZ4w30+iF6UUjeYFOPq/FkKMHo N3MV9SV/JxylcoF8a360VX2rAVpwwRPbqlYEq7ugO5404BChpr4YJNTl+PYEUu4DClo5Eo/ icVvonFnbJFV09oHP/yTQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:55MzCDBWkXc=:fdwIodjL16sWPh2eB3okag HS9anjB8WUOeHjPO79L7fIVfLCtjk5I6ZfJHooVS4y4rDN4SmbFy8qIkoYwtjxtFPha+3X/j0 GBHiNjR5qOx/qV/+byX9PRpFSRm/caaeoXMLSe4oDOKuFuqbuu2Y82B49N0AT58b5tgHVBwHk y0FnyCmBH+XhwhO8Io+72tXLYS77yVte7d9giVges0BU2JqNxagXmqPb1TnHabRtSIaqiVAGH kHgWcUP3n++NmXWYPCTu70RWJ92SAjy7XqMDGdZ3ZvQ7Y5doXgIDSKseOUevsyzc+ZnS1WASw yJBMtVRyMgjIVEimUcmdZarxUISgwUarB5fo9BROPZZBJRgoyEMHc6J5x8r/s0zzsel26mHfm nhHadv8TlSIii2sHDM0pkb8XahYMKPSj8TFsn8dMXu0ffoXGkjhrvyfqcdXBKmQGBHJILhVPK PFX9RatNcG0DcGV5h0FSsA5g0boQqi675a/VuSwR/rsWqHWI+7ubgfte3GyzJj4lUaXPzeloi EUF4tY+wvm/YXlwWCRxvDjL9Djrf49mjjcXJZTvfQU4pQmu3+2Mrav19OTi4Pu3EpcgQ/iecV do/hvkYn+HRCjxSqjFJv35+rJXZsivUcBmFvjJuR6wpCVTRtMMtIWYyD06WqrM3g1jKcT4hHY YD+5QH9vpozKt7GgpYCa1is9ZkT9LizcB72tem9yvNe+0FgfGqjG5FWDFWNhNikpLs62jx9TI CLKEprLCIPv1HXq+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.134 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:117612 Archived-At: On 30.07.2018 16:33, Eli Zaretskii wrote: >> From: Andreas Röhler >> Date: Mon, 30 Jul 2018 14:24:06 +0200 >> >> (while (re-search-forward "" nil t 1)) >> >> Emacs hangs. >> >> Same with plain >> >> (while (search-forward "" nil t 1)) >> >> Expect it terminating. >> >> Are there reasons for this? > > Why did you expect it to terminate? > Expect a call of search-forward from EOB not being successful.