1. 29 May, 2012 2 commits
  2. 28 May, 2012 1 commit
  3. 26 May, 2012 1 commit
  4. 25 May, 2012 3 commits
    • Glenn Morris's avatar
      * lisp/image.el (imagemagick-types-inhibit): Doc fix. · 87eb79c2
      Glenn Morris authored
      * etc/NEWS: Related edits.
      87eb79c2
    • Bastien Guerry's avatar
      Merge Org 7.8.11 -- important bug fixes. · 2a88ee23
      Bastien Guerry authored
      2a88ee23
    • 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
      `smerge-refine-subst'.
      bc1b21bb
  5. 18 May, 2012 2 commits
  6. 17 May, 2012 1 commit
  7. 16 May, 2012 1 commit
  8. 15 May, 2012 1 commit
  9. 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
  10. 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
  11. 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
  12. 07 May, 2012 4 commits
    • Glenn Morris's avatar
      Move some forms.el example files to etc/forms directory · af8630f4
      Glenn Morris authored
      * etc/forms/README: New.
      
      * etc/forms/forms-d2.dat: Move to etc/forms/ subdirectory.
      
      * etc/forms/forms-d2.el, etc/forms/forms-pass.el: Move here from ../lisp.
      
      * lisp/forms.el: Related comment change.
      af8630f4
    • 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
  13. 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
  14. 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
  15. 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
  16. 03 May, 2012 2 commits
    • 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
    • Glenn Morris's avatar
      * etc/refcards/README: Update · ebf87fdb
      Glenn Morris authored
      ebf87fdb
  17. 02 May, 2012 1 commit
  18. 01 May, 2012 3 commits
    • Glenn Morris's avatar
      Some updates for etc/TODO · 479a2815
      Glenn Morris authored
      479a2815
    • 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
  19. 30 Apr, 2012 1 commit
  20. 27 Apr, 2012 4 commits