unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: larsi@gnus.org, pogonyshev@gmail.com, 19392@debbugs.gnu.org
Subject: bug#19392: Emacs searches for dabbrevs in archive buffers
Date: Sat, 23 Oct 2021 00:47:45 -0700	[thread overview]
Message-ID: <CADwFkm=bGYXSagWWeNnQ4gG4FPXaO1T0-Oeq+cJY8UpmLXJYaA@mail.gmail.com> (raw)
In-Reply-To: <83v91o5j1d.fsf@gnu.org>

Eli Zaretskii <eliz@gnu.org> writes:

>> > 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.
>>
>> Shouldn't we rather have a defcustom to ignore certain major modes?
>> The name could be `dabbrev-ignored-major-modes'.
>
> I don't necessarily object, but don't the existing defcustom's already
> cover that, via buffer names?  We shouldn't over-engineer this, I
> think.

Yes, let's try to avoid over-engineering.  This proposal was mostly just
an alternative idea that might allow us to avoid adding some hairy
and/or brittle regexps.





  reply	other threads:[~2021-10-23  7:47 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
2021-10-23  6:53                     ` Eli Zaretskii
2021-10-23  7:47                       ` Stefan Kangas [this message]
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='CADwFkm=bGYXSagWWeNnQ4gG4FPXaO1T0-Oeq+cJY8UpmLXJYaA@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=19392@debbugs.gnu.org \
    --cc=eliz@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).