From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19392: Emacs searches for dabbrevs in archive buffers Date: Wed, 14 Jul 2021 20:37:03 +0300 Message-ID: <83sg0g7q68.fsf@gnu.org> References: <871r82qe5v.fsf@gnus.org> <878s2aowlm.fsf@gnus.org> <83czrl83ra.fsf@gnu.org> <87r1g0dg22.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15667"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pogonyshev@gmail.com, 19392@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 14 19:38:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3ips-0003zb-6b for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Jul 2021 19:38:16 +0200 Original-Received: from localhost ([::1]:41158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3ipr-0005LY-87 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Jul 2021 13:38:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3ipe-0005Ig-J5 for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2021 13:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3ipe-0005zm-9n for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2021 13:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3ipe-000716-7s for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2021 13:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jul 2021 17:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19392 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 19392-submit@debbugs.gnu.org id=B19392.162628423426904 (code B ref 19392); Wed, 14 Jul 2021 17:38:02 +0000 Original-Received: (at 19392) by debbugs.gnu.org; 14 Jul 2021 17:37:14 +0000 Original-Received: from localhost ([127.0.0.1]:45866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3ios-0006zs-2q for submit@debbugs.gnu.org; Wed, 14 Jul 2021 13:37:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3ioq-0006zc-6y for 19392@debbugs.gnu.org; Wed, 14 Jul 2021 13:37:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48650) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3iok-0005FT-KP; Wed, 14 Jul 2021 13:37:06 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3852 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3ioj-0004Mi-Jw; Wed, 14 Jul 2021 13:37:06 -0400 In-Reply-To: <87r1g0dg22.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 14 Jul 2021 18:19:01 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209964 Archived-At: > From: Lars Ingebrigtsen > Cc: Paul Pogonyshev , 19392@debbugs.gnu.org > Date: Wed, 14 Jul 2021 18:19:01 +0200 > > Eli Zaretskii writes: > > > 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. > > We do have all of that, but I think that it would be reasonable (by > default) for `dabbrev--select-buffers' to ignore these "binary" > buffers. Because the data there is mostly noise. If you want to do that, why not just add the appropriate regexp(s) to dabbrev-ignored-buffer-regexps?