From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: looping through re-seach-forward gives error Date: Sun, 20 Mar 2016 15:13:47 -0700 (PDT) Message-ID: <8982c2b1-5f5d-4e92-9472-fe895384552d@default> References: <87pouoom5x.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1458512070 1210 80.91.229.3 (20 Mar 2016 22:14:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2016 22:14:30 +0000 (UTC) To: jenia.ivlev@gmail.com, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 20 23:14:18 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ahlc1-0007qz-Bt for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Mar 2016 23:14:17 +0100 Original-Received: from localhost ([::1]:54652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahlc0-0005dy-9P for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Mar 2016 18:14:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahlbi-0005Zx-4L for help-gnu-emacs@gnu.org; Sun, 20 Mar 2016 18:13:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahlbe-0002Et-TT for help-gnu-emacs@gnu.org; Sun, 20 Mar 2016 18:13:57 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:27444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahlbe-0002Eo-MR for help-gnu-emacs@gnu.org; Sun, 20 Mar 2016 18:13:54 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u2KMDnRU015800 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 20 Mar 2016 22:13:50 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u2KMDnwJ025738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 20 Mar 2016 22:13:49 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u2KMDmUV005886; Sun, 20 Mar 2016 22:13:49 GMT In-Reply-To: <87pouoom5x.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109639 Archived-At: > (defun find-start-of-sexp () > (re-search-forward "(" (point-max) t) > (backward-char) > (point-marker)) What happens if (re-search-forward "(" (point-max) t) returns nil? > (defun find-end-of-sexp () > (forward-sexp) > (point-marker)) What happens if (forward-sexp) has a problem?