1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-09 15:50:21 +00:00
Commit Graph

108950 Commits

Author SHA1 Message Date
Paul Eggert
974c7646ec Backport GCPRO fix from trunk.
The bug was reported for AIX before today's changes.
I reproduced the problem on Fedora 17 x86-64 when setting
GC_MARK_STACK by hand, and I presume it occurs with default
configurations on HP-UX and Unixware.
Trunk fix on 2013-01-14 by Dmitry Antipov <dmantipov@yandex.ru>:
Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
* eval.c (eval_sub): Protect `form' from being GCed before its
car and cdr becomes protected with the backtrace entry.

Fixes: debbugs:13650
2013-02-14 14:08:38 -08:00
Paul Eggert
35b3a27e67 Fix AIX port.
* configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX.
(GC_MARK_STACK): Do not set to GC_USE_GCPROS_AS_BEFORE, as that
runs afoul of some other bug in Emacs, and the default value
GC_MAKE_GCPROS_NOOPS has been tested and works.
* src/lisp.h (XPNTR) [!USE_LSB_TAG && DATA_SEG_BITS]:
Fix bug introduced in 2012-07-27 change.  DATA_SEG_BITS, if set,
was #undeffed earlier, so it cannot be used as a macro here.
Use the constant and not the macro.  Tested on AIX.
* src/unexaix.c: Revert 2013-02-11 and 2013-02-12 changes to this
file.  They're almost surely OK but we're just before a release so
we should avoid changes unless they're clearly needed.  Instead,
make the following minor change:
(ADDR_CORRECT): New macro.

Fixes: debbugs:13650
2013-02-14 12:05:10 -08:00
Glenn Morris
9e16c3b44b * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix re setf. 2013-02-14 09:16:47 -08:00
Stefan Monnier
213ac1686c * lisp/net/goto-addr.el (goto-address-fontify): Add start and end args.
(goto-address-fontify-region): Use them instead of narrowing, so
syntax-ppss has access to the whole buffer.
2013-02-14 10:53:46 -05:00
Glenn Morris
df1af142da * lispref/modes.texi (Basic Major Modes): 'z' no longer bound in special-mode. 2013-02-13 20:24:03 -05:00
Fabián Ezequiel Gallina
ea5f4192b9 * progmodes/python.el: Explain how to restore "cc-mode"-like
forward-sexp movement in header documentation.
(python-nav--forward-sexp): Behave like emacs-lisp-mode in
comments and strings (GH bug 114).

Fixes: debbugs:13642
2013-02-13 21:42:11 -03:00
Fabián Ezequiel Gallina
5cd3d1e56e Push ChangeLog entry for previous commit. 2013-02-13 20:09:12 -03:00
Fabián Ezequiel Gallina
dcbec5e2e6 * progmodes/python.el (python-info-current-defun): Fix current
defun detection.

Fixes: debbugs:13618
2013-02-13 20:07:59 -03:00
Eli Zaretskii
0e4e7b741b More robust creation of a subprocess, attempt to solve bug #13546.
src/w32proc.c (new_child): If no vacant slots are found in
 child_procs[], make another pass looking for slots whose process
 has exited or died.
2013-02-13 19:04:30 +02:00
Eli Zaretskii
6e432f0cda Cleanup related to bug #13546 with subprocesses on MS-Windows.
src/w32.c (sys_pipe): When failing due to file descriptors above
 MAXDESC, set errno to EMFILE.
 (_sys_read_ahead): Update cp->status when failing to read serial
 communications input, so that the status doesn't stay at
 STATUS_READ_IN_PROGRESS.
2013-02-13 19:00:26 +02:00
Chong Yidong
a1d23eb505 * xml.el (xml-parse-string): Fix typo in handling of bad character references. 2013-02-13 15:24:11 +08:00
Glenn Morris
1a359750bb * src/keyboard.c (input-decode-map, key-translation-map): Doc fixes. 2013-02-12 20:26:43 -08:00
Glenn Morris
b6c3e4b120 * doc/lispref/objects.texi (Char-Table Type): Add footnote about #^^. 2013-02-12 21:25:02 -05:00
Glenn Morris
b5ca9d5349 * doc/lispref/modes.texi (Minor Mode Conventions): Fix typo. 2013-02-12 21:20:52 -05:00
Paul Eggert
f53f992ad5 Improve AIX port some more.
With this, it should be as good as it was in 23.3, though it's
still pretty bad: the dumped emacs does not run.  See Mark Fleishman in
http://lists.gnu.org/archive/html/help-gnu-emacs/2011-04/msg00287.html
* unexaix.c (start_of_text): Remove.
(_data, _text): Declare as char[], not int, as AIX manual suggests.
(bias, lnnoptr, text_scnptr, data_scnptr, load_scnptr)
(orig_load_scnptr, orig_data_scnptr):
Now off_t, not long, since they are file offsets.
(make_hdr): Use _data, not start_of_data ().
This is the key part of the fix.
(make_hdr, unrelocate_symbols): Use off_t for file offsets.
(unrelocate_symbols): Cast pointers to intptr_t, not to ulong.

Fixes: debbugs:13650
2013-02-12 10:43:11 -08:00
Paul Eggert
4458c2551b * pre-crt0.c (data_start): Initialize to 1.
This ports to compilers that optimize the external declaration
'int x = 0;' as if it were 'int x;' to shrink the executable.
2013-02-12 10:33:42 -08:00
Paul Eggert
65e7ca35a6 In doc, use standard American English style for e.g., etc., i.e. 2013-02-12 09:36:54 -08:00
Glenn Morris
85adc63f81 keymaps.texi small fix for bug#13684
* doc/lispref/keymaps.texi (Scanning Keymaps):
Remove obsolete sentence about meta characters; this changed in 22.1.
2013-02-11 19:33:18 -05:00
Paul Eggert
227be86d10 Improve AIX port.
This doesn't fix the bug, but it makes progress: Emacs builds now.
* unexaix.c: Include inttypes.h, stdarg.h.
(report_error, report_error_1): Mark as _Noreturn.
(report_error): Don't report the wrong errno.
(report_error_1): Now varargs.  All callers changed.
(make_hdr): Use uintptr_t, not unsigned, when converting pointers
to unsigned.  Don't use ADDR_CORRECT, as it no longer exists.
(write_ptr): Use %p to print address rather than %lx and a cast
to unsigned long.  Grow buffer a bit, to be safer.

Fixes: debbugs:13650
2013-02-11 12:32:54 -08:00
Eli Zaretskii
713bfeaab3 Fix rare aborts in bidi.c.
src/bidi.c (bidi_resolve_neutral): After finding the next
 non-neutral character, accept NEUTRAL_ON type as well, because
 directional control characters, such as LRE and RLE, have their
 type converted to that by bidi_resolve_weak.  This avoids aborts
 when LRE/RLE follows a run of neutrals.
 (bidi_move_to_visually_next): Assert that return value of
 bidi_peek_at_next_level is non-negative.  Negative values will
 cause an infloop.
2013-02-11 19:27:48 +02:00
Glenn Morris
93e0bed683 NEWS copyedit (consistent capitalization for top-level headings) 2013-02-10 17:46:52 -08:00
Glenn Morris
662abcc175 * doc/lispref/objects.texi (Char-Table Type): Add cindex. 2013-02-10 17:21:21 -08:00
Glenn Morris
9d6c9dd13c * doc/lispref/keymaps.texi (Key Binding Commands): Trivial rephrasing. 2013-02-10 17:16:30 -08:00
Michael Albinus
e08e7d9154 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
if DIR exists and PARENTS is non-nil.
2013-02-10 11:07:09 +01:00
Glenn Morris
c4af1efc91 * doc/emacs/trouble.texi (Checklist): Update bug keybinding. 2013-02-09 17:54:16 -08:00
Glenn Morris
7171926321 ChangeLog typo fix 2013-02-09 17:32:14 -08:00
Katsumi Yamaoka
ac0215a325 lisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend 2013-02-10 00:51:34 +00:00
Chong Yidong
e78e7e486d Correct non-standard binding of report-emacs-bug-insert-to-mailer.
* lisp/mail/emacsbug.el (report-emacs-bug): Change binding of
report-emacs-bug-insert-to-mailer to C-c M-i.

Fixes: debbugs:13510
2013-02-09 12:43:42 +08:00
Glenn Morris
dc55466e67 * doc/lispref/keymaps.texi (Creating Keymaps): Update make-keymap result. 2013-02-08 21:36:39 -05:00
Glenn Morris
6511485f2c More small TODO updates 2013-02-08 20:57:36 -05:00
Glenn Morris
9079056058 Remove old TODO item - user-error was added 2013-02-08 09:14:58 -08:00
Glenn Morris
61c3528043 Remove longlines entry (bug#13652) 2013-02-08 09:13:46 -08:00
Glenn Morris
7bd007246e keymaps.texi tweak
* doc/lispref/keymaps.texi (Active Keymaps, Searching Keymaps):
Remove confusing mention of "symbolic prefix".

Fixes: debbugs:13643
2013-02-08 09:13:06 -08:00
Aidan Gauland
dacbc44ca3 * doc/misc/eshell.texi: Fill most of the missing sections. 2013-02-08 09:59:24 -05:00
Aidan Gauland
c7205e5387 * doc/misc/eshell.texi: Fill most of the missing sections. 2013-02-08 09:44:17 -05:00
Eli Zaretskii
c220ea73ff src/xdisp.c: Fix commentary of display_count_lines. 2013-02-08 16:27:04 +02:00
Glenn Morris
4d34e0a7bf Regenerate AUTHORS and ldefs-boot.el 2013-02-07 00:03:47 -08:00
Glenn Morris
a8e4d516cc ChangeLog author fix 2013-02-06 23:40:58 -08:00
Bastien Guerry
d351707783 Merge Org 7.9.3e (commit b07a9bb). 2013-02-07 08:11:59 +01:00
Glenn Morris
e364bc673c Auto-commit of generated files. 2013-02-07 01:16:17 -05:00
Glenn Morris
4e0b84797f Bump version number to 24.2.93 2013-02-06 22:15:20 -08:00
Gabor Vida
17d14f7e29 * auth-source.el (auth-source-format-prompt): Don't get confused by any "\"
in replacement text.

Fixes: debbugs:13637
2013-02-06 20:53:26 -05:00
Glenn Morris
efad91eca2 ChangeLog date fix (do not merge to trunk) 2013-02-05 20:37:28 -08:00
Glenn Morris
1e934b8484 * doc/misc/cl.texi (Equality Predicates): Mention memql. 2013-02-05 20:36:44 -08:00
Daniel Colascione
b8f7436616 Backport fix for execvp issue from trunk 2013-02-05 15:52:03 -08:00
Glenn Morris
463d631919 ede.texi typo fixes 2013-02-03 19:07:26 -08:00
Eric M. Ludlam
cf4dd91110 Update EDE documentation (bug #11441).
* doc/misc/ede.texi (Creating a project): Make ede-new doc less
specific, and only about items it supports, indicating that there
might be more.  Remove refs to simple project and direct automake
from ede new.
(Simple projects): Re-write to not talk about ede-simple-project
which is deprecated, and instead use the term to mean projects
that don't do much management, just project wrapping.  Add
ede-generic-project link.
(ede-generic-project): New node (bug#11441).
2013-02-03 21:04:46 +01:00
Glenn Morris
72ff76bbc2 * doc/misc/cl.texi (Equality Predicates): Fix eq/eql pedantry. 2013-02-03 11:40:00 -08:00
Alan Mackenzie
d23b0804fb Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor.
cc-engine.el (c-get-fallback-scan-pos): Remove.
(c-parse-state-get-strategy): Don't return 'BOD any more.
(c-append-lower-brace-pair-to-state-cache): Extra parameter HERE instead
of narrowing.  Widen to top of buffer before searching backwards for a
brace pair.
(c-state-push-any-brace-pair): Add HERE parameter to function call.
(c-append-to-state-cache): Extra parameter HERE in place of narrowing.
Narrow to parameter HERE, in place of being called narrowed.
(c-remove-stale-state-cache): Extra parameter HERE in place of narrowing.
Check there's an open brace in the cache before searching for its match.
(c-invalidate-state-cache-1): Add HERE parameter to function call.
(c-parse-state-1): Don't narrow here for 'forward strategy, instead
passing extra parameter HERE to several functions.  Remove 'BOD strategy.
2013-02-02 18:24:10 +00:00
Eli Zaretskii
970b321fd0 Update nt/INSTALL. 2013-02-02 10:23:52 +02:00