bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41168: Add variable to limit save-interprogram-paste-before-kill by


From: Lars Ingebrigtsen
Subject: bug#41168: Add variable to limit save-interprogram-paste-before-kill by size
Date: Sun, 13 Jun 2021 14:04:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

ndame <ndame@protonmail.com> writes:

> How about a variable which allows the user to limit the size of data saved on 
> the kill
> ring? Data larger than the limit is not copied.
>
> save-interprogram-paste-before-kill  itself could specify this limit. If it's 
> not t but a
> number then it's the limit as number of bytes or maybe kilobytes, because I 
> imagine
> the user sets such a limit to at least a few hundred kilobytes or higher.

This is now implemented in Emacs 28.  (And the limit is in characters.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]