summaryrefslogtreecommitdiff
path: root/lisp/tar-mode.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Use default-value rather than default-enable-multibyte-characters.Glenn Morris2009-09-031-3/+4
|
* (tar-header-block-tokenize): Obey @LongLink even forStefan Monnier2009-06-041-1/+4
| | | | POSIX tar archives (bug#3410).
* (tar-extract): Setup the buffer's name, undo-list, andStefan Monnier2009-03-141-10/+4
| | | | modified status before running the major-mode.
* (tar-header-block-tokenize): Presume less, check more.Stefan Monnier2009-03-131-6/+20
| | | | | | | | (tar-summarize-buffer): Don't silently skip incomplete headers. (tar-mode): Revert to fundamental-mode in case of malformed tar data. (tar-extract): Try to make sure set-auto-mode doesn't mistakenly treat a tar file member as being a tar file itself, just because its own filename includes the parent tar file's.
* (tar-rename-entry): Only test the magic string, withoutStefan Monnier2009-01-161-2/+2
| | | | its version number, and then set both.
* (tar-header-block-tokenize): Properly ignore the versionStefan Monnier2009-01-121-4/+9
| | | | subfield of the magic string.
* (tar-mode, tar-mode-write-contents)Stefan Monnier2009-01-071-12/+12
| | | | (tar-write-region-annotate): Undo Andreas's last change.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (tar-mode): Set write-contents-functions instead ofAndreas Schwab2008-12-311-10/+13
| | | | | | write-region-annotate-functions. (tar-mode-write-contents): New function. (tar-write-region-annotate): Remove.
* (tar-data-swapped): New var.Stefan Monnier2008-12-301-7/+30
| | | | | | | (tar-data-swapped-p, tar-swap-data): Use it instead of buffer-swapped-with. (tar-write-region-annotate): Re-add (partial undo of last change). (tar-mode): Use it again (partial undo as well).
* (tar-swap-data): New function.Andreas Schwab2008-12-261-33/+24
| | | | | | | | | | | (tar-change-major-mode-hook): Use it instead of buffer-swap-text. (tar-mode-revert): Likewise. (tar-mode): Likewise. Don't set write-region-annotate-functions. (tar-data-swapped-p): Test buffer-swapped-with. (tar-write-region-annotate): Remove. (tar-header-block-tokenize): Add argument `coding' and use it instead of tar-file-name-coding-system. (tar-summarize-buffer): Pass tar-file-name-coding-system here.
* Merge from emacs--rel--22Miles Bader2008-06-011-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1193
| * (tar-header-block-summarize): Ensure one space around user&group.Stefan Monnier2008-05-261-1/+1
| |
* | (tar-header): New field `header-start'.Stefan Monnier2008-05-291-97/+95
| | | | | | | | | | | | | | | | | | | | | | | | (tar-header-block-tokenize): Set it when useful. Drop "GNUtar " magic value, which even GNU Tar doesn't know about. (tar-header-data-end): New function. (tar-summarize-buffer): Use it. (tar-next-line): Fix goal column for long usernames. (tar-expunge-internal): Use header-start. (tar-rename-entry): Handle ustar-style long names. (tar-alter-one-field): Add optional `descriptor' argument. (tar-subfile-save-buffer): Use it.
* | (tar-summarize-buffer): Fix reporter initialization.Stefan Monnier2008-05-281-22/+15
| | | | | | | | | | | | | | | | | | (tar-mode): Use write-region-annotate-functions rather than write-contents-functions. (tar-extract): Remove unused var `pos'. (tar-subfile-save-buffer): Remove unused var `following-descs'. (tar-mode-write-file): Remove. (tar-write-region-annotate): New function.
* | Use defstruct and markers.Stefan Monnier2008-05-271-241/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (tar-setf): Remove. (tar-header): Use defstruct. Add `data-start' field. (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header. (tar-desc-data-start): Remove (now called tar-header-data-start). (tar-roundup-512): New fun. (tar-header-block-tokenize): Receive a buffer position rather than a string. Handle @longLink here, be more careful about it. Create a marker for data-start. (tar-summarize-buffer): Don't handle @LongLink here any more. (tar-expunge-internal, tar-subfile-save-buffer): Don't update data-start on the following entries any more. (tar-chown-entry, tar-chgrp-entry): Use read-number.
* | Use buffer-swap-text to separate summary and raw data.Stefan Monnier2008-05-271-308/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (tar-header-offset): Remove. (tar-parse-info, tar-header-offset, tar-file-name-coding-system): Not permanent any more. (tar-data-buffer): New var. (tar-data-swapped-p, tar-change-major-mode-hook) (tar-mode-kill-buffer-hook): New funs. (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert) (tar-extract, tar-copy, tar-expunge-internal, tar-expunge) (tar-clear-modification-flags, tar-alter-one-field) (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file): Change accordingly.
* | (tar-summarize-buffer): Comment fix.Andreas Schwab2008-05-261-1/+1
| |
* | Merge from emacs--rel--22Miles Bader2008-05-261-5/+13
|\ \ | |/ | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1179
| * (tar-summarize-buffer): Handle GNU Tar @LongLink format.Stefan Monnier2008-05-251-9/+17
| |
* | Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
| |
* | (tar-untar-buffer): If the entry has directory link type, extract itMagnus Henoch2008-04-231-1/+3
| | | | | | | | | | as a directory even if its file name doesn't end with a slash. Fixes extraction of NetBSD tar archives.
* | (tar-prefix-offset): New constant.Juri Linkov2008-04-221-4/+12
| | | | | | | | | | (tar-header-block-tokenize): Support paths with long names which use the "ustar" standard.
* | (tar-mode-map): Obey mouse-1-click-follows-link.Stefan Monnier2008-04-031-0/+2
| |
* | Fix broken indentation.Stefan Monnier2008-02-121-30/+24
| | | | | | | | | | (tar-mouse-extract, tar-extract, tar-subfile-save-buffer): Use with-current-buffer.
* | Merge from emacs--devo--0Miles Bader2008-01-301-1/+2
|\ \ | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
| * | (tar-extract): Use kill-buffer-if-not-modified asMartin Rudalics2008-01-271-1/+2
| | | | | | | | | | | | exit-action when viewing the buffer.
* | | Merge from emacs--devo--0Miles Bader2008-01-091-1/+1
|\ \ \ | |/ / | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
| * | Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
| |\ \ | | |/ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| | * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| | |
* | | Merge from emacs--devo--0Miles Bader2007-10-271-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 902-908) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 131-137) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 261-262) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-278
| * | * term/x-win.el (x-gtk-stock-map, icon-map-list)Dan Nicolaescu2007-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (x-gtk-map-stock): Delete duplicated definitions from merge. * progmodes/octave-mod.el: Require octave-inf at compile time * progmodes/compile.el (compilation-skip-to-next-location) (compilation-skip-threshold, compilation-skip-visited): Move definitions earlier. * play/zone.el (zone-fall-through-ws): * play/landmark.el (lm-move-down, lm-move-up): * play/handwrite.el (handwrite): * mail/mspools.el (mspools-visit-spool): * wdired.el (wdired-next-line, wdired-previous-line): * tar-mode.el (tar-subfile-save-buffer): * scroll-lock.el (scroll-lock-next-line) (scroll-lock-previous-line): * image-dired.el (image-dired-next-line) (image-dired-previous-line): * ediff-help.el (ediff-help-message-line-length): Use forward-line. * smerge-mode.el (smerge-auto-refine): * diff-mode.el (diff-auto-refine): Add :group. * play/yow.el: Require doctor at compile time. * vmsproc.el: Provide vmsproc. (command-send-input): Use forward-line. * vms-patch.el: Require ps-print and vmsproc at compile time. * vc-mtn.el (log-view-message-re, log-view-file-re) (log-view-font-lock-keywords): Pacify byte-compiler. * vc-hg.el: Require log-view at compile time.
* | | Merge from emacs--devo--0Miles Bader2007-07-271-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 824-831) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 70-74) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
| * | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <rgm@gnu.org> * Relicense all FSF files to GPLv3 or later. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
| | * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| | |
* | | Merge from emacs--devo--0Miles Bader2007-07-241-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 816-823) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 59-69) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 237-238) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-235
| * | Merge from emacs--rel--22Miles Bader2007-07-241-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 59-69) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 237-238) - Update from CVS 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca> * lisp/ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the underlying file is uptodate. 2007-07-17 Dan Nicolaescu <dann@ics.uci.edu> * lisp/vc.el: Add more info about the vc-registered function. 2007-07-15 Richard M. Stallman <rms@gnu.org> * lisp/kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys. * lisp/tutorial.el (tutorial--find-changed-keys): Handle C-x specially like ESC. 2007-07-15 Aaron Hawley <aaronh@garden.org> * lisp/tar-mode.el (tar-get-descriptor): No error for zero-length file. 2007-07-21 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/mm-uu.el (mm-uu-type-alist): Refer to mm-uu-configure-list in doc string. 2007-07-16 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-srvr.el (gnus-server-font-lock-keywords): Quote faces. 2007-07-16 Richard M. Stallman <rms@gnu.org> * lispref/display.texi (Defining Faces): Fix previous change. 2007-07-20 Eli Zaretskii <eliz@gnu.org> * src/w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): Define if not defined. 2007-07-18 Jason Rumney <jasonr@gnu.org> * src/w32proc.c (w32_executable_type): Handle 64 bit executables. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-823
| | * (tar-get-descriptor): No error for zero-length file.Richard M. Stallman2007-07-151-1/+1
| | |
| | * (tar-header-block-summarize, tar-summarize-buffer)Chong Yidong2007-06-061-9/+11
| | | | | | | | | | | | (tar-get-descriptor): Handle type 55, an extended pax header.
* | | Merge from emacs--devo--0Miles Bader2007-06-111-9/+9
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 781-792) - Update from CVS - Merge from gnus--rel--5.10 - Merge from emacs--rel--22 * emacs--rel--22 (patch 33-41) * gnus--rel--5.10 (patch 226-228) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-219
| * | Fix typo, and clarify error message handling.Chong Yidong2007-06-061-9/+9
| | |
* | | Merge from emacs--devo--0Miles Bader2007-05-241-12/+30
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 751-770) - Update from CVS - Merge from emacs--rel--22 - Update from CVS: lisp/textmodes/sgml-mode.el: Revert last change. - Merge from gnus--rel--5.10 * emacs--rel--22 (patch 18-25) * gnus--rel--5.10 (patch 222-223) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-208
| * | Merge from emacs--rel--22Miles Bader2007-05-241-2/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 24) - Update from CVS Revision: emacs@sv.gnu.org/emacs--devo--0--patch-767
| | * (tar-file-name-handler): New function.Eli Zaretskii2007-05-231-4/+22
| | | | | | | | | | | | | | | | | | | | | (tar-extract): Bind file-name-handler-alist to it to force find-buffer-file-type-coding-system behave as if the file being extracted existed. Use last-coding-system-used to force buffer-file-coding-system to what decode-coding-region actually used to decode the file.
| * | (tar-header-block-summarize, tar-summarize-buffer, tar-get-descriptor): HandleEli Zaretskii2007-05-231-8/+10
| | | | | | | | | | | | type 55, an extended pax header.
| * | (tar-file-name-handler): New function.Eli Zaretskii2007-05-231-4/+20
| |/ | | | | | | | | | | | | (tar-extract): Bind file-name-handler-alist to it to force find-buffer-file-type-coding-system behave as if the file being extracted existed. Use last-coding-system-used to force buffer-file-coding-system to what decode-coding-region actually used to decode the file.
* | Merge from emacs--devo--0Miles Bader2007-01-261-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 586-614) - Update from CVS - Update from erc--emacs--22 - Merge from gnus--rel--5.10 - Merge from erc--main--0 - Make byte compiler correctly write circular constants * gnus--rel--5.10 (patch 186-196) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
| * Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2006-12-071-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 523-544) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 168-171) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-150
| * (tar-header-block-summarize, tar-clear-modification-flags): "?\ " -> "?\s".Juanma Barranquero2006-11-271-2/+2
| |