annotate msdos/sed1v2.inp @ 26058:c11f0832a7c5

(Fconstrain_to_field): Make sure we don't violate the 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.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 17 Oct 1999 12:55:00 +0000
parents 8c634c8d8401
children d7fc0ed0cd81
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 # -sed1v2.inp-----------------------------------------------------------
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 # Configuration script for src/makefile under DJGPP v2.x
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 # ----------------------------------------------------------------------
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 s/^#.*//
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 s/^[ \f\t][ \f\t]*$//
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 s/^ / /
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 s/\.h\.in/.h-in/
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 /^ \.\/temacs/i\
19800
d0a1da20c8dd Enlarge the stack size of temacs to 100KB.
Richard M. Stallman <rms@gnu.org>
parents: 19286
diff changeset
9 stubedit temacs.exe minstack=100k
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 /^MAKE *=/s/^/# /
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 /^SHELL *=/s/^/# /
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 /^srcdir *=/s/@[^@\n]*@/./
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 /^VPATH *=/s/@[^@\n]*@/./
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 /^CC *=/s/@[^@\n]*@/gcc/
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 /^CPP *=/s/@[^@\n]*@/gcc -e/
24748
8c634c8d8401 Use -gcoff instead of -g in CFLAGS, for those who
Eli Zaretskii <eliz@gnu.org>
parents: 19800
diff changeset
16 /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
19286
64f0f84b04f3 (CPPFLAGS, LDFLAGS): Edit to empty.
Richard M. Stallman <rms@gnu.org>
parents: 18769
diff changeset
17 /^CPPFLAGS *=/s/@[^@\n]*@//
64f0f84b04f3 (CPPFLAGS, LDFLAGS): Edit to empty.
Richard M. Stallman <rms@gnu.org>
parents: 18769
diff changeset
18 /^LDFLAGS *=/s/@[^@\n]*@//
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 /^LN_S *=/s/@[^@\n]*@/ln -s/
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 /^@SET_MAKE@$/s/@SET_MAKE@//
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 /^.\${libsrc}make-doc/s!>.*$!!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 /^[ ]*$/d
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 /^temacs:/s/prefix-args//
18769
48fd714b8115 Remove `stamp-oldxmenu' dependency, so
Richard M. Stallman <rms@gnu.org>
parents: 14967
diff changeset
27 /^temacs:/s/stamp-oldxmenu//
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 /^ #/d