unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19392: Emacs searches for dabbrevs in archive buffers
@ 2014-12-16  9:32 Paul Pogonyshev
  2014-12-16 15:39 ` Eli Zaretskii
  2021-07-13 18:09 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 24+ messages in thread
From: Paul Pogonyshev @ 2014-12-16  9:32 UTC (permalink / raw)
  To: 19392

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

Reproducible with 'emacs -q':

* In a freshly started Emacs, open an archive, e.g. a .tar.gz file in a
buffer.
* Switch to another buffer, type a couple of letters and then start
pressing 'M-/' (dabbrev-expand).
* It is very likely you will hit a "very useful" dabbrev in binary form
taken from the archive. E.g. I opened a large tarball, then switched to
*scratch*, typed "tz", and the very first dabbrev I got was "tz\327r".

Request: Emacs should ignore archive and other binary buffers when
generating dabbrevs. There are some settings to ignore buffers by name, but
this would rather ignore buffers by mode. Also, this should be the default
because I cannot imagine binary dabbrevs being useful to more than maybe
0.01% of users.

Reproduced on a recent Emacs trunk.

Paul

[-- Attachment #2: Type: text/html, Size: 991 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-05-07 12:35 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).