Control: tags -1 + unreproducible moreinfo

* Brad Lanam <brad.lanam.c...@gmail.com> [2023-08-16 17:59]:

Package: jed
Version: 1:0.99.20~pre.178+dfsg-6

I have been using jed for a very long time, and this current release is now inserting tab characters when an automatic indent is done (C mode). This wasn't the case before.

I have USE_TABS=0 and TAB=0. The tab key works as I want it to, inserting only spaces (I do not have it attached to the indent line hook), but when I press the enter key, the indent-line hook executes and tab characters are inserted.

The enter key / indent line hook did not insert tab characters in version : jed 1:0.99.19-8 (debian bullseye).

 PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
 NAME="Debian GNU/Linux"
 VERSION_ID="12"
 VERSION="12 (bookworm)"
 VERSION_CODENAME=bookworm
 ID=debian

Thanks for your bug report, but I am afraid I cannot reproduce this bug.

I am using:

    $ jed --version
    jed version: pre0.99.20-180/Unix
    Compiled with GNU C 12.2
    S-Lang version: 2.3.3

    jed compile-time options:
     +LINE_ATTRIBUTES +BUFFER_LOCAL_VARS +SAVE_NARROW +TTY_MENUS
     +EMACS_LOCKING +MULTICLICK +SUBPROCESSES +DFA_SYNTAX +ABBREVS
     +COLOR_COLUMNS +LINE_MARKS +GPM_MOUSE +IMPORT

    Using JED_ROOT=/usr/share/jed

(from Debian package version 0.99.20~pre.180+dfsg-2)

When I start jed in the following way, with an non-existing file test.c (and avoiding my own ~/.jedrc):

    $ jed -n test.c

and I type “int main() {”, I see the following:

    F10 key ==> File   Edit   Mode   Search   Buffers   Windows   System   Help
    int main()
    {
       █

(where character “█” indicates the prompt)

If I continue typing “int a;“ and the enter key, then I see:

    F10 key ==> File   Edit   Mode   Search   Buffers   Windows   System   Help
    int main()
    {
       int a;
       █

No tab is inserted, only three spaces before the prompt.

I also tried to start jed without the “-n” option and with this minimalistic ~/.jedrc file:

    USE_TABS=0;
    TAB=0;

but the results are the same.

I will need more information from you, in order to debug this issue.

Best,

Rafael Laboissière

Reply via email to