[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ELPA] Add 'cursory' and 'tmr' packages?
From: |
Protesilaos Stavrou |
Subject: |
Re: [ELPA] Add 'cursory' and 'tmr' packages? |
Date: |
Thu, 21 Apr 2022 21:39:37 +0300 |
User-agent: |
Notmuch/0.35 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> From: Philip Kaludercic <philipk@posteo.net>
> Date: Thu, 21 Apr 2022 10:30:45 +0000
>
> Protesilaos Stavrou <info@protesilaos.com> writes:
>
>> Hello everyone,
>>
>> I have two small packages that I would like to offer to GNU ELPA. See
>> attached patches. What they do, in brief:
>>
>> * cursory :: Lets the user specify presets of cursor configuration, such
>> as 'cursor-type' and 'blink-cursor-delay', and switch between them on
>> demand. An example use-case is when one likes to use a block cursor
>> with a relatively fast blink rate for day-to-day editing and a bar
>> cursor with a slower blink rate while reading.
>>
>> <https://git.sr.ht/~protesilaos/cursory>
>
> I have two little patch suggestions for cursory:
>
> [...]
>
> Also, in `cursory-store-latest-preset' you use lisp-data-mode, but that
> was added with Emacs 28. It shouldn't really be an issue, but "fixing"
> it doesn't seem that difficult either:
>
> [...]
Thank you! I applied all the patches.
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Thu, 21 Apr 2022 08:15:45 -0400
>
> Philip Kaludercic [2022-04-21 10:30:45] wrote:
>> - (insert (concat ";; Auto-generated file;"
>> - " don't edit -*- mode: lisp-data -*-\n"))
>> + (insert ";; Auto-generated file; don't edit -*- mode: "
>> + (if (<= 28 emacs-major-version)
>> + "lisp-data"
>> + "emacs-lisp")
>> + " -*-\n"))
>
> BTW, I encourage the use of a `.eld` extension for those
> elisp-data files.
Also added the .eld extension and pushed the changes to elpa.git.
--
Protesilaos Stavrou
https://protesilaos.com