1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 04:30:45 -08:00
Commit graph

116382 commits

Author SHA1 Message Date
Michael Albinus
c8291a36aa * lisp/net/tramp.el (tramp-call-process): Add traces. 2014-06-02 11:58:50 +02:00
Michael Albinus
84dbe84b9f * test/automated/tramp-tests.el (tramp-remote-process-environment): Declare.
(tramp-test29-vc-registered): Set $BZR_HOME.
2014-06-02 11:53:43 +02:00
Wilson Snyder
9e158ac805 Sync with upstream verilog-mode revision 3cd8144
* lisp/progmodes/verilog-mode.el (verilog-mode-version): Bump.
(verilog-auto-arg-format): New option, to support newlines in AUTOARG.
(verilog-type-font-keywords): Add nor.
(verilog-batch-execute-func): Force reading of Local Variables.
Fix printing "no changes to be saved" with verilog-batch.
(verilog-auto-arg-ports): Doc fix.
Add verilog-auto-arg-format to support newlines in AUTOARG.
(verilog-auto-arg): Doc fix.
2014-06-01 23:45:11 -07:00
Paul Eggert
f34897e34d Improve AIX-related merge from emacs-24.
* conf_post.h (FLEXIBLE_ARRAY_MEMBER): Fix comment.
* lisp.h (ENUMABLE) [!_AIX]: Don't define to 0 merely because we're
not on AIX; since we're on the trunk we can use enums more broadly.
2014-06-01 23:08:49 -07:00
Glenn Morris
f2ea2ac3f5 * Makefile.in (AUTOGEN_VCS): Fix previous fix 2014-06-01 18:10:47 -07:00
Glenn Morris
3fbc3eff37 ChangeLog typo fix 2014-06-01 18:10:07 -07:00
Glenn Morris
299965685e * lisp/Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el 2014-06-01 18:09:34 -07:00
Glenn Morris
7ec81a85a2 * doc/emacs/misc.texi [iftex]: Update chapter summary. 2014-06-01 18:08:13 -07:00
Glenn Morris
4982861a08 Make some old emulation modes obsolete
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00502.html

* lisp/emulation/crisp.el, lisp/emulation/tpu-edt.el:
* lisp/emulation/tpu-extras.el, lisp/emulation/tpu-mapper.el:
* lisp/emulation/vi.el, lisp/emulation/vip.el, lisp/emulation/ws-mode.el:
Move to obsolete/.

* doc/emacs/ack.texi (Acknowledgments): Remove some obsolete items.

* doc/emacs/misc.texi (Emulation): Remove section.

* doc/lispintro/emacs-lisp-intro.texi (Autoload): Update loaddefs.el details.

* doc/misc/efaq.texi (Finding a package with particular functionality):
Update example.

* doc/misc/vip.texi: Mention this is obsolete.

* etc/NEWS: Mention this.
2014-06-01 18:02:21 -07:00
Glenn Morris
953e106ac8 Merge from emacs-24; up to 2014-05-29T17:16:00Z!dmantipov@yandex.ru 2014-06-01 17:18:22 -07:00
Paul Eggert
eed652d649 Merge from gnulib.
This incorporates:
2014-06-02 acl: apply pure attribute to two functions
2014-06-01 gnulib-common.m4: add _GL_UNUSED_LABEL
2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1
2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1
* lib/acl-internal.h, lib/fcntl.in.h, lib/ftoastr.h:
* m4/dup2.m4, m4/fcntl.m4, m4/gnulib-common.m4:
Update from gnulib.
2014-06-01 16:58:38 -07:00
Paul Eggert
b9928bbace Spelling fix in ChangeLog entry. 2014-06-01 16:37:59 -07:00
Paul Eggert
5c2b9423c5 Port signal-handling to DragonFly BSD.
* callproc.c, sysdep.c (block_child_signal, unblock_child_signal):
Move implementations from callproc.c to sysdep.c.
* process.h, syssignal.h (block_child_signal, unblock_child_signal):
Move declaratations from process.h to syssignal.h.

Fixes: debbugs:17646
2014-06-01 16:17:56 -07:00
Juanma Barranquero
89187af1bd * configure.ac: Raise HEAPSIZE value for 32-bit builds on Windows. 2014-06-01 23:27:53 +02:00
Paul Eggert
afca0e7590 * frame.c (x_set_frame_parameters): Don't read uninitialized storage. 2014-06-01 11:49:52 -07:00
Jan Djärv
a3d0b7d19d Make jump scroll work with Gtk+
* xterm.c (xg_scroll_callback): Remove position, for jump set portion
to min(value, whole).
2014-06-01 20:00:56 +02:00
Juanma Barranquero
cc30429078 src/callint.c (Ffuncall_interactively): Add usage. 2014-06-01 18:25:19 +02:00
Michael Albinus
30491d4964 * tramp-tests.el (tramp-test29-vc-registered):
Add more instrumentation code.
2014-06-01 18:16:26 +02:00
Eli Zaretskii
be04283a7f src/w32heap.c (realloc_before_dump): Improve commentary. 2014-06-01 18:54:56 +03:00
Eli Zaretskii
082c97e81f Fix bug #17615 with C-g during macro definition.
lisp/simple.el (keyboard-quit): Force update of mode lines, to remove
 the "Def" indicator, if we were defining a macro.
2014-06-01 18:19:14 +03:00
Glenn Morris
bcbee9833a Auto-commit of loaddefs files. 2014-06-01 07:22:53 -04:00
Michael Albinus
a67aaeb3a9 * automated/tramp-tests.el (tramp-test29-vc-registered):
Instrument failed test case.
2014-06-01 12:49:45 +02:00
Michael Albinus
22a949d699 Revert last patch. The problem happens in the trunk. 2014-06-01 12:38:09 +02:00
Glenn Morris
ec0f0d2c4b Auto-commit of loaddefs files. 2014-06-01 06:22:49 -04:00
Michael Albinus
3340452bdc * tramp-tests.el (tramp-test29-vc-registered):
Instrument failed test case.
2014-06-01 11:33:57 +02:00
Michael Albinus
7a458be33c * automated/tramp-tests.el (tramp-test29-vc-registered):
Instrument failed test case.
2014-06-01 11:33:24 +02:00
Jan Djärv
a2130fb7e2 * nsfns.m (ns_appkit_version_str): Add os version for Cocoa. 2014-06-01 10:23:18 +02:00
Paul Eggert
bba89481ee Bring back the changes to GDB-visible symbols, but only on AIX.
And only if it's not pre-4.2 GCC.
* lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros.
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them.
(ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
New macros.
2014-06-01 00:06:28 -07:00
Glenn Morris
a383d0913e * loadup.el (load-prefer-newer): Set non-nil when dumping.
--eval doesn't work (or not early enough) during dumping.
Making load-prefer-newer non-nil by default would be simpler...

Fixes: debbugs:17629
2014-05-31 19:36:40 -07:00
Stefan Monnier
08c0f6266a * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
Obey minibuffer-default.

Fixes: debbugs:17545
2014-05-31 22:24:23 -04:00
Stefan Monnier
ffa8a2db08 * lisp/progmodes/js.el (js-indent-line): Don't mix columns and chars.
Fixes: debbugs:17619
2014-05-31 21:53:04 -04:00
Stefan Monnier
8889b935d1 * lisp/subr.el (set-transient-map): Don't wait for some "nested"
transient-map to finish if we're only supposed to be active for
the next command.

Fixes: debbugs:17642
2014-05-31 16:02:47 -04:00
Eli Zaretskii
bc329caae6 Hopefully fix bug #16433 with corruption of newline_cache in Rmail.
src/fileio.c (Finsert_file_contents): Call prepare_to_modify_buffer
 with PT, not GPT.
2014-05-31 21:23:53 +03:00
Leo Liu
e41682ae9c * emacs-lisp/gv.el (window-buffer, window-display-table)
(window-dedicated-p, window-hscroll, window-point, window-start):
Fix gv-expander.

Fixes: debbugs:17630
2014-05-31 23:43:43 +08:00
Eli Zaretskii
2bbda049fb Revert revision 2014-05-27T17:31:17Z!eliz@gnu.org, as it breaks debugging with GCC 3.x.
Revert last changes to GDB-visible symbols.
 src/lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): Delete macros.
 (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Don't use them.
 (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
 Delete macros.
2014-05-31 16:24:45 +03:00
Stefan Monnier
3a73c34c47 * lisp/mouse.el (mouse-posn-property): Ignore posn-point for mode-line
clicks.

Fixes: debbugs:17633
2014-05-31 08:32:36 -04:00
Glenn Morris
5d335d4bd6 * src/cmds.c (Fself_insert_command): Allow zero repeat count.
Fixes: debbugs:17649
2014-05-30 19:53:29 -07:00
Glenn Morris
b5d6fe3bf6 * lisp/files.el (locate-dominating-file): Expand file argument.
Fixes: debbugs:17641
2014-05-30 19:27:22 -07:00
Stefan Monnier
b701ac4945 * lisp/subr.el (sit-for): Add comment with a short history. 2014-05-30 22:13:13 -04:00
Stefan Monnier
90cd9b1384 * lisp/leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
for the single comma, since ", " is *very* common in normal French text.

Fixes: debbugs:17643
2014-05-30 21:01:19 -04:00
Glenn Morris
6423ce2657 * lisp/loadup.el: Treat `command-line-args' more flexibly.
This makes it easier to add --eval ... etc to the command-line without
messing things up due to changed argument numbers.
2014-05-30 19:50:09 -04:00
Paul Eggert
1915d8d63c Fix port to 32-bit AIX with xlc.
This doesn't fix Bug#17598, but it does fix a regression since Emacs
built with xlc until recently, and perhaps it'll help us fix Bug#17598.
* configure.ac (GC_SETJMP_WORKS): Define for AIX, too.
Merge from gnulib, incorporating:
2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1
* lib/ftoastr.c: Update from gnulib.
* src/alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE.
* src/conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty.
* src/lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum,
to work around a compiler bug in IBM xlc 12.1.
2014-05-30 13:19:29 -07:00
Alan Mackenzie
9155e80d79 Guard (looking-at "\\s!") from XEmacs.
progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
2014-05-30 17:06:53 +00:00
Dmitry Antipov
a084532342 Use common string allocation and freeing functions where applicable.
* lwlib.h (safe_strdup): Remove prototype.
* lwlib.c (safe_strdup, safe_free_str): Remove.
(copy_widget_value_tree, allocate_widget_info, free_widget_info):
(merge_widget_value): Prefer xstrdup, xfree and dupstring.
* lwlib-Xm.c (make_destroyed_instance, xm_update_one_value): Ditto.
2014-05-30 17:22:29 +04:00
Ken Olum
e50e034033 Fix bug #17560 with backward-incompatible API change in rmail-delete-*.
lisp/mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
 argument COUNT is now optional, to be more backward-compatible.
 Doc fix.

 etc/NEWS: Document the API change.
2014-05-30 12:33:43 +03:00
Eli Zaretskii
6c572f9ab3 Enhance error checking in heap allocation routines on MS-Windows.
src/w32heap.c (malloc_before_dump, malloc_after_dump)
 (malloc_before_dump, realloc_after_dump, realloc_before_dump)
 (mmap_alloc, mmap_realloc): Check for errors more thoroughly and
 set errno where appropriate to emulate CRT functions.
2014-05-30 12:02:55 +03:00
Dmitry Antipov
8d3103b1ef Debugging facility to check whether 'const char *' points to
relocatable data of non-pure Lisp string.
* alloc.c (maybe_lisp_pointer): New function, refactored out of ...
(mark_maybe_pointer): ... adjusted user.
(relocatable_string_data_p): New function.
* lisp.h (relocatable_string_data_p): Add prototype.
* xdisp.c (message_with_string): If ENABLE_CHECKING, make sure
the pointer to relocatable Lisp data is not used.
2014-05-30 11:40:29 +04:00
Glenn Morris
ff66db7950 Fix typo in previous 2014-05-29 22:15:29 -07:00
Glenn Morris
ab84733c35 package.el: Fix some version tags
* lisp/emacs-lisp/package.el (package-check-signature)
(package-unsigned-archives): Fix :version.
2014-05-29 22:08:10 -07:00
Paul Eggert
8cf1e6e679 Don't let SIGINT handling block SIGCHLD indefinitely.
* atimer.c (block_atimers):
* callproc.c (block_child_signal): Block SIGINT too;
otherwise, its handler might now unblock signals that it shouldn't.
* keyboard.c (read_char): Clear signal mask, since we may
be in a SIGINT handler, and many signals may be masked.
* keyboard.c (handle_interrupt):
* sysdep.c (handle_arith_signal):
Clear signal mask instead of just unblocking the signal that
was received, since several signals may be blocked at this point.

Fixes: debbugs:17561
2014-05-29 21:12:08 -07:00