GNU bug report logs - #21078
24.5; Wish: Customize as a general-purpose configuration facility

Previous Next

Package: emacs;

Reported by: Raffaele Ricciardi <rfflrccrd <at> gmail.com>

Date: Thu, 16 Jul 2015 18:19:01 UTC

Severity: wishlist

Found in version 24.5

To reply to this bug, email your comments to 21078 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21078; Package emacs. (Thu, 16 Jul 2015 18:19:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raffaele Ricciardi <rfflrccrd <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 16 Jul 2015 18:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Raffaele Ricciardi <rfflrccrd <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; Wish: Customize as a general-purpose configuration facility
Date: Thu, 16 Jul 2015 20:18:04 +0200
Dear GNU Emacs maintainers,

the widget interface that Customize creates is tightly tied to
`Custom-mode'.  Yet, the same interface could be useful to any package
that requires users to perform some kind of complex configuration (for
example: configuring a software project before compiling).  Right now,
libraries either resort to asking questions (but this approach doesn't
scale), or require users to edit Lisp files (with the risk of making
mistakes).  Sure, there is the Widget library, but the interface that
has already been implemented for Customize offers a lot of functionality
(automatic creation of widgets according to the type of variables,
search, reverting of changes, etc.) and the ability to reuse all that
work would be no small gain.  Moreover, users would be interacting with
a familiar interface.

Thanks for your attention.

Best Regards.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21078; Package emacs. (Fri, 17 Jul 2015 07:50:03 GMT) Full text and rfc822 format available.

Message #8 received at 21078 <at> debbugs.gnu.org (full text, mbox):

From: Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com>
To: Raffaele Ricciardi <rfflrccrd <at> gmail.com>, 21078 <at> debbugs.gnu.org
Subject: Re: bug#21078: 24.5;
 Wish: Customize as a general-purpose configuration facility
Date: Fri, 17 Jul 2015 07:27:17 +0530
On Thursday 16 July 2015 11:48 PM, Raffaele Ricciardi wrote:

> the widget interface that Customize creates is tightly tied to
> `Custom-mode'.  Yet, the same interface could be useful to any
> package that requires users to perform some kind of complex
> configuration (for example: configuring a software project before
> compiling).

Do you want something more than what is documented in this node:

    (info "(eieio) Customizing")





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21078; Package emacs. (Fri, 17 Jul 2015 15:54:02 GMT) Full text and rfc822 format available.

Message #11 received at 21078 <at> debbugs.gnu.org (full text, mbox):

From: Raffaele Ricciardi <rfflrccrd <at> gmail.com>
To: vaidheeswaran.chinnaraju <at> gmail.com, 21078 <at> debbugs.gnu.org
Subject: Re: bug#21078: 24.5; Wish: Customize as a general-purpose
 configuration facility
Date: Fri, 17 Jul 2015 17:53:43 +0200
On Fri, 17 Jul 2015 07:27:17 +0530
Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com> wrote:
> On Thursday 16 July 2015 11:48 PM, Raffaele Ricciardi wrote:
>
> > the widget interface that Customize creates is tightly tied to
> > `Custom-mode'.  Yet, the same interface could be useful to any
> > package that requires users to perform some kind of complex
> > configuration (for example: configuring a software project before
> > compiling).
>
> Do you want something more than what is documented in this node:
>
>     (info "(eieio) Customizing")
>

No, I don't.  EIEIO is not a renowned package -- the Emacs Lisp
Reference mentions it only once cursorily, and it seems that only CEDET
uses it -- hence I hadn't looked into it.

EIEIO Custom Mode could look more similar to Custom Mode, but I infer
that these modes were written independently, hence achieving a similar
*look and feel* could require too much refactoring.  Anyway, it seems
that the lambdas inside `eieio-custom-object-apply-reset' could be
extracted as commands, so that users could bind them to keys.

Thanks for your assistance.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21078; Package emacs. (Thu, 05 Nov 2015 18:56:02 GMT) Full text and rfc822 format available.

Message #14 received at 21078 <at> debbugs.gnu.org (full text, mbox):

From: Ted Zlatanov <tzz <at> lifelogs.com>
To: Raffaele Ricciardi <rfflrccrd <at> gmail.com>
Cc: vaidheeswaran.chinnaraju <at> gmail.com, 21078 <at> debbugs.gnu.org
Subject: Re: bug#21078: 24.5;
 Wish: Customize as a general-purpose configuration facility
Date: Thu, 05 Nov 2015 13:55:52 -0500
On Fri, 17 Jul 2015 17:53:43 +0200 Raffaele Ricciardi <rfflrccrd <at> gmail.com> wrote: 

RR> On Fri, 17 Jul 2015 07:27:17 +0530
RR> Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com> wrote:
>> On Thursday 16 July 2015 11:48 PM, Raffaele Ricciardi wrote:
>> 
>> > the widget interface that Customize creates is tightly tied to
>> > `Custom-mode'.  Yet, the same interface could be useful to any
>> > package that requires users to perform some kind of complex
>> > configuration (for example: configuring a software project before
>> > compiling).
>> 
>> Do you want something more than what is documented in this node:
>> 
>> (info "(eieio) Customizing")
>> 

RR> EIEIO Custom Mode could look more similar to Custom Mode, but I infer
RR> that these modes were written independently, hence achieving a similar
RR> *look and feel* could require too much refactoring.  Anyway, it seems
RR> that the lambdas inside `eieio-custom-object-apply-reset' could be
RR> extracted as commands, so that users could bind them to keys.

In the same vein, you can look at assistant.el (part of Emacs and Gnus).
It tries to address exactly this need without any library dependencies
like EIEIO's Custom Mode. It uses the Customize widgets. It lacks
documentation and practical use cases, and hasn't been updated in a
while though.  So it really needs a maintainer IMHO.

Ted




This bug report was last modified 9 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.