1. 17 Jun, 2012 1 commit
  2. 16 Jun, 2012 1 commit
  3. 15 Jun, 2012 1 commit
  4. 13 Jun, 2012 3 commits
    • Glenn Morris's avatar
      NEWS tweak · 9702b7a1
      Glenn Morris authored
    • Andreas Schwab's avatar
      Use a simple struct to implement compile time checks for the Lisp_Object type · 646b5f55
      Andreas Schwab authored
      * configure.in: Rename --enable-use-lisp-union-type to
      --enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE
      instead of USE_LISP_UNION_TYPE.
      * admin/make-emacs: Rename --union-type to --check-lisp-type.  Define
      * admin/CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Renamed from
      * src/lisp.h (Lisp_Object) [CHECK_LISP_OBJECT_TYPE]: Define as struct
      instead of union.
      (XLI, XIL): Define.
      (XHASH, XTYPE, XINT, XUINT, make_number, XSET, XPNTR, XUNTAG): Use
      * src/emacs.c (gdb_use_struct): Renamed from gdb_use_union.
      * src/.gdbinit: Check gdb_use_struct instead of gdb_use_union.
      * src/alloc.c (widen_to_Lisp_Object): Removed.
      (mark_memory): Use XIL instead of widen_to_Lisp_Object.
      * src/frame.c (delete_frame): Remove outdated comment.
      * src/w32fns.c (Fw32_register_hot_key): Use XLI instead of checking
      (Fw32_unregister_hot_key): Likewise.
      (Fw32_toggle_lock_key): Likewise.
      * src/w32menu.c (add_menu_item): Likewise.
      (w32_menu_display_help): Use XIL instead of checking
      * src/w32heap.c (allocate_heap): Don't check USE_LISP_UNION_TYPE.
      (init_heap): Likewise.
      * src/w32term.c (w32_read_socket): Update comment.
    • Chong Yidong's avatar
      In the Package Menu, indicate packages that are newly-available. · 60057926
      Chong Yidong authored
      * lisp/emacs-lisp/package.el (list-packages): Compute a list of
      packages that are newly-available since the last list-packages
      (package-menu--new-package-list): New var.
      (package-menu--generate, package-menu--print-info)
      (package-menu--status-predicate, package-menu-mark-install):
      Handle new status label "new".
  5. 12 Jun, 2012 1 commit
  6. 11 Jun, 2012 2 commits
  7. 07 Jun, 2012 1 commit
  8. 06 Jun, 2012 2 commits
    • Michael Albinus's avatar
      Add enable-remote-dir-locals. · 21ffb35a
      Michael Albinus authored
    • Glenn Morris's avatar
      Remove lib-src/vcdiff · 276d5f5d
      Glenn Morris authored
      * lib-src/vcdiff: Remove file.
      * lib-src/Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
      (stamp-vcdiff): Remove.
      * INSTALL, make-dist: Remove vcdiff.
      * lisp/emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
  9. 05 Jun, 2012 3 commits
    • Glenn Morris's avatar
      Make ledit.el obsolete. · daed4003
      Glenn Morris authored
      Also, etc/LEDIT was removed some time ago.
    • Stefan Monnier's avatar
    • Martin Rudalics's avatar
      Clean up and simplify buffer display routines. · 51a5f9d8
      Martin Rudalics authored
      * window.el (get-lru-window, get-mru-window, get-largest-window):
      New argument NOT-SELECTED to avoid picking the selected window.
      (window--display-buffer-1, window--display-buffer-2): Replace by
      new function window--display-buffer
      (display-buffer-same-window, display-buffer-reuse-window)
      (display-buffer-pop-up-frame, display-buffer-pop-up-window): Use
      (display-buffer-use-some-window): Remove temporary dedication
      hack by calling get-lru-window and get-largest-window with
      NOT-SELECTED argument non-nil.  Call window--display-buffer.
  10. 04 Jun, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-lib.el: Rename from cl.el. · 7c1898a7
      Stefan Monnier authored
      * lisp/emacs-lisp/cl.el: New compatibility file.
      * emacs-lisp/cl-lib.el, lisp/emacs-lisp/cl-seq.el, lisp/emacs-lisp/cl-macs.el:
      * lisp/emacs-lisp/cl-extra.el: Rename all top-level functions and variables
      to obey the "cl-" prefix.
      * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
  11. 03 Jun, 2012 3 commits
  12. 01 Jun, 2012 1 commit
  13. 31 May, 2012 4 commits
    • Glenn Morris's avatar
      Split off imagemagick-filter-types from imagemagick-register-types · 60b5f187
      Glenn Morris authored
      * lisp/image.el: (imagemagick-filter-types): New function.  (Bug#7406)
      (imagemagick-register-types): Use imagemagick-filter-types.
      * etc/NEWS: Mention this.
    • Glenn Morris's avatar
      Add option imagemagick-types-enable · 32d72c2f
      Glenn Morris authored
      * lisp/image.el: For clarity, call imagemagick-register-types at
      top-level, rather than relying on a custom :initialize.
      (imagemagick-types-enable): New option. 
      (imagemagick-register-types): Respect imagemagick-types-inhibit.
      If disabling support, remove elements altogether rather
      than using an impossible regexp.
      (imagemagick-types-inhibit): Give it the default init function.
      * src/image.c (Fimagemagick_types): Doc fix.
      * etc/NEWS: Mention this.
      Fixes: debbugs:11557
    • Stefan Monnier's avatar
      Add `declare' for `defun'. Align `defmacro's with it. · 500fcedc
      Stefan Monnier authored
      * lisp/emacs-lisp/easy-mmode.el (define-minor-mode)
      (define-globalized-minor-mode): Don't autoload the var definitions.
      * lisp/emacs-lisp/byte-run.el: Use lexical-binding.
      (defun-declarations-alist, macro-declarations-alist): New vars.
      (defmacro, defun): Use them.
      (make-obsolete, define-obsolete-function-alias)
      (make-obsolete-variable, define-obsolete-variable-alias):
      Use `declare'.
      (macro-declaration-function): Mark obsolete.
      * lisp/emacs-lisp/autoload.el: Use lexical-binding.
      (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
    • Juri Linkov's avatar
      * etc/NEWS: Doc fix. · b03b4c00
      Juri Linkov authored
      Fixes: debbugs:11574
  14. 29 May, 2012 2 commits
  15. 28 May, 2012 1 commit
  16. 26 May, 2012 1 commit
  17. 25 May, 2012 2 commits
    • Glenn Morris's avatar
      * lisp/image.el (imagemagick-types-inhibit): Doc fix. · 87eb79c2
      Glenn Morris authored
      * etc/NEWS: Related edits.
    • Juri Linkov's avatar
      Use the same diff color scheme as in modern VCSes (bug#10181). · bc1b21bb
      Juri Linkov authored
      * lisp/vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
      to avoid confusion with `diff-added' that now uses green colors.
      (diff-removed): Use shades of red.
      (diff-added): Use shades of green.
      (diff-changed): Leave just the yellow color.
      (diff-use-changed-face): New variable.
      (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
      how to highlight context diff changes.
      (diff-refine-change): Use shades of yellow.
      (diff-refine-removed): New face that uses shades of red.
      (diff-refine-added): New face that uses shades of green.
      (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
      `diff-refine-removed' in the call to `smerge-refine-subst'
      depending on the value of `diff-use-changed-face'.
      * lisp/vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
      Add face condition `min-colors 88' with shades of red.
      (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
      `min-colors 88' with shades of green.
      (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
      `min-colors 88' with shades of yellow.
      * lisp/vc/smerge-mode.el (smerge-mine): Use shades of red.
      (smerge-other): Use shades of green.
      (smerge-base): Use shades of yellow.
      (smerge-refined-change): Empty face.
      (smerge-refined-removed): New face that uses shades of red.
      (smerge-refined-added): New face that uses shades of green.
      (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
      args `props-r' and `props-a', and use them.  Doc fix.
      (smerge-refine): Evaluate `smerge-use-changed-face' and depending
      on its value use different faces `smerge-refined-change',
      `smerge-refined-removed', `smerge-refined-added' in the call to
  18. 18 May, 2012 1 commit
  19. 15 May, 2012 1 commit
  20. 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.
  21. 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
      (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-util.el (url-encode-url): Use url-path-and-query.
      * url-vars.el (url-mime-charset-string): Load mm-util lazily.
      Fixes: debbugs:9131
    • 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.
    • Glenn Morris's avatar
      Document new create-lockfiles option · dc0f75c8
      Glenn Morris authored
  22. 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
  23. 07 May, 2012 3 commits
    • Glenn Morris's avatar
      Fix NEWS typo · 57699e37
      Glenn Morris authored
    • 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-adornment-level, rst-font-lock-adornment-level)
      	(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-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.