Gnus development mailing list
 help / color / mirror / Atom feed
From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Re: Gnus v5.4.4 is released
Date: 29 Jan 1997 04:41:39 +0100	[thread overview]
Message-ID: <rj915d5erw.fsf@zuse.dina.kvl.dk> (raw)
In-Reply-To: Rich Pieri's message of 28 Jan 1997 17:34:23 -0500


Rich Pieri <rich.pieri@PrescientTech.com> writes:

> What I want to know, and nobody has provided an acceptable answer, yet,
> is what has replaced it.

Nothing really.  The old hack wasn't really intended to be a user
option.  There just wasn't any convenient way to enquiry for the
available color support in a frame.  So a global variable was used.  I
took up the problem with RMS, and he added a `display-type' frame
parameter.  The XEmacs people invented a `device-class' function to do
the same all by themselves.[1]

So in Emacs you can use

	(add-to-list 'default-frame-alist '(display-type . mono))

while in XEmacs you can use

	(defun device-class (&rest ignore) 'mono)

to lie about your color support.  These `new hacks' will affect more
than just the faces declared by customize, but an option to lie only
to the faces declared with customize would be weird, in my opinion.

The `display-type' and `background-mode' frame parameters are not very
well documented in Emacs, I suggest you send a polite bug report /
request for enhancement to RMS.

-- 
Per Abrahamsen

[1] Annoying conflict in terminology here.  Emacs use `window-system'
where XEmacs uses `device-type', while Emacs `display-type' is the
same as XEmacs calls `device-class'.  Emacs also have
`background-mode' with no direct equivalent in XEmacs.


  reply	other threads:[~1997-01-29  3:41 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-27  7:55 Lars Magne Ingebrigtsen
1997-01-27 10:48 ` Lars Balker Rasmussen
1997-01-27 11:03 ` Steven L Baur
1997-01-27 14:53 ` Rich Pieri
1997-01-27 16:53   ` Lars Magne Ingebrigtsen
1997-01-27 20:41     ` Rich Pieri
1997-01-27 21:13       ` Brent B. Powers
1997-01-27 21:23         ` Rich Pieri
1997-01-27 22:01         ` Sudish Joseph
1997-01-27 22:37           ` custom colors (was Re: Gnus v5.4.4 is released) Colin Rafferty
1997-01-27 22:47           ` Gnus v5.4.4 is released Rich Pieri
1997-01-27 23:23             ` Sudish Joseph
1997-01-28  7:25               ` Steinar Bang
1997-01-28  7:51                 ` Per Abrahamsen
1997-01-28 15:03                   ` Rich Pieri
1997-01-28 21:14                     ` Sudish Joseph
1997-01-28 22:34                       ` Rich Pieri
1997-01-29  3:41                         ` Per Abrahamsen [this message]
1997-01-29 14:50                           ` Turn Gnus' colors off (was Re: Gnus v5.4.4 is released) Rich Pieri
1997-01-30  6:20                             ` Per Abrahamsen
1997-01-28 14:43                 ` Gnus v5.4.4 is released Rich Pieri
1997-01-28  4:09         ` Per Abrahamsen
1997-01-28  4:06       ` 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=rj915d5erw.fsf@zuse.dina.kvl.dk \
    --to=abraham@dina.kvl.dk \
    /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).