From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1779: 23.0.60; proced with variable-pitch header line Date: Sun, 04 Jan 2009 10:46:45 -0500 Message-ID: References: <873afzcwdi.fsf@cyd.mit.edu> <87prj3i09f.fsf@escher.local.home> Reply-To: Stefan Monnier , 1779@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231085033 29993 80.91.229.12 (4 Jan 2009 16:03:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Jan 2009 16:03:53 +0000 (UTC) Cc: Chong Yidong , 1779@emacsbugs.donarmstrong.com To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 04 17:04:59 2009 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.50) id 1LJVTB-0000WP-33 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2009 17:04:53 +0100 Original-Received: from localhost ([127.0.0.1]:55902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJVRv-0007Ab-G9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2009 11:03:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJVRp-0007AH-JB for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2009 11:03:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJVRn-00079t-R8 for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2009 11:03:29 -0500 Original-Received: from [199.232.76.173] (port=43097 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJVRn-00079n-DI for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2009 11:03:27 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44934) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LJVRm-0000Y7-PC for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2009 11:03:27 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n04G3NjC013416; Sun, 4 Jan 2009 08:03:24 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n04Ft4Yx011152; Sun, 4 Jan 2009 07:55:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 04 Jan 2009 15:55:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1779 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1779-submit@emacsbugs.donarmstrong.com id=B1779.12310840219746 (code B ref 1779); Sun, 04 Jan 2009 15:55:04 +0000 Original-Received: (at 1779) by emacsbugs.donarmstrong.com; 4 Jan 2009 15:47:01 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n04Fkr7E009735 for <1779@emacsbugs.donarmstrong.com>; Sun, 4 Jan 2009 07:46:55 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgcFAP9oYElFxLKh/2dsb2JhbACBbMcghXKBaQ X-IronPort-AV: E=Sophos;i="4.36,327,1228107600"; d="scan'208";a="31771172" Original-Received: from 69-196-178-161.dsl.teksavvy.com (HELO ceviche.home) ([69.196.178.161]) by ironport2-out.teksavvy.com with ESMTP; 04 Jan 2009 10:46:46 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id D77D3B41B8; Sun, 4 Jan 2009 10:46:45 -0500 (EST) In-Reply-To: <87prj3i09f.fsf@escher.local.home> (Stephen Berman's message of "Sun, 04 Jan 2009 16:01:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 04 Jan 2009 11:03:28 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:23757 Archived-At: > The justification is customizable in proced-grammar-alist. I set it to > `left' for all headers and modified proced-format by adapting the > :align-to code from buff-menu.el, but the headers still failed to align > with the columns with a variable-pitch header-line face. But shouldn't > it be possible in principle? Maybe someone who knows the code better > can make it work. You can also take a look at mpc.el (bzr co http://www.iro.umontreal.ca/~monnier/bzr/mpc) where I do it with align-to as well. I "try" to handle right alignment, but in a very naive way. I don't think we can currently do it right in Elisp, because there is a lot of missing information. I could imagine getting it to work, with a lot of effort based on forcing redisplay and using posn-at-point to measure the display size of particular pieces of text. But it's likely to be too slow to be practical. Stefan