From unknown Fri Aug 15 15:33:08 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13110 <13110@debbugs.gnu.org> To: bug#13110 <13110@debbugs.gnu.org> Subject: Status: 24.1; Problem chaining archive-mode and tar-mode. Reply-To: bug#13110 <13110@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:33:08 +0000 retitle 13110 24.1; Problem chaining archive-mode and tar-mode. reassign 13110 emacs submitter 13110 Mihir severity 13110 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 06 20:56:37 2012 Received: (at submit) by debbugs.gnu.org; 7 Dec 2012 01:56:37 +0000 Received: from localhost ([127.0.0.1]:57550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgnB6-0007yI-7z for submit@debbugs.gnu.org; Thu, 06 Dec 2012 20:56:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53390) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tgn1j-0007jx-5M for submit@debbugs.gnu.org; Thu, 06 Dec 2012 20:46:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tgn1N-0005lY-KN for submit@debbugs.gnu.org; Thu, 06 Dec 2012 20:46:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgn1N-0005lU-HG for submit@debbugs.gnu.org; Thu, 06 Dec 2012 20:46:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgn1J-0001sZ-FL for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2012 20:46:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tgn1F-0005l3-7a for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2012 20:46:29 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:55051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgn1E-0005kq-RC for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2012 20:46:25 -0500 Received: by mail-pa0-f41.google.com with SMTP id bj3so79781pad.0 for ; Thu, 06 Dec 2012 17:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=VJztZwAWbD8gaDS1IBjKNE+f5XJm6A8CuSIXHFKIrXs=; b=ugFnAjGKyo5mB7I2v0jR1fGlBQs+/PdoGxv4ptKRAMkkXy6R0D1cK0Maf1NlYc2C3g phzZn6BNp0RqHF+fjH2zZEp5cF+dtwgxwzXfT50xSo/Wm6TGBpBNuKYBHkb98E8M8y08 6Fv/DG6oBhFAkLfVGu+iRfOKIOrscgSFrEevKS068W4uj6eFDEr2GNyONX89UKY7O3ZZ FWdZhv7L9EJpyK+iVrkfitup4y86JIwDK0xemdJV4+AUHrFJNvg2EACQyZ6fY+T/8OTq YmQL5uaRBSIsBVtNtqbX+4JH+Qh1keK3zUZbLk+m3h3xGnoQMM4+pYjyOLCyWqk3tmpx 1vvA== Received: by 10.66.82.230 with SMTP id l6mr8554258pay.12.1354844782254; Thu, 06 Dec 2012 17:46:22 -0800 (PST) Received: from ubuntu.ubuntu-domain ([117.215.98.60]) by mx.google.com with ESMTPS id uq5sm5699917pbc.56.2012.12.06.17.46.19 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Dec 2012 17:46:21 -0800 (PST) From: Mihir To: bug-gnu-emacs@gnu.org Subject: 24.1; Problem chaining archive-mode and tar-mode. Date: Fri, 07 Dec 2012 07:15:42 +0530 Message-ID: <87boe6my7t.fsf@ubuntu.ubuntu-domain> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 06 Dec 2012 20:56:35 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) 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: (remove-hook 'write-contents-functions 'archive-write-file t)) which suggests that a similar fix might help in this case. I am aware that it is better practice to simply regenerate the .deb file, but this is a bug in Emacs nonetheless. In GNU Emacs 24.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-10-31 on ubuntu, modified by Debian Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-Wall -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -g -g' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 1 ; 3 2 0 1 ; 0 c Recent messages: ("emacs" "-f" "report-emacs-bug") For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /etc/emacs/xcscope hides /usr/share/emacs/24.1/site-lisp/cscope/xcscope /usr/share/emacs/24.1/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /etc/emacs/xcscope hides /usr/share/emacs/site-lisp/xcscope /usr/share/emacs/24.1/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/24.1/site-lisp/flim/hex-util hides /usr/share/emacs/24.1/lisp/hex-util /usr/share/emacs/24.1/site-lisp/flim/md4 hides /usr/share/emacs/24.1/lisp/md4 /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.1/lisp/textmodes/rst /usr/share/emacs/24.1/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.1/lisp/textmodes/ispell /usr/share/emacs/24.1/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.1/lisp/textmodes/flyspell /usr/share/emacs/24.1/site-lisp/flim/ntlm hides /usr/share/emacs/24.1/lisp/net/ntlm /usr/share/emacs/24.1/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.1/lisp/net/hmac-md5 /usr/share/emacs/24.1/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.1/lisp/net/sasl-ntlm /usr/share/emacs/24.1/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.1/lisp/net/sasl-cram /usr/share/emacs/24.1/site-lisp/flim/hmac-def hides /usr/share/emacs/24.1/lisp/net/hmac-def /usr/share/emacs/24.1/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.1/lisp/net/sasl-digest /usr/share/emacs/24.1/site-lisp/flim/sasl hides /usr/share/emacs/24.1/lisp/net/sasl Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 06 22:14:30 2012 Received: (at 13110) by debbugs.gnu.org; 7 Dec 2012 03:14:30 +0000 Received: from localhost ([127.0.0.1]:57568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgoOU-00027s-DM for submit@debbugs.gnu.org; Thu, 06 Dec 2012 22:14:30 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:49865) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgoOS-00027k-Ow for 13110@debbugs.gnu.org; Thu, 06 Dec 2012 22:14:29 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09soXOY/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="209262959" Received: from 108-161-115-152.dsl.teksavvy.com (HELO pastel.home) ([108.161.115.152]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Dec 2012 22:14:11 -0500 Received: by pastel.home (Postfix, from userid 20848) id DEB1658F5C; Thu, 6 Dec 2012 22:14:10 -0500 (EST) From: Stefan Monnier To: Mihir Subject: Re: bug#13110: 24.1; Problem chaining archive-mode and tar-mode. Message-ID: References: <87boe6my7t.fsf@ubuntu.ubuntu-domain> Date: Thu, 06 Dec 2012 22:14:10 -0500 In-Reply-To: <87boe6my7t.fsf@ubuntu.ubuntu-domain> (Mihir's message of "Fri, 07 Dec 2012 07:15:42 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13110 Cc: 13110@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) > 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 From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 04:02:31 2021 Received: (at 13110) by debbugs.gnu.org; 31 May 2021 08:02:31 +0000 Received: from localhost ([127.0.0.1]:60996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lncsY-00060o-St for submit@debbugs.gnu.org; Mon, 31 May 2021 04:02:31 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lncsW-0005vF-I4 for 13110@debbugs.gnu.org; Mon, 31 May 2021 04:02:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PxzC5HdyKZTjfHZ78sTJIh2RP4tdedzcXchi+Bvpj3g=; b=QfIDpe2qfKZfMXdL8LytrY1kv2 Fab3je3y0PLGW7rwFqPW9eADlAbJbhSTlDWs3mz0dAij8iufAG/OuvFI9CxIHPtWhhU1Ju3hSYaN+ DoY/7k5Y/q6CEuJpZqClG2VL8nuN66TgJJ1d22bO8x8SrfmIYLgyoiFPXQsGdW21bLCk=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lncsO-0007DL-3V; Mon, 31 May 2021 10:02:22 +0200 From: Lars Ingebrigtsen To: Mihir Subject: Re: bug#13110: 24.1; Problem chaining archive-mode and tar-mode. References: <87boe6my7t.fsf@ubuntu.ubuntu-domain> X-Now-Playing: Neneh Cherry's _Raw Like Sushi (1)_: "The Next Generation" Date: Mon, 31 May 2021 10:02:19 +0200 In-Reply-To: <87boe6my7t.fsf@ubuntu.ubuntu-domain> (Mihir's message of "Fri, 07 Dec 2012 07:15:42 +0530") Message-ID: <87wnrfgwl0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Mihir writes: > 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13110 Cc: 13110@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mihir writes: > 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'm going through old bug reports that unfortunately got little response at the time.) I tried reproducing this in Emacs 28, but was unable to. Instead I got various variations on --- archive-*-write-file-member: Updating was unsuccessful (1) --- which seems to be the correct response, since Emacs doesn't support editing ar (i.e., .deb) files. So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 04:02:36 2021 Received: (at control) by debbugs.gnu.org; 31 May 2021 08:02:36 +0000 Received: from localhost ([127.0.0.1]:60999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lncse-00065L-7N for submit@debbugs.gnu.org; Mon, 31 May 2021 04:02:36 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lncsd-00060B-4A for control@debbugs.gnu.org; Mon, 31 May 2021 04:02:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hFHQ54SDBeleoJYtXqeV63d/+4B/O6pxAMyx/+1H0gc=; b=eV9KnQuFxG8Mx3tYfAc+YwTiuo 0U5wQC/zoINWti+QlCugFdnUMtvkot98pP59vNk4t0/hGrfiDzSGUGwBBi5kMKlVJlYQYauh08wPR Tluj65T5DVtCw9kYrNvjZrY5IhyB83kd7xs0kftpM0S2qBco2LJ6lRrhoAB8SNVCc+nE=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lncsV-0007DT-Jp for control@debbugs.gnu.org; Mon, 31 May 2021 10:02:29 +0200 Date: Mon, 31 May 2021 10:02:27 +0200 Message-Id: <87v96zgwks.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13110 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 13110 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 13110 quit From unknown Fri Aug 15 15:33:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Jun 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator