From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#43324: Auto-indenting csh/tcsh shell scripts [emacs-28] Date: Thu, 10 Sep 2020 23:25:01 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000013683705af013df8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19506"; mail-complaints-to="usenet@ciao.gmane.io" To: 43324@debbugs.gnu.org, monnier@iro.umontreal.ca Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 11 05:26:09 2020 Return-path: Envelope-to: geb-bug-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 1kGZhR-0004wF-9Q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Sep 2020 05:26:09 +0200 Original-Received: from localhost ([::1]:43382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGZhP-0006br-QC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Sep 2020 23:26:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGZhL-0006bg-3J for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 23:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGZhK-0003pa-PU for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 23:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGZhK-00033J-LM for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 23:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Sep 2020 03:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43324 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.159979474511708 (code B ref -1); Fri, 11 Sep 2020 03:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Sep 2020 03:25:45 +0000 Original-Received: from localhost ([127.0.0.1]:41926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGZh3-00032m-H6 for submit@debbugs.gnu.org; Thu, 10 Sep 2020 23:25:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGZh2-00032f-My for submit@debbugs.gnu.org; Thu, 10 Sep 2020 23:25:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGZh2-0006aJ-C3 for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 23:25:44 -0400 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:44518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGZgz-0003jR-Et for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 23:25:43 -0400 Original-Received: by mail-lj1-x232.google.com with SMTP id b19so10842762lji.11 for ; Thu, 10 Sep 2020 20:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=fWhi3yMAS3OeCTy2B+OdVR9A2Ltlg0Qpx3FLOmpAQDo=; b=MmlhZoPNH5fJOFej4Gf27u+4ADldi3yDi4G3B05NJ3u+au08hSlopyxLSzrhWzbt8E ZWHqngXAUGxxMwMyfjIlCEyGyfmw7OO+Y8bWjnNo02G75W2o/NeG3jIwiE7HohLKA20J /KKAtFCp2ROgrzwfQwvLdJGWkVgApCYgvfJR6nh//cqSynTbN+aguD9DUG2WhlJbhIxu VnAvTL5qCO7lm4nS8WUeb1upyGcOhklKn41+wvDjwUqmuWv9lV6DMwN41f9yeRJZw1XB M0qV7RrVGNKfWoPGoQW14DafSODbBMTN+T92L/iqndP2LHnbG2l+prW7uSzAWWrt2iZu 4WMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fWhi3yMAS3OeCTy2B+OdVR9A2Ltlg0Qpx3FLOmpAQDo=; b=fZQgXQlbJ7BkXpkNzTdSJhsZsege0HU28VimYWaUBWVNLvGPK//TOPVx6/v0WfCceP aujQ3FF/CU1E0qwoHAHV4j5nvy+OsfkYMVsKKQbC5pD/DsEDqFVr8XxhkimkVcIVRid8 PvqF8jDnAR3kDLw/MJKu45I8s+KQaMr8H1qEO4Hw7c2uevQCL0PymURugIoFMWcW/Ioq q1t6zOIGT+52CQ+CRKSSVp4FLWZmMJc4rUm8POA6JtgrYZQzhOvKqxenFLEn5yN+Dy6p YwgFSHbuQV6pV4VrQuVT5dw4iiZ0Y/pT9Wy9UuzXs40K+KwzK6e9PmuBAfOYZZn1vdDJ ZIjA== X-Gm-Message-State: AOAM532nn3D2h/4AqPxJ4bDp+Txexxy2xP2y44k6ECf9sCh5OXIx15Tx SjLsCT3UZnSwzmQq+JqrnItQDGaViC2WLW7YrF16hZhx3HLlHw== X-Google-Smtp-Source: ABdhPJztuYXkHBETBCrCyj+KE25rD7E4MZ5zk/fNnM/ElQcKuXfisjb5RkYllrjaazmbKxN1S+tyGDLJ17Yl8yzk73A= X-Received: by 2002:a2e:83d7:: with SMTP id s23mr6292981ljh.340.1599794738061; Thu, 10 Sep 2020 20:25:38 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=kaushal.modi@gmail.com; helo=mail-lj1-x232.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187787 Archived-At: --00000000000013683705af013df8 Content-Type: text/plain; charset="UTF-8" Hello, I had some old csh auto-indentation code from https://github.com/Tux/tcsh/blob/tux/csh-mode.el that worked pretty well but relied on the code that got removed in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f9504ffba2e2604338c243dd77c877bbb8162e4a I had this code that relied on the now-removed code: https://github.com/kaushalmodi/.emacs.d/blob/fec110f5281e0bd4fe5c16ca18832e1df1c8f27f/setup-files/setup-shell.el#L43-L148 Can you please add SMIE auto-indentation support for csh/tcsh shell scripts? -- Kaushal Modi --00000000000013683705af013df8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I had some old csh au= to-indentation code from https://github.com/Tux/tcsh/blob/tux/csh-mode.el that worked= pretty well but relied on the code that got removed in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3Df9= 504ffba2e2604338c243dd77c877bbb8162e4a


Can you please add SMIE auto-indentation support for csh/tcsh shell sc= ripts?


--
Kaushal Modi
--00000000000013683705af013df8--