all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* header-line-format vs. window fringes
@ 2005-08-01 13:37 Juanma Barranquero
  2005-08-01 14:23 ` Juanma Barranquero
  2005-08-01 20:05 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Juanma Barranquero @ 2005-08-01 13:37 UTC (permalink / raw)


I'm trying to use `header-line-format' to create a header line for a
buffer which contains several columns of fixed width. The intent,
obviously, is for the header line to contain titles that should be
aligned right over each corresponding column (assuming the face used
on the buffer and the one for the header line use the same, or
equivalent, monospaced font).

I don't know how to do that when the window has non-null fringes,
because I know the fringes' widths, but I don't see a way to know the
width of the monospaced font, in pixels. As the header doesn't take
into account the fringes, its content is not character-aligned with
the buffer's content.

Am I missing something?

-- 
                    /L/e/k/t/u

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-01 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01 13:37 header-line-format vs. window fringes Juanma Barranquero
2005-08-01 14:23 ` Juanma Barranquero
2005-08-01 20:05 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.