* Modify a font colour that has no colour name
@ 2019-12-01 23:15 jonetsu
2019-12-02 8:54 ` Robert Pluim
0 siblings, 1 reply; 16+ messages in thread
From: jonetsu @ 2019-12-01 23:15 UTC (permalink / raw)
To: help-gnu-emacs
Doing C-u C-x = on a org mode link shows the face that's used.
Although the colour of the face turns out not to be a colour but a
name, 'link'. If a colour is put in this field, the links disappear so
to say, and no colour is applied. Is there a way to change the colour
of that face and is it possible to do it only for the links in org mode
(although I do not mind if all links everywhere are adopting the same
colour) ?
Thanks.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-01 23:15 Modify a font colour that has no colour name jonetsu
@ 2019-12-02 8:54 ` Robert Pluim
2019-12-02 13:35 ` Perry Smith
0 siblings, 1 reply; 16+ messages in thread
From: Robert Pluim @ 2019-12-02 8:54 UTC (permalink / raw)
To: jonetsu; +Cc: help-gnu-emacs
>>>>> On Sun, 1 Dec 2019 18:15:05 -0500, jonetsu <jonetsu@teksavvy.com> said:
jonetsu> Doing C-u C-x = on a org mode link shows the face that's used.
jonetsu> Although the colour of the face turns out not to be a colour but a
jonetsu> name, 'link'. If a colour is put in this field, the links disappear so
jonetsu> to say, and no colour is applied. Is there a way to change the colour
jonetsu> of that face and is it possible to do it only for the links in org mode
jonetsu> (although I do not mind if all links everywhere are adopting the same
jonetsu> colour) ?
Links in org-mode use the 'org-link' face, so you can just do 'M-x
customize-face org-link' and set the attributes you like.
Robert
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-02 8:54 ` Robert Pluim
@ 2019-12-02 13:35 ` Perry Smith
2019-12-02 14:02 ` Dan Sommers
2019-12-02 14:13 ` Robert Pluim
0 siblings, 2 replies; 16+ messages in thread
From: Perry Smith @ 2019-12-02 13:35 UTC (permalink / raw)
To: Emacs mailing list
[-- Attachment #1: Type: text/plain, Size: 921 bytes --]
> On Dec 2, 2019, at 2:54 AM, Robert Pluim <rpluim@gmail.com> wrote:
>
>>>>>> On Sun, 1 Dec 2019 18:15:05 -0500, jonetsu <jonetsu@teksavvy.com> said:
>
> jonetsu> Doing C-u C-x = on a org mode link shows the face that's used.
> jonetsu> Although the colour of the face turns out not to be a colour but a
> jonetsu> name, 'link'. If a colour is put in this field, the links disappear so
> jonetsu> to say, and no colour is applied. Is there a way to change the colour
> jonetsu> of that face and is it possible to do it only for the links in org mode
> jonetsu> (although I do not mind if all links everywhere are adopting the same
> jonetsu> colour) ?
>
> Links in org-mode use the 'org-link' face, so you can just do 'M-x
> customize-face org-link' and set the attributes you like.
Without digging into the code, is there a way to find this out (in the
general case)?
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2966 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-02 13:35 ` Perry Smith
@ 2019-12-02 14:02 ` Dan Sommers
2019-12-02 14:13 ` Robert Pluim
1 sibling, 0 replies; 16+ messages in thread
From: Dan Sommers @ 2019-12-02 14:02 UTC (permalink / raw)
To: help-gnu-emacs
On 12/2/19 7:35 AM, Perry Smith wrote:
>
>
>> On Dec 2, 2019, at 2:54 AM, Robert Pluim <rpluim@gmail.com> wrote:
>>
>>>>>>> On Sun, 1 Dec 2019 18:15:05 -0500, jonetsu <jonetsu@teksavvy.com> said:
>>
>> jonetsu> Doing C-u C-x = on a org mode link shows the face that's used.
>> jonetsu> Although the colour of the face turns out not to be a colour but a
>> jonetsu> name, 'link'. If a colour is put in this field, the links disappear so
>> jonetsu> to say, and no colour is applied. Is there a way to change the colour
>> jonetsu> of that face and is it possible to do it only for the links in org mode
>> jonetsu> (although I do not mind if all links everywhere are adopting the same
>> jonetsu> colour) ?
>>
>> Links in org-mode use the 'org-link' face, so you can just do 'M-x
>> customize-face org-link' and set the attributes you like.
>
> Without digging into the code, is there a way to find this out (in the
> general case)?
Do M-x customize-face, but don't press return; the prompt will
tell you which face you're about to customize, and then you can
press C-g.
HTH,
Dan
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-02 13:35 ` Perry Smith
2019-12-02 14:02 ` Dan Sommers
@ 2019-12-02 14:13 ` Robert Pluim
2019-12-02 15:23 ` jonetsu
2019-12-02 21:06 ` VanL
1 sibling, 2 replies; 16+ messages in thread
From: Robert Pluim @ 2019-12-02 14:13 UTC (permalink / raw)
To: Perry Smith; +Cc: Emacs mailing list
>>>>> On Mon, 2 Dec 2019 07:35:17 -0600, Perry Smith <pedz@easesoftware.com> said:
>> On Dec 2, 2019, at 2:54 AM, Robert Pluim <rpluim@gmail.com> wrote:
>>
>>>>>>> On Sun, 1 Dec 2019 18:15:05 -0500, jonetsu <jonetsu@teksavvy.com> said:
>>
jonetsu> Doing C-u C-x = on a org mode link shows the face that's used.
jonetsu> Although the colour of the face turns out not to be a colour but a
jonetsu> name, 'link'. If a colour is put in this field, the links disappear so
jonetsu> to say, and no colour is applied. Is there a way to change the colour
jonetsu> of that face and is it possible to do it only for the links in org mode
jonetsu> (although I do not mind if all links everywhere are adopting the same
jonetsu> colour) ?
>>
>> Links in org-mode use the 'org-link' face, so you can just do 'M-x
>> customize-face org-link' and set the attributes you like.
Perry> Without digging into the code, is there a way to find this out (in the
Perry> general case)?
No code needed: C-u C-x = will tell you which face is being used by
the character under point.
Robert
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-02 14:13 ` Robert Pluim
@ 2019-12-02 15:23 ` jonetsu
2019-12-02 16:41 ` Robert Pluim
2019-12-02 21:06 ` VanL
1 sibling, 1 reply; 16+ messages in thread
From: jonetsu @ 2019-12-02 15:23 UTC (permalink / raw)
To: Emacs mailing list
On Mon, 02 Dec 2019 15:13:42 +0100
Robert Pluim <rpluim@gmail.com> wrote:
> No code needed: C-u C-x = will tell you which face is being used by
> the character under point.
On the first screen, yes. Where it shows:
There are text properties here:
face org-link
'org-link' is a link itself. Clicking it gives another screen, with
two links at the top:
Face: org-link (sample) (customize this face)
Clicking 'customize this face' gives another screen which shows the
well-known field where to enter the colour name. On that screen
'Inherit' is enabled and in lieu of the colour the following is shown:
Face: (sample) link
'link' is where the colour name would be. Changing 'link' for an
actual colour name it does not give good results. Hence my question.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-02 15:23 ` jonetsu
@ 2019-12-02 16:41 ` Robert Pluim
2019-12-02 22:37 ` jonetsu
0 siblings, 1 reply; 16+ messages in thread
From: Robert Pluim @ 2019-12-02 16:41 UTC (permalink / raw)
To: jonetsu; +Cc: Emacs mailing list
>>>>> On Mon, 2 Dec 2019 10:23:52 -0500, jonetsu <jonetsu@teksavvy.com> said:
jonetsu> On Mon, 02 Dec 2019 15:13:42 +0100
jonetsu> Robert Pluim <rpluim@gmail.com> wrote:
>> No code needed: C-u C-x = will tell you which face is being used by
>> the character under point.
jonetsu> On the first screen, yes. Where it shows:
jonetsu> There are text properties here:
jonetsu> face org-link
jonetsu> 'org-link' is a link itself. Clicking it gives another screen, with
jonetsu> two links at the top:
jonetsu> Face: org-link (sample) (customize this face)
jonetsu> Clicking 'customize this face' gives another screen which shows the
jonetsu> well-known field where to enter the colour name. On that screen
jonetsu> 'Inherit' is enabled and in lieu of the colour the following is shown:
jonetsu> Face: (sample) link
jonetsu> 'link' is where the colour name would be. Changing 'link' for an
jonetsu> actual colour name it does not give good results. Hence my question.
'Inherit' means 'inherit everything from this named face'. If you want
to set the colour directly, you should click on 'Show All Attributes',
and then set the 'Foreground' attribute as desired.
Robert
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-02 14:13 ` Robert Pluim
2019-12-02 15:23 ` jonetsu
@ 2019-12-02 21:06 ` VanL
2019-12-02 21:23 ` Amin Bandali
2019-12-03 3:27 ` Eli Zaretskii
1 sibling, 2 replies; 16+ messages in thread
From: VanL @ 2019-12-02 21:06 UTC (permalink / raw)
To: help-gnu-emacs
> Perry> Without digging into the code, is there a way to find this out (in the
> Perry> general case)?
>
> No code needed: C-u C-x = will tell you which face is being used by
> the character under point.
There's a function that lists all the faces and their colors, but the
name I forget. The ones that are difficult to see you then 'customize'.
--
LoL,
School of Secret Art
əə0@ 一 二 三 言 語 𝔖
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-02 21:06 ` VanL
@ 2019-12-02 21:23 ` Amin Bandali
2019-12-03 3:27 ` Eli Zaretskii
1 sibling, 0 replies; 16+ messages in thread
From: Amin Bandali @ 2019-12-02 21:23 UTC (permalink / raw)
To: help-gnu-emacs
VanL <van@scratch.space> writes:
[...]
>
> There's a function that lists all the faces
> and their colors, but the name I forget. The
> ones that are difficult to see you then
> 'customize'.
M-x list-faces-display RET, maybe?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-02 16:41 ` Robert Pluim
@ 2019-12-02 22:37 ` jonetsu
0 siblings, 0 replies; 16+ messages in thread
From: jonetsu @ 2019-12-02 22:37 UTC (permalink / raw)
To: Emacs mailing list
On Mon, 02 Dec 2019 17:41:07 +0100
Robert Pluim <rpluim@gmail.com> wrote:
> 'Inherit' means 'inherit everything from this named face'. If you want
> to set the colour directly, you should click on 'Show All Attributes',
> and then set the 'Foreground' attribute as desired.
Thanks, this works very well.
I also disabled 'Inherit' while changing the foreground colour and added
an underline.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-02 21:06 ` VanL
2019-12-02 21:23 ` Amin Bandali
@ 2019-12-03 3:27 ` Eli Zaretskii
2019-12-03 8:07 ` VanL
1 sibling, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2019-12-03 3:27 UTC (permalink / raw)
To: VanL; +Cc: help-gnu-emacs
> From: VanL <van@scratch.space>
> Date: Tue, 03 Dec 2019 08:06:54 +1100
>
> There's a function that lists all the faces and their colors, but the
> name I forget.
describe-text-properties?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-03 3:27 ` Eli Zaretskii
@ 2019-12-03 8:07 ` VanL
2019-12-03 13:35 ` Emanuel Berg via Users list for the GNU Emacs text editor
2019-12-03 14:16 ` Drew Adams
0 siblings, 2 replies; 16+ messages in thread
From: VanL @ 2019-12-03 8:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
Eli Zaretskii <eliz@gnu.org> writes:
>> From: VanL <van@scratch.space>
>> Date: Tue, 03 Dec 2019 08:06:54 +1100
>>
>> There's a function that lists all the faces and their colors, but the
>> name I forget.
>
> describe-text-properties?
M-x list-faces-display
;; Let people alias that name to list-all-faces?
;; I really can't remember list-faces-display.
--
LoL,
School of Secret Art
əə0@ 一 二 三 言 語 𝔖
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-03 8:07 ` VanL
@ 2019-12-03 13:35 ` Emanuel Berg via Users list for the GNU Emacs text editor
2019-12-03 14:16 ` Drew Adams
1 sibling, 0 replies; 16+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2019-12-03 13:35 UTC (permalink / raw)
To: help-gnu-emacs
VanL wrote:
>>> There's a function that lists all the faces
>>> and their colors, but the name I forget.
>>
>> describe-text-properties?
>
> M-x list-faces-display ;; Let people alias that
> name to list-all-faces? ;; I really
> can't remember list-faces-display.
If you are creative (ha) enough, you just need
to remember the name of the faces:
https://dataswamp.org/~incal/figures/emacs/emacs-lisp-faces.png
Do it today, in a different way!
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: Modify a font colour that has no colour name
2019-12-03 8:07 ` VanL
2019-12-03 13:35 ` Emanuel Berg via Users list for the GNU Emacs text editor
@ 2019-12-03 14:16 ` Drew Adams
2019-12-03 15:21 ` Emanuel Berg via Users list for the GNU Emacs text editor
2019-12-03 19:47 ` Emanuel Berg via Users list for the GNU Emacs text editor
1 sibling, 2 replies; 16+ messages in thread
From: Drew Adams @ 2019-12-03 14:16 UTC (permalink / raw)
To: VanL, Eli Zaretskii; +Cc: help-gnu-emacs
> M-x list-faces-display
> ;; Let people alias that name to list-all-faces?
> ;; I really can't remember list-faces-display.
list-colors-display
list-faces-display
list-fonts-display
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-03 14:16 ` Drew Adams
@ 2019-12-03 15:21 ` Emanuel Berg via Users list for the GNU Emacs text editor
2019-12-03 19:47 ` Emanuel Berg via Users list for the GNU Emacs text editor
1 sibling, 0 replies; 16+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2019-12-03 15:21 UTC (permalink / raw)
To: help-gnu-emacs
Drew Adams wrote:
>> M-x list-faces-display ;; Let people alias
>> that name to list-all-faces? ;; I really
>> can't remember list-faces-display.
>
> list-colors-display
; no colors
> list-faces-display
; no colors
> list-fonts-display
; does not compute
Probably in newer Emacs, right?
Because "font" is a more modern word?
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Modify a font colour that has no colour name
2019-12-03 14:16 ` Drew Adams
2019-12-03 15:21 ` Emanuel Berg via Users list for the GNU Emacs text editor
@ 2019-12-03 19:47 ` Emanuel Berg via Users list for the GNU Emacs text editor
1 sibling, 0 replies; 16+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2019-12-03 19:47 UTC (permalink / raw)
To: help-gnu-emacs
Drew Adams wrote:
>> M-x list-faces-display
>> ;; Let people alias that name to list-all-faces?
>> ;; I really can't remember list-faces-display.
>
> list-colors-display
> list-faces-display
> list-fonts-display
https://dataswamp.org/~incal/figures/emacs/emacs-uxu-submarine-spetsnaz.png
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2019-12-03 19:47 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-01 23:15 Modify a font colour that has no colour name jonetsu
2019-12-02 8:54 ` Robert Pluim
2019-12-02 13:35 ` Perry Smith
2019-12-02 14:02 ` Dan Sommers
2019-12-02 14:13 ` Robert Pluim
2019-12-02 15:23 ` jonetsu
2019-12-02 16:41 ` Robert Pluim
2019-12-02 22:37 ` jonetsu
2019-12-02 21:06 ` VanL
2019-12-02 21:23 ` Amin Bandali
2019-12-03 3:27 ` Eli Zaretskii
2019-12-03 8:07 ` VanL
2019-12-03 13:35 ` Emanuel Berg via Users list for the GNU Emacs text editor
2019-12-03 14:16 ` Drew Adams
2019-12-03 15:21 ` Emanuel Berg via Users list for the GNU Emacs text editor
2019-12-03 19:47 ` Emanuel Berg via Users list for the GNU Emacs text editor
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.