From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: akater Newsgroups: gmane.emacs.bugs Subject: bug#50832: [PATCH] 28.0.50; Wrong mode in test-cl-flet-indentation Date: Sun, 26 Sep 2021 22:52:35 +0000 Message-ID: <875yunosp8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36193"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen To: 50832@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 27 01:12:29 2021 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 1mUdJt-0009I7-BR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Sep 2021 01:12:29 +0200 Original-Received: from localhost ([::1]:34608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUdJr-0004j9-Ga for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Sep 2021 19:12:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUdCh-0003NL-II for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 19:05:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUdCg-0001RM-LB for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 19:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUdCg-0005zD-AT for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 19:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: akater Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Sep 2021 23:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50832 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163269745222938 (code B ref -1); Sun, 26 Sep 2021 23:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Sep 2021 23:04:12 +0000 Original-Received: from localhost ([127.0.0.1]:38952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUdBs-0005xu-Bb for submit@debbugs.gnu.org; Sun, 26 Sep 2021 19:04:12 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUdBq-0005xn-Sq for submit@debbugs.gnu.org; Sun, 26 Sep 2021 19:04:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUdBq-0002Fy-HE for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 19:04:10 -0400 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:33710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUdBp-0000kp-23 for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 19:04:10 -0400 Original-Received: by mail-ed1-x52c.google.com with SMTP id b26so12904421edt.0 for ; Sun, 26 Sep 2021 16:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version; bh=1S38qrTd120LqqGtuT8nXtEsDVqa7HspqpdJoiAS4Gs=; b=aNYpiTJTBI0lc207lmPQgX8Oy9pfwePb23HLfMmrJld+bmEc4110zvzwNMaNjiREQT G404pOTu9hU9yyHQ2x+42j4Tv+ckTyB2E7MGRX7c1mEJU0adg3kDT35ZkC68spXaiI2W qK9WH6bcue7JusfJCRKkqkTXMswE3B0Ufw932lAEgTenqZrWh+TG40JYM6RDBPmKB/MM 2ZF3XMV5ZrHmc49Px/wb1XuYyh0LKa6+7EmjBIdXZxW/bONwOELOtnJ4mJKmlYlfmvGX iU4M3st5Uc66K36+n+uU/mTb2mb2ig739tfHuHzbKxUVFYw1HwNI8x7u39qD+JkQwD6p dVKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=1S38qrTd120LqqGtuT8nXtEsDVqa7HspqpdJoiAS4Gs=; b=TGEdfsGfuYvttv+Q4C4Zdt8fGeHDK8FopdvAo4aw3RAllB6kd3vw1X9g8RZc+XlSWq xIpO4YFJVFmASBaX/GKXUgt6jZF0Lp2a4k2fS2LrgcpDGXqLo67BcD+32lrTcUmPe3C9 XJq9Eiq56IFjXDBEz1Q3u3KSXfQKXufuNiA9mBHExIrjaU149pWnE7bWs88vweMUnJrB qSbjZpOT+5fQY7CFf0/gsM0KgiFSX8aU3e20JavHgAKqeCBfGLdCEHcQrp3WWLGCrFJf Wf2KFuVTJ97EaYgTULKIepEf2ab685qPYVwQoynrcEHYJAzkglbUT5LzUghQtW9k/5Mj rclw== X-Gm-Message-State: AOAM533qsDLaR6LKaL0UAn4lBxFsSQY+cbI4622XEL5a3/gDPGJcIstL Z+rVeOo52OfO1DBLnxuqIyM07K615dEibA== X-Google-Smtp-Source: ABdhPJyK2luExhcb8x42SCmBrKDuVnhJ1TlD6nbYFMMNFyXqRCVnzQDnfzFwmvHJjTglKj71QUAoUQ== X-Received: by 2002:a17:907:990d:: with SMTP id ka13mr23591938ejc.392.1632697446808; Sun, 26 Sep 2021 16:04:06 -0700 (PDT) Original-Received: from localhost ([5.2.69.50]) by smtp.googlemail.com with ESMTPSA id s15sm9552369edr.6.2021.09.26.16.04.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Sep 2021 16:04:06 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=nuclearspace@gmail.com; helo=mail-ed1-x52c.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, 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:215622 Archived-At: --=-=-= Content-Type: text/plain This indentation does not work in lisp-mode, and it shouldn't. In fact, lisp-mode-tests.el is a very confusing file name, and some tests in it use emacs-lisp-mode while some use lisp-mode. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Fix-cl-flet-indentation-test.patch Content-Description: Fix cl-flet indentation test >From e4821f07cce362d4be4f16ca9aec84822694464a Mon Sep 17 00:00:00 2001 From: akater Date: Sun, 26 Sep 2021 22:29:56 +0000 Subject: [PATCH] ; Fix cl-flet indentation test --- test/lisp/emacs-lisp/lisp-mode-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/emacs-lisp/lisp-mode-tests.el b/test/lisp/emacs-lisp/lisp-mode-tests.el index 5e533b370e..64e1581d1e 100644 --- a/test/lisp/emacs-lisp/lisp-mode-tests.el +++ b/test/lisp/emacs-lisp/lisp-mode-tests.el @@ -333,7 +333,7 @@ defconst lisp-mode-tests--correctly-indented-sexp "\ (ert-deftest test-cl-flet-indentation () (should (equal (with-temp-buffer - (lisp-mode) + (emacs-lisp-mode) (insert "(cl-flet ((bla (x)\n(* x x)))\n(bla 42))") (indent-region (point-min) (point-max)) (buffer-string)) -- 2.32.0 --=-=-=--