From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reza Nikoopour Newsgroups: gmane.emacs.devel Subject: Re: Help Understanding syntax-propertize-function Date: Mon, 15 Mar 2021 16:58:41 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000015e4c805bd9c08f0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17689"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 16 00:59:43 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lLx7f-0004WS-TG for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Mar 2021 00:59:43 +0100 Original-Received: from localhost ([::1]:56810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLx7e-0000rS-Sr for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Mar 2021 19:59:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLx6s-0000Q5-ML for emacs-devel@gnu.org; Mon, 15 Mar 2021 19:58:54 -0400 Original-Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]:42726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLx6r-00084Z-1B for emacs-devel@gnu.org; Mon, 15 Mar 2021 19:58:54 -0400 Original-Received: by mail-io1-xd2d.google.com with SMTP id u20so35285480iot.9 for ; Mon, 15 Mar 2021 16:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MdJe/PW/6PNBLRFVElRt4ZdFabwpe0mQCanc6r5QArM=; b=f9YfXfvY3JfNiYcrGaRNPCs9irRzwcUXR2tfNMlpFtlYbZN2Hu3d79SQF1hNv6oPw0 D0d7/H3ow5djAjSzR4G7H5YYGSlOe46yGUifwkkN5i7C5mPuU5rtH5WkSGGWTZgc3Icu axJZ1trToc3AnOaYU0xjAL/dX1KWykBFl8KhRXEz/AK8HUWyBs6kMmEOHcV7nVMBQ2RB /GRJc1mxqOhhMTrfDT2orBtumpyFpWejUJGRl1uK93s30KFwCnSwX4lM6PGo9CQrtEBk G7yPwGW+8jVwVTMxcxE3OhEqoN6IK5PGZhvK74CQJlsVBztN2GC0ae0poBRNy8y2jVOk o3zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MdJe/PW/6PNBLRFVElRt4ZdFabwpe0mQCanc6r5QArM=; b=htCAj03DTLBlDP4MK+CUVXs1DfdUM1NF3vtY99hK10HVEdN0N18+vw2vZR4TPSea/A wNYIS+Th/rX3QdUct69DAd+Z3IEVnxLCZ4mP62js0ciiEhK7oULGn01mX1LslkJIiOJF DkZcvx6IjsmaHhQaI7GGhVeAFZra1CwSun7HDJqOoetFYy7lqIbWm7NW/pImLTo0Wotv c5WpcqQfwQ+OkNtjnK7pa1uWlUtkjs2TzPKV5gxJEjCPWDIYDpojPSYtrL954IYI6BLk LtIkT4Z0gp/m4TFMzy2JhyxEYQv2f2wb5GLidI+G1e8tRUSBkTKO1JTy9MBXAML6f9Qx wQLQ== X-Gm-Message-State: AOAM531Y8mF5AyxqHgmbyf5FATdmuV7nysnM/O4bgbWi0dZD3uoLjLUO 40tkKTzQfmo8k4X8M5s0Asg7dw5nzXttuWttnr4= X-Google-Smtp-Source: ABdhPJzD0G3/nCYbhn4Ogs2LkDXjPHBGwvoxBK0GYDe0cf8iJuWFYsagdZm0R6462gSQx5PtpfxXnq07QcZsoXKa7xQ= X-Received: by 2002:a05:6602:3144:: with SMTP id m4mr1445533ioy.103.1615852731752; Mon, 15 Mar 2021 16:58:51 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::d2d; envelope-from=rnikoopour@gmail.com; helo=mail-io1-xd2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266489 Archived-At: --00000000000015e4c805bd9c08f0 Content-Type: text/plain; charset="UTF-8" > I'm not sure which part you don't understand, so I'll stick to > generic ideas: Thanks that helped a lot and enabled me to figure out what to ask! > So we first call `hcl--syntax-propertize-heredoc` which should detect > when we're inside a heredoc and if so process it until its end and if not > do nothing. I'm struggling to understand what `hcl--syntax-propertize-heredoc` is doing. Could you provide a high level explanation like you did with `hcl--syntax-propertize-function`. That helped me a lot. Cheers, Reza --00000000000015e4c805bd9c08f0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> I'm not sure which part you don't understand,= so I'll stick to
> generic ideas:

Thanks that= helped a lot and enabled me to figure out what to ask!

> So we f= irst call `hcl--syntax-propertize-heredoc` which should detect
> when= we're inside a heredoc and if so process it until its end and if not> do nothing.

I'm struggling to understand what `hcl--synta= x-propertize-heredoc` is doing.=C2=A0=C2=A0
Could you provide a h= igh level explanation like you did with `hcl--syntax-propertize-function`.= =C2=A0
That helped me a lot.

Cheers,
Reza
--00000000000015e4c805bd9c08f0--