all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adrian Robert <arobert@cogsci.ucsd.edu>
Cc: mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org
Subject: Re: macos.texi updated
Date: Mon, 10 Oct 2005 15:53:40 -0400	[thread overview]
Message-ID: <3158D814-131C-469F-9DCF-3E678AC27957@cogsci.ucsd.edu> (raw)
In-Reply-To: <E1EOfjD-0006Lr-8Y@fencepost.gnu.org>


On Oct 9, 2005, at 2:16 PM, Richard M. Stallman wrote:

>     You're right..  But the population of "power users" in this  
> case for
>     whatever reason seems fairly large (just subjective  
> impression), and
>     the requirement to learn XLFD (to compose a fontset, or whatever
>     else) and partake of the pleasures of asterisk-counting seems  
> onerous.
>
> Is there a suitable font specification syntax in some other app that
> we could imitate?  I don't think it is worth while for us to develop a
> new one, and if it were unique to Emacs, it probably would not be very
> useful.

I agree that introducing yet-another-syntax just to eliminate XLFD is  
debatable.  But I'm not sure whether a second syntax beyond the lisp  
syntax used for font specification within a face that Yamamoto-san  
posted earlier on this thread is needed at all.  (I guess I was  
trying to say, "drop XLFD, and if some functionality is lost, update  
the lisp syntax to fix it".)  But if a second syntax IS needed, CSS  
(Cascading Style Sheets) might be one source of an alternative that  
is likely to be both easier to work with and more familiar to most  
users than XLFD.  It's also structurally more similar to the existing  
lisp syntax than XLFD, because it uses a similar attribute+value  
scheme.  Compare:

(set-face-attribute 'default nil :family "courier" :height  
130 :weight 'bold :slant 'italic)

.default {
     font-family: courier;
     font-size: 13pt;
     font-weight: bold;
     font-style: italic;
}

Also, because the CSS format also supports attributes like foreground/ 
background color and borders, it could conceivably work for face  
specification beyond just the font.


>     XLFD should be removed from non-window-system-specific code and
>     replaced with a simple struct containing the same information.
>
> That is not a user interface proposal.  That is a proposal for a
> simplification of internals of Emacs.  Maybe that would be a
> simplification, maybe not.  In either case, I would rather we NOT
> change this now.
>
> But it has nothing  to do with the idea of presenting a different
> _syntax_ for specifying a font, so I think it is just a distraction
> from the issue we were talking about.

It is a separate issue (and I could/should have started a new thread  
I suppose), but it is related insofar as the exposure to the user of  
XLFD and the deep embedding of XLFD in the platform-independent face  
code are tied to one another.

In any case, I intended all of this discussion to apply to emacs 23,  
and to avoid unneeded distraction I'm happy to put it aside for now  
until 22 is out the door.

  reply	other threads:[~2005-10-10 19:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21  8:21 macos.texi updated YAMAMOTO Mitsuharu
2005-09-22  6:12 ` Steven Tamm
2005-09-22 10:20   ` YAMAMOTO Mitsuharu
2005-09-22 15:22   ` Stefan Monnier
2005-09-25 14:20     ` Adrian Robert
2005-09-28  8:30       ` YAMAMOTO Mitsuharu
2005-10-07 14:53         ` Adrian Robert
2005-10-09 18:16           ` Richard M. Stallman
2005-10-10 19:53             ` Adrian Robert [this message]
2005-10-11 14:44               ` Richard M. Stallman
2005-10-11 17:22                 ` David Reitter
2005-10-12 16:24                   ` Richard M. Stallman
2005-10-18 18:29                 ` Adrian Robert
2005-10-20  4:55                   ` Richard M. Stallman
2005-10-24 12:24                     ` Adrian Robert
2005-10-25 15:59                       ` Richard M. Stallman
2005-10-11  1:31           ` Stefan Monnier
2005-10-11  8:01           ` YAMAMOTO Mitsuharu
2005-10-11 17:10             ` Adrian Robert
2005-09-22 20:42 ` Jesper Harder
2005-09-23  4:46   ` YAMAMOTO Mitsuharu
2005-09-23  7:00     ` Cheng Gao
2005-09-25 19:45     ` Jesper Harder
2005-09-23 18:12 ` Richard M. Stallman

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=3158D814-131C-469F-9DCF-3E678AC27957@cogsci.ucsd.edu \
    --to=arobert@cogsci.ucsd.edu \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /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.