1. 09 May, 2012 3 commits
  2. 08 May, 2012 10 commits
  3. 07 May, 2012 11 commits
    • Glenn Morris's avatar
    • 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
    • Glenn Morris's avatar
    • Stefan Monnier's avatar
      * loadup.el: Preload newcomment.el. · 28be5ce7
      Stefan Monnier authored
      * newcomment.el: Move autoload-only code to toplevel.
      28be5ce7
    • 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
    • Stefan Monnier's avatar
      * lisp/buff-menu.el (list-buffers--refresh): Mark `size' as right-align. · f0809a9d
      Stefan Monnier authored
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-init-header):
      Handle new :right-align column property.
      (tabulated-list-print-col): Idem, plus use `display' text-property to
      try and preserve alignment for variable pitch fonts.
      f0809a9d
    • Jérémy Compostella's avatar
      Fix up display of the *Minibuf-0* buffer in the mini window. · b120cc17
      Jérémy Compostella authored
      * src/keyboard.c (read_char): Don't clear the echo area if there's no
      message to clear.
      * src/xdisp.c (redisplay_internal): Redisplay the mini window (with the
      contents of *Minibuf-0*) if there' no message displayed in its stead.
      b120cc17
    • Michael Albinus's avatar
      9a4b36f8
    • Chong Yidong's avatar
      Restore Buffer-menu-use-header-line functionality. · 1241b724
      Chong Yidong authored
      * lisp/emacs-lisp/tabulated-list.el: Add no-header-line alternative.
      (tabulated-list-use-header-line): New var.
      (tabulated-list-init-header): Use it.
      (tabulated-list-print-fake-header): New function.
      (tabulated-list-print): Use it.
      (tabulated-list-sort-button-map): Add non-header-line commands.
      (tabulated-list-init-header): Add column name property to basic
      labels as well.
      (tabulated-list-col-sort): Handle non-header-line button case.
      (tabulated-list--sort-by-column-name): Fix a corner case.
      
      * lisp/buff-menu.el (list-buffers--refresh): Handle
      Buffer-menu-use-header-line.
      1241b724
  4. 06 May, 2012 7 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
    • Christopher Schmidt's avatar
      * lisp/emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells · e129292c
      Christopher Schmidt authored
      whose cdr is not a cons cell correctly.
      
      Fixes: debbugs:11038
      e129292c
    • Glenn Morris's avatar
      Auto-commit of generated files. · 491503dd
      Glenn Morris authored
      491503dd
    • Chong Yidong's avatar
      Some cleanups for the buffer menu and electric buffer menu. · 3cc99f68
      Chong Yidong authored
      * lisp/buff-menu.el (list-buffers): Move C-x C-b binding from
      buff-menu.el to bindings.el.
      
      * lisp/ebuff-menu.el (Electric-buffer-menu-undefined): Use the
      :advertised-binding feature.
      3cc99f68
    • 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
    • Troels Nielsen's avatar
      Fix match highlighting in compilation buffers. · 52b61776
      Troels Nielsen authored
      * progmodes/compile.el (compilation-internal-error-properties):
      Calculate start position correctly when end-col is set but
      end-line is not.
      
      Fixes: debbugs:11382
      52b61776
    • Wolfgang Jenkner's avatar
      Cosmetic fix for Man-unindent. · ebfe2597
      Wolfgang Jenkner authored
      * lisp/man.el (Man-unindent): Use text-property-default-nonsticky to
      prevent untabify from inheriting face properties.
      
      Fixes: debbugs:11408
      ebfe2597
  5. 05 May, 2012 9 commits