From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.comp.tex.texinfo.bugs,gmane.emacs.devel Subject: Re: Double hyphens in variable names. Date: Sun, 05 Oct 2003 10:34:16 +0200 (CEST) Sender: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane.org@gnu.org Message-ID: <20031005.103416.189731293.wl@gnu.org> References: <200310040103.h9413Xq08288@f7.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1065343746 944 80.91.224.253 (5 Oct 2003 08:49:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2003 08:49:06 +0000 (UTC) Cc: Lute.Kamstra@cwi.nl, emacs-devel@gnu.org, teirllm@dms.auburn.edu, bug-texinfo@gnu.org, karl@freefriends.org Original-X-From: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane.org@gnu.org Sun Oct 05 10:49:03 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A64Zb-0004Nz-01 for ; Sun, 05 Oct 2003 10:49:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A64Y7-00063j-9m for gnu-bug-texinfo2@m.gmane.org; Sun, 05 Oct 2003 04:47:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A64XX-0005lo-Hg for bug-texinfo@gnu.org; Sun, 05 Oct 2003 04:46:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A64Wy-0005YK-3R for bug-texinfo@gnu.org; Sun, 05 Oct 2003 04:46:51 -0400 Original-Received: from [212.227.126.188] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A64WP-0005H3-CZ; Sun, 05 Oct 2003 04:45:45 -0400 Original-Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1A64WM-0008Vd-00; Sun, 05 Oct 2003 10:45:42 +0200 Original-Received: from [62.156.48.244] (helo=orion.univie.ac.at) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1A64WL-0003fZ-00; Sun, 05 Oct 2003 10:45:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by orion.univie.ac.at (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id h958YGa08644; Sun, 5 Oct 2003 10:34:16 +0200 Original-To: rms@gnu.org In-Reply-To: X-Mailer: Mew version 4.0.58 on Emacs 21.3.50.1 / Mule 5.0 (SAKAKI) X-BeenThere: bug-texinfo@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for the GNU Texinfo documentation system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane.org@gnu.org Xref: main.gmane.org gmane.comp.tex.texinfo.bugs:1224 gmane.emacs.devel:16942 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16942 > This seems more logical than the roman fonts (bold and slanted) > now being used, although the roman fonts are prettier and take > less space. > > That sounds like a substantial change for the worse. I agree. > One other alternative is to use a fixed width font but slightly > smaller than the roman font now used. That might use little or no > extra space. It would have a drawback too, in reducing the > visibility of the function name, but it still could be better > overall than using a fixed width font of the same size. As already mentioned, it is ugly. A TeXnical solution: Make the hyphen character active in @def... like in this example: a - a -- a --- a \let\hyphen=- \catcode`\- \active \def-{\hyphen{}} a - a -- a --- a I don't know how tricky this is to add, but a quick look into texinfo.tex shows that only @code changes the category code of the hyphen locally. Werner