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: Make Heredocs a first class citizen Date: Mon, 10 Jan 2022 10:56:32 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000bf78d505d53ee57e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39454"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 10 20:01:22 2022 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 1n6zv0-000A30-JC for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Jan 2022 20:01:22 +0100 Original-Received: from localhost ([::1]:47124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6zuy-0003SS-Lf for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Jan 2022 14:01:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6zqZ-0008Tk-EC for emacs-devel@gnu.org; Mon, 10 Jan 2022 13:56:47 -0500 Original-Received: from [2a00:1450:4864:20::136] (port=35387 helo=mail-lf1-x136.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6zqX-000139-3N for emacs-devel@gnu.org; Mon, 10 Jan 2022 13:56:47 -0500 Original-Received: by mail-lf1-x136.google.com with SMTP id g11so47816727lfu.2 for ; Mon, 10 Jan 2022 10:56:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=htJRliGBUItINq3l91ajnR/BfHiYEkCY/byAR0jK9lY=; b=Du+CMRnYLXwqhN1BQxrtnDWNToC6vrJrXkE3zxmpRJKlUhq44wKSDi0McXnmyPafyW 58rcKZ2E5EtwDzFWCCbC/vDocOsg/g2s9D6k566DYOy57nSKzBMvWXCTW3cdNfaareEB BNdL2CZVgmkrJSDPMSkhjC+FwbElGbKMuJvwBIVr8cZhxvOGTokQ8TMea7o3AR01l8+S Xh4j0VFOQSPg/pLkOhzABcJJw4XJ2hvEPd+PahFjswndEM2VnNRqrHS9XhH0Uk4+BsAi EeFQeYX2nvmM21ue/XCtWmjrkF4UMjYdBfrBDRP8jTS7RyxATe0dt7sRHA9T3aQwwAgD LfgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=htJRliGBUItINq3l91ajnR/BfHiYEkCY/byAR0jK9lY=; b=LDHqtIV7SB8cMPbLlVBMFQslIQimFburmfBwN/gYuqYefN6ultzXQx8vi6PkC8n6sL MC4RV/OkSKMqqLV6h7p3HODRkkXEt62EXSrMiAqERNTP/vUYEbAxLOSRF9wte3cwiSS4 1dj4iMQmxzWVUM1h9LXtgp6qw2ZraMGsW0f04zNVeRKYyNsRsIlNaYDkBy21r5liCqpz J2WFTTUCEBWQ/NUP06FNRoxvtwNJUdsxvfKoUaXJvOxewxXKygMUyuJUqfIq5I7YL81d I8sUjgMWweWYBh+WWIqYHvA6F7PdbDo6pkjK9sG2xArShkqwFvltkg2qbKvVk9dx7rJk QHTg== X-Gm-Message-State: AOAM531ArSRk3l1Oc6ORGM2RTh/9JJrrt/GhSeK/63UZjisiunDYAbdv PtXavfmRN3aXTaz7nRurZZjfDAbCCdRFn1gc9fCsMY/V X-Google-Smtp-Source: ABdhPJzEfVT9VJapmYheq8QxjhvJmiNm8qnd3RcbLdDQnzEC6Q4syr53esz0qHw0p26ybXj2pYglNyGaQ0WAvc238tU= X-Received: by 2002:ac2:5e75:: with SMTP id a21mr806189lfr.174.1641841002771; Mon, 10 Jan 2022 10:56:42 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::136 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=rnikoopour@gmail.com; helo=mail-lf1-x136.google.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_05=-0.5, 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:284547 Archived-At: --000000000000bf78d505d53ee57e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi All, I=E2=80=99ve been struggling to implement heredoc highlighting. I=E2=80=99v= e read various implementations and they all differ. It got me thinking that it would be nice is emacs could provide syntax highlighting for heredocs in the same way it does for multi-line string and multi line comments as syntactic constructs. Seeing as multiple languages support heredoc syntax it seems like a good fit for a core feature. As I=E2=80=99m struggling to do this myself I don=E2=80=99t feel like I can= be the person to implement this. Cheers, Reza --000000000000bf78d505d53ee57e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi All,

I=E2=80=99ve been stru= ggling to implement heredoc highlighting. I=E2=80=99ve read various impleme= ntations and they all differ.=C2=A0

It got me thinking that it would be nice is emacs could provide= syntax highlighting for heredocs in the same way it does for multi-line st= ring and multi line comments as syntactic constructs.=C2=A0

Seeing as multiple languages support = heredoc syntax it seems like a good fit for a core feature.=C2=A0

As I=E2=80=99m struggling to do t= his myself I don=E2=80=99t feel like I can be the person to implement this.=

Cheers,
Reza
--000000000000bf78d505d53ee57e--