Paul Eggert
48d1354eb8
Spelling fixes.
2012-06-17 01:53:31 -07:00
Chong Yidong
eb4a8a9a88
Fix point motion bug in term-emulate-terminal.
...
* lisp/term.el (term-emulate-terminal): If term-check-size is called,
move point to the process mark without resetting point.
Fixes: debbugs:4635
2012-06-17 16:26:13 +08:00
Paul Eggert
310fbfa8e2
* lisp.h (eassert): Assume C89 or later.
...
This removes the need for CHECK.
(CHECK): Remove. Its comments about always evaluating its
argument were confusing, as 'eassert' typically does not evaluate
its argument.
2012-06-17 01:21:25 -07:00
Paul Eggert
27bb1ca4b0
* coding.c (produce_chars): Use ptrdiff_t, not int.
2012-06-17 00:57:28 -07:00
Paul Eggert
9a900ca947
* xterm.c (x_draw_underwave): Check for integer overflow.
...
This pacifies gcc 4.7.0 -Wunsafe-loop-optimizations on x86-64.
2012-06-17 00:39:50 -07:00
Chong Yidong
41b7f8bc6c
Merge changes from emacs-24; up to 2012-04-26T02:03:19Z!ueno@unixuser.org
2012-06-17 13:13:40 +08:00
Glenn Morris
82a25657c5
Minor edits for Face Attributes section of display.texi
...
* display.texi (Face Attributes): Copyedits. Add a few cindex entries.
Overlining no longer behaves exactly like underlining.
2012-06-16 19:07:26 -07:00
Glenn Morris
db80bdc86f
Mention face underwave
2012-06-16 18:49:50 -07:00
Glenn Morris
8da9479ce7
ChangeLog fix
2012-06-16 18:42:56 -07:00
Alp Aker
9b0e3ebaef
Implement wave-style variant of underlining.
...
* doc/lispref/display.texi: Document new face attribute.
* lisp/cus-face.el (custom-face-attributes): Add wave-style underline
attribute.
* lisp/faces.el (set-face-attribute): Update docstring.
* src/dispextern.h (face_underline_type): New enum.
(face): Add field for underline type.
* src/nsterm.m (ns_draw_underwave): New function.
(ns_draw_text_decoration): Use it.
* src/w32term.c (w32_restore_glyph_string_clip, w32_draw_underwave):
New functions.
(x_draw_glyph_string): Use them.
* src/xfaces.c (Qline, Qwave): New Lisp objects.
(check_lface_attrs, merge_face_ref)
(Finternal_set_lisp_face_attribute, realize_x_face): Handle
wave-style underline face attributes.
* src/xterm.c (x_draw_underwave): New function.
(x_draw_glyph_string): Use it.
2012-06-16 20:32:36 -04:00
Glenn Morris
40d8bcb854
NEWS fixes: positioning, copyedits
2012-06-16 10:56:44 -07:00
Glenn Morris
8826d473e6
ChangeLog position, case fixes
2012-06-16 10:45:09 -07:00
Juanma Barranquero
0fb52f118b
src/makefile.w32-in: Update dependencies.
2012-06-16 15:44:20 +02:00
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