Commit graph

14436 commits

Author SHA1 Message Date
Kenichi Handa
7736dabea7 (describe-font): Don't check fontset
here, and just call font-info.  Get the default font by from the
default face.
2008-05-30 02:37:31 +00:00
Kenichi Handa
eaf1161847 (utf-8-sig, utf-8-auto): New coding systems. 2008-05-29 23:00:20 +00:00
Stefan Monnier
e925563701 (utf-7-encode): Use the right escape char depending on imap/nonimap encoding. 2008-05-29 21:57:32 +00:00
Stefan Monnier
d4e88786de (completion-pcm-all-completions): Add the base-size. 2008-05-29 20:46:35 +00:00
Juanma Barranquero
dfb4dab1a2 (icomplete-prospects-height): Add :group. 2008-05-29 20:05:36 +00:00
Stefan Monnier
c2d0b538ee (icomplete-prospects-length): Make obsolete.
(icomplete-prospects-height): New var.
(icomplete-completions): Use it.
2008-05-29 16:25:12 +00:00
Juanma Barranquero
b1d4664a5f (auto-insert): Add :link. 2008-05-29 09:40:37 +00:00
Stefan Monnier
58d6a142ec (tar-header): New field `header-start'.
(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.
2008-05-29 05:25:22 +00:00
Stefan Monnier
5ee66afc6d (hack-local-variables): Don't signal an error if the local
variable section is not properly terminated.
2008-05-28 20:23:06 +00:00
Stefan Monnier
d338d019e4 (easy-menu-convert-item, easy-menu-convert-item-1):
Move the duplicate-generation outside of the caching so it also works
for identical entries.
2008-05-28 18:56:08 +00:00
Stefan Monnier
dd798c64f3 (tar-summarize-buffer): Fix reporter initialization.
(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.
2008-05-28 17:43:58 +00:00
Stefan Monnier
ab1d38354d * progmodes/flymake.el (flymake-save-buffer-in-file):
* shadowfile.el (shadow-copy-file):
* arc-mode.el (archive-*-write-file-member):
* files.el (diff-buffer-with-file):
* subr.el (with-temp-file): Pass nil to write-region.
* jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
2008-05-28 17:35:34 +00:00
Stefan Monnier
5b813fe87e (doc-view-mode-map): Bind `q' to quit-window, as is the custom. 2008-05-28 14:16:09 +00:00
Stefan Monnier
6b3d752c5d * src/fileio.c (Fwrite_region): Delay the defaulting to beg&z to after
calling build_annotations.
* lisp/files.el (basic-save-buffer-2): Pass nil rather than (point-min)
to write-region.
2008-05-28 12:36:15 +00:00
Glenn Morris
1ea1e2d498 (update-elclist): Work around non-portability of "\" in various
implementations of echo.
2008-05-28 03:18:49 +00:00
Stefan Monnier
0fe4440958 (describe-current-coding-system):
Don't assume selection-coding-system is always defined.
2008-05-27 20:09:51 +00:00
Stefan Monnier
61bb55d0e7 Use defstruct and markers.
(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.
2008-05-27 20:08:21 +00:00
Stefan Monnier
f598e45ef9 Use buffer-swap-text to separate summary and raw data.
(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.
2008-05-27 17:58:40 +00:00
Dan Nicolaescu
e02d8ae787 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
(vc-dir-resynch-file): ... this.  Update callers.
Use vc-string-prefix-p.  Ignore directory args.
(vc-string-prefix-p): CSE.
(vc-resynch-buffer): Restore conditional.

* vc-hooks.el (vc-after-save): Improve test.
(vc-mode-line): Fix indentation.
2008-05-27 05:36:03 +00:00
Chong Yidong
5c5f007f0c * calendar/parse-time.el (parse-time-months)
(parse-time-weekdays): Add long-form month and day names.
2008-05-27 03:46:27 +00:00
Glenn Morris
a8cb2f3f1d (update-elclist): Make errors in final sed non-fatal. 2008-05-27 02:14:59 +00:00
Stefan Monnier
3561170332 (vc-string-prefix-p): New function.
(vc-dir-parent-marked-p): Use it.
2008-05-27 01:13:25 +00:00
Dan Nicolaescu
114515eba8 (vc-deduce-fileset): Replace implementation with one based on a
working older version.
(vc-next-action): Use the new form of vc-deduce-fileset.  Fix
dealing with unregistered files.
2008-05-27 00:18:35 +00:00
Dan Nicolaescu
dff34e7e98 (Problems): Remove fixed issues.
(vc-dir-headers): Align labels.
(vc-default-status-printer): Do no call prettify-state-info.
2008-05-27 00:10:53 +00:00
Dan Nicolaescu
476b4d3518 (vc-make-backend-object): Fix name.
(vc-dir-show-fileentry): Fix docstring.
(vc-dir-refresh): Use vc-dir-backend.  Fix docstring.
(vc-dir-refresh-files): Use vc-dir-backend.  Fix docstring.  Reset
the state for directories.
2008-05-27 00:05:22 +00:00
Dan Nicolaescu
918e2ac456 (Problems): Remove fixed issues.
(vc-expand-dirs): Avoid returning directories.
2008-05-26 23:53:33 +00:00
Dan Nicolaescu
4f922bf541 (vc-cvs-status-extra-headers): Align labels. 2008-05-26 23:50:21 +00:00
Dan Nicolaescu
af71bb11ac (vc-dir-child-files): New function.
(vc-dir-node-directory): New function.
(vc-dir-update, vc-dir-parent-marked-p)
(vc-dir-children-marked-p, vc-dir-mark-all-files)
(vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
2008-05-26 23:49:35 +00:00
Dan Nicolaescu
4ff615b49f * vc.el (Problems): Remove fixed issues.
* vc-dispatcher.el (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
2008-05-26 23:44:59 +00:00
Dan Nicolaescu
592da08ebd (vc-resynch-window): Fix mode-line updating. 2008-05-26 23:40:15 +00:00
Stefan Monnier
bf6970a5f6 (diff-context-mid-hunk-header-re): New const.
(diff-font-lock-keywords, diff-context->unified)
(diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
(diff-hunk-text, diff-find-source-location): Use it.
(diff-post-command-hook): Let the user edit the hunk headers.
2008-05-26 17:25:44 +00:00
Andreas Schwab
9b06a6bdfe (vc-default-prettify-state-info): Fix formatting of an
unknown state.
2008-05-26 12:08:23 +00:00
Andreas Schwab
995feee471 (tar-summarize-buffer): Comment fix. 2008-05-26 10:55:37 +00:00
Miles Bader
5a11e947cc Fix date on merged ChangeLog entry
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1180
2008-05-26 06:57:48 +00:00
Miles Bader
142e26a72e Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1179
2008-05-26 06:57:40 +00:00
Glenn Morris
b4cb42a4d8 (diary-ordinal-suffix): Declare for compiler. 2008-05-26 01:27:45 +00:00
John Paul Wallington
53485d408a *** empty log message *** 2008-05-25 22:19:09 +00:00
Glenn Morris
4980d28f5a Ed Reingold <reingold at emr.cs.iit.edu>
(diary-hebrew-yahrzeit): Use diary-ordinal-suffix.
2008-05-25 20:09:23 +00:00
Glenn Morris
16cf244edb Ed Reingold <reingold at emr.cs.iit.edu>
(diary-hebrew-yahrzeit): Use diary-ordinal-suffix.
2008-05-25 20:09:05 +00:00
Stefan Monnier
a0fefe5742 (tar-summarize-buffer): Handle GNU Tar @LongLink format. 2008-05-25 13:48:22 +00:00
Juanma Barranquero
87b69e9d3e *** empty log message *** 2008-05-24 23:11:30 +00:00
Stefan Monnier
82305b1a29 (proced-header-line): Use the :align-to 0 feature
rather than computing the corresponding position manually.
(proced-update): Don't hardcode point-min==1.
2008-05-24 20:41:55 +00:00
Glenn Morris
14b63de7a9 New arch tag, since old one went to ChangeLog.13. 2008-05-24 19:27:54 +00:00
Glenn Morris
5469045bdc Move older stuff to ChangeLog.13. 2008-05-24 19:19:48 +00:00
Juanma Barranquero
08eb7c6c15 *** empty log message *** 2008-05-24 19:13:25 +00:00
Alan Mackenzie
dc37621478 *** empty log message *** 2008-05-24 12:45:33 +00:00
Alan Mackenzie
b7274ffdad *** empty log message *** 2008-05-24 12:17:18 +00:00
Glenn Morris
00609773f6 (update-elclist): New target, to update ELCFILES.
(bootstrap-after): Run update-elclist.
2008-05-24 02:27:02 +00:00
Dan Nicolaescu
64e5a32f19 (vc-delete-file): Make sure the buffer is deleted and
vc-dir buffers are updated.
2008-05-23 21:38:32 +00:00
Stefan Monnier
ee91bfdf8c (vc-delete-file): Don't try to resynch the buffer. 2008-05-23 20:59:51 +00:00