From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#7881: 23.2.91; Bold spaces sometimes(?) underlined in man pages Date: Sat, 22 Jan 2011 18:45:03 -0500 Message-ID: <87zkqsbj0g.fsf@stupidchicken.com> References: <871v46jmkq.fsf@sc3d.org> <87sjwla92c.fsf@stupidchicken.com> <0k7hdw4s55.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295740517 10242 80.91.229.12 (22 Jan 2011 23:55:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 Jan 2011 23:55:17 +0000 (UTC) Cc: 7881@debbugs.gnu.org, Andreas Schwab , Reuben Thomas To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 23 00:55:12 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PgnIW-0007ZX-83 for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jan 2011 00:55:12 +0100 Original-Received: from localhost ([127.0.0.1]:42891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgnIV-00067m-NJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jan 2011 18:55:11 -0500 Original-Received: from [140.186.70.92] (port=45874 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgnIM-00066A-Dg for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2011 18:55:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgnIC-0006ML-IO for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2011 18:55:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgnIC-0006MH-Gc for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2011 18:54:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pgn1u-0001gI-2D; Sat, 22 Jan 2011 18:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jan 2011 23:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7881 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7881-submit@debbugs.gnu.org id=B7881.12957394376402 (code B ref 7881); Sat, 22 Jan 2011 23:38:02 +0000 Original-Received: (at 7881) by debbugs.gnu.org; 22 Jan 2011 23:37:17 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pgn1A-0001fC-Dz for submit@debbugs.gnu.org; Sat, 22 Jan 2011 18:37:16 -0500 Original-Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pgn17-0001ez-Dt for 7881@debbugs.gnu.org; Sat, 22 Jan 2011 18:37:14 -0500 Original-Received: from furball (dhcp128036014187.central.yale.edu [128.36.14.187]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0MNj3hq005820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 22 Jan 2011 18:45:06 -0500 Original-Received: by furball (Postfix, from userid 1000) id 6711A161EC4; Sat, 22 Jan 2011 18:45:03 -0500 (EST) In-Reply-To: <0k7hdw4s55.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 22 Jan 2011 15:09:42 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 22 Jan 2011 18:38:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43549 Archived-At: Glenn Morris writes: > Chong Yidong wrote: > >> I think `make-button' is indeed the apropriate choice here, since the >> button face needs to coexist with the other face text properties >> applied by man.el. > > Can make-text-button do better? It's supposedly possible for face text > properties to be a list of faces that get merged into the output. So > ideally it would try to add to the existing face props. Currently, text prop buttons use the category property. The category specifies a default when a requested property (in this case, the `face' property) does not exist. If the property exists, it overrides the category entirely. One possibility is to treat `face' properties specially in this regard, by merging into the category property instead of replacing. But this would be a backward incompatible behavior change, and possibly bug-prone. And it doesn't seem clean for a `face' category property to behave so differently from other category properties. Another possibility is to change the implementation of textprop buttons, to assign the face directly by merging, instead of using a category property. I'll take a look and see if this is feasible.