Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: Please unbundle the custom and widget libraries from qgnus.
Date: 21 Sep 1997 03:24:54 +0200	[thread overview]
Message-ID: <kign2l74fx5.fsf@jagor.srce.hr> (raw)
In-Reply-To: Stainless Steel Rat's message of "20 Sep 1997 20:34:01 -0400"

Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

> Hrvoje> I seem to have missed this patch.  Why don't you customize the Gnus
> Hrvoje> faces to be colorless?
> 
> Because there are a lot of different faces that Gnus uses, and this is the
> kind of on-off thing that should be easilly accomplished.

I see.  But how did you disable colors before `defface' was used?  I
mean, you must have had an even harder time doing it.  Or not?

> >> This is more of an issue with cus-face than custom.
> 
> Hrvoje> Then it's an issue with custom (if it indeed is an issue), too.
> 
> You're right.  Its been so long since I seriously looked at the code that I
> had forgotten (PGP will munge the "---" lines a bit; sorry):
[...]

This patch looks simple (though a little-bit dirty).  Why didn't Per
accept it?  Now, to get it in GNU Emacs, you must have Stallman's
consent.  I'm prepared to apply it to XEmacs.

> + (defcustom custom-no-colors nil
> +   "Do not use colors.
> + If t, do not use any colors.")

This should probably be `custom-use-colors' with reverse semantics,
but it doesn't matter either way.

> >> Generally: the fact that it takes ten times as long to effect a
> >> change with custom than with a setq form,
> 
> Hrvoje> Custom will respect setq forms.  Custom is not defvoo(doo).
> 
> Agreed... but a dozen or more setq forms for each package that uses
> custom simply to disable colorization without disabling faces is
> still a lose.

What I meant is that, unlike defvoo, defcustom will perfectly respect
your `setq' forms.  `defface' is another matter, since it creates a
face, rather than a variable.

> >> the fact that it does some annoying things to an existing .emacs
> 
> Hrvoje> Only if you use customize, and explicitely choose `Save for
> Hrvoje> future sessions' button.
> 
> Apart from testing purposes, who would do this?

If you don't do this, Customize will not change your `.emacs'.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
`VI' - An editor used by those heretics that don't subscribe to
       the Emacs religion.


  parent reply	other threads:[~1997-09-21  1:24 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <rjpvq5ob9y.fsf@zuse.dina.kvl.dk>
1997-09-19 15:18 ` Jason R Mastaler
1997-09-19 16:17   ` Hrvoje Niksic
1997-09-19 16:20   ` Per Abrahamsen
1997-09-19 16:24   ` Jan Vroonhof
     [not found] ` <x7sov15et2.fsf@peorth.gweep.net>
1997-09-19 19:53   ` Hrvoje Niksic
     [not found]     ` <x7en6k7ls1.fsf@peorth.gweep.net>
1997-09-20 19:49       ` Hrvoje Niksic
     [not found]         ` <x767rv5wue.fsf@peorth.gweep.net>
1997-09-21  1:24           ` Hrvoje Niksic [this message]
     [not found]             ` <x7n2l7uxmd.fsf@peorth.gweep.net>
1997-09-21  4:36               ` Hrvoje Niksic
     [not found]                 ` <x7hgbewv10.fsf@peorth.gweep.net>
1997-09-21 16:12                   ` Hrvoje Niksic
1997-09-21 16:39                     ` Per Abrahamsen
1997-09-21 12:48             ` Per Abrahamsen
1997-09-21  4:15       ` Karl Anderson
1997-09-19 20:04   ` Lars Balker Rasmussen
1997-09-19 22:27   ` Jason R Mastaler
1997-09-20  0:08     ` SL Baur
1997-09-20  1:06       ` Jason R Mastaler
1997-09-20  1:59         ` Yet Another Emacs Project (YAEP) Richard Coleman
     [not found]         ` <x7hgbg7m0l.fsf@peorth.gweep.net>
1997-09-20 12:09           ` Please unbundle the custom and widget libraries from qgnus Johan Danielsson
1997-09-20  0:52     ` Yet Another Emacs Project (YAEP) Richard Coleman
1997-09-20 18:27 ` Please unbundle the custom and widget libraries from qgnus Lars Magne Ingebrigtsen
     [not found]   ` <x7202j5wpc.fsf@peorth.gweep.net>
1997-09-21  1:15     ` Hrvoje Niksic
     [not found]       ` <x7raajuy5j.fsf@peorth.gweep.net>
1997-09-21  4:34         ` Hrvoje Niksic
     [not found]           ` <x7k9gawv71.fsf@peorth.gweep.net>
1997-09-21 16:10             ` Hrvoje Niksic
     [not found]               ` <x7soux2wx3.fsf@peorth.gweep.net>
1997-09-22 16:28                 ` Hrvoje Niksic
     [not found]                   ` <x790wpjjp8.fsf@peorth.gweep.net>
1997-09-22 19:15                     ` Hrvoje Niksic
     [not found]                       ` <x73emx3rex.fsf@peorth.gweep.net>
1997-09-22 23:47                         ` Hrvoje Niksic
1997-09-25 21:29                   ` Jason R Mastaler
1997-09-26  6:14                     ` Hrvoje Niksic
1997-09-21 16:44             ` Alan Shutko
     [not found]               ` <x7pvq12wso.fsf_-_@peorth.gweep.net>
1997-09-22 23:37                 ` Gnus 5.5 and MBSK Lars Magne Ingebrigtsen
     [not found]                   ` <x7en6gbxyr.fsf@peorth.gweep.net>
1997-09-23  4:46                     ` Lars Magne Ingebrigtsen
1997-09-22  7:10         ` Please unbundle the custom and widget libraries from qgnus Kai Grossjohann
1997-09-21  2:04     ` Lars Magne Ingebrigtsen
     [not found]       ` <6fzpp7kocq.fsf@half.dna.lth.se>
1997-09-21 16:31         ` Lars Magne Ingebrigtsen
1997-09-22 15:52           ` William M. Perry
1997-09-22 17:14             ` Hrvoje Niksic
1997-09-22 18:02               ` Per Abrahamsen
1997-09-22 23:38             ` Lars Magne Ingebrigtsen
     [not found]               ` <oqvhyrb2l3.fsf@icule.progiciels-bpi.ca>
1997-10-21 15:11                 ` Kai Grossjohann
1997-10-21 16:12                   ` To autoconf or not to autoconf (Was Re: Please unbundle the custom and widget libraries from qgnus.) William M. Perry
1998-02-07 20:27                   ` Please unbundle the custom and widget libraries from qgnus François Pinard
1997-10-24 22:52                 ` Lars Magne Ingebrigtsen
1997-10-25  0:57                   ` Matt Simmons
1997-10-30 12:55                   ` Hrvoje Niksic
1997-10-30 15:11                     ` William M. Perry
1997-10-30 15:23                       ` Hrvoje Niksic
1997-10-30 15:46                         ` William M. Perry
1997-09-21 12:02     ` Per Abrahamsen

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=kign2l74fx5.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /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.
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 NNTP newsgroup(s).