[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ELPA] Add new 'show-font' package?
From: |
Protesilaos Stavrou |
Subject: |
Re: [ELPA] Add new 'show-font' package? |
Date: |
Fri, 06 Sep 2024 08:43:09 +0300 |
> From: Philip Kaludercic <philipk@posteo.net>
> Date: Thu, 5 Sep 2024 10:18:50 +0000
>
> Protesilaos Stavrou <info@protesilaos.com> writes:
> [... 48 lines elided]
> A few comments on the code here:
> [... 32 lines elided]
Thank you, Philip! I will incorporate those.
> (defun show-font-pangram-p (string &optional characters)
> @@ -123,6 +122,9 @@ that all of them occur at least once in STRING."
> ;; mechanics of file handling yet. The idea of what I want is to get
> ;; an empty buffer. Then I add contents there without making it
> ;; appear modified.
> +
> +;; This constitutes a significant contribution, does it not?
It does. I plan to change it, anyway. I needed something there to let me
develop the core functionality. All I want though is to produce an empty
buffer when I visit the file.
If this proves difficult, then I will arrange for an alternative: to
generate a new buffer and deal with it as I need to.
> [... 44 lines elided]
> Some general comments: It would be nice to have a command to select a
> font.
You mean to select a font to preview? This can be done, for sure, though
I will need to decouple the preview/presentation from the file-visiting
part. In other words, the user selects a font and then we do
'set-face-attribute' of its family across the buffer that we generate.
This way, we do not need to know where the font is installed and to
visit that file (though that is fine as well).
--
Protesilaos Stavrou
https://protesilaos.com
- Re: [ELPA] Add new 'show-font' package?, (continued)
- Re: [ELPA] Add new 'show-font' package?, Protesilaos Stavrou, 2024/09/06
- Re: [ELPA] Add new 'show-font' package?, Eli Zaretskii, 2024/09/06
- Re: [ELPA] Add new 'show-font' package?, Protesilaos Stavrou, 2024/09/06
- Re: [ELPA] Add new 'show-font' package?, Eli Zaretskii, 2024/09/06
- Re: [ELPA] Add new 'show-font' package?, Protesilaos Stavrou, 2024/09/06
- Re: [ELPA] Add new 'show-font' package?, Eli Zaretskii, 2024/09/06
- Re: [ELPA] Add new 'show-font' package?, Protesilaos Stavrou, 2024/09/06
- Re: [ELPA] Add new 'show-font' package?, Eli Zaretskii, 2024/09/06
- Re: [ELPA] Add new 'show-font' package?, Protesilaos Stavrou, 2024/09/06
- Re: [ELPA] Add new 'show-font' package?, Eli Zaretskii, 2024/09/06
Re: [ELPA] Add new 'show-font' package?,
Protesilaos Stavrou <=
Re: [ELPA] Add new 'show-font' package?, Philip Kaludercic, 2024/09/06
Re: [ELPA] Add new 'show-font' package?, Protesilaos Stavrou, 2024/09/06
Re: [ELPA] Add new 'show-font' package?, Eli Zaretskii, 2024/09/06
Re: [ELPA] Add new 'show-font' package?, Philip Kaludercic, 2024/09/06