From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: bug#31636: 27.0.50; lockfile syntax searchable from info manual Date: Tue, 5 Jun 2018 16:08:40 -0400 Message-ID: References: <20180529073311.EEA09102DA@mailuser.nyi.internal> <876036hn2e.fsf@gmail.com> <87tvqqd7rp.fsf@gmail.com> <87r2lufvo9.fsf@gmail.com> <83r2luv28h.fsf@gnu.org> <87a7sib7ty.fsf@gmail.com> <83in75vp8l.fsf@gnu.org> <87wovkyv6l.fsf@gmail.com> <83tvqmga79.fsf@gnu.org> <87h8mmu6jp.fsf@gmail.com> <83k1rifyqo.fsf@gnu.org> <87y3fyskns.fsf@gmail.com> <87tvqmsjww.fsf@gmail.com> <87bmcqlwhn.fsf@gmail.com> <8336y2czrp.fsf@gnu.org> <87zi0a5v4z.fsf@gmail.com> <83tvqh9sqp.fsf@gnu.org> <87lgbtm2q2.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1528229590 26638 195.159.176.226 (5 Jun 2018 20:13:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Jun 2018 20:13:10 +0000 (UTC) Cc: Eli Zaretskii To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 05 22:13:05 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fQIKH-0006ln-HE for ged-emacs-devel@m.gmane.org; Tue, 05 Jun 2018 22:13:05 +0200 Original-Received: from localhost ([::1]:48917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQIMM-0001I6-W3 for ged-emacs-devel@m.gmane.org; Tue, 05 Jun 2018 16:15:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQIG3-000543-EX for emacs-devel@gnu.org; Tue, 05 Jun 2018 16:08:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQIG2-0004JU-8w for emacs-devel@gnu.org; Tue, 05 Jun 2018 16:08:43 -0400 Original-Received: from mail-ot0-x22d.google.com ([2607:f8b0:4003:c0f::22d]:33945) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQIG2-0004JH-3b; Tue, 05 Jun 2018 16:08:42 -0400 Original-Received: by mail-ot0-x22d.google.com with SMTP id i5-v6so4388423otf.1; Tue, 05 Jun 2018 13:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gq5iPniOf5M58sDWQbyxRS6zDqesuBGxVraegnVe5hk=; b=G1x62RyyDVZ0eaKa3pro41SPQGZaW7pf++mgFbaBzMUzt2vGe/r4WY8B5bU1DKicgQ PjVn7SC0uZlVeBYygMlw0Bxsb5pN7iOFKrhdUC3NyE8OZ2AYY7JbsSgCfXiMff+RjFTd B1mY9xwD1MqEUD+8pE4AruiEytZvZFIzuWkmIlDaBiCh0Aeyj1fEHuEz3l1DyaSSzQ1V k7Ts6HnvGsFjMhADBloHCB3K9+AyWFmR/qC3dwllmEZ6Tc5vMKuOR8mS+YD47X1/zj3u IACfQsfJQ+bbgLARBy+Ep4XvklNHkOmRhIZCnfVikKF1d49IxPG1Nn9gbuAIFYnzVZL2 MgdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gq5iPniOf5M58sDWQbyxRS6zDqesuBGxVraegnVe5hk=; b=jyBurXVPpx3jJJEr0RazIJ1UUVdt+NiSISlPRfRZWVzZEJPCk3KjJoNP72W6MyQahe waSIc/JEYfK0p3qFYGdsdGh1oyZVju197dcN/g5HRzkW0wqgXHxJbk4f/grnKx+JufEe ZjOBCCnRtFYyhmhT3cciUySozuuAo9qdaz0O88W4zDW4kkDOh28UPIok8A4QywLkHW+z dpVSDwVrXs/S+fVhZn1l2P2urnrL2V8b5fWrD5bgnUErKxT1Z3uufa1Lo4ogp1pJJlgO //P9dSK6+rIATRPLIBo6h4fCuMZRJDBktiYBkvbxQWom0emZftXsyZySWfYJb9QOkZEH HKoQ== X-Gm-Message-State: APt69E0AhagUjZlVE4EHEYWgl65BkSIwcjowWt0v9d0A2uKWZAmCJAM/ R+6XynXM2IrZbrQUo4zlvkUc1ADn+dBYOdlDpqo= X-Google-Smtp-Source: ADUXVKJ/GHwj9ogFba8gTTI0fiUrFBPfMGUs7MIORtlhMWrFm+1b3aL5O8GGTQBRV24R1sDcTUC7PaB7ncZbyE9O3q0= X-Received: by 2002:a9d:94:: with SMTP id w20-v6mr67466oti.248.1528229321382; Tue, 05 Jun 2018 13:08:41 -0700 (PDT) Original-Received: by 2002:a4a:3b84:0:0:0:0:0 with HTTP; Tue, 5 Jun 2018 13:08:40 -0700 (PDT) In-Reply-To: <87lgbtm2q2.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226049 Archived-At: On 5 June 2018 at 15:51, Robert Pluim wrote: > Latest version attached. I now limit the skip-syntax-backward to the > current line. > ((char-syntax (char-before)) at bol is '?>' in texinfo mode, which is > somewhat surprising, since it's '? ' in text mode) This is the case in every mode which supports line comments, I think. > + (cond > + ;; parenthesis > + ((looking-back "\(") That "\(" should be just "(". And I think you'll want to give a limit to the looking-back calls, otherwise they can keep searching until the beginning of buffer.