]> git.eshelyaron.com Git - emacs.git/log
emacs.git
10 years agoHideIfDef mode bug fixes and enhancements. This is #3 of 3 patches based
Luke Lee [Mon, 7 Jul 2014 08:59:32 +0000 (16:59 +0800)]
HideIfDef mode bug fixes and enhancements. This is #3 of 3 patches based
on the completed work posted on http://www.emacswiki.org/emacs/HideIfDef.

- Add macro evaluation function and key binding for a marked region.
- Merge continuous "..." lines into one.
- Fix old hideif bugs that fail to hide the correct #elif regions
- Support hide/show commands in a marked region.
- Expand top level for .h files to prevent re-inclusion protection.
- Change maintainer.

* lisp/progmodes/hideif.el (hide-ifdef-env): Change to global.
(hide-ifdef-env-backup): New variable.
(hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
New customizable variables.
(hif-clear-all-ifdef-defined): New defun.
(hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
(hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
(hif-tokenize): Fix for MS-DOS/Win EOL style.
(hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
Fix bug to hide the correct #elif region(s).
(hif-range-elif): New defun.
(hif-recurse-level): New var.
(hif-evaluate-region, hif-evaluate-macro): New defun.
(hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
fully hidden.
(hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
Better interaction.

10 years agolisp/gnus/gnus-start.el (gnus-dribble-read-file): Don't stop auto-saving
Katsumi Yamaoka [Mon, 7 Jul 2014 05:47:59 +0000 (05:47 +0000)]
lisp/gnus/gnus-start.el (gnus-dribble-read-file): Don't stop auto-saving

10 years agomerge trunk
Kenichi Handa [Sat, 5 Jul 2014 14:07:57 +0000 (23:07 +0900)]
merge trunk

10 years ago* automated/dbus-tests.el (dbus-test02-register-service-session)
Michael Albinus [Fri, 4 Jul 2014 10:07:45 +0000 (12:07 +0200)]
* automated/dbus-tests.el (dbus-test02-register-service-session)
(dbus-test02-register-service-system): Fix docstring.
(dbus-test02-register-service-own-bus)
(dbus-test03-peer-interface): New tests.

10 years agoFix Bug#17858
Michael Albinus [Fri, 4 Jul 2014 10:03:14 +0000 (12:03 +0200)]
Fix Bug#17858

* net/dbus.el (dbus-peer-handler): New defun.
(dbus-register-service): Register it.
(dbus-managed-objects-handler): Fix docstring.

10 years ago* font.h (struct font_driver): Remove get_outline and free_outline;
Dmitry Antipov [Fri, 4 Jul 2014 02:28:54 +0000 (06:28 +0400)]
* font.h (struct font_driver): Remove get_outline and free_outline;
not used by any font driver.
* ftfont.c (ftfont_driver):
* macfont.m (macfont_driver):
* nsfont.m (nsfont_driver):
* w32font.c (w32font_driver):
* w32uniscribe.c (uniscribe_font_driver):
* xfont.c (xfont_driver): Related users changed.
* xselect.c (x_get_window_property): Use convenient xmalloc.
Call to xfree only if some data was really allocated.

10 years ago* lisp/emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
Phil Sainty [Fri, 4 Jul 2014 02:00:54 +0000 (22:00 -0400)]
* lisp/emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
(narrow-to-defun): New arg include-comments, defaulting to it.

Fixes: debbugs:16328
10 years ago* lisp/rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
Stefan Monnier [Thu, 3 Jul 2014 22:22:42 +0000 (18:22 -0400)]
* lisp/rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
different calling convention to rectangle--unhighlight-for-redisplay.

10 years agoOn MS-Windows, display busy cursor on all GUI frames.
Dmitry Antipov [Thu, 3 Jul 2014 18:12:41 +0000 (22:12 +0400)]
On MS-Windows, display busy cursor on all GUI frames.
This is similar to what we have on X.  Quickly tested by Dani Moncayo.
* w32fns.c (toplevel): Remove hourglass_hwnd; no longer used.
(w32_show_hourglass, w32_hide_hourglass, w32_note_current_window):
Likewise.
(hide_hourglass, show_hourglass): Redesign to match X counterparts.
* xdisp.c (start_hourglass): Remove Windows-specific bits.

10 years agoFix nick duplication in format-@nick
Kelvin White [Thu, 3 Jul 2014 12:30:26 +0000 (08:30 -0400)]
Fix nick duplication in format-@nick

10 years agoUse convenient alists to manage per-frame font driver-specific data.
Dmitry Antipov [Thu, 3 Jul 2014 12:20:00 +0000 (16:20 +0400)]
Use convenient alists to manage per-frame font driver-specific data.
* frame.h (struct frame): Rename font_data_list to...
[HAVE_XFT || HAVE_FREETYPE]: ... font_data, which is a Lisp_Object now.
* font.h (struct font_data_list): Remove; no longer need a special
data type.
(font_put_frame_data, font_get_frame_data) [HAVE_XFT || HAVE_FREETYPE]:
Adjust prototypes.
* font.c (font_put_frame_data, font_get_frame_data)
[HAVE_XFT || HAVE_FREETYPE]: Prefer alist functions to ad-hoc list
management.
* xftfont.c (xftfont_get_xft_draw, xftfont_end_for_frame):
Related users changed.
* ftxfont.c (ftxfont_get_gcs, ftxfont_end_for_frame): Likewise.
Prefer convenient xmalloc and xfree.

10 years ago* net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
Michael Albinus [Thu, 3 Jul 2014 09:27:02 +0000 (11:27 +0200)]
* net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.

* net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
(tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.

* net/tramp.el (tramp-call-process): Handle error strings.

* net/trampver.el: Update release number.

10 years ago* trampver.texi: Update release number.
Michael Albinus [Thu, 3 Jul 2014 09:10:05 +0000 (11:10 +0200)]
* trampver.texi: Update release number.

10 years agoMerge from emacs-24; up to 2014-06-15T04:52:34Z!eli@barzilay.org
Glenn Morris [Thu, 3 Jul 2014 06:00:53 +0000 (23:00 -0700)]
Merge from emacs-24; up to 2014-06-15T04:52:34Z!eli@barzilay.org

10 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
10 years ago* lisp.h (toplevel): Add compile-time assert to verify suitable member layout
Dmitry Antipov [Wed, 2 Jul 2014 15:22:49 +0000 (19:22 +0400)]
* lisp.h (toplevel): Add compile-time assert to verify suitable member layout
in Lisp_Sub_Char_Table.

10 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
10 years ago* print.c (print_object): Adjust to match new layout of sub char-table
Dmitry Antipov [Wed, 2 Jul 2014 14:00:41 +0000 (18:00 +0400)]
* print.c (print_object): Adjust to match new layout of sub char-table
(Bug#17898).

10 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.

10 years ago* lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp): Add the
Luke Lee [Wed, 2 Jul 2014 04:25:21 +0000 (12:25 +0800)]
* lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp): Add the
forgotten :version "24.5".

10 years agoShrink Lisp_Sub_Char_Table by preferring C integers to Lisp_Objects.
Dmitry Antipov [Wed, 2 Jul 2014 03:26:19 +0000 (07:26 +0400)]
Shrink Lisp_Sub_Char_Table by preferring C integers to Lisp_Objects.
* lisp.h (struct Lisp_Sub_Char_Table): Use C integers for depth and
min_char slots.  Adjust comment.
(enum char_table_specials): Rename from CHAR_TABLE_STANDARD_SLOTS.
Add SUB_CHAR_TABLE_OFFSET member.
(make_uninit_sub_char_table): New function.
* alloc.c (mark_char_table): Add extra argument to denote char table
subtype.  Adjust to match new layout of sub char-table.
(mark_object): Always mark sub char-tables with mark_char_table.
* chartab.c (make_sub_char_table, copy_sub_char_table)
(sub_char_table_ref, sub_char_table_ref_and_range, sub_char_table_set)
(sub_char_table_set_range, optimize_sub_char_table, map_sub_char_table)
(map_sub_char_table_for_charset, uniprop_table_uncompress):
All related users changed.
* lread.c (read1): Adjust to match new layout of sub char-table.

10 years ago* doc/lispref/keymaps.texi (Key Lookup): Remove mention of indirect entries.
Stefan Monnier [Wed, 2 Jul 2014 01:49:31 +0000 (21:49 -0400)]
* doc/lispref/keymaps.texi (Key Lookup): Remove mention of indirect entries.
(Scanning Keymaps): Reword the `noindirect' argument.
* src/keymap.c (get_keyelt): Simplify.
(copy_keymap_item): Remove left-over code for when we had
key-shortcut caches.

10 years ago* lisp/man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
Juri Linkov [Wed, 2 Jul 2014 00:57:53 +0000 (03:57 +0300)]
* lisp/man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
for the message about the man page cleaned up.

10 years agoDisplay man pages immediately and use process-filter to format them asynchronously.
Juri Linkov [Tue, 1 Jul 2014 23:54:59 +0000 (02:54 +0300)]
Display man pages immediately and use process-filter to format them asynchronously.
* lisp/man.el (Man-width): Doc fix.
(man): Doc fix.
(Man-start-calling): Use `with-selected-window' to get
`frame-width' and `window-width'.
(Man-getpage-in-background): Call `Man-notify-when-ready'
immediately after creating a new buffer.  Call `Man-mode' and set
`mode-line-process' in the created buffer.  Set process-filter to
`Man-bgproc-filter' in start-process branch.  In call-process branch
call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
Use `Man-start-calling' inside `with-current-buffer'.
(Man-fontify-manpage): Don't print messages.  Fix boundary condition.
(Man-cleanup-manpage): Don't print messages.
(Man-bgproc-filter): New function.
(Man-bgproc-sentinel): Add `save-excursion' to keep point when
user moved it during asynchronous formatting.  Move calls of
`Man-fontify-manpage' and `Man-cleanup-manpage' to
`Man-bgproc-filter'.  Move the call of `Man-mode' to
`Man-getpage-in-background'.  Use `quit-restore-window'
instead of `kill-buffer'.  Use `message' instead of `error'
because errors are catched by process sentinel.
(Man-mode): Move calls of `Man-build-page-list',
`Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
`Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)

10 years ago* net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
Mario Lang [Tue, 1 Jul 2014 18:48:24 +0000 (20:48 +0200)]
* net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
customization option `gnutls-verify-error.

10 years ago* lisp/simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
Stefan Monnier [Tue, 1 Jul 2014 18:13:28 +0000 (14:13 -0400)]
* lisp/simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
Don't keep transient-mark-mode buffer-local when not needed.

Fixes: debbugs:6316
10 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.

10 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/xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
Stefan Monnier [Tue, 1 Jul 2014 16:10:02 +0000 (12:10 -0400)]
* lisp/xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
(turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
is suspended.

Fixes: debbugs:17857
10 years agomerge trunk
Kenichi Handa [Tue, 1 Jul 2014 15:34:58 +0000 (00:34 +0900)]
merge trunk

10 years ago* coding.c (MIN_CHARBUF_SIZE): Delete it.
Kenichi Handa [Tue, 1 Jul 2014 15:31:59 +0000 (00:31 +0900)]
* coding.c (MIN_CHARBUF_SIZE): Delete it.
(MAX_CHARBUF_EXTRA_SIZE): New macro.
(ALLOC_CONVERSION_WORK_AREA): Use MAX_CHARBUF_EXTRA_SIZE.

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 ago* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Michael Albinus [Tue, 1 Jul 2014 14:06:11 +0000 (16:06 +0200)]
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Prefer utf-8 coding.  (Bug#17859)

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 agoAuto-commit of loaddefs files.
Glenn Morris [Tue, 1 Jul 2014 10:18:16 +0000 (06:18 -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 ago* lisp/emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
Fabián Ezequiel Gallina [Mon, 30 Jun 2014 20:17:17 +0000 (17:17 -0300)]
* lisp/emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
for `reverse'.

10 years agoChangelog, NEWS and Copyright fixes.
Fabián Ezequiel Gallina [Mon, 30 Jun 2014 19:58:56 +0000 (16:58 -0300)]
Changelog, NEWS and Copyright fixes.

10 years agoFix use of deallocated memory.
Jan Djärv [Mon, 30 Jun 2014 18:44:56 +0000 (20:44 +0200)]
Fix use of deallocated memory.

* nsterm.h (EmacsScroller): Remove dealloc.

* nsterm.m (judge): EmacsScroller: Move dealloc code here.
(dealloc): Remove for EmacsScroller.

10 years agoGet rid of the AUTOGEN_VCS variable in lisp/Makefile
Glenn Morris [Mon, 30 Jun 2014 18:26:34 +0000 (14:26 -0400)]
Get rid of the AUTOGEN_VCS variable in lisp/Makefile

* lisp/emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
(autoload-ensure-default-file): Maybe make existing output writable.

* lisp/Makefile.in (AUTOGEN_VCS): Remove.
(autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.

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 agoFix bug #17881 with infloop in decoding emacs-mule encoded text.
Eli Zaretskii [Mon, 30 Jun 2014 15:39:29 +0000 (18:39 +0300)]
Fix bug #17881 with infloop in decoding emacs-mule encoded text.

 src/coding.c (MIN_CHARBUF_SIZE): Enlarge to 32.

10 years agoRemove unnecessary redisplays in NS port.
Jan Djärv [Mon, 30 Jun 2014 12:38:09 +0000 (14:38 +0200)]
Remove unnecessary redisplays in NS port.

* nsmenu.m (update_frame_tool_bar): Set wait_for_tool_bar to NO
when setNeedsDisplay is called so we don't trigger redisplay for every
tool bar update.

* nsterm.m (any_help_event_p): New variable.
(mouseMoved:): Set any_help_event_p to YES if help event is
generated.  Remove else with empty help event that triggered redisplay
for every mouse move.
(windowDidResignKey:): If any_help_event_p, generate empty help
event.

10 years ago* lisp/emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
Fabián Ezequiel Gallina [Mon, 30 Jun 2014 04:54:46 +0000 (01:54 -0300)]
* lisp/emacs-lisp/subr-x.el (string-reverse): Use `reverse'.

10 years agoNew if-let, when-let, thread-first and thread-last macros.
Fabián Ezequiel Gallina [Mon, 30 Jun 2014 04:11:43 +0000 (01:11 -0300)]
New if-let, when-let, thread-first and thread-last macros.

* lisp/emacs-lisp/subr-x.el
(internal--listify, internal--check-binding)
(internal--build-binding-value-form, internal--build-binding)
(internal--build-bindings): New functions.
(internal--thread-argument, thread-first, thread-last)
(if-let, when-let): New macros.

* test/automated/subr-x-tests.el
(subr-x-test-if-let-single-binding-expansion)
(subr-x-test-if-let-single-symbol-expansion)
(subr-x-test-if-let-nil-related-expansion)
(subr-x-test-if-let-malformed-binding, subr-x-test-if-let-true)
(subr-x-test-if-let-false, subr-x-test-if-let-bound-references)
(subr-x-test-if-let-and-lazyness-is-preserved)
(subr-x-test-when-let-body-expansion)
(subr-x-test-when-let-single-binding-expansion)
(subr-x-test-when-let-single-symbol-expansion)
(subr-x-test-when-let-nil-related-expansion)
(subr-x-test-when-let-malformed-binding)
(subr-x-test-when-let-true, subr-x-test-when-let-false)
(subr-x-test-when-let-bound-references)
(subr-x-test-when-let-and-lazyness-is-preserved)
(subr-x-test-thread-first-no-forms)
(subr-x-test-thread-first-function-names-are-threaded)
(subr-x-test-thread-first-expansion)
(subr-x-test-thread-last-no-forms)
(subr-x-test-thread-last-function-names-are-threaded)
(subr-x-test-thread-last-expansion): New tests.

10 years ago* net/rcirc.el (rcirc-buffer-process): Restore previous behaviour.
Grégoire Jadi [Mon, 30 Jun 2014 02:55:14 +0000 (10:55 +0800)]
* net/rcirc.el (rcirc-buffer-process): Restore previous behaviour.

Fixes: debbugs:17772
10 years ago* update_autogen: Find loaddefs targets rather than parsing lisp/Makefile.in
Glenn Morris [Mon, 30 Jun 2014 00:01:51 +0000 (17:01 -0700)]
* update_autogen: Find loaddefs targets rather than parsing lisp/Makefile.in

* lisp/Makefile.in: Comment.

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 ago* automated/tramp-tests.el (tramp--instrument-test-case):
Michael Albinus [Sun, 29 Jun 2014 18:32:35 +0000 (20:32 +0200)]
* automated/tramp-tests.el (tramp--instrument-test-case):
Print debug buffer in any case.

10 years ago* xfns.c (Qsuppress_icon): Remove; no real users.
Dmitry Antipov [Sun, 29 Jun 2014 16:12:08 +0000 (20:12 +0400)]
* xfns.c (Qsuppress_icon): Remove; no real users.
(syms_of_xfns): Don't DEFSYM it.  Remove ancient comments.
* w32fns.c (Qsuppress_icon): Remove, for the same reason.
(syms_of_w32fns): Don't DEFSYM it.

10 years agoDon't call c-parse-state when c++-template-syntax-table is active.
Alan Mackenzie [Sun, 29 Jun 2014 11:26:47 +0000 (11:26 +0000)]
Don't call c-parse-state when c++-template-syntax-table is active.
* progmodes/cc-engine.el (c-guess-continued-construct CASE G)
(c-guess-basic-syntax CASE 5D.3): Rearrange so that
c-syntactic-skip-backwards isn't called with the pertinent syntax
table.

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 ago* admin/update_autogen: Remove need to cd into/out of lisp/.
Glenn Morris [Sun, 29 Jun 2014 01:33:32 +0000 (18:33 -0700)]
* admin/update_autogen: Remove need to cd into/out of lisp/.

10 years ago* src/Makefile.in (ns-app): Mark as PHONY.
Glenn Morris [Sun, 29 Jun 2014 00:49:59 +0000 (17:49 -0700)]
* src/Makefile.in (ns-app): Mark as PHONY.

10 years ago* admin/grammars/Makefile.in (bootstrap-clean): Don't delete Makefile,
Glenn Morris [Sun, 29 Jun 2014 00:46:40 +0000 (17:46 -0700)]
* admin/grammars/Makefile.in (bootstrap-clean): Don't delete Makefile,
for sake of top-level maintainer-clean rule.

10 years ago* src/Makefile.in ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a):
Glenn Morris [Sat, 28 Jun 2014 23:35:17 +0000 (16:35 -0700)]
* src/Makefile.in ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a):
Fully revert earlier dumbness.

10 years ago* src/Makefile.in: Fix thinko in previous.
Glenn Morris [Sat, 28 Jun 2014 23:29:06 +0000 (16:29 -0700)]
* src/Makefile.in: Fix thinko in previous.

10 years agoSmall cleanup for src/Makefile liblw.a, libXMenu11.a rules
Glenn Morris [Sat, 28 Jun 2014 23:19:04 +0000 (16:19 -0700)]
Small cleanup for src/Makefile liblw.a, libXMenu11.a rules

* src/Makefile.in ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a):
Remove prerequisites, sub-makes will figure it out.
(FORCE): Remove.
(mostlyclean): There are no libXMenu11.a, liblw.a in this directory.

* oldXMenu/deps.mk (${OBJS}): Depend on ../src/config.h.

10 years agoUse gcc auto-dependency information for lwlib and oldXMenu
Glenn Morris [Sat, 28 Jun 2014 22:57:23 +0000 (15:57 -0700)]
Use gcc auto-dependency information for lwlib and oldXMenu

* configure.ac (lwlib_deps_frag, oldxmenu_deps_frag): New output files.

* make-dist (lwlib, oldXMenu): Distribute *.mk.

* lwlib/Makefile.in: Move old dependency information to new file deps.mk.
(MKDIR_P, DEPFLAGS, MKDEPDIR, lwlib_deps_frag):
New, set by configure.
(DEPDIR): New variable.
(ALL_CFLAGS): Add DEPFLAGS.
(.c.o): Add MKDEPDIR.
(clean, mostlyclean): Delete DEPDIR.

* lwlib/deps.mk, lwlib/autodeps.mk: New files.

* oldXMenu/Makefile.in: Move old dependency information to new file deps.mk.
(MKDIR_P, DEPFLAGS, MKDEPDIR, oldxmenu_deps_frag):
New, set by configure.
(DEPDIR): New variable.
(ALL_CFLAGS): Add DEPFLAGS.
(.c.o): Add MKDEPDIR.
(clean, mostlyclean): Delete DEPDIR.

* oldXMenu/deps.mk, oldXMenu/autodeps.mk: New files.

* src/deps.mk: Comment update.

* .bzrignore: Ignore lwlib/deps, oldXMenu/deps.

10 years agoMerge from emacs-24; up to 2014-06-12T14:55:48Z!monnier@iro.umontreal.ca
Glenn Morris [Sat, 28 Jun 2014 17:27:29 +0000 (10:27 -0700)]
Merge from emacs-24; up to 2014-06-12T14:55:48Z!monnier@iro.umontreal.ca

10 years ago* test/automated/Makefile.in (GDB): New variable.
Glenn Morris [Sat, 28 Jun 2014 17:18:05 +0000 (10:18 -0700)]
* test/automated/Makefile.in (GDB): New variable.
(emacs): Use $GDB.

Fixes: debbugs:15991
10 years agoDisable logging in the short form of the test Makefile rules
Glenn Morris [Sat, 28 Jun 2014 17:05:00 +0000 (10:05 -0700)]
Disable logging in the short form of the test Makefile rules

* test/automated/Makefile.in (WRITE_LOG): New variable.
(%.log): Use WRITE_LOG.
(test_template): Disable logging.

10 years agomerge trunk
Kenichi Handa [Sat, 28 Jun 2014 13:41:19 +0000 (22:41 +0900)]
merge trunk

10 years ago* coding.c (MAX_CHARBUF_SIZE): Renamed from CHARBUF_SIZE.
Kenichi Handa [Sat, 28 Jun 2014 13:38:36 +0000 (22:38 +0900)]
* coding.c (MAX_CHARBUF_SIZE): Renamed from CHARBUF_SIZE.
(MIN_CHARBUF_SIZE): New macro.
(ALLOC_CONVERSION_WORK_AREA): New arg SIZE.  Callers changed.

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 agoChangeLog fix
Glenn Morris [Sat, 28 Jun 2014 01:55:17 +0000 (21:55 -0400)]
ChangeLog fix

10 years ago* lisp/progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
Stefan Monnier [Sat, 28 Jun 2014 01:52:38 +0000 (21:52 -0400)]
* lisp/progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.

10 years agomerge trunk
Kenichi Handa [Sat, 28 Jun 2014 01:35:48 +0000 (10:35 +0900)]
merge trunk

10 years agoFix Bug#17739.
Kenichi Handa [Sat, 28 Jun 2014 01:34:17 +0000 (10:34 +0900)]
Fix Bug#17739.

* composite.el: Setup composition-function-table for dotted circle.
(compose-gstring-for-dotted-circle): New function.

* international/characters.el: Add category "^" to all
non-spacing characters.

10 years ago* lisp/Makefile.in (doit): Remove force rule.
Glenn Morris [Sat, 28 Jun 2014 01:26:09 +0000 (21:26 -0400)]
* lisp/Makefile.in (doit): Remove force rule.
(custom-deps, finder-data, autoloads, update-subdirs)
(compile-one-process): PHONY targets do not need force rules.

10 years agolisp/Makefile tiny simplification
Glenn Morris [Sat, 28 Jun 2014 01:16:23 +0000 (21:16 -0400)]
lisp/Makefile tiny simplification

* lisp/Makefile.in (compile-main, compile, compile-always):
No need to explicitly pass variables to ourself in recursive calls.

10 years agoAdd short test aliases that always re-run the tests
Glenn Morris [Sat, 28 Jun 2014 01:11:04 +0000 (21:11 -0400)]
Add short test aliases that always re-run the tests

* test/automated/Makefile.in (TESTS): New list of short PHONY aliases.
(test_template): New definition.  Apply to TESTS.

10 years ago* lisp/files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
Stefan Monnier [Sat, 28 Jun 2014 01:10:27 +0000 (21:10 -0400)]
* lisp/files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.

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 agoChangeLog fix: relocate entry to correct position
Glenn Morris [Fri, 27 Jun 2014 17:51:00 +0000 (13:51 -0400)]
ChangeLog fix: relocate entry to correct position

10 years agoHave `make check' re-run all the tests, every time
Glenn Morris [Fri, 27 Jun 2014 16:27:08 +0000 (09:27 -0700)]
Have `make check' re-run all the tests, every time

* test/automated/Makefile.in (check-maybe): Rename from check.
(check): Re-run all the tests, every time.
(clean, mostlyclean): Also delete *.log~.

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 agosrc/w32heap.c: Minor formatting and whitespace changes.
Eli Zaretskii [Fri, 27 Jun 2014 08:31:20 +0000 (11:31 +0300)]
src/w32heap.c: Minor formatting and whitespace changes.

10 years ago* lisp/progmodes/hideif.el: Style fixes. Fix doc-strings and comment style,
Luke Lee [Fri, 27 Jun 2014 08:25:21 +0000 (16:25 +0800)]
* lisp/progmodes/hideif.el: Style fixes. Fix doc-strings and comment style,
also add a change log entry for the latest hideif.el changes.

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 agoReplace BOOTSTRAPEMACS with an order-only dependence on bootstrap-emacs
Glenn Morris [Fri, 27 Jun 2014 00:41:23 +0000 (20:41 -0400)]
Replace BOOTSTRAPEMACS with an order-only dependence on bootstrap-emacs

* Makefile.in (src): No more need to pass BOOTSTRAPEMACS.

* src/Makefile.in (.el.elc): Replace suffix rule with pattern rule.
(%.elc): New pattern rule, with order-only prerequisite.
($(lisp)): No more need to depend on BOOTSTRAPEMACS.
($(lispsource)/loaddefs.el): Use an order-only prerequisite
in place of BOOTSTRAPEMACS.

Fixes: debbugs:2151
10 years ago* make-dist: Exclude test/automated/*.log.
Glenn Morris [Fri, 27 Jun 2014 00:36:06 +0000 (20:36 -0400)]
* make-dist: Exclude test/automated/*.log.

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* lisp/Makefile.in (update-authors): Update for moved authors.el.
Glenn Morris [Thu, 26 Jun 2014 21:51:25 +0000 (17:51 -0400)]
* lisp/Makefile.in (update-authors): Update for moved authors.el.

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* skeleton.el (skeleton-end-hook): Default to nil and move the
Leo Liu [Thu, 26 Jun 2014 14:21:46 +0000 (22:21 +0800)]
* skeleton.el (skeleton-end-hook): Default to nil and move the
work to skeleton-insert.

Fixes: debbugs:17850
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).