[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48321: 27.2; Text copied from *grep* buffer has NUL (0x00) character
From: |
Lars Ingebrigtsen |
Subject: |
bug#48321: 27.2; Text copied from *grep* buffer has NUL (0x00) characters |
Date: |
Tue, 11 May 2021 14:53:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
"R. Diez" <rdiezmail-emacs@yahoo.de> writes:
> In my opinion, copying text from a *grep* buffer that looks like ":"
> should not suddenly deliver a NUL character instead. That's just
> unexpected and prone to problems down the line.
Yup. This is cleverly done by this bit in `grep-regexp-alist':
nil nil
(3 '(face nil display ":")))
That is -- the "highlight" we're applying is a `display' spec that says
that the separator should be displayed as ":".
Stefan's suggestion to transform the nul character in the filter in grep
wouldn't quite work, I think -- the filtering is done before the
matching. So instead we need the thing that processes
`compilation-error-regexp-alist' to do the transformation after the
matches, I think?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, (continued)
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, Lars Ingebrigtsen, 2021/05/10
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, Andreas Schwab, 2021/05/10
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, Eli Zaretskii, 2021/05/10
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, R. Diez, 2021/05/10
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, Eli Zaretskii, 2021/05/10
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, Andreas Schwab, 2021/05/10
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, Eli Zaretskii, 2021/05/11
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, Glenn Morris, 2021/05/11
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, Eli Zaretskii, 2021/05/12
- bug#48324: 27.2; hexl-mode duplicates the UTF-8 BOM, Eli Zaretskii, 2021/05/10
bug#48321: 27.2; Text copied from *grep* buffer has NUL (0x00) characters,
Lars Ingebrigtsen <=