unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Zip-Archive mode should allow copy
Date: Mon, 28 Nov 2005 09:49:23 -0700	[thread overview]
Message-ID: <dmfcej$t17$1@sea.gmane.org> (raw)
In-Reply-To: <87zmnvxb7w.fsf@jidanni.org>

Emacs is the extensible, customizable, self-documenting real-time
display editor.

Dan Jacobson wrote:
 > Zip-Archive mode should allow copy, like dired's "C".
 > As of now, if one wants a specific file, one must bring it up in a
 > buffer, and write it, hopefully intact with no added newlines etc.
 > into a file.

Have you ever experienced a problem with Emacs making incorrect coding
system changes when you do that?  If so, submit a proper bug report.

You could just define a keyboard macro that does what you need (e.g.
`f C-x C-w C-x k'), name it, then bind it to "C" in Archive Mode's
local keymap.

 > No we don't always want to edit files when extracting
 > them from archives, e.g., .exe's.

(add-hook 'find-file-hooks
           (lambda ()
             (when (and archive-subfile-mode
                        (let ((case-fold-search nil))
                          (string-match "\\.exe\\'"
                                        (aref archive-subfile-mode 0))))
               (setq buffer-read-only t))))

-- 
Kevin Rodgers

      reply	other threads:[~2005-11-28 16:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-23 22:15 Zip-Archive mode should allow copy Dan Jacobson
2005-11-28 16:49 ` Kevin Rodgers [this message]

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='dmfcej$t17$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.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).