unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
Cc: 21025@debbugs.gnu.org
Subject: bug#21025: tabulated-list.el: It should preserve header line set by derived modes. (Encl. a suggested PATCH)
Date: Tue, 23 Feb 2016 20:43:20 +1100	[thread overview]
Message-ID: <87k2lvvk1z.fsf@gnus.org> (raw)
In-Reply-To: <559EBE29.8000302@gmail.com> (Vaidheeswaran C.'s message of "Fri,  10 Jul 2015 00:02:09 +0530")

Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com> writes:

> 3. Note that there is no header line when I explicitly request that I
>    need a header line @ lines 25, 26 in font-family.el
>
>       (setq tabulated-list-use-header-line nil)
>       (setq header-line-format "Font families")

[...]

>      (if tabulated-list-use-header-line
>  	(setq header-line-format cols)
> -      (setq header-line-format nil)

I'm not very familiar with tabulated lists, but this seems like it's
fixing the problem you're seeing...

> -      (overlay-put tabulated-list--header-overlay 'face 'underline))))
> +      (overlay-put tabulated-list--header-overlay
> +                   'face '(:overline t :underline t :weight bold)))))

This might be more controversial, though.  I think it looks nice, but
some people don't like so many lines.  Perhaps it should be a defface,
so that people can change this themselves?  The default could be what
you're describing, though.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  parent reply	other threads:[~2016-02-23  9:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 18:32 bug#21025: tabulated-list.el: It should preserve header line set by derived modes. (Encl. a suggested PATCH) Vaidheeswaran C
2015-07-12 23:16 ` Artur Malabarba
2015-07-13  2:55   ` Vaidheeswaran C
2015-07-13 18:56     ` Artur Malabarba
2016-02-23  9:43 ` Lars Ingebrigtsen [this message]
2019-06-25 16:10   ` Lars Ingebrigtsen
2019-06-25 16:35     ` Drew Adams
2019-06-25 16:39       ` Lars Ingebrigtsen
2019-06-25 17:12         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2lvvk1z.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=21025@debbugs.gnu.org \
    --cc=vaidheeswaran.chinnaraju@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).