From: | "Christian Faulhammer (fauli)" <fauli@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/emacs/files: emacs-23.0.94-handle-xz-suffix.patch |
Date: | Thu, 30 Jul 2009 14:43:08 |
Message-Id: | E1MWWqZ-00057a-Bs@stork.gentoo.org |
1 | fauli 09/07/30 14:43:07 |
2 | |
3 | Added: emacs-23.0.94-handle-xz-suffix.patch |
4 | Log: |
5 | Major version bump to 23, with only one little patch for xz support |
6 | (Portage version: 2.1.6.13/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: emacs-23.0.94-handle-xz-suffix.patch |
15 | =================================================================== |
16 | Automatically handle .xz suffix (XZ-compressed files) |
17 | From Jim Meyering <meyering@××××××.com> on emacs-devel |
18 | |
19 | --- a/lisp/jka-cmpr-hook.el |
20 | +++ b/lisp/jka-cmpr-hook.el |
21 | @@ -219,6 +219,10 @@ options through Custom does this automatically." |
22 | "compressing" "gzip" ("-c" "-q") |
23 | "uncompressing" "gzip" ("-c" "-q" "-d") |
24 | t t "\037\213"] |
25 | + ["\\.xz\\(~\\|\\.~[0-9]+~\\)?\\'" |
26 | + "XZ compressing" "xz" ("-c" "-q") |
27 | + "XZ uncompressing" "xz" ("-c" "-q" "-d") |
28 | + t t "\3757zXZ\0"] |
29 | ;; dzip is gzip with random access. Its compression program can't |
30 | ;; read/write stdin/out, so .dz files can only be viewed without |
31 | ;; saving, having their contents decompressed with gzip. |