Re: auto save panels setup broken

2016-10-07 Thread Mike
Here's the patch for {setup.[ch], main.c, midnight.c} to fix the restoring of the directory contents of the active panel on startup when "Auto Save Panel Setup" option is enabled. See attached 1341 byte gzip: patch01-setup.ch-main.c-midnight.c-auto-save-restore-panel.161007.diff.gz It works

Re: auto save panels setup broken

2016-10-07 Thread Mike
On closer inspection, saving and retrieving this_dir is a simple hack to setup.c, setup.h, and main.c. The real issue is what to do at startup. In midnight.c:create_panels() around line 600, if command line arguments run_param0 and run_param1 are both NULL we assume this_panel (active panel)

auto save panels setup broken

2016-10-07 Thread Mike
Isn't that what F9 -> Options -> panel options -> auto save panels setup is for? I believe OP is correct: mc forgets the active directory if you do have "auto save panels setup" selected. $HOME/.config/mc/panels.ini: [Dirs] other_dir=/some/dir/somewhere current_is_left=false I think this

Re: mc Digest, Vol 146, Issue 5

2016-10-07 Thread chris glur
> Also it doesn't remember the active panel on last > close was the right panel. When, as usual, I've got several mc running: they all initially start with the latest conditions. If I rarely, change the format-order of a mc, I don't want that new specail setting to be remembered and REPLACE my

Re: Midnight Commander 4.8.18 broken full listing

2016-10-07 Thread solarflow99
About mc not remembering the active panel on last close, I (as well as others) have complained about this before and they just ignored it. https://mail.gnome.org/archives/mc-devel/2016-April/msg00010.html On Thu, Oct 6, 2016 at 2:23 AM, Felix Miata wrote: > I've been