unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Paul Pogonyshev <pogonyshev@gmail.com>, 19392@debbugs.gnu.org
Subject: bug#19392: Emacs searches for dabbrevs in archive buffers
Date: Wed, 14 Jul 2021 18:19:01 +0200	[thread overview]
Message-ID: <87r1g0dg22.fsf@gnus.org> (raw)
In-Reply-To: <83czrl83ra.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Jul 2021 15:43:37 +0300")

Eli Zaretskii <eliz@gnu.org> 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.

I think that could be easily implemented by allowing modes to set a
buffer-local variable like `dabbrev-ignore-buffer'.  I can see arc/tar
mode doing that, and perhaps image-mode, too?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-07-14 16:19 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 [this message]
2021-07-14 17:37               ` Eli Zaretskii
2021-07-15  4:41                 ` Lars Ingebrigtsen
2021-10-22 23:43                   ` Stefan Kangas
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=87r1g0dg22.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=19392@debbugs.gnu.org \
    --cc=eliz@gnu.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).