unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: 11169@debbugs.gnu.org
Subject: bug#11169: 24.0.95; (Wish/FR): Revert an archive member
Date: Thu, 05 Apr 2012 15:44:08 -0400	[thread overview]
Message-ID: <jwvy5qavuhy.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <81k41v7m3n.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 04 Apr 2012 17:19:48 +0530")

> It would be quite useful if there is a way to revert an archive
> member.  It could work something like this:
> 1. Revert a buffer
> 2. Check if the buffer is from an archive (See `archive-superior-buffer')
> 3. Check if the parent archive has changed and revert the parent archive
> 4. Refresh this and possibly other open archive members

A first step would be to make it work in the following case:
1- the user does M-x revert-buffer in the archive buffer.
2- the user does M-x revert-buffer in the archive member buffer.

One way to get this result (not necessarily the simplest, but one that
would make a lot of sense in general) is to extend archive-mode with
a file-name-handler.
E.g. if you open a /foo/bar.zip, you could access its members with C-x
C-f /foo/bar.zip#/toto.c.


        Stefan





  reply	other threads:[~2012-04-05 19:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04 11:49 bug#11169: 24.0.95; (Wish/FR): Revert an archive member Jambunathan K
2012-04-05 19:44 ` Stefan Monnier [this message]
2013-11-15  4:35 ` Jambunathan K

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=jwvy5qavuhy.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=11169@debbugs.gnu.org \
    --cc=kjambunathan@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).