From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.help Subject: Re: Debugging SMIE for sh-script.el Date: Sun, 5 Sep 2021 19:41:23 +0300 Message-ID: <760e21aa-03ea-fb6c-5625-57493c59e455@gmail.com> References: <87k0jz9rri.fsf@gmail.com> <04ae9f30-5e65-d7de-501e-92d557ddf84c@gmail.com> <87bl5ad5g4.fsf@gmail.com> <3b4cea5f-c08f-3307-655f-a43185ada5ee@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1345"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 To: Stefan Monnier , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 05 18:42:03 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 1mMvDW-0000Ch-9z for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 18:42:02 +0200 Original-Received: from localhost ([::1]:41858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMvDU-0007u8-Ei for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 12:42:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMvCz-0007tl-G9 for help-gnu-emacs@gnu.org; Sun, 05 Sep 2021 12:41:29 -0400 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:36556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMvCw-0006Yl-W9 for help-gnu-emacs@gnu.org; Sun, 05 Sep 2021 12:41:29 -0400 Original-Received: by mail-lj1-x232.google.com with SMTP id p15so7057682ljn.3 for ; Sun, 05 Sep 2021 09:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=ejrMzoVPRr0pJEqUcEvqzeYzBnuYWI1+5bUBM414g7M=; b=A9DkXXJMoHlxNcvpJlFnAoMQ/IB2L5kNpGx+i4IhSd8/Bsdo6gC5LNnSpwhuiG7Uus up77QE/xqErB5cg7Ckk1AlWeuG3IAqL+aVMrpVXHYnBv90822GL2JYrpeiUVP5wrPnqn /ZXZv0Yq5iAVJ9A98ltQKUf21u9VeJCyGlALpvmsgC5Hab1NrpLuyYR2qdWVWKaq+A6X LWEjrHJZGO0D2SSBtmbblda2EszfPMO6+2dkkdklYaMIx9L69FI5cuLTHGFoAED82tA2 QG14fUdcH6o4J1Qso0pj3RsajSHR/tjTOTn8Rl+rTxJq7bbvFVbR22+Cdu/166dhkwCz NEFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ejrMzoVPRr0pJEqUcEvqzeYzBnuYWI1+5bUBM414g7M=; b=c2PVidkiFZynI0WgTJiknYKpuGcXrljo+mnn0N4W002ZPFfIJysknzaetWGxMdyyey Pnr2Vst5x3XV2gnfUn1SjPJwRy0cN8ht+AA6T8VgmrxGkqlBA3aOmJ1MF+P+rnLWwKb5 Uc3ATue75HYPv2z7BNkZGiHpodX5u7BsnOeu+9vkoHsBavU07GXnFgr7dNTMTHTIQcG2 YCJThZjJWSepiSFEPvzHaOjk3m6n59bukbye1UOU8XWzL5r6dz5ujNowSjxksYgZlaQx fF1G7R3U3CXJdOoAw4KvPZNkxcKTt8HEncHcM78OJSyCJYWJcQqyZ/eWCXyjXRInE/ei a17w== X-Gm-Message-State: AOAM533qqNxidN+35UfCmy+Tus9vIooUV9rJIKZwVQBc3r/JYfUGdqkM WtYwcCp69ZUbzA+gRZ9P1f6GN95iD8Q= X-Google-Smtp-Source: ABdhPJxrFwnwk932oi4TL/EKoSNmPdoBCLRSKshO1HxGxBL8lNY2dGw5wt1QWYnUDqeMTDgL7rZ6sQ== X-Received: by 2002:a2e:5c9:: with SMTP id 192mr7153314ljf.337.1630860084612; Sun, 05 Sep 2021 09:41:24 -0700 (PDT) Original-Received: from [192.168.1.72] (128-69-156-0.broadband.corbina.ru. [128.69.156.0]) by smtp.gmail.com with ESMTPSA id c5sm674759lji.67.2021.09.05.09.41.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Sep 2021 09:41:24 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=nikolay.kudryavtsev@gmail.com; helo=mail-lj1-x232.google.com X-Spam_score_int: -58 X-Spam_score: -5.9 X-Spam_bar: ----- X-Spam_report: (-5.9 / 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_FROM=0.001, NICE_REPLY_A=-3.832, 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-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:132906 Archived-At: > I'm not sure which "other functions" you're thinking of I was talking about other smie-indent-functions. sh-smie--indent-continuation does a wacky thing in that it runs (smie-indent-calculate) again while excluding itself and then looks at the results and decides "ok, that's good enough".