1. 18 May, 2012 1 commit
  2. 15 May, 2012 1 commit
  3. 11 May, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode. · ff46c759
      Stefan Monnier authored
      Provide SMIE-based indentation (not enabled by default yet).
      (sh-mode-map): Don't bind electric keys.
      Use electric-pair-mode instead of skeleton-pair.
      (sh-assignment-regexp): Fit within 80 columns.
      (sh-indent-supported): Specify actual shell name instead of boolean.
      (sh--maybe-here-document): New fun, from sh-maybe-here-document.
      (sh-maybe-here-document): Use it.  Make obsolete.
      (sh-electric-here-document-mode) New minor mode.
      (sh-mode): Use it.  Don't set sh-indent-supported-here here.
      (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
      (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
      (sh-smie-rc-grammar, sh-use-smie): New vars.
      (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
      (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
      (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
      (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
      (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
      (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
      (sh-set-shell): Use smie-setup if requested.
      ff46c759
  4. 10 May, 2012 3 commits
    • Chong Yidong's avatar
      Cleanups and improvements for FFAP and URL. · 9f9aa044
      Chong Yidong authored
      * ffap.el (ffap-url-unwrap-local): Make it work right.
      Use url-generic-parse-url, and handle host names and Windows
      filenames properly.
      (ffap-url-unwrap-remote): Use url-generic-parse-url.
      (ffap-url-unwrap-remote): Accept list values, specifying a list of
      URL schemes to work on.
      (ffap--toggle-read-only): New function.
      (ffap-read-only, ffap-read-only-other-window)
      (ffap-read-only-other-frame): Use it.
      (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
      necessary for ffap-url-unwrap-remote.
      
      * url-parse.el (url-path-and-query, url-port-if-non-default): New
      functions.
      (url-generic-parse-url): Don't set the portspec slot if it is not
      specified; that is what `url-port' is for.
      (url-port): Only require the scheme to be specified to call
      url-scheme-get-property.
      
      * url-util.el (url-encode-url): Use url-path-and-query.
      
      * url-vars.el (url-mime-charset-string): Load mm-util lazily.
      
      Fixes: debbugs:9131
      9f9aa044
    • Glenn Morris's avatar
      Update doc for obsolescence of "unibyte: t" · b8a82b69
      Glenn Morris authored
      * doc/emacs/mule.texi (Disabling Multibyte):
      * doc/lispref/loading.texi (Loading Non-ASCII):
      Replace the obsolete "unibyte: t" with "coding: raw-text".
      * etc/NEWS: Related markup.
      b8a82b69
    • Glenn Morris's avatar
      Document new create-lockfiles option · dc0f75c8
      Glenn Morris authored
      dc0f75c8
  5. 09 May, 2012 1 commit
    • Chong Yidong's avatar
      Improve RFC 3986 conformance of url package. · ce7b18ec
      Chong Yidong authored
      Fix 2012-04-10 change to url.el.
      
      * url-http.el (url-http-create-request): Ignore obsolete
      attributes slot of url-object.
      
      * url-parse.el: Improve RFC 3986 conformance.
      (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
      since this is not reliable for general RFC 3986 URIs.  Keep the
      whole path and query inside the FILENAME slot.  Improve docstring.
      (url-recreate-url-attributes): Mark as obsolete.
      (url-recreate-url): Handle missing scheme and userinfo.
      
      * url-util.el (url-encode-url): New function for URL quoting.
      (url-encoding-table, url-host-allowed-chars)
      (url-path-allowed-chars): New constants.
      (url--allowed-chars): New helper function.
      (url-hexify-string): Use them.
      
      * url-vars.el (url-nonrelative-link): Make the regexp stricter.
      
      * url.el (url-retrieve-internal): Use url-encode-url.
      
      Fixes: debbugs:7017
      ce7b18ec
  6. 07 May, 2012 3 commits
    • Glenn Morris's avatar
      Fix NEWS typo · 57699e37
      Glenn Morris authored
      57699e37
    • Glenn Morris's avatar
    • Stefan Merten's avatar
      2012-05-05 Stefan Merten <smerten@oekonux.de> · d13c8be6
      Stefan Merten authored
      	* rst.el: Major merge with upstream development up to Docutils
      	SVN r7399 / rst.el V1.2.1.
      
      	Clarified maintainership and authors.
      
      	(rst-extract-version, rst-cvs-header, rst-cvs-rev)
      	(rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
      	(rst-official-version, rst-official-cvs-rev, rst-version)
      	(rst-package-emacs-version-alist): New functions and variables
      	for version information.
      
      	(rst-bullets, rst-uri-schemes, rst-adornment-chars)
      	(rst-max-inline-length, rst-re-alist-def, rst-re-alist)
      	(rst-mode-syntax-table, rst-mode): New and corrected functions
      	and variables representing reStructuredText features.
      
      	(rst-re): New function for reStructuredText regexes. Used in
      	many places.
      
      	(rst-deprecated-keys, rst-call-deprecated, rst-define-key)
      	(rst-mode-map): Rebound keys.
      
      	(rst-mode-lazy, rst-font-lock-keywords)
      	(rst-font-lock-extend-region)
      	(rst-font-lock-extend-region-internal)
      	(rst-font-lock-extend-region-extend)
      	(rst-font-lock-find-unindented-line-limit)
      	(rst-font-lock-find-unindented-line-match)
      	(rst-adornment-level, rst-font-lock-adornment-level)
      	(rst-font-lock-adornment-match)
      	(rst-font-lock-handle-adornment-pre-match-form)
      	(rst-font-lock-handle-adornment-matcher): Major revision of
      	font-locking. Integrated with other code. `jit-lock-mode' is
      	used now.
      
      	(rst-preferred-adornments, rst-adjust-hook)
      	(rst-new-adornment-down, rst-preferred-bullets)
      	(rst-preferred-bullets, rst-indent, rst-indent-width)
      	(rst-indent-field, rst-indent-literal-normal)
      	(rst-indent-literal-minimized, rst-indent-comment): Changed,
      	extended and improved customization.
      
      	(rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
      	(rst-normalize-cursor-position, rst-get-decoration)
      	(rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
      	(rst-rstrip, rst-toc-insert-find-delete-contents)
      	(rst-shift-fill-region, rst-compute-bullet-tabs)
      	(rst-debug-print-tabs, rst-debug-mark-found)
      	(rst-shift-region-guts, rst-shift-region-right)
      	(rst-shift-region-left, rst-use-char-classes)
      	(rst-font-lock-keywords-function)
      	(rst-font-lock-indentation-point)
      	(rst-font-lock-find-unindented-line-begin)
      	(rst-font-lock-find-unindented-line-end)
      	(rst-font-lock-find-unindented-line)
      	(rst-font-lock-adornment-point, rst-font-lock-level)
      	(rst-adornment-level-alist): Removed functions and variables.
      
      	(rst-compare-adornments, rst-get-adornment-match)
      	(rst-suggest-new-adornment, rst-get-adornments-around)
      	(rst-adornment-complete-p, rst-get-next-adornment)
      	(rst-adjust-adornment, rst-display-adornments-hierarchy)
      	(rst-straighten-adornments): Standardized function names to
      	use "adornment" instead of "decoration". Corrected callers.
      	Similar standardizing happened in many places.
      
      	(rst-update-section, rst-adjust, rst-promote-region)
      	(rst-enumerate-region, rst-bullet-list-region)
      	(rst-repeat-last-character): Corrected use of `interactive'.
      
      	(rst-classify-adornment, rst-find-all-adornments)
      	(rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
      	(rst-find-leftmost-column, rst-repeat-last-character):
      	Refactored functions.
      
      	(rst-find-title-line, rst-reset-section-caches)
      	(rst-get-adornments-around, rst-adjust-adornment-work)
      	(rst-arabic-to-roman, rst-roman-to-arabic)
      	(rst-insert-list-pos, rst-insert-list-new-item)
      	(rst-insert-list-continue, rst-insert-list, rst-forward-line):
      	New functions.
      
      	(rst-all-sections, rst-section-hierarchy)
      	(rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
      	New variables.
      
      	(rst-toc-return-wincfg, rst-toc-quit-window): Using window
      	configuration instead of only buffer. Changed where necessary.
      
      	(rst-line-tabs, rst-compute-tabs, rst-indent-line)
      	(rst-shift-region, rst-adaptive-fill): New functions for
      	indentation and filling.
      
      	(rst-comment-line-break, rst-comment-indent)
      	(rst-comment-insert-comment, rst-comment-region)
      	(rst-uncomment-region): New functions for handling comments.
      
      	(rst-compile): Shell arguments are quoted.
      
      	(rst-compile-pdf-preview, rst-compile-slides-preview):
      	Temporary files are deleted after use.
      d13c8be6
  7. 06 May, 2012 2 commits
    • Chong Yidong's avatar
      * lisp/buff-menu.el: Convert to Tabulated List mode. · e5f9458f
      Chong Yidong authored
      (Buffer-menu-buffer+size-width): Make obsolete.
      (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
      (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
      (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
      documentation into docstring of buffer-menu.
      (Buffer-menu-toggle-files-only): Add an informative message.
      (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
      (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
      (Buffer-menu-unmark, Buffer-menu-backup-unmark)
      (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
      (Buffer-menu-execute, Buffer-menu-select)
      (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
      (Buffer-menu-bury): Use Tabulated List machinery.
      (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
      (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
      Deleted.
      (list-buffers--refresh): New function.
      (list-buffers-noselect): Use it.
      (tabulated-list-entry-size->, Buffer-menu--pretty-name)
      (Buffer-menu--pretty-file-name): New helper functions.
      
      * lisp/loadup.el: Preload tabulated-list.
      
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
      tabulated-list-sort-column.
      (tabulated-list-init-header): Add the initial aligning space even
      if tabulated-list-padding is zero.
      
      * src/lisp.mk (lisp): Update.
      e5f9458f
    • Chong Yidong's avatar
      Improvements for Tabulated List mode. · 6632d361
      Chong Yidong authored
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-format): Accept
      additional plist in column descriptors.
      (tabulated-list-init-header): Obey it.
      (tabulated-list-get-entry): New function.
      (tabulated-list-put-tag): Use it.  Use string-width instead of
      length.
      (tabulated-list--column-number): New function.
      (tabulated-list-print): Use it.
      (tabulated-list-print-col): New function.  Set
      `tabulated-list-column-name' property on each column's text.
      (tabulated-list-print-entry): Use it.
      (tabulated-list-delete-entry, tabulated-list-set-col): New
      functions.
      (tabulated-list-sort-column): New command.
      
      Fixes: debbugs:11337
      6632d361
  8. 05 May, 2012 2 commits
    • Glenn Morris's avatar
      Optionally include holidays in cal-html output · 48176e8b
      Glenn Morris authored
      * lisp/calendar/cal-html.el: (cal-html-holidays): New option.
      (cal-html-css-default): Add holiday entry.
      (holiday-in-range): Autoload it.
      (cal-html-htmlify-entry): Add optional class argument.
      (cal-html-htmlify-list): Add optional holidays argument.
      (cal-html-insert-agenda-days): Include holidays in the output.
      (cal-html-one-month): Maybe include holidays.
      48176e8b
    • Stefan Monnier's avatar
      New function set-temporary-overlay-map and macros (defvar|setq)-local. · f95e9344
      Stefan Monnier authored
      * lisp/subr.el (setq-local, defvar-local): New macros.
      (kbd): Redefine as an alias.
      (with-selected-window): Leave unrelated frames alone.
      (set-temporary-overlay-map): New function.
      f95e9344
  9. 04 May, 2012 4 commits
    • Stefan Monnier's avatar
      Add new error and function `user-error'. · 71873e2b
      Stefan Monnier authored
      * lisp/subr.el (user-error): New function.
      * lisp/window.el (switch-to-buffer):
      * lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
      (smerge-match-conflict):
      * lisp/simple.el (previous-matching-history-element)
      (next-matching-history-element, goto-history-element, undo-more)
      (undo-start):
      * lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
      (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
      (next-file, tags-loop-scan, list-tags, complete-tag):
      * lisp/progmodes/compile.el (compilation-loop):
      * lisp/mouse.el (mouse-minibuffer-check):
      * lisp/man.el (Man-bgproc-sentinel, Man-goto-page):
      * lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
      (Info-history-forward, Info-follow-reference, Info-menu)
      (Info-extract-menu-item, Info-extract-menu-counting)
      (Info-forward-node, Info-backward-node, Info-next-menu-item)
      (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
      (Info-next-reference, Info-prev-reference, Info-index)
      (Info-index-next, Info-follow-nearest-node)
      (Info-copy-current-node-name):
      * lisp/imenu.el (imenu--make-index-alist)
      (imenu-default-create-index-function, imenu-add-to-menubar):
      * lisp/files.el (basic-save-buffer, recover-file):
      * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
      (checkdoc-message-text, checkdoc-defun):
      * lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
      * lisp/cus-edit.el (customize-changed-options, customize-rogue)
      (customize-saved, custom-variable-set, custom-variable-mark-to-save)
      (custom-variable-mark-to-reset-standard)
      (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
      (custom-file):
      * lisp/completion.el (check-completion-length):
      * lisp/comint.el (comint-search-arg)
      (comint-previous-matching-input-string-position)
      (comint-previous-matching-input)
      (comint-replace-by-expanded-history-before-point, comint-send-input)
      (comint-copy-old-input, comint-backward-matching-input)
      (comint-goto-process-mark, comint-set-process-mark):
      * lisp/calendar/calendar.el (calendar-cursor-to-date): Use it.
      * lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
      * src/data.c (PUT_ERROR): New macro.
      (syms_of_data): Use it.  Add new error type `user-error'.
      * src/undo.c (user_error): New function.
      (Fprimitive_undo): Use it.
      * src/print.c (print_error_message): Adjust print style for `user-error'.
      * src/keyboard.c (user_error): New function.
      (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
      71873e2b
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      * patcomp.el, play/bruce.el: Move to obsolete/. · 3c74813a
      Glenn Morris authored
      * etc/NEWS: Mention this.
      3c74813a
    • Chong Yidong's avatar
      Convert more defvars to defcustoms. · 78f3273a
      Chong Yidong authored
      * dos-w32.el (file-name-buffer-file-type-alist)
      (direct-print-region-use-command-dot-com):
      * ffap.el (ffap-menu-regexp):
      * follow.el (follow-debug):
      * forms.el (forms--debug):
      * iswitchb.el (iswitchb-all-frames):
      * ido.el (ido-all-frames):
      * mail/feedmail.el (feedmail-mail-send-hook)
      (feedmail-mail-send-hook-queued):
      * mail/footnote.el (footnote-signature-separator):
      * mail/mailabbrev.el (mail-alias-separator-string)
      (mail-abbrev-mode-regexp):
      * mail/rmail.el (rmail-speedbar-match-folder-regexp):
      * progmodes/idlwave.el (idlwave-libinfo-file)
      (idlwave-default-completion-case-is-down)
      (idlwave-library-routines): Convert defvars to defcustoms.
      
      * mail/rmail.el (rmail-decode-mime-charset):
      * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
      (idlwave-shell-fix-inserted-breaks)
      (idlwave-shell-activate-alt-keybindings)
      (idlwave-shell-use-breakpoint-glyph):
      * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
      
      * doc/lispref/os.texi (Timers): Use defopt for timer-max-repeats.
      78f3273a
  10. 03 May, 2012 1 commit
    • Paul Eggert's avatar
      Do not limit current-time-string to years 1000..9999. · ab0fa4e4
      Paul Eggert authored
      * src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): Remove.
      (Fcurrent_time_string): Support any year that is supported by the
      underlying localtime representation.  Don't use asctime, as it
      has undefined behavior for years outside the range -999..9999.
      * doc/lispref/os.texi (Time of Day): Do not limit current-time-string
      to years 1000..9999.
      * etc/NEWS: Do not limit current-time-string to years 1000..9999.
      ab0fa4e4
  11. 02 May, 2012 1 commit
  12. 01 May, 2012 2 commits
    • Chong Yidong's avatar
      * lisp/follow.el: Rework, eliminating reliance on advice. · 782fbf2a
      Chong Yidong authored
      (set-process-filter, process-filter, sit-for): Advice deleted.
      (follow-mode-off-hook): Obsolete hook removed.
      (follow-avoid-tail-recenter-p, follow-process-filter-alist): Vars
      deleted.
      (follow-auto): Use a :set function.
      (follow-mode): Rewritten.  Don't advise process filters.
      (follow-switch-to-current-buffer-all, follow-scroll-up)
      (follow-scroll-down): Assume follow-mode is bound.
      (follow-comint-scroll-to-bottom)
      (follow-align-compilation-windows): New functions.
      (follow--window-sorter): New function.
      (follow-all-followers): Use it to explicitly sort windows by their
      positions; don't make assumptions about next-window order.
      (follow-windows-start-end, follow-delete-other-windows-and-split)
      (follow-calc-win-start): Doc fix.
      (follow-windows-aligned-p, follow-select-if-visible): Don't call
      vertical-motion unnecessarily.
      (follow-adjust-window): New function.
      (follow-post-command-hook): Use it.
      (follow-call-set-process-filter, follow-call-process-filter)
      (follow-intercept-process-output, follow-tidy-process-filter-alist)
      (follow-stop-intercept-process-output, follow-generic-filter):
      Functions deleted.
      (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
      (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down): New
      functions, replacing advice on scroll-bar-* commands.
      
      * lisp/comint.el (comint-adjust-point): New function.
      (comint-postoutput-scroll-to-bottom): Use it.  Call
      follow-comint-scroll-to-bottom for Follow mode buffers.
      782fbf2a
    • Glenn Morris's avatar
      Use libtinfo in preference to libncurses (bug#9741) · a4a18b8b
      Glenn Morris authored
      * configure.in: Try libtinfo for tputs.
      (LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found.  
      
      * etc/NEWS: Mention this.
      a4a18b8b
  13. 27 Apr, 2012 2 commits
  14. 26 Apr, 2012 1 commit
  15. 25 Apr, 2012 1 commit
  16. 24 Apr, 2012 4 commits
  17. 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
  18. 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
  19. 20 Apr, 2012 1 commit
  20. 17 Apr, 2012 3 commits
  21. 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