GNU bug report logs - #2746
[PATCH] 23.0.91; ELP header not aligned correctly.

Previous Next

Package: emacs;

Reported by: Nikolaj Schumacher <me <at> nschum.de>

Date: Sun, 22 Mar 2009 17:20:02 UTC

Severity: minor

Tags: patch

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nikolaj Schumacher <me <at> nschum.de>
To: emacs-pretest-bug <at> gnu.org
Subject: bug#2746: [PATCH] 23.0.91; ELP header not aligned correctly.
Date: Sun, 22 Mar 2009 18:13:21 +0100
It seems header-line-format in ELP has each column one char too short.

In GNU Emacs 23.0.91.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-03-22 on thursday
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns' '--with-x''

regards,
Nikolaj Schumacher



diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el
index 900b93e..0d00fea 100644
--- a/lisp/emacs-lisp/elp.el
+++ b/lisp/emacs-lisp/elp.el
@@ -626,7 +626,7 @@ displayed."
                                    'display (list 'space :align-to column)
                                    'face 'fixed-pitch)
                        title)
-                    (setq column (+ column 1
+                    (setq column (+ column 2
                                     (if (= column 0)
                                         elp-field-len
                                       (length title))))))




This bug report was last modified 14 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.