Glenn Morris
3b7865ca9b
* configure.ac (INSTALL_INFO): Revert to just checking for "install-info".
2014-05-18 15:41:22 -07:00
Paul Eggert
5eda3a7516
Port ctags+etags build to Sun C 5.12.
...
* .bzrignore: Remove lib-src/ctags.c.
* lib-src/Makefile.in (etags_args): Remove, replacing with ...
(etags_cflags, etags_libs): New macros. All uses changed.
(ctags${EXEEXT}): Don't compile etags.c, as compiling etags.c in
parallel (once for ctags, once for etags) breaks parallel makes
with compilers that use the source file name to name temporaries,
such as Sun C 5.12. Instead, compile ctags.c.
* lib-src/ctags.c: New file.
2014-05-18 11:57:04 -07:00
Stefan Monnier
c42ebc983b
* lisp/emacs-lisp/timer.el (timer-event-handler): Fix last change.
...
Fixes: debbugs:17392
2014-05-18 09:17:10 -04:00
Stefan Monnier
08a2434e2f
* lisp/emacs-lisp/timer.el (timer-event-handler): Don't run if canceled.
...
Fixes: debbugs:17392
2014-05-18 08:58:30 -04:00
Paul Eggert
0d1b87f90e
Port recent libpng changes to hosts with missing png.h.
...
* configure.ac (HAVE_PNG): Port to platforms where libpng-config
succeeds but png.h is absent, by testing libpng-config's output
rather than trusting it. I ran into this problem when building
Emacs trunk on a Solaris 10 host.
2014-05-17 22:50:17 -07:00
Eli Zaretskii
2f82660963
lisp/simple.el (line-move-ignore-invisible): Fix last commit.
2014-05-17 19:06:02 +03:00
Michael Albinus
e8cbb7684f
Fix typo.
2014-05-17 11:08:59 +02:00
Michael Albinus
43425aecb1
* net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
...
for a temporary file name.
2014-05-17 11:00:54 +02:00
Eli Zaretskii
1e046d37a4
Fix bug #17511 with unclear documentation of line-move-ignore-invisible.
...
lisp/simple.el (line-move-ignore-invisible): Doc fix.
doc/lispref/display.texi (Invisible Text): Clarify the description of
line-move-ignore-invisible.
2014-05-17 11:58:17 +03:00
Paul Eggert
8208d2bf95
Assume C99 or later.
...
* lib/stdarg.in.h, lib/stdbool.in.h, m4/stdarg.m4, m4/stdbool.m4:
Remove.
* configure.ac (_AC_PROG_CC_C89): Define a dummy, to keep 'configure'
smaller.
(gl_PROG_CC_C99): Use this to get C99 or later.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* admin/merge-gnulib (GNULIB_MODULES): Remove stdarg, stdbool.
(GNULIB_TOOL_FLAGS): Avoid stdarg, stdbool.
* doc/lispref/internals.texi (C Dialect): Document this.
* etc/NEWS: Document this.
* nt/gnulib.mk: Remove stdarg and stdbool modules.
* src/bytecode.c (B__dummy__): Remove.
* src/conf_post.h (bool_bf) [!NS_IMPL_GNUSTEP]: Use bool.
(FLEXIBLE_ARRAY_MEMBER): Now always empty.
* src/dbusbind.c (XD_DEBUG_MESSAGE) [!DBUS_DEBUG]:
* src/regex.c (DEBUG_PRINT): Assume varargs macros.
* src/lisp.h (DEFUN_FUNCTION_INIT): Remove. All uses now assume C99.
Fixes: debbugs:17487
2014-05-17 01:11:31 -07:00
Fabrice Popineau
f63fc858c3
Always map new memory for buffers after dumping.
...
src/buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Always map new
memory for every buffer that was dumped.
2014-05-17 10:14:59 +03:00
Glenn Morris
f81605024f
* configure.ac: Add comments accidentally omitted from previous change
2014-05-16 21:40:49 -04:00
Glenn Morris
d137278ad4
* configure.ac (INSTALL_INFO): Try "ginstall-info" before "install-info".
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00232.html
2014-05-16 21:38:33 -04:00
Paul Eggert
87374fcc51
* configure.ac (EMACS_CHECK_MODULES): Fix typo and simplify.
2014-05-16 12:03:07 -07:00
Paul Eggert
c56327b55d
Don't require pkg-config when building from repository.
...
* INSTALL: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'.
* INSTALL.REPO: pkg-config is no longer required to build from
the repository.
* autogen.sh: Don't check for pkg-config.
(progs): Remove pkg-config.
(pkg_config_min, AUTORECONF_ENV, env_space, ACLOCAL_PATH):
Remove. All uses removed.
* m4/pkg.m4: New file, built by admin/merge-pkg-config.
* configure.ac: Remove unnecessary m4_pattern_forbid of ^PKG_ and
an AC_ARG_VAR of PKG_CONFIG_PATH. pkg.m4 does that for us.
(EMACS_CHECK_MODULES): Remove workaround for old pkg-config bug,
as we use pkg.m4 from a newer pkg-config.
* admin/merge-pkg-config: New script.
* admin/notes/copyright: Update for m4/*.m4, in particular m4/pkg.m4.
* etc/NEWS: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'.
* etc/PROBLEMS (Build-time-problems): Remove pkg-config problem
that is no longer an issue.
* nt/INSTALL: Remove no-longer-needed notes about pkg-config.
2014-05-16 08:49:13 -07:00
Michael Albinus
1bafb1dede
* net/dbus.el (dbus-init-bus, dbus-call-method)
...
(dbus-call-method-asynchronously, dbus-send-signal)
(dbus-method-return-internal, dbus-method-error-internal)
Check, whether Emacs has been compiled with D-Bus support.
Fixes: debbugs:17508
2014-05-16 15:11:09 +02:00
Glenn Morris
1e217552d2
* etc/TODO: Add entry on printing.
2014-05-15 23:06:55 -07:00
Katsumi Yamaoka
24367e6cfd
lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part): Fix last change
2014-05-15 23:31:30 +00:00
Jan Djärv
fc51d3e201
Fix typo
2014-05-15 18:55:18 +02:00
Jan Djärv
440cef5fc5
Fix yet another configure error on OSX.
...
* configure.ac (LIBONG): Do not test for libpng if NS_IMPL_COCOA.
2014-05-15 18:54:44 +02:00
Dmitry Antipov
ddc30c996a
* src/fns.c (Fnreverse): Allow vectors and bool vectors.
...
* doc/lispref/lists.texi (Building Cons Cells and Lists): Remove
description of `nreverse' and generalize it...
* doc/lispref/sequences.texi (Sequences): ...for sequences here.
* tests/automated/fns-tests.el (fns-tests-nreverse)
(fns-tests-nreverse-bool-vector): New tests.
2014-05-15 18:59:02 +04:00
Dmitry Antipov
92491099f7
* tests/automated/fns-tests.el: New file.
2014-05-15 14:06:45 +04:00
Katsumi Yamaoka
27f13b21fd
lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part): Don't delete next part button; keep spacing between buttons
2014-05-15 06:53:44 +00:00
Dmitry Antipov
c269148bf9
* src/fns.c (Freverse): Allow vectors, bool vectors and strings.
...
* doc/lispref/lists.texi (Building Cons Cells and Lists): Remove
description of `reverse' and generalize it...
* doc/lispref/sequences.texi (Sequences): ...for sequences here.
2014-05-15 10:01:46 +04:00
David Engster
2aa03011f7
Auto-commit of loaddefs files.
2014-05-14 22:45:05 +02:00
Nicolas Richard
ec264fbb7c
Deal with EIEIO methods without doc strings (Bug#17490).
...
* emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
methods which do not have a doc string. (Bug#17490)
2014-05-14 22:41:53 +02:00
Sam Steingold
b8e11d4102
avoid unnecessary questions
...
* lisp/progmodes/python.el (python-shell-get-or-create-process):
Do not bind `current-prefix-arg' so that C-c C-z does not talk
back unless requested.
2014-05-14 14:17:05 -04:00
Glenn Morris
d63d883a97
Add with-file-modes macro, and use it
...
* lisp/subr.el (with-file-modes): New macro.
* lisp/printing.el (pr-save-file-modes):
* lisp/eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
Add with-file-modes.
* lisp/doc-view.el (doc-view-make-safe-dir):
* lisp/epg.el (epg--start):
* lisp/files.el (locate-user-emacs-file, make-temp-file)
(backup-buffer-copy, move-file-to-trash):
* printing.el (pr-despool-print, pr-call-process, pr-text2ps):
* eshell/esh-util.el (eshell-with-private-file-modes)
(eshell-make-private-directory):
* lisp/net/browse-url.el (browse-url-mosaic):
* lisp/obsolete/mailpost.el (post-mail-send-it):
* lisp/obsolete/pgg-pgp.el (pgg-pgp-verify-region):
* lisp/obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
* lisp/url/url-util.el (url-make-private-file):
Use with-file-modes.
* doc/lispref/files.texi (Changing Files): Mention with-file-modes.
* etc/NEWS: Mention this.
2014-05-14 10:15:15 -07:00
Glenn Morris
abad7b05fa
* lisp/vc/emerge.el (emerge-make-temp-file): Simplify.
2014-05-14 10:05:16 -07:00
Glenn Morris
f4da4720df
Merge from emacs-24; up to 2014-05-15T16:55:18Z!jan.h.d@swipnet.se
2014-05-14 10:01:29 -07:00
Stephen Berman
34cba8e885
* lisp/minibuffer.el (completion-pcm--merge-try): Merge trailing / with
...
suffix.
Fixes: debbugs:15419
2014-05-14 12:21:13 -04:00
Dmitry Antipov
6f1d9822d9
Minor cleanup for terminal setup.
...
* termhooks.h (create_terminal): Adjust prototype.
* terminal.c (create_terminal): Pass output method and RIF as args.
(init_initial_terminal):
* nsterm.m (ns_create_terminal):
* term.c (init_tty):
* w32term.c (w32_create_terminal):
* xterm.c (x_create_terminal): Adjust users.
Avoid redundant NULL initializers and add comments.
2014-05-14 17:55:37 +04:00
Katsumi Yamaoka
c5aed7bd93
gnus-art.el, mm-uu.el: Misc improvements for displaying MIME parts
...
* gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part):
Work for the last MIME part in an article.
(gnus-mime-display-single): Suppress excessive newlines between parts.
* mm-uu.el (mm-uu-dissect): Assume that separators may be accompanied
by leading or trailing newline.
2014-05-14 08:50:51 +00:00
Glenn Morris
a5d09243e7
Make some pointless/useless emerge.el options obsolete
...
* vc/emerge.el (emerge-temp-file-prefix): Make pointless option obsolete.
(emerge-temp-file-mode): Make non-functional option obsolete.
2014-05-13 23:59:12 -07:00
Glenn Morris
f0036ec2d2
Optimize away some compat-cruft in printing.el
...
* lisp/printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
Optimize on Emacs, which has the relevant functions for ages.
2014-05-13 23:35:36 -07:00
Paul Eggert
692a1cc417
* texinfo.tex: Update from gnulib.
2014-05-13 16:15:48 -07:00
Paul Eggert
0ec9847809
* merge-gnulib: Defer to autogen.sh for ACLOCAL_PATH computation.
2014-05-13 16:15:01 -07:00
Paul Eggert
3246c8b11a
* keyboard.c (Qdeactivate_mark): Now static.
2014-05-13 15:59:36 -07:00
Stefan Monnier
27a69ff0e8
* lisp/simple.el (undo-make-selective-list): Obey undo-no-redo.
2014-05-13 16:34:12 -04:00
Dmitry Antipov
d3e5c0ea8f
If available, use Xfixes extension to do pointer blanking.
...
* configure.ac (HAVE_XFIXES): Define if available.
(XFIXES_CFLAGS, XFIXES_LIBS): New AC_SUBSTs.
* src/Makefile.in (XFIXES_CFLAGS, XFIXES_LIBS): New var.
* src/xfns.c (x_set_mouse_color): Do not call make_invisible_cursor here.
(make_invisible_cursor): Move to...
* src/xterm.c (make_invisible_cursor): ...here.
(x_probe_xfixes_extension, xfixes_toggle_visible_pointer)
(x_toggle_visible_pointer, x_setup_pointer_blanking): New functions.
(x_term_init): Call to x_setup_pointer_blanking.
(XTtoggle_invisible_pointer): Use blanking specific to this display.
* src/xterm.h (struct x_display_info): New member toggle_visible_pointer.
2014-05-13 18:18:54 +04:00
Dmitry Antipov
bd098f41af
* configure.ac (--enable-link-time-optimization): Add clang support.
...
* INSTALL: Mention it.
* etc/PROBLEMS: Mention potential problems with
--enable-link-time-optimization and clang on Fedora 20.
2014-05-13 15:12:05 +04:00
Michael Albinus
e95b937a42
* net/browse-url.el (browse-url):
...
Use `unhandled-file-name-directory' when setting `default-directory',
in order to circumvent stalled remote connections.
Fixes: debbugs:17425
2014-05-13 10:54:08 +02:00
Sam Steingold
001da405b6
avoid function from `cl'
2014-05-12 19:56:22 -04:00
Eli Zaretskii
636ae7c262
A better fix for bug #17479 .
...
doc/emacs/mule.texi (Language Environments): Remove unused @anchor.
2014-05-12 22:10:59 +03:00
Eli Zaretskii
9fbb8462a6
Fix bug #17479 with spliced paragraphs in User manual.
...
doc/emacs/mule.texi (Language Environments): Fix @anchor placement.
2014-05-12 21:51:58 +03:00
Sam Steingold
ecaf7f4dc0
(seconds-to-string): New function to pretty print time delay in seconds.
2014-05-12 12:14:24 -04:00
Glenn Morris
79e502ca44
* lisp/net/rcirc.el (rcirc-reconnect-delay): Add :version.
...
Defcustoms docs do not need leading "*", for some years.
2014-05-12 09:06:13 -07:00
Stefan Monnier
400e828602
* lisp/mpc.el (mpc-format): Trim Date to the year.
...
(mpc-songs-hashcons): Shorten the Date field.
2014-05-12 09:25:53 -04:00
YAMAMOTO Mitsuharu
9ce28d805f
* xdisp.c (draw_glyphs): Set clipping to highlight boundaries.
2014-05-12 17:57:59 +09:00
Glenn Morris
bbbabffe06
Merge from emacs-24; up to 2014-05-12T06:15:47Z!rgm@gnu.org
2014-05-11 23:59:30 -07:00