unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kjetil Matheussen <k.s.matheussen@gmail.com>
To: "Simen Heggestøyl" <simenheg@runbox.com>
Cc: 42621@debbugs.gnu.org, Kjetil Matheussen <k.s.matheussen@notam02.no>
Subject: bug#42621: 26.3; Scheme mode: Wrong indentation (no indentation) when pressing tab
Date: Thu, 6 Aug 2020 10:32:30 +0200	[thread overview]
Message-ID: <CAC6niE+1t39h_rguPTVMfQQ-2LWOT3dJhX_wJZEu+rmVASDRYQ@mail.gmail.com> (raw)
In-Reply-To: <CAC6niELBHDYBjbCUzxDYBNxcL4sGPHpjaO=Bojo9VfvYZt7Tvw@mail.gmail.com>

On Wed, Aug 5, 2020 at 8:33 PM Kjetil Matheussen
<k.s.matheussen@gmail.com> wrote:
>
> On Wed, Aug 5, 2020 at 8:30 PM Kjetil Matheussen
> <k.s.matheussen@gmail.com> wrote:
> >
> > On Wed, Aug 5, 2020 at 8:06 PM Simen Heggestøyl <simenheg@runbox.com> 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 <k.s.matheussen@gmail.com> 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.





  reply	other threads:[~2020-08-06  8:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-30  9:08 bug#42621: 26.3; Scheme mode: Wrong indentation (no indentation) when pressing tab Kjetil Matheussen
2020-07-30  9:38 ` bug#42622: " Kjetil Matheussen
2020-08-05 18:06 ` bug#42621: " Simen Heggestøyl
     [not found] ` <5f2af527.1c69fb81.78a82.8d1fSMTPIN_ADDED_BROKEN@mx.google.com>
2020-08-05 18:30   ` Kjetil Matheussen
2020-08-05 18:33     ` Kjetil Matheussen
2020-08-06  8:32       ` Kjetil Matheussen [this message]
2020-08-06 13:48         ` Eli Zaretskii
2020-08-06 14:03           ` Kjetil Matheussen
2020-08-06 14:11             ` Eli Zaretskii
2020-08-06 14:52               ` Kjetil Matheussen
2020-08-06 14:06       ` Simen Heggestøyl
     [not found]       ` <5f2c0e88.1c69fb81.55438.39b5SMTPIN_ADDED_BROKEN@mx.google.com>
2020-08-06 14:30         ` Simen Heggestøyl
     [not found]         ` <5f2c142a.1c69fb81.4f96d.3f0cSMTPIN_ADDED_BROKEN@mx.google.com>
2020-08-06 17:13           ` Simen Heggestøyl
     [not found]           ` <5f2c3a42.1c69fb81.1f69b.ea05SMTPIN_ADDED_BROKEN@mx.google.com>
2020-08-06 17:20             ` Kjetil Matheussen
2020-11-09 16:40               ` Simen Heggestøyl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAC6niE+1t39h_rguPTVMfQQ-2LWOT3dJhX_wJZEu+rmVASDRYQ@mail.gmail.com \
    --to=k.s.matheussen@gmail.com \
    --cc=42621@debbugs.gnu.org \
    --cc=k.s.matheussen@notam02.no \
    --cc=simenheg@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).