1. 03 Dec, 2009 19 commits
    • Glenn Morris's avatar
      (class): Restore still useful declaration. · 627e0a14
      Glenn Morris authored
      Restore comment that is still relevant.
      627e0a14
    • Alan Mackenzie's avatar
      Enhance `c-parse-state' to run efficiently in "brace desserts". · 0ec1d2c5
      Alan Mackenzie authored
      * progmodes/cc-mode.el (c-basic-common-init): Call
      c-state-cache-init.
      (c-neutralize-syntax-in-and-mark-CPP):  Renamed from
      c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
      placing `category' properties value 'c-cpp-delimiter at its
      boundaries.
      
      * progmodes/cc-langs.el (c-before-font-lock-function):
      c-extend-and-neutralize-syntax-in-CPP has been renamed
      c-neutralize-syntax-in-and-mark-CPP.
      
      * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
      with `category' properties now, not `syntax-table' ones.
      
      * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
      enhanced (but slower) version of c-end-of-macro that won't land
      inside a literal or on another awkward character.
      (c-state-cache-too-far, c-state-cache-start)
      (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
      (c-state-nonlit-pos-cache-limit, c-state-point-min)
      (c-state-point-min-lit-type, c-state-point-min-lit-start)
      (c-state-min-scan-pos, c-state-brace-pair-desert)
      (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
      buffer local variables.
      (c-state-literal-at, c-state-lit-beg)
      (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
      (c-state-mark-point-min-literal, c-state-cache-top-lparen)
      (c-state-cache-top-paren, c-state-cache-after-top-paren)
      (c-get-cache-scan-pos, c-get-fallback-scan-pos)
      (c-state-balance-parens-backwards, c-parse-state-get-strategy)
      (c-renarrow-state-cache)
      (c-append-lower-brace-pair-to-state-cache)
      (c-state-push-any-brace-pair, c-append-to-state-cache)
      (c-remove-stale-state-cache)
      (c-remove-stale-state-cache-backwards, c-state-cache-init)
      (c-invalidate-state-cache-1, c-parse-state-1)
      (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
      (c-parse-state): Enhanced and refactored.
      (c-debug-parse-state): Amended to deal with all the new variables.
      
      * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
      (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
      modify to use category text properties rather than syntax-table
      ones.
      (c-suppress-<->-as-parens, c-restore-<->-as-parens): new defsubsts
      to switch off/on the syntactic paren property of C++ template
      delimiters using the category property.
      (c-with-<->-as-parens-suppressed): Macro to invoke code with
      template delims suppressed.
      (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
      New constant/macros which apply category properties to the start
      and end of preprocessor constructs.
      (c-comment-out-cpps, c-uncomment-out-cpps): defsubsts which
      "comment out" the syntactic value of characters in preprocessor
      constructs.
      (c-with-cpps-commented-out)
      (c-with-all-but-one-cpps-commented-out): Macros to invoke code
      with characters in all or all but one preprocessor constructs
      "commented out".
      0ec1d2c5
    • Alan Mackenzie's avatar
      Correct conflicts in previous patch. · 4267d859
      Alan Mackenzie authored
      4267d859
    • Alan Mackenzie's avatar
      *** empty log message *** · 8578c224
      Alan Mackenzie authored
      8578c224
    • Roland Winkler's avatar
      (proced-filter-alist): Use regexp-quote. · 0d4dc442
      Roland Winkler authored
      0d4dc442
    • Michael Albinus's avatar
      Cleanup. · a09dc9bf
      Michael Albinus authored
      * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
      (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
      arguments.  Expand `default-directory'.
      
      * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
      the benefit of returning an expanded localname.
      (tramp-tramp-file-p): Handle the case NAME is not a string.
      a09dc9bf
    • Glenn Morris's avatar
      Revert previous accidental commit. · 228fb9b5
      Glenn Morris authored
      228fb9b5
    • Dan Nicolaescu's avatar
      (vc-bzr-dir-extra-headers): Fix typo. · a3abb176
      Dan Nicolaescu authored
      a3abb176
    • Dan Nicolaescu's avatar
      Add support for bzr shelve/unshelve. · 4dfb3b9c
      Dan Nicolaescu authored
      * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
      (vc-bzr-extra-menu-map): New variables.
      (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
      (vc-bzr-shelve-apply, vc-bzr-shelve-list)
      (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
      (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
      (vc-bzr-dir-extra-headers): Display shelves.
      4dfb3b9c
    • Dan Nicolaescu's avatar
      3f6bd790
    • Stefan Monnier's avatar
      (bibtex-complete-internal): Use completion-in-region. · 842d73a1
      Stefan Monnier authored
      (bibtex-text-in-field-bounds): Remove unused var `opoint'.
      842d73a1
    • Dan Nicolaescu's avatar
      Support applying stashes. Improve UI. · 7fa4876f
      Dan Nicolaescu authored
      * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
      (vc-git-stash-apply, vc-git-stash-pop)
      (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
      (vc-git-stash-menu): New functions.
      (vc-git-stash-menu-map): New variable.
      (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
      7fa4876f
    • Glenn Morris's avatar
      (log-view-vc-backend, log-view-vc-fileset): Declare. · d6e82452
      Glenn Morris authored
      (vc-print-log-internal): Fix previous change.
      (vc-revert): Correct pluralization.
      d6e82452
    • Glenn Morris's avatar
    • Stefan Monnier's avatar
      (makefile-special-targets-list): No need for it to be an alist any more. · ea52206b
      Stefan Monnier authored
      (makefile-complete): Use completion-in-region.
      ea52206b
    • Stefan Monnier's avatar
      69a94a37
    • Stefan Monnier's avatar
      Misc cleanup. · 8d222148
      Stefan Monnier authored
      * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
      (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
      (idlwave-complete-class): Don't quote lambda.
      (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
      (idlwave-mode-map): Move initialization into declaration.
      (idlwave-action-and-binding): Use backquotes.
      (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
      Simplify.
      (idlwave-is-pointer-dereference): Remove unused var `pos'.
      (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
      (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
      `parts', and `all-parts'.
      (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
      (idlwave-convert-xml-system-routine-info): Remove unused string
      `version-string'.
      (idlwave-display-user-catalog-widget): Use dolist.
      (idlwave-scanning-lib): Declare dynamically-scoped var.
      (idlwave-scan-library-catalogs): Remove unused var `flags'.
      (completion-highlight-first-word-only): Declare to silence bytecomp.
      (idlwave-popup-select): Tighten scope of `resp'.
      (idlwave-find-struct-tag): Remove unused var `beg'.
      (idlwave-after-load-rinfo-hook): Declare.
      (idlwave-sintern-class-info): Remove unused var `taglist'.
      (idlwave-find-class-definition): Remove unused var `list'.
      (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
      (idlwave-what-module-find-class): Remove unused var `classes'.
      8d222148
    • Juanma Barranquero's avatar
    • Stefan Monnier's avatar
      (try-expand-dabbrev-visible): Preserve point in the · f72f0c23
      Stefan Monnier authored
      buffers visited.  Remove redundant current-buffer-saving.
      f72f0c23
  2. 02 Dec, 2009 12 commits
  3. 01 Dec, 2009 9 commits