From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kjetil Matheussen Newsgroups: gmane.emacs.bugs Subject: bug#42621: 26.3; Scheme mode: Wrong indentation (no indentation) when pressing tab Date: Thu, 6 Aug 2020 10:32:30 +0200 Message-ID: References: <5f2af527.1c69fb81.78a82.8d1fSMTPIN_ADDED_BROKEN@mx.google.com> Reply-To: k.s.matheussen@notam02.no Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6648"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42621@debbugs.gnu.org, Kjetil Matheussen To: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 06 10:33:11 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 1k3bKp-0001Zp-3a for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 10:33:11 +0200 Original-Received: from localhost ([::1]:59746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3bKn-0004O5-FD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 04:33:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3bKg-0004Nt-Mk for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2020 04:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3bKg-000076-E4 for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2020 04:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3bKg-00013U-Ak for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2020 04:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kjetil Matheussen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Aug 2020 08:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42621 X-GNU-PR-Package: emacs Original-Received: via spool by 42621-submit@debbugs.gnu.org id=B42621.15967027704038 (code B ref 42621); Thu, 06 Aug 2020 08:33:02 +0000 Original-Received: (at 42621) by debbugs.gnu.org; 6 Aug 2020 08:32:50 +0000 Original-Received: from localhost ([127.0.0.1]:53108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3bKT-000134-Ng for submit@debbugs.gnu.org; Thu, 06 Aug 2020 04:32:49 -0400 Original-Received: from mail-qk1-f176.google.com ([209.85.222.176]:42038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3bKR-00012r-Ez for 42621@debbugs.gnu.org; Thu, 06 Aug 2020 04:32:48 -0400 Original-Received: by mail-qk1-f176.google.com with SMTP id b79so44160542qkg.9 for <42621@debbugs.gnu.org>; Thu, 06 Aug 2020 01:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=l5oulPuDW80okql7dsZRYXeX6HJVpuqOjRqYUAfjnf0=; b=rhLxpNue57dx02BNr8cB7x9vCA3zIMzK2LZcgpLxQCCt0oS9f6i+1PHxVvPIFHue7l flX2DPzlXOZT55jiu2Ygxmkp0IgefOaeV6EeryFb9kBgIUTFip7a+7NuunXhpLf8iSLk H2RA8diBYEvNlZjV5Pqr7T/+saat+E/e8fd4ZKOdf1WNOvxeaGAES0xQ2PQkc1/psEdM vqz4CoR52CNhbYIJijwUYT8xgpp79/JXoVI/+uYfMYKpxxCyZAlIVp7Cmn9SfF9UGiIJ tl1NtFSz2F+ZREq7hw5On3NKcbRtPmQvnp8Oy4FtOhz1NYG3MJg27WRHHffAh8iHcWZj npkg== 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:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=l5oulPuDW80okql7dsZRYXeX6HJVpuqOjRqYUAfjnf0=; b=cR1A6zrHJEXBrP866iThwpKzR0dnirUivH9jPv32smnkqff+XtJwsWl7JWwh5Icwyz qHWnai7GkElQYv6RGvTx98Khd0ajdfzZrbgrCNa+BrOXBQyaTQRYM9WlKg5NVwOcEo1Q t+8vcMXJ8mcr6KWSVk7Gy6x58iFBn5g+bwF8YcnqpneMjhmmUdL5oIEIyi6QQZIBZcyR g1PurI+BwzuNzfITQStYgl4UNTr11lLeC+JnvtcN01gP8deO1B6x32TgRNFgwuWx0A67 uf4ya6rIp5GXsCx1klddm6C0mn8+rhFz/WK+9m5BC+4KoVwGrGrbTRHbq/0jVYNGw8AI K+Vw== X-Gm-Message-State: AOAM531JQ2Y09aLHnvIJ5l0RlLmGUOY6dgdO5Oyr6b0S4z2LoM6Lieb7 Z1/vITpYpKY9s76JJK8TfUaBYh2Wy1kzLBWiC1Zc4gcf X-Google-Smtp-Source: ABdhPJyPuXa3UYteHr0/jiYLGeMgRFaR3PT1XAZRjGmEvpLwVOVkZ1WFsrONSPrtPt4AJpXuPMvcQ8e++LwB09u2PnA= X-Received: by 2002:a37:ac18:: with SMTP id e24mr7121356qkm.488.1596702761689; Thu, 06 Aug 2020 01:32:41 -0700 (PDT) In-Reply-To: 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:184163 Archived-At: On Wed, Aug 5, 2020 at 8:33 PM Kjetil Matheussen wrote: > > On Wed, Aug 5, 2020 at 8:30 PM Kjetil Matheussen > wrote: > > > > On Wed, Aug 5, 2020 at 8:06 PM Simen Heggest=C3=B8yl wrote: > > > > > > I can't reproduce the bug in Emacs 26.3 (nor in the Emacs 27.1 RC) by > > > following the recipe from 'emacs -Q'. > > > > > > Kjetil Matheussen writes: > > > > > > > 8. The line is wrongly indented (no indentation). > > > > > > Assuming you mean you expect it to keep its indentation at column 2, = but > > > instead see it deindented to column 0 (which is wrong)? > > > > > > > Yes, it's deindented to column 0. > > > > I couldn't reproduce it with "emacs -Q" either, but I minimized my > > .emacs file down to the lines below to reproduce it. Can you reproduce > > it now? > > > > Actually, it's enough just to maximize the window: > > 1. emacs -Q > 2. maximize emacs window > 3.(same procedure) Hmm, might have to load the file before maximizing the window. Full recipe: 1. wget http://users.notam02.no/~kjetism/emacsindentationbug.scm 2. emacs -Q emacsindentationbug.scm 3. maximize emacs window 4. Press Ctrl + S, search for "define column-widths" 5. The cursor should now be placed at line 2790 6. Press down-arrow so that that cursor is placed at line 2791 7. Press up -arrow so that the cursor is placed at line 2790 again. 8. Press TAB. 9. The line is wrongly indented (no indentation). (again, it's important that the recipe is followed exactly, the bug happens very often, but it was hard to find a way to reproduce it) Regarding emacs versions, the same bug is present in 26.2 as well, but the above recipe didn't work to reproduce it. I've been using emacs 25 for a few days now, and the bug seems to be gone in that version.