From: Alex <agrambot@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 28033-done@debbugs.gnu.org
Subject: bug#28033: [PATCH] Add new face 'header-line-highlight'
Date: Sat, 12 Aug 2017 21:05:42 -0600 [thread overview]
Message-ID: <8760dsmak9.fsf@lylat> (raw)
In-Reply-To: <83a835qml8.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 12 Aug 2017 10:20:03 +0300")
[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
> . The order of the references to various parts of the changes in the
> log message should assume the reading order of top to bottom, so
> the log message might need some minor reordering. In this case,
> your original order:
I was going for a mostly alphabetical ordering. I take it that doesn't
matter?
>> * doc/emacs/display.texi (Standard Faces):
>> * etc/NEWS: Document the face.
>> * lisp/emacs-lisp/tabulated-list.el (tabulated-list-init-header):
>> * lisp/info.el (Info-fontify-node): Use the face.
>> * lisp/faces.el: Define the face.
>
> refers to "the face" before it was defined. I've reordered it to
> put the reference to the lisp/faces.el change before all the rest.
I don't really understand this part (though I don't mind following it).
Only the commit summary line references the face by name, and the
summary is already at the top. Why does it matter that, in the actual
program execution, the face has to be defined first?
P.S. I happened upon two more places to add this face to. Would you
please push this as well?
Thanks.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Use-header-line-highlight-in-proced-and-erc.patch --]
[-- Type: text/x-diff, Size: 1548 bytes --]
From 4aaff22bf46ad72922cd72a01eb841b60fb2eace Mon Sep 17 00:00:00 2001
From: Alexander Gramiak <agrambot@gmail.com>
Date: Sat, 12 Aug 2017 20:45:33 -0600
Subject: [PATCH] Use 'header-line-highlight' in proced and erc
* lisp/erc/erc-list.el (erc-list-button):
* lisp/proced.el (proced-format): Use the face.
---
lisp/erc/erc-list.el | 2 +-
lisp/proced.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/erc/erc-list.el b/lisp/erc/erc-list.el
index 5110239f61..7d6413ee7f 100644
--- a/lisp/erc/erc-list.el
+++ b/lisp/erc/erc-list.el
@@ -145,7 +145,7 @@ erc-list-button
(erc-propertize title
'column-number column
'help-echo "mouse-1: sort by column"
- 'mouse-face 'highlight
+ 'mouse-face 'header-line-highlight
'keymap erc-list-menu-sort-button-map))
(define-derived-mode erc-list-menu-mode special-mode "ERC-List"
diff --git a/lisp/proced.el b/lisp/proced.el
index be3b7c41a6..18693f4556 100644
--- a/lisp/proced.el
+++ b/lisp/proced.el
@@ -1438,7 +1438,7 @@ proced-format
(hprops
(if (nth 4 grammar)
(let ((descend (if (eq key sort-key) proced-descend (nth 5 grammar))))
- `(proced-key ,key mouse-face highlight
+ `(proced-key ,key mouse-face header-line-highlight
help-echo ,(format proced-header-help-echo
(if descend "-" "+")
(nth 1 grammar)
--
2.13.2
next prev parent reply other threads:[~2017-08-13 3:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-09 23:29 bug#28033: [PATCH] Add new face 'header-line-highlight' Alex
2017-08-10 4:13 ` Eli Zaretskii
2017-08-10 5:36 ` Alex
2017-08-11 16:15 ` Eli Zaretskii
2017-08-11 22:10 ` Alex
2017-08-12 7:20 ` Eli Zaretskii
2017-08-13 3:05 ` Alex [this message]
2017-08-13 14:27 ` Eli Zaretskii
2017-08-13 14:59 ` Eli Zaretskii
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=8760dsmak9.fsf@lylat \
--to=agrambot@gmail.com \
--cc=28033-done@debbugs.gnu.org \
--cc=eliz@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.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).