unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: Elisp command to disable all tty face output
       [not found] <873aqh8h0r.fsf@basil.nowhere.org>
@ 2008-03-24  9:00 ` Peter Dyballa
  2008-03-25 10:21 ` Johan Bockgård
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2008-03-24  9:00 UTC (permalink / raw)
  To: Andi Kleen; +Cc: help-gnu-emacs


Am 23.03.2008 um 18:52 schrieb Andi Kleen:
> Is there a quick way to disable color output for all faces in a
> tty (-nw mode) to make emacs output everything like in
> a non color aware terminal?

Setting global-font-lock-mode to nil?

--
Mit friedvollen Grüßen

   Pete

Üblicherweise begehen Menschen beim Entwerfen vollkommen  
narrensicherer Dinge gerne den Fehler, das Genie des Volltrottels zu  
unterschätzen.






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

* Re: Elisp command to disable all tty face output
       [not found] <873aqh8h0r.fsf@basil.nowhere.org>
  2008-03-24  9:00 ` Elisp command to disable all tty face output Peter Dyballa
@ 2008-03-25 10:21 ` Johan Bockgård
       [not found]   ` <87wsnqm3t6.fsf@basil.nowhere.org>
  1 sibling, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2008-03-25 10:21 UTC (permalink / raw)
  To: help-gnu-emacs

Andi Kleen <freitag@alancoxonachip.com> writes:

> Is there a quick way to disable color output for all faces in a tty
> (-nw mode) to make emacs output everything like in a non color aware
> terminal?

--color=no

> I often run emacs inside screen and connect to different terminals,
> most of them black but some white. So doing it inside emacs would be a
> big boon.

(set-frame-parameter nil 'tty-color-mode -1)

Zero turns it back on.

-- 
Johan Bockgård


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

* Re: Elisp command to disable all tty face output
       [not found]   ` <87wsnqm3t6.fsf@basil.nowhere.org>
@ 2008-03-26  9:26     ` Johan Bockgård
  0 siblings, 0 replies; 3+ messages in thread
From: Johan Bockgård @ 2008-03-26  9:26 UTC (permalink / raw)
  To: help-gnu-emacs

Andi Kleen <freitag@alancoxonachip.com> writes:

> Emacs 21.3.1 doesn't seem to know about set-frame-parameter here
>
> Any other suggestions?

;; Takes effect on newly created windows
(tty-color-clear)

-- 
Johan Bockgård


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

end of thread, other threads:[~2008-03-26  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <873aqh8h0r.fsf@basil.nowhere.org>
2008-03-24  9:00 ` Elisp command to disable all tty face output Peter Dyballa
2008-03-25 10:21 ` Johan Bockgård
     [not found]   ` <87wsnqm3t6.fsf@basil.nowhere.org>
2008-03-26  9:26     ` Johan Bockgård

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