From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: HTML mode depends on physical, surface expression Date: Fri, 24 Dec 2004 13:41:50 +0000 (UTC) Message-ID: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1103895966 10920 80.91.229.6 (24 Dec 2004 13:46:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Dec 2004 13:46:06 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 24 14:45:59 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ChplW-00044z-00 for ; Fri, 24 Dec 2004 14:45:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ChpwA-0004o6-Ld for ged-emacs-devel@m.gmane.org; Fri, 24 Dec 2004 08:56:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Chpvq-0004ny-2x for emacs-devel@gnu.org; Fri, 24 Dec 2004 08:56:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Chpvp-0004nm-M4 for emacs-devel@gnu.org; Fri, 24 Dec 2004 08:56:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Chpvp-0004nj-JE for emacs-devel@gnu.org; Fri, 24 Dec 2004 08:56:37 -0500 Original-Received: from [69.168.110.189] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Chphj-0005HT-O9 for emacs-devel@gnu.org; Fri, 24 Dec 2004 08:42:03 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Fri, 24 Dec 2004 13:41:50 +0000 (UTC) Original-To: emacs-devel@gnu.org, raman@cs.cornell.edu X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31369 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31369 HTML mode depends on the physical, surface expression, not the logical expression. The documentation for HTML mode says Text can be marked as bold, italic or underlined using the normal M-g or Edit/Text Properties/Face commands. This means that `facemenu-set-bold' conveys erroneous information for displays that use color or sound for different kinds of face rather than weights. The problem also occurs for facemenu-set-italic facemenu-set-bold-italic facemenu-set-underline Texinfo provides the @strong and @emph commands, which convert to and when running `makeinfo --html test.texi' The commands ought to be: facemenu-set-strong facemenu-set-emph facemenu-set-strong-emph facemenu-set-affirm In order to handle the bug, in `emacspeak/lisp/voice-setup.el', Emacspeak provides a `voice-lock-bold-personality' and other personalities. These personalities should only be necessary for working with erroneous text. Sadly, Emacspeak has now puts @strong and @emph into a library that has been moved to its `obsolete/' directory. This shows how strongly situationally sighted modes have come to dominate exposition. (For the past 8 or 10 years I have used HTML-HELPER mode rather than HTML mode. However I do not wish to recommend `html-helper-mode', since `html-mode' may well be better. HTML mode comes from `emacs/lisp/textmodes/sgml-mode.el' and has been updated more recently. It just happens that `html-helper-mode' suits my use. The point of this remark is that I know nothing about the relevant libraries, emacs/lisp/facemenu.el and emacs/lisp/files.el .) -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc