all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: hw <hw@adminart.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: spacibba@aol.com, emacs-devel@gnu.org
Subject: Re: Some developement questions
Date: Wed, 22 Aug 2018 18:37:54 +0200	[thread overview]
Message-ID: <8736v6icgt.fsf@himinbjorg.adminart.net> (raw)
In-Reply-To: <8336v6cvem.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 22 Aug 2018 17:45:21 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: hw <hw@adminart.net>
>> Cc: Ergus <spacibba@aol.com>,  emacs-devel@gnu.org
>> Date: Wed, 22 Aug 2018 14:34:26 +0200
>> 
>> > Exactly my point: you have just enumerated at least 3 different
>> > classes of users, and the solution is different for every one of them.
>> > Finding a way of being friendly to each class is the problem to solve.
>> > One possible solution could be groups of Custom options that are
>> > likely to be relevant to each class of users, and writing
>> > customization commands that target each class.  Patches are welcome.
>> 
>> How about including a number of ~/.emacs files, containing options
>> supposed to make things easier for a class of users --- or include
>> groups of ~/.emacs files so that for any given class, there can be many
>> configurations to pick from within a group?
>
> IMO, that would be too radical, because in an init file each option
> already has a value.  So we will have to decide for the users whether
> or not they want certain options to have certain values.  That might
> work for boolean options, but many options in Emacs are non-boolean.
> As just one example, consider display-line-numbers-mode -- it has
> between 3 and 4 different styles, so which one would you put in the
> .emacs?

Use the values you would you put for the particular use case the file is
designed for.

I didn´t know that there´s a mode displaying line numbers that has
styles; I´ve only used linum-mode so far.  It would be interesting to
learn about this from a file.

> By contrast, by creating a group of options, we don't need to decide
> for the users what values of which options they like; we just make the
> options we think are relevant for them more easily discoverable.

But then, the users can be overwhelmed by a multitude of options and
may have trouble figuring out which ones to change and which values to
set.


When customize was introduced, I tried it out and got totally lost in
it.  I got taken from one buffer to another and figured this isn´t
useful at all unless you already exactly know what you´re looking for.
Even then, it´s difficult to find.

The only thing I sometimes use customize for is setting the default
font, and that is /very/ difficult to find because I never think of
"face" when trying to pick a font.  (Only yesterday I found out that
setting the default font is now easy because there´s an entry in the
menu which works great.  A long time ago, I disabled the menu bar, and
I usually don´t run 'emacs -q' ...)

How do you customize key bindings and add your own elisp?


> I also think that browsing through a Custom buffer is more
> user-friendly than telling the users to find their way through several
> files.

They don´t need to do that.  You offer them to use one of the
configurations in the LaTeX group for working with LaTeX and to use one
of the configurations in the C++ group when writing C++ source code, and
so on.

Users may be happy when they can try some different configurations, pick
one they like and go from there --- rather than having to figure it out
all at once all by themselves.


Configuring Emacs is kinda like configuring fvwm, and it was
fvwm-crystal that brought me back to fvwm after using enlightenment for
a long time.  Fvwm-crystal is like a pre-defined configuration for fvwm,
with a few customization options to choose from.  It didn´t take long
before I wanted to create my own configuration, so I did, learning from
the docs and other configurations.  I ended up with a window manager
that *finally* manages the windows for me rather than forcing me to
manage the windows --- and any time I want to change something, I can
just do that.  Why would I put up with anything less?

So what I suggest is more like giving users a choice between fvwms
default configuration, fvwm-nightshade, fvwm-crystal and others for
Emacs, rather than forcing users to try to find their way through
configuration files or options.  They may discover Emacs over time,
starting from something useful they like, and it probably won´t take
long before they aren´t willing to put up with anything less than Emacs
(unless they like vi maybe).



  reply	other threads:[~2018-08-22 16:37 UTC|newest]

Thread overview: 216+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <444779489.8504194.1534538988289.ref@mail.yahoo.com>
2018-08-17 20:49 ` Some developement questions Ergus
2018-08-18  6:21   ` Eli Zaretskii
2018-08-22 12:34     ` hw
2018-08-22 14:45       ` Eli Zaretskii
2018-08-22 16:37         ` hw [this message]
2018-08-22 17:31           ` Eli Zaretskii
2018-08-22 22:17             ` hw
2018-08-23  0:20               ` Ergus
2018-08-23 10:50                 ` hw
2018-08-23 16:33                   ` Ergus
2018-08-23 14:20                 ` Eli Zaretskii
2018-08-23  8:26               ` Pierre Neidhardt
2018-08-23 14:04               ` Eli Zaretskii
2018-08-24  1:00                 ` hw
2018-08-24  9:04                   ` Eli Zaretskii
2018-08-25  0:45                     ` Ergus
2018-08-26 12:46                       ` hw
2018-08-25  1:31                     ` hw
2018-08-25  7:35                       ` Alexis
2018-08-25 10:34                         ` Ergus
2018-08-25 16:11                           ` Radon Rosborough
2018-08-25 16:20                             ` Eli Zaretskii
2018-08-25 20:34                               ` Ergus
2018-08-26  2:41                                 ` Eli Zaretskii
2018-08-26  1:24                               ` Radon Rosborough
2018-08-25 20:50                             ` Ergus
2018-08-26  1:33                             ` hw
2018-08-26 14:37                               ` Eli Zaretskii
2018-08-26 22:51                                 ` hw
2018-08-27 14:45                                   ` Eli Zaretskii
2018-08-28 20:42                                     ` hw
2018-08-29  6:59                                       ` Michael Albinus
2018-08-29 20:10                                         ` hw
2018-08-31 13:16                                           ` Michael Albinus
2018-09-01 17:53                                             ` hw
2018-09-03 13:35                                               ` Michael Albinus
2018-09-04 14:06                                                 ` hw
2018-08-29 15:11                                       ` Eli Zaretskii
2018-08-29 20:52                                         ` hw
2018-08-29 22:12                                           ` Filipp Gunbin
2018-08-30 23:49                                             ` hw
2018-09-03 18:56                                               ` Filipp Gunbin
2018-09-04 14:16                                                 ` hw
2018-09-04 19:47                                                   ` Filipp Gunbin
2018-09-05 20:36                                                     ` hw
2018-09-06  1:33                                                       ` Michael Heerdegen
2018-09-06  5:16                                                         ` Drew Adams
2018-09-06  5:29                                                           ` Michael Heerdegen
2018-09-06 13:52                                                         ` Eli Zaretskii
     [not found]                                                         ` <<831sa6ybqu.fsf@gnu.org>
2018-09-06 14:30                                                           ` Drew Adams
2018-09-07  7:03                                                         ` hw
2018-09-06 13:48                                                       ` Eli Zaretskii
2018-09-07  7:01                                                         ` hw
2018-09-06 18:15                                                       ` Filipp Gunbin
2018-09-07  7:18                                                         ` hw
2018-09-07 14:10                                                           ` Filipp Gunbin
2018-09-07 21:27                                                             ` hw
2018-09-10 12:29                                                               ` Filipp Gunbin
2018-09-10 18:18                                                                 ` hw
2018-09-11  9:51                                                                   ` Filipp Gunbin
2018-09-11 20:14                                                                     ` hw
2018-09-12  1:18                                                                       ` Filipp Gunbin
2018-08-30  2:12                                           ` Davis Herring
2018-09-01 17:40                                             ` hw
2018-09-01 19:41                                               ` Joshua Branson
2018-09-02 15:07                                                 ` hw
2018-09-02 18:23                                                   ` Ergus
2018-09-04 15:21                                                     ` hw
2018-09-04 20:57                                                       ` Ergus
2018-09-05 21:48                                                         ` hw
2018-09-01 22:13                                               ` Phil Sainty
2018-09-02 15:39                                                 ` hw
2018-09-02 22:01                                                   ` Juri Linkov
2018-09-03  7:30                                                     ` martin rudalics
2018-09-04 15:35                                                     ` hw
2018-09-04 16:44                                                       ` Eli Zaretskii
2018-09-05 22:21                                                         ` hw
2018-09-03  7:29                                                   ` martin rudalics
2018-09-01 22:30                                               ` Drew Adams
2018-09-02 16:02                                                 ` hw
2018-09-02 17:50                                               ` Ergus
2018-08-30 13:44                                           ` Eli Zaretskii
2018-08-31  0:40                                             ` hw
2018-09-01 18:47                                               ` Eli Zaretskii
2018-09-02 16:27                                                 ` hw
2018-09-02 17:12                                                   ` Eli Zaretskii
2018-09-04 15:43                                                     ` hw
2018-09-04 16:46                                                       ` Eli Zaretskii
2018-09-05 22:40                                                         ` hw
2018-08-30 23:30                               ` Radon Rosborough
2018-09-01 18:25                                 ` hw
2018-09-02 19:05                                   ` Radon Rosborough
2018-09-02 20:42                                     ` Basil L. Contovounesios
2018-09-03  2:37                                       ` Radon Rosborough
2018-09-04 15:57                                     ` hw
2018-08-26 20:41                             ` Richard Stallman
2018-08-27  2:33                               ` Eli Zaretskii
2018-08-27 22:51                                 ` Richard Stallman
2018-08-27 17:11                           ` Filipp Gunbin
2018-08-28  3:41                             ` Ergus
2018-08-26 13:06                         ` hw
2018-08-27  2:18                           ` Ergus
2018-08-25  8:19                       ` Eli Zaretskii
2018-08-26 14:25                         ` Noam Postavsky
2018-08-26 15:52                         ` hw
2018-08-26 16:23                           ` Stefan Monnier
2018-08-27  4:59                             ` hw
2018-08-27  1:54                           ` Ergus
2018-08-27 14:46                             ` Eli Zaretskii
2018-08-28 21:26                               ` Richard Stallman
2018-08-29 15:39                               ` Phillip Lord
2018-09-01 13:59                                 ` Eli Zaretskii
2018-09-02  3:11                                   ` Richard Stallman
2018-09-02 17:52                                     ` Ergus
2018-09-04 15:20                                       ` Phillip Lord
2018-09-04 13:07                                     ` Phillip Lord
2018-09-05  6:26                                       ` Richard Stallman
2018-09-06  0:29                                         ` hw
2018-09-07  6:39                                           ` Richard Stallman
2018-09-07  8:01                                             ` hw
2018-09-07 10:26                                               ` Phil Sainty
2018-09-07 14:00                                                 ` Stefan Monnier
2018-09-07 14:20                                                   ` Eli Zaretskii
2018-09-07 16:00                                                   ` Drew Adams
     [not found]                                                   ` <<83zhwttmm7.fsf@gnu.org>
2018-09-07 16:03                                                     ` Drew Adams
2018-09-07 14:15                                                 ` hw
2018-09-07 15:34                                                   ` Phil Sainty
2018-09-07 21:03                                                     ` hw
2018-09-07 15:52                                                 ` Drew Adams
2018-09-08  5:13                                               ` Richard Stallman
2018-09-08 13:02                                                 ` hw
2018-09-08 16:19                                                   ` Eli Zaretskii
2018-09-08 23:23                                                     ` hw
2018-09-09  5:29                                                       ` Eli Zaretskii
2018-09-10  9:35                                                         ` hw
2018-09-10 12:37                                                           ` Eli Zaretskii
2018-09-10 19:27                                                             ` hw
2018-09-10 13:52                                                           ` Phillip Lord
2018-09-09  6:07                                                   ` Richard Stallman
2018-09-09  6:07                                                   ` Richard Stallman
2018-09-09  6:23                                                     ` Eli Zaretskii
2018-09-09 17:18                                                     ` Ergus
2018-09-10 11:59                                                     ` hw
2018-09-10 12:40                                                       ` Eli Zaretskii
2018-09-10 19:48                                                         ` hw
2018-09-11  7:07                                                           ` Eli Zaretskii
2018-09-11 20:31                                                             ` hw
2018-09-06 13:59                                         ` Phillip Lord
2018-09-04 12:58                                   ` Phillip Lord
2018-09-04 16:30                                     ` hw
2018-09-04 19:13                                       ` Paul Eggert
2018-09-04 20:11                                         ` Drew Adams
2018-09-04 20:31                                           ` Paul Eggert
2018-09-06 12:32                                             ` Phillip Lord
2018-09-06 14:25                                               ` Drew Adams
2018-09-04 21:14                                         ` Ergus
2018-09-05  2:40                                         ` Eli Zaretskii
2018-09-05  6:29                                           ` Paul Eggert
2018-09-05  7:59                                             ` Joost Kremers
2018-09-05 15:27                                               ` Eli Zaretskii
2018-09-09 20:07                                                 ` Joost Kremers
2018-09-09 20:10                                                   ` Eli Zaretskii
2018-09-10  5:16                                                   ` Yuri Khan
2018-09-10  7:30                                                     ` Eli Zaretskii
2018-09-10  8:26                                                       ` Yuri Khan
2018-09-10 12:06                                                         ` hw
2018-09-10 12:44                                                           ` Michael Albinus
2018-09-10 14:57                                                           ` Yuri Khan
2018-09-10 19:58                                                             ` hw
2018-09-11  6:31                                                               ` Yuri Khan
2018-09-11 20:37                                                                 ` hw
2018-09-10 12:52                                                         ` Eli Zaretskii
2018-09-06  1:11                                         ` hw
2018-09-06  1:41                                           ` Ergus
2018-09-07  8:11                                             ` hw
2018-09-06 12:29                                       ` Phillip Lord
2018-09-06 14:24                                         ` Drew Adams
2018-09-06 14:36                                           ` Eli Zaretskii
2018-09-07  6:39                                             ` Richard Stallman
2018-09-07  8:25                                             ` hw
2018-09-07  9:34                                               ` Eli Zaretskii
2018-09-07 13:22                                                 ` hw
2018-09-07 14:48                                                   ` Eli Zaretskii
2018-09-07 16:34                                                     ` Drew Adams
2018-09-07 21:29                                                     ` hw
2018-09-08  6:21                                                       ` Eli Zaretskii
2018-09-08 13:12                                                         ` hw
2018-09-08 16:17                                                           ` Eli Zaretskii
2018-09-10 11:52                                                             ` hw
2018-09-10 12:35                                                               ` Eli Zaretskii
2018-09-10 20:04                                                                 ` hw
2018-09-08 17:00                                                           ` Charles A. Roelli
2018-09-08 23:02                                                           ` Juri Linkov
2018-09-10  6:47                                                             ` hw
2018-09-10 14:13                                                               ` Drew Adams
     [not found]                                                         ` <<87mussp1zu.fsf@toy.adminart.net>
     [not found]                                                           ` <<m2a7or53gj.fsf@aurox.ch>
2018-09-09  2:09                                                             ` Drew Adams
2018-09-09 23:05                                                               ` Drew Adams
2018-09-07 15:26                                               ` Drew Adams
2018-09-07 21:53                                                 ` hw
2018-09-07 22:52                                                   ` Drew Adams
     [not found]                                           ` <<83r2i6wv4v.fsf@gnu.org>
2018-09-06 14:56                                             ` Drew Adams
2018-09-06 18:38                                               ` Eli Zaretskii
2018-09-06 19:27                                                 ` Clément Pit-Claudel
2018-09-06 19:49                                                   ` Eli Zaretskii
     [not found]                                               ` <<83k1nywjwv.fsf@gnu.org>
2018-09-06 23:47                                                 ` Drew Adams
2018-09-07  6:36                                                   ` Eli Zaretskii
2018-09-07  8:16                                         ` hw
2018-09-04 20:38                                     ` Ergus
2018-09-06 12:58                                       ` Phillip Lord
2018-09-07  8:45                                       ` hw
2018-09-03 22:15                       ` debounce (was: Some developement questions) Juri Linkov
     [not found] <196033312.7709403.1534426446299.ref@mail.yahoo.com>
2018-08-16 13:34 ` Some developement questions Ergus
2018-08-16 14:15   ` Eli Zaretskii
2018-08-16 14:38     ` Aurélien Aptel
2018-08-16 15:28       ` Andy Moreton
2018-08-16 17:25         ` Eli Zaretskii
     [not found] <<87sh36inql.fsf@himinbjorg.adminart.net>
     [not found] <<8336v6cvem.fsf@gnu.org>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8736v6icgt.fsf@himinbjorg.adminart.net \
    --to=hw@adminart.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=spacibba@aol.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.