]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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 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 10:18:16 +0000 (06:18 -0400)]
Auto-commit of loaddefs files.

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 #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* 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 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).

10 years ago* test/automated/package-x-test.el: Do not mess with load-path.
Glenn Morris [Thu, 26 Jun 2014 07:34:09 +0000 (00:34 -0700)]
* test/automated/package-x-test.el: Do not mess with load-path.

10 years ago* test/automated/Makefile.in (%.log): If error, dump log to stdout.
Glenn Morris [Thu, 26 Jun 2014 07:32:16 +0000 (00:32 -0700)]
* test/automated/Makefile.in (%.log): If error, dump log to stdout.
This is mainly so we can see what is going on on hydra...

10 years ago* src/fns.c (Fcompare_strings): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE.
Dmitry Antipov [Thu, 26 Jun 2014 07:13:13 +0000 (11:13 +0400)]
* src/fns.c (Fcompare_strings): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE.
* lisp/calc/calc-alg.el (math-beforep):
* lisp/progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
Simplify because string-lessp can accept symbols as args.

10 years agopackage.el: Don't signal "no public key" error if allow-unsigned
Daiki Ueno [Thu, 26 Jun 2014 07:10:22 +0000 (16:10 +0900)]
package.el: Don't signal "no public key" error if allow-unsigned

* emacs-lisp/package.el (package--check-signature): If
package-check-signature is allow-unsigned, don't signal error when
we can't verify signature because of missing public key
(bug#17625).

10 years agoMerge from emacs-24; up to 2014-06-11T19:33:14Z!rgm@gnu.org
Glenn Morris [Thu, 26 Jun 2014 06:55:15 +0000 (23:55 -0700)]
Merge from emacs-24; up to 2014-06-11T19:33:14Z!rgm@gnu.org

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 ago* find-func.el (find-function-C-source-directory): Use file-accessible-directory-p
Glenn Morris [Thu, 26 Jun 2014 06:45:10 +0000 (23:45 -0700)]
* find-func.el (find-function-C-source-directory): Use file-accessible-directory-p

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 agops-samp.el: Make it slightly less awful
Glenn Morris [Thu, 26 Jun 2014 06:35:38 +0000 (23:35 -0700)]
ps-samp.el: Make it slightly less awful

* lisp/ps-samp.el (ps-rmail-mode-hook, ps-gnus-article-prepare-hook)
(ps-vm-mode-hook, ps-gnus-summary-setup, ps-info-mode-hook):
Use [print] key.  Only set local values.
(ps-article-subject, ps-article-author): Use standard functions
like mail-fetch-field.
(ps-info-file, ps-info-node): Use match-string.
(ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
(ps-samp-ps-setup): ... new function.

10 years ago* lisp/progmodes/idlw-shell.el (idlwave-shell-make-temp-file): Optimize
Glenn Morris [Thu, 26 Jun 2014 06:28:04 +0000 (23:28 -0700)]
* lisp/progmodes/idlw-shell.el (idlwave-shell-make-temp-file): Optimize
away code unneeded on any modern Emacs.

10 years agoMove lisp/emacs-lisp/authors.el to admin/
Glenn Morris [Thu, 26 Jun 2014 06:24:56 +0000 (23:24 -0700)]
Move lisp/emacs-lisp/authors.el to admin/
It is not useful for anything other than maintaining Emacs.

10 years ago* etc/NEWS: Maybe ert-summarize-tests-batch-and-exit worth mentioning.
Glenn Morris [Thu, 26 Jun 2014 06:21:55 +0000 (23:21 -0700)]
* etc/NEWS: Maybe ert-summarize-tests-batch-and-exit worth mentioning.

10 years agolib-src/Makefile trivial simplifications
Glenn Morris [Thu, 26 Jun 2014 06:18:53 +0000 (23:18 -0700)]
lib-src/Makefile trivial simplifications

* lib-src/Makefile.in (blessmail): Depend on lisp/mail/blessmail.el.
Use $<, $@.
(regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
(profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
(pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT}, ntlib.o)
(hexl${EXEEXT}, update-game-score${EXEEXT}, emacsclient.res): Use $<.
(ctags${EXEEXT}): Add $srcdir to dependency rather than using VPATH.

10 years agoDisable byte-compilation in two test/automated files
Glenn Morris [Thu, 26 Jun 2014 06:02:52 +0000 (23:02 -0700)]
Disable byte-compilation in two test/automated files

* test/automated/eieio-tests.el (no-byte-compile): Set it.

* test/automated/ert-tests.el (no-byte-compile): Set it.

Fixes: debbugs:17851 debbugs:17852
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 agoSimplify and parallize test/automated Makefile
Glenn Morris [Thu, 26 Jun 2014 05:47:10 +0000 (22:47 -0700)]
Simplify and parallize test/automated Makefile

* Makefile.in (mostlyclean, clean): Maybe clean test/automated.

* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.

* test/automated/Makefile.in: Simplify and parallelize.
(XARGS_LIMIT, BYTE_COMPILE_EXTRA_FLAGS)
(setwins, compile-targets, compile-main, compile-clean): Remove.
(GREP_OPTIONS): Unexport.
(.el.elc): Replace with pattern rule.
(%.elc, %.log): New pattern rules.
(ELFILES, LOGFILES): New variables.
(check): Depend on LOGFILES.  Call ert-summarize-tests-batch-and-exit.
(clean, mostlyclean): New rules.
(bootstrap-clean): Simplify.
(bootstrap-clean, distclean): Depend on clean.

* .bzrignore: Ignore test/automated/*.log.

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

10 years agoHideIfDef mode bug fixes and enhancements. This is #2 of 3 patches based
Luke Lee [Thu, 26 Jun 2014 04:18:12 +0000 (12:18 +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.
- Apply review changes.

* lisp/progmodes/hideif.el (hif-string-to-number): Fix return value bug.
(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 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 agolisp/Makefile: Remove cc-*.el dependencies on non-cc files
Glenn Morris [Wed, 25 Jun 2014 23:51:10 +0000 (19:51 -0400)]
lisp/Makefile: Remove cc-*.el dependencies on non-cc files

* lisp/Makefile.in ($(lisp)/progmodes/cc-defs.elc)
($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc files.
They are not relevant to the original issue (bug#1004),
and cause unnecessary recompilation (bug#2151).

10 years ago* flymake-tests.el (flymake-tests--current-face): Tweak previous sleep change.
Glenn Morris [Wed, 25 Jun 2014 22:59:37 +0000 (18:59 -0400)]
* flymake-tests.el (flymake-tests--current-face): Tweak previous sleep change.
Using the time-honored principle of "if it doesn't when you do X,
do it again and see what happens".

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 agoTry to fix some flymake-tests weirdness
Glenn Morris [Wed, 25 Jun 2014 19:12:14 +0000 (15:12 -0400)]
Try to fix some flymake-tests weirdness

* test/automated/flymake-tests.el (flymake-tests--current-face):
Sleep for longer.  Avoid querying.

10 years ago* lisp/play/landmark.el: Use lexical-binding and avoid `intangible'.
Stefan Monnier [Wed, 25 Jun 2014 18:11:45 +0000 (14:11 -0400)]
* lisp/play/landmark.el: Use lexical-binding and avoid `intangible'.
(landmark--last-pos): New var.
(landmark--intangible-chars): New const.
(landmark--intangible): New function.
(landmark-mode, landmark-move): Use it.
(landmark-mode): Remove properties.
(landmark-plot-square, landmark-point-square, landmark-goto-xy)
(landmark-cross-qtuple):
Don't worry about `intangible' any more.
(landmark-click, landmark-point-y): Same; and don't assume point-min==1.
(landmark-init-display): Don't set `intangible' and `point-entered'.
(square): Remove.  Inline it instead.
(landmark--distance): Rename from `distance'.
(landmark-calc-distance-of-robot-from): Rename from
calc-distance-of-robot-from.
(landmark-calc-smell-internal): Rename from calc-smell-internal.

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 agoFix ChangeLog entry.
Dmitry Antipov [Wed, 25 Jun 2014 12:53:12 +0000 (16:53 +0400)]
Fix ChangeLog entry.

10 years agoConsistently use validate_subarray to verify substring.
Dmitry Antipov [Wed, 25 Jun 2014 12:11:08 +0000 (16:11 +0400)]
Consistently use validate_subarray to verify substring.
* fns.c (validate_substring): Not static any more.  Adjust to
use ptrdiff_t, not EMACS_INT, becase string and vector limits
can't exceed ptrdiff_t even if EMACS_INT is wider.
* lisp.h (validate_subarray): Add prototype.
* coding.c (Fundecodable_char_position):
* composite.c (Fcomposition_get_gstring, Fcompose_string_internal):
Use validate_subarray.  Adjust comment to mention substring.

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 agoDo not allow out-of-range character position in Fcompare_strings.
Dmitry Antipov [Wed, 25 Jun 2014 10:36:51 +0000 (14:36 +0400)]
Do not allow out-of-range character position in Fcompare_strings.
* src/fns.c (validate_subarray): Add prototype.
(Fcompare_substring): Use validate_subarray to check ranges.
Adjust comment to mention that the semantics was changed.  Also see
http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00447.html.
* lisp/files.el (dir-locals-find-file, file-relative-name):
* lisp/info.el (Info-complete-menu-item):
* lisp/minibuffer.el (completion-table-subvert): Prefer string-prefix-p
to compare-strings to avoid out-of-range errors.
* lisp/subr.el (string-prefix-p): Adjust to match strict range
checking in compare-strings.
* test/automated/fns-tests.el (fns-tests-compare-string): New test.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 25 Jun 2014 10:17:41 +0000 (06:17 -0400)]
Auto-commit of loaddefs files.

10 years agonextstep: trivial Makefile simplification
Glenn Morris [Wed, 25 Jun 2014 06:39:03 +0000 (23:39 -0700)]
nextstep: trivial Makefile simplification

* nextstep/Makefile.in (${ns_appbindir}): New.
(${ns_appbindir}/Emacs): Use order-only prereq to create output dir.

10 years agoadmin/grammars: Use pattern rules in Makefile
Glenn Morris [Wed, 25 Jun 2014 06:23:04 +0000 (23:23 -0700)]
admin/grammars: Use pattern rules in Makefile

* admin/grammars/Makefile.in (${bovinedir}/c-by.el, ${bovinedir}/make-by.el):
(${wisentdir}/js-wy.el, ${wisentdir}/python-wy.el): Replace with pattern rules.
(${bovinedir}/scm-by.el, ${wisentdir}/javat-wy.el)
(${cedetdir}/srecode/srt-wy.el): Use $<.

10 years agoadmin/unidata: small Makefile simplifications
Glenn Morris [Wed, 25 Jun 2014 06:03:13 +0000 (23:03 -0700)]
admin/unidata: small Makefile simplifications

* admin/unidata/Makefile.in (${top_srcdir}/src/macuvs.h): Make and load .elc.
(.el.elc): Replace with pattern rule.
(%.elc): New.
(unidata.txt): Use $<.
(compile): Remove.
(${DSTDIR}/charprop.el): Use order-only prereqs rather than a sub-make.

10 years ago* admin/unidata/uvs.el (uvs-print-table-ivd): Fix free variable typo.
Glenn Morris [Wed, 25 Jun 2014 05:57:51 +0000 (22:57 -0700)]
* admin/unidata/uvs.el (uvs-print-table-ivd): Fix free variable typo.

10 years agoChangeLog fix
Glenn Morris [Wed, 25 Jun 2014 01:29:07 +0000 (21:29 -0400)]
ChangeLog fix