1. 04 Dec, 2009 7 commits
    • Juri Linkov's avatar
      Change roles of modes and functions in image-mode.el (Bug#5062). · 9b9debd1
      Juri Linkov authored
      * image-mode.el: Replace `image-mode-maybe' with `image-mode'
      in `auto-mode-alist'.
      (image-mode-previous-major-mode): New variable.
      (image-minor-mode-map): Rename from `image-mode-text-map'.
      (image-mode): Move graceful error-handling code from
      `image-minor-mode' to here.  On errors call `image-mode-as-text'.
      (image-minor-mode): Remove all image-handling code.
      Replace `image-mode-text-map' with `image-minor-mode-map'.
      Check for `image-type' in mode-line format string.
      (image-mode-maybe): Make obsolete with an alias to `image-mode'.
      (image-mode-as-text): New function with most code from
      `image-mode-maybe'.
      (image-toggle-display-text): Move code that removes image
      properties from `image-toggle-display' to here.
      (image-toggle-display-image): New function with code that adds
      image properties copied from `image-toggle-display'.
      (image-toggle-display): Remove most code with leaving only code
      that toggles between `image-mode-as-text' and `image-mode'.
      9b9debd1
    • Ulf Jasper's avatar
      Newsticker fixes/changes. · 0c74a301
      Ulf Jasper authored
      0c74a301
    • Sam Steingold's avatar
      (log-view-mode-map): "q" calls quit-window, · 9eaeec5b
      Sam Steingold authored
      like in all the other non-self-insert buffers.
      9eaeec5b
    • Juanma Barranquero's avatar
      Fix `string-to-number' to deal consistently with integers and floats. · be95bee9
      Juanma Barranquero authored
      * lread.c (isfloat_string): New argument ignore_trailing to accept all
        trailing characters, not just whitespace.
        (read1): Pass new arg 0 to keep old behavior.
      * data.c (Fstring_to_number): Pass 1 to isfloat_string to ignore
        trailing chars, as it is already done for integers.  Doc fixes.
      * lisp.h (isfloat_string): Add new arg to declaration of isfloat_string.
      be95bee9
    • Eli Zaretskii's avatar
    • Glenn Morris's avatar
      Regenerate autoloads. · a67972b7
      Glenn Morris authored
      a67972b7
    • Stefan Monnier's avatar
      Minor cleanup. · b2bf5be5
      Stefan Monnier authored
      * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
      key decoding rather than do it manually via last-input-event + ascii-character.
      (term-exec): Use delete-and-extract-region.
      (term-handle-ansi-terminal-messages): Remove unused var `end'.
      (term-process-pager): Remove unused var `i'.
      (term-dynamic-simple-complete): Make obsolete.
      (serial-update-config-menu): Remove unused vars `y' and `str'.
      (term-update-mode-line): Remove unused var `temp'.
      b2bf5be5
  2. 03 Dec, 2009 23 commits
    • Eli Zaretskii's avatar
      7e694795
    • Dan Nicolaescu's avatar
      Limit the number of log entries displayed by default. · 46e5c897
      Dan Nicolaescu authored
      * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
      (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
      using a prefix argument.
      46e5c897
    • Stefan Monnier's avatar
      (Fmake_network_process): Fix up the tests for · 84b31826
      Stefan Monnier authored
      "connectionless socket", so they DTRT for seqpacket sockets as well.
      84b31826
    • Stefan Monnier's avatar
      (Qseqpacket): New symbol. · f00c449b
      Stefan Monnier authored
      (HAVE_SEQPACKET): New macro.
      (Fmake_network_process): Accept new :type `seqpacket'.
      (init_process): Add `seqpacket' feature when applicable.
      (syms_of_process): Initialize Qseqpacket.
      f00c449b
    • 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
  3. 02 Dec, 2009 10 commits