unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Mihir <mihir.cs.iitd@gmail.com>
Cc: 13110@debbugs.gnu.org
Subject: bug#13110: 24.1; Problem chaining archive-mode and tar-mode.
Date: Thu, 06 Dec 2012 22:14:10 -0500	[thread overview]
Message-ID: <jwv624eimj4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87boe6my7t.fsf@ubuntu.ubuntu-domain> (Mihir's message of "Fri, 07 Dec 2012 07:15:42 +0530")

> I was editing a debian binary package (.deb). Finding the file opens it
> in archive-mode, then finding the file 'data.tar.gz' opens it in
> tar-mode. I proceeded to edit the file, which produced a warning message
> reminding me to go and save the buffer for 'data.tar.gz'. However, when
> I attempted to save the buffer for 'data.tar.gz', I got an error message
> saying, "Symbol's value as variable is void: archive-ar-write-file-member".

> I think this is because of a conflict between the hooks added to
> 'write-file-functions' by archive-mode and tar-mode. I notice this is
> handled in archive-mode by this line in arc-mode.el:

There might be such a conflict, indeed (I don't know how well tarballs
inside archives are handled), but arc-mode.el does not support writing
to ar archives anyway.


        Stefan





  reply	other threads:[~2012-12-07  3:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07  1:45 bug#13110: 24.1; Problem chaining archive-mode and tar-mode Mihir
2012-12-07  3:14 ` Stefan Monnier [this message]
2021-05-31  8:02 ` Lars Ingebrigtsen

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=jwv624eimj4.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=13110@debbugs.gnu.org \
    --cc=mihir.cs.iitd@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).