unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* missing font vs. illegal char
@ 2006-04-11 16:34 Dan Jacobson
  2006-04-11 18:17 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Jacobson @ 2006-04-11 16:34 UTC (permalink / raw
  Cc: handa

$ { echo '-*-coding: utf-8-unix;-*-';
 wget -O - http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt;} > h.html
$ emacs h.html

I see the same rectangles for illegal characters that I do for missing
fonts in view-hello-file.

So emacs (21.4.1) doesn't distinguish the two cases. What would be
best is like firefox with the rectangles with the hex digits for
missing fonts... and diamonds with "?" for illegal chars.

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

* Re: missing font vs. illegal char
  2006-04-11 16:34 missing font vs. illegal char Dan Jacobson
@ 2006-04-11 18:17 ` Kevin Rodgers
  2006-04-15 12:52   ` Dan Jacobson
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2006-04-11 18:17 UTC (permalink / raw


Dan Jacobson wrote:
> $ { echo '-*-coding: utf-8-unix;-*-';
>  wget -O - http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt;} > h.html
> $ emacs h.html
> 
> I see the same rectangles for illegal characters that I do for missing
> fonts in view-hello-file.
> 
> So emacs (21.4.1) doesn't distinguish the two cases. What would be
> best is like firefox with the rectangles with the hex digits for
> missing fonts... and diamonds with "?" for illegal chars.

What is the point of naming the plain text file with the .html
extension, which invokes HTML mode?  And what is the point of
invalidating the HTML by inserting the Emacs file coding variable
outside of a comment (<!-- ... -->)?

-- 
Kevin Rodgers

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

* Re: missing font vs. illegal char
  2006-04-11 18:17 ` Kevin Rodgers
@ 2006-04-15 12:52   ` Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2006-04-15 12:52 UTC (permalink / raw


K> What is the point of naming the plain text file with the .html
Oops. I should have called it .txt.
Anyway, I don't think emacs shows a different glyph for an illegal
character vs. an OK character that lacks a font.

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

end of thread, other threads:[~2006-04-15 12:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 16:34 missing font vs. illegal char Dan Jacobson
2006-04-11 18:17 ` Kevin Rodgers
2006-04-15 12:52   ` Dan Jacobson

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