]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years agoetc/TODO: Minor updates.
Eli Zaretskii [Tue, 15 Jul 2014 16:11:33 +0000 (19:11 +0300)]
etc/TODO: Minor updates.

9 years agoFix bug #18025 with typos in Emacs Lisp Introduction manual.
Alvar Jesus Ibeas Martin [Tue, 15 Jul 2014 16:06:49 +0000 (19:06 +0300)]
Fix bug #18025 with typos in Emacs Lisp Introduction manual.

 doc/lispintro/emacs-lisp-intro.texi (Variables, Buffer Names, if & or)
 (Symbols as Chest, fwd-para while): Fix typos.

9 years agoTweak earlier vc-log-edit change
Glenn Morris [Mon, 14 Jul 2014 19:29:29 +0000 (15:29 -0400)]
Tweak earlier vc-log-edit change

* lisp/vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
if it was "empty", or used for a different set of files.

Fixes: debbugs:17884
9 years agoFix bug #17986 with infloop in redisplay when default-directory is nil.
Eli Zaretskii [Sun, 13 Jul 2014 14:49:59 +0000 (17:49 +0300)]
Fix bug #17986 with infloop in redisplay when default-directory is nil.

 src/xdisp.c (decode_mode_spec): Call file-remote-p on the current
 buffer's default-directory only if it is a string.

 lisp/bindings.el (mode-line-remote): If default-directory is not a
 string, don't call file-remote-p on it; instead state in the
 help-echo that it is nil.

9 years ago* etags.c (Lisp_functions): Also record cl-defun etc.
Paul Eggert [Sat, 12 Jul 2014 16:26:54 +0000 (09:26 -0700)]
* etags.c (Lisp_functions): Also record cl-defun etc.

Fixes: debbugs:17965
9 years agoAttempt to fix bug #17962 with SIGSEGV in display_line.
Eli Zaretskii [Sat, 12 Jul 2014 10:29:13 +0000 (13:29 +0300)]
Attempt to fix bug #17962 with SIGSEGV in display_line.

 src/xdisp.c (display_line): Don't call FETCH_BYTE with argument less than 1.

9 years agoDocument the behavior of file selection dialogs on Windows 7 (bug #17950).
Eli Zaretskii [Sat, 12 Jul 2014 09:25:29 +0000 (12:25 +0300)]
Document the behavior of file selection dialogs on Windows 7 (bug #17950).

 etc/PROBLEMS: Mention the problem from bug #17950.

 src/w32fns.c (Fx_file_dialog): Mention in the doc string the
 behavior on Windows 7 and later when the function is repeatedly
 invoked with the same value of DIR.
 src/xfns.c (Fx_file_dialog) [USE_MOTIF, USE_GTK]: Update the doc
 string to match the one in w32fns.c.

9 years agoetc/PROBLEMS: Update problems specific to MS-Windows.
Eli Zaretskii [Sat, 12 Jul 2014 09:08:41 +0000 (12:08 +0300)]
etc/PROBLEMS: Update problems specific to MS-Windows.

9 years agoFix bug: C-x v v discarded existing log message.
Paul Eggert [Sat, 12 Jul 2014 02:24:02 +0000 (19:24 -0700)]
Fix bug: C-x v v discarded existing log message.

* lisp/vc/vc-dispatcher.el (vc-log-edit):
Don't clobber an already-existing log message.

Fixes: debbugs:17884
9 years ago* Makefile.in (install-arch-indep): Avoid readdir race.
Paul Eggert [Fri, 11 Jul 2014 17:28:53 +0000 (10:28 -0700)]
* Makefile.in (install-arch-indep): Avoid readdir race.

Fixes: debbugs:17971
9 years agoTweak previous log-edit-changelog-entries change
Glenn Morris [Thu, 10 Jul 2014 18:09:04 +0000 (14:09 -0400)]
Tweak previous log-edit-changelog-entries change

* lisp/vc/log-edit.el (log-edit-changelog-entries):
Check for a visited-but-never-saved ChangeLog.

9 years ago* lisp/vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
Stefan Monnier [Wed, 9 Jul 2014 18:54:06 +0000 (14:54 -0400)]
* lisp/vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
a non-existing file.

Fixes: debbugs:17970
9 years ago* lisp/faces.el (face-name): Undo last change.
Stefan Monnier [Wed, 9 Jul 2014 18:46:33 +0000 (14:46 -0400)]
* lisp/faces.el (face-name): Undo last change.
(x-resolve-font-name): Don't call face-name.

Fixes: debbugs:17956
9 years agoFix dedenters and electric colon handling.
Fabián Ezequiel Gallina [Wed, 9 Jul 2014 03:55:53 +0000 (00:55 -0300)]
Fix dedenters and electric colon handling.

* lisp/progmodes/python.el
(python-rx-constituents): Add dedenter and block-ender.
(python-indent-dedenters, python-indent-block-enders): Delete.
(python-indent-context): Return new case for dedenter-statement.
(python-indent-calculate-indentation): Handle new case.
(python-indent-calculate-levels): Fix levels calculation for
dedenter statements.
(python-indent-post-self-insert-function): Fix colon handling.
(python-info-dedenter-opening-block-message): New function.
(python-indent-line): Use it.
(python-info-closing-block)
(python-info-closing-block-message): Remove.
(python-info-dedenter-opening-block-position)
(python-info-dedenter-opening-block-positions)
(python-info-dedenter-statement-p): New functions.

* test/automated/python-tests.el
(python-indent-block-enders-1)
(python-indent-block-enders-2): Fix tests.
(python-indent-block-enders-3)
(python-indent-block-enders-4)
(python-indent-block-enders-5)
(python-indent-dedenters-1)
(python-indent-dedenters-2): Remove tests.
(python-indent-dedenters-1)
(python-indent-dedenters-2)
(python-indent-dedenters-3)
(python-indent-dedenters-4)
(python-indent-dedenters-5)
(python-indent-dedenters-6)
(python-indent-dedenters-7)
(python-info-dedenter-opening-block-position-1)
(python-info-dedenter-opening-block-position-2)
(python-info-dedenter-opening-block-position-3)
(python-info-dedenter-opening-block-positions-1)
(python-info-dedenter-opening-block-positions-2)
(python-info-dedenter-opening-block-positions-3)
(python-info-dedenter-opening-block-positions-4)
(python-info-dedenter-opening-block-positions-5)
(python-info-dedenter-opening-block-message-1)
(python-info-dedenter-opening-block-message-2)
(python-info-dedenter-opening-block-message-3)
(python-info-dedenter-opening-block-message-4)
(python-info-dedenter-opening-block-message-5)
(python-info-dedenter-statement-p-1)
(python-info-dedenter-statement-p-2)
(python-info-dedenter-statement-p-3)
(python-info-dedenter-statement-p-4)
(python-info-dedenter-statement-p-5): New tests.

Fixes: debbugs:15163
9 years ago* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
Stefan Monnier [Tue, 8 Jul 2014 18:38:07 +0000 (14:38 -0400)]
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
the middle of a line.

Fixes: debbugs:17896
9 years ago* doc/lispref/debugging.texi (Function Debugging, Debugger Commands):
Stefan Monnier [Tue, 8 Jul 2014 18:24:39 +0000 (14:24 -0400)]
* doc/lispref/debugging.texi (Function Debugging, Debugger Commands):
Update debug-on-entry w.r.t behavior after redefinitions.

Fixes: debbugs:17902
9 years agoFix bug #17969 with vertical-motion through continuation lines with TABs.
Eli Zaretskii [Tue, 8 Jul 2014 15:12:39 +0000 (18:12 +0300)]
Fix bug #17969 with vertical-motion through continuation lines with TABs.

 src/xdisp.c (move_it_to): Adjust calculation of line_start_x to what
 x_produce_glyphs does when it generates a stretch glyph that
 represents a TAB.

9 years ago* lisp/startup.el (command-line): Append displaying the warning about
Juri Linkov [Tue, 8 Jul 2014 09:17:09 +0000 (12:17 +0300)]
* lisp/startup.el (command-line): Append displaying the warning about
the errors in the init file to the end of `after-init-hook'.

Fixes: debbugs:17927
9 years ago* lisp/faces.el (face-name): Return input arg `face' as is
Juri Linkov [Tue, 8 Jul 2014 09:03:23 +0000 (12:03 +0300)]
* lisp/faces.el (face-name): Return input arg `face' as is
when it's not a symbol.
(x-resolve-font-name): Don't check if the face is a symbol.

Fixes: debbugs:17956
9 years ago* lisp/facemenu.el (list-colors-print): In help-echo format use %.2f
Juri Linkov [Tue, 8 Jul 2014 08:55:00 +0000 (11:55 +0300)]
* lisp/facemenu.el (list-colors-print): In help-echo format use %.2f
instead of %d because now HSV values are floating-point components
between 0.0 and 1.0.

9 years ago* cua-rect.el (cua--activate-rectangle): Avoid setting cua--rectangle to nil.
Glenn Morris [Sun, 6 Jul 2014 23:58:52 +0000 (16:58 -0700)]
* cua-rect.el (cua--activate-rectangle): Avoid setting cua--rectangle to nil.

Fixes: debbugs:17877
9 years ago* calendar/todo-mode.el: Fix wrong-type-argument error when
Stephen Berman [Sun, 6 Jul 2014 20:28:38 +0000 (22:28 +0200)]
* calendar/todo-mode.el: Fix wrong-type-argument error when
marking multiple consecutive items.
(todo-toggle-mark-item): Don't try to mark the empty lines at the
end of the todo and done items sections.  Note in doc string that
items marked by passing a numeric prefix argument can include the
last todo and first done items.
(todo-mark-category): Don't try to mark the empty line between the
todo and done items sections.

9 years ago* lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print result using
Stefan Monnier [Sat, 5 Jul 2014 19:11:59 +0000 (15:11 -0400)]
* lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print result using
proper Lisp quoting.

Fixes: debbugs:17934
9 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
Stefan Monnier [Sat, 5 Jul 2014 18:37:45 +0000 (14:37 -0400)]
* lisp/progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
require-final-newline since prog-mode already took care of it.

Fixes: debbugs:17947
9 years agosrc/xdisp.c (pos_visible_p): Fix inaccurate comment.
Eli Zaretskii [Sat, 5 Jul 2014 10:24:11 +0000 (13:24 +0300)]
src/xdisp.c (pos_visible_p): Fix inaccurate comment.

9 years agoFix bug #17944 with pos-visible-in-window-p when there's image at window start.
Eli Zaretskii [Sat, 5 Jul 2014 09:53:50 +0000 (12:53 +0300)]
Fix bug #17944 with pos-visible-in-window-p when there's image at window start.

 src/xdisp.c (pos_visible_p):  Fix condition for finding CHARPOS by the
 first call to move_it_to.

9 years agoA better fix for bug #17942.
Eli Zaretskii [Sat, 5 Jul 2014 08:24:07 +0000 (11:24 +0300)]
A better fix for bug #17942.

 src/xdisp.c (pos_visible_p): If CHARPOS is at beginning of window,
 and there is a display property at that position, don't call
 move_it_to to move to a position before window start.

9 years agoFix bug #17942 with pos-visible-in-window-p and image and BOB.
Eli Zaretskii [Sat, 5 Jul 2014 07:38:13 +0000 (10:38 +0300)]
Fix bug #17942 with pos-visible-in-window-p and image and BOB.

 src/xdisp.c (pos_visible_p): If CHARPOS is at BEGV, and there is a
 display property at BEGV, don't call move_it_to to move to a
 position before BEGV.

9 years ago* src/syntax.c (find_defun_start): Try the cache even
Stefan Monnier [Sat, 5 Jul 2014 02:17:14 +0000 (22:17 -0400)]
* src/syntax.c (find_defun_start): Try the cache even
if !open_paren_in_column_0_is_defun_start.
(back_comment): If find_defun_start was pessimistic, use the
scan_sexps_forward result to improve the cache.

Fixes: debbugs:16526
9 years ago* todo-mode.texi (Levels of Organization): Comment out statement
Stephen Berman [Fri, 4 Jul 2014 19:09:29 +0000 (21:09 +0200)]
* todo-mode.texi (Levels of Organization): Comment out statement
that Emacs recognizes todo files by their extension, since this
feature has been removed due to bug#17482.

9 years ago* calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
Stephen Berman [Fri, 4 Jul 2014 15:53:25 +0000 (17:53 +0200)]
* calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
refer to the Todo mode Info manual.  Update the comment on
requiring cl-lib.
(todo-find-filtered-items-file): Add todo-prefix overlays.
(todo-filter-items): Reorder a let-bound variable to avoid a
wrong-type-argument error on canceling the file choice dialog.

9 years agoBackport from trunk.
Jan Djärv [Fri, 4 Jul 2014 15:15:02 +0000 (17:15 +0200)]
Backport from trunk.
* xfns.c (create_frame_xic): Pass XNStatusAttributes to XCreateIC
only if xic_style calls for it.  This change allows Emacs to work
with ibus.  Also, don't leak resources if create_frame_xic fails,
and stop caching xic_style across different displays.
(supported_xim_styles): Make const.
(best_xim_style): Remove first parameter: it's always just
supported_xim_styles.  Change to look at supported_xim_styles
directly.

Fixes: debbugs:17928
9 years agoFix bug #17905 with display of point in partially visible line at end of window.
Eli Zaretskii [Fri, 4 Jul 2014 13:22:04 +0000 (16:22 +0300)]
Fix bug #17905 with display of point in partially visible line at end of window.

 src/xdisp.c (redisplay_window): If redisplay of a window ends up
 with point in a partially visible line at end of the window, make
 sure the amended position of point actually has smaller Y
 coordinate; if not, give up and scroll the display.
 src/window.c (window_scroll_pixel_based): When point ends up at the
 last fully visible line, don't let move_it_to stop at the left
 edge of the line and dupe us into thinking point is inside the
 scroll margin.

9 years agosrc/w32.c (network_interface_info): Make sure the argument is a Lisp string.
Eli Zaretskii [Fri, 4 Jul 2014 07:40:08 +0000 (10:40 +0300)]
src/w32.c (network_interface_info): Make sure the argument is a Lisp string.

9 years agoMinor updates in etc/TODO and etc/NEWS.
Eli Zaretskii [Fri, 4 Jul 2014 07:35:22 +0000 (10:35 +0300)]
Minor updates in etc/TODO and etc/NEWS.

 etc/TODO: Remove items that were already done.  Rearrange a few
 items that are closely related.  Update a couple of items with new
 information.
 etc/NEWS: Mention 'network-interface-list' and 'network-interface-info'
 being available on MS-Windows.

9 years ago* lisp/progmodes/octave.el (inferior-octave-mode):
Stefan Monnier [Fri, 4 Jul 2014 01:35:23 +0000 (21:35 -0400)]
* lisp/progmodes/octave.el (inferior-octave-mode):
Set comint-input-ring-size to a number.

Fixes: debbugs:17912
9 years ago* doc/emacs/search.texi (Regexp Search): Update lax space matching that is
Juri Linkov [Thu, 3 Jul 2014 23:52:42 +0000 (02:52 +0300)]
* doc/emacs/search.texi (Regexp Search): Update lax space matching that is
not active in regexp search by default now.

Fixes: debbugs:17901
9 years ago* lisp/desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
Juri Linkov [Thu, 3 Jul 2014 23:48:24 +0000 (02:48 +0300)]
* lisp/desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
and `isearch-mode' associated with nil.

Fixes: debbugs:17849
9 years ago* etc/NEWS: Fix description of incompatible change in `read-char'.
Stefan Monnier [Thu, 3 Jul 2014 16:29:22 +0000 (12:29 -0400)]
* etc/NEWS: Fix description of incompatible change in `read-char'.

9 years ago* lisp/desktop.el (desktop-save): Rename arg `auto-save' to `only-if-changed'.
Juri Linkov [Wed, 2 Jul 2014 23:45:12 +0000 (02:45 +0300)]
* lisp/desktop.el (desktop-save): Rename arg `auto-save' to `only-if-changed'.
Doc fix.

Fixes: debbugs:17873
9 years ago* mouse.el (mouse-yank-primary, mouse-yank-secondary): Use insert-for-yank.
Stefan Monnier [Wed, 2 Jul 2014 14:42:00 +0000 (10:42 -0400)]
* mouse.el (mouse-yank-primary, mouse-yank-secondary): Use insert-for-yank.

Fixes: debbugs:17271
9 years ago* emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
Leo Liu [Wed, 2 Jul 2014 05:05:50 +0000 (13:05 +0800)]
* emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
Support lexical-binding.

9 years agosrc/dispnew.c: Fix a typo in a comment.
Eli Zaretskii [Tue, 1 Jul 2014 18:00:29 +0000 (21:00 +0300)]
src/dispnew.c: Fix a typo in a comment.

9 years agoFix bug #17892 with mode/header line and display margins.
Eli Zaretskii [Tue, 1 Jul 2014 17:07:24 +0000 (20:07 +0300)]
Fix bug #17892 with mode/header line and display margins.

 src/dispnew.c (prepare_desired_row): Accept 2 additional arguments:
 the window whose glyph row is being prepared and a flag whether it
 is for mode/header line.  Make sure the glyph row's marginal areas
 are in sync with what the window wants.
 src/xdisp.c (display_line, display_mode_line): Call
 prepare_desired_row with additional arguments, as appropriate.
 src/dispextern.h (prepare_desired_row): Adjust prototype.
 src/window.h: Improve commentary of the marginal columns.

10 years ago* lisp/vc/log-edit.el (log-edit-goto-eoh): New function.
Stefan Monnier [Tue, 1 Jul 2014 15:15:03 +0000 (11:15 -0400)]
* lisp/vc/log-edit.el (log-edit-goto-eoh): New function.
(log-edit--match-first-line): Use it.

Fixes: debbugs:17861
10 years agoFix ChangeLog entry
Dmitry Antipov [Tue, 1 Jul 2014 14:51:26 +0000 (18:51 +0400)]
Fix ChangeLog entry

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Tue, 1 Jul 2014 11:19:31 +0000 (07:19 -0400)]
Auto-commit of loaddefs files.

10 years ago* menu.c (Fx_popup_dialog): Set Vmenu_updating_frame to avoid crash
Dmitry Antipov [Tue, 1 Jul 2014 08:07:32 +0000 (12:07 +0400)]
* menu.c (Fx_popup_dialog): Set Vmenu_updating_frame to avoid crash
caused by xw_popup_dialog in daemon mode (Bug#17891).

10 years ago* xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889).
Dmitry Antipov [Tue, 1 Jul 2014 07:30:33 +0000 (11:30 +0400)]
* xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889).

10 years ago* lisp/vc/log-edit.el (log-edit-hook): Add missing :version.
Glenn Morris [Tue, 1 Jul 2014 07:00:46 +0000 (00:00 -0700)]
* lisp/vc/log-edit.el (log-edit-hook): Add missing :version.

10 years ago* lisp/progmodes/python.el (python-indent-post-self-insert-function):
Fabián Ezequiel Gallina [Tue, 1 Jul 2014 03:54:11 +0000 (00:54 -0300)]
* lisp/progmodes/python.el (python-indent-post-self-insert-function):
Enhancements to electric indentation behavior inside
parens.

* test/automated/python-tests.el
(python-tests-self-insert): New function.
(python-triple-quote-pairing): Use it.
(python-util-forward-comment-1): New test. (Bug#17658)

10 years ago* lisp/ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
Stefan Monnier [Tue, 1 Jul 2014 02:25:52 +0000 (22:25 -0400)]
* lisp/ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
buffer-invisibility-spec.

Fixes: debbugs:17867
10 years agoFix bug #17875 with changing TTY frame size, then selecting new frame.
Eli Zaretskii [Mon, 30 Jun 2014 16:45:38 +0000 (19:45 +0300)]
Fix bug #17875 with changing TTY frame size, then selecting new frame.

 src/frame.c (do_switch_frame): When switching to another TTY frame,
 make sure FrameCols and FrameRows are in sync with the new frame's
 data.

10 years ago* vc/vc-git.el (vc-git-checkin): When operating on the whole tree
Andreas Schwab [Sun, 29 Jun 2014 20:48:55 +0000 (22:48 +0200)]
* vc/vc-git.el (vc-git-checkin): When operating on the whole tree
pass "-a".

10 years agoDoc and comment fixes re "online" help
Glenn Morris [Sun, 29 Jun 2014 02:33:50 +0000 (19:33 -0700)]
Doc and comment fixes re "online" help

* doc/emacs/help.texi (Misc Help):
* doc/emacs/trouble.texi (Checklist):
* doc/lispintro/emacs-lisp-intro.texi (Note for Novices, Finding More)
(Conclusion):
* doc/lispref/help.texi (Help Functions):
* doc/misc/info.texi, doc/misc/mh-e.texi:
* etc/refcards/calccard.tex (section{Getting Help}):
* lisp/cus-edit.el (help):
* lisp/finder.el (finder-known-keywords):
* lisp/help.el (help-for-help-internal):
* lisp/vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
(ediff-redraw-registry-buffer):
* lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
Doc fixes re "online" help.

Fixes: debbugs:17803
10 years agoUpdate idlwave url
Glenn Morris [Sun, 29 Jun 2014 02:17:17 +0000 (19:17 -0700)]
Update idlwave url

* doc/misc/idlwave.texi (Introduction): Comment out dead http screenshot links.

* lisp/progmodes/idlwave.el (idlwave): Update url-link for custom group.
(idlwave-mode): Doc URL update.

10 years agoFixes: debbugs:17865
Andreas Schwab [Sat, 28 Jun 2014 07:24:01 +0000 (09:24 +0200)]
Fixes: debbugs:17865
* coding.c (encode_coding_utf_8): Correctly count produced_chars
also in unibyte case.

10 years ago* calc-test.el: Set copyright to FSF; standardize permissions notice
Glenn Morris [Sat, 28 Jun 2014 03:11:24 +0000 (20:11 -0700)]
* calc-test.el: Set copyright to FSF; standardize permissions notice

10 years ago* test/automated/calc-tests.el: New file and add tests for math-bignum.
Leo Liu [Sat, 28 Jun 2014 02:15:13 +0000 (10:15 +0800)]
* test/automated/calc-tests.el: New file and add tests for math-bignum.

Fixes: debbugs:17556
10 years ago* automated/dbus-tests.el (dbus--test-register-service)
Michael Albinus [Fri, 27 Jun 2014 18:20:21 +0000 (20:20 +0200)]
* automated/dbus-tests.el (dbus--test-register-service)
(dbus-test02-register-service-session): Replace `dbus-ping' calls
by `dbus-list-known-names'.

Fixes: debbugs:17858
10 years ago* calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
Stephen Berman [Fri, 27 Jun 2014 15:15:30 +0000 (17:15 +0200)]
* calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
account for file-wide setting of todo-top-priorities-overrides.
Make code a bit cleaner.

10 years agoRegenerate ldefs-boot.el emacs-24.3.92
Glenn Morris [Fri, 27 Jun 2014 05:53:13 +0000 (22:53 -0700)]
Regenerate ldefs-boot.el

10 years agoBackport fix for http://debbugs.gnu.org/17556 from trunk
Leo Liu [Fri, 27 Jun 2014 04:10:04 +0000 (12:10 +0800)]
Backport fix for http://debbugs.gnu.org/17556 from trunk

* lisp/calc/calc.el (math-bignum): Handle most-negative-fixnum.

10 years ago* lisp/net/eww.el (eww-mode) <eww-current-title>: Make local.
Glenn Morris [Fri, 27 Jun 2014 00:48:34 +0000 (20:48 -0400)]
* lisp/net/eww.el (eww-mode) <eww-current-title>: Make local.

Fixes: debbugs:17860
10 years agoChangeLog fix (no need to merge to trunk)
Glenn Morris [Fri, 27 Jun 2014 00:34:42 +0000 (20:34 -0400)]
ChangeLog fix (no need to merge to trunk)

Since the change was just quickly reverting a change that does not
have a ChangeLog entry of its own, it's confusing and unnecessary for
the reversion to have a ChangeLog entry.

10 years ago* etc/publicsuffix.txt: Update from source.
Glenn Morris [Fri, 27 Jun 2014 00:33:00 +0000 (20:33 -0400)]
* etc/publicsuffix.txt: Update from source.

* lisp/url/url-domsuf.el: Update example comments.

10 years ago* calendar/todo-mode.el (todo-prefix-overlays): If there is no
Stephen Berman [Thu, 26 Jun 2014 19:22:08 +0000 (21:22 +0200)]
* calendar/todo-mode.el (todo-prefix-overlays): If there is no
category-wide setting of todo-top-priorities-overrides, check for
a file-wide setting and fontify accordingly.

10 years agoWarn about read-passwd in batch mode
Glenn Morris [Thu, 26 Jun 2014 19:00:42 +0000 (15:00 -0400)]
Warn about read-passwd in batch mode

* doc/lispref/minibuf.texi (Intro to Minibuffers): Batch mode is basic.
(Reading a Password): Mention batch mode.

* lisp/subr.el (read-passwd): Warn about batch mode.

Fixes: debbugs:17839
10 years ago* lisp/emacs-lisp/package.el (package--check-signature): (backport)
Daiki Ueno [Thu, 26 Jun 2014 13:47:37 +0000 (09:47 -0400)]
* lisp/emacs-lisp/package.el (package--check-signature): (backport)
If package-check-signature is allow-unsigned, don't signal error when
we can't verify signature because of missing public key.

Fixes: debbugs:17625
10 years ago* lisp/progmodes/hideif.el: Undo last change which should only go to trunk
Stefan Monnier [Thu, 26 Jun 2014 13:40:49 +0000 (09:40 -0400)]
* lisp/progmodes/hideif.el: Undo last change which should only go to trunk
(do not merge).

10 years agoRegenerate etc/AUTHORS
Glenn Morris [Thu, 26 Jun 2014 06:51:30 +0000 (23:51 -0700)]
Regenerate etc/AUTHORS

10 years agoBump version to 24.3.92
Glenn Morris [Thu, 26 Jun 2014 06:48:25 +0000 (23:48 -0700)]
Bump version to 24.3.92

10 years agoRemove some function declarations, no longer needed or correct
Glenn Morris [Thu, 26 Jun 2014 06:43:39 +0000 (23:43 -0700)]
Remove some function declarations, no longer needed or correct

* lisp/emacs-lisp/cl-macs.el (help-add-fundoc-usage):
* lisp/gnus/mm-util.el (help-function-arglist):
Remove outdated declarations.

10 years agoHideIfDef mode bug fixes and enhancements. This is #2 of 3 patches based
Luke Lee [Thu, 26 Jun 2014 05:47:33 +0000 (13:47 +0800)]
HideIfDef mode bug fixes and enhancements. This is #2 of 3 patches based
on the completed work posted on http://www.emacswiki.org/emacs/HideIfDef.

- Supporting argumented macro expansion.
- Stringification, tokenization and concatenation of strings and tokens.
- Add functions to find defines and parse argumented macros into a macro
  tree containing macro name, formal parameters and macro body.
- On macro evaluation, macros will be applied with actual parameters and
  then got expanded recursively.
- Merge main trunk changes

* lisp/progmodes/hideif.el (hif-string-to-number): Merge changes from
main trunk.
(hif-simple-token-only, hif-tokenize): Commentted in detail mainly for
performance enhancements.
(hif-parse-if-exp): Rename to `hif-parse-exp'. Enhanced for macro
expansion.
(hif-factor, hif-string-concatenation, intern-safe): Support string
concatenation and argumented macro expansion.
(hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
(hif-expand-token-list, hif-get-argument-list, hif-define-macro)
(hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
(hif-canonicalize-tokens, hif-looking-at-elif, hif-place-macro-invocation)
(hif-parse-macro-arglist): Mostly new functions for supporting argumented
macro expansion.
(hif-string-concatenation, hif-stringify, hif-token-concat)
(hif-token-stringification, hif-token-concatenation): Stringify and
concatentation.
(hif-find-next-relevant): Fix comments
(hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
some cases involving #elif.
(hif-find-define, hif-add-new-defines): New functions for automatically
scanning of defined symbols.
(hide-ifdef-guts): Fix for auto defined symbol scanning.
(hide-ifdef-undef): Fix behavior to match CPP.

10 years agoFix last change
Leo Liu [Thu, 26 Jun 2014 04:27:18 +0000 (12:27 +0800)]
Fix last change

10 years ago* lisp/url/url-handlers.el (url-http-parse-response): Remove unused autoload.
Leo Liu [Thu, 26 Jun 2014 04:00:56 +0000 (12:00 +0800)]
* lisp/url/url-handlers.el (url-http-parse-response): Remove unused autoload.
(url-insert-file-contents): Condition on url-http-response-status
for the HTTP/S specific part.

* lisp/url/url-http.el (url-http-end-of-headers): Remove duplicate defvar.

Fixes: debbugs:17549
10 years agoauthors.el: Add some renamed/moved files
Glenn Morris [Thu, 26 Jun 2014 00:36:58 +0000 (20:36 -0400)]
authors.el: Add some renamed/moved files

* lisp/emacs-lisp/authors.el (authors-valid-file-names)
(authors-renamed-files-alist): Additions.

10 years agoChangeLog fixes.
Glenn Morris [Thu, 26 Jun 2014 00:34:54 +0000 (20:34 -0400)]
ChangeLog fixes.
Not sure how M-x authors missed these so far...

10 years agoFix a few packages to work with nil tab-stop-list
Leo Liu [Wed, 25 Jun 2014 23:53:37 +0000 (07:53 +0800)]
Fix a few packages to work with nil tab-stop-list

* indent.el (indent-accumulate-tab-stops): New function.

* textmodes/picture.el (picture-set-tab-stops):
* ruler-mode.el (ruler-mode-mouse-add-tab-stop)
(ruler-mode-ruler): Fix to work with nil tab-stop-list.

* progmodes/asm-mode.el (asm-calculate-indentation): Use
indent-next-tab-stop.

10 years ago* test/automated/package-test.el (package-test-update-listing)
Stefan Monnier [Wed, 25 Jun 2014 21:59:28 +0000 (17:59 -0400)]
* test/automated/package-test.el (package-test-update-listing)
(package-test-update-archives, package-test-describe-package):
Adjust tests according to new package-list-unsigned.

10 years agoChangeLog fix
Glenn Morris [Wed, 25 Jun 2014 20:48:41 +0000 (16:48 -0400)]
ChangeLog fix

10 years ago* src/puresize.h (BASE_PURESIZE): Add 1%, for safety.
Glenn Morris [Wed, 25 Jun 2014 20:26:01 +0000 (16:26 -0400)]
* src/puresize.h (BASE_PURESIZE): Add 1%, for safety.

10 years ago* src/puresize.h (BASE_PURESIZE): Bump by another 1K.
Glenn Morris [Wed, 25 Jun 2014 19:18:49 +0000 (15:18 -0400)]
* src/puresize.h (BASE_PURESIZE): Bump by another 1K.

Fixes: debbugs:17846
10 years ago* lisp/emacs-lisp/package.el (package-list-unsigned): New var.
Stefan Monnier [Wed, 25 Jun 2014 17:20:08 +0000 (13:20 -0400)]
* lisp/emacs-lisp/package.el (package-list-unsigned): New var.
(package-desc-status): Obey it.

Fixes: debbugs:17625
10 years ago* calendar/todo-mode.el: Fix two bugs.
Stephen Berman [Wed, 25 Jun 2014 12:06:00 +0000 (14:06 +0200)]
* calendar/todo-mode.el: Fix two bugs.
(todo-insert-item--basic): If user cancels item insertion to
another category before setting priority, show original category
whether it is in the same or a different file.
(todo-set-item-priority): After selecting category, instead of
moving point to top, which extends an active region, restore it.

10 years ago* lisp/help-fns.el (describe-function-1): Check file-name is a string before
Stefan Monnier [Wed, 25 Jun 2014 00:48:10 +0000 (20:48 -0400)]
* lisp/help-fns.el (describe-function-1): Check file-name is a string before
calling help-fns--autoloaded-p.

Fixes: debbugs:17564
10 years ago* lisp/desktop.el (desktop-auto-save-enable)
Juri Linkov [Tue, 24 Jun 2014 23:23:41 +0000 (02:23 +0300)]
* lisp/desktop.el (desktop-auto-save-enable)
(desktop-auto-save-disable): New functions.
(desktop-save-mode, desktop-auto-save-timeout): Use them.
(desktop-read): Disable the autosave before loading the desktop,
and enable afterwards.

Fixes: debbugs:17351
10 years agoFix some indentation problem with \; and pipes.
Stefan Monnier [Tue, 24 Jun 2014 20:16:10 +0000 (16:16 -0400)]
Fix some indentation problem with \; and pipes.
* lisp/progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
(sh-smie--default-forward-token, sh-smie--default-backward-token):
New functions.
(sh-smie-sh-forward-token, sh-smie-sh-backward-token)
(sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
(sh-smie-sh-rules): Fix indentation of a pipe at BOL.

Fixes: debbugs:17842
10 years agoadmin/notes/unicode: Some notes about what to do when a new Unicode version is imported.
Eli Zaretskii [Tue, 24 Jun 2014 16:58:06 +0000 (19:58 +0300)]
admin/notes/unicode: Some notes about what to do when a new Unicode version is imported.

10 years agoBackport Unicode 7 update of character- and script-related databases
Eli Zaretskii [Tue, 24 Jun 2014 07:10:47 +0000 (00:10 -0700)]
Backport Unicode 7 update of character- and script-related databases

* lisp/international/characters.el (char-script-table):
Update for scripts added and codepoint ranges changed in Unicode 7.0.

* lisp/international/fontset.el (script-representative-chars):
Add representative characters for scripts added in Unicode 7.0.
(otf-script-alist): Synchronize with the latest registry of OTF script tags.

10 years agoBackport unicode 7.0 data files update from trunk
Glenn Morris [Tue, 24 Jun 2014 07:07:03 +0000 (00:07 -0700)]
Backport unicode 7.0 data files update from trunk

* admin/unidata/BidiMirroring.txt: Update to 7.0.0 (only comment changes).

* admin/unidata/UnicodeData.txt: Update to 7.0.0.

* admin/unidata/IVD_Sequences.txt: Update to 2014-05-16 version.

10 years ago* align.el (align-adjust-col-for-rule): Unbreak due to defaulting
Leo Liu [Mon, 23 Jun 2014 23:09:20 +0000 (07:09 +0800)]
* align.el (align-adjust-col-for-rule): Unbreak due to defaulting
tab-stop-list to nil.

* indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
(indent-rigidly-left-to-tab-stop)
(indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
(move-to-tab-stop): Change callers.

Fixes: debbugs:16381
10 years ago* doc/misc/dired-x.texi (Omitting Files in Dired, Omitting Variables): Fix
Leo Liu [Mon, 23 Jun 2014 07:38:07 +0000 (15:38 +0800)]
* doc/misc/dired-x.texi (Omitting Files in Dired, Omitting Variables): Fix
key binding to dired-omit-mode.

Fixes: debbugs:16354
10 years ago* html2text.el (html2text-get-attr): Rewrite to handle spaces in quoted
Andreas Schwab [Sun, 22 Jun 2014 21:14:43 +0000 (23:14 +0200)]
* html2text.el (html2text-get-attr): Rewrite to handle spaces in quoted
attribute values.  (Bug#17834)

10 years agoMore tweaks of skeleton documentation wrt \n behavior at bol/eol.
Eli Zaretskii [Sun, 22 Jun 2014 16:59:30 +0000 (19:59 +0300)]
More tweaks of skeleton documentation wrt \n behavior at bol/eol.

 lisp/skeleton.el (skeleton-insert): Yet another fix of the doc string
 wrt behavior of \n as the first/last element of a skeleton.

 doc/misc/autotype.texi (Skeleton Language): Document the \n feature
 better.

10 years ago* net/tramp-adb.el (tramp-adb-handle-process-file):
Michael Albinus [Sun, 22 Jun 2014 09:20:38 +0000 (11:20 +0200)]
* net/tramp-adb.el (tramp-adb-handle-process-file):
* net/tramp-sh.el (tramp-sh-handle-process-file):
* net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
the output buffer when DISPLAY is non-nil.

Fixes: debbugs:17815
10 years ago* landmark.el: Commentary fixes.
Glenn Morris [Sat, 21 Jun 2014 21:36:44 +0000 (14:36 -0700)]
* landmark.el: Commentary fixes.

10 years agoFix landmark, broken since Emacs 23.1
Glenn Morris [Sat, 21 Jun 2014 21:21:46 +0000 (14:21 -0700)]
Fix landmark, broken since Emacs 23.1

* play/landmark.el (landmark-move-down, landmark-move-up):
Fix 2007-10-20 change - preserve horizontal position.

10 years agoChangeLog fix (no need to merge to trunk)
Glenn Morris [Sat, 21 Jun 2014 19:46:57 +0000 (12:46 -0700)]
ChangeLog fix (no need to merge to trunk)

10 years agodoc/misc/autotype.texi (Skeleton Language): Fix last change.
Eli Zaretskii [Sat, 21 Jun 2014 15:08:18 +0000 (18:08 +0300)]
doc/misc/autotype.texi (Skeleton Language): Fix last change.