bpt/emacs.git
24 years ago(compile-files, backup-compiled-files): New targets.
Gerd Moellmann [Sat, 23 Oct 1999 13:22:02 +0000 (13:22 +0000)]
(compile-files, backup-compiled-files): New targets.
(bootstrap, bootstrap-clean): Ditto.

24 years agoAdd description of changed behavior of M-w when transient-mark-mode is on.
Gerd Moellmann [Sat, 23 Oct 1999 12:58:08 +0000 (12:58 +0000)]
Add description of changed behavior of M-w when transient-mark-mode is on.

24 years ago(nnvirtual-create-mapping): Don't use mapc.
Dave Love [Sat, 23 Oct 1999 12:00:04 +0000 (12:00 +0000)]
(nnvirtual-create-mapping): Don't use mapc.

24 years ago*** empty log message ***
Paul Eggert [Sat, 23 Oct 1999 08:30:36 +0000 (08:30 +0000)]
*** empty log message ***

24 years agoDescribe new functions and variables for locales.
Paul Eggert [Sat, 23 Oct 1999 08:26:16 +0000 (08:26 +0000)]
Describe new functions and variables for locales.

24 years ago* (locale-language-names):
Paul Eggert [Fri, 22 Oct 1999 22:51:33 +0000 (22:51 +0000)]
* (locale-language-names):
Use Latin-1 (not Latin-3) for Afrikaans, Galician.
Use Latin-5 (not Cyrillic-ISO) for Byelorussian, Bulgarian,
Macedonian, Russian, Ukrainian, Serbian (Cyrillic alphabet).
Use Latin-8 for Welsh.
Use Latin-1 for English if "en" is explicitly specified.
Use Latin-1 for Scots Gaelic, Tagalog.
Use Latin-1 (not Latin-4) for Greenlandic.
Use Latin-1 (not Latin-2) for Albanian.
(locale-preferred-coding-systems, locale-language-names):
Remove generic ISO 8859 locales; locale-charset-language-names now
does this.
(locale-charset-language-names): New variable.
(set-locale-environment): Use language name specified by
locale-charset-language-names if its charsets disagree with the
language name specified by locale-language-names.

24 years ago* international/mule-cmds.c (locale-language-names):
Paul Eggert [Fri, 22 Oct 1999 22:51:11 +0000 (22:51 +0000)]
* international/mule-cmds.c (locale-language-names):
Use Latin-1 (not Latin-3) for Afrikaans, Galician.
Use Latin-5 (not Cyrillic-ISO) for Byelorussian, Bulgarian,
Macedonian, Russian, Ukrainian, Serbian (Cyrillic alphabet).
Use Latin-8 for Welsh.
Use Latin-1 for English if "en" is explicitly specified.
Use Latin-1 for Scots Gaelic, Tagalog.
Use Latin-1 (not Latin-4) for Greenlandic.
Use Latin-1 (not Latin-2) for Albanian.
(locale-preferred-coding-systems, locale-language-names):
Remove generic ISO 8859 locales; locale-charset-language-names now
does this.
(locale-charset-language-names): New variable.
(set-locale-environment): Use language name specified by
locale-charset-language-names if its charsets disagree with the
language name specified by locale-language-names.

24 years agoMinor doc fixes.
Dave Love [Fri, 22 Oct 1999 17:04:35 +0000 (17:04 +0000)]
Minor doc fixes.

24 years ago(mail-header-extract, mail-header-format): Doc fix.
Dave Love [Fri, 22 Oct 1999 16:44:37 +0000 (16:44 +0000)]
(mail-header-extract, mail-header-format): Doc fix.

24 years agoLatin-8 doc fix.
Dave Love [Fri, 22 Oct 1999 16:19:18 +0000 (16:19 +0000)]
Latin-8 doc fix.

24 years agoeval-reg removed.
Dave Love [Fri, 22 Oct 1999 14:25:22 +0000 (14:25 +0000)]
eval-reg removed.

24 years ago*** empty log message ***
Dave Love [Fri, 22 Oct 1999 12:55:03 +0000 (12:55 +0000)]
*** empty log message ***

24 years ago(main): Enable profiling conditional on __linux also.
Dave Love [Fri, 22 Oct 1999 12:52:09 +0000 (12:52 +0000)]
(main): Enable profiling conditional on __linux also.

24 years agoAvoid non-ASCII characters to prevent loadup failure.
Dave Love [Fri, 22 Oct 1999 11:53:05 +0000 (11:53 +0000)]
Avoid non-ASCII characters to prevent loadup failure.

24 years agoAdd latin-8, latin-9.
Dave Love [Thu, 21 Oct 1999 20:54:16 +0000 (20:54 +0000)]
Add latin-8, latin-9.

24 years agoInstalled changes for RMS.
Brian Youmans [Thu, 21 Oct 1999 20:00:48 +0000 (20:00 +0000)]
Installed changes for RMS.
I don't really understand why I always have to make a separate
change comment for stealing a lock, and then open the file again
and make another change comment to actually make the change.
Wouldn't one comment be enough?  - Brian

24 years agoInstalling changes for RMS - stole lock. - Brian
Brian Youmans [Thu, 21 Oct 1999 19:56:18 +0000 (19:56 +0000)]
Installing changes for RMS - stole lock. - Brian

24 years ago*** empty log message ***
Richard M. Stallman [Thu, 21 Oct 1999 18:27:29 +0000 (18:27 +0000)]
*** empty log message ***

24 years ago* disp-table.el (standard-display-european): Remove undocumented
Paul Eggert [Thu, 21 Oct 1999 06:30:07 +0000 (06:30 +0000)]
* disp-table.el (standard-display-european): Remove undocumented
arg AUTO; no longer used by startup.el.  Do not attempt to treat
all non-English language environments as coding system names.
Instead, use the downcased language environment name as a coding
system name if it is one; otherwise, use latin-1.

24 years ago*** empty log message ***
Gerd Moellmann [Wed, 20 Oct 1999 19:34:52 +0000 (19:34 +0000)]
*** empty log message ***

24 years ago(dired-move-to-filename-regexp): Fix long comment lines
Gerd Moellmann [Wed, 20 Oct 1999 13:55:59 +0000 (13:55 +0000)]
(dired-move-to-filename-regexp): Fix long comment lines
that were split so that part of the comment appeared as Lisp code.

24 years ago*** empty log message ***
Dave Love [Wed, 20 Oct 1999 10:41:43 +0000 (10:41 +0000)]
*** empty log message ***

24 years agoUpdated for ps-print.el, ps-mule.el, and ps-bdf.el.
Kenichi Handa [Wed, 20 Oct 1999 01:13:17 +0000 (01:13 +0000)]
Updated for ps-print.el, ps-mule.el, and ps-bdf.el.

24 years agoDoc fix.
Kenichi Handa [Wed, 20 Oct 1999 01:08:36 +0000 (01:08 +0000)]
Doc fix.

24 years agoDoc fix, define functions properly if mule package is
Kenichi Handa [Wed, 20 Oct 1999 01:07:33 +0000 (01:07 +0000)]
Doc fix, define functions properly if mule package is
loaded or not.
(ccl-encode-ethio-unicode, ps-mule-encode-ethiopic): Define properly if
mule package is loaded or not.

File dependence fix.
(ps-multibyte-buffer): Moved to ps-print-def.

24 years agoDoc fix, duplex and setpagedevice configuration.
Kenichi Handa [Wed, 20 Oct 1999 01:06:27 +0000 (01:06 +0000)]
Doc fix, duplex and setpagedevice configuration.
(ps-print-version): New version number (4.2).
(ps-spool-config, ps-spool-tumble): New vars.
(ps-print-prologue-1): Changed to defconst, adjust PostScript
programming, new PostScript procedure to handle errors.
(ps-print-prologue-2): Changed to defconst.
(ps-print-duplex-feature): New const: duplex and tumble setting.
(ps-setup, ps-begin-file): Fix funs.
(ps-boolean-capitalized): New fun.

Doc fix, n-up printing.
(ps-print-version): New version number (5.0).
(ps-page-dimensions-database): Added document media.
(ps-n-up-printing, ps-n-up-margin, ps-n-up-border-p, ps-n-up-filling)
(ps-page-order, ps-printing-region-p): New vars.
(ps-n-up-printing, ps-n-up-filling, ps-header-sheet, ps-end-job): New
funs.
(ps-page-dimensions-get-media, ps-n-up-landscape, ps-n-up-lines)
(ps-n-up-columns, ps-n-up-missing, ps-n-up-xcolumn, ps-n-up-ycolumn)
(ps-n-up-xline, ps-n-up-yline, ps-n-up-repeat, ps-n-up-end)
(ps-n-up-xstart, ps-n-up-ystart): New macros.
(ps-print-begin-sheet-hook): New hook.
(ps-boundingbox-re, ps-n-up-database, ps-n-up-filling-database): New
const.
(ps-setup, ps-begin-file, ps-get-buffer-name, ps-begin-job)
(ps-end-file, ps-dummy-page, ps-generate): Fix funs.
(ps-print-prologue-1): Adjust PostScript programming for n-up printing.
(ps-count-lines): Changed to defun.
(ps-header-page): Changed to defsubst, fix fun.
(ps-printing-region): Doc fix, adjust programming code.
(ps-output-boolean, ps-background-pages, ps-background-text)
(ps-background-image, ps-background, ps-get-boundingbox): Adjust
programming code.

Doc fix, better customization.
(ps-print-region-function, ps-number-of-columns, ps-spool-tumble)
(ps-print-color-p, ps-printing-region-p, ps-n-up-database)
(ps-end-file): Doc fix.
(ps-setup, ps-begin-file): Fun fix.
(postscript): New group.
(ps-zebra-gray, ps-banner-page-when-duplexing): New vars.
(ps-print-prologue-1): Adjust PostScript programming.
(ps-print): Adjust group hierarchy.
(ps-print-n-up, ps-print-zebra, ps-print-background,
ps-print-printer)
(ps-print-page): New subgroups.
(ps-print-prologue-header, ps-printer-name, ps-lpr-command)
(ps-lpr-switches, ps-page-dimensions-database, ps-paper-type)
(ps-landscape-mode, ps-print-control-characters, ps-n-up-printing)
(ps-n-up-margin, ps-n-up-border-p, ps-n-up-filling, ps-zebra-stripes)
(ps-zebra-stripe-height, ps-print-background-image)
(ps-print-background-text, ps-spool-config): Adjust customization.
(dos-ps-printer): Definition eliminated.

24 years agoNew file: common definitions for all parts of ps-print.
Kenichi Handa [Wed, 20 Oct 1999 01:03:31 +0000 (01:03 +0000)]
New file: common definitions for all parts of ps-print.
(ps-multibyte-buffer): Moved from ps-mule.

24 years ago(dontcompilefiles): Obsoleted.
Stefan Monnier [Wed, 20 Oct 1999 00:37:35 +0000 (00:37 +0000)]
(dontcompilefiles): Obsoleted.
(DONTCOMPILE): Added emacs-lisp/cl-specs.el.
(EL): Unused.
(temacs): Removed (unused).
(cus-load.el, finder-inf.el, loaddefs.el): New targets to build a dummy
  version of the file (necessary for the update to work properly).
(autoloads): Force the use of `pwd`/loaddefs.el.
(updates); Redefined in terms of other targets to reduce redundancy.
(.el.elc): New default rule, just in case you want it.
(compile): Use a single invocation of Emacs.
(bootstrap-compile); Unneeded.
(autoloads-with-other-emacs): Unneeded now that autoloads is fixed.

24 years ago*** empty log message ***
Gerd Moellmann [Tue, 19 Oct 1999 19:57:29 +0000 (19:57 +0000)]
*** empty log message ***

24 years ago(HAVE_GETLOADAVG): Define as 1 because config.h defines it that way.
Gerd Moellmann [Tue, 19 Oct 1999 19:52:13 +0000 (19:52 +0000)]
(HAVE_GETLOADAVG): Define as 1 because config.h defines it that way.

24 years ago*** empty log message ***
Dave Love [Tue, 19 Oct 1999 18:36:10 +0000 (18:36 +0000)]
*** empty log message ***

24 years agoMerge changes from version `1.3s' which we weren't sent.
Dave Love [Tue, 19 Oct 1999 18:27:39 +0000 (18:27 +0000)]
Merge changes from version `1.3s' which we weren't sent.

24 years ago*** empty log message ***
Stefan Monnier [Tue, 19 Oct 1999 18:08:23 +0000 (18:08 +0000)]
*** empty log message ***

24 years agoList additional modes.
Dave Love [Tue, 19 Oct 1999 17:58:40 +0000 (17:58 +0000)]
List additional modes.
Fortran additions.

24 years agoMention vc-ignore-vc-files.
Dave Love [Tue, 19 Oct 1999 17:56:01 +0000 (17:56 +0000)]
Mention vc-ignore-vc-files.
Doc ange-ftp port number.
Modify file-name-handler-alist text.

24 years ago(echo_area_display) [HAVE_X_WINDOWS]: Do nothing
Gerd Moellmann [Tue, 19 Oct 1999 16:45:45 +0000 (16:45 +0000)]
(echo_area_display) [HAVE_X_WINDOWS]: Do nothing
if selected_frame is equal to Vterminal_frame.

24 years ago*** empty log message ***
Dave Love [Tue, 19 Oct 1999 13:48:30 +0000 (13:48 +0000)]
*** empty log message ***

24 years agoRemoved -- not now needed by edebug.
Dave Love [Tue, 19 Oct 1999 13:42:46 +0000 (13:42 +0000)]
Removed -- not now needed by edebug.

24 years ago(map-y-or-n-p): Remove extraneous `not'.
Gerd Moellmann [Tue, 19 Oct 1999 13:40:45 +0000 (13:40 +0000)]
(map-y-or-n-p): Remove extraneous `not'.

24 years ago(auto-revert-mode): Make auto-revert-mode permanent-local.
Gerd Moellmann [Tue, 19 Oct 1999 13:29:18 +0000 (13:29 +0000)]
(auto-revert-mode): Make auto-revert-mode permanent-local.

24 years agoNote about custom comments.
Dave Love [Tue, 19 Oct 1999 12:49:42 +0000 (12:49 +0000)]
Note about custom comments.

24 years ago*** empty log message ***
Gerd Moellmann [Tue, 19 Oct 1999 11:54:53 +0000 (11:54 +0000)]
*** empty log message ***

24 years ago(ps-mode-print-function): Fix default
Gerd Moellmann [Tue, 19 Oct 1999 11:47:44 +0000 (11:47 +0000)]
(ps-mode-print-function): Fix default
value: \"lpr\" changed to "lpr"
(ps-mode-version): New constant
(ps-mode-show-version): New function, added key in ps-mode-map
(ps-run-messages): Removed
(ps-run-font-lock-keywords-2): New defcustom variable replacing
ps-run-messages. These keywords now include the value of
ps-run-prompt, making its fontification customizable.
(ps-run-init): Removed \\n from docstring, it is now added when
the value is used
(ps-run-font-lock-keywords-1): Added checking for initial ^ in
ps-run-prompt
(ps-mode): Added ps-run-font-lock-keywords-2 to list of
customizable variables in doc-string (it's equivalent
ps-run-messages was missing in previous version of the doc-string)
(ps-run-mode): Simplified assignment to font-lock-defaults, using
symbols only

24 years agoComplete rewrite.
Gerd Moellmann [Tue, 19 Oct 1999 11:17:23 +0000 (11:17 +0000)]
Complete rewrite.

24 years ago*** empty log message ***
Gerd Moellmann [Tue, 19 Oct 1999 11:16:48 +0000 (11:16 +0000)]
*** empty log message ***

24 years agos/usg5-4.h:
Paul Eggert [Tue, 19 Oct 1999 07:28:36 +0000 (07:28 +0000)]
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.

24 years ago* m/alpha.h: Do not include <stdlib.h>, as <config.h> does this now.
Paul Eggert [Tue, 19 Oct 1999 07:27:16 +0000 (07:27 +0000)]
* 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.

24 years agoAdd support for large files, 64-bit Solaris, system locale codings.
Paul Eggert [Tue, 19 Oct 1999 07:25:11 +0000 (07:25 +0000)]
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.

24 years agoAdd support for large files, plus some locale improvements.
Paul Eggert [Tue, 19 Oct 1999 07:21:16 +0000 (07:21 +0000)]
Add support for large files, plus some locale improvements.

* dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c,
xrdb-cpp.c, xrdb.c:
Include <config.h> before any system include files.

* lwlib-Xm.c, lwlib.c:
Do not include <stdlib.h> or <string.h>, as <config.h> does this.

24 years ago* language/japan-util.el (setup-japanese-environment-internal):
Paul Eggert [Tue, 19 Oct 1999 07:20:29 +0000 (07:20 +0000)]
* language/japan-util.el (setup-japanese-environment-internal):
Prefer japanese-iso-8bit if the system-type is usg-unix-v.

24 years ago* international/mule-cmds.el (global-map):
Paul Eggert [Tue, 19 Oct 1999 07:20:09 +0000 (07:20 +0000)]
* international/mule-cmds.el (global-map):
Do not use backquote, because that makes a bootstrapping
problem if you need to recompile all Lisp files using interpreted code.
* international/mule.el (charset-id, charset-bytes,
charset-dimension, charset-chars, charset-width,
charset-direction, charset-iso-final-char,
charset-iso-graphic-plane, charset-reverse-charset,
charset-short-name, charset-long-name, charset-description,
charset-plist): Likewise.

* international/mule-cmds.el
(set-display-table-and-terminal-coding-system): New function,
containing code migrated out of set-language-environment.
(set-language-environment, set-locale-environment): Use it.
(locale-translation-file-name): Moved here from startup.el.
(locale-language-names, locale-preferred-coding-systems):
New vars.
(locale-name-match, set-locale-environment): New functions.

24 years agoFix bootstrapping problems.
Paul Eggert [Tue, 19 Oct 1999 07:18:58 +0000 (07:18 +0000)]
Fix bootstrapping problems.
Use the system locale to specify Emacs locale defaults.

* international/mule-cmds.el (global-map):
Do not use backquote, because that makes a bootstrapping
problem if you need to recompile all Lisp files using interpreted code.
* international/mule.el (charset-id, charset-bytes,
charset-dimension, charset-chars, charset-width,
charset-direction, charset-iso-final-char,
charset-iso-graphic-plane, charset-reverse-charset,
charset-short-name, charset-long-name, charset-description,
charset-plist): Likewise.
* subr.el (save-match-data): Likewise.

* international/mule-cmds.el
(set-display-table-and-terminal-coding-system): New function,
containing code migrated out of set-language-environment.
(set-language-environment, set-locale-environment): Use it.
(locale-translation-file-name): Moved here from startup.el.
(locale-language-names, locale-preferred-coding-systems):
New vars.
(locale-name-match, set-locale-environment): New functions.

* language/japan-util.el (setup-japanese-environment-internal):
Prefer japanese-iso-8bit if the system-type is usg-unix-v.

* startup.el (iso-8859-n-locale-regexp): Remove.
(locale-translation-file-name): Move to mule-cmds.el.
(command-line): Move locale-stuff into set-locale-environment.

24 years agoAdd support for large files. Merge glibc 2.1.2.
Paul Eggert [Tue, 19 Oct 1999 07:17:20 +0000 (07:17 +0000)]
Add support for large files.  Merge glibc 2.1.2.

* b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
movemail.c, pop.c:
Do not include <stdlib.h>, as <config.h> does this now.

* b2m.c, emacsserver.c, etags.c, profile.c:
Include <config.h> before any system include files.

* emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
test-distrib.c:
(read, write, open, close): Do not undef.

* getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
(const): Do not define if HAVE_CONFIG_H; that's config.h's job.

* getopt.h: Adopt glibc 2.1.2.

24 years ago*** empty log message ***
Paul Eggert [Tue, 19 Oct 1999 07:16:11 +0000 (07:16 +0000)]
*** empty log message ***

24 years agoAdd support for large files. Merge glibc 2.1.2.
Paul Eggert [Tue, 19 Oct 1999 07:15:24 +0000 (07:15 +0000)]
Add support for large files.  Merge glibc 2.1.2.

* configure.in (AC_CHECK_HEADERS): Add stdio_ext.h.
(HAVE_TM_GMTOFF): New symbol.
(AC_CHECK_FUNCS): Add __fpending, ftello, getloadavg, mblen,
mbrlen, strsignal.
(LOCALTIME_CACHE): Don't include stdlib.h, as config.h does this now.

24 years ago*** empty log message ***
Dave Love [Mon, 18 Oct 1999 21:36:39 +0000 (21:36 +0000)]
*** empty log message ***

24 years ago(add-abbrev, inverse-add-abbrev, expand-region-abbrevs): Remove
Dave Love [Mon, 18 Oct 1999 21:28:04 +0000 (21:28 +0000)]
(add-abbrev, inverse-add-abbrev, expand-region-abbrevs): Remove
properties from buffer text.

24 years ago(picture-killed-rectangle): Use defvar, not defconst.
Dave Love [Mon, 18 Oct 1999 21:20:22 +0000 (21:20 +0000)]
(picture-killed-rectangle): Use defvar, not defconst.

24 years ago(Fdocumentation_property): Remove register declaration for `tem'.
Dave Love [Mon, 18 Oct 1999 18:15:25 +0000 (18:15 +0000)]
(Fdocumentation_property): Remove register declaration for `tem'.

24 years ago(Fdocumentation_property): Gcpro `tem'.
Dave Love [Mon, 18 Oct 1999 14:00:19 +0000 (14:00 +0000)]
(Fdocumentation_property): Gcpro `tem'.

24 years agoDelete vacant line before Tibetan.
Kenichi Handa [Mon, 18 Oct 1999 02:30:08 +0000 (02:30 +0000)]
Delete vacant line before Tibetan.

24 years ago(Fload): Calculate bytes of filename correctly.
Kenichi Handa [Mon, 18 Oct 1999 02:12:21 +0000 (02:12 +0000)]
(Fload): Calculate bytes of filename correctly.
(openp): Likewise.

24 years ago*** empty log message ***
Kenichi Handa [Mon, 18 Oct 1999 02:09:19 +0000 (02:09 +0000)]
*** empty log message ***

24 years ago(print_preprocess): In case print-circle is nil,
Kenichi Handa [Mon, 18 Oct 1999 02:01:56 +0000 (02:01 +0000)]
(print_preprocess): In case print-circle is nil,
add OBJ to Vprint_number_table only when OBJ is a symbol.

24 years ago(code_convert_string): Add record_unwind_protect to
Kenichi Handa [Mon, 18 Oct 1999 01:36:35 +0000 (01:36 +0000)]
(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.

24 years ago(iswitchb-exhibit): Extract user-input only
Gerd Moellmann [Sun, 17 Oct 1999 16:48:22 +0000 (16:48 +0000)]
(iswitchb-exhibit): Extract user-input only
from the mini-buffer, without the prompt.

24 years ago*** empty log message ***
Gerd Moellmann [Sun, 17 Oct 1999 16:38:11 +0000 (16:38 +0000)]
*** empty log message ***

24 years ago(minibuffer-prompt-end): Return the position
Gerd Moellmann [Sun, 17 Oct 1999 16:30:39 +0000 (16:30 +0000)]
(minibuffer-prompt-end): Return the position
after the prompt, not the position of that last character
of the prompt.

24 years agoAdd Miles Bader's description of fields.
Gerd Moellmann [Sun, 17 Oct 1999 12:58:58 +0000 (12:58 +0000)]
Add Miles Bader's description of fields.

24 years ago*** empty log message ***
Gerd Moellmann [Sun, 17 Oct 1999 12:57:38 +0000 (12:57 +0000)]
*** empty log message ***

24 years ago(Fforward_word): Supply new ESCAPE_FROM_EDGE parameter
Gerd Moellmann [Sun, 17 Oct 1999 12:56:25 +0000 (12:56 +0000)]
(Fforward_word): Supply new ESCAPE_FROM_EDGE parameter
to Fconstrain_to_field.
(Fforward_word): Likewise.
Constrain to any field.

24 years ago(Fminibuffer_complete_and_exit): Supply value for new
Gerd Moellmann [Sun, 17 Oct 1999 12:55:49 +0000 (12:55 +0000)]
(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.

24 years ago(Fconstrain_to_field): Make sure we don't violate the
Gerd Moellmann [Sun, 17 Oct 1999 12:55:00 +0000 (12:55 +0000)]
(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.

24 years ago(struct buffer): Remove prompt_end_charpos field.
Gerd Moellmann [Sun, 17 Oct 1999 12:53:48 +0000 (12:53 +0000)]
(struct buffer): Remove prompt_end_charpos field.

24 years ago(Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer):
Gerd Moellmann [Sun, 17 Oct 1999 12:53:14 +0000 (12:53 +0000)]
(Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer):
Don't initialize prompt_end_charpos field.

24 years ago(forward-sentence, forward-paragraph):
Gerd Moellmann [Sun, 17 Oct 1999 12:51:19 +0000 (12:51 +0000)]
(forward-sentence, forward-paragraph):
When constraining the final position to the current field,
don't use the ONLY-IN-LINE mode of constrain-to-field.
(forward-sentence): Likewise.
(forward-paragraph, forward-sentence): Likewise.
(backward-kill-paragraph, backward-kill-sentence): Remove code to
constrain the kill to an field, as the movement commands now
do this.
(backward-kill-sentence):
Remove minibuffer-prompt hack.
Constrain to any input field.

24 years agoDoc fixes.
Gerd Moellmann [Sun, 17 Oct 1999 12:50:04 +0000 (12:50 +0000)]
Doc fixes.
(previous-matching-history-element, next-history-element):
Change to work correctly even if the point is in the prompt.
(choose-completion-string): Likewise.
(minibuffer-prompt-width): New function (compatibility with old subr).
(line-move): Supply new ESCAPE-FROM-EDGE argument to
constrain-to-field.
(line-move): Use constrain-to-field to avoid
moving into a prompt.
(previous-complete-history-element): Clarify doc string.
(next-complete-history-element): Likewise.
Use field-beginning instead of point-min.
(next-matching-history-element): Use field-beginning and
erase-field instead of point-min and erase-buffer.
(previous-matching-history-element): Get the
minibuffer input with field-string instead of buffer-string.
(choose-completion-string): Likewise.
(next-history-element): Likewise.
Erase the minibuffer input with erase-field, not erase-buffer.
Use field-beginning to find the beginning of the input.

24 years ago(completion-ignored-extensions): Added ".sparcf"
Gerd Moellmann [Sun, 17 Oct 1999 10:48:08 +0000 (10:48 +0000)]
(completion-ignored-extensions): Added ".sparcf"
for CMUCL on sparc and ".ufsl" for LispWorks.
(bound-and-true-p): Bugfix: free variable `v'.

24 years ago#
Dave Love [Sun, 17 Oct 1999 09:55:57 +0000 (09:55 +0000)]
#

24 years ago(edebug-install-read-eval-functions)
Dave Love [Sat, 16 Oct 1999 21:30:20 +0000 (21:30 +0000)]
(edebug-install-read-eval-functions)
(edebug-uninstall-read-eval-functions): Use load-read-function,
avoiding elisp-eval.

24 years ago*** empty log message ***
Gerd Moellmann [Sat, 16 Oct 1999 12:03:09 +0000 (12:03 +0000)]
*** empty log message ***

24 years ago(common-lisp-indent-function): Use `eq' instead of `eql'.
Gerd Moellmann [Sat, 16 Oct 1999 12:00:02 +0000 (12:00 +0000)]
(common-lisp-indent-function): Use `eq' instead of `eql'.

24 years ago(enum save_restore_action): New.
Gerd Moellmann [Sat, 16 Oct 1999 11:24:23 +0000 (11:24 +0000)]
(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.

24 years ago(bat-generic-mode-keymap): Added thio variable
Peter Breton [Sat, 16 Oct 1999 04:11:07 +0000 (04:11 +0000)]
(bat-generic-mode-keymap): Added thio variable
(bat-generic-mode-compile): Added this function
(bat-generic-mode-run-as-comint): Added this function

24 years agoAdded new InstallShield keywords.
Peter Breton [Sat, 16 Oct 1999 03:59:43 +0000 (03:59 +0000)]
Added new InstallShield keywords.
Change font-lock-reference-face to font-lock-constant-face throughout.

(resolve-conf-generic-mode): Added this mode.
(named-database-generic-mode): Added this mode.
(named-boot-generic-mode): Added this mode.
(apache-conf-generic-mode): Added Directories and Locations to imenu-generic-expression.
(generic-define-mswindows-modes): Added apache-conf-generic-mode and apache-log-generic-mode.
(generic-define-unix-modes): Added apache-conf-generic-mode and apache-log-generic-mode.
(apache-conf-generic-mode): This new mode replaces apache-generic-mode.
(apache-log-generic-mode): Added this generic-mode

24 years ago(locate-in-alternate-database): Added this function
Peter Breton [Sat, 16 Oct 1999 03:47:06 +0000 (03:47 +0000)]
(locate-in-alternate-database): Added this function
(locate): Added locate-post-command-hook.
(locate-prompt-for-command): Added this variable.
(locate): If locate-prompt-for-command is set, prompt for a command
  to run to populate the locate buffer as the default behavior.
(locate-update): Add prefix arg to locate call.
(locate-with-filter): Add prefix arg to locate call.
(locate): Add prefix arg. If set, the function prompts the user
(locate-mouse-face): No longer needed.
(locate-mode): Setup `dired-subdir-alist' cleanly using `dired-alist-add-1'.
(locate-set-properties): Set properties cleanly using
`dired-insert-set-properties', giving dired like output.
  for a command to run instead of the default one.
(locate-grep-history-list): Added this variable.
(locate-with-filter): Use locate-grep-history-list instead of grep-history.
(locate-filter-output): filter is not regexp-quoted.
(locate-mode-map): Added keybinding for locate-find-directory.
  Changed keybinding for "U" from dired-unmark-all-files-no-query
  to dired-unmark-all-files.
(locate-find-directory): Added this function.
(locate-find-directory-other-window): Added this function.
(locate-get-dirname): Added this function.
(locate-mouse-view-file): Renamed mouse-locate-view-file to this name.

24 years ago(find-dired-find-program): Added this variable.
Peter Breton [Sat, 16 Oct 1999 03:20:11 +0000 (03:20 +0000)]
(find-dired-find-program): Added this variable.
(find-dired): Use find-dired-find-program instead of "find".

24 years ago(whois-server-name): Changed to rs.internic.net
Peter Breton [Sat, 16 Oct 1999 03:15:58 +0000 (03:15 +0000)]
(whois-server-name): Changed to rs.internic.net
(nslookup-mode): Now implemented as a derived mode.
(ftp-mode): Now implemented as a derived mode.
(dig): Added this function.
(dig-program): Added this variable.

24 years agoHeader comments changed.
Dave Love [Fri, 15 Oct 1999 16:53:35 +0000 (16:53 +0000)]
Header comments changed.

24 years agoUse make-temp-file.
Stefan Monnier [Fri, 15 Oct 1999 16:03:59 +0000 (16:03 +0000)]
Use make-temp-file.

24 years ago(pop.o): Depend on config.h.
Dave Love [Fri, 15 Oct 1999 15:48:53 +0000 (15:48 +0000)]
(pop.o): Depend on config.h.

24 years ago(set_frame_menubar): Don't call
Gerd Moellmann [Fri, 15 Oct 1999 15:15:43 +0000 (15:15 +0000)]
(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.

24 years ago*** empty log message ***
Gerd Moellmann [Fri, 15 Oct 1999 15:15:07 +0000 (15:15 +0000)]
*** empty log message ***

24 years agoSome typos fixed.
Gerd Moellmann [Fri, 15 Oct 1999 00:09:05 +0000 (00:09 +0000)]
Some typos fixed.

24 years ago(gif_load): Fix handling of interlaced GIFs.
Gerd Moellmann [Thu, 14 Oct 1999 23:19:50 +0000 (23:19 +0000)]
(gif_load): Fix handling of interlaced GIFs.

24 years agoAdd David Ponce for recentf.el.
Gerd Moellmann [Thu, 14 Oct 1999 22:30:15 +0000 (22:30 +0000)]
Add David Ponce for recentf.el.

24 years agoAdd description of recentf.
Gerd Moellmann [Thu, 14 Oct 1999 22:26:57 +0000 (22:26 +0000)]
Add description of recentf.

24 years ago(smtpmail-via-smtp): Add support for
Gerd Moellmann [Thu, 14 Oct 1999 22:09:58 +0000 (22:09 +0000)]
(smtpmail-via-smtp): Add support for
automatically appending a domain to RCPT TO: addresses.

24 years ago(dired-insert-directory): Insert the amount of
Gerd Moellmann [Thu, 14 Oct 1999 21:53:37 +0000 (21:53 +0000)]
(dired-insert-directory): Insert the amount of
free space after the total size.
(dired-free-space-program, dired-free-space-args): New variables.

24 years ago*** empty log message ***
Dave Love [Thu, 14 Oct 1999 21:29:47 +0000 (21:29 +0000)]
*** empty log message ***