1. 19 Jun, 2014 1 commit
  2. 18 Jun, 2014 4 commits
  3. 17 Jun, 2014 6 commits
    • Stefan Monnier's avatar
      * lisp/rect.el (rectangle-preview): New custom. · 5139e960
      Stefan Monnier authored
      (rectangle): New group.
      (rectangle--pos-cols): Add `window' argument.
      (rectangle--string-preview-state, rectangle--string-preview-window):
      New vars.
      (rectangle--string-flush-preview, rectangle--string-erase-preview)
      (rectangle--space-to, rectangle--string-preview): New functions.
      (string-rectangle): Use them.
      (rectangle--inhibit-region-highlight): New var.
      (rectangle--highlight-for-redisplay): Obey it.  Make sure
      `apply-on-region' uses the point-crutches of the right window.
      Use :align-to rather than multiple spaces.
    • Paul Eggert's avatar
      Omit redundant extern decls. · 73bfe891
      Paul Eggert authored
      Most of this patch is from Dmitry Antipov, in:
      * configure.ac (WERROR_CFLAGS): Add -Wredundant-decls.
      * lib-src/emacsclient.c (getenv): Remove decl.
      * lib-src/make-docfile.c (write_globals): Add ATTRIBUTE_CONST for
      Fbyteorder, Ftool_bar_height, Fmax_char, Fidentity.
      * lwlib/lwlib-Xm.c (lw_motif_widget_p, xm_update_one_value)
      (xm_create_dialog, xm_destroy_instance, xm_popup_menu)
      (xm_set_keyboard_focus, xm_set_main_areas): Remove decls.
      * src/commands.h (update_mode_lines):
      * src/frame.h (Qbackground_color, Qforeground_color)
      * src/ftfont.c (ftfont_font_format):
      * src/intervals.h (Qkeymap, Qfont):
      * src/keyboard.c (timer_check, safe_run_hooks, Qregion_extract_function):
      * src/lisp.h (Ffboundp, Qnil, Qt, Qlambda, Qintegerp, Qwholenump)
      (Qsymbolp, Qlisp, Qconsp, Qstringp, Qarrayp, Qbufferp, Qmarkerp)
      (Qvectorp, Qbuffer_or_string_p, Qchar_table_p, Qvector_or_char_table_p)
      (Qfloatp, Qnumberp, Qfont_spec, Qfont_entity, Qfont_object)
      (Fbyteorder, wrong_type_argument, Fmax_char, syms_of_composite)
      (Fidentity, extract_float, init_display, syms_of_display, Qdisplay):
      (Qimage, Qbox, redisplay_preserve_echo_area, char_table_ref)
      (char_table_set, char_table_translate, Qautoload, Qbottom, Qtop)
      (Qvisible, Qfont, Qfront_sticky, Qrear_nonsticky, init_sigio)
      (Qtool_bar, Qheader_line):
      * src/macros.c (Fexecute_kbd_macro):
      * src/xdisp.c (Ftool_bar_height, Ftool_bar_height):
      * src/xterm.c (x_delete_terminal, XSetIMValues):
      * src/xterm.h (x_set_window_size, x_query_color, x_get_focus_frame)
      (x_implicitly_set_name, popup_activated)
      Remove redundant decls.
      * src/frame.c [USE_X_TOOLKIT]: Include widget.h.
      * src/keyboard.c (Fexit_recursive_edit, Fabort_recursive_edit):
      Remove _Noreturn, as make-docfile now does that for us.
      * src/lisp.h (DEFUN): Don't declare fnname here; rely on make-docfile.
      (Qregion_extract_function): New decl.
      * src/window.c, src/xfns.c: Include menu.h.
    • Stefan Monnier's avatar
      * src/callint.c (Fcall_interactively): Fix up last change. · 319e8ddc
      Stefan Monnier authored
      Fixes: debbugs:17701
    • Dmitry Antipov's avatar
      * lisp.h (STRING_COPYIN): Remove; unused. · 3e1fc7fb
      Dmitry Antipov authored
      * ccl.c (Fccl_execute_on_string):
      * font.c (fon_intern_prop): Use make_specified_string.
    • Dmitry Antipov's avatar
      * eval.c (toplevel): Remove redundant #include directives. · 67343d1d
      Dmitry Antipov authored
      * xterm.c (x_initialize): Add static to match prototype.
    • Dmitry Antipov's avatar
      * fileio.c (Fread_file_name): Do not pass redundant args and ... · 9dc774d4
      Dmitry Antipov authored
      * callint.c (read_file_name): ... convert to static here.
      * lisp.h (Fread_file_name): Do not EXFUN it.
      * composite.c (CHAR_COMPOSABLE_P): Replace unsafe macro with ...
      (char_composable_p): ... static function.  All users changed.
  4. 16 Jun, 2014 4 commits
  5. 15 Jun, 2014 15 commits
    • Glenn Morris's avatar
      Makefile comments · 8c39c668
      Glenn Morris authored
    • Michael Albinus's avatar
      * NEWS: New Tramp method "nc". · 9c0fe14c
      Michael Albinus authored
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Explicitly set LDFLAGS in some sub-Makefiles · b24ffa81
      Glenn Morris authored
      * lib-src/Makefile.in (LDFLAGS): Explicitly set via configure.
      * nt/Makefile.in (LDFLAGS): Explicitly set via configure.
    • Eli Zaretskii's avatar
      Fix MS-Windows build broken by latest Makefile.in changes. · 9fae211d
      Eli Zaretskii authored
       nt/Makefile.in (CPPFLAGS): Define.
       lib-src/Makefile.in (CPPFLAGS): Define.
    • Michael Albinus's avatar
      Sync with Tramp 2.2.10. · fb1877d6
      Michael Albinus authored
    • Michael Albinus's avatar
      Sync with Tramp 2.2.10. · 588001cf
      Michael Albinus authored
      * test/automated/tramp-tests.el (tramp--test-enabled): Ignore errors.
      (tramp--instrument-test-case): Extend docstring.
      (tramp-test15-copy-directory): Skip for tramp-smb.el.
      (tramp-test21-file-links): Use `file-truename' for directories.
      (tramp-test27-start-file-process, tramp-test28-shell-command):
      Retrieve process output more robustly.
      (tramp--test-check-files): Extend test.
      (tramp-test30-special-characters): Skip for tramp-adb.el,
      tramp-gvfs.el and tramp-smb.el.  Add further file names.
    • Michael Albinus's avatar
      Sync with Tramp 2.2.10. · 493ce45c
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
      (tramp-adb-maybe-open-connection): Don't set
      `tramp-current-*' variables.
      * lisp/net/tramp-cache.el (tramp-flush-file-function): Do not flush
      file properties of temporary buffers.
      * lisp/net/tramp-ftp.el (top): Remove special handling for URL syntax.
      * lisp/net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
      (tramp-gvfs-handle-delete-file): Flush file
      properties, not directory properties.
      (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
      reading "unix::mode".
      Use "-h" option for "gvfs-ls".
      (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
      (tramp-gvfs-send-command): Simplify traces.
      * lisp/net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
      (vc-git-program, vc-hg-program): Declare.
      (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
      (tramp-methods) <nc>: Add new method.
      (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
      (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
      (tramp-default-user-alist): Add "nc".
      (top): Remove completion function for "sftp".  Add completion
      functions for "nc" and "psftp".
      (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
      Implement support for "nc" method.
      (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
      (tramp-remote-coding-commands, tramp-call-local-coding-command):
      Tweak docstring.
      (tramp-sh-handle-write-region): Tweak error message.
      (tramp-sh-handle-vc-registered): Remove backends when the remote
      binary does not exist.
      (tramp-find-inline-encoding): Do not raise an error.
      (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
      the "nc" case.  Quote result also locally.
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-set-file-acl): Use `start-process'.
      (tramp-smb-handle-insert-directory): Use progress reporter.
      (tramp-smb-handle-rename-file): Flush also file properties of
      * lisp/net/tramp.el (tramp-methods): Tweak docstring.
      (tramp-handle-file-accessible-directory-p): Check for
      `file-readable-p' instead of `file-executable-p'.
      (tramp-check-cached-permissions): Use
      (tramp-call-process): Add new argument VEC.  Adapt callees in all
      tramp*.el files.
      * lisp/net/trampver.el: Update release number.
    • Michael Albinus's avatar
      Sync with Tramp 2.2.10. · 6e71bf16
      Michael Albinus authored
      * doc/misc/tramp.texi (Inline methods): Remove restriction on "telnet".
      Recommend sharing ssh connections for "plink".
      (External methods): Remove "sftp".  Merge "pscp" and "psftp"
      descriptions.  Recommend sharing ssh connections.  Add "nc" method.
      (GVFS based methods): Add "sftp".
      (Customizing Completion, External packages, Issues):
      Use @dots{}.
      * doc/misc/trampver.texi: Update release number.
    • Eli Barzilay's avatar
      * lisp/calculator.el: Lots of revisions · 5335a8ce
      Eli Barzilay authored
      - Kill the calculator buffer after electric mode too.
      - Make decimal mode have "," groups, so it's more fitting for use in
        money calculations.
      - Factorial works with non-integer inputs.
      - Swallow less errors.
      - Lots of other improvements, but no changes to custom variables, or
        other user visible changes (except the above).
    • Stefan Monnier's avatar
      * lisp/ses.el: Miscellaneous cleanups; use lexical-binding; avoid add-to-list. · df5703a0
      Stefan Monnier authored
      (ses-localvars): Remove ses--local-printer-list, unused.
      (ses--metaprogramming): New macro.  Use it to defvar variables.
      (ses-set-localvars): Simplify.
      (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
      property-list into an alist.
      (ses-locprn-get-compiled, ses-locprn-compiled-aset)
      (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
      Remove; use defstruct accessors/setters instead.
      (ses-cell-formula-aset, ses-cell-printer-aset)
      (ses-cell-references-aset): Remove, use setf instead.
      (ses--alist-get): New function.
      (ses-cell-property): Rename from ses-cell-property-get and rewrite.
      Use an alist instead of a plist and don't do move-to-front since the
      list is always short.
      (ses-cell-property-get-fun, ses-cell-property-delq-fun)
      (ses-cell-property-set-fun, ses-cell-property-set)
      (ses-cell-property-pop-fun, ses-cell-property-get-handle)
      (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
      (ses--letref): New macro.
      (ses-cell-property-pop): Rewrite.
      (ses--cell): Rename from ses-cell and make it into a function.
      Make `formula' fallback on `value' if nil.
      (ses--local-printer): Rename from ses-local-printer and make it into
      a function.
      (ses-set-cell): Turn it into a macro so finding the accessor from the
      field name is done at compile time.
      (ses-repair-cell-reference-all): Test presence of `sym' rather than
      `ref' before adding `sym' to :ses-repair-reference.
      (ses-calculate-cell): Use ses--letref rather than
      (ses-write-cells): Use a single prin1-to-string.
      (ses-setter-with-undo): New function.
      (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
      (ses-unset-with-undo): Remove.
      (ses-load): Prefer apply' over `eval'.
      (ses-read-printer, ses-set-column-width): Use standard "(default
      foo)" format.
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Use `make -C' rather than `cd && make' · 0d9f8137
      Glenn Morris authored
      * Makefile.in: Use `make -C' rather than `cd && make' throughout.
      * lib-src/Makefile.in (../lib/libgnu.a): Use `make -C' rather than `cd && make'.
      * lisp/Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
      * lwlib/Makefile.in ($(globals_h)): Use `make -C' rather than `cd && make'.
      * src/Makefile.in: Use `make -C' rather than `cd && make' throughout.
    • Glenn Morris's avatar
      Parallelize clean rules using GNU make features · 0e6929ec
      Glenn Morris authored
      * Makefile.in: (submake_template): New definition.
      (mostlyclean_dirs, clean_dirs, distclean_dirs, maintainer_clean_dirs):
      New variables.
      (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean)
      (extraclean): Define using each subdirectory as a prequisite.
      * lib/Makefile.am (bootstrap-clean):
      * doc/emacs/Makefile.in (bootstrap-clean):
      * doc/lispintro/Makefile.in (bootstrap-clean):
      * doc/lispref/Makefile.in (bootstrap-clean):
      * doc/misc/Makefile.in (bootstrap-clean):
      * lib-src/Makefile.in (bootstrap-clean):
      * lwlib/Makefile.in (bootstrap-clean):
      * nextstep/Makefile.in (bootstrap-clean):
      * nt/Makefile.in (bootstrap-clean):
      * oldXMenu/Makefile.in (bootstrap-clean):
      New rules, for symmetry/simplicity.
      * lwlib/Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
      * oldXMenu/Makefile.in (mostlyclean, clean, distclean, maintainer-clean, tags):
      Declare as PHONY.
    • Glenn Morris's avatar
  6. 14 Jun, 2014 8 commits
  7. 13 Jun, 2014 2 commits
    • Glenn Morris's avatar
      With GNU make, MFLAGS is not needed · f9d80c51
      Glenn Morris authored
      * Makefile.in (CC, CFLAGS, LDFLAGS, CPPFLAGS, abs_top_srcdir):
      Remove, no longer used.
      (lib, lib-src, lisp, nt, src, blessmail, install-arch-dep)
      (install-nt, install-strip, uninstall, uninstall-nt)
      (mostlyclean, clean, distclean, bootstrap-clean)
      (maintainer-clean, extraclean, TAGS, tags, check, $(DOCS)):
      ($(INSTALL_DOC), $(UNINSTALL_DOC), info, bootstrap, check-declare):
      GNU make automatically passes command-line arguments to sub-makes.
      * admin/unidata/Makefile.in (${DSTDIR}/charprop.el):
      GNU make automatically passes command-line arguments to sub-makes.
      * lib-src/Makefile.in (../lib/libgnu.a):
      GNU make automatically passes command-line arguments to sub-makes.
      * lisp/Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
      (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
      (compile-always): GNU make automatically passes
      command-line arguments to sub-makes.
      * lwlib/Makefile.in ($(globals_h)):
      GNU make automatically passes command-line arguments to sub-makes.
      * src/Makefile.in ($(leimdir)/leim-list.el, $(srcdir)/macuvs.h)
      ($(libsrc)/make-docfile$(EXEEXT), $(lwlibdir)/liblw.a)
      ($(oldXMenudir)/libXMenu11.a, ns-app, .el.elc)
      ($(lispsource)/loaddefs.el, bootstrap-emacs$(EXEEXT)):
      GNU make automatically passes command-line arguments to sub-makes.
      * test/automated/Makefile.in (compile-main):
      GNU make automatically passes command-line arguments to sub-makes.
    • Glenn Morris's avatar
      * etc/PROBLEMS: Whitespace fix. · 340ced7e
      Glenn Morris authored