[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom
From: |
Juri Linkov |
Subject: |
bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom |
Date: |
Mon, 24 Aug 2020 21:38:48 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> Then like 'signal' uses 'ERROR-SYMBOL' as an error symbol, not string,
>> 'user-message' should use a symbol as well, e.g. in 'indicate-copied-region':
>>
>> (user-message
>> 'indicate-copied-region
>> "Saved text until \"%s\"" (buffer-substring-no-properties (- mark len)
>> mark))
>>
>> then users put a property on that symbol:
>>
>> (put 'indicate-copied-region 'inhibit-message t)
>>
>> to disable the message.
>
> Or we could have inhibit-message also be a list of symbols to inhibit?
Or a list of regexps for those users who want to inhibit message strings
directly by a regexp instead of messing with an intermediate layer of symbols :)
IOW, I still prefer the simplicity of such regexps as
(add-to-list 'inhibit-message "^Saved text until")
and can't imagine a situation why I'd want to inhibit such message
for one command but not for another.
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, (continued)
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Juri Linkov, 2020/08/18
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Lars Ingebrigtsen, 2020/08/19
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Juri Linkov, 2020/08/19
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Lars Ingebrigtsen, 2020/08/20
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Juri Linkov, 2020/08/20
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Lars Ingebrigtsen, 2020/08/21
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Juri Linkov, 2020/08/23
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Lars Ingebrigtsen, 2020/08/24
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Stefan Kangas, 2020/08/24
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Lars Ingebrigtsen, 2020/08/24
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom,
Juri Linkov <=
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Stefan Kangas, 2020/08/24
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Juri Linkov, 2020/08/25
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Stefan Kangas, 2020/08/25
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Juri Linkov, 2020/08/27
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Juri Linkov, 2020/08/19
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Lars Ingebrigtsen, 2020/08/20
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Sean Whitton, 2020/08/19
bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Sean Whitton, 2020/08/19