[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Copying a list for insertion
From: |
Jean Louis |
Subject: |
Re: Copying a list for insertion |
Date: |
Sat, 22 Oct 2022 14:34:38 +0300 |
User-agent: |
Mutt/2.2.7+37 (a90f69b) (2022-09-02) |
* Emanuel Berg <incal@dataswamp.org> [2022-10-22 14:17]:
> Jean Louis wrote:
>
> > (defun rcd-kill-new (kill)
> > (cond ((stringp kill) (progn
> > (kill-new kill)
> > (rcd-message "Killed: %s" kill)))
> > (t (rcd-message "😧 WARNING: Nothing to kill."))))
>
> ;; (advice-add #'kill-new :after (lambda (&rest str) (message "%s" str)))
> ;; (advice-remove #'kill-new (lambda (&rest str) (message "%s" str)))
WYMINWYS - What you mean is not what you see.
Purpose of my function `rcd-kill-new' is not to send message what was
killed, but in general to be able to intercept information and
eventually record it, track it, or generate statistics out of it,
which in turn gives information how to shorten workflows or which new
functions to make. Imagine many programming lines, without direct
`kill-new' function and much of killing activity. Inspection of what
was killed leads to improvements.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
- Re: Copying a list for insertion, (continued)
- Re: Copying a list for insertion, Heime, 2022/10/21
- Re: Copying a list for insertion, Heime, 2022/10/21
- Re: Copying a list for insertion, Jean Louis, 2022/10/21
- Re: Copying a list for insertion, Heime, 2022/10/21
- Re: Copying a list for insertion, Jean Louis, 2022/10/22
- Re: Copying a list for insertion, Heime, 2022/10/22
- Re: Copying a list for insertion, Jean Louis, 2022/10/22
- Re: Copying a list for insertion, tomas, 2022/10/22
- Re: Copying a list for insertion, Emanuel Berg, 2022/10/22
- Re: Copying a list for insertion, Emanuel Berg, 2022/10/22
- Re: Copying a list for insertion,
Jean Louis <=
- Re: Copying a list for insertion, Emanuel Berg, 2022/10/25
- Re: Copying a list for insertion, Emanuel Berg, 2022/10/22
- Re: Copying a list for insertion, Jean Louis, 2022/10/22
- Re: Copying a list for insertion, Emanuel Berg, 2022/10/25
- Re: Copying a list for insertion, Jean Louis, 2022/10/21