1. 17 Oct, 1999 1 commit
    • Gerd Moellmann's avatar
      (Fconstrain_to_field): Make sure we don't violate the · 0daf6e8d
      Gerd Moellmann authored
      argument preconditions of find_before_next_newline in the case
      where both ONLY_IN_LINE and ESCAPE_FROM_EDGE are set and OLD_POS
      was indeed at the edge.
      (text_property_eq, text_property_stickiness): Don't
      use initializers for auto variables of type Lisp_Object.
      (find_field): Likewise.  Use braces around nested ifs.
      (Fline_end_position): Store the raw eol in a variable, so that the
      final expression doesn't look so ugly.
      (Fconstrain_to_field): Doc fix.
      (preceding_pos): Renamed from `preceeding_pos'.
      (text_property_stickiness, find_field): Call preceding_pos,
      not preceeding_pos.
      (Ffield_string_no_properties): New function.
      (text_property_stickiness, preceeding_pos): New functions.
      (Ffield_string): Remove PROPS parameter.
      (find_field): Add MERGE_AT_BOUNDARY parameter.
      Rewrite to use stickiness of `field' property to resolve
      ambiguous cases.
      (Ffield_beginning, Ffield_end): Add ESCAPE_FROM_EDGE parameter.
      (Fconstrain_to_field): Likewise.
      (syms_of_editfns): Init Sfield_string_no_properties.
      (Ffield_string, Ferase_field, Ffield_end):
      Supply new MERGE_AT_BOUNDARY argument to find_field.
      (Fline_beginning_position, Fline_end_position): Supply new
      ESCAPE_FROM_EDGE parameter to Fconstrain_to_field.
      Pass a value of Qt for the ONLY_IN_LINE argument to
      Fconstrain_to_field (only matters if N != 1).
      (Fconstrain_to_field): Add get/set-current-point
      behavior when NEW_POS is nil.
      (find_field): Use XSETFASTINT instead of make_number.
      (Qfield): New variable.
      (find_field, Ferase_field, Ffield_string,
      Ffield_beginning, Ffield_end, Fconstrain_to_field): New functions.
      (Fline_beginning_position, Fline_end_position): Constrain to any field.
      (make_buffer_string_both): Remove minibuffer-prompt hack.
      (syms_of_editfns): Initialize Qfield, and subr entries for
      field functions above.
      0daf6e8d
  2. 29 Sep, 1999 1 commit
  3. 25 Sep, 1999 1 commit
  4. 20 Sep, 1999 1 commit
  5. 13 Sep, 1999 1 commit
  6. 12 Sep, 1999 2 commits
  7. 08 Sep, 1999 2 commits
  8. 03 Sep, 1999 1 commit
  9. 21 Aug, 1999 1 commit
  10. 21 Jul, 1999 1 commit
    • Gerd Moellmann's avatar
      (Fmessage): Use message3. · 5e6d5493
      Gerd Moellmann authored
      (Fcurrent_message): If echo_area_message is set,
      return a substring of that string.
      (Fformat): Add text properties to the result string
      from properties of the format string and properties of string
      arguments.
      (make_buffer_string_both) [PROMPT_IN_BUFFER]: Prevent start > end.
      (make_buffer_string) [PROMPT_IN_BUFFER]: If start
      position is less than mini-buffer prompt width, use the prompt
      width as start.
      (make_buffer_string) [PROMPT_IN_BUFFER): Add prompt
      length to start position.
      5e6d5493
  11. 15 Jun, 1999 1 commit
  12. 19 Mar, 1999 1 commit
  13. 07 Feb, 1999 1 commit
  14. 06 Nov, 1998 1 commit
  15. 31 Oct, 1998 1 commit
  16. 30 Oct, 1998 1 commit
  17. 28 Oct, 1998 1 commit
  18. 27 Oct, 1998 1 commit
  19. 26 Oct, 1998 1 commit
  20. 26 Sep, 1998 1 commit
  21. 21 Sep, 1998 1 commit
  22. 09 Sep, 1998 1 commit
  23. 08 Sep, 1998 2 commits
  24. 06 Sep, 1998 2 commits
  25. 02 Sep, 1998 1 commit
  26. 28 Aug, 1998 1 commit
  27. 18 Aug, 1998 1 commit
  28. 07 Aug, 1998 1 commit
  29. 03 Aug, 1998 1 commit
  30. 08 Jul, 1998 1 commit
  31. 06 Jul, 1998 1 commit
  32. 03 Jul, 1998 1 commit
  33. 29 Jun, 1998 1 commit
  34. 23 May, 1998 1 commit
  35. 03 May, 1998 1 commit
  36. 02 May, 1998 1 commit