1. 05 Dec, 2009 2 commits
  2. 04 Dec, 2009 9 commits
    • Juri Linkov's avatar
      (proced): Call `(proced-update t)' to update process · 8b78760b
      Juri Linkov authored
      information instead of only running proced-post-display-hook.
      (proced-send-signal): Add a leading space to the buffer name
      " *Marked Processes*" to make this buffer ephemeral.
    • Juri Linkov's avatar
      (dired-auto-revert-buffer): New defcustom. · 2b3489a7
      Juri Linkov authored
      (dired-internal-noselect): Use it.
    • 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-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'.
    • Ulf Jasper's avatar
      Newsticker fixes/changes. · 0c74a301
      Ulf Jasper authored
    • 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.
    • 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.
    • Eli Zaretskii's avatar
    • Glenn Morris's avatar
      Regenerate autoloads. · a67972b7
      Glenn Morris authored
    • 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'.
  3. 03 Dec, 2009 23 commits
    • Eli Zaretskii's avatar
    • 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.
    • 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.
    • 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.
    • Glenn Morris's avatar
      (class): Restore still useful declaration. · 627e0a14
      Glenn Morris authored
      Restore comment that is still relevant.
    • 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-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
      * progmodes/cc-langs.el (c-before-font-lock-function):
      c-extend-and-neutralize-syntax-in-CPP has been renamed
      * 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-state-push-any-brace-pair, c-append-to-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
      (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
      (c-with-all-but-one-cpps-commented-out): Macros to invoke code
      with characters in all or all but one preprocessor constructs
      "commented out".
    • Alan Mackenzie's avatar
      Correct conflicts in previous patch. · 4267d859
      Alan Mackenzie authored
    • Alan Mackenzie's avatar
      *** empty log message *** · 8578c224
      Alan Mackenzie authored
    • Roland Winkler's avatar
      (proced-filter-alist): Use regexp-quote. · 0d4dc442
      Roland Winkler authored
    • 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.
    • Glenn Morris's avatar
      Revert previous accidental commit. · 228fb9b5
      Glenn Morris authored
    • Dan Nicolaescu's avatar
      (vc-bzr-dir-extra-headers): Fix typo. · a3abb176
      Dan Nicolaescu authored
    • 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.
    • Dan Nicolaescu's avatar
    • Stefan Monnier's avatar
      (bibtex-complete-internal): Use completion-in-region. · 842d73a1
      Stefan Monnier authored
      (bibtex-text-in-field-bounds): Remove unused var `opoint'.
    • 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.
    • 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.
    • 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.
    • Stefan Monnier's avatar
    • 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):
      (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
      (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'.
    • 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.
  4. 02 Dec, 2009 6 commits
    • Stefan Monnier's avatar
      Use completion-in-buffer and remove uses of dynamic scoping. · 601a9508
      Stefan Monnier authored
      * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
      (pascal-buffer-to-use, pascal-flag): Don't declare.
      (pascal-func-completion, pascal-type-completion, pascal-var-completion)
      (pascal-get-completion-decl, pascal-keyword-completion):
      Add `pascal-str' argument, save-excursion,
      return the found completions, and don't filter with pascal-pred.
      (pascal-completion-cache): New var.
      (pascal-completion): Don't switch buffer any more (it was never
      necessary).  Don't save-excursion any more (it's done by the called
      subroutines).  Use a cache to avoid redundant computations.
      Use complete-with-action rather than pascal-completion-response and
      let it apply the predicate as well.
      (pascal-complete-word): Use completion-in-buffer when
      pascal-toggle-completions is nil.
      (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
      not used any more.
      (pascal-comp-defun): Don't change buffer any more.
      Use complete-with-action rather than pascal-completion-response and
      let it apply the predicate as well.
      (pascal-goto-defun): Change buffer before calling pascal-comp-defun
      when neded.
    • Kenichi Handa's avatar
    • Stefan Monnier's avatar
      Use completion-in-buffer. · bb12edf1
      Stefan Monnier authored
      (widget-field-text-end): New function.
      (widget-field-value-get): Use it.
      (widget-string-complete, widget-file-complete)
      (widget-color-complete): Use it and completion-in-region.
      (widget-complete): Don't narrow the buffer.
    • Stefan Monnier's avatar
      (message-completion-in-region): New compatibility function. · 96bdcdc4
      Stefan Monnier authored
      (message-expand-group): Use it.
    • Glenn Morris's avatar
      Replace all pop-to-buffer calls with rmail-pop-to-buffer, to prevent · 60f2013c
      Glenn Morris authored
      horizontal splits.
    • Glenn Morris's avatar
      (rmail-pop-to-buffer): New function. (Bug#2282) · c920f222
      Glenn Morris authored
      (rmail-select-summary): Use rmail-pop-to-buffer.