Subject: Re: bug#19392: Emacs searches for dabbrevs in archive buffers

From: Eli Zaretskii <[email-masked]>
Date: Wed, 14 Jul 2021 15:43:37 +0300

> From: Paul Pogonyshev <[email-masked]>
> Date: Tue, 13 Jul 2021 23:16:44 +0200
> Cc: [email-masked]
> 
> Zipping binary data was not a good idea, but at least string "PK" doesn't come from the archived
> "random.bin". You can create another test `.zip' file by archiving a text file, to be sure.

FWIW, I don't see a bug here.  Why should we assume that "binary"
buffers could never have anything useful for M-/ ?

Note that Emacs only searches other buffers if it cannot find matches
in the current one, or exhausts the ones from the current buffer.  And
we already support dabbrev-select-buffers-function,
dabbrev-ignored-buffer-names, and dabbrev-ignored-buffer-regexps,
which could fine-tune which other buffers are searched.  So it sounds
like users who want to control which other buffers are searched have
more than enough knobs to have whatever behavior they want.