all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org, Kenichi Handa <handa@m17n.org>
Subject: Re: default default face
Date: Tue, 24 Jun 2008 11:24:28 +0900	[thread overview]
Message-ID: <buobq1rr2n7.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <877icgjc9u.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 23 Jun 2008 13:23:41 -0400")

Chong Yidong <cyd@stupidchicken.com> writes:
>>> It seems like it should be "Monospace" by default too, just like the
>>> `fixed' face.
>
> WDYT about making changing the defaults as follows:
>
> --- trunk/src/xrdb.c.~1.65.~	2008-06-02 12:27:57.000000000 -0400
..
> -  char *helv = "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1";
> +  char *helv = "Sans";
>
>  #ifdef USE_MOTIF
> -  char *courier = "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1";
> +  char *courier = "Monospace";
>    extern Lisp_Object Vdouble_click_time;
>  #endif

Is that enough?  A grep for "courier" finds the following:

./src/widget.c:#define DEFAULT_FACE_FONT "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*"
./src/xfns.c:	= { "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1",
./src/xrdb.c:  char *courier = "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1";
./lisp/org/org-exp.el:	font-family: courier, monospace;
./lisp/play/gamegrid.el:(defvar gamegrid-font "-*-courier-medium-r-*-*-*-140-100-75-*-*-iso8859-*"
./lisp/faces.el:  '(("Monospace" "courier" "fixed")
./lisp/faces.el:    ("courier" "fixed")
./lisp/textmodes/tex-mode.el:  '((t :family "courier"))

[I removed a bunch of false hits, e.g. the ps-print stuff, and the
hardwired font menus in mouse.el]

Also, isn't the canonical fontconfig name "Sans-Serif"?

Thanks,

-Miles

-- 
Philosophy, n. A route of many roads leading from nowhere to nothing.




      parent reply	other threads:[~2008-06-24  2:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23  3:28 default default face Miles Bader
2008-06-23  3:51 ` Chong Yidong
2008-06-23 17:23   ` Chong Yidong
2008-06-23 18:32     ` Stefan Monnier
2008-06-23 21:19     ` Chip Coldwell
2008-06-24  2:24     ` Miles Bader [this message]

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=buobq1rr2n7.fsf@dhapc248.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=miles@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.