bpt/emacs.git
12 years agoMerge from trunk.
Paul Eggert [Sun, 2 Oct 2011 05:44:43 +0000 (22:44 -0700)]
Merge from trunk.

12 years ago* lisp/pcomplete.el: Require comint.
Stefan Monnier [Sun, 2 Oct 2011 04:08:50 +0000 (00:08 -0400)]
* lisp/pcomplete.el: Require comint.
(pcomplete--common-suffix): Remove.
(pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
(pcomplete--table-subvert): Sync with comint--table-subvert.
(pcomplete--entries): Use comint-completion-file-name-table.
* lisp/comint.el (comint-unquote-filename): Simplify.
(comint-completion-file-name-table): New function.
(comint--complete-file-name-data): Use it.
* src/dired.c (file_name_completion): Don't expand file name.
(Ffile_name_completion, Ffile_name_all_completions): Expand file name
before checking file name handler.

Fixes: debbugs:9616

12 years ago* pcmpl-gnu.el: Use lexical-binding.
Stefan Monnier [Sun, 2 Oct 2011 01:04:01 +0000 (21:04 -0400)]
* pcmpl-gnu.el: Use lexical-binding.
(pcmpl-gnu-with-file-buffer): Fix last change.

12 years ago* lisp/pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro.
Stefan Monnier [Sun, 2 Oct 2011 01:00:17 +0000 (21:00 -0400)]
* lisp/pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro.
(pcmpl-gnu-tar-buffer): Remove.
(pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
avoid.  Make sure pcomplete-suffix-list is only changed temporarily.
Don't look inside the tar's file is it's too large.

Fixes: debbugs:9643

12 years ago* src/minibuf.c (Finternal_complete_buffer): Only show internal buffers if
Stefan Monnier [Sun, 2 Oct 2011 00:25:27 +0000 (20:25 -0400)]
* src/minibuf.c (Finternal_complete_buffer): Only show internal buffers if
they've been requested explicitly.

Fixes: debbugs:9591

12 years agoetc/NEWS: Fix typo. Remove duplicate info.
Juanma Barranquero [Sat, 1 Oct 2011 23:15:46 +0000 (01:15 +0200)]
etc/NEWS: Fix typo.  Remove duplicate info.

12 years agoFix manual description of display-buffer-pop-up-window.
Chong Yidong [Sat, 1 Oct 2011 22:16:24 +0000 (18:16 -0400)]
Fix manual description of display-buffer-pop-up-window.
Also, tweaks to NEWS.

* doc/lispref/windows.texi (Display Action Functions): Fix description of
display-buffer-pop-up-window.

12 years agoAdd :version tag to shell-dir-cookie-re.
Chong Yidong [Sat, 1 Oct 2011 22:05:36 +0000 (18:05 -0400)]
Add :version tag to shell-dir-cookie-re.

12 years agoDocument some Emacs 24 scrolling changes.
Chong Yidong [Sat, 1 Oct 2011 21:54:33 +0000 (17:54 -0400)]
Document some Emacs 24 scrolling changes.

* doc/emacs/basic.texi (Moving Point):
* doc/emacs/custom.texi (Mouse Buttons):
* doc/emacs/rmail.texi (Rmail Scrolling):
* doc/emacs/search.texi (Isearch Scroll):

* doc/emacs/display.texi (Scrolling): Replace scroll-up/down with
scroll-up/down-command.  Fix scroll-preserve-screen-position
description.  Document scroll-error-top-bottom.

* doc/lispref/windows.texi (Textual Scrolling): Document scroll-up-command,
scroll-down-command, scroll-error-top-bottom, and the
scroll-command symbol property.

12 years agoChange scroll-up/down bindings to Emacs 24's scroll-*-command.
Chong Yidong [Sat, 1 Oct 2011 20:32:01 +0000 (16:32 -0400)]
Change scroll-up/down bindings to Emacs 24's scroll-*-command.

* cus-edit.el (custom-mode-map):
* epa.el (epa-key-list-mode-map):
* man.el (Man-mode-map):
* startup.el (splash-screen-keymap):
* simple.el (special-mode-map): Use scroll-up-command and
scroll-down-command.

* progmodes/idlw-help.el (idlwave-help-mode-map):
* progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
* net/newst-plainview.el (newsticker-mode-map):
* emulation/ws-mode.el (wordstar-mode-map):
* emulation/vi.el (vi-com-map):
* calc/calc-graph.el (calc-graph-show-dumb):
* term/sun.el (terminal-init-sun):
* term/ns-win.el (global-map):
* progmodes/grep.el (grep-mode-map):
* progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
* mail/rmail.el (rmail-mode-map):
* progmodes/cpp.el (cpp-edit-mode-map): Likewise.

12 years agoMerge changes from emacs-23
Chong Yidong [Sat, 1 Oct 2011 18:46:45 +0000 (14:46 -0400)]
Merge changes from emacs-23

12 years agoAllow overriding of theme confirmation via custom-safe-themes.
Chong Yidong [Sat, 1 Oct 2011 18:27:21 +0000 (14:27 -0400)]
Allow overriding of theme confirmation via custom-safe-themes.

See http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00121.html

* lisp/custom.el (custom-safe-themes, load-theme): Treat value of t for
custom-safe-themes as special.

12 years ago* notifications.el (notifications-notify): Fix docstring.
Julien Danjou [Sat, 1 Oct 2011 13:19:17 +0000 (15:19 +0200)]
* notifications.el (notifications-notify): Fix docstring.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 1 Oct 2011 10:20:53 +0000 (06:20 -0400)]
Auto-commit of loaddefs files.

12 years ago* bytecode.c (unmark_byte_stack, exec_byte_code): use ptrdiff_t, not int.
Paul Eggert [Sat, 1 Oct 2011 05:57:41 +0000 (22:57 -0700)]
* bytecode.c (unmark_byte_stack, exec_byte_code): use ptrdiff_t, not int.

(exec_byte_code): Use tighter memory-full test, one that checks
for alloca overflow.  Do not compute the address of the object
just before an array.

12 years ago* lisp/pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.
Per Starbäck [Sat, 1 Oct 2011 02:38:46 +0000 (19:38 -0700)]
* lisp/pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.

Fixes: debbugs:9643

12 years ago* buffer.c (Fmove_overlay): Delete an evaporating overlay
Paul Eggert [Fri, 30 Sep 2011 23:06:51 +0000 (16:06 -0700)]
* buffer.c (Fmove_overlay): Delete an evaporating overlay

if it becomes empty after its bounds are adjusted to fit within
its buffer.  Without this fix, in a nonempty buffer (let ((o
(make-overlay 1 2))) (overlay-put o 'evaporate t) (move-overlay o 0 1))
yields an empty overlay that has the evaporate property, which is
not supposed to happen.  (Bug#9642)

12 years agoMerge from trunk.
Paul Eggert [Fri, 30 Sep 2011 20:29:25 +0000 (13:29 -0700)]
Merge from trunk.

12 years ago* buffer.h (struct buffer): Use time_t, not int, for a time stamp.
Paul Eggert [Fri, 30 Sep 2011 20:22:01 +0000 (13:22 -0700)]
* buffer.h (struct buffer): Use time_t, not int, for a time stamp.

This fixes a Y2038 bug on 64-bit hosts.
* buffer.c (reset_buffer):
* fileio.c (Fdo_auto_save, Fset_buffer_auto_saved)
(Fclear_buffer_auto_save_failure):
Use 0, not -1, to represent an unset failure time, since time_t
might not be signed.

12 years ago* doc/emacs/commands.texi (Keys): Whitespace fix. (Bug#9635)
Glenn Morris [Fri, 30 Sep 2011 18:17:34 +0000 (14:17 -0400)]
* doc/emacs/commands.texi (Keys): Whitespace fix.  (Bug#9635)

12 years agoMerge from trunk.
Paul Eggert [Fri, 30 Sep 2011 17:44:37 +0000 (10:44 -0700)]
Merge from trunk.

12 years agoRemove dependency on glibc malloc internals.
Paul Eggert [Fri, 30 Sep 2011 17:07:40 +0000 (10:07 -0700)]
Remove dependency on glibc malloc internals.

* alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
Move back here from lisp.h, but with their new implementations.
(XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT)
(XMALLOC_OVERRUN_SIZE_SIZE): Move these new lisp.h macros here.
* charset.c (charset_table_init): New static var.
(syms_of_charset): Use it instead of xmalloc.  This removes a
dependency on glibc malloc internals.  See Eli Zaretskii's comment in
<http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00815.html>.
* lisp.h (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
Move back to alloc.c.
(XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT)
(XMALLOC_OVERRUN_SIZE_SIZE): Move to alloc.c.

12 years agoFix bug number in ChangeLog entry.
Martin Rudalics [Fri, 30 Sep 2011 13:23:12 +0000 (15:23 +0200)]
Fix bug number in ChangeLog entry.

12 years agoInsert initial-scratch-message before displaying *scratch*. (Bug#9636)
Martin Rudalics [Fri, 30 Sep 2011 13:21:29 +0000 (15:21 +0200)]
Insert initial-scratch-message before displaying *scratch*.  (Bug#9636)

* startup.el (command-line-1): Fix last fix by inserting
initial-scratch-message into *scratch* before displaying it.
(Bug#9626) and (Bug#9636)

12 years ago* nsterm.m (windowDidResize): Call x_set_window_size only when
Jan Djärv [Fri, 30 Sep 2011 07:42:26 +0000 (09:42 +0200)]
* nsterm.m (windowDidResize): Call x_set_window_size only when
ns_in_resize is true.  Otherwise set pixelwidth/height and
call change_frame_size.

Fixes: debbugs:9628

12 years agosrc/ChangeLog: Minor typos fixed.
Eli Zaretskii [Fri, 30 Sep 2011 07:25:15 +0000 (10:25 +0300)]
src/ChangeLog: Minor typos fixed.

12 years agoPort --enable-checking=all to Fedora 14 x86-64.
Paul Eggert [Fri, 30 Sep 2011 07:16:38 +0000 (00:16 -0700)]
Port --enable-checking=all to Fedora 14 x86-64.

* charset.c (syms_of_charset): Also account for glibc malloc's
internal overhead when calculating the initial malloc maximum.

12 years agoPort --enable-checking=all to Fedora 14 x86.
Paul Eggert [Fri, 30 Sep 2011 03:25:46 +0000 (20:25 -0700)]
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.

12 years agoAdd a few more MS-DOS specific files to .bzrignore.
Eli Zaretskii [Thu, 29 Sep 2011 14:17:42 +0000 (17:17 +0300)]
Add a few more MS-DOS specific files to .bzrignore.

 .bzrignore: Add lib/SYS, lib/alloca.in-h, lib/signal.in-h.

12 years agoFix bug #9607 with vertical motion when auto-hscroll-mode is disabled.
Eli Zaretskii [Thu, 29 Sep 2011 13:03:42 +0000 (16:03 +0300)]
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.

12 years agoFix ChangeLog entry for the last commit.
Eli Zaretskii [Thu, 29 Sep 2011 12:18:08 +0000 (15:18 +0300)]
Fix ChangeLog entry for the last commit.

12 years agoFix the MSDOS build due to recent changes.
Eli Zaretskii [Thu, 29 Sep 2011 12:13:54 +0000 (15:13 +0300)]
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.

12 years agoRestore GNUmakefile. Fix capitalization in config.bat.
Eli Zaretskii [Thu, 29 Sep 2011 12:08:36 +0000 (15:08 +0300)]
Restore GNUmakefile.  Fix capitalization in config.bat.

12 years agoFix the MSDOS build.
Eli Zaretskii [Thu, 29 Sep 2011 12:00:18 +0000 (15:00 +0300)]
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.

12 years agoIn display-buffer-record-window call point for selected window. (Bug#9626)
Martin Rudalics [Thu, 29 Sep 2011 09:20:45 +0000 (11:20 +0200)]
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)

12 years agoIn command-line-1 insert initial-scratch-message before markers (Bug#9605).
Martin Rudalics [Thu, 29 Sep 2011 08:16:15 +0000 (10:16 +0200)]
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.

12 years ago* alloc.c: Do not assume sizeof (size_t) is a multiple of 8
Paul Eggert [Thu, 29 Sep 2011 07:44:58 +0000 (00:44 -0700)]
* alloc.c: Do not assume sizeof (size_t) is a multiple of 8

when debugging.
(alignof, XMALLOC_BASE_ALIGNMENT, XMALLOC_HEADER_ALIGNMENT)
(XMALLOC_OVERRUN_SIZE_SIZE): New macros.
(XMALLOC_OVERRUN_CHECK_OVERHEAD, xmalloc_put_size, xmalloc_get_size)
(overrun_check_malloc, overrun_check_realloc, overrun_check_free):
Replace uses of sizeof (size_t) with XMALLOC_OVERRUN_SIZE_SIZE.

12 years ago* lisp/pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
Glenn Morris [Thu, 29 Sep 2011 07:21:06 +0000 (00:21 -0700)]
* lisp/pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.

12 years agolisp/descr-text.el (describe-char-categories): Accept multiline descriptions.
Juanma Barranquero [Thu, 29 Sep 2011 00:12:44 +0000 (02:12 +0200)]
lisp/descr-text.el (describe-char-categories): Accept multiline descriptions.

12 years ago* simple.el (delete-trailing-whitespace): Fix last change.
Stefan Monnier [Wed, 28 Sep 2011 20:50:16 +0000 (16:50 -0400)]
* simple.el (delete-trailing-whitespace): Fix last change.

12 years agoMerge from trunk.
Paul Eggert [Wed, 28 Sep 2011 20:07:17 +0000 (13:07 -0700)]
Merge from trunk.

12 years agoINSTALL: Mention that m17n libraries and libotf are needed for Arabic shaping.
Eli Zaretskii [Wed, 28 Sep 2011 17:49:09 +0000 (20:49 +0300)]
INSTALL: Mention that m17n libraries and libotf are needed for Arabic shaping.

12 years agoFix bug #9624 with crashes in Muse mode.
Eli Zaretskii [Wed, 28 Sep 2011 14:37:27 +0000 (17:37 +0300)]
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.

12 years agognus-uu.el (gnus-uu-grab-articles): Require gnus-async so that `gnus-asynchronous...
Lars Magne Ingebrigtsen [Wed, 28 Sep 2011 09:03:55 +0000 (09:03 +0000)]
gnus-uu.el (gnus-uu-grab-articles): Require gnus-async so that `gnus-asynchronous' isn't shadowed.

12 years ago* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
Stefan Monnier [Wed, 28 Sep 2011 02:19:56 +0000 (22:19 -0400)]
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
Don't confuse "y => 3" as the beginning of a `y' operation.

12 years ago* lisp/emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
Stefan Monnier [Wed, 28 Sep 2011 01:20:41 +0000 (21:20 -0400)]
* lisp/emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
object has more than 4 slots.

Fixes: debbugs:9613

12 years agoFix typos.
Juanma Barranquero [Wed, 28 Sep 2011 00:59:28 +0000 (02:59 +0200)]
Fix typos.

12 years agoMove test/newsticker-testsuite.el to automated/newsticker-tests.el
Ulf Jasper [Tue, 27 Sep 2011 19:08:40 +0000 (21:08 +0200)]
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.

12 years agoMove test/newsticker-testsuite.el to automated/newsticker-tests.el
Ulf Jasper [Tue, 27 Sep 2011 18:52:00 +0000 (20:52 +0200)]
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.

12 years agoImprove doc strings for completion styles.
Eli Zaretskii [Tue, 27 Sep 2011 18:51:05 +0000 (21:51 +0300)]
Improve doc strings for completion styles.

 lisp/minibuffer.el (completion-styles)
 (completion-category-overrides): Cross reference each other in doc
 strings.

12 years agopcmpl-cvs.el fix for bug#9606
Glenn Morris [Tue, 27 Sep 2011 18:09:43 +0000 (14:09 -0400)]
pcmpl-cvs.el fix for bug#9606

* lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
to split-string.

12 years ago* mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection.
Lars Magne Ingebrigtsen [Tue, 27 Sep 2011 17:45:18 +0000 (19:45 +0200)]
* mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection.

Fixes: debbugs:9615

12 years agoFix bug #9610 with slow cursor motion in buffers with invisible text.
Eli Zaretskii [Tue, 27 Sep 2011 17:18:31 +0000 (20:18 +0300)]
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.

12 years agoForce left-to-right paragraphs in Org buffers.
Eli Zaretskii [Tue, 27 Sep 2011 16:46:17 +0000 (19:46 +0300)]
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.

12 years ago* coding.c (Ffind_operation_coding_system): Avoid subscript error.
Paul Eggert [Tue, 27 Sep 2011 16:31:12 +0000 (09:31 -0700)]
* coding.c (Ffind_operation_coding_system): Avoid subscript error.

12 years agoMerge from trunk.
Paul Eggert [Tue, 27 Sep 2011 16:04:56 +0000 (09:04 -0700)]
Merge from trunk.

12 years ago* xdisp.c (handle_display_spec, display_prop_string_p): Use ptrdiff_t, not int.
Paul Eggert [Tue, 27 Sep 2011 16:03:48 +0000 (09:03 -0700)]
* xdisp.c (handle_display_spec, display_prop_string_p): Use ptrdiff_t, not int.

12 years ago* print.c (print_object) [0]: Fix printf format int width.
Paul Eggert [Tue, 27 Sep 2011 16:02:48 +0000 (09:02 -0700)]
* print.c (print_object) [0]: Fix printf format int width.

12 years ago* nsselect.m (clean_local_selection_data): Use ptrdiff_t, not int.
Paul Eggert [Tue, 27 Sep 2011 16:02:05 +0000 (09:02 -0700)]
* nsselect.m (clean_local_selection_data): Use ptrdiff_t, not int.

12 years ago* keymap.c.c (Fdefine_key): Use ptrdiff_t, not int.
Paul Eggert [Tue, 27 Sep 2011 16:00:55 +0000 (09:00 -0700)]
* keymap.c.c (Fdefine_key): Use ptrdiff_t, not int.

12 years ago* dispnew.c (Fframe_of_buffer_changed_p): Use ptrdiff_t, not int.
Paul Eggert [Tue, 27 Sep 2011 16:00:12 +0000 (09:00 -0700)]
* dispnew.c (Fframe_of_buffer_changed_p): Use ptrdiff_t, not int.

12 years ago* data.c (Faref): Use ptrdiff_t, not int.
Paul Eggert [Tue, 27 Sep 2011 15:59:06 +0000 (08:59 -0700)]
* data.c (Faref): Use ptrdiff_t, not int.

12 years ago* coding.c: Integer and buffer overflow fixes.
Paul Eggert [Tue, 27 Sep 2011 15:58:20 +0000 (08:58 -0700)]
* coding.c: Integer and buffer overflow fixes.

(Funencodable_char_position, Fcheck_coding_systems_region)
(get_translation, handle_composition_annotation, consume_chars):
Use ptrdiff_t, not int, to avoid needless 32-bit limit on 64-bit hosts.
(consume_chars): Rewrite to avoid calculating an address outside buffer.

12 years ago* lisp/emacs-lisp/package.el (list-packages): Fix echo area message.
Chong Yidong [Tue, 27 Sep 2011 15:58:13 +0000 (11:58 -0400)]
* lisp/emacs-lisp/package.el (list-packages): Fix echo area message.

12 years ago* ccl.c (ccl_driver, Fregister_code_conversion_map): Check that Vcode_version_map_vec...
Paul Eggert [Tue, 27 Sep 2011 15:56:04 +0000 (08:56 -0700)]
* ccl.c (ccl_driver, Fregister_code_conversion_map): Check that Vcode_version_map_vector is a vector.

12 years agoAuto-commit of generated files.
Glenn Morris [Tue, 27 Sep 2011 10:19:42 +0000 (06:19 -0400)]
Auto-commit of generated files.

12 years agoAccept cons cell HIST arg in ido-read-internal
Leo Liu [Tue, 27 Sep 2011 09:28:03 +0000 (17:28 +0800)]
Accept cons cell HIST arg in ido-read-internal

12 years ago* lread.c (readevalloop): Use correct code for NBSP.
Andreas Schwab [Tue, 27 Sep 2011 08:37:07 +0000 (10:37 +0200)]
* lread.c (readevalloop): Use correct code for NBSP.
(read1): Likewise.  (Bug#9608)

12 years agoClarify plstore-select-keys documentation.
Daiki Ueno [Tue, 27 Sep 2011 06:01:27 +0000 (15:01 +0900)]
Clarify plstore-select-keys documentation.

* plstore.el (plstore-select-keys, plstore-encrypt-to): Clarify
documentation.

12 years agomerge trunk
Kenichi Handa [Tue, 27 Sep 2011 02:18:32 +0000 (11:18 +0900)]
merge trunk

12 years agoImprove tamil-itrans input method.
Kenichi Handa [Tue, 27 Sep 2011 02:15:28 +0000 (11:15 +0900)]
Improve tamil-itrans input method.

12 years agoMerge from trunk.
Paul Eggert [Tue, 27 Sep 2011 01:13:58 +0000 (18:13 -0700)]
Merge from trunk.

12 years agoFix last change.
Katsumi Yamaoka [Mon, 26 Sep 2011 22:53:59 +0000 (22:53 +0000)]
Fix last change.

12 years agonnimap.el (nnimap-insert-partial-structure): The charset parameter isn't case-sensitive.
Lars Magne Ingebrigtsen [Mon, 26 Sep 2011 22:52:31 +0000 (22:52 +0000)]
nnimap.el (nnimap-insert-partial-structure): The charset parameter isn't case-sensitive.

12 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Mon, 26 Sep 2011 21:59:47 +0000 (21:59 +0000)]
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.

12 years agoMerge from trunk.
Paul Eggert [Mon, 26 Sep 2011 21:34:22 +0000 (14:34 -0700)]
Merge from trunk.

12 years agoMerge from gnulib, improving some licensing wording.
Paul Eggert [Mon, 26 Sep 2011 21:30:18 +0000 (14:30 -0700)]
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.

12 years ago* configure.in: Initialize HAVE_LIBXML2.
Andreas Schwab [Mon, 26 Sep 2011 18:38:31 +0000 (20:38 +0200)]
* configure.in: Initialize HAVE_LIBXML2.

12 years agoMerge from trunk.
Paul Eggert [Mon, 26 Sep 2011 16:14:53 +0000 (09:14 -0700)]
Merge from trunk.

12 years ago* eval.c (Fprog2): Simplify and allow C tail recursion.
Paul Eggert [Mon, 26 Sep 2011 15:51:04 +0000 (08:51 -0700)]
* eval.c (Fprog2): Simplify and allow C tail recursion.

12 years ago* floatfns.c (Fexpt): Avoid undefined signed * signed overflow.
Paul Eggert [Mon, 26 Sep 2011 15:27:22 +0000 (08:27 -0700)]
* floatfns.c (Fexpt): Avoid undefined signed * signed overflow.

12 years ago* cmds.c (internal_self_insert): Fix EMACS_INT type typo.
Paul Eggert [Mon, 26 Sep 2011 15:25:04 +0000 (08:25 -0700)]
* cmds.c (internal_self_insert): Fix EMACS_INT type typo.

12 years agoFix NEWS entry for M-SPC change.
Chong Yidong [Mon, 26 Sep 2011 15:05:52 +0000 (11:05 -0400)]
Fix NEWS entry for M-SPC change.

Fixes: debbugs:9604

12 years agoAuto-commit of generated files.
Glenn Morris [Mon, 26 Sep 2011 10:18:24 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years ago* make-dist: Add lib/makefile.w32-in.
Glenn Morris [Mon, 26 Sep 2011 08:23:13 +0000 (01:23 -0700)]
* make-dist: Add lib/makefile.w32-in.

12 years agoMerge from trunk.
Paul Eggert [Mon, 26 Sep 2011 05:52:31 +0000 (22:52 -0700)]
Merge from trunk.

12 years ago* eval.c (Fprog1, Fprog2): Don't assume list length fits in int. Simplify.
Paul Eggert [Mon, 26 Sep 2011 05:50:37 +0000 (22:50 -0700)]
* eval.c (Fprog1, Fprog2): Don't assume list length fits in int.  Simplify.

12 years agoUpdates to admin/make-tarball.txt.
Chong Yidong [Mon, 26 Sep 2011 03:40:18 +0000 (23:40 -0400)]
Updates to admin/make-tarball.txt.

12 years agoBump version to 24.0.90.
Chong Yidong [Mon, 26 Sep 2011 03:20:03 +0000 (23:20 -0400)]
Bump version to 24.0.90.
Regenerate AUTHORS and ldefs-boot.el.

12 years ago* admin.el (set-version): Fix regexps for config.nt and sed2v2.inp.
Chong Yidong [Mon, 26 Sep 2011 03:02:21 +0000 (23:02 -0400)]
* admin.el (set-version): Fix regexps for config.nt and sed2v2.inp.

12 years agoMerge from trunk.
Paul Eggert [Sun, 25 Sep 2011 21:06:35 +0000 (14:06 -0700)]
Merge from trunk.

12 years ago* lisp.h (XSETSUBR): Revert, as the old version is needed if debugging is enabled.
Paul Eggert [Sun, 25 Sep 2011 21:04:04 +0000 (14:04 -0700)]
* lisp.h (XSETSUBR): Revert, as the old version is needed if debugging is enabled.

12 years ago* puresize.h (PURESIZE_RATIO): Shrink this to 8/6 on 32-bit hosts
Paul Eggert [Sun, 25 Sep 2011 21:03:13 +0000 (14:03 -0700)]
* puresize.h (PURESIZE_RATIO): Shrink this to 8/6 on 32-bit hosts

configured --with-wide-int.

12 years ago* dbusbind.c (Fdbus_register_signal): When service is not
Michael Albinus [Sun, 25 Sep 2011 16:00:02 +0000 (18:00 +0200)]
* dbusbind.c (Fdbus_register_signal): When service is not
registered, use nil in Vdbus_registered_objects_table.  (Bug#9581)

12 years ago* net/dbus.el (dbus-unregister-object): Don't release services for
Michael Albinus [Sun, 25 Sep 2011 15:56:28 +0000 (17:56 +0200)]
* net/dbus.el (dbus-unregister-object): Don't release services for
registered signals.  (Bug#9581)

12 years agoAdd NEWS entries for quit-window, window-state functions, and ignore-window-parameters.
Martin Rudalics [Sun, 25 Sep 2011 15:29:14 +0000 (17:29 +0200)]
Add NEWS entries for quit-window, window-state functions, and ignore-window-parameters.

12 years agoDescribe window quitting, configuration and parameter additions.
Martin Rudalics [Sun, 25 Sep 2011 15:08:25 +0000 (17:08 +0200)]
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.

12 years ago* lisp/progmodes/cfengine.el (cfengine-auto-mode): Add convenience function.
Ted Zlatanov [Sun, 25 Sep 2011 11:52:53 +0000 (07:52 -0400)]
* 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.

12 years agoAuto-commit of generated files.
Glenn Morris [Sun, 25 Sep 2011 10:19:40 +0000 (06:19 -0400)]
Auto-commit of generated files.

12 years agoSome minor changes in windows section.
Martin Rudalics [Sun, 25 Sep 2011 10:11:25 +0000 (12:11 +0200)]
Some minor changes in windows section.

* windows.texi (Windows and Frames, Display Action Functions)
(Switching Buffers): Fix some typos.
(Buffers and Windows): Remove reference to window-auto-delete.
Reword description of replace-buffer-in-windows.
(Window History): Fix some typos and refer to frame local buffer
list.