1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-31 11:13:50 +00:00
Commit Graph

106118 Commits

Author SHA1 Message Date
Chong Yidong
771e3eae1e Fix for xterm reportBackground query.
* lisp/term/xterm.el (terminal-init-xterm): Discard input before
querying background mode.

Fixes: debbugs:10959
2012-06-16 17:56:15 +08:00
Stefan Merten
6665a6fd19 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
(rst-official-version, rst-official-cvs-rev): Update version
information.
2012-06-16 11:48:23 +02:00
Stefan Merten
7ae2ea1075 Added and corrected some comments.
(rst-re-alist-def): Improve symbol syntax.
(rst-mode-syntax-table): Correct syntax entries.
2012-06-16 11:33:58 +02:00
Andreas Schwab
29b83cecea * category.h (CHAR_HAS_CATEGORY): Define as inline.
(CATEGORY_MEMBER): Enforce 1/0 value.
* category.c (_temp_category_set): Remove.
2012-06-16 10:20:19 +02:00
Eli Zaretskii
4c5501e98f Fix bug #11677 with segfault when deleting windows under -batch.
src/window.c (Fdelete_other_windows_internal)
 (Fdelete_window_internal): Don't access frame's mouse highlight
 info of the initial frame.
2012-06-16 10:18:44 +03:00
Juanma Barranquero
b6974efa3b lisp/makefile.w32-in (COMPILE_FIRST): Synch with changes in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca. 2012-06-15 23:47:39 +02:00
Julien Danjou
52f8337d71 erc: use auth-source
* erc.el (erc-open): Use `auth-source' for password retrieval when
  possible.
2012-06-15 16:47:31 +02:00
Stefan Monnier
a64a94eddd * macroexp.el (macroexp--compiler-macro): Fix paren typo. 2012-06-14 23:20:42 -04:00
Stefan Monnier
f38ea36d3d * lisp/emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner.
* lisp/emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
(macroexp--expand-all): Use it.

Fixes: debbugs:11649
2012-06-14 23:18:14 -04:00
Fabián Ezequiel Gallina
2d7b84eab6 lisp/progmodes/python.el: Updated Copyright years. 2012-06-14 23:22:19 -03:00
Fabián Ezequiel Gallina
315f675857 Merge from trunk 2012-06-14 23:05:43 -03:00
Fabián Ezequiel Gallina
c6a506fefd Added python.el NEWS entry 2012-06-14 22:39:03 -03:00
Fabián Ezequiel Gallina
caf8412e00 Fixes to previous python.el ChangeLog entry. 2012-06-14 22:38:15 -03:00
Fabián Ezequiel Gallina
9ddf3c74c8 * lisp/progmodes/python.el: (python-indent, python-guess-indent,
python-use-skeletons): New obsolete variable aliases.
  (python-indent-guess-indent-offset): Make interactive.
2012-06-14 22:33:57 -03:00
Stefan Monnier
4302f5ba6e * lisp/emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
(cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
Use `cl-function' instead.
2012-06-14 21:07:03 -04:00
Juanma Barranquero
333775629a lisp/makefile.w32-in (COMPILE_FIRST): Remove subr.el.
Suggested by Stefan Monnier while discussing bug#11657.
2012-06-15 01:53:41 +02:00
Sam Steingold
54c5ba1a5f * lisp/files.el (abort-if-file-too-large): Use `file-size-human-readable'. 2012-06-14 15:55:28 -04:00
Andreas Schwab
f9f1b1fe74 Fixes: debbugs:11708
* play/doctor.el (doctor-doc): Remove parameter and use
doctor-sent instead of sent.
(doctor-read-print): Use doctor-sent instead of sent.
2012-06-14 16:22:37 +02:00
Glenn Morris
8782fa2c35 Auto-commit of loaddefs files. 2012-06-14 06:20:32 -04:00
Glenn Morris
afd07e01e3 Auto-commit of generated files. 2012-06-14 06:17:26 -04:00
Paul Eggert
e93864f943 .gdbinit: Update to match recent lisp.h changes. 2012-06-13 21:02:35 -07:00
Paul Eggert
2b57012478 Simplify lisp.h in minor ways that should not affect code.
* lisp.h (USE_2_TAGS_FOR_INTS): Remove, as it was always defined.
(LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P)
(LISP_INT1_TAG, enum Lisp_Type, XINT, XUINT, make_number):
Simplify under the assumption that USE_2_TAGS_FOR_INTS is defined.
(INTTYPEBITS): New macro, for clarity.
(INTMASK, MOST_POSITIVE_FIXNUM): Use it.
(LISP_INT1_TAG, LISP_STRING_TAG, LISP_INT_TAG_P): Simplify
now that USE_LSB_TAG is always defined.
(TYPEMASK, XINT) [USE_LSB_TAG]: Remove unnecessary cast.
(make_number) [!USE_LSB_TAG]: Use INTMASK; that's simpler.
2012-06-13 19:27:39 -07:00
Juanma Barranquero
81755f695c src/makefile.w32-in ($(BLD)/data.$(O)): Update dependencies. 2012-06-13 23:37:23 +02:00
Stefan Monnier
5a315f9ce9 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
* lisp/files.el: Require cl-lib.
(file-name-non-special): Replace case -> cl-case.
2012-06-13 16:52:25 -04:00
Glenn Morris
16192a5711 Remove some unused definitions from src/s
* src/s/bsd-common.h (BSD4_3):
* src/s/usg5-4-common.h (USG5_4): No longer define; unused.

* admin/CPP-DEFINES, src/s/template.h: Related edits.
2012-06-13 14:11:05 -04:00
Juanma Barranquero
22c4001c8e lisp/url/url-handlers.el (url-handler-regexp): Declare. 2012-06-13 18:25:03 +02:00
Stefan Monnier
a81068ba96 * lisp/emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
mapping from #' to function*.
2012-06-13 11:46:29 -04:00
Chong Yidong
8cca97031d Do not set mark on single mouse-1 clicks.
* mouse.el (mouse-drag-track): Do not set the mark if the user
releases the mouse without selecting anything.

Fixes: debbugs:11588
2012-06-13 23:28:10 +08:00
Stefan Monnier
ccf1dc189c * lisp/textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB.
Fixes: debbugs:11646
2012-06-13 09:56:57 -04:00
Andreas Schwab
646b5f55df Use a simple struct to implement compile time checks for the Lisp_Object type
* configure.in: Rename --enable-use-lisp-union-type to
--enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE
instead of USE_LISP_UNION_TYPE.

* admin/make-emacs: Rename --union-type to --check-lisp-type.  Define
CHECK_LISP_OBJECT_TYPE insted of USE_LISP_UNION_TYPE.
* admin/CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Renamed from
USE_LISP_UNION_TYPE.

* src/lisp.h (Lisp_Object) [CHECK_LISP_OBJECT_TYPE]: Define as struct
instead of union.
(XLI, XIL): Define.
(XHASH, XTYPE, XINT, XUINT, make_number, XSET, XPNTR, XUNTAG): Use
them.
* src/emacs.c (gdb_use_struct): Renamed from gdb_use_union.
* src/.gdbinit: Check gdb_use_struct instead of gdb_use_union.
* src/alloc.c (widen_to_Lisp_Object): Removed.
(mark_memory): Use XIL instead of widen_to_Lisp_Object.
* src/frame.c (delete_frame): Remove outdated comment.
* src/w32fns.c (Fw32_register_hot_key): Use XLI instead of checking
USE_LISP_UNION_TYPE.
(Fw32_unregister_hot_key): Likewise.
(Fw32_toggle_lock_key): Likewise.
* src/w32menu.c (add_menu_item): Likewise.
(w32_menu_display_help): Use XIL instead of checking
USE_LISP_UNION_TYPE.
* src/w32heap.c (allocate_heap): Don't check USE_LISP_UNION_TYPE.
(init_heap): Likewise.
* src/w32term.c (w32_read_socket): Update comment.
2012-06-13 15:40:48 +02:00
Stefan Monnier
ef62b23df5 * lisp/loadup.el: Count byte-code functions as well. 2012-06-13 09:18:59 -04:00
Stefan Monnier
c4c8444a78 * lisp/emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
* lisp/emacs-lisp/bytecomp.el (featurep): ...here.

Fixes: debbugs:11692
2012-06-13 09:16:34 -04:00
Stefan Monnier
a12ac9d795 * lisp/emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt.
Add cl-defun and cl-defmacro.

Fixes: debbugs:11649
2012-06-13 08:46:33 -04:00
Drew Adams
87e6e64f99 * lisp/help-mode.el (help-bookmark-make-record, help-bookmark-jump):
Fix last change.
2012-06-13 08:36:29 -04:00
Michael Albinus
682cefaf0c * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
Otherwise, it blocks in batch mode.
2012-06-13 13:56:53 +02:00
Juanma Barranquero
773e1f0872 lisp/help-mode.el (bookmark-make-record-default): Declare. 2012-06-13 13:13:17 +02:00
Glenn Morris
5039aa2c8f Auto-commit of loaddefs files. 2012-06-13 06:20:28 -04:00
Glenn Morris
4717915f34 Auto-commit of generated files. 2012-06-13 06:17:27 -04:00
Deniz Dogan
65a962bad9 * tutorials/TUTORIAL.sv: Fix grammar and a couple of typos. 2012-06-13 11:10:01 +02:00
Chong Yidong
6005792624 In the Package Menu, indicate packages that are newly-available.
* lisp/emacs-lisp/package.el (list-packages): Compute a list of
packages that are newly-available since the last list-packages
invocation.
(package-menu--new-package-list): New var.
(package-menu--generate, package-menu--print-info)
(package-menu--status-predicate, package-menu-mark-install):
Handle new status label "new".
2012-06-13 15:33:38 +08:00
Glenn Morris
c62ff70691 Remove HAVE_SYSV_SIGPAUSE unused remnants
* src/s/usg5-4-common.h, src/s/unixware.h:
Remove define/undef of HAVE_SYSV_SIGPAUSE (not used since 2010-05-04).

* admin/CPP-DEFINES: Remove HAVE_SYSV_SIGPAUSE.
2012-06-12 22:39:20 -04:00
Glenn Morris
1d3823c985 * src/s/gnu.h (POSIX_SIGNALS): Remove (again).
This was added in 2012-01 in response to http://debbugs.gnu.org/10552 .
However, this issue had already been fixed in the trunk two years
earlier, by removing POSIX_SIGNALS altogether. Ref:

http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00002.html
2012-06-12 22:32:49 -04:00
Paul Eggert
bfe3e0a23e USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup (Bug#11604)
* alloc.c (make_number) [!defined make_number]:
Remove, as lisp.h always defines this now.
(mark_maybe_pointer): Simplify since USE_LSB_TAG is always defined now.
(roundup_size): Verify that it is a power of 2.
* data.c (Fmake_variable_buffer_local, Fmake_local_variable):
* ftfont.c (ftfont_driver): Use LISP_INITIALLY_ZERO.
* lisp.h (USE_LSB_TAG): Allow the builder to compile with
-DUSE_LSB_TAG=0, to override the automatically-selected default.
USE_LSB_TAG now is always defined to be either 0 or 1.
All uses changed.
(union Lisp_Object): Don't worry about WORDS_BIGENDIAN; the
code works fine either way, and efficiency is not a concern here,
as the union type is for debugging, not for production.
(LISP_MAKE_RVALUE, make_number) [USE_LISP_UNION_TYPE]:
Use an inline function on all platforms when using the union type,
since this is simpler and 'static inline' can be used portably
within Emacs now.
(LISP_INITIALLY_ZERO): New macro.
(XFASTINT, XSETFASTINT) [USE_LISP_UNION_TYPE]: Remove.
(XSET) [USE_LISP_UNION_TYPE]: Don't overparenthesize.
2012-06-12 17:26:40 -07:00
Glenn Morris
1cce69208a Combine adjacent case blocks. 2012-06-12 15:15:47 -04:00
Glenn Morris
b4492cba7a Remove src/s/sol2-10.h
* configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs.
(opsysfile): Set specially for sol2-10.

* src/s/gnu-linux.h (HAVE_PROCFS): Move to configure.

* src/s/sol2-10.h: Remove file.
2012-06-12 15:03:32 -04:00
Glenn Morris
8a07a8c6fe Remove src/s/hpux11.h
* configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): New AC_DEFINEs.
(opsysfile): Set specially for hpux11.

* src/s/hpux11.h: Remove file.
2012-06-12 14:44:31 -04:00
Stefan Monnier
ad4d226cb8 * lisp/emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
conversion to backquotes.
2012-06-12 14:10:34 -04:00
Glenn Morris
5a6bd9b773 Drop some `quotes' in configure.in's final summary 2012-06-12 14:06:08 -04:00
Glenn Morris
0d3697298d Remove a couple of src/s files
* configure.in (opsysfile): Set specially for gnu-kfreebsd, openbsd.

* src/s/gnu-kfreebsd.h, src/s/openbsd.h: Remove files.
2012-06-12 13:53:25 -04:00
Glenn Morris
45fa9c0fbf Move NO_TERMIO, BROKEN_SIGIO from src/s to configure
* configure.in (NO_TERMIO, BROKEN_SIGIO): New AC_DEFINEs.

* src/s/bsd-common.h, src/s/darwin.h, src/s/gnu-kfreebsd.h, src/s/hpux10-20.h:
Remove NO_TERMIO.

* src/s/hpux10-20.h, src/s/openbsd.h, src/s/usg5-4-common.h:
Remove BROKEN_SIGIO.
2012-06-12 13:43:09 -04:00