1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00
Commit Graph

106963 Commits

Author SHA1 Message Date
Glenn Morris
b3a5630057 * configure.ac (opsysfile, S_FILE): Now they are always empty. 2012-07-30 23:52:13 -07:00
Glenn Morris
cd8bac79f6 * configure.ac (opsysfile): Forgot to set it to empty on sol2-10
when removing src/s/sol2-6.h yesterday.
2012-07-30 23:46:42 -07:00
Glenn Morris
268e2432c9 Remove src/s/usg5-4-common.h
* configure.ac (USG5_4): Reintroduce this.
(opsysfile): Set to empty on irix6-5, sol2*, and unixware.

* src/conf_post.h [USG5_4]: Move remaining contents of s/usg5-4-common.h here.
* src/s/usg5-4-common.h: Remove file.
2012-07-30 23:43:37 -07:00
Glenn Morris
400d5621b8 Move wait3, WRETCODE from src/s to configure
* configure.ac (wait3, WRETCODE): Move here from src/s/usg5-4-common.h.

* s/usg5-4-common.h (wait3, WRETCODE): Let configure set them.
2012-07-30 23:35:08 -07:00
Glenn Morris
7552f3ee02 Remove src/s/irix6-5.h
* configure.ac (opsysfile): Set to s/usg5-4-common.h on irix6-5.

* src/conf_post.h [IRIX6_5]: Move remaining contents of s/irix6-5.h here.

* src/s/irix6-5.h: Remove file.
2012-07-30 23:19:40 -07:00
Jan Djärv
14c114ae54 * nsterm.m (openFiles): Fix previous checkin. 2012-07-31 07:56:36 +02:00
Paul Eggert
3bd21e82eb * indent.c (compute_motion): Remove unused local. 2012-07-30 22:07:03 -07:00
Fabián Ezequiel Gallina
d77149619b * progmodes/python.el (run-python-internal): Disable font lock for
internal shells.
2012-07-31 00:31:10 -03:00
Katsumi Yamaoka
4650d5fa0e gnus.el (gnus-valid-select-methods): Fix custom type 2012-07-31 01:39:58 +00:00
Glenn Morris
6a3818523e Remove src/s/darwin.h
* configure.ac (opsysfile): Set to empty on darwin.

* src/conf_post.h [DARWIN_OS]: Move remaining contents of src/s/darwin.h here.

* src/s/darwin.h: Remove file.
2012-07-30 21:38:04 -04:00
Glenn Morris
c1529dedfc Remove src/s/hpux10-20.h
* configure.ac (opsysfile): Set to empty on hpux*.

* src/conf_post.h [HPUX]: Move random, srandom here from s/hpux10-20.h.

* src/s/hpux10-20.h: Remove file, which is now empty.
2012-07-30 21:32:19 -04:00
Glenn Morris
b429a4eee4 Use an include file in configure.ac's AH_BOTTOM
* configure.ac (AH_BOTTOM): Use an include file, so that the
contents do not get processed by autoheader.  Eg this prevents undefs
being commented out, and is the recommended technique from the
autoconf manual.

* src/conf_post.h: New, split from configure.ac's AH_BOTTOM.

* src/Makefile.in (config_h): Add conf_post.h.
* src/makefile.w32-in (CONFIG_H): Add conf_post.h.
2012-07-30 17:20:43 -04:00
Paul Eggert
8f25abd317 Do not overwrite config.status while executing it.
* Makefile.in (MAKEFILE_NAME): New macro.
($(MAKEFILE_NAME)): Rename rule from Makefile.
* configure.ac (epaths): Set MAKEFILE_NAME to a bogus value,
so that GNU 'make' isn't tempted to make the Makefile and then
regenerate config.status while config.status is running.

Fixes: debbugs:11214
2012-07-30 13:34:58 -07:00
Jan Djärv
adff3182ba Don't open files from Cocoa-parsed command line.
--eval '(whatever)' will open '(whatever)' if --eval is the last option.

* src/nsterm.m (ns_do_open_file): New variable.
(ns_term_init): Set ns_do_open_file to NO after run returns.
(openFile, openTempFile, openFileWithoutUI, openFiles): Open
files only if ns_do_open_file.
2012-07-30 22:10:31 +02:00
Stefan Merten
1f45e27eb6 Silence `checkdoc-ispell'.
(rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
(rst-official-version, rst-official-cvs-rev)
(rst-package-emacs-version-alist): Update to upstream V1.3.1.
(rst-mode-map): New key binding.
2012-07-30 21:54:07 +02:00
Paul Eggert
7393bcbb8b * lisp.h (SWITCH_ENUM_CAST): Remove. All uses removed.
This no-op macro hasn't been needed for many years.
* src/regex.c (SWITCH_ENUM_CAST) [!emacs]: Likewise.
2012-07-30 11:56:42 -07:00
Paul Eggert
c32af1e4a0 Export DIRECTORY_SEP, TYPEMASK, VALMASK to GDB.
* alloc.c (gdb_make_enums_visible) [USE_LSB_TAG]: Add lsb_bits.
* lisp.h (enum lsb_bits) [USE_LSB_TAG]: New enum, for
gdb_make_enums_visible.
(TYPEMASK, VALMASK) [USE_LSB_TAGS]: Now enum constants, not macros.
(DIRECTORY_SEP): Now a constant, not a macro.
2012-07-30 11:44:51 -07:00
Eli Zaretskii
302fc036e8 Fix bug #12082 with input of Meta-non-ASCII-characters on MS-Windows.
src/w32fns.c (w32_wnd_proc): Pass w32_keyboard_codepage to
 w32_kbd_patch_key as the 2nd arg.
 src/w32term.c <w32_keyboard_codepage>: Renamed from
 keyboard_codepage and now external.  All users changed.
 src/w32term.h: Add declaration of w32_keyboard_codepage.
 src/w32inevt.c (w32_kbd_patch_key): Accept an additional argument --
 the codepage to translate keys to Unicode.  If this argument is
 -1, use the value returned by GetConsoleCP.  All callers changed.
2012-07-30 20:07:33 +03:00
Paul Eggert
0aee69126f Update .PHONY listings in makefiles. 2012-07-30 09:20:35 -07:00
Paul Eggert
88fb40b443 * lisp.h (STRING_BYTES_BOUND): Cast entire result to ptrdiff_t.
This is a bit clearer.  Fix some commentary typos.
2012-07-30 08:30:40 -07:00
Glenn Morris
b65e7c462a Move TIOCSIGSEND from src/s to configure
* configure.ac (TIOCSIGSEND): Move here from src/s.

* src/s/usg5-4-common.h (TIOCSIGSEND): Let configure set it.
* src/s/irix6-5.h (TIOCSIGSEND): No more need to undefine.
2012-07-30 07:52:08 -07:00
Glenn Morris
32bac6d6e8 Empty src/s/netbsd.h and remove the file
* configure.ac (SIGNAL_H_AHB): New hack macro.
(opsysfile): Set to empty on netbsd, openbsd.
(AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined.

* src/s/netbsd.h: Let configure include signal.h if needed.
Remove file, which is now empty.
2012-07-30 07:46:48 -07:00
Glenn Morris
0a763bd17b Move _longjmp, _setjmp from src/s to configure
* configure.ac (_longjmp, _setjmp): Move here from src/s.

* src/s/usg5-4-common.h (_longjmp, _setjmp): Let configure set them.
* src/s/irix6-5.h (_longjmp, _setjmp): No more need to undefine.
2012-07-30 07:30:20 -07:00
Glenn Morris
259a41782b Auto-commit of generated files. 2012-07-30 06:17:41 -04:00
Julien Danjou
197755446f lisp/gnus/ChangeLog (2012-07-27): Fix author's address e-mail 2012-07-30 10:13:52 +00:00
Jan Djärv
847bb9eb74 * Makefile.in (install-arch-indep): Remove sh -x. 2012-07-30 09:51:29 +02:00
Andreas Schwab
169304bdb3 Fixes: debbugs:12090
* keymap.c (Fkey_description): Don't remove 0x80 bit from
non-single-byte char when adding meta modifier.
2012-07-30 09:45:58 +02:00
Dmitry Antipov
6cd7a13902 Convert safe_call to use variable number of arguments.
* xdisp.c (safe_call): Convert to use varargs.  Adjust users.
(safe_call2): Fix comment.
* lisp.h (safe_call): Adjust prototype.
* coding.c (encode_coding_object): Change to use safe_call2.
* xfaces.c (merge_face_heights): Change to use safe_call1.
2012-07-30 10:43:46 +04:00
Glenn Morris
227f5bd0b4 Remove s/aix4-2.h
* configure.ac (opsysfile): Set to empty on aix4-2.

* src/s/aix4-2.h: Remove empty file.
2012-07-29 23:34:22 -07:00
Glenn Morris
7b8a48e430 * s/aix4-2.h (sigmask): No need to undefine it.
(syssignal.h does that unconditionally)
2012-07-29 23:32:04 -07:00
Glenn Morris
abc7ec5494 * configure.ac (opsysfile): Tweak message for null case.
(The autoconf manual says this is portable.)
2012-07-29 23:24:20 -07:00
Glenn Morris
d34d6ffc97 Remove some empty src/s files.
* configure.ac (opsysfile): Set to empty on freebsd, gnu-linux,
gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware.

* src/s/freebsd.h, src/s/gnu-linux.h, src/s/sol2-6.h, src/s/unixware.h:
Remove empty files.
2012-07-29 23:18:28 -07:00
Paul Eggert
dc5493f11d Merge from gnulib, incorporating:
* doc/misc/texinfo.tex: Update to 2012-07-29.17 version.
2012-07-29 23:07:22 -07:00
Paul Eggert
03a660a609 Export to GDB most of lisp.h's remaining object-like macros.
* lisp.h (min, max): Move earlier, because they're used earlier now.
(INTMASK, ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK)
(CHAR_TABLE_STANDARD_SLOTS, CHARTAB_SIZE_BITS_0)
(CHARTAB_SIZE_BITS_1, CHARTAB_SIZE_BITS_2, CHARTAB_SIZE_BITS_3)
(DEFAULT_HASH_SIZE, COMPILED_ARGLIST, COMPILED_BYTECODE)
(COMPILED_CONSTANTS, COMPILED_STACK_DEPTH, COMPILED_DOC_STRING)
(COMPILED_INTERACTIVE, CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT)
(CHAR_CTL, CHAR_META, CHAR_MODIFIER_MASK, CHARACTERBITS)
(MANY, UNEVALLED, FLOAT_TO_STRING_BUFSIZE, MAX_ALLOCA):
Now constants, for GDB.  They need not be macros.
(MOST_POSITIVE_FIXNUM, MOST_NEGATIVE_FIXNUM, STRING_BYTES_BOUND):
Now constants, for GDB, as well as macros, for static initializers.
(CHAR_TABLE_STANDARD_SLOTS, CHAR_TABLE_EXTRA_SLOTS):
Move to after the definition of struct Lisp_Char_Table,
since the former now needs that type defined.
(enum CHARTAB_SIZE_BITS, enum CHAR_TABLE_STANDARD_SLOTS)
(enum DEFAULT_HASH_SIZE, enum Lisp_Compiled, enum char_bits)
(enum maxargs, enum FLOAT_TO_STRING_BUFSIZE, enum MAX_ALLOCA):
New enums, for gdb_make_enums_visible.
(GLYPH_MODE_LINE_FACE): Remove; unused.
* alloc.c (STRING_BYTES_MAX): Now a constant, now a macro.
(gdb_make_enums_visible): Add enum CHARTAB_SIZE_BITS, enum
CHAR_TABLE_STANDARD_SLOTS, enum char_bits, enum DEFAULT_HASH_SIZE,
enum FLOAT_TO_STRING_BUFSIZE, enum Lisp_Bits, enum Lisp_Compiled,
enum maxargs, enum MAX_ALLOCA.
(ARRAY_MARK_FLAG_VAL, PSEUDOVECTOR_FLAG_VAL, VALMASK_VAL): Remove.
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Remove;
no longer needed, now that they are done in lisp.h.
2012-07-29 22:41:10 -07:00
Dmitry Antipov
e499d0eebc Cleanup string bytes checking.
* alloc.c (GC_STRING_BYTES, CHECK_STRING_BYTES): Remove.  Convert
all users to STRING_BYTES or string_bytes if GC_CHECK_STRING_BYTES.
(check_string_bytes): Define to empty if not GC_CHECK_STRING_BYTES.
(check_sblock, compact_small_strings): Simplify.
2012-07-30 08:02:39 +04:00
Jay Belanger
d2bd74ff3e doc/misc/calc.texi (Getting Started, Tutorial): Change simulated
Calc output to match actual output.
(Simplifying Formulas): Mention that algebraic simplification is now
the default.
2012-07-29 22:38:24 -05:00
Jay Belanger
4514c2522d calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
(calc-limited-simplify-mode): Renamed from calc-lim-simplify-mode.
calc/calc-ext.el (calc-init-extensions): Fix bindings for
`calc-limited-simplify-mode'.
2012-07-29 21:32:57 -05:00
Jay Belanger
4b33740959 calc/calc-help (calc-m-prefix-help): Change message. 2012-07-29 18:25:39 -05:00
Jay Belanger
1823ac5abe calc/calc.el (calc-simplify-mode): Make 'alg the default value.
(calc-set-mode-line): Don't display "AlgSimp ".

calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
(calc-lim-simplify-mode): New function.
(calc-set-simplify-mode): Default to 'alg.
(calc-default-simplify-mode): Make algebraic simplifications the default.

calc/calc-ext.el (calc-init-extensions): Remove binding for
`calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.

calc/README: Mention new default simplification mode.
2012-07-29 18:19:09 -05:00
Paul Eggert
d5040d2dec * lisp.h (LISP_INT_TAG, LISP_INT1_TAG, LISP_STRING_TAG): Remove.
These macros are confusing and no longer need to be defined, as
the enum values now suffice.  Each use replaced with definiens.
(Lisp_Int1, Lisp_String): Define directly; this is clearer.
2012-07-29 15:42:12 -07:00
Ted Zlatanov
d6e7c17b31 lisp/gnus/auth-source.el: Fix last change 2012-07-29 22:17:54 +00:00
Ted Zlatanov
d7fcec5d7d lisp/gnus/auth-source.el: Support Mac OS X Keychains 2012-07-29 22:07:41 +00:00
David Engster
c91562a619 New tests for XML name expansion.
* automated/xml-parse-tests.el (xml-parse-tests--qnames): New
variable to hold test data for name expansion.
(xml-parse-tests): Test the two different types of name expansion.
2012-07-29 21:57:28 +02:00
Jay Belanger
9052f9f01e calc/calc.el (math-normalize-error): New variable.
(math-normalize): Set `math-normalize-error' to t when there's an error.

calc/calc-alg.el (math-simplify): Don't simplify when `math-normalize'
returns an error.
2012-07-29 13:51:16 -05:00
Eli Zaretskii
26918d77f7 Remove obsolete comment in mule-cmds.el. 2012-07-29 21:33:47 +03:00
Eli Zaretskii
20ba0cb429 Fix bug #12082 with non-ASCII output in Windows GUI sessions.
lisp/international/mule-cmds.el (set-locale-environment): Revert last
 change, since display-graphic-p returns nil when this function is
 called during startup.  Instead...
 lisp/term/w32console.el (terminal-init-w32console): ...setup the
 keyboard and terminal encoding for TTY sessions here.
2012-07-29 21:27:35 +03:00
Juri Linkov
a5dcc92986 * lisp/simple.el (goto-line): Don't display default line number in the
prompt because it should be displayed by `read-number' (bug#9952).
Add the current line number to the defaults of `goto-line' to
allow its easier modification by users with `M-n' (bug#9201).

* lisp/subr.el (read-number): Support multiple default values like in
other minibuffer reading functions.  Replace `read' with
`string-to-number' for consistency with `number-to-string'.
2012-07-29 21:11:42 +03:00
Juanma Barranquero
7f259ae657 src/makefile.w32-in: Update dependencies. 2012-07-29 19:20:16 +02:00
Dmitry Antipov
7e63e0c3c6 Remove HIDE_LISP_IMPLEMENTATION and cleanup cons free list check.
* lisp.h (HIDE_LISP_IMPLEMENTATION): Remove as useless for a long
time.  Adjust users.
(CHECK_CONS_LIST): Remove.  Convert all users to check_cons_list.
2012-07-29 21:14:51 +04:00
Juanma Barranquero
1117bd24d1 nt/config.nt: Sync with autogen/config.in.
(HAVE_ENVIRON_DECL): New macro.
2012-07-29 18:56:18 +02:00