[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22757: Reply to correspondence dated February 22, 2016.
From: |
Eli Zaretskii |
Subject: |
bug#22757: Reply to correspondence dated February 22, 2016. |
Date: |
Mon, 22 Feb 2016 21:25:44 +0200 |
> Date: Mon, 22 Feb 2016 10:15:27 -0800
> From: Keith David Bershatsky <esq@lawlist.com>
> Cc: 22757@debbugs.gnu.org
>
> I agree that `get-char-property` is the key ingredient, and it would be
> prudent to steer users to that function. It does, however, require an
> advanced level of Lisp expertise to understand how to use it to achieve
> certain goals. I probably wouldn't have been able to figure out (in a
> reasonable period of time) how to get foreground/background at point without
> standing on the shoulders of others -- e.g., `foreground-color-at-point` and
> `background-color-at-point`.
get-char-property gets you the face, and then face-foreground and
face-background (both documented in the ELisp manual) can be used to
get the colors.
- bug#22757: 25.1.50; `face-at-point` and `faces--attribute-at-point` -- add argument WINDOW-OR-BUFFER, Keith David Bershatsky, 2016/02/21
- bug#22757: 25.1.50; `face-at-point` and `faces--attribute-at-point` -- add argument WINDOW-OR-BUFFER, Eli Zaretskii, 2016/02/21
- bug#22757: 25.1.50; `face-at-point` and `faces--attribute-at-point` -- add argument WINDOW-OR-BUFFER, Keith David Bershatsky, 2016/02/21
- bug#22757: 25.1.50; `face-at-point` and `faces--attribute-at-point` -- add argument WINDOW-OR-BUFFER, Keith David Bershatsky, 2016/02/21
- bug#22757: Reply to correspondence dated February 22, 2016., Keith David Bershatsky, 2016/02/22
- bug#22757: Reply to correspondence dated February 22, 2016.,
Eli Zaretskii <=
- bug#22757: 25.1.50; `face-at-point` and `faces--attribute-at-point` -- add argument WINDOW-OR-BUFFER, Keith David Bershatsky, 2016/02/22
- bug#22757: 25.1.50; `face-at-point` and `faces--attribute-at-point` -- add argument WINDOW-OR-BUFFER, Keith David Bershatsky, 2016/02/22