unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: pogonyshev@gmail.com, 19392@debbugs.gnu.org
Subject: bug#19392: Emacs searches for dabbrevs in archive buffers
Date: Fri, 22 Oct 2021 19:43:18 -0400	[thread overview]
Message-ID: <CADwFkmkXksZtVaLjv5iW5rbXyJMh04AAM_HJ2j4Z8QiavTi-aQ@mail.gmail.com> (raw)
In-Reply-To: <875yxcrxy8.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 15 Jul 2021 06:41:03 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> 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?
>
> It's a user option, so we shouldn't add things to it dynamically, but we
> could add a default that excludes these files.  The problem is, though,
> that that would be a very complex regexp matching everything that
> arc/tar/image modes covers, which is quite a lot.
>
> The user option thing also goes for `dabbrev-ignored-buffer-names'.

Shouldn't we rather have a defcustom to ignore certain major modes?
The name could be `dabbrev-ignored-major-modes'.





  reply	other threads:[~2021-10-22 23:43 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-16  9:32 bug#19392: Emacs searches for dabbrevs in archive buffers Paul Pogonyshev
2014-12-16 15:39 ` Eli Zaretskii
2014-12-16 16:19   ` Paul Pogonyshev
2021-07-13 18:09 ` Lars Ingebrigtsen
2021-07-13 18:24   ` Paul Pogonyshev
2021-07-13 19:13     ` Lars Ingebrigtsen
2021-07-13 21:12       ` Paul Pogonyshev
2021-07-13 21:16         ` Paul Pogonyshev
2021-07-14 12:43           ` Eli Zaretskii
2021-07-14 16:19             ` Lars Ingebrigtsen
2021-07-14 17:37               ` Eli Zaretskii
2021-07-15  4:41                 ` Lars Ingebrigtsen
2021-10-22 23:43                   ` Stefan Kangas [this message]
2021-10-23  6:53                     ` Eli Zaretskii
2021-10-23  7:47                       ` Stefan Kangas
2021-10-24 12:25                     ` Lars Ingebrigtsen
2021-10-24 13:07                       ` Stefan Kangas
2021-10-24 13:19                         ` Lars Ingebrigtsen
2021-10-24 14:27                           ` Stefan Kangas
2021-10-24 19:59                             ` Lars Ingebrigtsen
2021-07-14 16:15         ` Lars Ingebrigtsen
2022-05-07 11:20         ` Lars Ingebrigtsen
2022-05-07 12:19           ` Eli Zaretskii
2022-05-07 12:35             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmkXksZtVaLjv5iW5rbXyJMh04AAM_HJ2j4Z8QiavTi-aQ@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=19392@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=pogonyshev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).