1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
Commit Graph

70756 Commits

Author SHA1 Message Date
Chong Yidong
d725448fab Sync to trunk version.
(search_image_cache, uncache_image, image-refresh): New functions.
Check for fg and bg colors.
(lookup_image): Use search_image_cache.  Cache fg and bg colors.
(pbm_load): Another check for invalid image data.
(png_load): Ignore default background field.
2007-08-07 16:32:49 +00:00
Chong Yidong
6facdb9be2 (struct image): New members. 2007-08-07 16:32:33 +00:00
Chong Yidong
3d91c31d45 * dispextern.h (struct image): New members.
* image.c: Sync to trunk version.
(search_image_cache, uncache_image, image-refresh): New functions.
Check for fg and bg colors.
(lookup_image): Use search_image_cache.  Cache fg and bg colors.
(pbm_load): Another check for invalid image data.
(png_load): Ignore default background field.
2007-08-07 16:32:21 +00:00
Chong Yidong
275e235e8d (longlines-decoded): New variable.
(longlines-mode): Avoid encoding or decoding the buffer twice.
2007-08-07 16:08:39 +00:00
Chong Yidong
559818abde * longlines.el (longlines-decoded): New variable.
(longlines-mode): Avoid encoding or decoding the buffer twice.
2007-08-07 16:08:26 +00:00
Chong Yidong
a12eea51fe ** davby@ida.liu.se, 6 July: Bug in pos-visible-in-window-p
Fixed.
2007-08-07 15:56:21 +00:00
Chong Yidong
a19a62aecb (move_it_by_lines): Remove incorrect optimization. 2007-08-07 15:54:27 +00:00
Chong Yidong
1cc8a86183 * xdisp.c (move_it_by_lines): Remove incorrect optimization. 2007-08-07 15:54:16 +00:00
YAMAMOTO Mitsuharu
31521cb0ff (__malloc_initialize): Remove pthread_once. Not needed. 2007-08-07 09:04:55 +00:00
YAMAMOTO Mitsuharu
e490694a08 (__morecore): Fix the declaration to comply with the definition. 2007-08-07 09:02:32 +00:00
YAMAMOTO Mitsuharu
22ffeb19ae (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable.
[USE_PTHREAD] (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS)
(UNLOCK_ALIGNED_BLOCKS): Conditionalize with it.
(malloc_atfork_handler_prepare, malloc_atfork_handler_parent)
(malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]:
New functions.
2007-08-07 08:58:22 +00:00
YAMAMOTO Mitsuharu
80ef6d1c91 (main) [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]:
Call malloc_enable_thread on interactive startup.
2007-08-07 08:57:06 +00:00
Stefan Monnier
a460c94c17 Remove comments about vc-bzr.el being a modified unofficial version.
(vc-bzr-command): Remove redundant setting of process-connection-type.
(vc-bzr-admin-checkout-format-file): Add autoload.
(vc-bzr-root-dir): Remove in favor of vc-bzr-root.
(vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
(vc-bzr-registered): Compare dirstate format tag with known good
value, abort parsing if match fails.  Warn user in docstring.
(vc-bzr-workfile-version): Case for different Bzr branch formats.
See bzrlib/branch.py in Bzr sources.
(vc-bzr-diff): First argument FILES may be a string rather than a list.
(vc-bzr-shell-command): Remove in favor of
vc-bzr-command-discarding-stderr.
(vc-bzr-command-discarding-stderr): New function.
2007-08-07 04:23:50 +00:00
Richard M. Stallman
fcf65e71d5 *** empty log message *** 2007-08-07 02:19:41 +00:00
Vinicius Jose Latorre
49084b3679 Returning back printing.el 2007-08-06 23:33:37 +00:00
Jason Rumney
4a64fb3f72 Include INSTALL in full-bin zip file. 2007-08-06 22:38:02 +00:00
Stefan Monnier
b6e6e09ac1 (vc-bzr-registered): Gracefully handle missing "bzr"
program, and return nil
(vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
(vc-bzr-state): Look for path names relative to the repository
root after status keyword.
(vc-bzr-file-name-relative): New function.
(vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
depend on it.
(vc-bzr-admin-dirname, ...-checkout-format-file)
(...-branch-format-file, ...-revhistory): Paths to some Bzr internal
files that we now parse directly for speed.
(vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
(vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
(vc-bzr-state): "bzr status" successful only if exitcode is 0
(vc-bzr-root): Use `vc-bzr-shell-command'.  Stderr may contain
Bzr warnings, so we must discard it.
(vc-bzr-workfile-version): Speedup counting lines from
`vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
if that file doesn't exist.
(vc-bzr-responsible-p): Use `vc-bzr-root' instead of
`vc-bzr-root-dir' for speed.
add `vc-bzr-admin-dirname' (not ".bzr"!) to `vc-directory-exclusion-list'
(vc-bzr-shell-command): New function.
2007-08-06 21:17:34 +00:00
Stefan Monnier
dfbd373dfb (diff-unified->context, diff-reverse-direction, diff-fixup-modifs):
Typo in docstring.
2007-08-06 20:08:55 +00:00
Chong Yidong
bc04f6bf4f (redisplay_window): When restoring original buffer position, make sure
it is still valid.
2007-08-06 17:23:03 +00:00
Chong Yidong
675bab4470 * xdisp.c (redisplay_window): When restoring original buffer
position, make sure it is still valid.
2007-08-06 17:22:44 +00:00
Richard M. Stallman
f6969b1e38 *** empty log message *** 2007-08-06 16:36:11 +00:00
Stefan Monnier
036f2966c3 (tpu-current-line): Use posn-at-point and count-screen-lines.
(tpu-edt-off): Disable relevant pieces of advice.
2007-08-06 16:21:33 +00:00
Stefan Monnier
f2b189796c (tpu-before-save-hook): Rename from tpu-write-file-hook.
Activate it with add-hook on buffer-save-hook.
(newline, newline-and-indent, do-auto-fill): Use advice instead of
redefining the function.
(tpu-set-scroll-margins): Activate the pieces of advice.
2007-08-06 16:20:10 +00:00
Michael Albinus
1f3d1bea39 *** empty log message *** 2007-08-06 07:23:39 +00:00
Michael Albinus
5bc880a47d * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
process-filter.
2007-08-06 06:57:31 +00:00
Martin Rudalics
8f06e122c5 (Size of Window): Document window-full-width-p. 2007-08-06 06:53:40 +00:00
Martin Rudalics
2a5f11a2b0 (resize-temp-buffer-window): Use window-full-width-p
instead of comparing frame-width and window-width.
2007-08-06 06:51:13 +00:00
Martin Rudalics
97958f7775 Add EXFUN for Fwindow_full_width_p. 2007-08-06 06:47:09 +00:00
Martin Rudalics
35ea56c96a (window_min_size_2): New function.
(window_min_size_1, size_window, Fdisplay_buffer)
(Fsplit_window, adjust_window_trailing_edge): Use it to avoid
windows without mode- or header-lines when window-min-height is
too small.
(size_window): Reset nodelete_p after testing it, following an
earlier note by Kim F. Storm.
(display_buffer): Do not set split_height_threshold to twice the
value of window_min_height to avoid changing the value of a
customizable variable.  Rather explicitly check whether the
height of the window that shall be splitted is at least as large
as split_height_threshold.
(Fwindow_full_width_p): New defun.
(syms_of_window): Defsubr it.
(Fdisplay_buffer): Use NILP.
(Fset_window_scroll_bars): Likewise.
2007-08-06 06:44:31 +00:00
Vinicius Jose Latorre
a6f882f597 Honor term-default-fg-color and term-default-bg-color settings when modifying term-current-face. 2007-08-05 14:09:30 +00:00
Vinicius Jose Latorre
0dad68f039 Require lpr and ps-print when loading printing package 2007-08-05 12:58:00 +00:00
Michael Albinus
70aa3317c5 *** empty log message *** 2007-08-05 12:48:27 +00:00
Michael Albinus
6435918d3d * net/tramp.el (tramp-handle-file-remote-p): Return a string as
remote identification.
2007-08-05 12:43:06 +00:00
Michael Albinus
212b726841 * files.el (set-auto-mode): Handle also remote files wrt
`auto-mode-alist'.
2007-08-05 08:57:24 +00:00
Glenn Morris
b1ab8c3810 (auto-revert-tail-mode): auto-revert-tail-pos is zero, not nil, when
the library is first loaded.  Check for a file that has been modified
on disk.
2007-08-04 02:35:10 +00:00
Glenn Morris
e9bfd3a3f9 (cperl-compilation-error-regexp-alist): Remove duplicate defvar
preventing initialization.
(cperl-mode): Fix compilation-error-regexp-alist-alist setting.
2007-08-04 02:32:43 +00:00
Richard M. Stallman
ddbdaf2420 *** empty log message *** 2007-08-03 20:19:08 +00:00
Glenn Morris
14f7b89dd3 (telnet-mode): Fix previous change. 2007-08-03 17:09:43 +00:00
Miles Bader
5716cebdd0 Change capitalization of VC backend names for new backends
Revision: emacs@sv.gnu.org/emacs--rel--22--patch-87
2007-08-03 05:09:21 +00:00
Richard M. Stallman
73ff9d42c4 (Fvisited_file_modtime): Use make_time. 2007-08-03 03:39:09 +00:00
Richard M. Stallman
1ad08acd2b Comment change. 2007-08-03 03:38:24 +00:00
Glenn Morris
3ff6796841 (telnet-mode): Set comint-use-prompt-regexp to t. 2007-08-03 03:21:13 +00:00
Glenn Morris
501d63d62d Revert previous change, which was only supposed to be in trunk. 2007-08-03 03:19:07 +00:00
Glenn Morris
fd2a7b94b3 Drew Adams <drew.adams at oracle.com>
(pp-eval-expression): Add progress message.  Make buffer writable.
2007-08-03 03:14:34 +00:00
Richard M. Stallman
7d7d10b874 (rmail-make-summary-line): Find end of msg number to update deleted flag. 2007-08-02 17:56:38 +00:00
Richard M. Stallman
bd18cd1928 (customize-apropos, customize-apropos-options)
(customize-apropos-faces, customize-apropos-groups): Improve prompt.
2007-08-02 17:53:19 +00:00
Richard M. Stallman
69a7537f47 (menu-bar-help-menu): Add "About GNU" menu item. 2007-08-02 17:52:26 +00:00
Richard M. Stallman
257792a8db (fancy-splash-head, startup-echo-area-message): Change message text. 2007-08-02 17:49:33 +00:00
Richard M. Stallman
77b4381a2d (next-line-internal): Setting deleted. All callers use line-move. 2007-08-02 17:43:00 +00:00
Richard M. Stallman
7d1dad0cbd (compilation-find-buffer): Return current buffer immediately if suitable.
(compile, compilation-buffer-name, compilation-start): Doc fixes.
2007-08-02 17:40:54 +00:00