1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

104956 commits

Author SHA1 Message Date
Eli Zaretskii
a02ae4e5bf Don't call r_alloc_inhibit_buffer_relocation from search.c.
src/search.c (search_buffer): Remove calls to
 r_alloc_inhibit_buffer_relocation, as it is now called by
 maybe_unify_char, which was the cause of relocation of buffer text
 in bug#11519.
2012-05-29 19:01:05 +03:00
Eli Zaretskii
291d430f5f Avoid buffer text relocations in calls to STRING_CHAR_* macros.
src/charset.c (maybe_unify_char): Inhibit relocation of buffer text
 for the duration of call to load_charset, to avoid problems with
 callers of maybe_unify_char that access buffer text through C
 pointers.
 src/ralloc.c (r_alloc_inhibit_buffer_relocation): Increment and
 decrement the inhibition flag, instead of just setting or
 resetting it.

Fixes: debbugs:11519
2012-05-28 19:50:10 +03:00
Eli Zaretskii
e383e32d7a Fix subtle problem with redirection in nt/configure.bat.
nt/configure.bat (genmakefiles): Move the redirection away from the
 end of the command, to avoid excess whitespace at the end of Make
 variables created at configure time, and also avoid things like
 "FOO1>>config.settings", where "1" gets interpreted as the file
 descriptor and eaten up.  This fixes breakage introduced by the
 last change, without reintroducing the bug fixed by that change.
2012-05-28 19:17:35 +03:00
Martin Rudalics
5221ccb96e Ugly fix for bug#11556.
* desktop.el (desktop-read): Clear previous and next buffers for all
windows and bury *Messages* buffer (bug#11556).
2012-05-28 11:48:29 +02:00
Bastien Guerry
ed7bebbb48 Add a forgotten lisp/org/ChangeLog entry. 2012-05-26 01:17:15 +02:00
Glenn Morris
a5532eb31e Fix typos in previous 2012-05-25 17:28:05 -04:00
Bastien Guerry
9893229fd6 Fix major bug in the Org>ODT exporter. 2012-05-25 23:09:08 +02:00
Bastien Guerry
2a88ee23db Merge Org 7.8.11 -- important bug fixes. 2012-05-25 09:39:32 +02:00
Ken Brown
2f9b9adb46 * src/callproc.c (Fcall_process): Restore a line that was accidentally commented out (bug#11547). 2012-05-24 07:21:34 -04:00
Eli Zaretskii
52c55cc7d2 Fix bug #11519 with relocation of buffer text during regex search.
src/lisp.h [REL_ALLOC]: Add prototypes for external functions
 defined on ralloc.c.
 src/buffer.c [REL_ALLOC]: Remove prototypes of
 r_alloc_reset_variable, r_alloc, r_re_alloc, and r_alloc_free,
 they are now on lisp.h.
 src/ralloc.c (r_alloc_inhibit_buffer_relocation): New function.
 src/search.c (search_buffer): Use it to inhibit relocation of buffer
 text while re_search_2 is doing its job, because re_search_2 is
 passed C pointers to buffer text.
2012-05-23 20:32:28 +03:00
Katsumi Yamaoka
1b7e0ab8c7 gnus-msg.el (gnus-msg-mail): Ensure that gnus-newsgroup-name is a string so that Gcc works (bug#11514) 2012-05-21 23:29:03 +00:00
Eli Zaretskii
23415acf5a Update value of window-system-version for MS-DOS build.
src/msdos.c (internal_terminal_init) <Vwindow_system_version>:
 Update value to 24.
2012-05-21 22:56:36 +03:00
Glenn Morris
1d692e7634 Fix BUGS typo 2012-05-21 15:29:35 -04:00
Eli Zaretskii
44e2736828 A better fix for bug #11464 with pos-visible-in-window-p and R2L text.
src/xdisp.c (move_it_to): Under MOVE_TO_Y, when restoring iterator
 state after an additional call to move_it_in_display_line_to, keep
 the values of it->max_ascent and it->max_descent found for the
 entire line.
 (pos_visible_p): Revert the comparison against bottom_y to what it
 was in 2012-05-13T18:22:35Z!eliz@gnu.org.
2012-05-19 15:14:11 +03:00
Glenn Morris
f467fdc6f9 Auto-commit of loaddefs files. 2012-05-18 07:17:30 -04:00
Eli Zaretskii
b30b64b909 Fix "C-c C-r" in mail-mode invoked from Rmail.
lisp/mail/sendmail.el (mail-yank-region): Recognize
 rmail-yank-current-message in addition to insert-buffer.  Fixes
 mail-mode's "C-c C-r" that otherwise does nothing when invoked in
 a *mail* buffer created through rmail-start-mail with sendmail as
 mail-user-agent.
2012-05-18 12:41:42 +03:00
Eli Zaretskii
ce12872275 Fix redirection in nt/configure.bat.
nt/configure.bat: Ensure a space between %var% expansion and
 redirection symbol '>', which breaks when %var% ends in a digit,
 such as 1.
2012-05-18 11:21:19 +03:00
Stefan Monnier
6d4a05e3e0 * lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
parens around the arg list.  Silly backport.

Fixes: debbugs:11499
2012-05-17 11:17:53 -04:00
Glenn Morris
77e1259ea0 Auto-commit of generated files. 2012-05-17 07:17:28 -04:00
Chong Yidong
ee812c5f16 Bump version to 24.0.97.
Regenerate ldefs-boot.el and AUTHORS.
2012-05-17 10:36:40 +08:00
Bastien Guerry
eb2adf0a29 ob.el: Fix bug. 2012-05-16 23:53:39 +02:00
Bastien Guerry
8c8b834fa9 Merge Org 7.8.10 -- important bug fixes since Org 7.8.09. 2012-05-16 19:33:50 +02:00
Chong Yidong
4f32cc6c57 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring. 2012-05-16 10:49:19 +08:00
Eli Zaretskii
ccbf309ce0 Fix the changes in 2012-04-22T13:58:00Z!cyd@gnu.org for bug #11464.
src/xdisp.c (pos_visible_p): Fix last change.
2012-05-15 19:17:42 +03:00
Chong Yidong
27d1f87a35 Misc docfixes.
Suggested by Martin Rudalics.

* doc/lispref/display.texi (Face Functions): Fix define-obsolete-face-alias.

* doc/lispref/functions.texi (Obsolete Functions): Fix doc for
set-advertised-calling-convention.

* doc/lispref/modes.texi (Mode Help): Fix describe-mode.

* doc/lispref/variables.texi (Variable Aliases): Fix make-obsolete-variable.

* lisp/help.el (describe-mode): Doc fix.
2012-05-15 23:43:06 +08:00
Chong Yidong
fcf2993fbb * net/gnutls.el (gnutls-min-prime-bits): Default to 256.
Fixes: debbugs:11267
2012-05-15 23:16:13 +08:00
Martin Rudalics
0b128ac426 Some minor fixes of Elisp manual.
* commands.texi (Recursive Editing): recursive-edit is a
command.
* compile.texi (Docs and Compilation):
byte-compile-dynamic-docstrings is an option.
* debugging.texi (Invoking the Debugger): debug is a command.
* display.texi (Progress): progress-reporter-update and
progress-reporter-force-update have VALUE argument optional.
(Animated Images): Use non-@code{nil} instead of non-nil.
* files.texi (Format Conversion Round-Trip): Use non-@code{nil}
instead of non-nil.
* frames.texi (Creating Frames): make-frame is a command.
(Input Focus): select-frame is a command.
(Pointer Shape): void-text-area-pointer is an option.
* help.texi (Describing Characters): read-kbd-macro is a
command.
(Help Functions): describe-prefix-bindings is a command.
* markers.texi (Creating Markers): Both arguments of copy-marker
are optional.
* minibuf.texi (Reading File Names): Use @kbd instead of @code.
* modes.texi (Mode Line Variables): mode-line-remote and
mode-line-client are not options.
(Imenu): imenu-add-to-menubar is a command.
(SMIE Indentation Helpers): Use non-@code{nil} instead of
non-nil.
* os.texi (Sound Output): play-sound-file is a command.
* package.texi (Package Archives): Use @key{RET} instead of
@kbd{RET}.
* processes.texi (Signals to Processes): Use @key{RET} instead
of @code{RET}.
(Signals to Processes): signal-process is a command.
* text.texi (Clickable Text): Use @key{RET} instead of
@kbd{RET}.
(Base 64): base64-encode-string is not a command while
base64-decode-region is.
* windows.texi (Switching Buffers): pop-to-buffer is a command.
2012-05-15 11:38:50 +02:00
Eli Zaretskii
c8fb9dc689 Fix bug #11464 with pos-visible-in-window-p and R2L text in L2R paragraph.
src/xdisp.c (pos_visible_p): Don't report a position visible when move_it_to
 stopped at the last line of window, which happens to be scanned
 backwards by the bidi iteration.
2012-05-13 21:22:35 +03:00
Eli Zaretskii
ac268e6786 Fix bug #11417 with infloop when left-fringe/right-fringe spec is used on TTY.
src/xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we
 already have overlays loaded.
 (handle_single_display_spec): Before returning without displaying
 fringe bitmap, synchronize the bidi iterator with the main display
 iterator, by calling iterate_out_of_display_property.
 (iterate_out_of_display_property): Detect buffer iteration by
 testing that it->string is a Lisp string.
 (get_next_display_element): When the current object is exhausted,
 and there's something on it->stack, call set_iterator_to_next to
 proceed with what's on the stack, instead of returning zero.
 (set_iterator_to_next): If called at the end of a Lisp string,
 proceed to consider_string_end without incrementing string
 position.  Don't increment display vector index past the end of
 the display vector.
2012-05-13 18:35:13 +03:00
Chong Yidong
6cb820bab5 Backport fix for Bug#11382 from trunk 2012-05-13 17:16:46 +08:00
Andreas Schwab
9879e263b1 * cc-mode.texi: Avoid space before macro in 4th argument of cross
reference commands.
2012-05-12 21:00:30 +02:00
Andreas Schwab
78e91d0834 * Makefile.in (gnus.dvi): Use $@ instead of $*.dvi. 2012-05-12 19:23:16 +02:00
Eli Zaretskii
82f9b393c5 Fix display when left-fringe/right-fringe display spec is invalid.
src/xdisp.c (handle_single_display_spec): Return 1 for left-margin
 and right-margin display specs even if the spec is invalid or we
 are on a TTY, and thus unable to display on the fringes.  That's
 because the text with the property will not be displayed anyway,
 so we need to signal to the caller that this is a "replacing"
 display spec.  This fixes display when the spec is invalid or we
 are on a TTY.
2012-05-11 17:05:06 +03:00
Stefan Monnier
d9d1dfefe1 * net/rlogin.el (rlogin-mode-map): Fix last change. 2012-05-11 08:40:43 -04:00
Paul Eggert
297834cdf3 * unexaix.c (make_hdr): Fix typo in prototype.
This bug broke the build on AIX.  Problem reported by Gilles Pion.
2012-05-09 12:44:19 -07:00
Jason L. Wright
8633b1f456 * mail/smtpmail.el (smtpmail-send-command): Send the command and
the following \r\n using a single `process-send-string', since the
Lotus SMTP server refuses to accept any commands if they are sent
with two `process-send-string's.

Fixes: debbugs:11444
2012-05-09 21:12:20 +02:00
Stefan Monnier
fe263b8f57 * lisp/shell.el (shell-parse-pcomplete-arguments):
Obey pcomplete-arg-quote-list inside double-quoted args as well.

Fixes: debbugs:11348
2012-05-09 13:20:24 -04:00
Glenn Morris
0a454caf05 Move part of previous clean rule change to mostlyclean
* doc/lispref/Makefile.in (mostlyclean): Add some more vol1/2 items.
2012-05-08 15:39:29 -04:00
Glenn Morris
e286668674 FOR-RELEASE comment 2012-05-07 23:44:18 -07:00
Glenn Morris
e6afe47b27 * doc/lispref/Makefile.in (clean): Add some more vol1/2 items. 2012-05-07 22:01:28 -04:00
Glenn Morris
143d9dd80e doc/lispref/two-volume.make small fix
* doc/lispref/two-volume.make (emacsdir): New.
(tex): Add directory with emacsver.texi to TEXINPUTS.
2012-05-07 21:57:08 -04:00
Stefan Monnier
1cb51c12e4 * shell.el (shell-completion-vars): Fix last change.
Fixes: debbugs:11348
2012-05-07 20:27:13 -04:00
Glenn Morris
188d270185 Improve previous dir-locals-read-from-file change 2012-05-06 21:29:59 -07:00
Chong Yidong
18f0051578 Fix a gdb-mi process filtering issue arising in ansi-color.el.
* lisp/ansi-color.el (ansi-color-process-output): Check for validity
of comint-last-output-start before using it.  This avoids a bad
interaction with gdb-mi's input/output buffer.
2012-05-07 11:14:21 +08:00
Glenn Morris
fd075e7b2b * files.el (dir-locals-read-from-file): Mention dir-locals in any error message. 2012-05-06 10:57:28 -07:00
Chong Yidong
ed39e4e24d * frames.texi (Mouse References, Mouse Commands): Fix index entries.
Fixes: debbugs:11362
2012-05-06 12:28:58 +08:00
Chong Yidong
25f292cd48 * emacs-lisp/package.el (package-built-in-p): Handle `emacs' package.
Fixes: debbugs:11410
2012-05-06 12:05:43 +08:00
Glenn Morris
13a629967d Auto-commit of generated files. 2012-05-05 07:17:30 -04:00
Andreas Schwab
34792228da * configure.in: Fix last change. 2012-05-05 12:18:38 +02:00
Eli Zaretskii
0d887c7d51 Fix failures in starting subprocesses on Windows 7.
src/w32proc.c (new_child): Force Windows to reserve only 64KB of
 stack for each reader_thread, instead of defaulting to 8MB
 determined by the linker.  This avoids failures in creating
 subprocesses on Windows 7, see the discussion in this thread:
 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00119.html.
2012-05-05 11:40:31 +03:00