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 16:03:38 +0200 Message-ID: References: <5f2af527.1c69fb81.78a82.8d1fSMTPIN_ADDED_BROKEN@mx.google.com> <83imdv997m.fsf@gnu.org> Reply-To: k.s.matheussen@notam02.no Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: simenheg@runbox.com, 42621@debbugs.gnu.org, Kjetil Matheussen To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 06 16:04: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 1k3gV9-00006U-A8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 16:04:11 +0200 Original-Received: from localhost ([::1]:47158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3gV8-0006rk-9p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 10:04:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3gV0-0006qW-8L for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2020 10:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3gUz-00069f-Sq for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2020 10:04:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3gUz-0001mg-On for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2020 10:04:01 -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 14:04:01 +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.15967226376845 (code B ref 42621); Thu, 06 Aug 2020 14:04:01 +0000 Original-Received: (at 42621) by debbugs.gnu.org; 6 Aug 2020 14:03:57 +0000 Original-Received: from localhost ([127.0.0.1]:54629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3gUv-0001mL-0U for submit@debbugs.gnu.org; Thu, 06 Aug 2020 10:03:57 -0400 Original-Received: from mail-qv1-f45.google.com ([209.85.219.45]:40068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3gUt-0001m6-3l for 42621@debbugs.gnu.org; Thu, 06 Aug 2020 10:03:56 -0400 Original-Received: by mail-qv1-f45.google.com with SMTP id s15so18003923qvv.7 for <42621@debbugs.gnu.org>; Thu, 06 Aug 2020 07:03:55 -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; bh=itHBWhXzCeGhfIa6xUM/0o4SF0vY6AbAer1HiBpRJKg=; b=olUFaqXekh+tz5lWASIWvhW9fWgVMNE7WtSBjG18WgKddtRs/jwIDiAhUqqsPHKQ7p f0mzKJBFi7rlvr+vbfDs6OtA629osFJtLuWPvRI202I4YH/2DuAhDNefcJK7pFWQs9ZJ kJSJFP/MaYOTdfuiW+2Lf4qV9Omx5TD7FJw0g9rWZF/4P2znTPqf8IS7+QRMav4DNjBb S0Mo4L0DaG4DG5Y3N6esDZN2d0UlC8dBPcf43sni8t0Nk+9J7ra5LUu3sm9CW7y8bgtm SLwj8rc2l9JKFPKbUt1ILBs1JJPu8Mw9mCRCSFCprfDfm03MtFbcELhAxBwvWc8B7SCc fL7w== 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; bh=itHBWhXzCeGhfIa6xUM/0o4SF0vY6AbAer1HiBpRJKg=; b=bLTe8DIDsttdFVGTJnGL+tJg1R2srHdBpiLlEGlVGHBo+M/n8ZxcRUNlepl+I/uUgL hsfJPcqoWL2/jk3mWGAwONVZ/93gtZWlMgjEDQ7ihQBq/beQZKvvzUUgxXB6ahuBr9ZG 3KQC9TP8eH7qJvMh3Cue58pSdPd7blayYr07WdrDgS69nt0Vi0JJHpGDZ+SclBMvh8ab TCgOSimfHycUPIIk7RlwFkUB05CZGwl+iac5XIeMCiYbWNrEnTsg+P2aRM/ooxCYzjM5 E5MCZptSM04v2YfiRo6ZR9PsbmTNKPCj137RYjsGJL8SN4hf9RLzNf64CBRAjuU3aK+d sRUw== X-Gm-Message-State: AOAM531I2oWXNDMGcZ+R6iF05ViRBeGKU0d6lbc9elJr+wyLTVyNgcES B403oJ2o2ESLCqAjnwBCZchB/FuEK41FgC9ITCxdG5Zv X-Google-Smtp-Source: ABdhPJwwYwxhVlZ0MDcU8M30n5rQNlpFdvc3y/52Hzhxax+6ET/EFh1itWl2KB6B7PGhX2RfL8xOUVwW63QmlqVhk0A= X-Received: by 2002:a05:6214:849:: with SMTP id dg9mr9407400qvb.165.1596722629191; Thu, 06 Aug 2020 07:03:49 -0700 (PDT) In-Reply-To: <83imdv997m.fsf@gnu.org> 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:184185 Archived-At: On Thu, Aug 6, 2020 at 3:48 PM Eli Zaretskii wrote: > > > From: Kjetil Matheussen > > Date: Thu, 6 Aug 2020 10:32:30 +0200 > > Cc: 42621@debbugs.gnu.org, Kjetil Matheussen > > > > 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). > > FWIW, I cannot reproduce even with this recipe: in my case the > indentation stays at its original form, i.e. 2 columns. Yeah, it's weird that resizing the window should make a difference. Perhaps font size or screen size makes a difference? It seems like I can reproduce it just by manually resizing the window though (using the mouse and drag), not just maximizing it. Make that works for you. Also, which toolkit are you using? I've compiled emacs like this: Configured using: 'configure --prefix=/home/kjetil/site --with-x-toolkit=lucid' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM THREADS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix