Dave Love [Mon, 16 Jun 2003 18:33:59 +0000 (16 18:33 +0000)]
*** empty log message ***
Dave Love [Mon, 16 Jun 2003 18:31:00 +0000 (16 18:31 +0000)]
(GCINCLUDE) [BOEHM_GC]: New. (Don't use CPPFLAGS.)
(ALL_CFLAGS): Use it.
(gclib): Don't use top_srcdir.
Dave Love [Mon, 16 Jun 2003 18:23:25 +0000 (16 18:23 +0000)]
(libgc_la_SOURCES): Remove some files not currently
installed.
Dave Love [Mon, 16 Jun 2003 18:22:13 +0000 (16 18:22 +0000)]
(dist_noinst_HEADERS): Remove some files not
currently installed.
Dave Love [Mon, 16 Jun 2003 17:47:38 +0000 (16 17:47 +0000)]
Don't modify version (per comment).
Dave Love [Mon, 16 Jun 2003 15:41:51 +0000 (16 15:41 +0000)]
Merge changes from 6.2alpha6.
Dave Love [Mon, 16 Jun 2003 15:41:37 +0000 (16 15:41 +0000)]
*** empty log message ***
Dave Love [Mon, 16 Jun 2003 15:36:45 +0000 (16 15:36 +0000)]
Merge changes from 6.2alpha6.
(AC_REVISION): Removed.
(Ac_INIT): Modify version and remove bug address.
Dave Love [Mon, 16 Jun 2003 15:34:26 +0000 (16 15:34 +0000)]
Removed.
Dave Love [Wed, 11 Jun 2003 11:47:28 +0000 (11 11:47 +0000)]
*** empty log message ***
Dave Love [Wed, 11 Jun 2003 11:47:13 +0000 (11 11:47 +0000)]
Include gc.h.
(x_term_init): Use XGC_MALLOC.
Dave Love [Wed, 11 Jun 2003 11:47:03 +0000 (11 11:47 +0000)]
Include gc.h.
(make_image, free_image, make_image_cache, free_image_cache)
(cache_image):
Dave Love [Wed, 11 Jun 2003 11:46:51 +0000 (11 11:46 +0000)]
Include gc.h.
(make_realized_face, free_realized_face, make_face_cache)
(free_face_cache, cache_face): Use XGC_MALLOC and friends.
Dave Love [Wed, 11 Jun 2003 11:46:24 +0000 (11 11:46 +0000)]
(display_echo_area): Use INHIBIT_GARBAGE_COLLECTION,
REENABLE_GARBAGE_COLLECTION.
Dave Love [Wed, 11 Jun 2003 11:46:16 +0000 (11 11:46 +0000)]
(buf_charpos_to_bytepos, Fset_marker)
(set_marker_restricted, set_marker_both)
(set_marker_restricted_both, unchain_marker)
(Fbuffer_has_markers_at, count_markers): Use SET_BUF_MARKERS,
MARKER_CHAIN.
(unchain_marker) [BOEHM_GC]: Don't use XUNMARK, XSETMARKBIT.
Dave Love [Wed, 11 Jun 2003 11:46:05 +0000 (11 11:46 +0000)]
Include gc.h.
(Fstart_kbd_macro, store_kbd_macro_char): Use XGC_MALLOC and friends.
Dave Love [Wed, 11 Jun 2003 11:45:32 +0000 (11 11:45 +0000)]
Make gcpro definitions depend on BOEHM_GC.
(_LP64): Ensure it's defined if appropriate.
(mask_temp, GC_MASK_OBJECT, GC_UNMASK_OBJECT, MARKER_CHAIN): New.
(GC_NILP) [BOEHM_GC]: Define as NILP.
(INHIBIT_GARBAGE_COLLECTION, REENABLE_GARBAGE_COLLECTION)
(XGC_FREE, XGC_MALLOC, XGC_MALLOC_ATOMIC, XGC_CALLOC)
(XGC_REALLOC,XSET_MARKER_CHAIN): New.
(inhibit_gc_count): Declare
Dave Love [Wed, 11 Jun 2003 11:45:08 +0000 (11 11:45 +0000)]
Include gc.h.
(read_char): Call GC_collect_a_little, not Fgarbage_collect.
(wipe_kboard, delete_kboard): Use XGC_FREE.
Dave Love [Wed, 11 Jun 2003 11:44:58 +0000 (11 11:44 +0000)]
(check_markers, adjust_markers_for_delete)
(adjust_markers_for_replace): Use MARKER_CHAIN.
Dave Love [Wed, 11 Jun 2003 11:44:45 +0000 (11 11:44 +0000)]
Include gc.h.
(make_terminal_frame): Use XGC_MALLOC.
Dave Love [Wed, 11 Jun 2003 11:40:20 +0000 (11 11:40 +0000)]
[BOEHM_GC]: Include gc.h.
(make_image, free_image, make_image_cache, free_image_cache)
(cache_image):
Dave Love [Wed, 11 Jun 2003 11:39:49 +0000 (11 11:39 +0000)]
Include gc.h.
(init_eval_once, grow_specpdl): Use XGC_MALLOC and friends.
(Feval, Ffuncall) [BOEHM_GC]: Don't call Fgarbage_collect.
Dave Love [Wed, 11 Jun 2003 11:39:37 +0000 (11 11:39 +0000)]
Include gc.h.
(main): Cases for BOEHM_GC.
Dave Love [Wed, 11 Jun 2003 11:39:29 +0000 (11 11:39 +0000)]
(transpose_markers): Use MARKER_CHAIN.
Dave Love [Wed, 11 Jun 2003 11:39:19 +0000 (11 11:39 +0000)]
Include gc.h.
(new_glyph_matrix, free_glyph_matrix, adjust_glyph_matrix)
(free_glyph_pool, new_glyph_pool, realloc_glyph_pool)
(save_current_matrix, restore_current_matrix): Use XGC_MALLOC and
friends.
Dave Love [Wed, 11 Jun 2003 11:39:06 +0000 (11 11:39 +0000)]
(unmark_byte_stack, unmark_byte_stack) [!BOEHM_GC]:
Don't define.
(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC, MAYBE_GC) [BOEHM_GC]:
Define as null.
Dave Love [Wed, 11 Jun 2003 11:38:44 +0000 (11 11:38 +0000)]
(BUF_MARKERS, SET_BUF_MARKERS): New.
Dave Love [Wed, 11 Jun 2003 11:38:31 +0000 (11 11:38 +0000)]
(mask_temp): New.
(Fget_buffer_create, Fkill_buffer, Fset_buffer_multibyte): Use
SET_BUF_MARKERS, MARKER_CHAIN.
Dave Love [Wed, 11 Jun 2003 11:38:14 +0000 (11 11:38 +0000)]
Move declaration of sbrk. Maybe include gc.h. Make
marking/sweeping code dependent on BOEHM_GC.
(EXCEEDS_LISP_PTR): New.
(MAX_SAVE_STACK) [BOEHM_GC]: Define as 0.
(Vmost_positive_fixnum, Vbuffer_alist, initialized)
(GC_print_stats) [BOEHM_GC]: Declare.
(staticvec, inhibit_gc_count) [BOEHM_GC]: Don't declare.
(xcalloc): New.
(gc_out_of_memory, xgc_malloc, xgc_realloc, xgc_free)
(finalize_buffer_marker_chains, custom_finalize) [BOEHM_GC]: New.
(lisp_malloc, make_interval, allocate_string)
(allocate_string_data, make_float, Fcons, allocate_vectorlike)
(Fmake_symbol, allocate_misc, survives_gc_p, init_alloc_once)
(init_alloc): Add BOEHM_GC cases.
(lisp_free, pure_alloc, inhibit_garbage_collection) [BOEHM_GC]:
Don't define.
(float_block, float_block_index, n_float_blocks, float_free_list)
(init_float, cons_block, cons_block_index, cons_free_list)
(n_cons_blocks, init_cons, all_vectors, n_vectors, symbol_block)
(symbol_block_index, symbol_free_list, n_symbol_blocks)
(init_symbol, marker_block, marker_block_index, marker_free_list)
(n_marker_blocks, init_marker): Declare static.
(fmake_marker): Use XSET_MARKER_CHAIN. Add BOEHM_GC case.
(mark_maybe_object, mark_maybe_pointer): Use MARKER_CHAIN.
(inhibit_garbage_collection): Use Vmost_positive_fixnum.
(extra_gc_work): New, extracted from Fgarbage_collect.
(Fgarbage_collect): Add BOEHM_GC case. Use MARKER_CHAIN.
Dave Love [Wed, 11 Jun 2003 11:37:48 +0000 (11 11:37 +0000)]
(top_srcdir): Define.
(CPPFLAGS) [BOEHM_GC]: Add include path.
(gclib) [BOEHM_GC]: Define.
(mallocobj): Add gclib.
Dave Love [Tue, 10 Jun 2003 22:58:04 +0000 (10 22:58 +0000)]
*** empty log message ***
Dave Love [Fri, 6 Jun 2003 10:17:38 +0000 (6 10:17 +0000)]
*** empty log message ***
Dave Love [Fri, 6 Jun 2003 09:46:20 +0000 (6 09:46 +0000)]
(GET_MEM): Comment out top
definition.
[GC_PRIVATE_H]: Test GET_MEM.
Dave Love [Fri, 6 Jun 2003 09:45:24 +0000 (6 09:45 +0000)]
(GC_custom_finalize, GC_collect_start_callback)
(GC_collect_end_callback): Declare.
Dave Love [Fri, 6 Jun 2003 09:44:19 +0000 (6 09:44 +0000)]
Use AVOID_MMAP.
Dave Love [Fri, 6 Jun 2003 09:43:51 +0000 (6 09:43 +0000)]
(GC_custom_finalize): New.
(GC_finalize): Use it.
Dave Love [Fri, 6 Jun 2003 09:43:30 +0000 (6 09:43 +0000)]
(GC_collect_start_callback, GC_collect_end_callback): New.
(stop_func): Use them.
Dave Love [Fri, 6 Jun 2003 09:42:46 +0000 (6 09:42 +0000)]
Use AC_PROG_RANLIB, AM_PROG_LIBTOOL,
AC_CONFIG_FILES, AC_CONFIG_COMMANDS. Add --enable-cppflags arg.
Dave Love [Fri, 6 Jun 2003 09:36:30 +0000 (6 09:36 +0000)]
Add --enable-boehm-gc arg and corresponding code.
Check size of int* and long.
(CFLAGS, CPPFLAGS): Move definitions.
(LP64): New.
Dave Love [Fri, 6 Jun 2003 09:35:55 +0000 (6 09:35 +0000)]
Add gc to sub-makes.
(top_srcdir): Define.
(SUBDIR): Add @subdirs@.
(MAINT): Deleted.
(${srcdir}/configure): Depend on configure.in.
(gc/Makefile): New target.
Dave Love [Thu, 5 Jun 2003 18:23:05 +0000 (5 18:23 +0000)]
*** empty log message ***
Kenichi Handa [Mon, 2 Jun 2003 00:54:20 +0000 (2 00:54 +0000)]
(Fset_buffer_multibyte): Fix previous change.
Kenichi Handa [Mon, 2 Jun 2003 00:54:06 +0000 (2 00:54 +0000)]
*** empty log message ***
Kenichi Handa [Sun, 1 Jun 2003 23:28:42 +0000 (1 23:28 +0000)]
*** empty log message ***
Kenichi Handa [Sun, 1 Jun 2003 23:27:34 +0000 (1 23:27 +0000)]
(Fset_buffer_multibyte): Correctly recover a narrowed
region when a buffer is changed to unibyte.
Juanma Barranquero [Sun, 1 Jun 2003 23:07:31 +0000 (1 23:07 +0000)]
*** empty log message ***
Juanma Barranquero [Sun, 1 Jun 2003 23:02:53 +0000 (1 23:02 +0000)]
Version 1.6
Take into account changes made to the display margins, fringes and
scroll-bar handling.
(ruler-mode-margins-char): Removed. Not used anymore.
(ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
(ruler-mode-margins-face): New definition. Moved.
(ruler-mode-left-fringe-cols)
(ruler-mode-right-fringe-cols)
(ruler-mode-left-scroll-bar-cols)
(ruler-mode-right-scroll-bar-cols): Reimplemented. Moved.
(ruler-mode-full-window-width)
(ruler-mode-window-col): New functions.
(ruler-mode-mouse-set-left-margin)
(ruler-mode-mouse-set-right-margin)
(ruler-mode-mouse-add-tab-stop)
(ruler-mode-mouse-del-tab-stop): Reimplemented.
(ruler-mode-mouse-current-grab-object): Renamed to...
(ruler-mode-dragged-symbol): New.
(ruler-mode-mouse-grab-any-column): Use it. Cleaned up.
(ruler-mode-mouse-drag-any-column): Likewise.
(ruler-mode-mouse-drag-any-column-iteration): Simplified.
(ruler-mode): Restore previous `header-line-format' if
`ruler-mode-header-line-format-old' has a local binding in current
buffer.
(ruler-mode-left-margin-help-echo)
(ruler-mode-right-margin-help-echo): Removed.
(ruler-mode-margin-help-echo)
(ruler-mode-fringe-help-echo): New constants.
(ruler-mode-ruler): Use them. Reimplemented.
Jason Rumney [Sun, 1 Jun 2003 22:14:30 +0000 (1 22:14 +0000)]
*** empty log message ***
Jason Rumney [Sun, 1 Jun 2003 22:13:30 +0000 (1 22:13 +0000)]
(mouse-wheel-down-event, mouse-wheel-up-event):
Default to new wheel-up and wheel-down events on Windows.
Jason Rumney [Sun, 1 Jun 2003 22:13:07 +0000 (1 22:13 +0000)]
No need to bind wheel events specially.
Jason Rumney [Sun, 1 Jun 2003 21:48:53 +0000 (1 21:48 +0000)]
Make last change compile on MSVC
Jason Rumney [Sun, 1 Jun 2003 21:40:38 +0000 (1 21:40 +0000)]
(Qmouse_wheel): Declare only if MAC_OSX defined.
(mouse_wheel_syms, lispy_mouse_wheel_names): Likewise.
(discard_mouse_events): Discard WHEEL_EVENT events too.
(lispy_wheel_names, wheel_syms): New.
(syms_of_keyboard): Init and staticpro `wheel_syms'. Init and
staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX
defined.
(make_lispy_event): Added WHEEL_EVENT handler.
Jason Rumney [Sun, 1 Jun 2003 21:39:26 +0000 (1 21:39 +0000)]
(enum event_kind): Added new WHEEL_EVENT event.
Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined.
Jason Rumney [Sun, 1 Jun 2003 21:38:37 +0000 (1 21:38 +0000)]
(construct_mouse_wheel): Construct WHEEL_EVENT.
(w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs
WHEEL_EVENT events.
Stefan Monnier [Sun, 1 Jun 2003 18:40:10 +0000 (1 18:40 +0000)]
(custom-get-fresh-buffer): Be extra paranoid,
just in case some used a file of the wrong name.
Stefan Monnier [Sun, 1 Jun 2003 18:03:00 +0000 (1 18:03 +0000)]
(openp): Make sure STR is a string.
Stefan Monnier [Sun, 1 Jun 2003 17:36:41 +0000 (1 17:36 +0000)]
(sh-is-quoted-p): New fun.
(sh-font-lock-paren): Use it to allow \C in case patterns.
(sh-get-indent-info): Check the \n before the line for string-status.
(sh-feature): Remove unused var `function'.
(sh-get-indent-info): Remove unused variables.
(sh-prev-thing): Remove unused vars `going', `n', and `found'.
(sh-set-indent): Remove unused var `new-val' and `val0'.
(sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
(sh-guess-basic-offset): Remove unused var `return' and `j'.
Michael Kifer [Sun, 1 Jun 2003 17:17:10 +0000 (1 17:17 +0000)]
2003-06-01 Michael Kifer <kifer@cs.stonybrook.edu>
* desktop.el (desktop-create-buffer): Added (desktop-first-buffer) to
the let-statement to avoid the startup error that desktop-first-buffer
is undefined.
Andreas Schwab [Sun, 1 Jun 2003 17:09:32 +0000 (1 17:09 +0000)]
*** empty log message ***
Andreas Schwab [Sun, 1 Jun 2003 17:06:55 +0000 (1 17:06 +0000)]
(Man-name-regexp): Also match Latin-1 soft hyphen.
(Man-build-references-alist): Handle Latin-1 soft hyphen.
Stefan Monnier [Sun, 1 Jun 2003 00:55:17 +0000 (1 00:55 +0000)]
*** empty log message ***
Stefan Monnier [Sat, 31 May 2003 23:36:11 +0000 (31 23:36 +0000)]
*** empty log message ***
John Paul Wallington [Sat, 31 May 2003 22:18:22 +0000 (31 22:18 +0000)]
*** empty log message ***
John Paul Wallington [Sat, 31 May 2003 22:16:58 +0000 (31 22:16 +0000)]
(lisp, shortlisp): byte-run, float-sup, map-ynp, and
timer are in lisp/emacs-lisp.
Stefan Monnier [Sat, 31 May 2003 17:53:24 +0000 (31 17:53 +0000)]
(view-file, view-file-other-window, view-file-other-frame):
Signal an error when trying to visit an inexistent file.
Stefan Monnier [Sat, 31 May 2003 17:43:28 +0000 (31 17:43 +0000)]
(vc-call-backend): Give better error message when backend function is missing.
(vc-find-file-hook): USe unless. Merge if and cond.
Stefan Monnier [Sat, 31 May 2003 16:47:57 +0000 (31 16:47 +0000)]
(vc-directory-exclusion-list): Add MCVS and .svn.
(vc-checkin-hook): Adjust option to new name.
Stefan Monnier [Sat, 31 May 2003 16:43:30 +0000 (31 16:43 +0000)]
(log-edit-maximum-comment-ring-size, log-edit-comment-ring)
(log-edit-comment-ring-index, log-edit-last-comment-match): Rename vars from
vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
and vc-last-comment-match.
(log-edit-new-comment-index, log-edit-previous-comment)
(log-edit-next-comment, log-edit-comment-search-backward)
(log-edit-comment-search-forward, log-edit-comment-to-change-log):
Rename funs from vc-new-comment-index, vc-previous-comment,
vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
and vc-comment-to-change-log.
Stephen Eglen [Sat, 31 May 2003 16:21:25 +0000 (31 16:21 +0000)]
*** empty log message ***
Stephen Eglen [Sat, 31 May 2003 16:20:06 +0000 (31 16:20 +0000)]
(iswitchb-buffer-ignore): Update custom type to allow functions.
Stefan Monnier [Sat, 31 May 2003 16:03:11 +0000 (31 16:03 +0000)]
*** empty log message ***
Stefan Monnier [Sat, 31 May 2003 16:01:04 +0000 (31 16:01 +0000)]
(iconify-or-deiconify-frame): Move to frame.el.
Stefan Monnier [Sat, 31 May 2003 15:33:09 +0000 (31 15:33 +0000)]
(widget-specify-insert): Simplify.
(widget-editable-list-entry-create): Don't assume that %d and %i are
in the format string.
(widget-map-buttons): Remove unused var `parent'.
(widget-move): Remove unused shadowed var `new'.
(widget-color-action): Remove unused var `pos'.
Stefan Monnier [Sat, 31 May 2003 15:23:00 +0000 (31 15:23 +0000)]
(custom-get-fresh-buffer): New fun.
(custom-buffer-create, custom-buffer-create-other-window)
(customize-browse): Use it instead of killing buffers.
(custom-bury-buffer): Obey the argument.
(custom-variable-reset-saved, custom-variable-reset-standard):
Remove unused var `comment-widget'.
(custom-face-edit-deactivate): Remove unused var `to'.
(custom-save-variables): Remove unused var `sep'.
John Paul Wallington [Sat, 31 May 2003 08:05:27 +0000 (31 08:05 +0000)]
*** empty log message ***
John Paul Wallington [Sat, 31 May 2003 07:59:33 +0000 (31 07:59 +0000)]
(large-file-warning-threshold): Add type, groups.
Kenichi Handa [Sat, 31 May 2003 02:02:02 +0000 (31 02:02 +0000)]
*** empty log message ***
Kenichi Handa [Sat, 31 May 2003 02:00:26 +0000 (31 02:00 +0000)]
(recover-file): Bind coding-system-for-read to
auto-save-coding.
Kenichi Handa [Sat, 31 May 2003 01:58:13 +0000 (31 01:58 +0000)]
(Qauto_save_coding, auto_save_coding): New variables.
(Finsert_file_contents): If coding-system-for-read is bound to
Qauto_save_coding, use the coding system emacs-mule with special
setting for recovering a file.
(choose_write_coding_system): On auto saving, use the coding
system emacs-mule with special setting for auto saving.
(syms_of_fileio) <Qauto_save_coding>: Intern and staticpro it.
Kenichi Handa [Sat, 31 May 2003 00:56:42 +0000 (31 00:56 +0000)]
(DECODE_EMACS_MULE_COMPOSITION_CHAR): If coding->flags
is nonzero, accept multibyte form of eight-bit-control chars.
(decode_composition_emacs_mule): Likewise.
(decode_coding_emacs_mule): Likewise.
(encode_coding_emacs_mule): If coding->flags is nonzero, produce
multibyte form of eight-bit-control chars.
Juanma Barranquero [Sat, 31 May 2003 00:40:43 +0000 (31 00:40 +0000)]
*** empty log message ***
Juanma Barranquero [Sat, 31 May 2003 00:36:35 +0000 (31 00:36 +0000)]
Load byte-run.el, map-ynp.el, timer.el and float-sup.el from emacs-lisp.
Juanma Barranquero [Sat, 31 May 2003 00:33:50 +0000 (31 00:33 +0000)]
(lisp): Fix references to byte-run.el, float-sup.el and map-ynp.el, which are
now in emacs-lisp.
Kenichi Handa [Sat, 31 May 2003 00:11:28 +0000 (31 00:11 +0000)]
*** empty log message ***
Kenichi Handa [Sat, 31 May 2003 00:10:46 +0000 (31 00:10 +0000)]
(VALID_LEADING_CODE_P): New macro.
(UNIBYTE_STR_AS_MULTIBYTE_P): Check more rigidly.
Juanma Barranquero [Fri, 30 May 2003 23:40:13 +0000 (30 23:40 +0000)]
*** empty log message ***
Juanma Barranquero [Fri, 30 May 2003 23:31:15 +0000 (30 23:31 +0000)]
Moved from lisp/.
Juanma Barranquero [Fri, 30 May 2003 23:30:50 +0000 (30 23:30 +0000)]
Moved to progmodes/.
Juanma Barranquero [Fri, 30 May 2003 23:30:10 +0000 (30 23:30 +0000)]
Moved from textmodes/.
Juanma Barranquero [Fri, 30 May 2003 23:29:42 +0000 (30 23:29 +0000)]
Moved to lisp/.
Juanma Barranquero [Fri, 30 May 2003 23:28:25 +0000 (30 23:28 +0000)]
Moved to textmodes/.
Juanma Barranquero [Fri, 30 May 2003 23:26:50 +0000 (30 23:26 +0000)]
Moved to emacs-lisp/.
Juanma Barranquero [Fri, 30 May 2003 23:24:41 +0000 (30 23:24 +0000)]
Moved to obsolete/.
Juanma Barranquero [Fri, 30 May 2003 23:23:25 +0000 (30 23:23 +0000)]
Moved.
Juanma Barranquero [Fri, 30 May 2003 23:17:19 +0000 (30 23:17 +0000)]
Removed. Contents moved to misc.el
Juanma Barranquero [Fri, 30 May 2003 23:15:40 +0000 (30 23:15 +0000)]
(mark-beginning-of-buffer, mark-end-of-buffer, upcase-char, forward-to-word,
backward-to-word): Moved from unused.el.
Juanma Barranquero [Fri, 30 May 2003 23:11:35 +0000 (30 23:11 +0000)]
(looking-back): New function to check for regular expression before point.
Thien-Thi Nguyen [Fri, 30 May 2003 22:00:20 +0000 (30 22:00 +0000)]
*** empty log message ***
Stefan Monnier [Fri, 30 May 2003 20:06:40 +0000 (30 20:06 +0000)]
(comment-empty-lines): New var.
(comment-region-internal): Use it.
Stefan Monnier [Fri, 30 May 2003 18:52:46 +0000 (30 18:52 +0000)]
(latex-block-args-alist, latex-block-body-alist): New vars.
(latex-insert-block): Use them.
(tex-string-prefix-p): New fun.
(tex-guess-main-file): Use it to detect when the main file
is in a parent directory.
(tex-main-file): Try to find a main-file in parent directories.
(tex-compile-default): Don't use `gv' on pdf files just because
`gv' was used recently on a ps file. Remove unused arg `dir'.
Reuse a previous command as-is if it applied to the same file.
(tex-compile): Use the right file name when file is not in dir.