From: Jack Kamm <jackkamm@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: A few changes to test in master
Date: Fri, 07 Feb 2020 18:14:03 -0800 [thread overview]
Message-ID: <87pnepesgk.fsf@gmail.com> (raw)
In-Reply-To: <87wo8ycrcx.fsf@bzg.fr>
[-- Attachment #1: Type: text/plain, Size: 943 bytes --]
Hi Bastien,
Bastien <bzg@gnu.org> writes:
>> I have noticed a new bug, where the header line randomly gets "stuck"
>> on some row of the table, so even when I scroll and that row is no
>> longer on top of the buffer, that row is still replaced by the header
>> line.
>
> Yes, fixed now.
Hmm, I'm experience the problem worse now -- the header is always
getting stuck on the first row it appears on. Also, I'm seeing the
follow error in my *Messages*:
Error in post-command-hook (org-table-header-set-header): (error "Invalid or uninitialized timer")
>> Thanks. The default face looks great on light-themed backgrounds like
>> leuven, but is hard to read on some dark-themed backgrounds like
>> tsdh-dark or zenburn, due to their light text. Maybe the simplest
>> solution would be to set both the background and foreground colors in
>> the default face?
>
> Sure - would you like to suggest a patch for this?
Sure, see the patch below.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org-faces.el-Add-foreground-color-to-org-table-heade.patch --]
[-- Type: text/x-patch, Size: 912 bytes --]
From 2922d104b3508b1269c17ad0a28103bd912e308b Mon Sep 17 00:00:00 2001
From: Jack Kamm <jackkamm@gmail.com>
Date: Fri, 7 Feb 2020 18:04:59 -0800
Subject: [PATCH] org-faces.el: Add foreground color to org-table-header face
* lisp/org-faces.el (org-table-header): Add foreground color to
org-table-header face, to ensure readability when using a dark theme.
---
lisp/org-faces.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/org-faces.el b/lisp/org-faces.el
index d50f715cc..d78b606ec 100644
--- a/lisp/org-faces.el
+++ b/lisp/org-faces.el
@@ -364,7 +364,9 @@ changes."
"Face used for tables."
:group 'org-faces)
-(defface org-table-header '((t :inherit org-table :background "LightGray"))
+(defface org-table-header '((t :inherit org-table
+ :background "LightGray"
+ :foreground "Black"))
"Face for table header."
:group 'org-faces)
--
2.25.0
next prev parent reply other threads:[~2020-02-08 2:15 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-31 11:26 A few changes to test in master Bastien
2020-01-31 11:45 ` Fraga, Eric
2020-01-31 16:50 ` Bastien
2020-02-03 6:44 ` Fraga, Eric
2020-02-03 6:50 ` Bastien
2020-01-31 20:31 ` Bastien
2020-02-03 7:01 ` Fraga, Eric
2020-02-03 8:17 ` Bastien
2020-02-03 11:01 ` Fraga, Eric
2020-02-04 6:47 ` Fraga, Eric
2020-02-04 23:21 ` Bastien
2020-02-05 6:28 ` Fraga, Eric
2020-02-05 7:08 ` Bastien
2020-02-05 7:22 ` Fraga, Eric
2020-01-31 12:34 ` stardiviner
2020-01-31 16:25 ` Bastien
2020-02-01 2:36 ` Kaushal Modi
2020-02-01 2:45 ` Samuel Wales
2020-02-01 2:46 ` Kaushal Modi
2020-02-01 8:54 ` Bastien
2020-02-01 10:22 ` Axel Kielhorn
2020-02-01 12:19 ` Bastien
2020-02-01 14:52 ` Axel Kielhorn
2020-02-01 16:39 ` Bastien
2020-02-01 17:22 ` Axel Kielhorn
2020-02-01 20:59 ` Bastien
2020-02-04 7:47 ` Jack Kamm
2020-02-05 6:21 ` Bastien
2020-02-07 15:41 ` Jack Kamm
2020-02-07 16:08 ` Bastien
2020-02-08 2:14 ` Jack Kamm [this message]
2020-02-08 6:27 ` Bastien
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pnepesgk.fsf@gmail.com \
--to=jackkamm@gmail.com \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
/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/org-mode.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).