Glenn Morris [Fri, 13 Jun 2014 19:41:59 +0000 (15:41 -0400)]
* etc/PROBLEMS: Whitespace fix.
Stefan Monnier [Fri, 13 Jun 2014 15:31:17 +0000 (11:31 -0400)]
* lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
bumping forward into a closing paren.
Fixes: debbugs:17761
Stefan Monnier [Fri, 13 Jun 2014 15:06:29 +0000 (11:06 -0400)]
* lisp/term/xterm.el (xterm--version-handler): Work around for OSX
Terminal.app.
Fixes: debbugs:17607
Eli Zaretskii [Fri, 13 Jun 2014 13:53:24 +0000 (16:53 +0300)]
Attempt to fix bug #17771 with segfault if "C-h h" is interrupted.
src/alloc.c (cleanup_vector): Don't dereference a font driver
pointer if it is NULL.
Paul Eggert [Wed, 11 Jun 2014 20:03:46 +0000 (13:03 -0700)]
Backport fcntl.h AIX fix from the trunk.
This fixes a bug with the shell freezing. See:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17598#185
Merge from gnulib, incorporating:
2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1
* lib/fcntl.in.h, m4/dup2.m4, m4/fcntl.m4:
Update from gnulib.
Eli Zaretskii [Wed, 11 Jun 2014 16:11:32 +0000 (19:11 +0300)]
Fix bug #17744 with cursor motion near overlay string with 'cursor' prop.
src/xdisp.c (set_cursor_from_row): Fix an off-by-one error when
matching overlay strings with 'cursor' property against buffer
positions traversed in the glyph row.
Glenn Morris [Tue, 10 Jun 2014 21:07:22 +0000 (17:07 -0400)]
* doc/misc/Makefile.in (INFO_INSTALL): Update for 2013-08-28 DOCMISC_W32 change
Glenn Morris [Mon, 9 Jun 2014 00:59:28 +0000 (17:59 -0700)]
NEWS cleanup: Remove +++/--- markup, reorder, copyedits, etc
Glenn Morris [Sun, 8 Jun 2014 23:39:23 +0000 (16:39 -0700)]
Doc fixes: markup (mainly nil -> @code{nil})
Karl Berry [Sun, 8 Jun 2014 19:30:13 +0000 (22:30 +0300)]
Simplify info.info for the stand-alone reader
doc/misc/info.texi (Help-^L): "mode line", "screenful",
stand-alone and Emacs Info both use the mode line.
Use x instead of weird C-x 0 to get rid of help msg
in standalone Info.
Glenn Morris [Sun, 8 Jun 2014 17:46:51 +0000 (10:46 -0700)]
Small doc updates re initial-buffer-choice
* doc/emacs/entering.texi (Entering Emacs): Small fix re initial-buffer-choice.
* doc/emacs/misc.texi (emacsclient Options): Copyedit.
* doc/lispref/os.texi (Startup Summary): Small fix for initial-buffer-choice.
* lisp/startup.el (initial-buffer-choice): Doc fix.
Reset :version (adding an option does not merit a :version bump).
Glenn Morris [Sun, 8 Jun 2014 07:41:27 +0000 (00:41 -0700)]
Doc edits re uniquify
* doc/emacs/buffers.texi (Uniquify): Copyedits.
* doc/emacs/files.texi (Visiting): Update for uniquify changes.
* doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify.
* doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details.
* lisp/bookmark.el (bookmark-load): Doc fix.
* lisp/uniquify.el (uniquify-buffer-name-style): Doc fix.
* lisp/files.el: Comment.
* etc/NEWS: Related edit.
Glenn Morris [Sun, 8 Jun 2014 07:00:20 +0000 (00:00 -0700)]
info.texi tweaks re S-SPC
* doc/misc/info.texi (Help-Small-Screen): Clarify details of S-SPC.
(Help-Small-Screen, Help-]): Do not mention S-SPC.
(Emacs Info Variables): Markup fix.
Glenn Morris [Sun, 8 Jun 2014 06:57:15 +0000 (23:57 -0700)]
Doc markup fixes re SPC, RET
* doc/emacs/dired.texi (Marks vs Flags):
* doc/emacs/rmail.texi (Rmail Scrolling):
* doc/misc/ebrowse.texi (Source Display, Finding/Viewing):
* doc/misc/erc.texi (Sample Session):
* doc/misc/ses.texi (The Basics):
* doc/misc/todo-mode.texi (Moving and Deleting Items):
* doc/misc/woman.texi (Navigation):
Markup fixes re SPC, RET.
Leo Liu [Sun, 8 Jun 2014 03:25:22 +0000 (11:25 +0800)]
* etc/themes/deeper-blue-theme.el: Use another fix.
Fixes: debbugs:17695
Glenn Morris [Sun, 8 Jun 2014 01:37:23 +0000 (18:37 -0700)]
* doc/emacs/help.texi (Help, Misc Help): Copyedits.
Glenn Morris [Sun, 8 Jun 2014 01:20:35 +0000 (18:20 -0700)]
Doc tweaks re text-mode menus
* doc/emacs/screen.texi (Menu Bar): Copyedits.
* doc/emacs/msdog.texi (Windows Keyboard): F10 menus are now a general feature.
Glenn Morris [Sun, 8 Jun 2014 01:14:58 +0000 (18:14 -0700)]
Doc tweak re fullscreen/maximize
* doc/emacs/frames.texi (Frame Commands): Copyedits re M-F10, F11.
* doc/emacs/cmdargs.texi (Window Size X): Copyedits.
Glenn Morris [Sun, 8 Jun 2014 00:59:05 +0000 (17:59 -0700)]
* src/fileio.c (write-region-inhibit-fsync): Doc tweak.
Glenn Morris [Sun, 8 Jun 2014 00:51:10 +0000 (17:51 -0700)]
Doc tweaks re < etc
* doc/lispref/numbers.texi (Comparison of Numbers): Copyedits.
* src/data.c (Flss, Fgtr, Fleq, Fgeq): Doc tweaks.
Glenn Morris [Sun, 8 Jun 2014 00:19:17 +0000 (17:19 -0700)]
Some Acknowledgments updates for the manual
* doc/emacs/ack.texi (Acknowledgments): Updates.
* doc/emacs/emacs.texi (Acknowledgments): Updates.
Glenn Morris [Sat, 7 Jun 2014 23:39:40 +0000 (16:39 -0700)]
Doc tweaks re prettify-symbols-mode
* doc/emacs/programs.texi (Prettifying Symbols): Remove node.
(Misc for Programs): Mention more briefly here.
* doc/emacs emacs.texi (Top): Update menu.
Paul Eggert [Sat, 7 Jun 2014 06:10:39 +0000 (23:10 -0700)]
Port better to AIX.
* configure.ac (with_xpm_set): New shell var.
(_THREAD_SAFE): Define on AIX if HAVE_PTHREAD.
(with_xpm): Default to 'no' on AIX.
(LIBXPM): Append -lXpm if -lXaw is also used, as the latter
requires the former on AIX.
Fixes: debbugs:17598
Juri Linkov [Fri, 6 Jun 2014 23:38:40 +0000 (02:38 +0300)]
* lisp/desktop.el: Activate auto-saving on window configuration changes.
(desktop-save-mode, desktop-auto-save-timeout): Add/remove
`desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
(desktop-auto-save-set-timer): Change REPEAT arg of
`run-with-idle-timer' from t to nil.
http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
Santiago Payà i Miralta [Fri, 6 Jun 2014 16:29:55 +0000 (12:29 -0400)]
* lisp/vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
vc-hg-command.
Fixes: debbugs:17570
Stefan Monnier [Fri, 6 Jun 2014 14:25:39 +0000 (10:25 -0400)]
* lisp/international/mule-cmds.el (ucs-names): Add special entry for BEL.
Fixes: debbugs:17702
Glenn Morris [Fri, 6 Jun 2014 07:19:23 +0000 (00:19 -0700)]
Doc updates re window-setup-hook
* lisp/startup.el (window-setup-hook): Doc fix.
* doc/lispref/display.texi (Window Systems): Remove window-setup-hook.
* doc/lispref/os.texi (Startup Summary, Init File):
Improve description of window-setup-hook.
(Terminal-Specific): Update window-setup-hook cross-reference.
* doc/lispref/hooks.texi (Standard Hooks):
Update window-setup-hook cross-reference.
Glenn Morris [Fri, 6 Jun 2014 06:49:17 +0000 (23:49 -0700)]
* admin/FOR-RELEASE: Mention ack.texi
Glenn Morris [Fri, 6 Jun 2014 06:45:16 +0000 (23:45 -0700)]
Document incompatible overlay priority change
* doc/lispref/display.texi (Overlay Properties): Update re priority.
* etc/NEWS: Related edit.
Fixes: debbugs:17234
Juri Linkov [Thu, 5 Jun 2014 23:31:46 +0000 (02:31 +0300)]
* etc/themes/deeper-blue-theme.el (diff-added, diff-changed, diff-removed):
Set face definitions explicitly. Inherit indicator faces from them.
Fixes: debbugs:17695
Paul Eggert [Thu, 5 Jun 2014 08:14:36 +0000 (01:14 -0700)]
Spelling fixes.
Glenn Morris [Thu, 5 Jun 2014 07:08:42 +0000 (00:08 -0700)]
* lisp/emacs-lisp/package.el: Comment update
Glenn Morris [Thu, 5 Jun 2014 06:15:44 +0000 (23:15 -0700)]
Some documentation for signing of packages
* doc/emacs/package.texi (Package Menu, Package Installation):
Mention signed packages.
* doc/lispref/package.texi (Package Archives): Mention signing packages.
* lisp/emacs-lisp/package.el (package-check-signature)
(package-unsigned-archives): Doc fixes.
* etc/NEWS: Related edits.
Eli Zaretskii [Wed, 4 Jun 2014 16:44:04 +0000 (19:44 +0300)]
nt/INSTALL: Instructions how to start Bash.
Eli Zaretskii [Wed, 4 Jun 2014 10:54:58 +0000 (13:54 +0300)]
Fix infloop of -nw session at exit on MS-Windows under a debugger.
src/sysdep.c (reset_sys_modes): Use cursorX, not curX, as the latter
contains garbage on WINDOWSNT (which could potentially infloop at
exit).
Eli Zaretskii [Wed, 4 Jun 2014 09:16:46 +0000 (12:16 +0300)]
Attempt to solve bug #17497 by minimizing cursor motion during TTY menu updates.
src/term.c (tty_menu_display): Don't position cursor here. Instead,
pass the cursor coordinates to update_frame_with_menu.
(tty_menu_activate): Send the hide cursor command only once in an
iteration through the outer 'while' loop.
src/dispnew.c (update_frame_1): Accept an additional argument
SET_CURSOR_P, and position the cursor at the end of the frame
update only if that argument is non-zero. All callers changed to
provide the additional argument as non-zero, except for
update_frame_with_menu.
(update_frame_with_menu): Accept 2 additional arguments ROW and
COL; if they are non-negative, instruct update_frame_1 not to
position the cursor, and instead position it according to ROW and
COL.
src/dispextern.h (update_frame_with_menu): Update prototype.
Martin Rudalics [Tue, 3 Jun 2014 12:38:17 +0000 (14:38 +0200)]
In display-buffer-use-some-window don't shrink window used (Bug#17671).
* window.el (display-buffer-use-some-window): Don't make window
used smaller than it was before (Bug#17671).
Eli Zaretskii [Tue, 3 Jun 2014 09:50:04 +0000 (12:50 +0300)]
Minor fix of the last commit in menu-bar-open.
lisp/menu-bar.el (menu-bar-open): Fix last change: use the PC
'(redisplay)' instead of '(sit-for 0)'.
Michael Albinus [Tue, 3 Jun 2014 07:43:24 +0000 (09:43 +0200)]
Fix Bug#17653.
* net/tramp.el (tramp-ssh-controlmaster-options): Improve search regexp.
Glenn Morris [Tue, 3 Jun 2014 04:45:56 +0000 (21:45 -0700)]
* emacs/package.texi (Package Installation): Mention package-pinned-packages.
* etc/NEWS: Related markup.
Glenn Morris [Tue, 3 Jun 2014 04:41:20 +0000 (21:41 -0700)]
* lisp/emacs-lisp/package.el (package-pinned-packages): Doc fix.
* etc/NEWS: Related edit.
Eli Zaretskii [Mon, 2 Jun 2014 18:58:36 +0000 (21:58 +0300)]
Fix TTY menu invocation via M-x.
lisp/menu-bar.el (menu-bar-open): Fix invocation via M-x by forcing
the update of the menu bar.
Stefan Monnier [Mon, 2 Jun 2014 18:42:07 +0000 (14:42 -0400)]
* src/callproc.c (call_process): Don't check read-only if we don't insert
anything.
Fixes: debbugs:17666
Eli Zaretskii [Mon, 2 Jun 2014 16:53:02 +0000 (19:53 +0300)]
src/dispnew.c (update_frame_with_menu): Set display_completed.
Glenn Morris [Mon, 2 Jun 2014 01:14:08 +0000 (18:14 -0700)]
* doc/emacs/misc.texi: Small updates (no need to merge to trunk)
* doc/emacs/misc.texi [iftex]: Update chapter summary.
(Emulation): Remove ludicrously outdated claim.
Glenn Morris [Mon, 2 Jun 2014 00:22:41 +0000 (17:22 -0700)]
* etc/NEWS: Add placeholders for undocumented package.el changes.
Paul Eggert [Sun, 1 Jun 2014 18:49:52 +0000 (11:49 -0700)]
* frame.c (x_set_frame_parameters): Don't read uninitialized storage.
Jan Djärv [Sun, 1 Jun 2014 18:00:56 +0000 (20:00 +0200)]
Make jump scroll work with Gtk+
* xterm.c (xg_scroll_callback): Remove position, for jump set portion
to min(value, whole).
Eli Zaretskii [Sun, 1 Jun 2014 15:19:14 +0000 (18:19 +0300)]
Fix bug #17615 with C-g during macro definition.
lisp/simple.el (keyboard-quit): Force update of mode lines, to remove
the "Def" indicator, if we were defining a macro.
Glenn Morris [Sun, 1 Jun 2014 11:22:53 +0000 (07:22 -0400)]
Auto-commit of loaddefs files.
Michael Albinus [Sun, 1 Jun 2014 10:38:09 +0000 (12:38 +0200)]
Revert last patch. The problem happens in the trunk.
Michael Albinus [Sun, 1 Jun 2014 09:33:57 +0000 (11:33 +0200)]
* tramp-tests.el (tramp-test29-vc-registered):
Instrument failed test case.
Michael Albinus [Sun, 1 Jun 2014 09:33:24 +0000 (11:33 +0200)]
* automated/tramp-tests.el (tramp-test29-vc-registered):
Instrument failed test case.
Paul Eggert [Sun, 1 Jun 2014 07:06:28 +0000 (00:06 -0700)]
Bring back the changes to GDB-visible symbols, but only on AIX.
And only if it's not pre-4.2 GCC.
* lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros.
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them.
(ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
New macros.
Stefan Monnier [Sun, 1 Jun 2014 02:24:23 +0000 (22:24 -0400)]
* lisp/minibuffer.el (minibuffer-force-complete-and-exit):
Obey minibuffer-default.
Fixes: debbugs:17545
Stefan Monnier [Sun, 1 Jun 2014 01:53:04 +0000 (21:53 -0400)]
* lisp/progmodes/js.el (js-indent-line): Don't mix columns and chars.
Fixes: debbugs:17619
Stefan Monnier [Sat, 31 May 2014 20:02:47 +0000 (16:02 -0400)]
* lisp/subr.el (set-transient-map): Don't wait for some "nested"
transient-map to finish if we're only supposed to be active for
the next command.
Fixes: debbugs:17642
Eli Zaretskii [Sat, 31 May 2014 18:23:53 +0000 (21:23 +0300)]
Hopefully fix bug #16433 with corruption of newline_cache in Rmail.
src/fileio.c (Finsert_file_contents): Call prepare_to_modify_buffer
with PT, not GPT.
Leo Liu [Sat, 31 May 2014 15:43:43 +0000 (23:43 +0800)]
* emacs-lisp/gv.el (window-buffer, window-display-table)
(window-dedicated-p, window-hscroll, window-point, window-start):
Fix gv-expander.
Fixes: debbugs:17630
Eli Zaretskii [Sat, 31 May 2014 13:24:45 +0000 (16:24 +0300)]
Revert revision 2014-05-27T17:31:17Z!eliz@gnu.org, as it breaks debugging with GCC 3.x.
Revert last changes to GDB-visible symbols.
src/lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): Delete macros.
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Don't use them.
(ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
Delete macros.
Stefan Monnier [Sat, 31 May 2014 12:32:36 +0000 (08:32 -0400)]
* lisp/mouse.el (mouse-posn-property): Ignore posn-point for mode-line
clicks.
Fixes: debbugs:17633
Glenn Morris [Sat, 31 May 2014 02:53:29 +0000 (19:53 -0700)]
* src/cmds.c (Fself_insert_command): Allow zero repeat count.
Fixes: debbugs:17649
Stefan Monnier [Sat, 31 May 2014 02:13:13 +0000 (22:13 -0400)]
* lisp/subr.el (sit-for): Add comment with a short history.
Stefan Monnier [Sat, 31 May 2014 01:01:19 +0000 (21:01 -0400)]
* lisp/leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
for the single comma, since ", " is *very* common in normal French text.
Fixes: debbugs:17643
Paul Eggert [Fri, 30 May 2014 20:19:29 +0000 (13:19 -0700)]
Fix port to 32-bit AIX with xlc.
This doesn't fix Bug#17598, but it does fix a regression since Emacs
built with xlc until recently, and perhaps it'll help us fix Bug#17598.
* configure.ac (GC_SETJMP_WORKS): Define for AIX, too.
Merge from gnulib, incorporating:
2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1
* lib/ftoastr.c: Update from gnulib.
* src/alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE.
* src/conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty.
* src/lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum,
to work around a compiler bug in IBM xlc 12.1.
Glenn Morris [Fri, 30 May 2014 05:15:29 +0000 (22:15 -0700)]
Fix typo in previous
Glenn Morris [Fri, 30 May 2014 05:08:10 +0000 (22:08 -0700)]
package.el: Fix some version tags
* lisp/emacs-lisp/package.el (package-check-signature)
(package-unsigned-archives): Fix :version.
Eli Zaretskii [Thu, 29 May 2014 16:47:49 +0000 (19:47 +0300)]
Fix bug #17588 with mouse highlight when an X frame is redisplayed frequently.
src/xterm.c (x_update_window_end): Don't invalidate the entire
mouse-highlight info, just signal frame_up_to_date_hook that mouse
highlight needs to be redisplayed.
Stefan Monnier [Thu, 29 May 2014 16:38:01 +0000 (12:38 -0400)]
* lisp/subr.el (sit-for): Don't run input-methods.
Fixes: debbugs:15614
Glenn Morris [Thu, 29 May 2014 06:15:48 +0000 (23:15 -0700)]
Do not mention individual ns options in the manual
* doc/emacs/macos.texi (Mac / GNUstep Customization): Mention ns custom group.
(Customization options specific to Mac OS / GNUstep): Remove section.
* etc/NEWS: Related markup.
Paul Eggert [Thu, 29 May 2014 05:31:43 +0000 (22:31 -0700)]
Port the GDB-visible symbols to AIX.
Without them, GDB doesn't work to debug Emacs, since the AIX linker
optimizes away the relevant external symbols. Use enums instead;
this suffices for the AIX port, which is 32-bit-only anyway.
* lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros.
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them.
(ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
New macros.
Glenn Morris [Wed, 28 May 2014 17:53:11 +0000 (10:53 -0700)]
Remove pointless FOR-RELEASE note
Glenn Morris [Wed, 28 May 2014 15:48:39 +0000 (08:48 -0700)]
* lisp/cus-start.el: Fix some :version numbers.
Glenn Morris [Wed, 28 May 2014 07:32:06 +0000 (00:32 -0700)]
Try to document some OS X changes
I can't test any of this, but no-one else seems to care, so this is
what you get.
* doc/emacs/macos.texi (Mac / GNUstep Customization): Mention some new features.
* etc/NEWS: Related edits.
Andreas Schwab [Wed, 28 May 2014 06:35:53 +0000 (08:35 +0200)]
* html2text.el (html2text-get-attr): Fix typo when splitting value from
attribute. (Bug#17613)
Stefan Monnier [Tue, 27 May 2014 14:59:08 +0000 (10:59 -0400)]
* lisp/simple.el (deactivate-mark): Set mark-active to nil even if deactivation
is done via setting transient-mark-mode to nil, since one is
buffer-local and the other is global.
Stefan Monnier [Tue, 27 May 2014 14:56:03 +0000 (10:56 -0400)]
* lisp/emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
there can't be more than 2 arguments.
Fixes: debbugs:17584
Paul Eggert [Tue, 27 May 2014 05:38:29 +0000 (22:38 -0700)]
Spelling fix.
Glenn Morris [Tue, 27 May 2014 01:53:45 +0000 (18:53 -0700)]
Doc updates re filter-buffer-substring
* lisp/simple.el (filter-buffer-substring-functions)
(filter-buffer-substring-function, buffer-substring-filters)
(filter-buffer-substring, buffer-substring--filter): Doc fixes.
* doc/lispref/text.texi (Buffer Contents):
Update for filter-buffer-substring changes.
* doc/lispref/hooks.texi: Remove old comment.
* etc/NEWS: Related markup.
Glenn Morris [Tue, 27 May 2014 01:25:57 +0000 (18:25 -0700)]
Doc updates re completion-in-region-function
* lisp/minibuffer.el (completion-in-region-functions, completion-in-region)
(completion--in-region): Doc fixes.
* doc/lispref/hooks.texi: Update comment.
Glenn Morris [Tue, 27 May 2014 01:09:45 +0000 (18:09 -0700)]
Doc updates re abbrev-expand-function
* doc/emacs/abbrevs.texi (Expanding Abbrevs): Update re abbrev-expand-function.
* doc/lispref/abbrevs.texi (Abbrev Expansion): Update for expand-abbrev changes.
* doc/lispref/functions.texi (Advising Functions): Standardize menu case.
* lisp/abbrev.el (abbrev-expand-functions, abbrev-expand-function)
(expand-abbrev, abbrev--default-expand): Doc fixes.
Paul Eggert [Mon, 26 May 2014 15:48:28 +0000 (08:48 -0700)]
Include sources used to create macuvs.h.
* admin/unidata/IVD_Sequences.txt: New file.
* admin/unidata/Makefile.in (${top_srcdir}/src/macuvs.h): New rule.
(all): Build it.
(extraclean): Remove it.
* admin/unidata/README: Mention BidiMirroring.txt and IVD_Sequences.txt.
* admin/unidata/copyright.html: Update to current version from Unicode
Consortium.
* admin/unidata/uvs.el: Rename from admin/mac/uvs.el.
(uvs-print-table-ivd): Output a header in the form that
unidata-gen.el generates.
* lisp/international/README: Refer to the Unicode Terms of Use rather
than copying it bodily here, as that simplifies maintenance.
* src/Makefile.in ($(srcdir)/macuvs.h): New rule.
* src/macuvs.h: Use automatically-generated header.
Glenn Morris [Mon, 26 May 2014 02:20:47 +0000 (19:20 -0700)]
* etc/FOR-RELEASE: Mention generated files.
YAMAMOTO Mitsuharu [Mon, 26 May 2014 02:17:24 +0000 (19:17 -0700)]
* admin/mac/uvs.el: New file. Generates ../src/macuvs.h. (Backport from trunk)
Eli Zaretskii [Sun, 25 May 2014 14:18:46 +0000 (17:18 +0300)]
Fix bug #17585 with incorrect vertical motion when linum-mode is on.
src/xdisp.c (move_it_in_display_line_to): Don't record wrap position
if we are iterating over an object that generates glyphs for
marginal areas.
Andreas Schwab [Sun, 25 May 2014 11:47:34 +0000 (13:47 +0200)]
* cus-face.el (custom-face-attributes): Add :distant-foreground.
Martin Rudalics [Sun, 25 May 2014 10:06:35 +0000 (12:06 +0200)]
Remove interactive specification from window--dump-frame.
* window.el (window--dump-frame): Remove interactive
specification.
Glenn Morris [Sun, 25 May 2014 00:31:06 +0000 (17:31 -0700)]
NEWS markup fix
Paul Eggert [Sat, 24 May 2014 22:23:47 +0000 (15:23 -0700)]
Specify coding if Latin-1 Emacs would misinterpret.
* doc/misc/htmlfontify.texi, doc/misc/org.texi:
* etc/ETAGS.EBNF, etc/NEWS, etc/ORG-NEWS: Add "coding: utf-8".
Fixes: debbugs:17575
Paul Eggert [Sat, 24 May 2014 21:28:43 +0000 (14:28 -0700)]
* xdisp.c (safe__call1, safe__eval): Now static.
Eli Zaretskii [Sat, 24 May 2014 19:19:27 +0000 (22:19 +0300)]
Fix last commits in xdisp.c, which caused a crash at startup on w32.
src/xdisp.c (safe__call): Accept va_list argument instead of '...'.
(safe_call, safe__call1): Construct a va_list argument for safe_call.
(safe_call1): Call safe_call instead of safe__call directly.
Fixes: debbugs:17577
Ken Brown [Sat, 24 May 2014 17:59:22 +0000 (13:59 -0400)]
Fix bug#17510 with a pointer freed more than once (Cygwin-w32-build).
* src/w32term.c (x_delete_display) [CYGWIN]: Don't free
dpyinfo->w32_id_name, to make sure it doesn't get freed more than
once.
Stefan Monnier [Sat, 24 May 2014 15:50:05 +0000 (11:50 -0400)]
* src/xdisp.c: Bind inhibit-quit during pre-redisplay-function.
(safe__call, safe__call1, safe__eval): New functions.
(safe_call): Use it.
(prepare_menu_bars): Use it for pre-redisplay-function.
(display_mode_element): Same for `:eval'.
Fixes: debbugs:17577
Glenn Morris [Fri, 23 May 2014 18:14:24 +0000 (14:14 -0400)]
Small fix for he-line-search-regexp
* lisp/hippie-exp.el (he-line-search-regexp):
Handle comint-prompt-regexp containing subgroups.
Fixes: debbugs:17529
Stephen Berman [Fri, 23 May 2014 16:54:35 +0000 (18:54 +0200)]
todo-mode.el: Remove dependence on auto-mode-alist.
* calendar/todo-mode.el: Remove dependence on auto-mode-alist,
to avoid errors when trying to create or visit a file foo.todo
located outside to todo-directory, and to allow having such files
without them being tied to Todo mode.
(todo-show, todo-move-category, todo-merge-category, todo-find-archive)
(todo-archive-done-item, todo-find-filtered-items-file)
(todo-filter-items, todo-find-item, todo-diary-goto-entry)
(todo-category-completions, todo-read-category): When visiting a
Todo file, make sure we're in the right mode and the buffer local
variables are set.
(todo-make-categories-list, todo-reset-nondiary-marker)
(todo-reset-done-string, todo-reset-comment-string): After
processing all Todo files, kill the buffers of those files that
weren't being visited before the processing.
(todo-display-as-todo-file, todo-add-to-buffer-list)
(todo-visit-files-commands): Comment out.
(todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
(auto-mode-alist): Remove add-to-list calls making Todo file
extensions unrestrictedly tied to Todo modes.
* doc/misc/todo-mode.texi: Update in light of changes due to bug#17482.
Replace numerous mistaken uses of literal quotes with proper
Texinfo markup.
(Todo Mode Entry Points): Comment out reference to using find-file
or Dired to visit Todo files, since this has been disabled (bug#17482).
Stefan Monnier [Fri, 23 May 2014 16:17:14 +0000 (12:17 -0400)]
* lisp/emacs-lisp/nadvice.el (advice--member-p): Change second arg.
(advice-function-member-p): Tell it to check both names and functions.
(advice--add-function): Adjust call accordingly.
Fixes: debbugs:17531
Stephen Berman [Fri, 23 May 2014 12:10:50 +0000 (14:10 +0200)]
* calendar/todo-mode.el: Miscellaneous bug fixes.
(todo-delete-file): When deleting an archive but not its todo
file, make sure to update the todo file's category sexp.
(todo-move-category): Keep the moved category's name unless the
file moved to already has a category with that name. If the
numerically last category of the source file was moved, make the
first category current to avoid selecting a nonexisting category.
(todo-merge-category): Fix implementation to make merging to a
category in another file work as documented. Eliminate now
insufficient and unnecessary renaming of archive category, correct
document string accordingly, and clarify it. If the numerically
last category of the source file was merged, make the first
category current to avoid selecting a nonexisting category.
(todo-archive-done-item): When there are marked items and point
happens to be on an unmarked item, ignore the latter. Don't leave
point below last item after archiving marked items.
(todo-unarchive-items): Fix logic to ensure unarchiving an item
from an archive with only one category deletes the archive only
when the category is empty after unarchiving. Make sure the todo
file's category sexp is updated.
(todo-read-file-name): Allow an existing file name even when it is
not required (todo-move-category needs this to work as documented).
(todo-add-file): Call todo-validate-name to reject the name of an
existing todo file (needed due to fix in todo-read-file-name).
(todo-reset-nondiary-marker): Also reset in filtered items files.
(todo-reset-done-string, todo-reset-comment-string): Also reset in
regexp filtered items files.
(todo-reset-highlight-item): Also reset in filtered items files.
Fix incorrect variable reference in document string.
Glenn Morris [Thu, 22 May 2014 06:36:37 +0000 (23:36 -0700)]
* window.el (window--dump-frame): Avoid error in --without-x builds.
Paul Eggert [Thu, 22 May 2014 05:00:39 +0000 (22:00 -0700)]
Fix port to 32-bit AIX.
* configure.ac (opsys): On Power Architecture, treat release 7 of
AIX like releases 5 and 6.
* src/unexaix.c (copy_text_and_data): Don't add text_scnptr to ptr
twice. _text already includes this offset.
(unrelocate_symbols): Don't cast 64-bit integer to pointer.
Fixes: debbugs:17540
Glenn Morris [Wed, 21 May 2014 20:07:27 +0000 (16:07 -0400)]
* lisp/nxml/nxml-mode.el (xml-mode): Only define this alias once.