Ticket #4076 (new defect) — at Version 2

Opened 5 years ago

Last modified 5 years ago

editor_option_save_position=true in ~/.config/mc/ini doesn't work

Reported by: apio Owned by:
Priority: major Milestone:
Component: mcedit Version: 4.8.24
Keywords: editor_option_save_position Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

When i reopen file for edit, cursor is in the begin of the file instead it old place.

admin1c@gsu1cserver:~$ LC_MESSAGES=C mc -V
GNU Midnight Commander 4.8.24
Built with GLib 2.56.4
Using the S-Lang library with terminfo database
With builtin Editor and Aspell support
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

admin1c@gsu1cserver:~$ LC_MESSAGES=C mc -F
Home directory: /home/admin1c
Profile root directory: /home/admin1c

[System data]
    Config directory: /etc/mc/
    Data directory:   /usr/share/mc/
    File extension handlers: /usr/lib/mc/ext.d/
    VFS plugins and scripts: /usr/lib/mc/
        extfs.d:        /usr/lib/mc/extfs.d/
        fish:           /usr/lib/mc/fish/

[User data]
    Config directory: /home/admin1c/.config/mc/
    Data directory:   /home/admin1c/.local/share/mc/
        skins:          /home/admin1c/.local/share/mc/skins/
        extfs.d:        /home/admin1c/.local/share/mc/extfs.d/
        fish:           /home/admin1c/.local/share/mc/fish/
        mcedit macros:  /home/admin1c/.local/share/mc/mc.macros
        mcedit external macros: /home/admin1c/.local/share/mc/mcedit/macros.d/macro.*
    Cache directory:  /home/admin1c/.cache/mc/

admin1c@gsu1cserver:~$ mc --configure-options
 '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib' '--srcdir=.' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--with-x' '--with-screen=slang' '--enable-aspell' '--disable-rpath' '--disable-static' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/mc-4.8.24=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'

Change History

comment:1 Changed 5 years ago by andrew_b

  • Version changed from master to 4.8.24
  • Milestone changed from 4.8.25 to Future Releases

Cannot confirm. Works fine for me for years.

comment:2 Changed 5 years ago by andrew_b

  • Description modified (diff)
Note: See TracTickets for help on using tickets.