From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: bug#16026: Connection specific settings and proxies
Date: Mon, 13 Feb 2017 10:54:59 -0500 [thread overview]
Message-ID: <8760kekrvw.fsf@flea> (raw)
In-Reply-To: 87d1enz4p2.fsf@gmx.de
On Sun, 12 Feb 2017 18:42:17 +0100 Michael Albinus <michael.albinus@gmx.de> wrote:
MA> Ted Zlatanov <tzz@lifelogs.com> writes:
MA> Your proposal looks OK to me. U, Y and Z shall be regexps, X a symbol
MA> (or also a regexp?). All of them shall be optional.
>>
>> Wonderful. I propose that the application should be a defgroup symbol,
>> and every connection profile should be required to have a defgroup.
>>
>> That would give us an implicit connection profile hierarchy and a place
>> to hook connection profile customizations at the UI level.
>>
>> So defining connection profiles would be something like this:
>>
>> (add-connection-profiles :user U :defgroup X :protocol Y :machine Z
>> :profile 'UXYZ :vars '(...))
>>
>> (add-connection-profiles :profile 'general :vars '(...))
MA> Well, I'm a little bit lost. What does the defgroup here? I understand
MA> that replaces what you have called initially an application, but I don't
MA> see what defcustoms shall be placed now under the defgroup
MA> hierarchy. Could you pls give an example?
It's just a categorization. It would simply be the defgroup of an
existing application. That way you don't have to invent a new symbol for
every application that wants to use a connection profile and has the
defgroup declared already. For example, 'gnus for Gnus. So in `M-x
customize-group Gnus' you would maybe see an extra button to list and
modify the Gnus-specific connection profiles.
Connection profiles without a defgroup (application) symbol belong to
all applications.
MA> I also know that there are users reluctant to the customization
MA> machinery. Wouldn't we loose them?
Customize wouldn't be required. It's just an easy way to connect the
profile with other application-specific customizations, but users should
be able to add or modify profiles directly.
Does that make sense?
Ted
next prev parent reply other threads:[~2017-02-13 15:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.7856.1385996719.10748.bug-gnu-emacs@gnu.org>
[not found] ` <86wqjnwa9u.fsf@somewhere.org>
[not found] ` <jwvfvqb1bhb.fsf-monnier+emacsbugs@gnu.org>
[not found] ` <871u1s38m3.fsf@flea.lifelogs.com>
[not found] ` <877f5j2i67.fsf@gnus.org>
[not found] ` <jwvziif80c1.fsf-monnier+emacsbugs@gnu.org>
[not found] ` <87a8a8paru.fsf@lifelogs.com>
[not found] ` <jwv8tpsi3ah.fsf-monnier+emacsbugs@gnu.org>
[not found] ` <87r33jnvn1.fsf@lifelogs.com>
[not found] ` <87h94fqjq7.fsf@gmx.de>
2017-02-02 3:43 ` bug#16026: Connection specific settings and proxies Lars Ingebrigtsen
2017-02-02 14:46 ` Ted Zlatanov
2017-02-03 15:37 ` Michael Albinus
[not found] ` <87mve3ffov.fsf__41803.1231420629$1486136780$gmane$org@gmx.de>
2017-02-06 15:22 ` Ted Zlatanov
2017-02-12 17:42 ` Michael Albinus
2017-02-13 15:54 ` Ted Zlatanov [this message]
2017-02-13 16:17 ` Michael Albinus
2017-02-14 15:01 ` Ted Zlatanov
2017-02-19 16:26 ` Michael Albinus
2017-02-20 16:01 ` bug#16026: " Lars Ingebrigtsen
2017-02-02 23:58 ` Daniel McClanahan
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8760kekrvw.fsf@flea \
--to=tzz@lifelogs.com \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).