From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Indent lisp files on save -- How? Date: Sun, 20 Nov 2022 19:31:50 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31372"; 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 Nov 21 04:32:37 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 1owxXx-00081B-3v for ged-emacs-devel@m.gmane-mx.org; Mon, 21 Nov 2022 04:32:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owxXK-0005W0-Tx; Sun, 20 Nov 2022 22:31:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owxXJ-0005Vs-Jo for emacs-devel@gnu.org; Sun, 20 Nov 2022 22:31:57 -0500 Original-Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owxXH-0004Gd-Ue for emacs-devel@gnu.org; Sun, 20 Nov 2022 22:31:57 -0500 Original-Received: by mail-pl1-x62b.google.com with SMTP id y10so8242244plp.3 for ; Sun, 20 Nov 2022 19:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:mime-version:subject:to:from:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=1x1QHeq++2zb4KyjIinbMjdqhq5crB5QSR3zP3EpuqQ=; b=ZeuLBeaRNEp36LI6QdegpoJFI41xfaFvZfjqQNXKIwKWM5YM9dizqKPGcyygxMFc0x K2cSPQYv5XajkhiKzP+lcTtfWDmGOg+yfh+WLB1hzV0ewuDJk8I/u+9HGRK7pcXhrhpY aCV2NFq9Xjzp5oKEyarBseVnNgdzXeBlMoNKOKelDzscpXWC50C6tImhsBOhvksk/RAh jxPPJakLry7c+nk0C5WZdwYIJk26lpJupNaiwjvVor1TphNE3xjBdXWJNRYEfbVANjep dxXNhBEZewtQiB7vf4mfzGAD7NfmSEncV9ZuikVZjxluDeC/Zu3qb8NO75fIvHU0ClVP H8AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:subject:to:from:message-id :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1x1QHeq++2zb4KyjIinbMjdqhq5crB5QSR3zP3EpuqQ=; b=EgzblI9eO1FsnZ+6li5imfprLHgKiJyw0q/NMOBIyitlh80KkAgVvISJcTymokKFVi 3bgTzxApK5O2CBJroykc/Y5ZAzd3iFuKpB+ajuSsgpsbj2efWWGQICtlWfPZeYHZr/BE 7Sgdo7AEZmiJDVdzqZ3r5q3ff+pH1MzOvTT1dSaNmE79d96hnVr6dW0LcJudK7vzTMLU jFyNZ519Y27wR5CcWYXboBIA1M+tXjsLVqx5tp6FyYcfFj3feldTZiXpmQmYUrp8LDbn 3Ez532QTMc7ut4xr+BRAWUmz+STnEId2d45wmmKW9AXVcndrfvJ4XX/Nl/X4XSXYLrWE kXcw== X-Gm-Message-State: ANoB5pkV6BdRx5dbALDtUQQwiz0HbCpA5IsIflQyR438VfRqbqjFkpUr 7funvvKErP6C7o2zw9fibJzohoI9ezG9k+C2 X-Google-Smtp-Source: AA0mqf5G9Zn88DTH11oHU+SgRtpam+EZexY5ttfjv1xvpkYlcx06yCHp+jUtrvomTNCyz3myy+xZ7A== X-Received: by 2002:a17:90a:c381:b0:212:bfc3:3271 with SMTP id h1-20020a17090ac38100b00212bfc33271mr18005066pjt.99.1669001513258; Sun, 20 Nov 2022 19:31:53 -0800 (PST) Original-Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id u17-20020a170903125100b00186dcc37e17sm8271181plh.210.2022.11.20.19.31.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 19:31:52 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=raman@google.com; helo=mail-pl1-x62b.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300282 Archived-At: I'm somewhat surprized I've never setup the above for emacs-lisp or Common-Lisp in all these years. But having gotten used to having format on save for Go, Rust and Python among others I want the same for all lisp dialects -- how do I achieve this? It's unclear which of the options available is designed for placing on before-save-hook. -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮