Le 04/12/2020 à 14:17, Pavel Sanda a écrit :
On Thu, Dec 03, 2020 at 07:09:12PM +0100, Jean-Marc Lasgouttes wrote:
* What is popular ?

lapinot: cat user-prefs/*/* | sed 's/^\*//'|grep -o '^\\[^ ]* ' |sort |uniq
-c|sort -k 1n
...
       5 \fullscreen_scrollbar
       5 \paragraph_markers
       6 \load_session
       6 \screen_font_roman
       6 \spellcheck_continuously
       9 \preview
      10 \screen_zoom
      10 \single_instance
      12 \user_email
      13 \screen_font_sizes
      13 \user_name
      19 \converter
      33 \set_color
      54 \format

Things we could look at for change of default:
single_instance
preview
spellcheck_continuously
load_session
... and others

Are the listed prefs coming with same argument (i.e. all found \single_instance have 
"false"?)

I have not looks at the data more seriously than that. These prefs mean that people have changed the default (which may be platform-dependant).

And what is in your opinion count required for change? >50% of users changing 
the default setting?

I have no number in mind. I am just saying that we should look at them and see whether changing the default may be useful. Often, our defaults have been kept by laziness.

In other cases like screen_font_size, no value has actually been changed; there is a rounding issue in our tests as far as I can see. I would be very glad to remove this pref actually.

For your enjoyment, here are more details below (as you see I removed some not relevant prefs.

JMarc


lapinot: cat user-prefs/*/* | sed 's/^\*\|\r$//'|grep '^\\[^ ]* ' | grep -v '\\user\|set_color\|[\_]path'|sort |uniq -c|sort -k 1n|tail -30
      1 \serverpipe "\\.\pipe\lyxpipe"
      1 \spellchecker hunspell
      1 \ui_file "/usr/share/lyx/ui/default"
      1 \use_converter_needauth_forbidden false
      2 \autosave 60
      2 \completion_inline_text true
      2 \default_length_unit 6
2 \forward_search_pdf "SumatraPDF -reuse-instance \"$$o\" -forward-search \"$$t\" $$n"
      2 \gui_language british
      2 \icon_set "classic"
      2 \kbmap true
      2 \preview off
      2 \screen_font_typewriter "Courier"
      2 \screen_zoom 130
      2 \screen_zoom 170
      2 \screen_zoom 200
      2 \scroll_below_document true
      2 \spellcheck_notes false
      2 \use_system_colors false
      3 \preview no_math
      3 \spellchecker enchant
      4 \cursor_width 2
      4 \default_otf_view_format dvi3
      4 \preview on
      5 \fullscreen_scrollbar false
      5 \paragraph_markers true
      6 \load_session true
      6 \spellcheck_continuously true
     10 \single_instance false
     13 \screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to