1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00
Commit graph

102829 commits

Author SHA1 Message Date
Paul Eggert
cb993c584c Port --enable-checking=all to Fedora 14 x86.
* alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
Move to lisp.h.
(xmalloc_put_size, xmalloc_get_size, overrun_check_malloc)
(overrun_check_realloc, overrun_check_free):
Use XMALLOC_OVERRUN_SIZE_SIZE, not sizeof (size_t).
That way, xmalloc returns a properly-aligned pointer even if
XMALLOC_OVERRUN_CHECK is defined.  The old debugging code happened
to align OK on typical 64-bit hosts, but not on Fedora 14 x86.
* charset.c (syms_of_charset): Take XMALLOC_OVERRUN_CHECK_OVERHEAD
into account when calculating the initial malloc maximum.
* lisp.h (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
Move here from alloc.c, so that charset.c can use it too.
Properly align; the old code wasn't right for common 32-bit hosts
when configured with --enable-checking=all.
(XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT)
(XMALLOC_OVERRUN_SIZE_SIZE): New macros.
2011-09-29 20:25:46 -07:00
Eli Zaretskii
5f91c1e530 Add a few more MS-DOS specific files to .bzrignore.
.bzrignore: Add lib/SYS, lib/alloca.in-h, lib/signal.in-h.
2011-09-29 17:17:42 +03:00
Eli Zaretskii
fe5f08dd8f Fix bug #9607 with vertical motion when auto-hscroll-mode is disabled.
lisp/simple.el (line-move): If auto-hscroll-mode is disabled and the
 window is hscrolled, move by logical lines.
 (line-move-visual): Update the doc string to the above effect.
2011-09-29 16:03:42 +03:00
Eli Zaretskii
e785f2ec1d Fix ChangeLog entry for the last commit. 2011-09-29 15:18:08 +03:00
Eli Zaretskii
68b98f17f9 Fix the MSDOS build due to recent changes.
msdos/mainmake.v2 (boot): Condition the value on the existence of
 autogen/README, not admin/admin.el, since the latter is now part
 of the release tarball.
 (install): Don't copy lib-src/fns.el, as that file is no longer
 generated in that directory.
 msdos/sed1v2.inp (LIB_PTHREAD, LIB_PTHREAD_SIGMASK): Edit to empty.
 (SETTINGS_CFLAGS, SETTINGS_LIBS): Edit these instead of
 GCONF_CFLAGS and GCONF_LIBS.
 msdos/sedlibmk.inp (ALLOCA_H, AR, ARFLAGS, GNULIB_CHDIR, GNULIB_DUP)
 (GNULIB_FDATASYNC, GNULIB_FDOPEN, GNULIB_FSTAT, GNULIB_PCLOSE)
 (GNULIB_PTHREAD_SIGMASK, GNULIB_RAISE, GNULIB_SIGACTION)
 (GNULIB_SIGPROCMASK, GNULIB_SIGNAL_H_SIGPIPE, HAVE_FDATASYNC)
 (HAVE_PCLOSE, HAVE_POPEN, HAVE_POSIX_SIGNALBLOCKING)
 (HAVE_PTHREAD_SIGMASK, HAVE_RAISE, HAVE_SIGACTION)
 (HAVE_SIGHANDLER_T, HAVE_SIGINFO_T, HAVE_SIGSET_T)
 (HAVE_STRUCT_SIGACTION_SA_SIGACTION)
 (HAVE_TYPE_VOLATILE_SIG_ATOMIC_T, LIB_PTHREAD)
 (LIB_PTHREAD_SIGMASK, NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H)
 (NEXT_SIGNAL_H, REPLACE_FDOPEN, REPLACE_PTHREAD_SIGMASK)
 (REPLACE_RAISE): New edits.
 (gl_LIBOBJS): Remove md5.o, filemode.o, and sha1.o.  Add
 pthread_sigmask.o.
 (@GL_GENERATE_ALLOCA_H_TRUE@, @GL_GENERATE_ALLOCA_H_FALSE@): Edit
 to comment out unneeded lines.
 (warn-on-use.h): Edit the recipe commands to work with DJGPP
 without requiring a Unixy shell.
 msdos/inttypes.h (strtoimax) [DJGPP < 2.04]: New macro.
 msdos/sed2v2.inp (HAVE_ALLOCA, HAVE_DECL_STRTOLL, HAVE_DECL_STRTOIMAX)
 (HAVE_STRTOLL, HAVE_SIGSET_T, HAVE_SNPRINTF): New edits.

 .bzrignore: Add ./GNUmakefile.unix.
 config.bat: Rename GNUmakefile, so it is not run on MS-DOS.
 Rename signal.in.h and alloca.in.h.

 src/sysdep.c (snprintf) [EOVERFLOW]: If EOVERFLOW is not defined,
 use EDOM.
2011-09-29 15:13:54 +03:00
Eli Zaretskii
7cc013b5ba Restore GNUmakefile. Fix capitalization in config.bat. 2011-09-29 15:08:36 +03:00
Eli Zaretskii
31bed48620 Fix the MSDOS build.
msdos/mainmake.v2 (boot): Condition the value on the existence of
 autogen/README, not admin/admin.el, since the latter is now part
 of the release tarball.
 (install): Don't copy lib-src/fns.el, as that file is no longer
 generated in that directory.
 msdos/sed1v2.inp (LIB_PTHREAD, LIB_PTHREAD_SIGMASK): Edit to empty.
 (SETTINGS_CFLAGS, SETTINGS_LIBS): Edit these instead of
 GCONF_CFLAGS and GCONF_LIBS.
 msdos/sedlibmk.inp (ALLOCA_H, AR, ARFLAGS, GNULIB_CHDIR, GNULIB_DUP)
 (GNULIB_FDATASYNC, GNULIB_FDOPEN, GNULIB_FSTAT, GNULIB_PCLOSE)
 (GNULIB_PTHREAD_SIGMASK, GNULIB_RAISE, GNULIB_SIGACTION)
 (GNULIB_SIGPROCMASK, GNULIB_SIGNAL_H_SIGPIPE, HAVE_FDATASYNC)
 (HAVE_PCLOSE, HAVE_POPEN, HAVE_POSIX_SIGNALBLOCKING)
 (HAVE_PTHREAD_SIGMASK, HAVE_RAISE, HAVE_SIGACTION)
 (HAVE_SIGHANDLER_T, HAVE_SIGINFO_T, HAVE_SIGSET_T)
 (HAVE_STRUCT_SIGACTION_SA_SIGACTION)
 (HAVE_TYPE_VOLATILE_SIG_ATOMIC_T, LIB_PTHREAD)
 (LIB_PTHREAD_SIGMASK, NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H)
 (NEXT_SIGNAL_H, REPLACE_FDOPEN, REPLACE_PTHREAD_SIGMASK)
 (REPLACE_RAISE): New edits.
 (gl_LIBOBJS): Remove md5.o, filemode.o, and sha1.o.  Add
 pthread_sigmask.o.
 (@GL_GENERATE_ALLOCA_H_TRUE@, @GL_GENERATE_ALLOCA_H_FALSE@): Edit
 to comment out unneeded lines.
 (warn-on-use.h): Edit the recipe commands to work with DJGPP
 without requiring a Unixy shell.
 msdos/inttypes.h (strtoimax) [DJGPP < 2.04]: New macro.
 msdos/sed2v2.inp (HAVE_ALLOCA, HAVE_DECL_STRTOLL, HAVE_DECL_STRTOIMAX)
 (HAVE_STRTOLL, HAVE_SIGSET_T, HAVE_SNPRINTF): New edits.

 .bzrignore: Add ./GNUMakefile.unix.
 config.bat: Rename GNUMakefile, so it is not run on MS-DOS.
 Rename signal.in.h and alloca.in.h.

 src/sysdep.c (snprintf) [EOVERFLOW]: If EOVERFLOW is not defined,
 use EDOM.
2011-09-29 15:00:18 +03:00
Martin Rudalics
ccee00c018 In display-buffer-record-window call point for selected window. (Bug#9626)
* window.el (display-buffer-record-window): When WINDOW is the
selected window use `point' instead of `window-point'.  (Bug#9626)
2011-09-29 11:20:45 +02:00
Martin Rudalics
b5516bbd83 In command-line-1 insert initial-scratch-message before markers (Bug#9605).
* startup.el (command-line-1): Use insert-before-markers when
inserting initial-scratch-message.  (Bug#9605)
* help.el (help-window): Remove variable.
2011-09-29 10:16:15 +02:00
Glenn Morris
52aa0014e7 * lisp/pcmpl-cvs.el (pcomplete/cvs): Add "status" handler. 2011-09-29 00:21:06 -07:00
Juanma Barranquero
df9a7357d2 lisp/descr-text.el (describe-char-categories): Accept multiline descriptions. 2011-09-29 02:12:44 +02:00
Stefan Monnier
88d9610cae * simple.el (delete-trailing-whitespace): Fix last change. 2011-09-28 16:50:16 -04:00
Eli Zaretskii
e1504b9b0b INSTALL: Mention that m17n libraries and libotf are needed for Arabic shaping. 2011-09-28 20:49:09 +03:00
Eli Zaretskii
fbcaa2f388 Fix bug #9624 with crashes in Muse mode.
src/xdisp.c (compute_display_string_end): If there's no display
 string at CHARPOS, return -1.
 src/bidi.c (bidi_fetch_char): When compute_display_string_end
 returns a negative value, treat the character as a normal
 character not covered by a display string.
2011-09-28 17:37:27 +03:00
Lars Magne Ingebrigtsen
0a40c0609b gnus-uu.el (gnus-uu-grab-articles): Require gnus-async so that `gnus-asynchronous' isn't shadowed. 2011-09-28 09:03:55 +00:00
Stefan Monnier
a5daf810f3 * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
Don't confuse "y => 3" as the beginning of a `y' operation.
2011-09-27 22:19:56 -04:00
Stefan Monnier
a8406c20c4 * lisp/emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
object has more than 4 slots.

Fixes: debbugs:9613
2011-09-27 21:20:41 -04:00
Juanma Barranquero
a239d4e9c0 Fix typos. 2011-09-28 02:59:28 +02:00
Ulf Jasper
806b00cb5f Move test/newsticker-testsuite.el to automated/newsticker-tests.el
2011-09-27  Ulf Jasper  <ulf.jasper@web.de>

	* automated/newsticker-tests.el: Move newsticker-testsuite.el
	to automated/newsticker-tests.el. Convert to ERT.
2011-09-27 21:08:40 +02:00
Ulf Jasper
81416b68d8 Move test/newsticker-testsuite.el to automated/newsticker-tests.el
2011-09-27  Ulf Jasper  <ulf.jasper@web.de>

	* automated/newsticker-tests.el: Move newsticker-testsuite.el
	to automated/newsticker-tests.el. Convert to ERT.
2011-09-27 20:52:00 +02:00
Eli Zaretskii
693fbdb629 Improve doc strings for completion styles.
lisp/minibuffer.el (completion-styles)
 (completion-category-overrides): Cross reference each other in doc
 strings.
2011-09-27 21:51:05 +03:00
Glenn Morris
8b457e2832 pcmpl-cvs.el fix for bug#9606
* lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
to split-string.
2011-09-27 14:09:43 -04:00
Lars Magne Ingebrigtsen
85a162088f * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection.
Fixes: debbugs:9615
2011-09-27 19:45:18 +02:00
Eli Zaretskii
88652fd58c Fix bug #9610 with slow cursor motion in buffers with invisible text.
src/xdisp.c (handle_invisible_prop): If invisible text ends on a
 newline, reseat the iterator instead of bidi-iterating there one
 character at a time.  (Bug#9610)
 (BUFFER_POS_REACHED_P, move_it_in_display_line_to): Bail when past
 TO_CHARPOS if the bidi iterator is at base embedding level.
2011-09-27 20:18:31 +03:00
Eli Zaretskii
aa97fd08e3 Force left-to-right paragraphs in Org buffers.
lisp/org/org.el (org-mode): Force left-to-right paragraphs in Org
 buffers.  For a related discussions, see
 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
2011-09-27 19:46:17 +03:00
Chong Yidong
502f9ebda0 * lisp/emacs-lisp/package.el (list-packages): Fix echo area message. 2011-09-27 11:58:13 -04:00
Glenn Morris
2b1928b807 Auto-commit of generated files. 2011-09-27 06:19:42 -04:00
Leo Liu
7690bdea13 Accept cons cell HIST arg in ido-read-internal 2011-09-27 17:28:03 +08:00
Andreas Schwab
ed497dd4ec * lread.c (readevalloop): Use correct code for NBSP.
(read1): Likewise.  (Bug#9608)
2011-09-27 10:37:07 +02:00
Daiki Ueno
90926e2392 Clarify plstore-select-keys documentation.
* plstore.el (plstore-select-keys, plstore-encrypt-to): Clarify
documentation.
2011-09-27 15:01:27 +09:00
Kenichi Handa
9aa99d0176 merge trunk 2011-09-27 11:18:32 +09:00
Kenichi Handa
dd7aa8dd07 Improve tamil-itrans input method. 2011-09-27 11:15:28 +09:00
Katsumi Yamaoka
d594cb6163 Fix last change. 2011-09-26 22:53:59 +00:00
Lars Magne Ingebrigtsen
943399bce8 nnimap.el (nnimap-insert-partial-structure): The charset parameter isn't case-sensitive. 2011-09-26 22:52:31 +00:00
Lars Magne Ingebrigtsen
2146e25680 Merge changes made in Gnus trunk.
nnimap.el (nnimap-wait-for-response): Message less (bug#9540).
nnheader.el (nnheader-message-maybe): New function.
shr.el (shr-tag-table): Render totally broken tables better.
mml.el (mml-generate-mime-1): Don't alter the contents if we're computing the boundary.
pop3.el (pop3-number-of-responses): Removed.
 (pop3-wait-for-messages): Rewrite to take linear time instead of exponential time.
2011-09-26 21:59:47 +00:00
Paul Eggert
6d69f077f1 Merge from trunk. 2011-09-26 14:34:22 -07:00
Paul Eggert
316f8af009 Merge from gnulib, improving some licensing wording.
This clarifies and fixes some licensing issues raised by Glenn Morris
<http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00397.html>.
It also merges the latest version of texinfo.tex and has some
MSVC-related changes that don't affect Emacs.
* Makefile.in (GNULIB_TOOL_FLAGS): Avoid msvc-inval, msvc-nothrow,
pathmax, and raise, since these are needed only to address
MSVC-related issues that Emacs doesn't have.
* doc/misc/texinfo.tex, lib/dup2.c, lib/gnulib.mk, lib/signal.in.h:
* lib/sigprocmask.c, lib/stat.c, lib/stdio.in.h, lib/sys_stat.in.h:
* lib/unistd.in.h, m4/dup2.m4, m4/getloadavg.m4, m4/gl-comp.m4:
* m4/include_next.m4, m4/signal_h.m4, m4/signalblocking.m4:
* m4/stdint.m4, m4/stdio_h.m4, m4/sys_stat_h.m4, m4/time_h.m4:
* m4/unistd_h.m4: Merge from gnulib.
2011-09-26 14:30:18 -07:00
Andreas Schwab
04d51ad41a * configure.in: Initialize HAVE_LIBXML2. 2011-09-26 20:38:31 +02:00
Chong Yidong
ec9da8404b Fix NEWS entry for M-SPC change.
Fixes: debbugs:9604
2011-09-26 11:05:52 -04:00
Glenn Morris
583b17bcd6 Auto-commit of generated files. 2011-09-26 06:18:24 -04:00
Glenn Morris
6e99ef20d8 * make-dist: Add lib/makefile.w32-in. 2011-09-26 01:23:13 -07:00
Chong Yidong
ab22a8a196 Updates to admin/make-tarball.txt. 2011-09-25 23:40:18 -04:00
Chong Yidong
f7d75b4bba Bump version to 24.0.90.
Regenerate AUTHORS and ldefs-boot.el.
2011-09-25 23:20:03 -04:00
Chong Yidong
a0c6445257 * admin.el (set-version): Fix regexps for config.nt and sed2v2.inp. 2011-09-25 23:02:21 -04:00
Michael Albinus
b2bf61aa89 * dbusbind.c (Fdbus_register_signal): When service is not
registered, use nil in Vdbus_registered_objects_table.  (Bug#9581)
2011-09-25 18:00:02 +02:00
Michael Albinus
e2ee6f30ac * net/dbus.el (dbus-unregister-object): Don't release services for
registered signals.  (Bug#9581)
2011-09-25 17:56:28 +02:00
Martin Rudalics
ed6235ea17 Add NEWS entries for quit-window, window-state functions, and ignore-window-parameters. 2011-09-25 17:29:14 +02:00
Martin Rudalics
c419f5cb55 Describe window quitting, configuration and parameter additions.
* windows.texi (Quitting Windows): New node.
(Window Configurations): Add descriptions of window-state-get
and window-state-put.
(Window Parameters): Describe variable ignore-window-parameters.
Sketch some window parameters currently in use.
* elisp.texi (Top): Update node listing.
2011-09-25 17:08:25 +02:00
Ted Zlatanov
f3f9834230 * lisp/progmodes/cfengine.el (cfengine-auto-mode): Add convenience function.
* lisp/progmodes/cfengine.el (cfengine-auto-mode): Add convenience
function that picks between cfengine 2 and 3 support
automatically.  Update docs accordingly.
2011-09-25 07:52:53 -04:00
Glenn Morris
bb72ce9198 Auto-commit of generated files. 2011-09-25 06:19:40 -04:00