From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pierre Rouleau Newsgroups: gmane.emacs.help Subject: Re: When is a syntax-propertize-function called when parse-sexp-lookup-properties is t for a current buffer? Date: Tue, 5 Oct 2021 15:42:25 -0400 Message-ID: References: <874k9vz8fx.fsf@zoho.eu> <87wnmrxpbh.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26955"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 05 21:43:12 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mXqLH-0006u2-UN for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Oct 2021 21:43:11 +0200 Original-Received: from localhost ([::1]:55424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXqLH-0006Wy-0m for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Oct 2021 15:43:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXqKl-0006S1-TI for help-gnu-emacs@gnu.org; Tue, 05 Oct 2021 15:42:39 -0400 Original-Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:37658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXqKk-0003NG-Fk for help-gnu-emacs@gnu.org; Tue, 05 Oct 2021 15:42:39 -0400 Original-Received: by mail-ed1-x532.google.com with SMTP id f9so960988edx.4 for ; Tue, 05 Oct 2021 12:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=rBRuDdrzLtRdVFfRv7Z1HOzhx8GMg067Oo3udKmTYzA=; b=JvvzcvS/4V1DuKn/YiH7XmTe4wkdzlUk3rR5zgoyTqKR+emP1dMiNns7iO3+OZgjxb pg1taHfR0pBSMu+RWoOEOAzDS7xuVc8vfOJmR+Nx8hbBWNrBAOA1S/okxpxIkrw+LB7E dPHYJ3YeKIYTBUa7CC6i9BicSqO1VKPvNAShuhiJYSUB+TzYG1gbrjB6C9UI25vletDP KpPbFDiKDOIC7kTppp23ujNJwSqNgk+OhJlPvnBrQ4U6yQZ+FmXMiAK89hRaNiBvoJPp uZB1l2DLvnekD4rvFwjnXtpgFIikCShb/huMN74XR6/we8topfVuwCLasYzGDq7+44W+ jHGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=rBRuDdrzLtRdVFfRv7Z1HOzhx8GMg067Oo3udKmTYzA=; b=K9GQ2I7kArlF9tm4VWjAm9KTFuvSN+HOC12MThzHN011F0VSV1Acrd0FHOyU1tcqu2 ol1/0TdiFq4QESGsNgq0LKVjMrgWJ++VutZBi/dEEFTHYy3Ew15sHNAYoPak+C0c/qLz wMNYBwxzLMX6Ovo3murbIOSfA7418tK3YZ16PZbZxdHQX78sRhRuJt6kcxocWldm9uoz ZuuZH3xDz3tWys8sMTowpH85TmHHlQjsaGsWcIOmrg7UWI6ZHwawfjc5gNCtjcq8fyyj SRDGbgGj/Dq3hs1pulcxWQAERc+JsLDuk0haoA9UGu5tByPx8oUlvF0y69+NKfH2CCQb ZCkQ== X-Gm-Message-State: AOAM532u+XevOipYrc8whcHqNpZAgmnDnwVZ4BeTFtZE26841DtxwQh+ qqwbpPMRKXvtDHssFqo5nIaOv+rhWeCFTOsyRLChl8vVbg4= X-Google-Smtp-Source: ABdhPJx4a6F4fA+Do4Vc3L3aj4D36bDVuRMROJJ6gNtL1PRA9YqlddPzT1xnKz0L2xVKONEMqi00ekWYppW9qUqbybk= X-Received: by 2002:a05:6402:19ad:: with SMTP id o13mr29089697edz.109.1633462956494; Tue, 05 Oct 2021 12:42:36 -0700 (PDT) In-Reply-To: <87wnmrxpbh.fsf@zoho.eu> Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=prouleau001@gmail.com; helo=mail-ed1-x532.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133586 Archived-At: > Did you read this > > Only single-character comment start and end sequences are represented > thus. > Two-character sequences are represented as described below. > The second character of NEWENTRY is the matching parenthesis, > used only if the first character is =E2=80=98(=E2=80=99 or =E2=80=98)= =E2=80=99. > in `modify-syntax-entry'? > > I did. That's why I wrote that I thought of using the following: (modify-syntax-entry ?< "(>" table) (modify-syntax-entry ?> ")<" table) But I can't because that would cause unbalancing in code where the > and < are used by themselves, not in << or >> pairs. > Weird/bad this isn't already in the mode BTW ... > > I agree. That's why I'm trying to improve it. --=20 /Pierre