Changeset 3537

Show
Ignore:
Timestamp:
11/09/04 22:30:25 (4 years ago)
Author:
miyoshi
Message:

* alloc.c (PDUMP_SUBR_DOC_SIZE): Increased.

* emacs.c: Partially sync up with Emacs CVS HEAD.

* cus-load.el: Update.

* loaddefs.el: Ditto.

* ibuf-ext.el: New file from Emacs CVS HEAD.

* ibuf-macs.el: Ditto.

* ibuffer.el: Ditto.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/lisp/ChangeLog.Meadow

    r3532 r3537  
     12004-11-09  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * cus-load.el: Update. 
     4 
     5        * loaddefs.el: Ditto. 
     6 
     7        * ibuf-ext.el: New file from Emacs CVS HEAD. 
     8 
     9        * ibuf-macs.el: Ditto. 
     10 
     11        * ibuffer.el: Ditto. 
     12 
    1132004-11-08  MIYOSHI Masanori  <miyoshi@meadowy.org> 
    214 
  • branches/2.2/lisp/cus-load.el

    r3526 r3537  
    391391(put 'message-faces 'custom-loads '(message)) 
    392392(put 'environment 'custom-loads '(cus-edit dired "dos-vars" faces "paths")) 
     393(put 'ibuffer 'custom-loads '(ibuffer ibuf-ext)) 
    393394(put 'perl 'custom-loads '(perl-mode)) 
    394395(put 'password 'custom-loads '(password)) 
     
    400401(put 'type-break 'custom-loads '(type-break)) 
    401402(put 'mh 'custom-loads '(mh-customize mh-init)) 
    402 (put 'convenience 'custom-loads '("buff-menu" autoinsert autorevert bs calculator completion "files" cua-base dabbrev ffap filecache filesets follow hippie-exp ido imenu iswitchb kmacro "abbrev" complete pc-select repeat ruler-mode speedbar whitespace windmove)) 
     403(put 'convenience 'custom-loads '("buff-menu" autoinsert autorevert bs calculator completion "files" cua-base dabbrev ffap filecache filesets follow hippie-exp ibuffer ido imenu iswitchb kmacro "abbrev" complete pc-select repeat ruler-mode speedbar whitespace windmove)) 
    403404(put 'lm 'custom-loads '(landmark)) 
    404405(put 'ruler-mode 'custom-loads '(ruler-mode)) 
  • branches/2.2/lisp/loaddefs.el

    r3532 r3537  
    1215212152 
    1215312153\(fn)" t nil) 
     12154 
     12155;;;*** 
     12156  
     12157;;;### (autoloads (ibuffer-do-occur ibuffer-mark-dired-buffers ibuffer-mark-read-only-buffers 
     12158;;;;;;  ibuffer-mark-special-buffers ibuffer-mark-old-buffers ibuffer-mark-help-buffers 
     12159;;;;;;  ibuffer-mark-dissociated-buffers ibuffer-mark-unsaved-buffers 
     12160;;;;;;  ibuffer-mark-modified-buffers ibuffer-mark-by-mode ibuffer-mark-by-file-name-regexp 
     12161;;;;;;  ibuffer-mark-by-mode-regexp ibuffer-mark-by-name-regexp ibuffer-copy-filename-as-kill 
     12162;;;;;;  ibuffer-diff-with-file ibuffer-jump-to-buffer ibuffer-do-kill-lines 
     12163;;;;;;  ibuffer-backwards-next-marked ibuffer-forward-next-marked 
     12164;;;;;;  ibuffer-add-to-tmp-show ibuffer-add-to-tmp-hide ibuffer-bs-show 
     12165;;;;;;  ibuffer-invert-sorting ibuffer-toggle-sorting-mode ibuffer-switch-to-saved-filters 
     12166;;;;;;  ibuffer-add-saved-filters ibuffer-delete-saved-filters ibuffer-save-filters 
     12167;;;;;;  ibuffer-or-filter ibuffer-negate-filter ibuffer-exchange-filters 
     12168;;;;;;  ibuffer-decompose-filter ibuffer-pop-filter ibuffer-filter-disable 
     12169;;;;;;  ibuffer-switch-to-saved-filter-groups ibuffer-delete-saved-filter-groups 
     12170;;;;;;  ibuffer-save-filter-groups ibuffer-yank-filter-group ibuffer-yank 
     12171;;;;;;  ibuffer-kill-line ibuffer-kill-filter-group ibuffer-jump-to-filter-group 
     12172;;;;;;  ibuffer-clear-filter-groups ibuffer-decompose-filter-group 
     12173;;;;;;  ibuffer-pop-filter-group ibuffer-set-filter-groups-by-mode 
     12174;;;;;;  ibuffer-filters-to-filter-group ibuffer-included-in-filters-p 
     12175;;;;;;  ibuffer-backward-filter-group ibuffer-forward-filter-group 
     12176;;;;;;  ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group 
     12177;;;;;;  ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode 
     12178;;;;;;  ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" (16715 60951)) 
     12179;;; Generated autoloads from ibuf-ext.el 
     12180 
     12181(autoload (quote ibuffer-auto-mode) "ibuf-ext" "\ 
     12182Toggle use of Ibuffer's auto-update facility. 
     12183With numeric ARG, enable auto-update if and only if ARG is positive. 
     12184 
     12185\(fn &optional ARG)" t nil) 
     12186 
     12187(autoload (quote ibuffer-mouse-filter-by-mode) "ibuf-ext" "\ 
     12188Enable or disable filtering by the major mode chosen via mouse. 
     12189 
     12190\(fn EVENT)" t nil) 
     12191 
     12192(autoload (quote ibuffer-interactive-filter-by-mode) "ibuf-ext" "\ 
     12193Enable or disable filtering by the major mode at point. 
     12194 
     12195\(fn EVENT-OR-POINT)" t nil) 
     12196 
     12197(autoload (quote ibuffer-mouse-toggle-filter-group) "ibuf-ext" "\ 
     12198Toggle the display status of the filter group chosen with the mouse. 
     12199 
     12200\(fn EVENT)" t nil) 
     12201 
     12202(autoload (quote ibuffer-toggle-filter-group) "ibuf-ext" "\ 
     12203Toggle the display status of the filter group on this line. 
     12204 
     12205\(fn)" t nil) 
     12206 
     12207(autoload (quote ibuffer-forward-filter-group) "ibuf-ext" "\ 
     12208Move point forwards by COUNT filtering groups. 
     12209 
     12210\(fn &optional COUNT)" t nil) 
     12211 
     12212(autoload (quote ibuffer-backward-filter-group) "ibuf-ext" "\ 
     12213Move point backwards by COUNT filtering groups. 
     12214 
     12215\(fn &optional COUNT)" t nil) 
     12216 (autoload 'ibuffer-do-shell-command-pipe "ibuf-ext.el") 
     12217 (autoload 'ibuffer-do-shell-command-pipe-replace "ibuf-ext.el") 
     12218 (autoload 'ibuffer-do-shell-command-file "ibuf-ext.el") 
     12219 (autoload 'ibuffer-do-eval "ibuf-ext.el") 
     12220 (autoload 'ibuffer-do-view-and-eval "ibuf-ext.el") 
     12221 (autoload 'ibuffer-do-rename-uniquely "ibuf-ext.el") 
     12222 (autoload 'ibuffer-do-revert "ibuf-ext.el") 
     12223 (autoload 'ibuffer-do-replace-regexp "ibuf-ext.el") 
     12224 (autoload 'ibuffer-do-query-replace "ibuf-ext.el") 
     12225 (autoload 'ibuffer-do-query-replace-regexp "ibuf-ext.el") 
     12226 (autoload 'ibuffer-do-print "ibuf-ext.el") 
     12227 
     12228(autoload (quote ibuffer-included-in-filters-p) "ibuf-ext" "\ 
     12229Not documented 
     12230 
     12231\(fn BUF FILTERS)" nil nil) 
     12232 
     12233(autoload (quote ibuffer-filters-to-filter-group) "ibuf-ext" "\ 
     12234Make the current filters into a filtering group. 
     12235 
     12236\(fn NAME)" t nil) 
     12237 
     12238(autoload (quote ibuffer-set-filter-groups-by-mode) "ibuf-ext" "\ 
     12239Set the current filter groups to filter by mode. 
     12240 
     12241\(fn)" t nil) 
     12242 
     12243(autoload (quote ibuffer-pop-filter-group) "ibuf-ext" "\ 
     12244Remove the first filter group. 
     12245 
     12246\(fn)" t nil) 
     12247 
     12248(autoload (quote ibuffer-decompose-filter-group) "ibuf-ext" "\ 
     12249Decompose the filter group GROUP into active filters. 
     12250 
     12251\(fn GROUP)" t nil) 
     12252 
     12253(autoload (quote ibuffer-clear-filter-groups) "ibuf-ext" "\ 
     12254Remove all filter groups. 
     12255 
     12256\(fn)" t nil) 
     12257 
     12258(autoload (quote ibuffer-jump-to-filter-group) "ibuf-ext" "\ 
     12259Move point to the filter group whose name is NAME. 
     12260 
     12261\(fn NAME)" t nil) 
     12262 
     12263(autoload (quote ibuffer-kill-filter-group) "ibuf-ext" "\ 
     12264Kill the filter group named NAME. 
     12265The group will be added to `ibuffer-filter-group-kill-ring'. 
     12266 
     12267\(fn NAME)" t nil) 
     12268 
     12269(autoload (quote ibuffer-kill-line) "ibuf-ext" "\ 
     12270Kill the filter group at point. 
     12271See also `ibuffer-kill-filter-group'. 
     12272 
     12273\(fn &optional ARG)" t nil) 
     12274 
     12275(autoload (quote ibuffer-yank) "ibuf-ext" "\ 
     12276Yank the last killed filter group before group at point. 
     12277 
     12278\(fn)" t nil) 
     12279 
     12280(autoload (quote ibuffer-yank-filter-group) "ibuf-ext" "\ 
     12281Yank the last killed filter group before group named NAME. 
     12282 
     12283\(fn NAME)" t nil) 
     12284 
     12285(autoload (quote ibuffer-save-filter-groups) "ibuf-ext" "\ 
     12286Save all active filter groups GROUPS as NAME. 
     12287They are added to `ibuffer-saved-filter-groups'.  Interactively, 
     12288prompt for NAME, and use the current filters. 
     12289 
     12290\(fn NAME GROUPS)" t nil) 
     12291 
     12292(autoload (quote ibuffer-delete-saved-filter-groups) "ibuf-ext" "\ 
     12293Delete saved filter groups with NAME. 
     12294They are removed from `ibuffer-saved-filter-groups'. 
     12295 
     12296\(fn NAME)" t nil) 
     12297 
     12298(autoload (quote ibuffer-switch-to-saved-filter-groups) "ibuf-ext" "\ 
     12299Set this buffer's filter groups to saved version with NAME. 
     12300The value from `ibuffer-saved-filters' is used. 
     12301If prefix argument ADD is non-nil, then add the saved filters instead 
     12302of replacing the current filters. 
     12303 
     12304\(fn NAME)" t nil) 
     12305 
     12306(autoload (quote ibuffer-filter-disable) "ibuf-ext" "\ 
     12307Disable all filters currently in effect in this buffer. 
     12308 
     12309\(fn)" t nil) 
     12310 
     12311(autoload (quote ibuffer-pop-filter) "ibuf-ext" "\ 
     12312Remove the top filter in this buffer. 
     12313 
     12314\(fn)" t nil) 
     12315 
     12316(autoload (quote ibuffer-decompose-filter) "ibuf-ext" "\ 
     12317Separate the top compound filter (OR, NOT, or SAVED) in this buffer. 
     12318 
     12319This means that the topmost filter on the filtering stack, which must 
     12320be a complex filter like (OR [name: foo] [mode: bar-mode]), will be 
     12321turned into two separate filters [name: foo] and [mode: bar-mode]. 
     12322 
     12323\(fn)" t nil) 
     12324 
     12325(autoload (quote ibuffer-exchange-filters) "ibuf-ext" "\ 
     12326Exchange the top two filters on the stack in this buffer. 
     12327 
     12328\(fn)" t nil) 
     12329 
     12330(autoload (quote ibuffer-negate-filter) "ibuf-ext" "\ 
     12331Negate the sense of the top filter in the current buffer. 
     12332 
     12333\(fn)" t nil) 
     12334 
     12335(autoload (quote ibuffer-or-filter) "ibuf-ext" "\ 
     12336Replace the top two filters in this buffer with their logical OR. 
     12337If optional argument REVERSE is non-nil, instead break the top OR 
     12338filter into parts. 
     12339 
     12340\(fn &optional REVERSE)" t nil) 
     12341 
     12342(autoload (quote ibuffer-save-filters) "ibuf-ext" "\ 
     12343Save FILTERS in this buffer with name NAME in `ibuffer-saved-filters'. 
     12344Interactively, prompt for NAME, and use the current filters. 
     12345 
     12346\(fn NAME FILTERS)" t nil) 
     12347 
     12348(autoload (quote ibuffer-delete-saved-filters) "ibuf-ext" "\ 
     12349Delete saved filters with NAME from `ibuffer-saved-filters'. 
     12350 
     12351\(fn NAME)" t nil) 
     12352 
     12353(autoload (quote ibuffer-add-saved-filters) "ibuf-ext" "\ 
     12354Add saved filters from `ibuffer-saved-filters' to this buffer's filters. 
     12355 
     12356\(fn NAME)" t nil) 
     12357 
     12358(autoload (quote ibuffer-switch-to-saved-filters) "ibuf-ext" "\ 
     12359Set this buffer's filters to filters with NAME from `ibuffer-saved-filters'. 
     12360If prefix argument ADD is non-nil, then add the saved filters instead 
     12361of replacing the current filters. 
     12362 
     12363\(fn NAME)" t nil) 
     12364 (autoload 'ibuffer-filter-by-mode "ibuf-ext.el") 
     12365 (autoload 'ibuffer-filter-by-used-mode "ibuf-ext.el") 
     12366 (autoload 'ibuffer-filter-by-name "ibuf-ext.el") 
     12367 (autoload 'ibuffer-filter-by-filename "ibuf-ext.el") 
     12368 (autoload 'ibuffer-filter-by-size-gt  "ibuf-ext.el") 
     12369 (autoload 'ibuffer-filter-by-size-lt  "ibuf-ext.el") 
     12370 (autoload 'ibuffer-filter-by-content "ibuf-ext.el") 
     12371 (autoload 'ibuffer-filter-by-predicate "ibuf-ext.el") 
     12372 
     12373(autoload (quote ibuffer-toggle-sorting-mode) "ibuf-ext" "\ 
     12374Toggle the current sorting mode. 
     12375Default sorting modes are: 
     12376 Recency - the last time the buffer was viewed 
     12377 Name - the name of the buffer 
     12378 Major Mode - the name of the major mode of the buffer 
     12379 Size - the size of the buffer 
     12380 
     12381\(fn)" t nil) 
     12382 
     12383(autoload (quote ibuffer-invert-sorting) "ibuf-ext" "\ 
     12384Toggle whether or not sorting is in reverse order. 
     12385 
     12386\(fn)" t nil) 
     12387 (autoload 'ibuffer-do-sort-by-major-mode "ibuf-ext.el") 
     12388 (autoload 'ibuffer-do-sort-by-mode-name "ibuf-ext.el") 
     12389 (autoload 'ibuffer-do-sort-by-alphabetic "ibuf-ext.el") 
     12390 (autoload 'ibuffer-do-sort-by-size "ibuf-ext.el") 
     12391 
     12392(autoload (quote ibuffer-bs-show) "ibuf-ext" "\ 
     12393Emulate `bs-show' from the bs.el package. 
     12394 
     12395\(fn)" t nil) 
     12396 
     12397(autoload (quote ibuffer-add-to-tmp-hide) "ibuf-ext" "\ 
     12398Add REGEXP to `ibuffer-tmp-hide-regexps'. 
     12399This means that buffers whose name matches REGEXP will not be shown 
     12400for this Ibuffer session. 
     12401 
     12402\(fn REGEXP)" t nil) 
     12403 
     12404(autoload (quote ibuffer-add-to-tmp-show) "ibuf-ext" "\ 
     12405Add REGEXP to `ibuffer-tmp-show-regexps'. 
     12406This means that buffers whose name matches REGEXP will always be shown 
     12407for this Ibuffer session. 
     12408 
     12409\(fn REGEXP)" t nil) 
     12410 
     12411(autoload (quote ibuffer-forward-next-marked) "ibuf-ext" "\ 
     12412Move forward by COUNT marked buffers (default 1). 
     12413 
     12414If MARK is non-nil, it should be a character denoting the type of mark 
     12415to move by.  The default is `ibuffer-marked-char'. 
     12416 
     12417If DIRECTION is non-nil, it should be an integer; negative integers 
     12418mean move backwards, non-negative integers mean move forwards. 
     12419 
     12420\(fn &optional COUNT MARK DIRECTION)" t nil) 
     12421 
     12422(autoload (quote ibuffer-backwards-next-marked) "ibuf-ext" "\ 
     12423Move backwards by COUNT marked buffers (default 1). 
     12424 
     12425If MARK is non-nil, it should be a character denoting the type of mark 
     12426to move by.  The default is `ibuffer-marked-char'. 
     12427 
     12428\(fn &optional COUNT MARK)" t nil) 
     12429 
     12430(autoload (quote ibuffer-do-kill-lines) "ibuf-ext" "\ 
     12431Hide all of the currently marked lines. 
     12432 
     12433\(fn)" t nil) 
     12434 
     12435(autoload (quote ibuffer-jump-to-buffer) "ibuf-ext" "\ 
     12436Move point to the buffer whose name is NAME. 
     12437 
     12438If called interactively, prompt for a buffer name and go to the 
     12439corresponding line in the Ibuffer buffer.  If said buffer is in a 
     12440hidden group filter, open it. 
     12441 
     12442If `ibuffer-jump-offer-only-visible-buffers' is non-nil, only offer 
     12443visible buffers in the completion list.  Calling the command with 
     12444a prefix argument reverses the meaning of that variable. 
     12445 
     12446\(fn NAME)" t nil) 
     12447 
     12448(autoload (quote ibuffer-diff-with-file) "ibuf-ext" "\ 
     12449View the differences between this buffer and its associated file. 
     12450This requires the external program \"diff\" to be in your `exec-path'. 
     12451 
     12452\(fn)" t nil) 
     12453 
     12454(autoload (quote ibuffer-copy-filename-as-kill) "ibuf-ext" "\ 
     12455Copy filenames of marked buffers into the kill ring. 
     12456 
     12457The names are separated by a space. 
     12458If a buffer has no filename, it is ignored. 
     12459 
     12460With no prefix arg, use the filename sans its directory of each marked file. 
     12461With a zero prefix arg, use the complete filename of each marked file. 
     12462With \\[universal-argument], use the filename of each marked file relative 
     12463to `ibuffer-default-directory' iff non-nil, otherwise `default-directory'. 
     12464 
     12465You can then feed the file name(s) to other commands with \\[yank]. 
     12466 
     12467\(fn &optional ARG)" t nil) 
     12468 
     12469(autoload (quote ibuffer-mark-by-name-regexp) "ibuf-ext" "\ 
     12470Mark all buffers whose name matches REGEXP. 
     12471 
     12472\(fn REGEXP)" t nil) 
     12473 
     12474(autoload (quote ibuffer-mark-by-mode-regexp) "ibuf-ext" "\ 
     12475Mark all buffers whose major mode matches REGEXP. 
     12476 
     12477\(fn REGEXP)" t nil) 
     12478 
     12479(autoload (quote ibuffer-mark-by-file-name-regexp) "ibuf-ext" "\ 
     12480Mark all buffers whose file name matches REGEXP. 
     12481 
     12482\(fn REGEXP)" t nil) 
     12483 
     12484(autoload (quote ibuffer-mark-by-mode) "ibuf-ext" "\ 
     12485Mark all buffers whose major mode equals MODE. 
     12486 
     12487\(fn MODE)" t nil) 
     12488 
     12489(autoload (quote ibuffer-mark-modified-buffers) "ibuf-ext" "\ 
     12490Mark all modified buffers. 
     12491 
     12492\(fn)" t nil) 
     12493 
     12494(autoload (quote ibuffer-mark-unsaved-buffers) "ibuf-ext" "\ 
     12495Mark all modified buffers that have an associated file. 
     12496 
     12497\(fn)" t nil) 
     12498 
     12499(autoload (quote ibuffer-mark-dissociated-buffers) "ibuf-ext" "\ 
     12500Mark all buffers whose associated file does not exist. 
     12501 
     12502\(fn)" t nil) 
     12503 
     12504(autoload (quote ibuffer-mark-help-buffers) "ibuf-ext" "\ 
     12505Mark buffers like *Help*, *Apropos*, *Info*. 
     12506 
     12507\(fn)" t nil) 
     12508 
     12509(autoload (quote ibuffer-mark-old-buffers) "ibuf-ext" "\ 
     12510Mark buffers which have not been viewed in `ibuffer-old-time' days. 
     12511 
     12512\(fn)" t nil) 
     12513 
     12514(autoload (quote ibuffer-mark-special-buffers) "ibuf-ext" "\ 
     12515Mark all buffers whose name begins and ends with '*'. 
     12516 
     12517\(fn)" t nil) 
     12518 
     12519(autoload (quote ibuffer-mark-read-only-buffers) "ibuf-ext" "\ 
     12520Mark all read-only buffers. 
     12521 
     12522\(fn)" t nil) 
     12523 
     12524(autoload (quote ibuffer-mark-dired-buffers) "ibuf-ext" "\ 
     12525Mark all `dired' buffers. 
     12526 
     12527\(fn)" t nil) 
     12528 
     12529(autoload (quote ibuffer-do-occur) "ibuf-ext" "\ 
     12530View lines which match REGEXP in all marked buffers. 
     12531Optional argument NLINES says how many lines of context to display: it 
     12532defaults to one. 
     12533 
     12534\(fn REGEXP &optional NLINES)" t nil) 
     12535 
     12536;;;*** 
     12537  
     12538;;;### (autoloads (define-ibuffer-filter define-ibuffer-op define-ibuffer-sorter 
     12539;;;;;;  define-ibuffer-column) "ibuf-macs" "ibuf-macs.el" (16543 
     12540;;;;;;  50739)) 
     12541;;; Generated autoloads from ibuf-macs.el 
     12542 
     12543(autoload (quote define-ibuffer-column) "ibuf-macs" "\ 
     12544Define a column SYMBOL for use with `ibuffer-formats'. 
     12545 
     12546BODY will be called with `buffer' bound to the buffer object, and 
     12547`mark' bound to the current mark on the buffer.  The original ibuffer 
     12548buffer will be bound to `ibuffer-buf'. 
     12549 
     12550If NAME is given, it will be used as a title for the column. 
     12551Otherwise, the title will default to a capitalized version of the 
     12552SYMBOL's name.  PROPS is a plist of additional properties to add to 
     12553the text, such as `mouse-face'.  And SUMMARIZER, if given, is a 
     12554function which will be passed a list of all the strings in its column; 
     12555it should return a string to display at the bottom. 
     12556 
     12557Note that this macro expands into a `defun' for a function named 
     12558ibuffer-make-column-NAME.  If INLINE is non-nil, then the form will be 
     12559inlined into the compiled format versions.  This means that if you 
     12560change its definition, you should explicitly call 
     12561`ibuffer-recompile-formats'. 
     12562 
     12563\(fn SYMBOL (&key NAME INLINE PROPS SUMMARIZER) &rest BODY)" nil (quote macro)) 
     12564 
     12565(autoload (quote define-ibuffer-sorter) "ibuf-macs" "\ 
     12566Define a method of sorting named NAME. 
     12567DOCUMENTATION is the documentation of the function, which will be called 
     12568`ibuffer-do-sort-by-NAME'. 
     12569DESCRIPTION is a short string describing the sorting method. 
     12570 
     12571For sorting, the forms in BODY will be evaluated with `a' bound to one 
     12572buffer object, and `b' bound to another.  BODY should return a non-nil 
     12573value if and only if `a' is \"less than\" `b'. 
     12574 
     12575\(fn NAME DOCUMENTATION (&key DESCRIPTION) &rest BODY)" nil (quote macro)) 
     12576 
     12577(autoload (quote define-ibuffer-op) "ibuf-macs" "\ 
     12578Generate a function which operates on a buffer. 
     12579OP becomes the name of the function; if it doesn't begin with 
     12580`ibuffer-do-', then that is prepended to it. 
     12581When an operation is performed, this function will be called once for 
     12582each marked buffer, with that buffer current. 
     12583 
     12584ARGS becomes the formal parameters of the function. 
     12585DOCUMENTATION becomes the docstring of the function. 
     12586INTERACTIVE becomes the interactive specification of the function. 
     12587MARK describes which type of mark (:deletion, or nil) this operation 
     12588uses.  :deletion means the function operates on buffers marked for 
     12589deletion, otherwise it acts on normally marked buffers. 
     12590MODIFIER-P describes how the function modifies buffers.  This is used 
     12591to set the modification flag of the Ibuffer buffer itself.  Valid 
     12592values are: 
     12593 nil - the function never modifiers buffers 
     12594 t - the function it always modifies buffers 
     12595 :maybe - attempt to discover this information by comparing the 
     12596  buffer's modification flag. 
     12597DANGEROUS is a boolean which should be set if the user should be 
     12598prompted before performing this operation. 
     12599OPSTRING is a string which will be displayed to the user after the 
     12600operation is complete, in the form: 
     12601 \"Operation complete; OPSTRING x buffers\" 
     12602ACTIVE-OPSTRING is a string which will be displayed to the user in a 
     12603confirmation message, in the form: 
     12604 \"Really ACTIVE-OPSTRING x buffers?\" 
     12605COMPLEX means this function is special; see the source code of this 
     12606macro for exactly what it does. 
     12607 
     12608\(fn OP ARGS DOCUMENTATION (&key INTERACTIVE MARK MODIFIER-P DANGEROUS OPSTRING ACTIVE-OPSTRING COMPLEX) &rest BODY)" nil (quote macro)) 
     12609 
     12610(autoload (quote define-ibuffer-filter) "ibuf-macs" "\ 
     12611Define a filter named NAME. 
     12612DOCUMENTATION is the documentation of the function. 
     12613READER is a form which should read a qualifier from the user. 
     12614DESCRIPTION is a short string describing the filter. 
     12615 
     12616BODY should contain forms which will be evaluated to test whether or 
     12617not a particular buffer should be displayed or not.  The forms in BODY 
     12618will be evaluated with BUF bound to the buffer object, and QUALIFIER 
     12619bound to the current value of the filter. 
     12620 
     12621\(fn NAME DOCUMENTATION (&key READER DESCRIPTION) &rest BODY)" nil (quote macro)) 
     12622 
     12623;;;*** 
     12624  
     12625;;;### (autoloads (ibuffer ibuffer-other-window ibuffer-list-buffers) 
     12626;;;;;;  "ibuffer" "ibuffer.el" (16754 46317)) 
     12627;;; Generated autoloads from ibuffer.el 
     12628 
     12629(autoload (quote ibuffer-list-buffers) "ibuffer" "\ 
     12630Display a list of buffers, in another window. 
     12631If optional argument FILES-ONLY is non-nil, then add a filter for 
     12632buffers which are visiting a file. 
     12633 
     12634\(fn &optional FILES-ONLY)" t nil) 
     12635 
     12636(autoload (quote ibuffer-other-window) "ibuffer" "\ 
     12637Like `ibuffer', but displayed in another window by default. 
     12638If optional argument FILES-ONLY is non-nil, then add a filter for 
     12639buffers which are visiting a file. 
     12640 
     12641\(fn &optional FILES-ONLY)" t nil) 
     12642 
     12643(autoload (quote ibuffer) "ibuffer" "\ 
     12644Begin using `ibuffer' to edit a list of buffers. 
     12645Type 'h' after entering ibuffer for more information. 
     12646 
     12647Optional argument OTHER-WINDOW-P says to use another window. 
     12648Optional argument NAME specifies the name of the buffer; it defaults 
     12649to \"*Ibuffer*\". 
     12650Optional argument QUALIFIERS is an initial set of filtering qualifiers 
     12651to use; see `ibuffer-filtering-qualifiers'. 
     12652Optional argument NOSELECT means don't select the Ibuffer buffer. 
     12653Optional argument SHRINK means shrink the buffer to minimal size.  The 
     12654special value `onewindow' means always use another window. 
     12655Optional argument FILTER-GROUPS is an initial set of filtering 
     12656groups to use; see `ibuffer-filter-groups'. 
     12657Optional argument FORMATS is the value to use for `ibuffer-formats'. 
     12658If specified, then the variable `ibuffer-formats' will have that value 
     12659locally in this buffer. 
     12660 
     12661\(fn &optional OTHER-WINDOW-P NAME QUALIFIERS NOSELECT SHRINK FILTER-GROUPS FORMATS)" t nil) 
    1215412662 
    1215512663;;;*** 
     
    2788728395;;;;;;  "url/url-expand.el" "url/url-ftp.el" "url/url-https.el" "url/url-imap.el" 
    2788828396;;;;;;  "url/url-methods.el" "url/url-nfs.el" "url/url-proxy.el" 
    27889 ;;;;;;  "url/url-vars.el" "url/vc-dav.el") (16782 13327 625000)) 
     28397;;;;;;  "url/url-vars.el" "url/vc-dav.el") (16784 48045 258000)) 
    2789028398 
    2789128399;;;*** 
  • branches/2.2/src/ChangeLog.Meadow

    r3535 r3537  
     12004-11-09  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * alloc.c (PDUMP_SUBR_DOC_SIZE): Increased. 
     4 
     5        * emacs.c: Partially sync up with Emacs CVS HEAD. 
     6 
    172004-11-08  Masayuki FUJII  <boochang@m4.kcn.ne.jp> 
    28 
  • branches/2.2/src/alloc.c

    r3531 r3537  
    55135513#endif 
    55145514#define PDUMP_POINTERS_SIZE 127 
    5515 #define PDUMP_SUBR_DOC_SIZE 104
     5515#define PDUMP_SUBR_DOC_SIZE 105
    55165516#define PDUMP_INTERVAL_TREE_SIZE 31 
    55175517#define PDUMP_HASH_TABLE_SIZE 5 /* for Lisp_Hash_Table */ 
  • branches/2.2/src/emacs.c

    r3532 r3537  
    4141#endif 
    4242 
     43#ifdef WINDOWSNT 
     44#include <fcntl.h> 
     45#endif 
     46 
    4347#include "lisp.h" 
    4448#include "commands.h" 
    4549#include "intervals.h" 
    4650#include "buffer.h" 
     51#include "window.h" 
    4752 
    4853#include "systty.h" 
     
    5257#include "termhooks.h" 
    5358#include "keyboard.h" 
     59#include "keymap.h" 
    5460 
    5561#ifdef HAVE_SETLOCALE 
     
    8187/* Make these values available in GDB, which doesn't see macros.  */ 
    8288 
     89#ifdef USE_LSB_TAG 
     90int gdb_use_lsb = 1; 
     91#else 
     92int gdb_use_lsb = 0; 
     93#endif 
     94#ifdef NO_UNION_TYPE 
     95int gdb_use_union = 0; 
     96#else 
     97int gdb_use_union = 1; 
     98#endif 
    8399EMACS_INT gdb_valbits = VALBITS; 
    84100EMACS_INT gdb_gctypebits = GCTYPEBITS; 
    85 EMACS_INT gdb_emacs_intbits = sizeof (EMACS_INT) * BOOL_VECTOR_BITS_PER_CHAR; 
    86101#ifdef DATA_SEG_BITS 
    87102EMACS_INT gdb_data_seg_bits = DATA_SEG_BITS; 
    88103#else 
    89 EMACS_INT gdb_data_seg_bits = 0; 
     104EMACS_INT gdb_data_seg_bits = 0; 
    90105#endif 
    91106EMACS_INT PVEC_FLAG = PSEUDOVECTOR_FLAG; 
    92107 
    93 /* Command line args from shell, as list of strings */ 
     108/* Command line args from shell, as list of strings. */ 
    94109Lisp_Object Vcommand_line_args; 
    95110 
     
    110125/* An empty lisp string.  To avoid having to build any other.  */ 
    111126Lisp_Object empty_string; 
    112  
    113 #ifdef SIGUSR1 
    114 /* Hooks for signal USR1 and USR2 handing */ 
    115 Lisp_Object Vsignal_USR1_hook; 
    116 #ifdef SIGUSR2 
    117 Lisp_Object Vsignal_USR2_hook; 
    118 #endif 
    119 #endif 
    120127 
    121128/* Search path separator.  */ 
     
    158165Lisp_Object Vprevious_system_time_locale; 
    159166 
    160 /* If non-zero, emacs should not attempt to use an window-specific code, 
    161    but instead should use the virtual terminal under which it was started */ 
     167/* If non-zero, emacs should not attempt to use a window-specific code, 
     168   but instead should use the virtual terminal under which it was started. */ 
    162169int inhibit_window_system; 
    163170 
    164171/* If nonzero, set Emacs to run at this priority.  This is also used 
    165172   in child_setup and sys_suspend to make sure subshells run at normal 
    166    priority; Those functions have their own extern declaration.  */ 
    167 int emacs_priority; 
    168  
    169 /* If non-zero a filter or a sentinel is running.  Tested to save the match 
    170    data on the first attempt to change it inside asynchronous code. */ 
     173   priority; those functions have their own extern declaration.  */ 
     174EMACS_INT emacs_priority; 
     175 
     176/* If non-zero, a filter or a sentinel is running.  Tested to save the match 
     177   data on the first attempt to change it inside asynchronous code. */ 
    171178int running_asynch_code; 
    172179 
     
    177184 
    178185#ifdef HAVE_X_WINDOWS 
    179 /* If non-zero, -d was specified, meaning we're using some window system. */ 
     186/* If non-zero, -d was specified, meaning we're using some window system. */ 
    180187int display_arg; 
    181188#endif 
     
    215222void syms_of_emacs (); 
    216223 
     224/* MSVC needs each string be shorter than 2048 bytes, so the usage 
     225   strings below are split to not overflow this limit.  */ 
    217226#define USAGE1 "\ 
    218227Usage: %s [OPTION-OR-FILENAME]...\n\ 
     
    290299 
    291300  
    292 /* Signal code for the fatal signal that was received */ 
     301/* Signal code for the fatal signal that was received. */ 
    293302int fatal_error_code; 
    294303 
    295 /* Nonzero if handling a fatal error already */ 
     304/* Nonzero if handling a fatal error already. */ 
    296305int fatal_error_in_progress; 
    297306 
     
    327336#endif /* SIGUSR2 */ 
    328337 
    329 /* Handle bus errors, invalid instruction, etc. */ 
     338/* Handle bus errors, invalid instruction, etc. */ 
    330339SIGTYPE 
    331340fatal_error_signal (sig) 
     
    377386/* We define abort, rather than using it from the library, 
    378387   so that GDB can return from a breakpoint here. 
    379    MSDOS has its own definition on msdos.c  */ 
     388   MSDOS has its own definition in msdos.c.  */ 
    380389 
    381390#if ! defined (DOS_NT) && ! defined (NO_ABORT) 
     
    395404 
    396405  
    397 /* Code for dealing with Lisp access to the Unix command line */ 
     406/* Code for dealing with Lisp access to the Unix command line. */ 
    398407 
    399408static void 
     
    405414  register int i; 
    406415  Lisp_Object name, dir, tem; 
    407   int count = specpdl_ptr - specpdl
     416  int count = SPECPDL_INDEX ()
    408417  Lisp_Object raw_name; 
    409418 
     
    539548       doc: /* Return the program name that was used to run Emacs. 
    540549Any directory names are omitted.  */) 
    541   () 
     550     () 
    542551{ 
    543552  return Fcopy_sequence (Vinvocation_name); 
     
    547556       0, 0, 0, 
    548557       doc: /* Return the directory name in which the Emacs executable was located.  */) 
    549   () 
     558     () 
    550559{ 
    551560  return Fcopy_sequence (Vinvocation_directory); 
     
    580589void __do_global_dtors () 
    581590{} 
    582 /* Linux has a bug in its library; avoid an error.  */ 
    583 #ifndef LINUX 
     591/* GNU/Linux has a bug in its library; avoid an error.  */ 
     592#ifndef GNU_LINUX 
    584593char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; 
    585594#endif 
     
    726735} 
    727736 
     737 
    728738/* ARGSUSED */ 
    729739int 
    730 main (argc, argv, envp) 
     740main (argc, argv 
     741#ifdef VMS 
     742, envp 
     743#endif 
     744
    731745     int argc; 
    732746     char **argv; 
     747#ifdef VMS 
    733748     char **envp; 
     749#endif 
    734750{ 
    735751#if GC_MARK_STACK 
     
    816832 
    817833#ifdef VMS 
    818   /* If -map specified, map the data file in */ 
     834  /* If -map specified, map the data file in. */ 
    819835  { 
    820836    char *file; 
     
    825841#ifdef LINK_CRTL_SHARE 
    826842#ifdef SHARABLE_LIB_BUG 
    827   /* Bletcherous shared libraries! */ 
     843  /* Bletcherous shared libraries! */ 
    828844  if (!stdin) 
    829845    stdin = fdopen (0, "r"); 
     
    953969#endif 
    954970 
    955   /* Handle the -t switch, which specifies filename to use as terminal */ 
     971  /* Handle the -t switch, which specifies filename to use as terminal. */ 
    956972  while (1) 
    957973    { 
     
    966982            { 
    967983              char *errstring = strerror (errno); 
    968               fprintf (stderr, "emacs: %s: %s\n", term, errstring); 
     984              fprintf (stderr, "%s: %s: %s\n", argv[0], term, errstring); 
    969985              exit (1); 
    970986            } 
     
    972988          if (! isatty (0)) 
    973989            { 
    974               fprintf (stderr, "emacs: %s: not a tty\n", term); 
     990              fprintf (stderr, "%s: %s: not a tty\n", argv[0], term); 
    975991              exit (1); 
    976992            } 
     
    9841000    } 
    9851001 
     1002  /* Command line option --no-windows is deprecated and thus not mentioned 
     1003     in the manual and usage informations.  */ 
    9861004  if (argmatch (argv, argc, "-nw", "--no-windows", 6, NULL, &skip_args)) 
    9871005    inhibit_window_system = 1; 
     
    9921010    noninteractive = 1; 
    9931011 
    994   /* Handle the --help option, which gives a usage message..  */ 
     1012  /* Handle the --help option, which gives a usage message.  */ 
    9951013  if (argmatch (argv, argc, "-help", "--help", 3, NULL, &skip_args)) 
    9961014    { 
     
    11181136  noninteractive1 = noninteractive; 
    11191137 
    1120 /* Perform basic initializations (not merely interning symbols) */ 
     1138/* Perform basic initializations (not merely interning symbols). */ 
    11211139 
    11221140#ifdef MEADOW 
     
    11351153      init_syntax_once ();      /* Create standard syntax table.  */ 
    11361154      init_category_once ();    /* Create standard category table.  */ 
    1137                       /* Must be done before init_buffer */ 
     1155                      /* Must be done before init_buffer. */ 
    11381156      init_casetab_once (); 
    1139       init_buffer_once ();      /* Create buffer table and some buffers */ 
    1140       init_minibuf_once ();     /* Create list of minibuffers */ 
    1141                                 /* Must precede init_window_once */ 
     1157      init_buffer_once ();      /* Create buffer table and some buffers. */ 
     1158      init_minibuf_once ();     /* Create list of minibuffers. */ 
     1159                                /* Must precede init_window_once. */ 
    11421160 
    11431161      /* Call syms_of_xfaces before init_window_once because that 
     
    11521170      syms_of_keyboard (); 
    11531171 
    1154 #ifdef macintosh 
     1172#ifdef MAC_OS8 
    11551173      /* init_window_once calls make_terminal_frame which on Mac OS 
    11561174         creates a full-fledge output_mac type frame.  This does not 
    11571175         work correctly before syms_of_textprop, syms_of_macfns, 
    11581176         syms_of_ccl, syms_of_fontset, syms_of_xterm, syms_of_search, 
    1159          syms_of_frame, x_term_init, and init_keyboard have already 
     1177         syms_of_frame, mac_initialize, and init_keyboard have already 
    11601178         been called.  */ 
    11611179      syms_of_textprop (); 
     
    11691187      syms_of_frame (); 
    11701188 
    1171       x_term_init (); 
     1189      mac_initialize (); 
    11721190      init_keyboard (); 
    11731191#endif 
     
    12461264         unibyte during startup if .emacs sets unibyte.  Tested with 
    12471265         8-bit data in environment variables and /etc/passwd, setting 
    1248          unibyte and Latin-1 in .emacs. -- Dave Love */ 
     1266         unibyte and Latin-1 in .emacs. -- Dave Love */ 
    12491267      if (argmatch (argv, argc, "-unibyte", "--unibyte", 4, NULL, &skip_args) 
    12501268          || argmatch (argv, argc, "-no-multibyte", "--no-multibyte", 4, NULL, &skip_args) 
     
    13691387#endif 
    13701388 
    1371   init_buffer ();       /* Init default directory of main buffer */ 
     1389  init_buffer ();       /* Init default directory of main buffer. */ 
    13721390 
    13731391  init_callproc_1 ();   /* Must precede init_cmdargs and init_sys_modes.  */ 
     
    13761394  if (initialized) 
    13771395    { 
    1378       /* Erase any pre-dump messages in the message log, to avoid confusion */ 
     1396      /* Erase any pre-dump messages in the message log, to avoid confusion. */ 
    13791397      Lisp_Object old_log_max; 
    13801398      old_log_max = Vmessage_log_max; 
     
    13921410  if (!initialized) 
    13931411    { 
    1394       /* The basic levels of Lisp must come first */ 
     1412      /* The basic levels of Lisp must come first. */ 
    13951413      /* And data must come first of all 
    1396          for the sake of symbols like error-message */ 
    1397 #ifndef macintosh 
    1398       /* Called before init_window_once for Mac OS.  */ 
     1414         for the sake of symbols like error-message. */ 
     1415#ifndef MAC_OS8 
     1416      /* Called before init_window_once for Mac OS Classic.  */ 
    13991417      syms_of_data (); 
    14001418#endif 
     
    14141432      syms_of_callproc (); 
    14151433      syms_of_category (); 
    1416 #ifndef macintosh 
    1417       /* Called before init_window_once for Mac OS.  */ 
     1434#ifndef MAC_OS8 
     1435      /* Called before init_window_once for Mac OS Classic.  */ 
    14181436      syms_of_ccl (); 
    14191437#endif 
     
    14391457      syms_of_minibuf (); 
    14401458      syms_of_process (); 
    1441 #ifndef macintosh 
    1442       /* Called before init_window_once for Mac OS.  */ 
     1459#ifndef MAC_OS8 
     1460      /* Called before init_window_once for Mac OS Classic.  */ 
    14431461      syms_of_search (); 
    14441462      syms_of_frame (); 
     
    14501468      syms_of_sound (); 
    14511469#endif 
    1452 #ifndef macintosh 
    1453       /* Called before init_window_once for Mac OS.  */ 
     1470#ifndef MAC_OS8 
     1471      /* Called before init_window_once for Mac OS Classic.  */ 
    14541472      syms_of_textprop (); 
    14551473#endif 
     
    14761494#endif /* HAVE_X_WINDOWS */ 
    14771495 
     1496#ifdef HAVE_MENUS 
    14781497#ifndef HAVE_NTGUI 
    1479 #ifndef macintosh 
     1498#ifndef MAC_OS 
     1499      /* Called before init_window_once for Mac OS Classic.  */ 
    14801500      syms_of_xmenu (); 
     1501#endif 
    14811502#endif 
    14821503#endif 
     
    15701591    { 
    15711592#ifdef VMS 
    1572       init_vms_input ();/* init_display calls get_frame_size, that needs this */ 
     1593      init_vms_input ();/* init_display calls get_frame_size, that needs this. */ 
    15731594#endif /* VMS */ 
    1574       init_display ();  /* Determine terminal type.  init_sys_modes uses results */ 
    1575     } 
    1576 #ifndef macintosh 
    1577   /* Called before init_window_once for Mac OS.  */ 
    1578   init_keyboard ();     /* This too must precede init_sys_modes */ 
     1595      init_display ();  /* Determine terminal type.  init_sys_modes uses results. */ 
     1596    } 
     1597#ifndef MAC_OS8 
     1598  /* Called before init_window_once for Mac OS Classic.  */ 
     1599  init_keyboard ();     /* This too must precede init_sys_modes. */ 
    15791600#endif 
    15801601#ifdef VMS 
    1581   init_vmsproc ();      /* And this too. */ 
     1602  init_vmsproc ();      /* And this too. */ 
    15821603#endif /* VMS */ 
    15831604  init_sys_modes ();    /* Init system terminal modes (RAW or CBREAK, etc.) */ 
     
    16101631    { 
    16111632      char *file; 
    1612       /* Handle -l loadup, args passed by Makefile. */ 
     1633      /* Handle -l loadup, args passed by Makefile. */ 
    16131634      if (argmatch (argv, argc, "-l", "--load", 3, &file, &skip_args)) 
    16141635        Vtop_level = Fcons (intern ("load"), 
     
    16501671     GNU/Linux.  It might work on some other systems too.  Give it a 
    16511672     try and tell us if it works on your system.  To compile for 
    1652      profiling use something like `make CFLAGS="-pg -g -O -DPROFILING=1'. */ 
     1673     profiling use something like `make CFLAGS="-pg -g -O -DPROFILING=1'. */ 
    16531674#if defined (__FreeBSD__) || defined (__linux) 
    16541675#ifdef PROFILING 
     
    16791700     called to bolt the undumping time into the undumped emacs, this 
    16801701     results in localtime ignoring the TZ environment variable. 
    1681      This flushes the new TZ value into localtime. */ 
     1702     This flushes the new TZ value into localtime. */ 
    16821703  tzset (); 
    16831704#endif /* defined (LOCALTIME_CACHE) */ 
     
    19491970       doc: /* Exit the Emacs job and kill it. 
    19501971If ARG is an integer, return ARG as the exit program code. 
    1951 If ARG is a  string, stuff it as keyboard input.n\ 
     1972If ARG is a  string, stuff it as keyboard input. 
     1973 
    19521974The value of `kill-emacs-hook', if not void, 
    19531975is a list of functions (of no args), 
    19541976all of which are called before Emacs is actually killed.  */) 
    1955   (arg) 
     1977     (arg) 
    19561978     Lisp_Object arg; 
    19571979{ 
     
    19802002     Do it after shut_down_emacs, which does an auto-save.  */ 
    19812003  if (STRINGP (Vauto_save_list_file_name)) 
    1982     unlink (XSTRING (Vauto_save_list_file_name)->data); 
     2004    unlink (SDATA (Vauto_save_list_file_name)); 
    19832005 
    19842006#ifdef PDUMP 
     
    20282050        reset_sys_modes (); 
    20292051        if (sig && sig != SIGTERM) 
    2030           fprintf (stderr, "Fatal error (%d).", sig); 
     2052          fprintf (stderr, "Fatal error (%d)", sig); 
    20312053      } 
    20322054  } 
     
    20932115       doc: /* Dump current state of Emacs into data file FILENAME. 
    20942116This function exists on systems that use HAVE_SHM.  */) 
    2095   (filename) 
     2117     (filename) 
    20962118     Lisp_Object filename; 
    20972119{ 
     
    21062128 
    21072129  fflush (stdout); 
    2108   /* Tell malloc where start of impure now is */ 
     2130  /* Tell malloc where start of impure now is. */ 
    21092131  /* Also arrange for warnings when nearly out of space.  */ 
    21102132#ifndef SYSTEM_MALLOC 
    21112133  memory_warnings (my_edata, malloc_warning); 
    21122134#endif 
    2113   map_out_data (XSTRING (filename)->data); 
     2135  map_out_data (SDATA (filename)); 
    21142136 
    21152137  Vpurify_flag = tem; 
     
    21262148 
    21272149You must run Emacs in batch mode in order to dump it.  */) 
    2128   (filename, symfile) 
     2150     (filename, symfile) 
    21292151<