From: Kin Cho <kin@neoscale.com>
Subject: automatically turn on hexl-mode
Date: 04 Jun 2003 14:27:29 -0700 [thread overview]
Message-ID: <7i8yshfs8u.fsf@neoscale.com> (raw)
Hi,
In my find-file-hooks function, I want to turn on hexl-mode
automatically based on content. I.e.,
(and (buffer-content-looks-binary) (hexl-mode))
What's a reasonable implementation of buffer-content-looks-binary?
-kin
next reply other threads:[~2003-06-04 21:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-04 21:27 Kin Cho [this message]
2003-06-04 23:37 ` automatically turn on hexl-mode Pascal Bourguignon
2003-06-05 15:27 ` Benjamin Riefenstahl
2003-06-05 18:10 ` Kin Cho
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=7i8yshfs8u.fsf@neoscale.com \
--to=kin@neoscale.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.
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).