unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* W3 and CSS measurements of "em"
@ 2007-03-09 14:13 T. V. Raman
  2007-03-10  2:28 ` Magnus Henoch
  0 siblings, 1 reply; 5+ messages in thread
From: T. V. Raman @ 2007-03-09 14:13 UTC (permalink / raw)
  To: emacs-devel

This is possibly due to changes in Emacs 22 in the last few
months --- I'm not the best to debug this since it took me a few
months to even notice:-)

W3 implements CSS (Cascading Style Sheets ) and CSS can specify
things like margins in "em" units i.e. width of an 'm'.

The default CSS style file that comes with w3 sets left-margin
for bullets to 5em ---
I'm assuming that that did the right thing at some point.
However under emacs 22 CVS, this ends up having bulleted items
indented way far to the right --- approx 50 spaces.

I suspect that there is a bug in the W3 code that computes how
many spaces an 'm' should take -- could well do with this being
older code that incorrectly uses ints instead of chars perhaps.

Anyway, I'm sending this so it makes it into the archives and
hopefully serves to save the next person who hits the problem
some time. In my own environment I've since set left-margin for
bullets to 0.1 (absolute units instead of char width).

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

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

end of thread, other threads:[~2007-11-15 17:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09 14:13 W3 and CSS measurements of "em" T. V. Raman
2007-03-10  2:28 ` Magnus Henoch
2007-10-31  1:55   ` Emacs CVS: url-basepath replaced by url-file-directory /nondirecotry T. V. Raman
2007-11-02 15:02     ` Richard Stallman
2007-11-15 17:10     ` Magnus Henoch

Code repositories for project(s) associated with this public inbox

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

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