1. 05 Apr, 2015 1 commit
    • Alan Mackenzie's avatar
      Rationalize use of c[ad]+r, expunging cl-c[ad]\{3,4\}r. · 2056db3f
      Alan Mackenzie authored
      Also expunge eudc-c[ad]+r.
      
      * subr.el (internal--compiler-macro-cXXr): "New" function, copied
      from cl--compiler-macro-cXXr.
      (caar, cadr, cdar, cddr): Change from defsubsts to defuns with
      the above compiler-macro.
      
      * net/eudc.el (eudc-cadr, eudc-cdar, eudc-caar, eudc-cdaar): Remove.
      
      * emacs-lisp/cl.el (Top level dolist doing defaliases): Remove
      caaar, etc., from list of new alias functions.
      
      * emacs-lisp/cl-lib.el (cl-caaar, etc): Rename to caaar, etc.
      (gen-cXXr--rawname, gen-cXXr-all-cl-aliases): New function/macro
      which generate obsolete cl- aliases for caaar, etc.  Invoke them.
      
      * desktop.el:
      * edmacro.el:
      * emacs-lisp/cl-macs.el:
      * frameset.el:
      * ibuffer.el:
      * mail/footnote.el:
      * net/dbus.el:
      * net/eudc-export.el:
      * net/eudc.el:
      * net/eudcb-ph.el:
      * net/rcirc.el:
      * net/secrets.el:
      * play/5x5.el:
      * play/decipher.el:
      * play/hanoi.el:
      * progmodes/hideif.el:
      * ses.el: Replace cl-caaar, eudc-cadr, etc. with caaar and cadr, etc.
      2056db3f
  2. 26 Feb, 2015 1 commit
  3. 01 Jan, 2015 2 commits
  4. 04 Jul, 2014 1 commit
    • Michael Albinus's avatar
      Fix Bug#17858 · b39eecb3
      Michael Albinus authored
      * net/dbus.el (dbus-peer-handler): New defun.
      (dbus-register-service): Register it. 
      (dbus-managed-objects-handler): Fix docstring.
      b39eecb3
  5. 15 Jun, 2014 1 commit
  6. 16 May, 2014 1 commit
  7. 27 Feb, 2014 1 commit
  8. 23 Feb, 2014 1 commit
  9. 17 Feb, 2014 2 commits
  10. 01 Jan, 2014 1 commit
  11. 05 Dec, 2013 1 commit
    • Michael Albinus's avatar
      Minor changes, detected by test suite. · b85eff45
      Michael Albinus authored
      * net/dbus.el (dbus-unregister-service)
      (dbus-escape-as-identifier, dbus-unescape-from-identifier):
      Fix docstring.
      (dbus-unregister-service): Skip :serial entries in
      `dbus-registered-objects-table'.
      (dbus-byte-array-to-string): New optional arg MULTIBYTE.
      b85eff45
  12. 04 Dec, 2013 1 commit
  13. 05 Sep, 2013 1 commit
    • Daniel Hackney's avatar
      * lisp/dired-x.el: · 6c42fc3e
      Daniel Hackney authored
      * lisp/net/ange-ftp.el:
      * lisp/net/browse-url.el:
      * lisp/net/dbus.el:
      * lisp/net/eudc.el:
      * lisp/net/eudcb-ldap.el:
      * lisp/net/eww.el:
      * lisp/net/imap.el:
      * lisp/printing.el:
      * lisp/vc/ediff-diff.el:
      * lisp/vc/ediff-init.el:
      * lisp/vc/ediff-merg.el:
      * lisp/vc/ediff-mult.el:
      * lisp/vc/ediff-util.el:
      * lisp/vc/ediff-wind.el:
      * lisp/vc/ediff.el:
      * lisp/vc/emerge.el:
      * lisp/vc/pcvs.el:
      * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
      byte compiler.  Remove some unused let-bound variables.
      6c42fc3e
  14. 28 May, 2013 1 commit
  15. 27 May, 2013 1 commit
  16. 01 Jan, 2013 1 commit
  17. 23 Oct, 2012 1 commit
    • Stefan Monnier's avatar
      Cleanup uses of "-hooks". · d1069532
      Stefan Monnier authored
      * doc/emacs/custom.texi (Hooks):
      * doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.
      
      * lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
      (nndiary-request-update-info-functions)
      (nndiary-request-accept-article-functions):
      * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
      * lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
      * lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
      * lisp/cedet/semantic/edit.el (semantic-change-functions)
      (semantic-edits-new-change-functions)
      (semantic-edits-delete-change-functions)
      (semantic-edits-reparse-change-functions):
      * lisp/htmlfontify.el (hfy-post-html-hook):
      * lisp/filesets.el (filesets-cache-fill-content-hook):
      * lisp/arc-mode.el (archive-extract-hook):
      * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
      * lisp/net/rcirc.el (rcirc-sentinel-functions)
      (rcirc-receive-message-functions, rcirc-activity-functions)
      (rcirc-print-functions):
      * lisp/net/dbus.el (dbus-event-error-functions):
      * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
      (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
      
      * lisp/term/sun.el (sun-raw-prefix-hooks):
      * lisp/mail/sendmail.el (mail-yank-hooks):
      * lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
      d1069532
  18. 15 Aug, 2012 1 commit
  19. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * admin/bzrmerge.el: Use cl-lib.
      * leim/quail/hangul.el: Don't require CL.
      * leim/quail/ipa.el: Use cl-lib.
      * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
      * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
      * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
      * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
      * international/quail.el, info-xref.el, imenu.el, image-mode.el:
      * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
      * battery.el, avoid.el, abbrev.el: Use cl-lib.
      * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
      * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
      * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
      * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
      * calculator.el, autorevert.el, apropos.el: Don't require CL.
      * emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
      (byte-compile-unfold-bcf, byte-compile-check-variable):
      * emacs-byte-opt.el (byte-compile-trueconstp)
      (byte-compile-nilconstp):
      * emacs-autoload.el (make-autoload): Use pcase.
      * face-remap.el (text-scale-adjust): Simplify pcase patterns.
      f58e0fd5
  20. 13 Jun, 2012 1 commit
  21. 13 May, 2012 1 commit
  22. 23 Apr, 2012 1 commit
  23. 22 Apr, 2012 1 commit
    • Michael Albinus's avatar
      Move functions from C to Lisp. Make non-blocking method calls · dcbf5805
      Michael Albinus authored
      the default.  Implement further D-Bus standard interfaces.
      
      * configure.in (dbus_validate_bus_name, dbus_validate_path)
      (dbus_validate_interface, dbus_validate_member): Check also for
      these library functions
      
      * dbusbind.c (DBUS_NUM_MESSAGE_TYPES): Declare.
      (QCdbus_request_name_allow_replacement)
      (QCdbus_request_name_replace_existing)
      (QCdbus_request_name_do_not_queue)
      (QCdbus_request_name_reply_primary_owner)
      (QCdbus_request_name_reply_in_queue)
      (QCdbus_request_name_reply_exists)
      (QCdbus_request_name_reply_already_owner): Move to dbus.el.
      (QCdbus_registered_serial, QCdbus_registered_method)
      (QCdbus_registered_signal): New Lisp objects.
      (XD_DEBUG_MESSAGE): Use sizeof.
      (XD_MESSAGE_TYPE_TO_STRING, XD_OBJECT_TO_STRING)
      (XD_DBUS_VALIDATE_BUS_ADDRESS, XD_DBUS_VALIDATE_OBJECT)
      (XD_DBUS_VALIDATE_BUS_NAME, XD_DBUS_VALIDATE_PATH)
      (XD_DBUS_VALIDATE_INTERFACE, XD_DBUS_VALIDATE_MEMBER): New macros.
      (XD_CHECK_DBUS_SERIAL): Rename from CHECK_DBUS_SERIAL_GET_SERIAL.
      (xd_signature, xd_append_arg): Allow float for integer types.
      (xd_get_connection_references): New function.
      (xd_get_connection_address): Rename from xd_initialize.  Return
      cached address.
      (xd_remove_watch): Do not unset $DBUS_SESSION_BUS_ADDRESS.
      (xd_close_bus): Rename from Fdbus_close_bus.  Not needed on Lisp
      level.
      (Fdbus_init_bus): New optional arg PRIVATE.  Cache address.
      Return number of recounts.
      (Fdbus_get_unique_name): Make stronger parameter check.
      (Fdbus_message_internal): New defun.
      (Fdbus_call_method, Fdbus_call_method_asynchronously)
      (Fdbus_method_return_internal, Fdbus_method_error_internal)
      (Fdbus_send_signal, Fdbus_register_service)
      (Fdbus_register_signal, Fdbus_register_method): Move to dbus.el.
      (xd_read_message_1): Obey new structure of Vdbus_registered_objects.
      (xd_read_queued_messages): Obey new structure of Vdbus_registered_buses.
      (Vdbus_compiled_version, Vdbus_runtime_version)
      (Vdbus_message_type_invalid, Vdbus_message_type_method_call)
      (Vdbus_message_type_method_return, Vdbus_message_type_error)
      (Vdbus_message_type_signal): New defvars.
      (Vdbus_registered_buses, Vdbus_registered_objects_table): Adapt
      docstring.
      
      * net/dbus.el (dbus-message-internal): Declare function.  Remove
      unneeded function declarations.
      (defvar dbus-message-type-invalid, dbus-message-type-method-call)
      (dbus-message-type-method-return, dbus-message-type-error)
      (dbus-message-type-signal): Declare variables.  Remove local
      definitions.
      (dbus-interface-dbus, dbus-interface-peer)
      (dbus-interface-introspectable, dbus-interface-properties)
      (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
      Adapt docstring.
      (dbus-interface-objectmanager): New defconst.
      (dbus-call-method, dbus-call-method-asynchronously)
      (dbus-send-signal, dbus-method-return-internal)
      (dbus-method-error-internal, dbus-register-service)
      (dbus-register-signal, dbus-register-method): New defuns, moved
      from dbusbind.c
      (dbus-call-method-handler, dbus-setenv)
      (dbus-get-all-managed-objects, dbus-managed-objects-handler): New
      defuns.
      (dbus-call-method-non-blocking): Make it an obsolete function.
      (dbus-unregister-object, dbus-unregister-service)
      (dbus-handle-event, dbus-register-property)
      (dbus-property-handler): Obey the new structure of
      `bus-registered-objects'.
      (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
      (dbus-get-property, dbus-set-property, dbus-get-all-properties):
      Use `dbus-call-method'.
      
      * dbus.texi (Version): New node.
      (Properties and Annotations): Mention the object manager
      interface.  Describe dbus-get-all-managed-objects.
      (Type Conversion): Floating point numbers are allowed, if an
      anteger does not fit Emacs's integer range.
      (Synchronous Methods): Remove obsolete dbus-call-method-non-blocking.
      (Asynchronous Methods): Fix description of
      dbus-call-method-asynchronously.
      (Receiving Method Calls): Fix some minor errors.  Add
      dbus-interface-emacs.
      (Signals): Describe unicast signals and the new match rules.
      (Alternative Buses): Add the PRIVATE optional argument to
      dbus-init-bus.  Describe its new return value.  Add dbus-setenv.
      dcbf5805
  24. 19 Apr, 2012 1 commit
    • Juanma Barranquero's avatar
      lisp/*: Add declarations, remove unused bindings, mark unused args. · 4d6769e1
      Juanma Barranquero authored
      * lisp/avoid.el (mouse-avoidance-mode): Mark unused arg.
        (mouse-avoidance-nudge-mouse): Remove unused binding.
      
      * lisp/imenu.el (imenu-default-goto-function): Mark unused args.
        (imenu-progress-message): Remove obsolete macro; all callers changed.
      
      * lisp/mouse.el (mouse-menu-major-mode-map):
      * lisp/emacs-lisp/authors.el (authors-scan-change-log)
        (authors-add-to-author-list):
      * lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance):
      * lisp/emacs-lisp/smie.el (smie-auto-fill):
      * lisp/mail/sendmail.el (mail-bury):
      * lisp/mail/unrmail.el (unrmail):
      * lisp/net/tls.el (open-tls-stream):
      * lisp/textmodes/picture.el (picture-mouse-set-point):
        Remove unused bindings.
      
      * lisp/subr.el (keymap-canonicalize): Remove unused binding.
        (read-passwd): Mark unused arg.
      
      * lisp/tutorial.el (tutorial--display-changes): Remove unused binding.
        (tutorial--save-tutorial-to): Remove unused variable.
      
      * lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete)
        (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
        (package-generate-autoloads, package-menu--generate)
        (package-menu--find-upgrades): Remove unused bindings.
      
      * lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle)
        (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
        (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
        (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
        (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
        (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
        (cua--rectangle-aux-replace, cua--left-fill-rectangle)
        (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
        (cua-delete-char-rectangle): Mark unused args.
        (cua-align-rectangle): Remove unused binding.
      
      * lisp/mail/rmail.el (compilation--message->loc)
        (epa--find-coding-system-for-mime-charset): Declare.
      
      * lisp/net/dbus.el (dbus-register-service): Declare.
        (dbus-name-owner-changed-handler): Remove unused binding.
      
      * lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
        (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
        (nxml-scan-backward-within): Mark unused arg.
        (nxml-dynamic-markup-word): Remove unused binding.
      4d6769e1
  25. 09 Mar, 2012 1 commit
  26. 11 Jan, 2012 1 commit
  27. 05 Jan, 2012 1 commit
  28. 12 Dec, 2011 1 commit
  29. 26 Nov, 2011 1 commit
  30. 16 Nov, 2011 1 commit
  31. 13 Nov, 2011 1 commit
  32. 25 Sep, 2011 1 commit
  33. 24 Sep, 2011 1 commit
  34. 23 May, 2011 1 commit
  35. 07 Feb, 2011 1 commit
  36. 25 Jan, 2011 1 commit
  37. 10 Jan, 2011 2 commits