[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom
From: |
Lars Ingebrigtsen |
Subject: |
bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom |
Date: |
Fri, 21 Aug 2020 13:28:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> This looks like the existing function 'user-error' that
> doesn't enter the debugger when 'debug-on-error' is t.
> Does the name 'user-message' make more sense?
Yeah, that makes sense.
> But the problem is that it would be a huge endeavor
> to replace all 'message' calls with a new function call.
Well, we wouldn't want to do that -- we'd only replace the ones that
somebody thinks outputs a superfluous message.
> So maybe a better route is to add a list of ignored messages like
> 'debug-ignored-errors' contains a list of regexps that match messages
> to ignore.
>
> Then this will disable display of the copy-region message:
>
> (add-to-list 'ignored-messages "^Saved text")
I'm not in favour of that -- different code can output the same message,
and it may be superfluous only from a specific function.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Sean Whitton, 2020/08/14
- bug#42865: 28.0.50; Add new 'copy-region-quietly' defcustom, Lars Ingebrigtsen, 2020/08/18
- 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 <=
- 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, 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, 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