1. 24 Apr, 2012 3 commits
  2. 23 Apr, 2012 2 commits
    • Chong Yidong's avatar
      Use proper faces in apropos.el. · 46c71e23
      Chong Yidong authored
      * lisp/apropos.el (apropos-symbol, apropos-keybinding, apropos-label)
      (apropos-property, apropos-function-button)
      (apropos-variable-button, apropos-misc-button): New faces.
      (apropos-symbol-face, apropos-keybinding-face)
      (apropos-label-face, apropos-property-face, apropos-match-face):
      Variables removed.
      (apropos-library-button, apropos-format-plist, apropos-print)
      (apropos-print-doc, apropos-describe-plist): Callers changed.
      
      Fixes: debbugs:8396
      46c71e23
    • Chong Yidong's avatar
      Remove non-option variable handling from customize-apropos · 775c916b
      Chong Yidong authored
      and enable use of word lists for customize-apropos-options etc.
      
      * lisp/apropos.el (apropos-read-pattern): Make prompt less cryptic.
      
      * lisp/cus-edit.el (customize-apropos, customize-apropos-options):
      Disable matching of non-option variables.
      (customize-option, customize-option-other-window)
      (customize-changed-options): Doc fix.
      (customize-apropos-options, customize-apropos-faces)
      (customize-apropos-groups): Use apropos-read-pattern.
      
      Fixes: debbugs:11176
      775c916b
  3. 22 Apr, 2012 3 commits
    • Chong Yidong's avatar
    • 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
    • Chong Yidong's avatar
      Tweaks to Customize interface. Set custom-reset-button-menu to t. · cf20dee0
      Chong Yidong authored
      * cus-edit.el (custom-commands, custom-reset-menu)
      (Custom-reset-standard): Tweak labels.
      (custom-reset-button-menu): Change default to t.
      (custom-buffer-create-internal): For the custom-reset-button-menu
      case, put the revert button first.
      (custom-group-subtitle): New face.
      (custom-group-value-create): Align docstring to a specific column.
      
      * wid-edit.el (widget-documentation-link-add): Don't handle
      indentation in this function.
      (widget-documentation-string-indent-to): New function.
      (widget-documentation-string-value-create): Use it.
      
      * autorevert.el (auto-revert):
      * epg-config.el (epg):
      * ibuffer.el (ibuffer):
      * mpc.el (mpc):
      * ses.el (ses):
      * eshell/eshell.el (eshell):
      * net/ange-ftp.el (ange-ftp):
      * progmodes/ebnf2ps.el (postscript):
      * progmodes/flymake.el (flymake):
      * progmodes/prolog.el (prolog):
      * progmodes/verilog-mode.el (verilog-mode):
      * progmodes/which-func.el (which-func):
      * textmodes/picture.el (picture):
      * textmodes/tildify.el (tildify):
      * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
      customization buffers.
      cf20dee0
  4. 20 Apr, 2012 1 commit
  5. 17 Apr, 2012 3 commits
  6. 16 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Call imagemagick-register-types automatically. · c505aaeb
      Chong Yidong authored
      * lisp/image.el (imagemagick--extension-regexp): New variable.
      (imagemagick-register-types): Use it.
      (imagemagick-types-inhibit): Add :set function.  Allow new value
      of t to inhibit all types.
      
      * lisp/loadup.el (fboundp): Preload regexp-opt, needed by
      imagemagick-register-types.
      
      * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
      so we can preload it.
      c505aaeb
  7. 15 Apr, 2012 1 commit
  8. 14 Apr, 2012 2 commits
  9. 13 Apr, 2012 3 commits
  10. 12 Apr, 2012 1 commit
  11. 11 Apr, 2012 1 commit
  12. 10 Apr, 2012 1 commit
  13. 09 Apr, 2012 3 commits
    • Chong Yidong's avatar
      Remove defining user variables via * in docstring. · b4d3bc10
      Chong Yidong authored
      * lisp/apropos.el (apropos-variable):
      * lisp/files-x.el (read-file-local-variable):
      * lisp/simple.el (set-variable):
      * lisp/woman.el (woman-mini-help):
      * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
      
      * lisp/custom.el (custom-variable-p): Return nil for non-symbol
      arguments instead of signaling an error.
      (user-variable-p): Obsolete alias for custom-variable-p.
      
      * lisp/erc/erc.el (erc-cmd-SET): Call custom-variable-p instead of
      user-variable-p.
      
      * src/callint.c (Finteractive, Fcall_interactively):
      * src/minibuf.c (Fread_variable): Callers changed.
      
      * src/eval.c (Fuser_variable_p, user_variable_p_eh)
      (lisp_indirect_variable): Functions deleted.
      (Fdefvar): Caller changed.
      
      * doc/lispref/commands.texi (Interactive Codes):
      * doc/lispref/help.texi (Accessing Documentation):
      * doc/lispref/minibuf.texi (High-Level Completion): Callers changed.
      
      * doc/lispref/customize.texi (Variable Definitions): Remove user-variable-p.
      b4d3bc10
    • Paul Eggert's avatar
      configure: new option --enable-gcc-warnings · b8df54ff
      Paul Eggert authored
      I have been using this change for many months in my private copy
      of Emacs, and have used it to find several bugs.  It's mature
      enough to publish now.
      * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings.
      * configure.in: Support --enable-gcc-warnings, in the style of
      other GNU packages such as coreutils.
      (C_WARNINGS_SWITCH): Remove, replacing with...
      (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable.
      (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I,
      when including system files with GCC.
      * etc/NEWS: Mention --enable-gcc-warnings.
      * lib/Makefile.am (AM_CFLAGS): New macro.
      * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib.
      * lib-src/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (BASE_CFLAGS): Use new macros rather than old.
      * lwlib/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (ALL_CFLAGS): Use new macros rather than old.
      * oldXMenu/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (ALL_CFLAGS): Use new macros rather than old.
      * src/Makefile.in (C_WARNINGS_SWITCH): Remove.
      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
      (ALL_CFLAGS): Use new macros rather than old.
      * src/process.c: Ignore -Wstrict-overflow to work around GCC bug 52904.
      * src/regex.c: Ignore -Wstrict-overflow.  If !emacs, also ignore
      -Wunused-but-set-variable, -Wunused-function, -Wunused-macros,
      -Wunused-result, -Wunused-variable.  This should go away once
      the Emacs and Gnulib regex code is merged.
      (xmalloc, xrealloc): Now static.
      b8df54ff
    • Glenn Morris's avatar
      Look for leim-list.el files in fewer places at startup · e5fcdb5e
      Glenn Morris authored
      * lisp/startup.el (normal-top-level):
      Don't look for leim-list.el in places where it will not be found.
      
      Fixes: debbugs:910
      e5fcdb5e
  14. 07 Apr, 2012 2 commits
    • Glenn Morris's avatar
      Add emacs-bzr-version · a1ed8b05
      Glenn Morris authored
      * lisp/version.el (emacs-bzr-get-version): New function.
      * lisp/loadup.el (emacs-bzr-version): Set it. 
      * lisp/mail/emacsbug.el (report-emacs-bug): Include bzr version.
      
      * etc/NEWS: Mention this, though it is not really relevant to releases.
      Insert template for 24.2 release.
      
      Fixes: debbugs:8054
      a1ed8b05
    • Eli Zaretskii's avatar
      Support building on MS-Windows with libxml2. · 9078ead6
      Eli Zaretskii authored
       src/makefile.w32-in (OBJ2): Add xml.$(O).
       (GLOBAL_SOURCES): Add xml.c.
       ($(BLD)/xml.$(O)): New dependency list.
       src/xml.c (DEF_XML2_FN, LOAD_XML2_FN) [WINDOWSNT]: New macros.
       (fn_htmlReadMemory, fn_xmlReadMemory, fn_xmlDocGetRootElement)
       (fn_xmlFreeDoc, fn_xmlCleanupParser, fn_xmlCheckVersion)
       [!WINDOWSNT]: New macros.
       (init_libxml2_functions, libxml2_loaded_p): New functions.
       (parse_region): Call fn_xmlCheckVersion instead of using the macro
       LIBXML_TEST_VERSION.  Call libxml2 functions via the fn_* macros.
       (xml_cleanup_parser): New function, export for fn_xmlCleanupParser.
       Calls xmlCleanupParser only if libxml2 was loaded (or statically
       linked in).
       (Flibxml_parse_html_region, Flibxml_parse_xml_region): Call
       init_libxml2_functions before calling libxml2 functions.
       (syms_of_xml) <Qlibxml2_dll>: DEFSYM it.
       src/emacs.c: Don't include libxml/parser.h.
       (shut_down_emacs): Call xml_cleanup_parser, instead of calling
       xmlCleanupParser directly.
       src/ lisp.h [HAVE_LIBXML2]: Add prototype for xml_cleanup_parser.
      
       nt/configure.bat: Support building with libxml2.
       nt/INSTALL:
       nt/README.W32: Add information about libxml2.
      
       lisp/term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
      
       lib-src/makefile.w32-in (obj): Add xml.o.
      9078ead6
  15. 05 Apr, 2012 3 commits
  16. 04 Apr, 2012 4 commits
    • Michael Albinus's avatar
      Change doc flag for secrets.el · df5817ee
      Michael Albinus authored
      df5817ee
    • Chong Yidong's avatar
      Document completion-extra-properties in Lisp manual. · 321cc491
      Chong Yidong authored
      * doc/lispref/minibuf.texi (Programmed Completion): Remove obsolete variable
      completion-annotate-function.
      (Completion Variables): Rename from Completion Styles.  Document
      completion-extra-properties.  Document completion-styles-alist
      change.
      
      * lisp/minibuffer.el (completion-extra-properties): Doc fix.
      321cc491
    • Chong Yidong's avatar
      Several miscellaneous doc changes. · 3d439cd1
      Chong Yidong authored
      * doc/lispref/display.texi (Delayed Warnings): New node.
      
      * doc/misc/gnus-faq.texi (FAQ 8-2): Mention EasyPG.
      
      * doc/misc/gnus.texi: Reduce references to obsolete pgg library.
      (Security): Note that epg is now the default.
      
      * doc/misc/message.texi (Using PGP/MIME): Note that epg is now the default.
      
      * doc/misc/nxml-mode.texi (Completion): C-RET is no longer bound to
      nxml-complete.
      
      * lisp/subr.el (delayed-warnings-hook): Doc fix.
      
      * src/keyboard.c (Vdelayed_warnings_list): Doc fix.
      3d439cd1
    • Glenn Morris's avatar
      Fix NEWS typo · c8d59ba3
      Glenn Morris authored
      c8d59ba3
  17. 03 Apr, 2012 3 commits
  18. 02 Apr, 2012 1 commit
  19. 01 Apr, 2012 1 commit
  20. 27 Mar, 2012 1 commit