Eli Zaretskii
6eb93f60be
Fix "make dist" on MS-Windows.
...
nt/makefile.w32-in (install-addpm): New target.
(dist): Depend on it.
(install-shortcuts): Depend on install-addpm instead of copying
addpm.exe as part of the recipe. See
http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
for the related problem and discussions.
2012-06-16 16:17:14 +03:00
Andreas Schwab
e5560ff7d2
* buffer.h (FETCH_MULTIBYTE_CHAR): Define as inline.
...
(BUF_FETCH_MULTIBYTE_CHAR): Likewise.
* character.c (_fetch_multibyte_char_p): Remove.
* alloc.c: Include "character.h" before "buffer.h".
* bidi.c: Likewise.
* buffer.c: Likewise.
* bytecode.c: Likewise.
* callint.c: Likewise.
* callproc.c: Likewise.
* casefiddle.c: Likewise.
* casetab.c: Likewise.
* category.c: Likewise.
* cmds.c: Likewise.
* coding.c: Likewise.
* composite.c: Likewise.
* dired.c: Likewise.
* dispnew.c: Likewise.
* doc.c: Likewise.
* dosfns.c: Likewise.
* editfns.c: Likewise.
* emacs.c: Likewise.
* fileio.c: Likewise.
* filelock.c: Likewise.
* font.c: Likewise.
* fontset.c: Likewise.
* fringe.c: Likewise.
* indent.c: Likewise.
* insdel.c: Likewise.
* intervals.c: Likewise.
* keyboard.c: Likewise.
* keymap.c: Likewise.
* lread.c: Likewise.
* macros.c: Likewise.
* marker.c: Likewise.
* minibuf.c: Likewise.
* nsfns.m: Likewise.
* nsmenu.m: Likewise.
* print.c: Likewise.
* process.c: Likewise.
* regex.c: Likewise.
* region-cache.c: Likewise.
* search.c: Likewise.
* syntax.c: Likewise.
* term.c: Likewise.
* textprop.c: Likewise.
* undo.c: Likewise.
* unexsol.c: Likewise.
* w16select.c: Likewise.
* w32fns.c: Likewise.
* w32menu.c: Likewise.
* window.c: Likewise.
* xdisp.c: Likewise.
* xfns.c: Likewise.
* xmenu.c: Likewise.
* xml.c: Likewise.
* xselect.c: Likewise.
2012-06-16 14:24:15 +02:00
Eli Zaretskii
946fdb736d
Fix bug #11720 with cursor positioning in outline-mode and Org buffers.
...
src/xdisp.c (set_cursor_from_row): Use the leftmost glyph as GLYPH_BEFORE, not
the rightmost.
2012-06-16 14:47:44 +03:00
Eli Zaretskii
1097afe455
Fix bug #11653 with a crash when more than 16 overlay strings are loaded.
...
src/xdisp.c (handle_face_prop): Use chunk-relative overlay string index when
indexing into it->string_overlays array.
2012-06-16 13:18:21 +03:00
Eli Zaretskii
2f07e6afc9
Fix bug #11653 with cursor positioning in a row that has only strings.
...
src/xdisp.c (set_cursor_from_row): Don't dereference glyphs_end. If
all the glyphs of the glyph row came from strings, and we have no
cursor positioning clues, put the cursor on the first glyph of the
row.
2012-06-16 12:57:56 +03:00
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
05c44a7512
Further mule-menu-keymap doc tweak
2012-06-13 16:26:26 -04:00
Glenn Morris
9702b7a16e
NEWS tweak
2012-06-13 16:09:42 -04:00
Glenn Morris
9c758578ee
Doc tweaks for mule-cmds .el
...
* lisp/international/mule-cmds.el (mule-menu-keymap)
(set-language-environment, set-locale-environment): Doc tweaks.
2012-06-13 16:08:10 -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