1. 22 Mar, 2000 18 commits
    • Dave Love's avatar
    • Gerd Moellmann's avatar
      *** empty log message *** · ee1c5b21
      Gerd Moellmann authored
      ee1c5b21
    • Gerd Moellmann's avatar
      N-up last page fix. · 133fc764
      Gerd Moellmann authored
      (ps-print-version): New version number (5.1.1).
      (ps-end-file, ps-end-job, ps-generate): Code fix.
      133fc764
    • Gerd Moellmann's avatar
      Define command only for language level 1. · 34fdc3dd
      Gerd Moellmann authored
      34fdc3dd
    • Gerd Moellmann's avatar
      (LIBS_TERMCAP): Undef. · f9acb75e
      Gerd Moellmann authored
      f9acb75e
    • Gerd Moellmann's avatar
      (lface_same_font_attributes_p): Compare font attributes · d00b1b63
      Gerd Moellmann authored
      as strings only if both are known to be strings.
      d00b1b63
    • Stefan Monnier's avatar
      (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default · 1fb352e0
      Stefan Monnier authored
      definitions for non-Emacs compilation.
      (enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec
      outside of `#ifdef emacs'.
      (print_partial_compiled_pattern): Update.
      (regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar.
      (re_compile_fastmap): Merge handling of charset and charset_not (for
      emacs and non-emacs compilation as well).
      Similarly for (not)categoryspec and (not)syntaxspec.
      Don't use the fastmap when reaching `anychar' since the added
      complexity is not justified.
      (re_match_2_internal): Merge (not)wordchar (emacs and non-emacs)
      and (not)syntaxspec.  Merge (not)categoryspec.
      1fb352e0
    • Stefan Monnier's avatar
      (find-file-run-dired): Update docstring. · bfb857d8
      Stefan Monnier authored
      (find-directory-functions): New hook.
      (find-file-noselect): Run find-directory-functions rather than
      calling dired directly.
      bfb857d8
    • Stefan Monnier's avatar
      Add an entry for PCL-CVS' global menu. · eccd9bd5
      Stefan Monnier authored
      eccd9bd5
    • Stefan Monnier's avatar
      * pcvs.el: Add a minimal leading commentary. · cb3430a1
      Stefan Monnier authored
      (cvs-make-cvs-buffer): Change the header part by removing the startup
      message and adding a `Module' entry.  Also replace the FOOTER and
      HEADER special fileinfos with the new support in ewoc for updating
      its own footer and header.
      (cvs-update-header): Update to use the header/footer of the ewoc.
      (cvs-mode): Use define-derived-mode and set truncate-lines to t.
      (cvs-is-within-p): New function.
      (cvs-mode-run): Take advantage of `save-some-buffers's new ability
      to only examine some subset of the buffers.
      * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
      `format' instead of our own ad-hoc functions.
      Remove HEADER and FOOTER cases, now handled in the EWOC.
      (cvs-fileinfo<): Remove HEADER and FOOTER cases.
      * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
      output to avoid scaring the user.
      (cvs-parse-table): Catch message for non-up-to-date commits.
      * pcvs-defs.el (cvs-startup-message): Remove.
      (cvs-global-menu): New autoloaded menu.
      * pcvs-util.el (cvs-string-fill): Remove.
      * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
      (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
      PP part of it and also make it work for footers and headers.
      (ewoc-create): Drop POS and BUFFER arguments.
      Use the DLL's dummy node to store the end-of-footer position.
      (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
      (ewoc-refresh): Remove unused `header' variable.
      (ewoc-(get|set)-hf): New functions.
      cb3430a1
    • Kenichi Handa's avatar
      [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P, · ff1a0d8e
      Kenichi Handa authored
      FACE_FOR_CHAR): Define them differently for the configuration of
      --without-x.
      ff1a0d8e
    • Kenichi Handa's avatar
      *** empty log message *** · fdaa1f77
      Kenichi Handa authored
      fdaa1f77
    • Stefan Monnier's avatar
      *** empty log message *** · d2cbfba0
      Stefan Monnier authored
      d2cbfba0
    • Stefan Monnier's avatar
      (log-view-(msg|file)-(prev|next)): Rename from · cdbb990f
      Stefan Monnier authored
      log-view-*-(message|file) and use easy-mmode-define-navigation.
      (log-view-message-re): Match SCCS format as well.
      And match the revision line rather than the dashed separator line.
      (log-view-mode): Use the new define-derived-mode.
      (log-view-current-tag): Fill in with an actual implementation.
      cdbb990f
    • Stefan Monnier's avatar
      43e56cba
    • Stefan Monnier's avatar
      (cvs-status-(prev|next)): Rename from · 184c5091
      Stefan Monnier authored
      cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
      (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
      to let the output "breathe" a little more (more readable).
      184c5091
    • Stefan Monnier's avatar
      (smerge-auto-leave): New function and variable. · f97e9a8a
      Stefan Monnier authored
      (smerge-basic-map): Rename from smerge-basic-keymap.
      Change the bindings for smerge-diff-*.
      (smerge-*-map): Use easy-mmode-defmap.
      (smerge-(next|prev)): Use easy-mmode-define-navigation.
      (smerge-keep-*): Use smerge-auto-leave.
      f97e9a8a
    • Stefan Monnier's avatar
      *** empty log message *** · 0ae39f53
      Stefan Monnier authored
      0ae39f53
  2. 21 Mar, 2000 22 commits
    • Jason Rumney's avatar
      *** empty log message *** · 51663132
      Jason Rumney authored
      51663132
    • Jason Rumney's avatar
      (custom-button-face) [w32]: Use same face as x. · 731d16f1
      Jason Rumney authored
      (custom-button-pressed-face) [w32]: Likewise.
      731d16f1
    • Gerd Moellmann's avatar
      *** empty log message *** · 3f6e4b8b
      Gerd Moellmann authored
      3f6e4b8b
    • Gerd Moellmann's avatar
      (tags-case-fold-search): New user-option. · ece6e35a
      Gerd Moellmann authored
      (tags-loop-eval): New function.  Bind case-fold-search around eval
      depending on the value of tags-case-fold-search.
      (tags-loop-continue): Use tags-loop-eval.
      (find-tag-in-order): Bind case-fold-search depending on the value
      of tags-case-fold-search.
      ece6e35a
    • Dave Love's avatar
      *** empty log message *** · d152fb46
      Dave Love authored
      d152fb46
    • Dave Love's avatar
    • Stefan Monnier's avatar
      (diff-mode-*-map): use `easy-mmode-defmap'. · d87e5627
      Stefan Monnier authored
      (diff-end-of-hunk): Return the end position for use in
      `easy-mmode-define-navigation'.
      (diff-recenter): Remove.
      (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
      of `easy-mmode-define-navigation'.
      (diff-kill-*): Rename `diff-*-kill' (for consistency with the
      previous renaming) and fix to use new names.
      (diff-merge-strings): Use \n as separator: simpler, faster.
      (diff-mode): Use `define-derived-mode'.
      d87e5627
    • Stefan Monnier's avatar
      (easy-mmode-define-navigation): Only use `ding' for interactive use · 36a5b60e
      Stefan Monnier authored
      else, use `error' (to enable the caller to react to the problem).
      36a5b60e
    • Gerd Moellmann's avatar
      (check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error. · d2cafc8c
      Gerd Moellmann authored
      (lface_fully_specified_p): Don't check contents of
      LFACE_FONT_INDEX because that attribute is optional.
      (realize_x_face): Remove now unwarranted xassert.
      d2cafc8c
    • Stefan Monnier's avatar
      * derived.el (define-derived-mode): Don't autoload anymore. · c7ea3acc
      Stefan Monnier authored
      Prefer the macro-only version provided by easy-mmode.el.
      * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
      `easy-mmode-define-derived-mode'.
      Use `combine-run-hooks'.
      (easy-mmode-define-navigation): New macro.
      c7ea3acc
    • Stefan Monnier's avatar
      (combine-run-hooks): New function. · c834b52c
      Stefan Monnier authored
      c834b52c
    • Kenichi Handa's avatar
      *** empty log message *** · 6c4bfdc0
      Kenichi Handa authored
      6c4bfdc0
    • Kenichi Handa's avatar
      (fontset.o): Depend on dispextern.h. · af8cb95c
      Kenichi Handa authored
      af8cb95c
    • Kenichi Handa's avatar
      Include fontset.h after dispextern.h. · ee569018
      Kenichi Handa authored
      (x_per_char_metric): Don't try FONT->default_char.  Even if
      pcm->width is zero, glyph bits may exist.
      (x_encode_char): Always initialize char2b->byte1.
      (x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id.
      (x_get_glyph_face_and_encoding): New arg two_byte_p.  Caller
      changed.
      (x_append_glyph): Set glyph->glyph_not_available_p.
      (x_produce_glyphs): Set it->glyph_not_available_p.  Don't set
      it->charset.  Handle the case that per char metric is not
      available.  If it->multibyte_p is zero and it->c is a multibyte
      character, convert it to a unibyte character.
      (struct glyph_string): Delete member `charset'.
      (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id.  Handle
      the case that per char metric is not available correctly.
      (x_fill_glyph_string): Handle the case that the specific glyph is
      not available correctly.
      (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset.
      (BUILD_COMPOSITE_GLYPH_STRING): Likewise.
      (x_new_font): Call FS_LOAD_FONT, not fs_load_font.
      (x_new_fontset): Call fontset_ascii to get ASCII font name of the
      fontset.  Don't call FS_LOAD_FONT.
      ee569018
    • Kenichi Handa's avatar
      (Qx_charset_registry, Vface_default_registry): · 39506348
      Kenichi Handa authored
      Variables removed.
      (clear_font_table, frame_update_line_height, load_face_font):
      Adjusted for the change of fontset implementation.
      (load_face_fontset_font): Function removed.
      (pixel_point_size): New function.
      (font_list): Argument type changed.  Caller changed.
      (LFACE_FONT): New macro.
      (check_lface_attrs): Check attr[LFACE_FONT_INDEX].
      (set_lface_from_font_name): Type of arg FONTNAME is changed to
      Lisp_Object.  Determine the font name by actually loading a font
      by the specified pattern.  Set LFACE_FONT (lface) to the specified
      pattern.  Even if a font is not found, don't try alternatives.
      (Finternal_set_lisp_face_attribute): Handle `font' slot in lface.
      (set_font_frame_param): If `font' is specified in lface, use it.
      (Finternal_get_lisp_face_attribute): Handle `font' slot in lface.
      (lface_same_font_attributes_p): Likewise.
      (make_realized_face): Arguent changed.  Caller changed.  Set
      face->ascii_face to face itself.
      (free_realized_face): Free face->fontset if face is for ASCII.
      (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p,
      deduce_unibyte_registry, x_charset_registry): Functions removed.
      (free_realized_multibyte_face): New function.
      (lookup_face, lookup_named_face, lookup_derived_face): Argument
      changed.  Caller changed.
      (try_font_list): Argument type changed.
      (face_fontset): Check `font' slot of ATTRS, not `family' slot.
      (choose_face_font): Argument changed.  Handle fontset properly.
      (choose_face_fontset_font): Function removed.
      (realize_default_face, realize_named_face): Don't remove the
      former face here.
      (realize_face): Argument changed.  Caller changed.  Remove face
      with the arg former_face_id in advance.  Load font for the new
      face.
      (realize_x_face): Argument changed.  Caller changed.  For a
      multibyte character, share fontset with base_face.  For a single
      byte character, make a new realized fontset.  Don't load a font
      here.
      (realize_tty_face): Argument changed.  Caller changed.
      (compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET.
      (face_at_buffer_position): Don't check multibyte_p for returning
      DEFAULT_FACE_ID.
      (face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not
      FACE_SUITABLE_FOR_CHARSET_P.
      (syms_of_xfaces): Remove code for Qx_charset_registry and
      Vface_default_registry.
      39506348
    • Kenichi Handa's avatar
      (Fx_create_frame): Don't cal fs_register_fontset. · 6ecb43ce
      Kenichi Handa authored
      (x_create_tip_frame): Likewise.
      (Fx_close_connection): Free full_name of font_info.
      6ecb43ce
    • Kenichi Handa's avatar
      (charset_at_position): Function removed. · 980806b6
      Kenichi Handa authored
      (init_iterator): Don't set member charset of struct `it'.
      (handle_face_prop, reseat_to_string, set_iterator_to_next,
      next_element_from_display_vector, insert_left_trunc_glyphs):
      Likewise.
      (face_before_or_after_it_pos): Call FACE_FOR_CHAR, not
      FACE_FOR_CHARSET.
      (get_next_display_element, append_space,
      extend_face_to_end_of_line): Likewise.
      980806b6
    • Kenichi Handa's avatar
      b8c43492
    • Kenichi Handa's avatar
      (struct frame): Member `fontset_data' removed. · 45a962e0
      Kenichi Handa authored
      (FRAME_FONTSET_DATA): Macro removed.
      45a962e0
    • Kenichi Handa's avatar
      (make_frame): Don't allocate f->fontset_data. · c08758e2
      Kenichi Handa authored
      (Fdelete_frame): Don't free f->fontset_data.
      c08758e2
    • Kenichi Handa's avatar
      (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed. · 1afa4408
      Kenichi Handa authored
      (struct fontset_info, struct fontset_data): Structs removed.
      (allloc_fontset_data, free_fontset_data, fs_regiser_fontset,
      Vglobale_fontset_alist, font_idx_temp): Externs removed.
      (fs_load_font, fs_query_fontset): Adjusted for new argument.
      (fs_free_face_fontset, fontset_font_pattern,
      face_suitable_for_char_p, face_for_char,
      make_fontset_for_ascii_face): Extern them.
      (FS_LOAD_FONT): Adjusted for the change of fontset implementation.
      (FS_LOAD_FACE_FONT): New macro.
      1afa4408
    • Kenichi Handa's avatar
      All codes rewritten or adjusted for the change of · 0d407d77
      Kenichi Handa authored
      fontset implementation.  Now fontset is represented by char table.
      (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables
      removed.
      (my_strcasecmp): Function removed.
      (Vfontset_table, next_fontset_id, Vdefault_fontset): New
      variables.
      (AREF, ASIZE): New macros.
      (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME,
      FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF,
      FONTSET_REF_VIA_BASE, FONTSET_SET): New macros.
      (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset,
      fontset_id_valid_p, font_family_registry, fontset_name,
      fontset_ascii, free_face_fontset, face_suitable_for_char_p,
      face_for_char, make_fontset_for_ascii_face, fontset_font_pattern):
      New functions.
      (fs_load_font): New arg FACE.  Caller changed.
      (fs_query_fontset): Argument changed.  Caller changed.
      (Fquery_fontset): call fs_query_fontset.
      (fs_register_fontset, alloc_fontset_data, free_fontset_data):
      Functions removed.
      (clear_fontset_elements, check_registry_encoding,
      check_fontset_name): New functions.
      (syms_of_fontset): Set char-table-extra-slots property of fontset
      to 3.  Staticpro and initialize Vfontset_table and
      Vdefault_fontset.  Defsubr fontset_font and fontset_list.
      0d407d77