GNU bug report logs - #42621
26.3; Scheme mode: Wrong indentation (no indentation) when pressing tab

Previous Next

Package: emacs;

Reported by: k.s.matheussen <at> notam02.no

Date: Thu, 30 Jul 2020 15:37:02 UTC

Severity: normal

Merged with 42622

Found in version 26.3

Done: Simen Heggestøyl <simenheg <at> runbox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kjetil Matheussen <k.s.matheussen <at> gmail.com>
To: Simen Heggestøyl <simenheg <at> runbox.com>
Cc: 42621 <at> debbugs.gnu.org, Kjetil Matheussen <k.s.matheussen <at> notam02.no>
Subject: bug#42621: 26.3; Scheme mode: Wrong indentation (no indentation) when pressing tab
Date: Wed, 5 Aug 2020 20:30:31 +0200
On Wed, Aug 5, 2020 at 8:06 PM Simen Heggestøyl <simenheg <at> 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 <at> 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?

(defun toggle-fullscreen (&optional f)
      (interactive)
      (let ((current-value (frame-parameter nil 'fullscreen)))
           (set-frame-parameter nil 'fullscreen
                                (if (equal 'fullboth current-value)
                                    (if (boundp 'old-fullscreen)
old-fullscreen nil)
                                    (progn (setq old-fullscreen current-value)
                                           'fullboth)))))

(toggle-fullscreen)




This bug report was last modified 4 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.