Show
Ignore:
Timestamp:
2005年11月01日 07時08分22秒 (3 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • vendor/emacs-CVS_HEAD/lisp/ibuf-ext.el

    r3861 r3939  
    330330  (ibuffer-forward-line 0)) 
    331331 
    332 ;;;###autoload (autoload 'ibuffer-do-shell-command-pipe "ibuf-ext.el") 
     332;;;###autoload (autoload 'ibuffer-do-shell-command-pipe "ibuf-ext") 
    333333(define-ibuffer-op shell-command-pipe (command) 
    334334  "Pipe the contents of each marked buffer to shell command COMMAND." 
     
    340340   (get-buffer-create "* ibuffer-shell-output*"))) 
    341341 
    342 ;;;###autoload (autoload 'ibuffer-do-shell-command-pipe-replace "ibuf-ext.el") 
     342;;;###autoload (autoload 'ibuffer-do-shell-command-pipe-replace "ibuf-ext") 
    343343(define-ibuffer-op shell-command-pipe-replace (command) 
    344344  "Replace the contents of marked buffers with output of pipe to COMMAND." 
     
    352352                             command nil t))) 
    353353 
    354 ;;;###autoload (autoload 'ibuffer-do-shell-command-file "ibuf-ext.el") 
     354;;;###autoload (autoload 'ibuffer-do-shell-command-file "ibuf-ext") 
    355355(define-ibuffer-op shell-command-file (command) 
    356356  "Run shell command COMMAND separately on files of marked buffers." 
     
    365365                             (substring (buffer-name) 0 (min 10 (length (buffer-name)))))))))) 
    366366 
    367 ;;;###autoload (autoload 'ibuffer-do-eval "ibuf-ext.el") 
     367;;;###autoload (autoload 'ibuffer-do-eval "ibuf-ext") 
    368368(define-ibuffer-op eval (form) 
    369369  "Evaluate FORM in each of the buffers. 
     
    375375  (eval form)) 
    376376 
    377 ;;;###autoload (autoload 'ibuffer-do-view-and-eval "ibuf-ext.el") 
     377;;;###autoload (autoload 'ibuffer-do-view-and-eval "ibuf-ext") 
    378378(define-ibuffer-op view-and-eval (form) 
    379379  "Evaluate FORM while displaying each of the marked buffers. 
     
    390390      (switch-to-buffer ibuffer-buf)))) 
    391391 
    392 ;;;###autoload (autoload 'ibuffer-do-rename-uniquely "ibuf-ext.el") 
     392;;;###autoload (autoload 'ibuffer-do-rename-uniquely "ibuf-ext") 
    393393(define-ibuffer-op rename-uniquely () 
    394394  "Rename marked buffers as with `rename-uniquely'." 
     
    397397  (rename-uniquely)) 
    398398 
    399 ;;;###autoload (autoload 'ibuffer-do-revert "ibuf-ext.el") 
     399;;;###autoload (autoload 'ibuffer-do-revert "ibuf-ext") 
    400400(define-ibuffer-op revert () 
    401401  "Revert marked buffers as with `revert-buffer'." 
     
    406406  (revert-buffer t t)) 
    407407 
    408 ;;;###autoload (autoload 'ibuffer-do-replace-regexp "ibuf-ext.el") 
     408;;;###autoload (autoload 'ibuffer-do-replace-regexp "ibuf-ext") 
    409409(define-ibuffer-op replace-regexp (from-str to-str) 
    410410  "Perform a `replace-regexp' in marked buffers." 
     
    426426    t)) 
    427427 
    428 ;;;###autoload (autoload 'ibuffer-do-query-replace "ibuf-ext.el") 
     428;;;###autoload (autoload 'ibuffer-do-query-replace "ibuf-ext") 
    429429(define-ibuffer-op query-replace (&rest args) 
    430430  "Perform a `query-replace' in marked buffers." 
     
    442442    t)) 
    443443 
    444 ;;;###autoload (autoload 'ibuffer-do-query-replace-regexp "ibuf-ext.el") 
     444;;;###autoload (autoload 'ibuffer-do-query-replace-regexp "ibuf-ext") 
    445445(define-ibuffer-op query-replace-regexp (&rest args) 
    446446  "Perform a `query-replace-regexp' in marked buffers." 
     
    458458    t)) 
    459459 
    460 ;;;###autoload (autoload 'ibuffer-do-print "ibuf-ext.el") 
     460;;;###autoload (autoload 'ibuffer-do-print "ibuf-ext") 
    461461(define-ibuffer-op print () 
    462462  "Print marked buffers as with `print-buffer'." 
     
    970970;;; Extra operation definitions 
    971971 
    972 ;;;###autoload (autoload 'ibuffer-filter-by-mode "ibuf-ext.el") 
     972;;;###autoload (autoload 'ibuffer-filter-by-mode "ibuf-ext") 
    973973(define-ibuffer-filter mode 
    974974  "Toggle current view to buffers with major mode QUALIFIER." 
     
    988988  (eq qualifier (with-current-buffer buf major-mode))) 
    989989 
    990 ;;;###autoload (autoload 'ibuffer-filter-by-used-mode "ibuf-ext.el") 
     990;;;###autoload (autoload 'ibuffer-filter-by-used-mode "ibuf-ext") 
    991991(define-ibuffer-filter used-mode 
    992992  "Toggle current view to buffers with major mode QUALIFIER. 
     
    10071007  (eq qualifier (with-current-buffer buf major-mode))) 
    10081008 
    1009 ;;;###autoload (autoload 'ibuffer-filter-by-name "ibuf-ext.el") 
     1009;;;###autoload (autoload 'ibuffer-filter-by-name "ibuf-ext") 
    10101010(define-ibuffer-filter name 
    10111011  "Toggle current view to buffers with name matching QUALIFIER." 
     
    10141014  (string-match qualifier (buffer-name buf))) 
    10151015 
    1016 ;;;###autoload (autoload 'ibuffer-filter-by-filename "ibuf-ext.el") 
     1016;;;###autoload (autoload 'ibuffer-filter-by-filename "ibuf-ext") 
    10171017(define-ibuffer-filter filename 
    10181018  "Toggle current view to buffers with filename matching QUALIFIER." 
     
    10281028    (string-match qualifier it))) 
    10291029 
    1030 ;;;###autoload (autoload 'ibuffer-filter-by-size-gt  "ibuf-ext.el") 
     1030;;;###autoload (autoload 'ibuffer-filter-by-size-gt  "ibuf-ext") 
    10311031(define-ibuffer-filter size-gt 
    10321032  "Toggle current view to buffers with size greater than QUALIFIER." 
     
    10371037     qualifier)) 
    10381038 
    1039 ;;;###autoload (autoload 'ibuffer-filter-by-size-lt  "ibuf-ext.el") 
     1039;;;###autoload (autoload 'ibuffer-filter-by-size-lt  "ibuf-ext") 
    10401040(define-ibuffer-filter size-lt 
    10411041   "Toggle current view to buffers with size less than QUALIFIER." 
     
    10461046     qualifier)) 
    10471047 
    1048 ;;;###autoload (autoload 'ibuffer-filter-by-content "ibuf-ext.el") 
     1048;;;###autoload (autoload 'ibuffer-filter-by-content "ibuf-ext") 
    10491049(define-ibuffer-filter content 
    10501050   "Toggle current view to buffers whose contents match QUALIFIER." 
     
    10561056      (re-search-forward qualifier nil t)))) 
    10571057 
    1058 ;;;###autoload (autoload 'ibuffer-filter-by-predicate "ibuf-ext.el") 
     1058;;;###autoload (autoload 'ibuffer-filter-by-predicate "ibuf-ext") 
    10591059(define-ibuffer-filter predicate 
    10601060   "Toggle current view to buffers for which QUALIFIER returns non-nil." 
     
    10951095  (ibuffer-redisplay t)) 
    10961096 
    1097 ;;;###autoload (autoload 'ibuffer-do-sort-by-major-mode "ibuf-ext.el") 
     1097;;;###autoload (autoload 'ibuffer-do-sort-by-major-mode "ibuf-ext") 
    10981098(define-ibuffer-sorter major-mode 
    10991099  "Sort the buffers by major modes. 
     
    11091109                                major-mode))))) 
    11101110 
    1111 ;;;###autoload (autoload 'ibuffer-do-sort-by-mode-name "ibuf-ext.el") 
     1111;;;###autoload (autoload 'ibuffer-do-sort-by-mode-name "ibuf-ext") 
    11121112(define-ibuffer-sorter mode-name 
    11131113  "Sort the buffers by their mode name. 
     
    11231123                   mode-name)))) 
    11241124 
    1125 ;;;###autoload (autoload 'ibuffer-do-sort-by-alphabetic "ibuf-ext.el") 
     1125;;;###autoload (autoload 'ibuffer-do-sort-by-alphabetic "ibuf-ext") 
    11261126(define-ibuffer-sorter alphabetic 
    11271127  "Sort the buffers by their names. 
     
    11321132   (buffer-name (car b)))) 
    11331133 
    1134 ;;;###autoload (autoload 'ibuffer-do-sort-by-size "ibuf-ext.el") 
     1134;;;###autoload (autoload 'ibuffer-do-sort-by-size "ibuf-ext") 
    11351135(define-ibuffer-sorter size 
    11361136 "Sort the buffers by their size."