Paul Eggert
1a95276708
* xdisp.c (produce_special_glyphs): Now static.
...
* dispextern.h (produce_special_glyphs): Remove decl.
2012-07-12 20:50:58 -07:00
Glenn Morris
32fb4bb69b
Remove some src/s files that are now empty
...
* configure.ac (opsysfile): Set to empty on gnu, cygwin.
* src/s/bsd-common, src/s/cygwin.h: Remove empty files.
* src/s/freebsd.h, src/s/netbsd.h: Do not include bsd-common.h.
2012-07-12 19:38:30 -07:00
Glenn Morris
983188fd54
Move "system type" macros from src/s to configure
...
* configure.ac (BSD4_2, BSD_SYSTEM, USG, USG5, _AIX, CYGWIN)
(DARWIN_OS, GNU_LINUX, HPUX, IRIX6_5, SOLARIS2):
Move "system type" macros here from src/s.
(BSD_SYSTEM_AHB): New hack macro.
(AH_BOTTOM): Set BSD_SYSTEM, using BSD_SYSTEM_AHB.
* src/s/usg5-4-common.h (USG, USG5):
* src/s/template.h (USG5, USG, HPUX, BSD4_2, BSD_SYSTEM):
* src/s/sol2-6.h (SOLARIS2):
* src/s/irix6-5.h (IRIX6_5):
* src/s/hpux10-20.h (USG, USG5, HPUX):
* src/s/gnu-linux.h (USG, GNU_LINUX):
* src/s/freebsd.h (BSD_SYSTEM):
* src/s/darwin.h (BSD4_2, BSD_SYSTEM, DARWIN_OS):
* src/s/cygwin.h (CYGWIN):
* src/s/bsd-common.h (BSD_SYSTEM, BSD4_2):
* src/s/aix4-2.h (USG, USG5, _AIX): Move "system type" macros to configure.
2012-07-12 19:34:05 -07:00
Glenn Morris
d1e6866717
ChangeLog fix
2012-07-12 19:23:57 -07:00
Paul Eggert
24ef80aebf
* nsfont.m (ns_charset_covers): Don't abort if no bitmap.
...
Fixes: debbugs:11853
2012-07-12 18:37:11 -07:00
Glenn Morris
739ae01050
Move NSIG_MINIMUM from src/s to configure
...
* configure.ac (NSIG_MINIMUM): Move here from src/s.
* src/s/usg5-4-common.h (NSIG_MINIMUM): Let configure set it.
2012-07-12 21:19:06 -04:00
Glenn Morris
dbee57935d
Move ULIMIT_BREAK_VALUE from src/s to configure
...
* configure.ac (ULIMIT_BREAK_VALUE): Move here from src/s.
* src/s/gnu-linux.h, src/s/irix6-5.h: Let configure set ULIMIT_BREAK_VALUE.
2012-07-12 20:19:10 -04:00
Glenn Morris
6de0e79903
Remove macro MIN_PTY_KERNEL_VERSION, only used in one place
...
* src/process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION.
* src/s/darwin.h (MIN_PTY_KERNEL_VERSION): Remove single-use macro.
2012-07-12 20:07:29 -04:00
Glenn Morris
4fae5a7a91
Move darwin.h's SYSTEM_PURESIZE_EXTRA setting to configure
...
* configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA
setting here from src/s/darwin.h.
* src/s/darwin.h (SYSTEM_PURESIZE_EXTRA): Move to configure.
2012-07-12 20:00:23 -04:00
Glenn Morris
b82da769e5
Rename init_process rather than working around it on Darwin
...
The old name is also the name of a Mach system call.
* src/process.c (init_process_emacs): Rename from init_process.
* src/lisp.h, src/emacs.c: Update for this name change.
* src/nsgui.h, src/sysselect.h, src/s/darwin.h:
Remove workaround that is no longer needed.
2012-07-12 19:56:39 -04:00
Glenn Morris
ba9e4b84ac
Move NO_EDITRES from src/s to configure
...
* configure.ac (NO_EDITRES): Move here from src/s.
* src/s/aix4-2.h, src/s/hpux10-20.h: Let configure set NO_EDITRES.
2012-07-12 17:14:13 -04:00
Glenn Morris
a7208036ed
Do not unconditionally define HAVE_XRMSETDATABASE on some systems
...
* src/s/gnu-linux.h, src/s/hpux10-20.h:
Do not unconditionally define HAVE_XRMSETDATABASE.
Maybe there was a time when this made sense, but in the current tree
it is totally illogical. This is only used in xterm.c. If it is set
we call XrmSetDatabase, if not we do something else. Configure tests
for XrmSetDatabase and sets HAVE_XRMSETDATABASE accordingly. The only
possibility that is not totally nonsensical is that the system does in
fact have XrmSetDatabase but configure failed to find it (I don't see
how this could happen though...); in which case we should fix the
configure test rather than force the results. But this is not what
the (vague) comments say was happending.
The gnu-linux piece dates from 1995, the hpux one from 2000.
https://groups.google.com/forum/?fromgroups#!topic/gnu.emacs.bug/H24wEM8Vp9A
From: rainer@displaytech.com (Rainer Malzbender)
Subject: Compiling emacs 20.4 on HP-UX 10.20 with gcc
Date: 2000/02/01
Newsgroups: gnu.emacs.bug
2012-07-12 16:53:41 -04:00
Eli Zaretskii
5a97981785
Improve fix for bug #11832 with truncated/continued lines w/o margins.
...
src/xdisp.c (insert_left_trunc_glyphs): Fix incorrect size in
memmove call that removes glyphs covered by the left truncation
glyph. Improve commentary.
(display_line): Fix display of continuation glyphs on GUI frames
when the right fringe is turned off and variable-size fonts are
used in the window. Move the code that appends a stretch glyph to
produce_special_glyphs, so that it could be used for truncation
and continuation glyphs alike.
(produce_special_glyphs) [HAVE_WINDOW_SYSTEM]: Produce a stretch
glyph of a suitably computed width, to align the special glyphs at
the window margin. Code moved from display_line.
2012-07-12 22:55:01 +03:00
Glenn Morris
3e91a053d9
Move UNIX98_PTYS from src/s to configure
...
* configure.ac (UNIX98_PTYS): Move here from src/s.
* src/s/gnu-linux.h (UNIX98_PTYS): Let configure set it.
2012-07-12 15:48:21 -04:00
Paul Eggert
b300b1f424
Fix typos that broke OS X build.
...
Reported by Randal L. Schwartz in
<http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00225.html >.
* nsterm.m (ns_timeout): Add missing local decl.
(ns_get_color): snprintf -> sprintf, to fix typo.
2012-07-12 09:58:37 -07:00
Paul Eggert
debd9b27a2
* movemail.c: Add missing 'defined'.
...
Suggested by Sven Joachim in
<http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html >.
2012-07-12 08:20:39 -07:00
Eli Zaretskii
56bc1586ea
Fix byte-recompile-directory.
...
lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
not incf.
2012-07-12 14:33:55 +03:00
Glenn Morris
222fbb8bc9
Auto-commit of loaddefs files.
2012-07-12 06:20:34 -04:00
Glenn Morris
dd0d840e4e
Auto-commit of generated files.
2012-07-12 06:17:28 -04:00
Glenn Morris
3f922c3769
Move PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF from src/s to configure
...
* configure.ac (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Move here from src/s.
* src/s/aix4-2.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/irix6-5.h:
* src/s/sol2-6.h, src/s/unixware.h, src/s/usg5-4-common.h:
Move PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF to configure.
2012-07-12 00:43:05 -07:00
Glenn Morris
0ab7b23ae0
Move PTY_OPEN from src/s to configure
...
* configure.ac (PTY_OPEN) Move here from src/s.
* src/s/cygwin.h, src/s/darwin.h, src/s/gnu-linux.h, src/s/irix6-5.h:
Move PTY_OPEN to configure.
2012-07-12 00:10:44 -07:00
Glenn Morris
6e7778482f
Move FIRST_PTY_LETTER, PTY_ITERATION from src/s to configure
...
* configure.ac (FIRST_PTY_LETTER PTY_ITERATION): Move here from src/s.
* src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/irix6-5.h, src/s/template.h:
* src/s/usg5-4-common.h: Move FIRST_PTY_LETTER, PTY_ITERATION to configure.
2012-07-11 23:34:40 -07:00
Dmitry Antipov
4a7edc24ba
Use empty_unibyte_string where applicable.
...
* keyboard.c (parse_tool_bar_item): Use empty_unibyte_string.
* lread.c (read1): Likewise.
* xsettings.c (syms_of_xsettings): Likewise.
2012-07-12 07:45:46 +04:00
Glenn Morris
42bd17194c
Move more things from src/s to configure
...
* configure.ac (BROKEN_GET_CURRENT_DIR_NAME, BROKEN_PTY_READ_AFTER_EAGAIN)
(G_SLICE_ALWAYS_MALLOC): Move here from src/s.
* src/s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN):
* src/s/cygwin.h (G_SLICE_ALWAYS_MALLOC):
* src/s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Let configure set them.
2012-07-11 22:14:29 -04:00
Glenn Morris
7ccad0028b
Move more stuff from src/s to configure
...
* configure.ac (PREFER_VSUSP, RUN_TIME_REMAP, SETPGRP_RELEASES_CTTY)
(TAB3, TABDLY, RUN_TIME_REMAP, XOS_NEEDS_TIME_H): Move here from src/s.
* src/s/bsd-common.h, src/s/darwin.h: Move TAB3 to configure.
* src/s/hpux10-20.h, src/s/sol2-6.h: Move XOS_NEEDS_TIME_H to configure.
* src/s/irix6-5.h (SETPGRP_RELEASES_CTTY, PREFER_VSUSP):
* src/s/hpux10-20.h (RUN_TIME_REMAP):
* src/s/bsd-common.h (TABDLY): Move to configure.
2012-07-11 21:49:28 -04:00
Glenn Morris
ea0bbd1767
Move some AIX defines from src/s to configure
...
* configure.ac (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPOLL)
(BROKEN_SIGPTY): Move here from src/s.
* src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY)
(BROKEN_SIGPOLL): Let configure set them.
* src/s/syssignal.h: Comment fix.
2012-07-11 21:18:45 -04:00
Glenn Morris
c5564388a3
Move NO_ABORT from src/s to configure
...
* configure.ac (NO_ABORT): Move here from src/s.
* src/s/darwin.h (NO_ABORT): Let configure set it.
2012-07-11 21:14:56 -04:00
Glenn Morris
51c3b9b4b8
Move setting of NO_MATHERR for Darwin from src/s to configure
...
* configure.ac (NO_MATHERR): Unconditionally define for Darwin;
as src/s/darwin.h used to.
* src/s/darwin.h (NO_MATHERR): Let configure set it.
2012-07-11 21:11:37 -04:00
Glenn Morris
308aab7949
Move NARROWPROTO from src/s to configure
...
* configure.ac (NARROWPROTO): Move here from src/s.
* src/s/bsd-common.h, src/s/cygwin.h, src/s/gnu-linux.h, src/s/irix6-5.h:
* src/s/template.h: Move NARROWPROTO to configure.
2012-07-11 20:49:24 -04:00
Glenn Morris
30fe9bf459
Remove unneeded #define POSIX
...
* src/s/gnu-linux.h, src/s/sol2-6.h: No longer define POSIX,
unused since 2011-01-17 change to systty.h.
* admin/CPP-DEFINES: Related edit.
2012-07-11 19:44:03 -04:00
Glenn Morris
ee1cf5cfae
All platforms using configure support HAVE_PTYS and HAVE_SOCKETS
...
* configure.ac (HAVE_PTYS, HAVE_SOCKETS): Define unconditionally.
* src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/template.h:
* src/s/usg5-4-common.h: Move HAVE_PTYS and HAVE_SOCKETS to configure.
2012-07-11 19:40:59 -04:00
Stefan Monnier
a464a6c73a
More CL cleanups and reduction of use of cl.el.
...
* woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
* vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
* textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
* strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
* progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
* play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
* play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
* net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
* image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
* eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
* eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
* eshell/em-cmpl.el, eshell/em-banner.el:
* url/url.el, url/url-queue.el, url/url-parse.el, url/url-http.el:
* url/url-future.el, url/url-dav.el, url/url-cookie.el:
* calendar/parse-time.el, test/eshell.el: Use cl-lib.
* wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
* vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
* textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
* term/ns-win.el, term.el, shell.el, ps-samp.el:
* progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
* progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
* play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
* net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
* net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
* mail/mailheader.el, mail/feedmail.el:
* url/url-util.el, url/url-privacy.el, url/url-nfs.el, url/url-misc.el:
* url/url-methods.el, url/url-gw.el, url/url-file.el, url/url-expand.el:
Dont use CL.
* ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
* eshell/esh-opt.el (eshell-eval-using-options): Quote code with
`lambda' rather than with `quote'.
(eshell-do-opt): Adjust accordingly.
(eshell-process-option): Simplify.
* eshell/esh-var.el:
* eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
* emacs-pcase.el (pcase--dontcare-upats, pcase--let*)
(pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
to `pcase--dontcare'.
* emacs-cl.el (labels): Mark obsolete.
(cl--letf, letf): Move to cl-lib.
(cl--letf*, letf*): Remove.
* emacs-cl-lib.el (cl-nth-value): Use defalias.
* emacs-cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
(cl-progv): Rewrite.
(cl--letf, cl-letf): Move from cl.el.
(cl-letf*): New macro.
* emacs-cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2012-07-11 19:13:41 -04:00
Paul Eggert
c214e35e48
Port 'movemail' again to Solaris and similar hosts.
...
See Susan Cragin's report in
<http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html >.
* movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS &&
!MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK. Move up, so it doesn't
need a forward declaration.
(main): Rewrite to avoid no-longer-present function 'concat', if
!DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.
2012-07-11 15:44:07 -07:00
Paul Eggert
63e47e0749
* s/sol2-6.h (HAVE_LIBKSTAT): Remove.
...
Fixes: debbugs:11914
2012-07-11 13:40:18 -07:00
Glenn Morris
e091e1bd02
Trivial re-ordering and comment updating
2012-07-11 14:39:44 -04:00
Eli Zaretskii
86aa551c1b
etc/NEWS: Move announcement of tty-top-frame out of non-free section.
2012-07-11 20:42:24 +03:00
Glenn Morris
c43fb4c32d
Move INTERRUPT_INPUT from src/s to configure
...
* configure.ac (INTERRUPT_INPUT): Move here from src/s.
* src/s/darwin.h, src/s/gnu-linux.h, src/s/template.h:
Move INTERRUPT_INPUT to configure.
2012-07-11 13:04:19 -04:00
Michael Albinus
7ad4afe1f5
* net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2012-07-11 14:03:19 +02:00
Juanma Barranquero
116f7b5477
nt/config.nt: Sync with autogen/config.in.
...
(CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
(GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
(HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
2012-07-11 13:44:31 +02:00
Glenn Morris
7e72357088
Auto-commit of generated files.
2012-07-11 06:17:32 -04:00
Dmitry Antipov
2bce56431c
Simplify Vobarray checking in oblookup.
...
* lread.c (oblookup): Simplify Vobarray checking.
2012-07-11 12:33:04 +04:00
Glenn Morris
4b575b3c9d
Removed some unnecessary undef INTERRUPT_INPUTs from src/s
...
* src/s/bsd-common.h, src/s/cygwin.h: No need to undefine INTERRUPT_INPUT,
since nothing has defined it on these platforms.
2012-07-11 00:38:33 -07:00
Dmitry Antipov
e8df92674d
Minor adjustments to interning code.
...
* lisp.h (intern, intern_c_string): Redefine as static inline
wrappers for intern_1 and intern_c_string_1, respectively.
(intern_1, intern_c_string_1): Rename prototypes.
* lread.c (intern_1, intern_c_string_1): Simplify Vobarray checking.
* font.c (font_intern_prop): Likewise. Adjust comment.
* w32font.c (intern_font_name): Likewise.
2012-07-11 11:37:39 +04:00
Glenn Morris
09f4e3b014
Move SIGNALS_VIA_CHARACTERS from src/s to configure
...
* configure.ac (SIGNALS_VIA_CHARACTERS): Move here from src/s.
* src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/gnu-linux.h:
* src/s/irix6-5.h: Move SIGNALS_VIA_CHARACTERS to configure.
2012-07-11 00:28:27 -07:00
Paul Eggert
554fef512f
* configure.ac (tzset): Remove redundant check.
2012-07-11 00:23:59 -07:00
Andreas Schwab
d96a1e0c71
* gnutls.c (Fgnutls_boot): Properly parse :keylist argument.
2012-07-11 09:20:14 +02:00
Andreas Schwab
34348bd4e5
* coding.c (Fdefine_coding_system_internal): Use XCAR/XCDR instead
...
of Fcar/Fcdr if possible.
* font.c (check_otf_features): Likewise.
* fontset.c (Fnew_fontset): Likewise.
* gnutls.c (Fgnutls_boot): Likewise.
* minibuf.c (read_minibuf): Likewise.
* msdos.c (IT_set_frame_parameters): Likewise.
* xmenu.c (Fx_popup_dialog): Likewise.
* w32menu.c (Fx_popup_dialog): Likewise.
2012-07-11 09:19:44 +02:00
Glenn Morris
172bedefc9
All the cool platforms support CLASH_DETECTION...
...
* configure.ac (CLASH_DETECTION): Define unconditionally.
Every platform using configure supports it.
* src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/template.h:
* src/s/usg5-4-common.h: Move CLASH_DETECTION to configure.
* etc/PROBLEMS: Recommend customizing create-lockfiles rather than
recompiling with CLASH_DETECTION unset.
2012-07-11 00:07:19 -07:00
Paul Eggert
bb3522608f
Assume mkdir, rmdir.
2012-07-11 00:05:21 -07:00
Glenn Morris
249685df40
Remove src/s/gnu.h
...
* configure.ac (opsysfile): Use bsd-common on gnu systems.
* src/s/gnu.h: Remove file, which is now empty.
2012-07-10 23:55:30 -07:00