all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Ryde <user42@zip.com.au>
To: emacs-devel@gnu.org
Subject: Re: arc-lzh-exe.el -- archive-mode on lzh self-extracting exes
Date: Mon, 23 Apr 2007 09:46:33 +1000	[thread overview]
Message-ID: <87vefonfae.fsf@zip.com.au> (raw)
In-Reply-To: <E1HfKGk-0001rW-NN@fencepost.gnu.org> (Richard Stallman's message of "Sat, 21 Apr 2007 14:25:10 -0400")

Richard Stallman <rms@gnu.org> writes:
>
> 1. Detect them automatically (probably complex).

The files have a nice marker early on, so the archive-exe-p I proposed
is
	- only .exe filename
	- "MZ", which is a DOS exe
	- "LHA's SFX", as tested by the "file" command

It'd be possible to add the search through the file looking for
"-lh5-" which is the start of the archive part proper (per
archive-lzh-exe-summarize), but I expect "LHA's SFX" is enough (it's
in a spot which I think is normally either "reserved" or relocation
table).

Can my archive-exe-p func go in, even if it's not enabled, so that
those who are confident about that test can customize it into the
magic alist?

> M-x archive-mode

In which case could .exe or lzh .exe or whatever get a mention in
files.texi, so that it's not a secret?

  parent reply	other threads:[~2007-04-22 23:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87zm5etm0r.fsf@zip.com.au>
     [not found] ` <E1HcAoA-0001sC-G4@fencepost.gnu.org>
     [not found]   ` <87tzvitz4z.fsf@zip.com.au>
2007-04-19  1:41     ` arc-lzh-exe.el -- archive-mode on lzh self-extracting exes Kevin Ryde
2007-04-19  2:01       ` Kevin Ryde
2007-04-19 23:17       ` Richard Stallman
2007-04-19 23:58         ` Chong Yidong
2007-04-20  1:05           ` Stefan Monnier
2007-04-20  1:42           ` Kevin Ryde
2007-04-20 10:40             ` Eli Zaretskii
2007-04-20 21:53           ` Richard Stallman
2007-04-20 22:44             ` Chong Yidong
2007-04-21  9:38             ` Eli Zaretskii
2007-04-21 18:25               ` Richard Stallman
2007-04-21 19:22                 ` Chong Yidong
2007-04-22 23:46                 ` Kevin Ryde [this message]
2007-04-23 14:25                   ` Chong Yidong
2007-04-20 10:37         ` Eli Zaretskii
2007-04-20 10:44           ` David Kastrup

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

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

  git send-email \
    --in-reply-to=87vefonfae.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.