Re: [PATCH] Define new face for the contents of #+RESULTS drawers

2023-09-18 Thread Ihor Radchenko
Samuel Wales writes: > perhaps a face for results to indicate that it is generated? May you please elaborate what you mean? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or

Re: [PATCH] Define new face for the contents of #+RESULTS drawers

2023-09-17 Thread Samuel Wales
perhaps a face for results to indicate that it is generated? On 9/17/23, Ihor Radchenko wrote: > Protesilaos Stavrou writes: > >> Though I understand now that there are more cases involved than I had >> anticipated. I will need to review everything on offer. Let's abort >> this effort for

Re: [PATCH] Define new face for the contents of #+RESULTS drawers

2023-09-17 Thread Ihor Radchenko
Protesilaos Stavrou writes: > Though I understand now that there are more cases involved than I had > anticipated. I will need to review everything on offer. Let's abort > this effort for now. Ok. Closing. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org

Re: [PATCH] Define new face for the contents of #+RESULTS drawers

2023-09-16 Thread Protesilaos Stavrou
> From: Ihor Radchenko > Date: Sat, 16 Sep 2023 12:44:37 + > [... 79 lines elided] > I am still not 100% sure what exactly you want to achieve - just > highlight evaluation results that are _also_ fixed-width or all kinds of > evaluation results. The goal is to make all kinds of evaluation

Re: [PATCH] Define new face for the contents of #+RESULTS drawers

2023-09-16 Thread Ihor Radchenko
Protesilaos Stavrou writes: >> I think there is some misunderstanding here. >> #+RESULTS is not a drawer. A drawer would be >> >> :results: >> ... >> :end: > > Oh, I see. How do we describe it? A keyword, perhaps? Affiliated keyword. Org allows attaching arbitrary metadata to syntax

Re: [PATCH] Define new face for the contents of #+RESULTS drawers

2023-09-16 Thread Protesilaos Stavrou
> From: Ihor Radchenko > Date: Sat, 16 Sep 2023 09:49:50 + > [... 9 lines elided] >> +(defface org-code-results '((t :inherit org-code)) >> + "Face for the contents of #+RESULTS drawers." >> + :group 'org-faces >> + :version "30.1") > > I think there is some misunderstanding here. >

Re: [PATCH] Define new face for the contents of #+RESULTS drawers

2023-09-16 Thread Ihor Radchenko
Protesilaos Stavrou writes: > I propose the attached patch. It gives users/themes the opportunity to > style the contents of #+RESULTS drawers differently than the face > applied to ~code~ elements. Thanks for the patch! > +(defface org-code-results '((t :inherit org-code)) > + "Face for the

[PATCH] Define new face for the contents of #+RESULTS drawers

2023-09-16 Thread Protesilaos Stavrou
2023 12:36:18 +0300 Subject: [PATCH] Define new face for the contents of #+RESULTS drawers * lisp/org-faces.el (org-code-results): Define new face. * lisp/org.el (org-set-font-lock-defaults): Use it instead of the generic 'org-code' face. --- lisp/org-faces.el | 5 + lisp/org.el | 2 +-