Ticket #1875 (accepted task)

Opened 9 years ago

Last modified 8 years ago

[METATICKET] Change user configuration

Reported by: andrew_b Owned by: slavazanko
Priority: major Milestone: Future Releases
Component: mc-config-ini Version: 4.7.5
Keywords: Cc: gotar@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

  1. Move user mc configuration into ~/.config/mc in according with FDO standard (#1851).
  2. Split [Midnight-Commander] section to several sections.
  3. Store options of all dialogs (as possible) in config (#1572, #1874)

Change History

comment:1 follow-up: ↓ 2 Changed 9 years ago by ossi

  1. you misread the spec. the config files *do* belong under ~/.config as already stated elsewhere. but one might consider putting the recent file locations and histories into ~/.local/share if one really wants to.
  2. you'll still have to carry over backwards compatibility code for that. are you sure it is worth cluttering up the code?

comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 9 years ago by andrew_b

  • Description modified (diff)

Replying to ossi:

  1. you misread the spec. the config files *do* belong under ~/.config as already stated elsewhere. but one might consider putting the recent file locations and histories into ~/.local/share if one really wants to.

You are right. I've fixed description.

  1. you'll still have to carry over backwards compatibility code for that. are you sure it is worth cluttering up the code?

I believe that one function (or two) is not a large clutter.

comment:3 in reply to: ↑ 2 Changed 9 years ago by ossi

Replying to andrew_b:

You are right. I've fixed description.

well, you have one more try. :D

comment:4 in reply to: ↑ description Changed 9 years ago by gotar

  1. Store options of all dialogs (as possible) in config (#1572, #1874)

...only when auto_save_setup is set (take a look at #1663 for clarification). This way one can save his preferred defaults (case-sensitiveness, regexps, etc.)

comment:5 Changed 9 years ago by gotar

  • Cc gotar@… added

comment:6 Changed 9 years ago by andrew_b

  • Blocking 1874 removed

(In #1874) Created 1874_save_findfile_options branch. Parent branch is master.
Initial changeset:973f17fc32874a470b32566b42f45b7531f9e229

Please review.

comment:7 Changed 9 years ago by andrew_b

  • Blocking 1572 removed

(In #1572) Created 1572_editor_retain_search_options branch. Parent branch:master.
changeset:f76bb519e61bfe580e54c0c834ca5c0929f0313c - retain editor search/replace options
changeset:6d5258821430af5e4edd9e3a18bb75ddd2b7d757 - retain viewer search options

comment:8 Changed 8 years ago by andrew_b

  • Version changed from master to 4.7.5
  • Description modified (diff)
  • Milestone changed from 4.7 to 4.8

comment:9 Changed 8 years ago by andrew_b

  • Description modified (diff)

comment:10 Changed 8 years ago by slavazanko

  • Blocking 1851 removed

comment:11 Changed 8 years ago by slavazanko

  • Owner set to slavazanko
  • Status changed from new to accepted
  • Blocked By 1851 added

comment:12 Changed 8 years ago by slavazanko

  • Blocked By 1851 removed

comment:13 Changed 8 years ago by slavazanko

  • severity changed from no branch to on review
  • Milestone changed from 4.8 to 4.8.0-pre1

created branch 1875_reorganize_options

initial changeset:bface2fb2bf81bfd0fbdee8fb0a7af2199d93abb

review, please.

comment:14 Changed 8 years ago by slavazanko

  • severity changed from on review to on rework

comment:15 Changed 8 years ago by andrew_b

  • Branch state set to no branch
  • Milestone changed from 4.8.0-pre1 to Future Releases
Note: See TracTickets for help on using tickets.