Commit graph

10633 commits

Author SHA1 Message Date
Gerd Moellmann 01e9b9dfb9 Remove conditional compilation on USE_TEXT_PROPERTIES. 1999-11-07 15:53:30 +00:00
Gerd Moellmann 4015b3c0ca Use block statements in cases and declare v1 and v2
locally there.  Rearrange case statements so that thos most
frequently executed come first.  Avoid goto's in frequently
executed cases.
1999-11-07 13:07:56 +00:00
Gerd Moellmann dd59e217f0 *** empty log message *** 1999-11-05 22:08:22 +00:00
Gerd Moellmann 74e9500823 (Fbyte_code): Use BEFORE_POTENTIAL_GC and
AFTER_POTENTIAL_GC around internal_catch.
1999-11-05 21:55:27 +00:00
Gerd Moellmann 35c7a97438 Add prototypes for new functions in bytecode.c.
Add extern declaration for byte_stack_list.
1999-11-05 21:30:57 +00:00
Gerd Moellmann bcf2808066 (struct catchtag): Add member byte_stack.
(internal_catch, Fcondition_case, internal_condition_case)
(internal_condition_case_1: Save value of byte_stack_list in
catchtag.
(unwind_to_catch): Restore byte_stack_list from catchtag.
1999-11-05 21:30:08 +00:00
Gerd Moellmann 630686c871 (Fgarbage_collect): Call mark_byte_stack and
relocate_byte_pcs.
(init_alloc_once, init_alloc): Set byte_stack_list to null.
1999-11-05 21:26:42 +00:00
Gerd Moellmann 7ca1e8b752 (struct byte_stack): New.
(byte_stack_list, mark_byte_stack, relocate_byte_pcs): New
(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): New.
(FETCH, PUSH, POP, DISCARD, TOP, MAYBE_GC): Rewritten.
(HANDLE_RELOCATION): Removed.
(Fbyte_code): Use byte_stack structures.
1999-11-05 21:26:15 +00:00
Gerd Moellmann 4d59c34cd8 *** empty log message *** 1999-11-05 14:05:21 +00:00
Gerd Moellmann 8105cbf751 (Ffile_locked_p): Make FILENAME a required argument. 1999-11-05 14:04:40 +00:00
Gerd Moellmann fe512f27c0 * buffer.c (syms_of_buffer): Extend documentation of
mode-line-format.
1999-11-05 13:46:32 +00:00
Gerd Moellmann 60b64cd673 *** empty log message *** 1999-11-04 21:07:47 +00:00
Gerd Moellmann 98cbb9a3dd (do_completion, Fminibuffer_complete_word): Use
Ferase_field instead of Fdelete_field.
1999-11-04 20:30:49 +00:00
Gerd Moellmann 8bf64fe8ef (Fdelete_field): Renamed from Ferase_field. 1999-11-04 20:30:05 +00:00
Jason Rumney e5619f6b11 *** empty log message *** 1999-11-04 18:29:46 +00:00
Dave Love 789fddb7d7 *** empty log message *** 1999-11-04 16:32:03 +00:00
Gerd Moellmann b51b619b17 *** empty log message *** 1999-11-03 16:27:34 +00:00
Gerd Moellmann 5d7791b36a (Finternal_show_cursor): Change it to set the
cursor on/off, not toggle its state.
(Finternal_show_cursor_p): New.
(syms_of_display): Defsubr Sinternal_show_cursor_p.
1999-11-03 15:57:55 +00:00
Dave Love 5865af0db1 (split_non_ascii_string): Define return value. 1999-11-03 14:30:11 +00:00
Gerd Moellmann cb3a6c483b *** empty log message *** 1999-11-03 13:47:00 +00:00
Gerd Moellmann edfef19957 (string_to_object): New.
(read_minibuf_noninteractive): New.
(read_minibuf): Call read_minibuf_noninteractive if
noninteractive.  Use string_to_object.
1999-11-03 12:41:38 +00:00
Gerd Moellmann 82a700f3f2 *** empty log message *** 1999-11-02 23:23:08 +00:00
Gerd Moellmann 9e56fc95cc (Fdocumentation_property): Fix bug bypassing UNGCPRO. 1999-11-02 23:18:05 +00:00
Dave Love e69dcd60c5 Use SIGCHLD, not SIGCLD (not in glibc 2.1). 1999-11-02 23:10:56 +00:00
Dave Love 827a1788e0 Undo last change and define _GNU_SOURCE before config.h. 1999-11-02 22:44:28 +00:00
Dave Love b5540f0dc6 Use string.h for strsignal. 1999-11-02 14:23:20 +00:00
Gerd Moellmann a69a6e61d4 (QUIT): Give it statement form. 1999-11-02 13:25:16 +00:00
Dave Love 87e21fbd58 (init_eval): Conditionalize declaration of gcpro_level. 1999-11-02 12:58:32 +00:00
Gerd Moellmann 9fb5e03d38 (QCuser_data): New.
(syms_of_xfns): Initialize QCuser_data.
(parse_image_spec): Ignore :user-data DATA properties.
1999-11-02 12:51:55 +00:00
Gerd Moellmann 1b335865a4 (display_line): Set charpos of first glyph in blank
lines not corresponding to any text to -1, even if no glyphs are
filled in in that line.
1999-11-02 12:22:54 +00:00
Richard M. Stallman d21bd3fbdb (w16select.o, sound.o): Don't depend on lisp.h. 1999-11-01 23:26:54 +00:00
Richard M. Stallman 7b0cb8a0e7 (strout): Consider `noninteractive' and use stdout
only when PRINTCHARFUN is t.
1999-11-01 23:25:14 +00:00
Richard M. Stallman 15934ffa0e [DEBUG_GCPRO] (gcpro_level): New variable.
(init_eval) [DEBUG_GCPRO]: Initialize it.
(unwind_to_catch) [DEBUG_GCPRO]: Set gcpro_level
from remaining gcprolist.
1999-11-01 23:19:20 +00:00
Richard M. Stallman 4742f5240c (struct gcpro) [DEBUG_GCPRO]: New field `level'.
(gcpro_level): Declare it extern.
[DEBUG_GCPRO] (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5):
Alternate definitions that set `level' and increment `gcpro_level'.
[DEBUG_GCPRO] (UNGCPRO): Alternate definition that checks gcpro_level.
1999-11-01 23:16:22 +00:00
Gerd Moellmann 36fcd3d902 *** empty log message *** 1999-11-01 21:11:14 +00:00
Gerd Moellmann 6c1aa34da0 (png_load) [PNG_READ_sRGB_SUPPORTED]: Put code using
png_get_sRGB in #ifdef.
1999-11-01 21:05:14 +00:00
Gerd Moellmann 111259b445 *** empty log message *** 1999-11-01 15:42:30 +00:00
Gerd Moellmann dd5c96e8a6 *** empty log message *** 1999-11-01 14:54:58 +00:00
Gerd Moellmann c3f135409c (Finternal_show_cursor): Renamed from Fshow_cursor.
(syms_of_display): Use the new name.
1999-11-01 14:43:24 +00:00
Gerd Moellmann db8878fb45 *** empty log message *** 1999-11-01 14:42:21 +00:00
Gerd Moellmann e28c666e3c (verify_interval_modification): Signal text-read-only
instead of calling error.
1999-11-01 14:14:52 +00:00
Gerd Moellmann 6c8583110b Add extern declaration for Qtext_read_only. 1999-11-01 14:14:31 +00:00
Gerd Moellmann 8f9f49d733 (Qtext_read_only): New built-in error.
(syms_of_data): Initialize it.
1999-11-01 14:14:04 +00:00
Gerd Moellmann e76f1c446d Remove whitespace after open or in front of closing parentheses. 1999-11-01 13:56:47 +00:00
Gerd Moellmann 575ed80579 *** empty log message *** 1999-10-31 14:01:04 +00:00
Gerd Moellmann e82bd92274 (resize_mini_window): Compute needed height differently. 1999-10-31 13:04:20 +00:00
Gerd Moellmann 7843e09cdc (Flength): Unroll loop over lists. 1999-10-31 02:04:50 +00:00
Gerd Moellmann 80c6cb1ff0 (append_space): Return non-zero if space was appended.
(display_line): Set charpos of first glyph to -1 only if that
glyph is the space added by append_glyph.
1999-10-31 02:01:25 +00:00
Gerd Moellmann 65113618fc Extend comment for optional_new_start. 1999-10-30 20:43:26 +00:00
Kenichi Handa 3636f7a323 (code_convert_region): Update `dst' correctly. 1999-10-29 00:46:20 +00:00
Gerd Moellmann d9e455fbec (POP_FAILURE_POINT): Use failure_id.integer
as arg to DEBUG_POP and DEBUG_PRINT.
1999-10-28 21:17:43 +00:00
Gerd Moellmann a2ad7096ec *** empty log message *** 1999-10-28 12:13:45 +00:00
Gerd Moellmann f2be367171 (Fmemq, Fassq, Frassq, assq_no_quit, Fassoc)
(Frassoc): Rewritten.
1999-10-28 12:12:47 +00:00
Gerd Moellmann 1e3196e81b *** empty log message *** 1999-10-27 10:24:42 +00:00
Gerd Moellmann ffe2d21f78 Add undef for HAVE_DEV_PTMX. 1999-10-27 10:22:45 +00:00
Gerd Moellmann fdc5e0fcf4 [HAVE_DEV_PTMX]: Redefine FIRST_PTY_LETTER to 'z'.
Define PTY_NAME_SPRINTF.
Redefine PTY_TTY_NAME_SPRINTF.
1999-10-27 10:22:21 +00:00
Gerd Moellmann 17dbfaad0e *** empty log message *** 1999-10-26 23:28:36 +00:00
Gerd Moellmann c1307a2360 (Qad_activate_internal): Renamed from Qad_activate.
(Ffset): Call Qad_activate_internal.
(syms_of_data): Initialize Qad_activate_internal.
1999-10-26 23:25:22 +00:00
Gerd Moellmann 26922151e2 *** empty log message *** 1999-10-26 22:22:57 +00:00
Gerd Moellmann 622e3754f4 * xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing if
Vterminal_frame is selected and Vwindow_system is non-nil.
1999-10-26 22:21:58 +00:00
Gerd Moellmann 79dcc28bc3 (echo_area_display): Put previous change in #if 0. 1999-10-26 14:51:55 +00:00
Gerd Moellmann 2bea706b5d *** empty log message *** 1999-10-26 14:50:52 +00:00
Gerd Moellmann 67a5596fa3 (standard_args): Add file' as synonym for visit',
`execute' as synonym for `eval'.
(main): Add new options to usage message.
1999-10-26 14:34:42 +00:00
Gerd Moellmann 81dc5de57a (Qhash_table): New.
(Ftype_of): Return it for hash tables.
(syms_of_data): Initialize Qhash_table.
1999-10-25 20:51:13 +00:00
Gerd Moellmann bd3c545deb *** empty log message *** 1999-10-25 13:32:00 +00:00
Gerd Moellmann 7d0ff46626 (POP_FAILURE_POINT): Extract failure_id as an integer. 1999-10-25 12:31:55 +00:00
Ken Raeburn 7539e11fca more XCAR/XCDR/XFLOAT_DATA uses, to help isolete lisp engine 1999-10-25 04:58:18 +00:00
Ken Raeburn 3a7093d84f netbsd-elf fixes 1999-10-25 04:50:39 +00:00
Gerd Moellmann 2a3d714616 (Fnext_window): Add a QUIT in the loop. 1999-10-23 22:44:26 +00:00
Gerd Moellmann 8ac52782cd *** empty log message *** 1999-10-23 13:24:13 +00:00
Gerd Moellmann 2d2e4a9f05 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets. 1999-10-23 13:23:33 +00:00
Dave Love 05f0d15a1b *** empty log message *** 1999-10-22 12:55:03 +00:00
Dave Love 6a97197e0c (main): Enable profiling conditional on __linux also. 1999-10-22 12:52:09 +00:00
Gerd Moellmann 882fb0e653 *** empty log message *** 1999-10-20 19:34:52 +00:00
Gerd Moellmann 66f4dd6974 *** empty log message *** 1999-10-19 19:57:29 +00:00
Gerd Moellmann 487b10dd18 (HAVE_GETLOADAVG): Define as 1 because config.h defines it that way. 1999-10-19 19:52:13 +00:00
Stefan Monnier 863476d170 *** empty log message *** 1999-10-19 18:08:23 +00:00
Gerd Moellmann b5f5bc317a (echo_area_display) [HAVE_X_WINDOWS]: Do nothing
if selected_frame is equal to Vterminal_frame.
1999-10-19 16:45:45 +00:00
Paul Eggert bb7b436870 s/usg5-4.h:
(NSIG): Remove.
(NSIG_MINIMUM): New macro.
s/gnu-linux.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h,
s/umips.h, s/usg5-4.h:
(SIGIO): Do not undef.
(BROKEN_SIGIO): New macro.

* s/gnu-linux.h:
(SIGPOLL, SIGURG): Do not undef.
(BROKEN_SIGPOLL, BROKEN_SIGURG): New macros.

* s/ptx4.h:
(SIGINFO): Do not undef.
(BROKEN_SIGINFO): New macros.

* s/ptx.h, s/template.h: Doc fix.

* s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h,
s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h,
s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h,
s/usg5-2.h, s/usg5-3.h, s/xenix.h:
(open, close, read, write, INTERRUPTIBLE_OPEN,
INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove.

* s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros.
1999-10-19 07:28:36 +00:00
Paul Eggert 332d98c75d * m/alpha.h: Do not include <stdlib.h>, as <config.h> does this now.
(NSIG): Remove.
(NSIG_MINIMUM): New macro.
* m/cydra5.h, m/dpx2.h, m/mips.h, m/pfa50.h, m/sps7.h, m/stride.h,
m/ustation.h:
(SIGIO): Do not undef.
(BROKEN_SIGIO): New macro.

* m/ustation.h:
(SIGTSTP): Do not undef.
(BROKEN_SIGTSTP): New macro.
* m/delta.h: Doc fix.
1999-10-19 07:27:16 +00:00
Paul Eggert 68c45bf065 Add support for large files, 64-bit Solaris, system locale codings.
* Makefile.in (emacs): Set the LC_ALL environment variable to "C"
when dumping, so that the dumped Emacs doesn't have stray locale info.
(dired.o): Depend on systime.h.
(editfns.o): Depend on coding.h.

* alloc.c, buffer.c, callproc.c, ccl.c, charset.c, coding.c, data.c,
dispnew.c, editfns.c, emacs.c, filelock.c, floatfns.c, hftctl.c,
keyboard.c, process.c, sysdep.c, unexelf.c, unexhp9k800.c,
unexsunos4.c, vmsfns.c, vmsgmalloc.c, w32faces.c, w32menu.c, w32term.c,
w32xfns.c, xfaces.c, xfns.c, xmenu.c, xterm.c:
Include <config.h> before any system include files.

* alloc.c, buffer.c, ccl.c, data.c, editfns.c, emacs.c, eval.c,
fileio.c, filelock.c, frame.c, insdel.c, keymap.c, lread.c,
m/alpha.h, print.c, search.c, sysdep.c, xdisp.c, xfaces.c, xfns.c,
xmenu.c, xterm.c:
Do not include <stdlib.h>, as <config.h> does this now.

* callproc.c (Fcall_process):
Synchronize messages locale before invoking strerror.
Decode resulting string with locale-coding-system.

* coding.c (Vlocale_coding_system): New var.
(syms_of_coding): Adjust to above change.
(emacs_strerror): New function.

* coding.h (emacs_strerror, Vlocale_coding_system): New decls.

* config.in (HAVE_STDIO_EXT_H, HAVE_TM_GMTOFF, HAVE___FPENDING,
HAVE_FTELLO, HAVE_GETLOADAVG, HAVE_MBLEN, HAVE_MBRLEN,
HAVE_STRSIGNAL): New macros.
(BITS_PER_LONG): Default to 64 if _LP64 is defined.
<stdlib.h>: Include if HAVE_STDLIB_H is defined and NOT_C_CODE isn't.

* dired.c: Include "systime.h".
(Ffile_attributes): Do not cast s.st_size to int; this loses
information if int is 32 bits but st_size and EMACS_INT are larger.
Treat large device numbers like large inode numbers.

* dispnew.c (PENDING_OUTPUT_COUNT): Use __fpending if available.

* editfns.c: Include coding.h.
(emacs_strftime): Remove decl.
(emacs_strftimeu): New decl.
(emacs_memftimeu): Renamed from emacs_memftime; new arg UT.
Use emacs_strftimeu instead of emacs_strftime.
(Fformat_time_string): Convert format string using
Vlocale_coding_system, and convert result back.  Synchronize time
locale before invoking lower level function.  Invoke
emacs_memftimeu, passing ut, instead of emacs_memftime.

* emacs.c: Include <locale.h> if HAVE_SETLOCALE is defined.
(Vmessages_locale, Vprevious_messages_locale, Vtime_locale,
Vprevious_time_locale): New variables.
(main): Invoke setlocale early, so that initial error messages are
localized properly.  But skip locale-setting if LC_ALL is "C".
Fix up locale when it's safe to do so.
(fixup_locale): Moved here from xterm.c.
(synchronize_locale, synchronize_time_locale,
synchronize_messages_locale): New functions.
(syms_of_emacs): Accommodate above changes.

* fileio.c (report_file_error): Convert strerror output according
to Vlocale_coding_system.
(Finsert_file_contents): Check for arithmetic overflow in
computations that depend on file size.  Report IO errors
with emacs_strerror, not strerror.

* fns.c (Fgethash): Declare dflt parameter.

* gmalloc.c: Do not define const to nothing if HAVE_CONFIG_H
is defined; that's config.h's job.

* lisp.h (EMACS_INT, BITS_PER_EMACS_INT, EMACS_UINT): If _LP64,
default these values to long, BITS_PER_LONG, and unsigned long.
(VALBITS, MARKBIT, XINT): Do not assume 32-bit EMACS_INT.
(PNTR_COMPARISON_TYPE): Default to EMACS_UINT, not to unsigned int.
(code_convert_string_norecord, fixup_locale,
synchronize_messages_locale, synchronize_time_locale,
emacs_open, emacs_close, emacs_read, emacs_write): New decls.
All Emacs callers of open, close, read, write changed to use
emacs_open, emacs_close, emacs_read, emacs_write.

* lread.c (file_offset, file_tell): New macros.  All uses of ftell
changed to file_tell.
(saved_doc_string_position, prev_saved_doc_string_position): Now
of type file_offset.
(init_lread): Do not fix locale here; fixup_locale now does this.

* m/amdahl.h, s/usg5-4.h:
(NSIG): Remove.
(NSIG_MINIMUM): New macro.

* m/cydra5.h, m/dpx2.h, m/mips.h, m/pfa50.h, m/sps7.h, m/stride.h,
m/ustation.h, s/gnu-linux.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h,
s/umips.h, s/usg5-4.h:
(SIGIO): Do not undef.
(BROKEN_SIGIO): New macro.

* m/ustation.h:
(SIGTSTP): Do not undef.
(BROKEN_SIGTSTP): New macro.

* s/gnu-linux.h:
(SIGPOLL, SIGURG): Do not undef.
(BROKEN_SIGPOLL, BROKEN_SIGURG): New macros.

* s/ptx4.h:
(SIGINFO): Do not undef.
(BROKEN_SIGINFO): New macros.

* m/delta.h, s/ptx.h, s/template.h: Doc fix.

* mktime.c, strftime.c: Update to glibc 2.1.2 version, with
some Emacs-related changes merged.

* print.c (float_to_string): Prepend "-" to representation of a
NaN if the NaN is negative.

* process.c (sys_siglist): Omit if HAVE_STRSIGNAL.
(wait_reading_process_input): Use emacs_strerror, not strerror.

* process.c (status_message, sigchld_handler): Synchronize locale,
then use strsignal istead of sys_siglist.
* w32proc.c (sys_wait): Likewise.

* s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h,
s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h,
s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h,
s/usg5-2.h, s/usg5-3.h, s/xenix.h:
(open, close, read, write, INTERRUPTIBLE_OPEN,
INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove.

* s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros.
* sysdep.c (sys_read, sys_write, read, write, sys_close, close,
sys_open, open): Remove.
(emacs_open, emacs_close, emacs_read, emacs_write): Always define;
the old INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, and INTERRUPTIBLE_IO
macros are no longer used.
(emacs_open): Renamed from sys_open.  Merge BSD4_1 version.
(emacs_close): Renamed from sys_close.
(emacs_read): Renamed from sys_read.
(emacs_write): Renamed from sys_write.
(sys_siglist): Do not declare if HAVE_STRSIGNAL.
(dup2): Do not print error on failure; the real dup2 doesn't.
(strsignal): New function, defined if !HAVE_STRSIGNAL.

* syssignal.h (SIGINFO): Undef if defined and if BROKEN_SIGINFO
is defined.
(SIGIO, SIGPOLL, SIGTSTP, SIGURG): Likewise.
(NSIG): If less than NSIG_MINIMUM, define to NSIG_MINIMUM.
(strsignal): Declare if !HAVE_STRSIGNAL.

* unexelf.c (ElfBitsW, ELFSIZE, ElfExpandBitsW): New macros.
(ElfW): Define in terms of ElfExpandBitsW.

* w32proc.c (sys_siglist): Remove decl.

* xdisp.c (decode_mode_spec): 3rd arg is int, not char, to comply
with ANSI C.
(display_string): Declare face_string_pos arg.

* xfns.c (Fx_show_tip): Declare timeout param.

* xterm.c: No need to include locale.h.
(x_alloc_lighter_color, x_setup_relief_color):
Pass arg as double, not float, for compatibility with ANSI C.
(fixup_locale): Move to emacs.c.
(x_term_init): Do not setlocale or fixup locale; the main program
does this now.
1999-10-19 07:25:11 +00:00
Dave Love 2f0b74ea0c (Fdocumentation_property): Remove register declaration for `tem'. 1999-10-18 18:15:25 +00:00
Dave Love 54f696ea5e (Fdocumentation_property): Gcpro `tem'. 1999-10-18 14:00:19 +00:00
Kenichi Handa 471aa4a0de (Fload): Calculate bytes of filename correctly.
(openp): Likewise.
1999-10-18 02:12:21 +00:00
Kenichi Handa 1f5fe39244 *** empty log message *** 1999-10-18 02:09:19 +00:00
Kenichi Handa aca2020bdb (print_preprocess): In case print-circle is nil,
add OBJ to Vprint_number_table only when OBJ is a symbol.
1999-10-18 02:01:56 +00:00
Kenichi Handa b843d1aed4 (code_convert_string): Add record_unwind_protect to
assure setting inhibit_pre_post_conversion back to zero.  Take
care of the multibyteness of the working buffer.

(inhibit_pre_post_conversion): New variable.
(setup_coding_system): If inhibit_pre_post_conversion is nonzero,
ignore post-read-conversion and pre-write-conversion property of
the coding system.
(code_convert_region_unwind): New function.
(code_convert_region): Set inhibit_pre_post_conversion to 1 while
running pre-write-conversion and post-read-conversion.
(code_convert_string): Likewise.
1999-10-18 01:36:35 +00:00
Gerd Moellmann cd876a9126 *** empty log message *** 1999-10-17 12:57:38 +00:00
Gerd Moellmann b8855607a0 (Fforward_word): Supply new ESCAPE_FROM_EDGE parameter
to Fconstrain_to_field.
(Fforward_word): Likewise.
Constrain to any field.
1999-10-17 12:56:25 +00:00
Gerd Moellmann 8e9968c634 (Fminibuffer_complete_and_exit): Supply value for new
ESCAPE_FROM_EDGE parameter to Ffield_beginning.
(Fminibuffer_complete_word): Use
Ffield_beginning to find the prompt end.
(Fminibuffer_complete_and_exit): Test for an empty
input string by seeing where the field begins, instead of
looking at text-properties.
(read_minibuf): Don't save minibuffer prompt length on
minibuf_save_list.
Don't initialize minibuffer prompt length.
Wrap prompt text-properties around the entire prompt.
Add 'prompt text-property to prompt.
Get final value with Ffield_string instead of make_buffer_string.
(read_minibuf_unwind): Don't restore minibuffer prompt length from
minibuf_save_list.
(do_completion): Get minibuffer input with Ffield_string
instead of Fbuffer_string.
Erase minibuffer input with Ferase_field instead of erase_buffer.
(Fminibuffer_complete_and_exit): Likewise.
Test whether buffer is empty by looking for the 'prompt text
property at the end.
Set prompt length by looking for the end of the prompt text property,
and save prompt length for later use (since there is no longer a
buffer variable to get it from).
(Fminibuffer_prompt_width, Fminibuffer_prompt_end): Functions removed.
(syms_of_minibuf): Remove initializations of
Sminibuffer_prompt_width and Sminibuffer_prompt_end.
1999-10-17 12:55:49 +00:00
Gerd Moellmann 0daf6e8d79 (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.
1999-10-17 12:55:00 +00:00
Gerd Moellmann 7b9e346c81 (struct buffer): Remove prompt_end_charpos field. 1999-10-17 12:53:48 +00:00
Gerd Moellmann c0d9a0c30c (Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer):
Don't initialize prompt_end_charpos field.
1999-10-17 12:53:14 +00:00
Dave Love c4dcdc9ce6 # 1999-10-17 09:55:57 +00:00
Gerd Moellmann 3f6f75085a *** empty log message *** 1999-10-16 12:03:09 +00:00
Gerd Moellmann 43b4a21f4e (enum save_restore_action): New.
(save_restore_orig_size): Change parameter list.  Add
functionality to check for valid orig_top and orig_height members
in a window tree.
(grow_mini_window): Call save_restore_orig_size with new parameter
list.
(shrink_mini_window): Restore old window sizes only if old
size information is valid in all windows in a window tree.
1999-10-16 11:24:23 +00:00
Gerd Moellmann bf82bce457 (set_frame_menubar): Don't call
x_set_menu_resources_from_menu_face here.
(update_frame_menubar): Call x_set_menu_resources_from_menu_face.
1999-10-15 15:15:43 +00:00
Gerd Moellmann 2710454de8 *** empty log message *** 1999-10-15 15:15:07 +00:00
Gerd Moellmann 06482119e2 (gif_load): Fix handling of interlaced GIFs. 1999-10-14 23:19:50 +00:00
Dave Love 17fa28371a *** empty log message *** 1999-10-14 15:27:34 +00:00
Gerd Moellmann 45f9341666 (Fopen_network_stream): Don't loop if gethostbyname
fails and h_errno is TRY_AGAIN.
1999-10-14 11:23:11 +00:00
Dave Love 2bf6fa4b52 (handle_fontified_prop): GCPRO pos. 1999-10-14 11:03:39 +00:00
Dave Love 3edc33a4a9 (lock_file): Fix previous change. 1999-10-14 09:19:34 +00:00
Dave Love c765b72361 # 1999-10-13 17:42:55 +00:00
Dave Love 8af8a9ca7c (lock_file): Move gcpro of `fn'. 1999-10-13 17:17:59 +00:00
Gerd Moellmann dace7f4e1c (auto-save-interval): Fix doc string. 1999-10-10 21:09:05 +00:00
Phillip Rulon a04f1a93c6 (Fsingle_key_description): Make tem big enough.
(describe_buffer_bindings): Make buf big enough.
1999-10-10 01:39:53 +00:00
Richard M. Stallman 73fb36f17c (print): When removing objects from Vprint_number_table,
only scan the newly added objects.
(print_preprocess): If OBJ is a gensym, and print-continuous-numbering,
unconditionally force it to stay in the table.
1999-10-09 22:58:37 +00:00
Gerd Moellmann 85177c862b *** empty log message *** 1999-10-09 19:58:13 +00:00
Gerd Moellmann 209061be86 (prepare_image_for_display): Don't try to load image if
loading it failed before.
(lookup_image, prepare_image_for_display): Remember if loading the
image failed.
(xpm_load): Add missing UNBLOCK_INPUT.
1999-10-09 19:47:16 +00:00
Gerd Moellmann a7ac64a901 (struct image): New member load_failed_p. 1999-10-09 19:46:41 +00:00
Phillip Rulon d177c58352 *** empty log message *** 1999-10-09 01:22:21 +00:00
Phillip Rulon b988a84237 (get_local_map): Use indirect_function,
not Findirect_function.
1999-10-09 00:50:15 +00:00
Phillip Rulon 2727132911 *** empty log message *** 1999-10-08 23:57:58 +00:00
Phillip Rulon f1aba51233 (unexec): Don't get confused by a short section
just before the bss section.
1999-10-08 23:08:28 +00:00
Stefan Monnier 11e4de5d25 . 1999-10-08 21:44:24 +00:00
Stefan Monnier 9acbdbcb1f (Fmake_temp_name): forgot the \n\ in the docstring 1999-10-08 21:43:21 +00:00
Stefan Monnier a1f973fb9a (Fmake_temp_name): add a ref to `make-temp-file' in the docstring. 1999-10-08 21:42:32 +00:00
Gerd Moellmann 347104cab0 Add TAGS-LISP 1999-10-08 11:52:13 +00:00
Gerd Moellmann f1da8f069e (XTread_socket) <ClientMessage, WM_TAKE_FOCUS>:
Don't call XSetInputFocus because that can generate additional
FocusIn events.
1999-10-08 11:33:09 +00:00
Gerd Moellmann c37bbd4fe3 *** empty log message *** 1999-10-07 11:53:31 +00:00
Gerd Moellmann 9ef0c85bc7 [HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP. 1999-10-07 11:49:21 +00:00
Gerd Moellmann e1b37c3468 (wait_reading_process_input): When trying to suck
input from one process, for accept-process-output,
exit that loop if we get EAGAIN or EWOULDBLOCK.
1999-10-07 11:37:40 +00:00
Gerd Moellmann 78cc5c64e4 Change copyright statement. 1999-10-07 11:32:09 +00:00
Gerd Moellmann fef04523bd (Qbitmap_spec_p): Replaces Qpixmap_spec_p.
(Fbitmap_spec_p): Replaces Fpixmap_spec_p.
(load_pixmap): Use Fbitmap_spec_p and Qbitmap_spec_p instead of
Fpixmap_spec_p and Qpixmap_spec_p.
(load_face_colors, check_lface_attrs,
merge_face_vector_with_property,
Finternal_set_lisp_face_attribute): Use Fbitmap_spec_p.
(syms_of_xfaces): Initialize Qbitmap_spec_p, defsubr
Fbitmap_spec_p.
1999-10-07 00:41:24 +00:00
Gerd Moellmann 577d9e2f1d *** empty log message *** 1999-10-07 00:36:36 +00:00
Gerd Moellmann f5737ad232 *** empty log message *** 1999-10-06 23:31:49 +00:00
Gerd Moellmann ac44152803 (set_frame_menubar, xmenu_show): Call
x_set_menu_resources_from_menu_face.
1999-10-06 23:13:21 +00:00
Gerd Moellmann c7ae32842a (toplevel) [USE_MOTIF]: Include some Motif headers.
(struct x_resources) [USE_X_TOOLKIT]: New.
(xm_apply_resources, xm_set_menu_resources_from_menu_face)
[USE_MOTIF]: New.
(xl_apply_resources, xl_set_menu_resources_from_menu_face)
[USE_LUCID]: New.
(x_set_menu_resources_from_menu_face) [USE_X_TOOLKIT]: New.
(Qmenu): New.
(syms_of_xfaces): Initialize Qmenu.
(realize_basic_faces): Realize face `menu'.
(resolve_face_name): New.
(lface_from_face_name): Use it.
(Finternal_set_lisp_face_attribute): Ditto.
(Fpixmap_spec_p): Rewritten.  Extend doc string.
1999-10-06 23:09:44 +00:00
Gerd Moellmann 52377a47b0 (display_menu_bar): Use MENU_FACE_ID instead of
MODE_LINE_FACE_ID.
1999-10-06 23:05:32 +00:00
Gerd Moellmann 8317e10427 (enum face_id): Add MENU_FACE_ID.
(toplevel): Include X11/Intrinsic.h.
1999-10-06 23:00:50 +00:00
Dave Love f71b19b645 1999-09-04 Richard M. Stallman <rms@gnu.org>
* regex.c [emacs] (ISALNUM, ISALPHA, ISPUNCT): Don't depend on locale
        [emacs] (ISASCII): Don't define ISASCII in this case.
        (IS_REAL_ASCII): New macro, 2 alternate definitions.
        (ISUNIBYTE): Likewise.
        [emacs] (ISDIGIT, ISCNTRL, ISXDIGIT, ISGRAPH, ISPRINT):
        Don't use ISASCII.

        * regex.c: Handle new class names `ascii', `nonascii',
        `unibyte, `multibyte'.
        (BIT_ASCII, BIT_NONASCII, BIT_UNIBYTE, BIT_MULTIBYTE): New macros.
        (IS_CHAR_CLASS): Accept new class names.
        (regex_compile, re_match_2_internal): Handle the new classes.
1999-10-06 18:25:22 +00:00
Dave Love d56a50549d # 1999-10-04 16:40:11 +00:00
Dave Love 5ed7b3c348 (BASE_PURESIZE): Increase to 525000. 1999-10-04 15:47:14 +00:00
Dave Love 6a1aa82316 # 1999-10-04 15:35:04 +00:00
Kenichi Handa 251aeb2451 (DECODE_CHARACTER_ASCII): Decode ASCII invocated to GR
correctly.
1999-10-04 00:12:34 +00:00
Dave Love b8098ef87f # 1999-10-01 12:43:57 +00:00
Dave Love 33682909de #ecrt0.c 1999-10-01 11:44:30 +00:00
Dave Love 2690179258 # 1999-09-30 14:13:07 +00:00
Kenichi Handa 54643b2c49 (Fminibuffer_complete_word): Calculate string byte
size correctly.
1999-09-30 04:19:45 +00:00
Kenichi Handa 54e67cf740 (modify_lower_category_set): Set default value of
TABLE correctly.
1999-09-30 04:18:36 +00:00
Dave Love 863c15b6e7 # 1999-09-29 22:08:57 +00:00
Gerd Moellmann 0963334d8f (Fpropertize): Renamed from Fproperties. 1999-09-29 20:33:45 +00:00
Gerd Moellmann 00f6d59e8c (resize_mini_window): Do nothing if frame is an X
frame that hasn't been initialized yet.
1999-09-29 19:59:16 +00:00
Dave Love 615d01824a # 1999-09-29 16:37:29 +00:00
Dave Love 8f672a07e0 Remove unneeded declaration of ospeed. 1999-09-27 16:42:19 +00:00
Gerd Moellmann 6c57709828 (display_prop_end, invisible_text_between_p): Use
next_single_char_property_change.
1999-09-26 10:53:23 +00:00
Gerd Moellmann 0b0737d1c7 (next_single_char_property_change): New. 1999-09-26 10:53:22 +00:00
Gerd Moellmann 50075fa036 (toplevel): Add prototype for
next_single_char_property_change.
1999-09-26 10:53:19 +00:00
Gerd Moellmann 4f7ca1f18a (lookup_image): Set image's timestamp because it's
used when we look it up.
1999-09-25 19:57:52 +00:00
Gerd Moellmann 2d9811c410 (Fproperties): New.
(syms_of_editfns): Defsubr it.
1999-09-25 19:57:50 +00:00
Gerd Moellmann 7ab1745fb8 (image_error): Use add_to_log. 1999-09-23 22:17:46 +00:00
Gerd Moellmann 1b8f7fbca2 (load_pixmap): Call add_to_log without frame parameter.
(load_face_font_or_fontset, load_color,
merge_face_vector_with_property): Ditto.
(add_to_log): Move to xdisp.c.
1999-09-23 22:17:44 +00:00
Gerd Moellmann 937248bc7f (add_to_log): Moved from xfaces.c. Remove frame
parameter.
1999-09-23 22:17:40 +00:00
Gerd Moellmann 86c8e82375 (enlarge_window): Add window parameter instead of using
selected_window.
(Fdisplay_buffer): Call it with window parameter instead of
setting selected_window.
(Fenlarge_window, Fshrink_window): Ditto.
(shrink_mini_window): If there is no recorded height and position
info, resize mini-window to height 1.
1999-09-23 22:17:37 +00:00
Gerd Moellmann 9ee8429940 Add prototype for add_to_log. 1999-09-23 22:17:36 +00:00
Gerd Moellmann e88b3c5076 (XTread_socket) <MotionNotify>: Change #ifdef
USE_X_TOOLKIT to #ifdef USE_TOOLKIT_SCROLL_BARS.
1999-09-23 11:58:49 +00:00
Gerd Moellmann da4487236d (resize_mini_window): Use grow_mini_window and
shrink_mini_window.
1999-09-23 11:58:42 +00:00
Gerd Moellmann 57209cbae0 (struct window): New members orig_top, orig_height.
(toplevel): Add prototypes for grow_mini_window and
shrink_mini_window.  Remove prototype for change_window_height.
1999-09-23 11:58:41 +00:00
Gerd Moellmann f984d4fcdf (window_min_size): Add parameter ignore_fixed_p.
(change_window_height): Call window_min_size with new parameter.
(shrink_window_lowest_first, save_restore_orig_size,
grow_mini_window, shrink_mini_window): New.
(make_window, replace_window): Initialize orig_top and
orig_height.
(enlarge_window): Renamed from change_window_height.  Make it
static.
(Fdisplay_buffer, Fenlage_window, Fshrink_window): Call
enlarge_window instead of change_window_height.
1999-09-23 11:58:37 +00:00
Eli Zaretskii 48970f2f02 (frame_name_fnn_p): Fix previous change. 1999-09-21 14:49:28 +00:00
Gerd Moellmann 3f708f4c75 (toplevel): Move include of stdio.h to other includes. 1999-09-20 23:18:49 +00:00
Gerd Moellmann 95384e1ede (readchar): Remove unused variables.
(read_filtered_event, read1, Fmapatoms): Ditto.
(toplevel): Include intervals.h.
1999-09-20 23:18:48 +00:00
Gerd Moellmann b18c598fd0 Add prototype for safe_bcopy, fatal. 1999-09-20 23:18:46 +00:00
Gerd Moellmann 47935df1ad (Flookup_key, Faccessible_keymaps, describe_vector,
keys_of_keymap, syms_of_keymap): Remove unused variables.
1999-09-20 23:18:45 +00:00
Gerd Moellmann 2decc5a9e8 (get_boot_time): Put local variable used in
conditinally compiled section in #ifdef.
(toplevel): Include stdio.h.
1999-09-20 23:18:45 +00:00
Gerd Moellmann cb81ac977e (Fsignal): Remove unused variables.
(Fcommandp, do_autoload): Ditto.
1999-09-20 23:18:44 +00:00
Gerd Moellmann 2ea0266e7d (init_editfns): Remove unused variables.
(Fgoto_char, Fchar_after, Fformat): Ditto.
(message_text, message_length): Put in #ifndef HAVE_MENUS.
1999-09-20 23:18:42 +00:00
Gerd Moellmann 700fb05a49 (direct_output_for_insert): Cast arguments to
safe_bcopy to char *.
1999-09-20 23:18:39 +00:00
Gerd Moellmann dd8daec5e8 (find_symbol_value): Remove unused variables.
(Faref, Fstring_to_number): Ditto.
(toplevel): Include stdio.h.
(Fnumber_to_string): Cast XINT to long for %ld.
1999-09-20 23:18:38 +00:00
Gerd Moellmann fe568ef5dc (casify_object): Remove unused variables.
(casify_region): Ditto.
1999-09-20 23:18:36 +00:00
Gerd Moellmann f002db9312 (sync_frame_with_window_matrix_rows): Disable frame rows
whose corresponding window rows have been disabled in
try_window_id.
1999-09-20 13:02:31 +00:00
Gerd Moellmann f3751a65aa (compute_window_start_on_continuation_line): Handle case
that window start is out of range.
(handle_display_prop, handle_single_display_prop): Replace
marginal area specifications like `left-margin' with `(margin
left-margin)'.
(Qmargin): New.
(syms_of_xdisp): Initialize Qmargin.
1999-09-20 11:25:06 +00:00
Gerd Moellmann 695f302f5c (Fset_text_properties): Remove unused variables.
(text_property_list, verify_interval_modification,
interval_has_all_properties): Ditto.
1999-09-20 00:34:45 +00:00
Gerd Moellmann 4ffe723bfe (update_syntax_table, find_defun_start, back_comment,
describe_syntax, skip_chars): Remove unused variables.
(back_comment, forw_comment): Add braces to if-statement with
if-else as dependent statement.
1999-09-20 00:34:44 +00:00
Gerd Moellmann 41d03b9a59 (list_processes_1): Remove unused variables.
(Fopen_network_stream, create_process): Add parentheses to
conditional expressions.
(create_process): Put declaration of sigchld in #if 0.
(Fopen_network_stream): Removed unused variables.
(Fopen_network_stream, wait_reading_process_input,
wait_reading_process_input, send_process, send_process): Ditto.
(toplevel): Add prototypes for set_waiting_for_input and
keyboard_bit_set.
1999-09-20 00:34:43 +00:00
Gerd Moellmann 0868e74e52 (RETURN_UNGCPRO): Use do-while (0) idiom.
(toplevel): Add prototypes for stuff_char, and
code_convert_string_norecord.
1999-09-20 00:34:41 +00:00
Gerd Moellmann 03cee6ae65 (Frecursive_edit): Remove unused variable.
(command_loop_1, safe_run_hooks, kbd_buffer_get_event,
timer_check, make_lispy_event, menu_bar_items,
menu_bar_one_keymap, menu_bar_item, parse_menu_item,
parse_tool_bar_item, read_char_x_menu_prompt, read_key_sequence,
kbd_buffer_get_event, make_lispy_event, read_char_x_menu_prompt,
read_key_sequence): Ditto.  Fread_key_sequence,
Fread_key_sequence_vector, Fsuspend_emacs): Ditto.
(read_key_sequence) [GOBBLE_FIRST_EVENT]: Put local variables only
used when GOBBLE_FIRST_EVENT is defined in #ifdef
(Fexecute_extended_command): Cast XINT to long for %ld.
(toplevel) [HAVE_UNISTD_H]: Include unistd.h.
(toplevel): Include sys/types.h.
1999-09-20 00:34:37 +00:00
Gerd Moellmann 3cbd6585e0 (toplevel) [HAVE_UNISTD_H]: Include unistd.h.
(Fcall_process): Remove unused variable.
1999-09-20 00:34:36 +00:00
Gerd Moellmann 11017f88a3 (Fexpand_abbrev): Remove unused variables. 1999-09-20 00:34:35 +00:00
Gerd Moellmann 838fad1597 Add prototype for shrink_regexp_cache,
sweep_weak_hash_tables.
1999-09-19 21:46:47 +00:00
Gerd Moellmann 6021f7c517 (copy_text): Removed unused variables.
(count_combining_after, count_combining_after, insert_1_both,
insert_from_string_1, insert_from_buffer_1, check_markers): Ditto.
(adjust_after_replace, replace_range): Add parentheses to logical
expressions.  Remove unused variables.
(CHECK_BYTE_COMBINING_FOR_INSERT): Add parentheses to logical
expression.
1999-09-19 21:46:46 +00:00
Gerd Moellmann 6bfc58e91e Add prototype for r_re_alloc. 1999-09-19 21:46:45 +00:00
Gerd Moellmann 96c5b0a7f9 (Fgarbage_collect): Remove unused variable.
(compact_strings): Add parentheses around assignments in
conditional context.
(toplevel): Put declaration of unused function clear_marks
in #if 0 like its definition.
1999-09-19 21:46:42 +00:00
Dave Love 1db972cb2e (Fopen_network_stream): Use strerror, not gai_strerror. 1999-09-19 15:48:09 +00:00
Dave Love 4baa6f88d0 Declare Fcurrent_message, Fmake_temp_name, read_bytecode_char,
Fx_hide_busy_cursor, getloadavg.
1999-09-19 15:21:45 +00:00
Dave Love 33711cc91c (read_bytecode_char): Declare arg. 1999-09-19 14:46:03 +00:00
Richard M. Stallman d9e28aa00e (echo_area_display): Turn off code that returned
without doing anything when using a terminal frame.
1999-09-18 05:23:24 +00:00
Gerd Moellmann 8d56e206a2 (get_fallback): Remove unused variable.
(x_load_resources): Ditto.  Put local variable used for Motif only
in #ifdef USE_MOTIF.
1999-09-16 20:20:10 +00:00
Gerd Moellmann 15b0ced5c2 Add prototype for uninterrupt_malloc, memory_warnings,
init_fileio_once, syms_of_sound, init_xfns, init_fns
init_sound, check_message_stack.
1999-09-16 20:20:01 +00:00
Gerd Moellmann e39adcdab9 (rotate_right, rotate_left): Add braces to avoid
ambiguous else warning.
(split_interval_left): Remove unused variables.
(previous_interval, adjust_intervals_for_deletion,
set_point_both, set_point_both, set_intervals_multibyte_1): Ditto.
(icount, idepth, zero_length): Move into #if 0 section below
original position where these are used.
1999-09-16 20:19:57 +00:00
Gerd Moellmann cda4a5fd20 (main): Remove unused variables.
(sort_args, Fkill_emacs, Fkill_emacs): Ditto.
(toplevel) [HAVE_UNISTD_H]: Include unistd.h.
1999-09-16 20:19:54 +00:00
Gerd Moellmann b8e8eeb646 [REL_ALLOC]: Add prototypes for r_alloc and r_alloc_free. 1999-09-16 20:19:52 +00:00
Gerd Moellmann 6af718a48b (Fkill_buffer): Remove unused variables.
(Fkill_buffer, overlays_at, overlays_in, recenter_overlay_lists,
fix_overlays_in_range, Fmove_overlay, Fprevious_overlay_change,
init_buffer_once, (syms_of_buffer): Ditto.
1999-09-16 20:19:41 +00:00
Richard M. Stallman 5f8d6a1075 (Vtemporary_file_directory): New variable.
(syms_of_filelock): Set up Lisp variable.

(get_boot_time): Make the temp name in the proper dir.
1999-09-16 19:34:38 +00:00
Gerd Moellmann c0c64ad121 (resize_mini_window): Temporarily set the selected
window's or Vminibuf_scroll_window's height to "fixed" around
the call the change_window_height.
1999-09-16 12:52:27 +00:00
Gerd Moellmann a71eca925b (struct window): New member height_fixed_p. 1999-09-16 12:52:25 +00:00
Gerd Moellmann a34dfd12cc (Fset_window_buffer): Remove unused variables.
(Fset_window_margins): Ditto.
(window_fixed_size_p): Check window's height_fixed_p
flag.
1999-09-16 12:52:22 +00:00
Gerd Moellmann 13c67cc645 (read_minibuf): Remove unused variables.
(read_minibuf, Fread_buffer, scmp, Fcompleting_read): Ditto.
(do_completion): Move assignment out of conditional context.
(Fdisplay_completion_list): Add parentheses to conditional expression.
1999-09-16 12:52:20 +00:00
Gerd Moellmann 88d33e5264 Add prototype for no_switch_window. 1999-09-16 12:52:18 +00:00
Gerd Moellmann 79a65b7fbe (Fdelete_frame): Correct local variable pointing to
selected frame after selecting new frame.
1999-09-16 12:52:16 +00:00
Gerd Moellmann d2d2ddaf52 (direct_output_forward_char): Don't use this method
if showing a message or a message was just cleared because we
might need to resize the mini-window.
1999-09-16 12:52:13 +00:00
Gerd Moellmann bb10ca9348 (toplevel) [HAVE_TERMCAP_H]: Include termcap.h. 1999-09-16 12:52:12 +00:00
Gerd Moellmann faa935b653 (single_menu_item, Fx_popup_menu, Fx_popup_menu,
single_submenu, update_frame_menubar, set_frame_menubar,
free_frame_menubar, xmenu_show, xdialog_show): Remove unused
variables.
1999-09-15 12:58:53 +00:00
Gerd Moellmann d2c48e866a (resize_mini_window): Don't report changed window
height if it actually hasn't changed.
1999-09-15 12:58:44 +00:00
Gerd Moellmann ccce60568f (set_frame_size, EmacsFrameSetCharSize): Remove
unused variables.
(mark_shell_size_user_specified): Put in #if 0 because not used.
(create_frame_gcs): Put in #if 0 because currently unused.
(first_frame_p): Ditto.
1999-09-15 12:58:42 +00:00
Gerd Moellmann b0f61f1525 (OUTPUT_IF, OUTPUT1_IF): Use do-while.
(encode_terminal_code): Remove unused variables.
(turn_off_face): Ditto.
(toplevel): Include termcap.h if HAVE_TERMCAP_H.
1999-09-15 12:58:40 +00:00
Gerd Moellmann 63fbf4ff16 (PRINTFULLP): Removed because it is no longer used and
is misleading.
(Ferror_message_string): Remove unused variables.
(print_object): Cast argument of sprintf to long for `%ld'
specifier.  Remove unused variable.
1999-09-15 12:58:37 +00:00
Gerd Moellmann 26c636862d (update_frame_line): If writing whole desired line,
don't clear to end of line if already at the end.
1999-09-15 12:58:31 +00:00
Gerd Moellmann 9680b9d055 (Fplay_sound): Remove usused variables.
(be2hs): Put in #if 0 because it's currently not used.
1999-09-14 20:11:59 +00:00
Ken Raeburn 94b342cea5 Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access. 1999-09-14 15:12:57 +00:00
Gerd Moellmann 5c187deef5 (x_scroll_bar_handle_click): Compile only if
not USE_TOOLKIT_SCROLL_BARS.
(x_scroll_bar_set_handle, x_scroll_bar_note_movement): Ditto.
(x_produce_glyphs): Remove unused variable(s).
(x_alloc_nearest_color_for_widget, note_tool_bar_highlight,
x_set_toolkit_scroll_bar_thumb): Ditto.
(x_scroll_bar_create): Move local variable to the
conditionally compiled section of code where it is used.
(x_scroll_bar_create): Remove unused variable(s).
(x_scroll_bar_remove, XTread_socket): Ditto.
(XTread_socket) <ConfigureNotify>: Move variables used for
non-toolkit case into conditionally compiled section of code.
1999-09-14 13:09:49 +00:00
Gerd Moellmann b6d7acec85 (x_set_background_color): Remove unused variable(s).
(x_set_border_pixel): Ditto.
(x_set_menu_bar_lines): Put local variable used only for
non-toolkit case in #ifdef/#endif.
(x_figure_window_size): Remove unused variable(s).
(x_figure_window_size, x_window, lookup_image,
xbm_read_bitmap_file_data, x_build_heuristic_mask, pbm_load,
png_load, jpeg_load, gif_load, x_create_tip_frame,
x_create_tip_frame, Fx_show_tip, x_set_border_pixel): Ditto.
1999-09-14 13:09:43 +00:00
Gerd Moellmann 539bf76f01 (display_echo_area_1, try_window_id): Remove unused
variable(s).
1999-09-14 13:09:34 +00:00
Gerd Moellmann 4dedbdd83c (freeze_window_starts): Fix typo in prototype. 1999-09-14 13:09:33 +00:00
Gerd Moellmann 7de6c76606 Add prototype for debug_print.
Add prototype for getloadavg.
1999-09-14 13:09:31 +00:00
Gerd Moellmann c3df1ad99d (CHECK_FRAME, CHECK_LIVE_FRAME): Put code in do-while. 1999-09-14 13:09:30 +00:00
Gerd Moellmann 213bac8afd (Fnext_frame): Remove unused variable(s).
(Fprevious_frame, Fmouse_pixel_position, frame_name_fnn_p): Ditto.
(store_frame_param): Add parentheses to conditional expression.
(Fmodify_frame_parameters): Remove unused variables.
(Fmodify_frame_parameters, Fset_frame_size, Fset_frame_position):
Ditto.
1999-09-14 13:09:27 +00:00
Gerd Moellmann ada0fa1430 (SXHASH_COMBINE): Add missing parentheses.
(Fchar_table_range, Fset_char_table_default, mapcar1,
Fyes_or_no_p, sweep_weak_hash_tables): Remove unused variable(s).
1999-09-14 13:09:25 +00:00
Gerd Moellmann 5ae040a667 Add prototypes for gamma_correct and
x_kill_gs_process.
(xassert) [GLYPH_DEBUG]: Change definition
to use do-while.
1999-09-14 13:09:22 +00:00
Andreas Schwab 5684cd6e1b (Fopen_network_stream): Avoid socket decriptor leak. 1999-09-14 08:33:24 +00:00
Andreas Schwab 38a734b86b Declare close_file_unwind. 1999-09-14 08:29:51 +00:00
Gerd Moellmann 74d481acba (redisplay_window): Make sure start_at_line_beg
is always set correctly.
1999-09-13 20:47:20 +00:00
Richard M. Stallman 0f25ecc6ca Support print-circle and related features.
(Vprint_gensym_alist): Removed.
(Vprint_circle, Vprint_continuous_numbering, print_number_index
Vprint_number_table): New variables.
(PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): New macros.
(PRINTPREPARE, PRINTFINISH): Don't set Vprint_gensym_alist.
(print, print_preprocess, print_preprocess_string, print_object):
New/modified functions with print-circle feature.  Use
Vprint_number_table instead of Vprint_gensym_alist for print-gensym.
(syms_of_print): Defined new Lisp variables `print-circle',
`print-continuous-numbering', `print-number-table'.
1999-09-13 19:26:18 +00:00
Dave Love 701552ddc8 (move_it_in_display_line_to): Make type consistent with declaration. 1999-09-13 19:15:41 +00:00
Dave Love 8abee2e185 Don't continue #define args for benefit of old cc.
(xt_action_hook): Indent #error for benefit of K&R cc.
1999-09-13 19:10:19 +00:00
Dave Love ea6b19cafa (x_put_x_image): Make type consistent with declaration. 1999-09-13 19:06:32 +00:00
Dave Love 526cfb19a7 (Fmake_hash_table): Fix string continuation. 1999-09-13 19:03:19 +00:00
Gerd Moellmann b86bd3dd37 (XTcursor_to): Change for Lisp_Object selected_frame.
(x_clear_frame, XTring_bell, XTmouse_position, XTread_socket): Ditto.
(XRINGBELL): Removed.
1999-09-13 11:14:29 +00:00
Gerd Moellmann 378c33ca4b (x_own_selection): Change for Lisp_Object selected_frame.
(Fx_store_cut_buffer_internal): Ditto.
(Fx_rotate_cut_buffers_internal): Ditto.
1999-09-13 11:14:26 +00:00
Gerd Moellmann b404828f5f (Fx_popup_menu): Change for Lisp_Object selected_frame.
(Fx_popup_dialog): Ditto.
1999-09-13 11:14:23 +00:00
Gerd Moellmann 0fe92f72b4 (QCfile): Moved to xdisp.c.
(syms_of_xfns): Don't initialize QCfile.
(check_x_frame): Change for Lisp_Object selected_frame.
(check_x_display_info, x_get_resource_string): Ditto.
1999-09-13 11:14:14 +00:00
Gerd Moellmann c0617987c6 (frame_or_selected_frame): Change for Lisp_Object
selected_frame.
(Finternal_set_lisp_face_attribute): Ditto.
(Finternal_get_lisp_face_attribute): Ditto.
(Finternal_lisp_face_empty_p): Ditto.
(Fdump_face): Ditto.
1999-09-13 11:14:08 +00:00
Gerd Moellmann 886bd6f211 (QCfile): Move here from xfns.c.
(syms_of_xdisp): Initialize it.
(message2_nolog): Change for Lisp_Object selected_frame.
(message3_nolog, message_with_string, message,
setup_echo_area_for_printing, truncate_echo_area,
prepare_menu_bars, redisplay_internal, Fdump_tool_bar_row): Ditto.
1999-09-13 11:13:59 +00:00
Gerd Moellmann 1ae1a37dc5 (Fminibuffer_window): Change for Lisp_Object
selected_frame.
(Fwindow_at, Fprevious_window, window_loop, select_window_1,
display_buffer_1, Fdisplay_buffer, temp_output_buffer_show,
Fcurrent_window_configuration, init_window_once): Ditto.
1999-09-13 11:13:55 +00:00
Gerd Moellmann e52f4e084a (OUTPUT): Change for Lisp_Object selected_frame.
(OUTPUT_IF, ring_bell, set_terminal_modes, reset_terminal_modes,
set_terminal_window, set_scroll_region, reassert_line_highlight,
change_line_highlight, cursor_to, raw_cursor_to, clear_to_end,
clear_end_of_line, clear_end_of_line_raw, clear_end_of_line_raw,
encode_terminal_code, write_glyphs, term_init): Ditto.
1999-09-13 11:13:53 +00:00
Gerd Moellmann 2d0641146f (reset_sys_modes): Change for Lisp_Object selected_frame.
(kbd_input_ast, read_input_waiting): Ditto.
1999-09-13 11:13:50 +00:00
Gerd Moellmann a4aafc5404 (choose_minibuf_frame): Don't try to set the
mini-buffer window's buffer, if the buffer is invalid.
(choose_minibuf_frame): Change for Lisp_Object
selected_frame.
(read_minibuf): Ditto.
1999-09-13 11:13:47 +00:00
Gerd Moellmann 37b793e65b (selected_frame): Add external declaration. 1999-09-13 11:13:45 +00:00
Gerd Moellmann 788f89eb86 (command_loop_1): Change for Lisp_Object
selected_frame.
(cmd_error_internal, command_loop_1, read_char,
kbd_buffer_get_event, read_avail_input,
read_char_minibuf_menu_prompt, read_key_sequence, Fsuspend_emacs,
interrupt_signal, quit_throw_to_read_char): Ditto.
1999-09-13 11:13:36 +00:00
Gerd Moellmann 650afd9463 (SELECTED_FRAME): New. 1999-09-13 11:13:35 +00:00
Gerd Moellmann 8d2666feec (Fmake_terminal_frame): Use SELECTED_FRAME.
(do_switch_frame): Change for Lisp_Object selected_frame.
(Fselected_frame): Ditto.
(Fframe_first_window): Use SELECTED_FRAME.
(Fframe_root_window): Change for Lisp_Object selected_frame.
(Fframe_selected_window, Fset_frame_selected_window, Fnext_frame,
Fprevious_frame, other_visible_frames, Fdelete_frame,
Fmouse_position, Fmouse_pixel_position, Fmake_frame_visible,
Fmake_frame_invisible, Ficonify_frame, Fraise_frame, Flower_frame,
Fframe_parameters, Fmodify_frame_parameters, Fframe_char_height,
Fframe_char_width, Fframe_pixel_height, Fframe_pixel_width,
Fset_frame_height, Fset_frame_width): Ditto.
1999-09-13 11:13:32 +00:00
Gerd Moellmann 18f39d0e20 (Ffont_info): Change for Lisp_Object selected_frame.
(Ffontset_info): DItto.
1999-09-13 11:13:31 +00:00
Gerd Moellmann 74c2d1c65d (handle_USR1_signal): Change for Lisp_Object selected_frame. 1999-09-13 11:13:29 +00:00
Gerd Moellmann 91fb7e1b4a (selected_frame): Make it a Lisp_Object.
(adjust_frame_glyphs_initially): Change for Lisp_Object selected_frame.
(direct_output_for_insert, direct_output_forward_char,
init_display): Ditto.
1999-09-13 11:13:24 +00:00
Gerd Moellmann 1cc04aed1e (swap_in_symval_forwarding): Change for Lisp_Object
selected_frame.
(set_internal): Ditto.
1999-09-13 11:13:22 +00:00
Gerd Moellmann 9ba9623dc3 (Fother_buffer): Change for Lisp_Object selected_frame.
(record_buffer): Ditto.
1999-09-13 11:13:16 +00:00
Ken Raeburn c1d497be70 Use XCAR and XCDR instead of explicit member access. 1999-09-13 03:35:33 +00:00
Ken Raeburn 03699b140e Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access. 1999-09-13 02:23:04 +00:00
Gerd Moellmann 926106201f (Fx_family_fonts): Replaces Fx_font_list.
(syms_of_xfaces): Defsubr accordingly.
(lface_from_face_name): Resolve face aliases.
(Qmode_line): Replaces Qmodeline.
(realize_basic_faces): Use Qmode_line.
(syms_of_xfaces): Initialize Qmode_line.
(Qframe_update_face_colors): New.
(syms_of_xfaces): Initialize call.
(update_face_from_frame_parameter): Call that function when
the frame's background changes.
1999-09-12 20:22:02 +00:00
Gerd Moellmann 92a90e893a (resize_mini_window): Add parameter exact_p. Resize
to exact size if exact_p is non-zero.
(display_echo_area_1): Call resize_mini_window with
new parameter.
(redisplay_internal): Ditto.
(resize_echo_area_axactly): New.
(hscroll_window_tree): Choose cursor row from
desired or current matrix.
(redisplay_internal): Hscroll before updating.
1999-09-12 20:21:58 +00:00
Gerd Moellmann abf4a9f7e0 (Fforward_word): Use prompt_end_charpos instead
of minibuffer_prompt_length.
1999-09-12 20:21:56 +00:00
Gerd Moellmann 1e3f16d5eb (read_minibuf_unwind): Call resize_mini_window with
new parameter.
(read_minibuf): Use prompt_end_charpos instead
of minibuffer_prompt_length.
(read_minibuf_unwind): Ditto.
(Fminibuffer_complete_and_exit): Ditto.
(Fminibuffer_complete_word): Ditto.
(Fminibuffer_prompt_end): Ditto.
(read_minibuf): Return mini-buffer contents
without the prompt.
(read_minibuf): Set minibuf_prompt_width to the
current column after inserting prompt.
(Fminibuffer_prompt_width): Return minibuf_prompt_width.
1999-09-12 20:21:55 +00:00
Gerd Moellmann 8f12e41de7 (command_loop_1): Resize mini-window to the
exact size of a message displayed, if any.
1999-09-12 20:21:53 +00:00
Gerd Moellmann 2da8bf64bd (Fbuffer_string): Use prompt_end_charpos instead
of minibuffer_prompt_length.
(Fline_beginning_position): Ditto.
(make_buffer_string_both): Take out the code
to handle mini-buffer prompts.
(Fbuffer_string): Handle the prompt here, instead.
1999-09-12 20:21:51 +00:00
Gerd Moellmann c99f608057 Change prototype of resize_mini_window.
Add prototype for resize_echo_area_axactly.
1999-09-12 20:21:50 +00:00
Gerd Moellmann 8ac211e8a5 (prompt_end_charpos): Replaces
minibuffer_prompt_length.
1999-09-12 20:21:49 +00:00
Gerd Moellmann c8bd802016 (Fget_buffer_create): Use prompt_end_charpos instead
of minibuffer_prompt_length.
(Fmake_indirect_buffer): Ditto.
(Fkill_buffer): Ditto.
(Ferase_buffer): Ditto.
1999-09-12 20:21:48 +00:00
Richard M. Stallman a1628e9150 (del_range_1): Don't treat minibuffer prompt specially. 1999-09-12 17:29:24 +00:00
Richard M. Stallman e2dae3f29f (Fline_beginning_position): Handle minibuffer prompt here. 1999-09-12 17:28:03 +00:00
Ken Raeburn 8e713be64c Use XCAR and XCDR instead of explicit member references. 1999-09-12 07:05:34 +00:00
Ken Raeburn 70949dac51 Use XCAR, XCDR, XFLOAT_DATA instead of explicit member access. 1999-09-12 05:07:01 +00:00
Richard M. Stallman 756a3cb656 (run_window_scroll_functions): If hook functions switch
buffers, switch back after.
1999-09-12 02:49:25 +00:00
Ken Raeburn 3331fb0688 Use XCAR and XCDR. 1999-09-11 20:42:47 +00:00
Ken Raeburn ee88f64dad (FOR_EACH_FRAME): Use XCAR and XCDR.
(PIXEL_X_FROM_CANON_X, PIXEL_Y_FROM_CANON_Y): Use XFLOAT_DATA.
1999-09-11 18:40:57 +00:00
Ken Raeburn e35efe896b (GET_TRANSLATION_TABLE): Use XCDR. 1999-09-11 18:35:57 +00:00
Richard M. Stallman e1f6572f2a (XTread_socket): In XSetInputFocus, use RevertToParent,
not RevertToPointerRoot.
(XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
Fix the code to clear around the scroll bar.
1999-09-11 01:15:25 +00:00
Richard M. Stallman 0aee588ddc (Fbeginning_of_line): Don't handle minibuffer prompt here. 1999-09-11 01:12:39 +00:00
Gerd Moellmann fcf431dc3f (x_build_heuristic_mask): Accept a list `(R G B)'
as background color specification instead of an integer.
(image-cache-eviction-delay): Replaces image-eviction-seconds.
(Vimage_cache_eviction_delay): Replaces Vimage_eviction_seconds.
(clear_image_cache, syms_of_xfns): Use it.
(Qpostscript): Replaces Qghostscript.
(gs_type): Use it.
(gs_image_p): Ditto.
(syms_of_xfns): Initialize Qpostscript.
1999-09-10 16:19:34 +00:00
Richard M. Stallman c280bc6a3d (Ferase_buffer): Don't erase the minibuffer prompt. 1999-09-10 06:32:34 +00:00
Gerd Moellmann 3ccff1e302 (QCindex): New.
(syms_of_xfns): Initialize QCindex.
(gif_load): Use it instead of `:image'.
1999-09-09 14:54:29 +00:00
Gerd Moellmann 38b5e49776 (Fmakehash): Accept just one optional argument TEST. 1999-09-09 14:54:28 +00:00
Richard M. Stallman 72bba429ca (Fwrite_region): Finish renaming CONFIRM to MUSTBENEW.
(Fwrite_region) [DOS_NT]: Handle `excl' here too.
1999-09-09 04:24:12 +00:00
Gerd Moellmann d3acf96b57 (Qwhen): Replaces QCwhen.
(syms_of_xdisp): Initialized it instead of QCwhen.
(handle_single_display_prop): Use it instead of QCwhen.
1999-09-08 22:12:34 +00:00
Richard M. Stallman fbd1209a4a (read_minibuf): Put all three properties on the same range--the whole prompt. 1999-09-08 21:14:25 +00:00
Kenichi Handa 63f4d57914 (CHAR_COMPONENTS_VALID_P): Fix for ASCII. 1999-09-08 11:49:34 +00:00
Kenichi Handa 0ad3f83d15 Reset MSBs of arguments of MAKE_CHAR. 1999-09-08 11:16:02 +00:00
Richard M. Stallman 0205059671 Clear up previous change. 1999-09-08 08:01:16 +00:00
Richard M. Stallman 95dccf7583 (Fbufsize): Accept an extra BUFFER parameter. 1999-09-08 07:56:20 +00:00
Richard M. Stallman e52ad9c9c7 (Fbase64_decode_region): Don't place point outside of the
current accessible portion.
1999-09-08 07:54:18 +00:00
Richard M. Stallman 61684f41fc (fix_submap_inheritance): Do nothing if the proper parent is an
ancestor of SUBMAP; otherwise, add it as the ultimate ancestor.
1999-09-08 05:14:39 +00:00
Gerd Moellmann 5a4c88c4f4 (handle_single_display_prop): Change conditional
display property to `:when FORM . VALUE'.
1999-09-07 22:31:38 +00:00
Richard M. Stallman f7b4065fc9 (Fwrite_region): Doc fix. 1999-09-07 19:40:09 +00:00
Richard M. Stallman 505ab9bc44 (Qexcl): New variable.
(report_file_error): Handle EEXIST specially.
(Fwrite_region): Special handling for CONFIRM = `excl'.
(syms_of_fileio): Initialize Qexcl.
1999-09-07 18:20:27 +00:00
Gerd Moellmann 05c8abbee2 (x_set_foreground_color): Call
update_face_from_frame_parameter.
(x_set_background_color): Ditto.
(x_set_mouse_color): Ditto.
(x_set_cursor_color): Ditto.
(x_set_border_color): Ditto.
(x_set_scroll_bar_foreground): Ditto.
(x_set_scroll_bar_background): Ditto.
1999-09-07 14:49:01 +00:00
Gerd Moellmann 8bd201d6c4 (recompute_basic_faces): Clear face cache.
(Finternal_set_lisp_face_attribute): Modify frame parameters
if attributes of certain faces are changed.
(update_face_from_frame_parameter): New.
(realize_basic_faces): Realize new basic faces.
(Qscroll_bar, Qcursor, Qborder, Qmouse): New.
(syms_of_xfaces): Intialize new symbols.
(Qfringe): Replaces Qmargin.
1999-09-07 14:48:59 +00:00
Gerd Moellmann cfa2208264 (Fset_window_margins): Make window the first argument.
(set_window_buffer): Call Fset_window_margins with window as first
argument.
1999-09-07 14:48:56 +00:00
Gerd Moellmann a46866a03a (Fmakehash): Take one argument, test, make all the
rest keyword arguments.
1999-09-07 14:48:55 +00:00
Gerd Moellmann 76a6bc491b (SCROLL_BAR_FACE_ID, BORDER_FACE_ID,
CURSOR_FACE_ID, MOUSE_FACE_ID): New.
1999-09-07 14:48:54 +00:00
Kenichi Handa 44c6492dfa Lots of comments fixed.
(SPLIT_MULTIBYTE_SEQ): Make it work also for ASCII string.
(CHAR_COMPONENTS_VALID_P): Name changed from
CHAR_COMPONENT_VALID_P.  Caller changed.
1999-09-07 12:19:26 +00:00
Kenichi Handa 9dd2aa1a51 Lots of comments fixed.
(PARSE_MULTIBYTE_SEQ): Make it work also for ASCII string.
(STRING_CHAR_AND_CHAR_LENGTH): This macro removed.
1999-09-07 12:18:57 +00:00
Richard M. Stallman 7baf49cf5e (syms_of_insdel): Define Lisp variable inhibit-modification-hooks. 1999-09-07 03:25:35 +00:00
Richard M. Stallman c4ea52a64f [macintosh] (stat, fstat, mkdir, rmdir, utime, access)
(open, creat, unlink, read, write, rename, fopen, pause, alarm)
(signal, sleep, gmtime, localtime, ctime, time, index, mktemp)
(getpwuid, getpwnam, dup, dup2, isatty, getgid, getegid, getuid)
(geteuid, getpid, getenv, uname, opendir, closedir, readdir, getwd.):
New functions, replacing POSIX features.

[macintosh] (Mac2UnixPathname, Unix2MacPathname, CheckAlarm)
(InitMyPasswd, GetTempDirName, mystrchr, mystrtok, mystrcpy):
(InitEmacsPasswdDir, run_mac_command): New subroutines.

[macintosh] (targetTicks, alarm_signal_func, myPasswdName)
(myPasswd, emacsPasswdDir, emacsPasswd, myPasswdInited, mask)
(myPasswdDir, TempDirName, sys_siglist): New variables.

[macintosh] (execvp, wait, croak, fork, kill, sigsetmask)
(sigblock, request_sigio, unrequest_sigio, setpgrp, pipe, symlink)
(link, lstat, readlink, umask, chmod, sbrk, fsync, ioctl):
Define empty stubs so Emacs will link.
1999-09-06 22:32:26 +00:00
Dave Love 6340679d44 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
* s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
1999-09-06 16:07:27 +00:00
Dave Love 96fe259801 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
* s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
1999-09-06 16:06:14 +00:00
Dave Love 0248680a42 New version incorporating Michael Sperber's changes from XEmacs.
Should solve problems on AIX 4.3.
1999-09-06 16:01:15 +00:00
Dave Love 9426b3ccc4 Remove comment on DEFVAR_BOOL. 1999-09-06 11:03:51 +00:00
Dave Love 1ffcc3b149 (Vbyte_boolean_vars): New variable.
(defvar_bool, syms_of_lread): Use it.
1999-09-06 11:02:28 +00:00
Gerd Moellmann e82d09c942 (Fx_show_tip): Improve documentation. 1999-09-05 21:22:48 +00:00
Gerd Moellmann 470049525f (Fset_window_vscroll): Make window the first argument,
amount to scroll the second.  Take non-negative vscroll as
argument.
(Fwindow_vscroll): Return non-negative vscroll.
1999-09-05 21:22:46 +00:00