unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* customization of variables defined in C [was Re: /srv/bzr/emacs/trunk r102154: Fix bug#7306; customization of minor-mode variables defined in C.]
       [not found] ` <jwv8w1ff21n.fsf-monnier+emacs@gnu.org>
@ 2010-10-31 18:28   ` Glenn Morris
  2010-10-31 18:58     ` customization of variables defined in C Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2010-10-31 18:28 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier wrote:

>>   Fix bug#7306; customization of minor-mode variables defined in C.
>   
> This is really not heading in the right direction: I'd rather stick to
> the use of defcustom, than trying to mimick a "defcustom without its
> inner defvar because that part's already done in C". 

Oh. It seems like the right solution to me. Else why does cus-start
even exist, and contain > 100 variables?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: customization of variables defined in C
  2010-10-31 18:28   ` customization of variables defined in C [was Re: /srv/bzr/emacs/trunk r102154: Fix bug#7306; customization of minor-mode variables defined in C.] Glenn Morris
@ 2010-10-31 18:58     ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2010-10-31 18:58 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

>>> Fix bug#7306; customization of minor-mode variables defined in C.
>> This is really not heading in the right direction: I'd rather stick to
>> the use of defcustom, than trying to mimick a "defcustom without its
>> inner defvar because that part's already done in C". 

> Oh. It seems like the right solution to me. Else why does cus-start
> even exist, and contain > 100 variables?

Because it's good to avoid duplication.  But the patches you've installed
recently are going into the "messy" side of Custom, tilting the balance
towards "maybe duplication isn't that bad in the end".


        Stefan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-31 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1PC1wp-0001VU-O1@internal.in.savannah.gnu.org>
     [not found] ` <jwv8w1ff21n.fsf-monnier+emacs@gnu.org>
2010-10-31 18:28   ` customization of variables defined in C [was Re: /srv/bzr/emacs/trunk r102154: Fix bug#7306; customization of minor-mode variables defined in C.] Glenn Morris
2010-10-31 18:58     ` customization of variables defined in C Stefan Monnier

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).