;ELC ;;; Compiled by cyd@localhost on Mon Apr 23 22:20:57 2007 ;;; from file /home/cyd/emacs/lisp/log-edit.el ;;; in Emacs version 22.0.99 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. (if (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19.29"))) (error "`log-edit.el' was compiled for Emacs 19.29 or later")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\310\312\313\314\315\316& \207" [require add-log pcvs-util ring custom-declare-group log-edit nil "Major mode for editing RCS and CVS commit messages." :group pcl-cvs vc :version "21.1" :prefix "log-edit-"] 12) #@72 Keymap for the `log-edit-mode' (to edit version control log messages). (defconst log-edit-mode-map (byte-code "\301\302\303\304\300!\205\n\305\306D$\207" [log-edit-mode-map easy-mmode-define-keymap (("" . log-edit-done) ("" . log-edit-insert-changelog) ("" . log-edit-show-files) ("\356" . log-edit-next-comment) ("\360" . log-edit-previous-comment) ("\362" . log-edit-comment-search-backward) ("\363" . log-edit-comment-search-forward) ("?" . log-edit-mode-help)) nil boundp :group log-edit] 6) (#$ . 849)) (byte-code "\302B\303\302!\204\304\302 \"\210\305B\303\305!\204\304\305\n\"\210\302\207" [current-load-list log-edit-mode-map vc-log-mode-map default-boundp set-default vc-log-entry-mode] 3) #@32 Menu used for `log-edit-mode'. (defvar log-edit-menu nil (#$ . 1571)) (easy-menu-do-define 'log-edit-menu log-edit-mode-map "Menu used for `log-edit-mode'." '("Log-Edit" ["Done" log-edit-done :help "Exit log-edit and proceed with the actual action."] "--" ["Insert ChangeLog" log-edit-insert-changelog] ["Add to ChangeLog" log-edit-add-to-changelog] "--" ["List files" log-edit-show-files :help "Show the list of relevant files."] "--" ["Previous comment" log-edit-previous-comment] ["Next comment" log-edit-next-comment] ["Search comment forward" log-edit-comment-search-forward] ["Search comment backward" log-edit-comment-search-backward])) #@176 *If non-nil, `log-edit-done' will request confirmation. If 'changed, only request confirmation if the list of files has changed since the beginning of the log-edit session. (custom-declare-variable 'log-edit-confirm ''changed '(#$ . -2222) :group 'log-edit :type '(choice (const changed) (const t) (const nil))) #@59 *If non-nil, don't hide the buffer after `log-edit-done'. (custom-declare-variable 'log-edit-keep-buffer 'nil '(#$ . -2542) :group 'log-edit :type 'boolean) (byte-code "\301B\302\301!\204\303\301\304\"\210\305\301\306\"\207" [current-load-list cvs-commit-buffer-require-final-newline default-boundp set-default t make-obsolete-variable log-edit-require-final-newline] 3) #@128 *Enforce a newline at the end of commit log messages. Enforce it silently if t, query if non-nil and don't do anything if nil. (custom-declare-variable 'log-edit-require-final-newline 'cvs-commit-buffer-require-final-newline '(#$ . -2924) :group 'log-edit :type '(choice (const ask) (const t) (const nil))) #@120 *Non-nil means `log-edit' should invert the meaning of its SETUP arg. If SETUP is 'force, this variable has no effect. (custom-declare-variable 'log-edit-setup-invert 'nil '(#$ . -3238) :group 'log-edit :type 'boolean) #@37 *Hook run at the end of `log-edit'. (custom-declare-variable 'log-edit-hook ''(log-edit-insert-cvs-template log-edit-insert-changelog) '(#$ . -3463) :group 'log-edit :type '(hook :options (log-edit-insert-changelog log-edit-insert-cvs-rcstemplate log-edit-insert-cvs-template log-edit-insert-filenames))) #@42 *Hook run when entering `log-edit-mode'. (custom-declare-variable 'log-edit-mode-hook '(if (boundp 'vc-log-mode-hook) vc-log-mode-hook) '(#$ . -3774) :group 'log-edit :type 'hook) #@287 *Hook run before doing the actual commit. This hook can be used to cleanup the message, enforce various conventions, or to allow recording the message in some other database, such as a bug-tracking system. The list of files about to be committed can be obtained from `log-edit-files'. (custom-declare-variable 'log-edit-done-hook 'nil '(#$ . -3961) :group 'log-edit :type '(hook :options (log-edit-set-common-indentation log-edit-add-to-changelog))) (byte-code "\301B\302\301!\204\303\301\304\"\210\305\301\306\"\207" [current-load-list cvs-changelog-full-paragraphs default-boundp set-default t make-obsolete-variable log-edit-changelog-full-paragraphs] 3) #@956 *If non-nil, include full ChangeLog paragraphs in the log. This may be set in the ``local variables'' section of a ChangeLog, to indicate the policy for that ChangeLog. A ChangeLog paragraph is a bunch of log text containing no blank lines; a paragraph usually describes a set of changes with a single purpose, but perhaps spanning several functions in several files. Changes in different paragraphs are unrelated. You could argue that the log entry for a file should contain the full ChangeLog paragraph mentioning the change to the file, even though it may mention other files, because that gives you the full context you need to understand the change. This is the behavior you get when this variable is set to t. On the other hand, you could argue that the log entry for a change should contain only the text for the changes which occurred in that file, because the log is per-file. This is the behavior you get when this variable is set to nil. (defvar log-edit-changelog-full-paragraphs cvs-changelog-full-paragraphs (#$ . -4631)) (byte-code "\301B\302\303!\210\304B\305\304!\204\306\304\307\"\210\310B\305\310!\204&\306\310\307\"\210\311B\305\311!\2045\306\311\307\"\210\312B\305\312!\204D\306\312\307\"\210\307\207" [current-load-list log-edit-files-buf (lambda (#1=#:defconst-tmp-var) (defconst log-edit-files-buf #1#)) "*log-edit-files*" log-edit-initial-files default-boundp set-default nil log-edit-callback log-edit-listfun log-edit-parent-buffer] 3) #@55 Maximum number of saved comments in the comment ring. (defconst log-edit-maximum-comment-ring-size 32 (#$ . 6121)) (byte-code "\302B\303\302!\204\304\302\305 !\"\210\306B\303\306!\204 \304\306\307\"\210\310B\303\310!\204/\304\310\311\"\210\307\207" [current-load-list log-edit-maximum-comment-ring-size log-edit-comment-ring default-boundp set-default make-ring log-edit-comment-ring-index nil log-edit-last-comment-match ""] 4) #@110 Return the comment index STRIDE elements from the current one. LEN is the length of `log-edit-comment-ring'. (defalias 'log-edit-new-comment-index #[(stride len) "\303\203  \\\202 \304V\203 S\202 \n\"\207" [log-edit-comment-ring-index stride len mod 0] 3 (#$ . 6567)]) #@91 Cycle backwards through comment history. With a numeric prefix ARG, go back ARG comments. (defalias 'log-edit-previous-comment #[(arg) "\304!\211\305X\203\306\307!\210\310 \202'ed|\210\311\n \"\306\312 T\"\210\313 \"c)\207" [log-edit-comment-ring len arg log-edit-comment-ring-index ring-length 0 message "Empty comment ring" ding log-edit-new-comment-index "Comment %d" ring-ref] 4 (#$ . 6851) "*p"]) #@93 Cycle forwards through comment history. With a numeric prefix ARG, go forward ARG comments. (defalias 'log-edit-next-comment #[(arg) "\301[!\207" [arg log-edit-previous-comment] 2 (#$ . 7266) "*p"]) #@179 Search backwards through comment history for substring match of STR. If the optional argument STRIDE is present, that is a step-width to use when going through the comment ring. (defalias 'log-edit-comment-search-backward #[(str &optional stride) "\204\306 \307\230\203\n\202 \310 !\311 !\312\f\"\211\fY\204, \313W\2030\314\315!\210\316 \317 \"\"\204B \\\211\202! \320\313!+\207" [stride str log-edit-last-comment-match log-edit-comment-ring len n 1 "" regexp-quote ring-length log-edit-new-comment-index 0 error "Not found" string-match ring-ref log-edit-previous-comment log-edit-comment-ring-index] 6 (#$ . 7473) (list (read-string "Comment substring: " nil nil log-edit-last-comment-match))]) #@71 Search forwards through comment history for a substring match of STR. (defalias 'log-edit-comment-search-forward #[(str) "\301\302\"\207" [str log-edit-comment-search-backward -1] 3 (#$ . 8199) (list (read-string "Comment substring: " nil nil log-edit-last-comment-match))]) #@305 Enter last VC comment into the change log for the current file. WHOAMI (interactive prefix) non-nil means prompt for user name and site. FILE-NAME is the name of the change log; if nil, use `change-log-default-name'. This may be useful as a `log-edit-checkin-hook' to update change logs automatically. (defalias 'log-edit-comment-to-change-log #[(&optional whoami file-name) "\306\307\"\310\311\312\f \313\211$\210\212 c\210\314 )\315\316!\203\"\317\320!\210\321 \210\322 \212` W\203:\323y\210j\210\202*`*\324P\325 \210\326` \"\210)\327\330 \"\210\317\331\330![!\210m\206d\315\332!\206d\333c+\207" [log-edit-comment-ring end add-log-current-defun-function comment whoami file-name ring-ref 0 ignore nil add-change-log-entry t point-marker looking-at "\\s *\\s(" delete-char -2 just-one-space current-indentation 1 "\\|\\s *\\s(" beginning-of-line fill-region skip-syntax-forward " " skip-syntax-backward "\n\n" "\n" indentation paragraph-start] 5 (#$ . 8482) (byte-code "\205\301 D\207" [current-prefix-arg prompt-for-change-log-name] 2)]) (byte-code "\301\302\303\304#\210\305\302\303\306#\210\301\307\310\304#\210\305\307\310\306#\210\311\312\313\304#\210\314\312\313\306#\210\311\315\316\304#\210\314\315\316\306#\210\311\317\320\304#\210\314\317\320\306#\210\311\321\322\304#\210\314\321\322\306#\210\311\323\324\304#\210\314\323\324\306#\210\325B\326\325!\204c\327\325\330\"\210\304\207" [current-load-list defvaralias vc-comment-ring log-edit-comment-ring nil make-obsolete-variable "22.1" vc-comment-ring-index log-edit-comment-ring-index defalias vc-previous-comment log-edit-previous-comment make-obsolete vc-next-comment log-edit-next-comment vc-comment-search-reverse log-edit-comment-search-backward vc-comment-search-forward log-edit-comment-search-forward vc-comment-to-change-log log-edit-comment-to-change-log log-edit-font-lock-keywords default-boundp set-default (("\\`\\(Summary:\\)\\(.*\\)" (1 font-lock-keyword-face) (2 font-lock-function-name-face)))] 4) #@796 Setup a buffer to enter a log message. \The buffer will be put in `log-edit-mode'. If SETUP is non-nil, the buffer is then erased and `log-edit-hook' is run. Mark and point will be set around the entire contents of the buffer so that it is easy to kill the contents of the buffer with \[kill-region]. Once you're done editing the message, pressing \[log-edit-done] will call `log-edit-done' which will end up calling CALLBACK to do the actual commit. LISTFUN if non-nil is a function of no arguments returning the list of files that are concerned by the current operation (using relative names). If BUFFER is non-nil `log-edit' will jump to that buffer, use it to edit the log message and go back to the current buffer when done. Otherwise, it uses the current buffer. (defalias 'log-edit #[(callback &optional setup listfun buffer &rest ignore) "p \203\n\306 !\210\n\203 \307=\204 ? \203\310 \210\311 \210\312\305!\210\f\312\313!\210 \203:\312\314!\210\f\312\315!\210\316  \203J\317\320!\210eb\210\321d!\210\322\323\324\325!\")\207" [parent buffer log-edit-setup-invert setup callback log-edit-callback pop-to-buffer force erase-buffer log-edit-mode make-local-variable log-edit-listfun log-edit-parent-buffer log-edit-initial-files log-edit-files run-hooks log-edit-hook push-mark message "%s" substitute-command-keys "Press \\[log-edit-done] when you are done editing." listfun] 4 (#$ . 10494)]) (byte-code "\302\303N\204\f\304\302\303\305#\210\306\307!\204\304\307\310\311#\210\307B\312\307!\204(\313\307\314 \"\210\306\315!\2044\304\315\310\311#\210\315B\312\315!\204D\313\315\316 \"\210\304\301\310\311#\210\301B\312\301!\204^\313\301\317\301\320\"\210 \"\210\304\311\321\322#\207" [current-load-list log-edit-mode-abbrev-table log-edit-mode-hook variable-documentation put "Hook run when entering Log-Edit mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp log-edit-mode-map definition-name log-edit-mode default-boundp set-default make-sparse-keymap log-edit-mode-syntax-table make-syntax-table define-abbrev-table nil derived-mode-parent text-mode] 5) #@520 Major mode for editing version-control log messages. When done editing the log entry, just type \[log-edit-done] which will trigger the actual commit of the file(s). Several other handy support commands are provided of course and the package from which this is used might also provide additional commands (under C-x v for VC, for example). \{log-edit-mode-map} In addition to any hooks its parent mode `text-mode' might have run, this mode runs the hook `log-edit-mode-hook', as the final step during initialization. (defalias 'log-edit-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315 !\204'\316 \317 \"\210\320\f!\211\2036 \321 =\203<\322\f\323 \"\210)\324 !\210\325\f!\210\306\326!\210\327\306\330!\210)\331\332!\203_\332\333!\207\334\333!\207" [delay-mode-hooks major-mode mode-name log-edit-mode-map log-edit-mode-syntax-table parent make-local-variable t text-mode log-edit-mode "Log-Edit" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table use-local-map set-syntax-table font-lock-defaults (log-edit-font-lock-keywords t) log-edit-comment-ring-index fboundp run-mode-hooks log-edit-mode-hook run-hooks log-edit-mode-abbrev-table local-abbrev-table] 6 (#$ . 12711) nil]) (defalias 'log-edit-hide-buf #[(&optional buf where) "\304\206 !\211\205\305\n\"\211\203\306\307\310\217\210)\311!\207" [buf log-edit-files-buf where win get-buffer get-buffer-window nil (delete-window win) ((error)) bury-buffer] 4]) #@113 Finish editing the log message and commit the files. If you want to abort the commit, simply delete the buffer. (defalias 'log-edit-done #[nil "db\210\306\307!\210\310f\311\232\203\312u\210`d|\210deV\203?dSf\311U\204?\313=\2047\203?\314\315\316\317 \"!\203?\212db\210\311c\210)\320 \321\n!\204Q \322\n\323\"\232\204V\324\n \"\210)\325 ! \203\203 \326=\203m\327 !\232\204\203\330 \210\314\331!\204\203\f\204}\332 \210\333\334!\202\236\335\336!\210\332 \210\"\204\232#\203\232\337p#\"\210\340$!)\207" [log-edit-require-final-newline comment log-edit-comment-ring log-edit-files-buf win log-edit-confirm skip-syntax-backward " " nil 10 1 t y-or-n-p format "Buffer %s does not end in newline. Add one? " buffer-name buffer-string ring-empty-p ring-ref 0 ring-insert get-buffer-window changed log-edit-files log-edit-show-files "Really commit? " log-edit-hide-buf message "Oh, well! Later maybe?" run-hooks log-edit-done-hook cvs-bury-buffer call-interactively log-edit-initial-files log-edit-keep-buffer log-edit-parent-buffer log-edit-callback] 4 (#$ . 14288) nil]) #@58 Return the list of files that are about to be committed. (defalias 'log-edit-files #[nil "\300\301\302\217\207" [nil (funcall log-edit-listfun) ((error))] 3 (#$ . 15385)]) #@43 Provide help for the `log-edit-mode-map'. (defalias 'log-edit-mode-help #[nil "\302=\203\n\303 !\207\304\305\306\307!\"\207" [last-command major-mode log-edit-mode-help describe-function message "%s" substitute-command-keys "Type `\\[log-edit-done]' to finish commit. Try `\\[describe-function] log-edit-done' for more help."] 4 (#$ . 15563) nil]) #@66 Minimum indentation to use in `log-edit-set-common-indentation'. (custom-declare-variable 'log-edit-common-indent '0 '(#$ . 15920) :group 'log-edit :type 'integer) #@68 (Un)Indent the current buffer rigidly to `log-edit-common-indent'. (defalias 'log-edit-set-common-indentation #[nil "\212deb\210`dW\203\302\303!\204\304 ^\305y\210\202\306ed Z#*\207" [common log-edit-common-indent looking-at "^[ ]*$" current-indentation 1 indent-rigidly] 5 (#$ . 16090)]) #@41 Show the list of files to be committed. (defalias 'log-edit-show-files #[nil "\306 \307 !r\nq\210\310\n\311\"\210\312\313 \210\314!\210\315eb\210\316 \317\320\321 \"r\322\216\323\n!\210\324 \210\316 .\207" [files log-edit-files-buf buf buffer-read-only save-selected-window-alist save-selected-window-window log-edit-files get-buffer-create log-edit-hide-buf all nil erase-buffer cvs-insert-strings t selected-window mapcar #[(frame) "\301!D\207" [frame frame-selected-window] 3] frame-list ((byte-code "\305\211\203/\n@\306 @!\203(\307 \211A@)!\203(\310 @ \211A@)\"\210\nA\211\204*\307\f!\203:\311\f!\210\305\207" [save-selected-window-alist elt #1=#:--cl-dolist-temp-- x save-selected-window-window nil frame-live-p window-live-p set-frame-selected-window select-window] 4)) cvs-pop-to-buffer-same-frame shrink-window-if-larger-than-buffer] 4 (#$ . 16396) nil]) #@111 Insert the template specified by the CVS administrator, if any. This simply uses the local CVS/Template file. (defalias 'log-edit-insert-cvs-template #[nil "t\204\nedU\205\300\301!\205\302\301!\207" [file-readable-p "CVS/Template" insert-file-contents] 2 (#$ . 17290) nil]) #@135 Insert the rcstemplate from the CVS repository. This contacts the repository to get the rcstemplate file and can thus take some time. (defalias 'log-edit-insert-cvs-rcstemplate #[nil "t\204\nedU\205\300\301!\205\302\303\304\305\304\306\307\310&\207" [file-readable-p "CVS/Root" call-process "cvs" nil (t nil) "checkout" "-p" "CVSROOT/rcstemplate"] 8 (#$ . 17576) nil]) #@52 Insert the list of files that are to be committed. (defalias 'log-edit-insert-filenames #[nil "\300\301\302\303 \304#\261\207" ["Affected files: \n" mapconcat identity log-edit-files " \n"] 5 (#$ . 17957) nil]) #@62 Insert this log message into the appropriate ChangeLog file. (defalias 'log-edit-add-to-changelog #[nil "\304 \305\306\"\230\204\307\304 \"\210\310 \311\211\203,\n@\312 !\212\313 \210*\nA\211\204*\311\207" [log-edit-comment-ring f #1=#:--cl-dolist-temp-- buffer-file-name buffer-string ring-ref 0 ring-insert log-edit-files nil expand-file-name log-edit-comment-to-change-log] 4 (#$ . 18177) nil]) (byte-code "\301B\302\301!\204\303\301\304\"\210\304\207" [current-load-list log-edit-changelog-use-first default-boundp set-default nil] 3) #@722 Insert a log message by looking at the ChangeLog. The idea is to write your ChangeLog entries first, and then use this command to commit your changes. To select default log text, we: - find the ChangeLog entries for the files to be checked in, - verify that the top entry in the ChangeLog is on the current date and by the current user; if not, we don't provide any default text, - search the ChangeLog entry for paragraphs containing the names of the files we're checking in, and finally - use those paragraphs as the log text. If the optional prefix arg USE-FIRST is given (via \[universal-argument]), or if the command is repeated a second time in a row, use the first log entry regardless of user name or time. (defalias 'log-edit-insert-changelog #[(&optional use-first) "\206 \303=\304\305 !\210)\306 \210eb\210\307\310!\2054\311y\210\312\313\314\315#?\2054eb\210\316\314w\210\317\314w\210e`|\207" [use-first last-command log-edit-changelog-use-first log-edit-insert-changelog log-edit-insert-changelog-entries log-edit-files log-edit-set-common-indentation looking-at "\\*\\s-+" 1 re-search-forward "^\\*\\s-+" nil t "^():" ": "] 4 (#$ . 18739) "P"]) #@186 Narrow to the top page of the current buffer, a ChangeLog file. Actually, the narrowed region doesn't include the date line. A "page" in a ChangeLog file is the area between two dates. (defalias 'log-edit-narrow-changelog #[nil "\302=\204\n\303\304!\210eb\210\305y\210\306\307!\203\310\225b\210`\311\305!\210 `}\210eb)\207" [major-mode start change-log-mode error "log-edit-narrow-changelog: current buffer isn't a ChangeLog" 1 looking-at "[ \n]*\n" 0 forward-page] 2 (#$ . 19916)]) #@125 Return the bounds of the ChangeLog paragraph containing point. If we are between paragraphs, return the previous paragraph. (defalias 'log-edit-changelog-paragraph #[nil "\212\300 \210\301\302!\203\303ex\210\304\305\306\307#\203\310\225b\210`\311\312\306\313#\203(\310\224\202)`)D\207" [beginning-of-line looking-at "^[ ]*$" " \n" re-search-backward "^[ ]*\n" nil or-to-limit 0 re-search-forward "^[ \n]*$" t] 5 (#$ . 20412)]) #@208 Return the bounds of the ChangeLog subparagraph containing point. A subparagraph is a block of non-blank lines beginning with an asterisk. If we are between sub-paragraphs, return the previous subparagraph. (defalias 'log-edit-changelog-subparagraph #[nil "\212\300\210\301\302\300\303#\203%\304 \210`\305y\210\306\307\300\303#\203 \310\224\202!dD\202(``D)\207" [nil search-backward "*" t beginning-of-line 1 re-search-forward "^[ ]*[\n*]" 0] 5 (#$ . 20856)]) #@218 Return the bounds of the ChangeLog entry containing point. The variable `log-edit-changelog-full-paragraphs' decides whether an "entry" is a paragraph or a subparagraph; see its documentation string for more details. (defalias 'log-edit-changelog-entry #[nil "\203\301 \207\302 \207" [log-edit-changelog-full-paragraphs log-edit-changelog-paragraph log-edit-changelog-subparagraph] 1 (#$ . 21329)]) #@91 See if ChangeLog entry at point is for the current user, today. Return non-nil iff it is. (defalias 'log-edit-changelog-ours-p #[nil "\306\300!\203\n\206\307\301!\203\301 \206\306\301!\205 \306\302!\203&\n\206-\306\303!\205- \306\304!\203>\310\f!\203>\f \206A\311\312!\313\203P\314\202Z\315\316\317 $!!+\207" [add-log-full-name user-full-name add-log-mailing-address user-mail-address add-log-time-format time boundp fboundp functionp format-time-string "%Y-%m-%d" looking-at "[^ ]" regexp-quote format "%s %s <%s>" mail name log-edit-changelog-use-first] 7 (#$ . 21737)]) #@261 Return the ChangeLog entries for FILE, and the ChangeLog they came from. The return value looks like this: (LOGBUFFER (ENTRYSTART . ENTRYEND) ...) where LOGBUFFER is the name of the ChangeLog buffer, and each (ENTRYSTART . ENTRYEND) pair is a buffer region. (defalias 'log-edit-changelog-entries #[(file) "\212\306\307!!\310! \203\311\303 \"\203\212 q\210 )\202#\312\313 *\314\f!q\210 \315=\2043\315 \210eb\210\316\317!\203@\320\225b\210\321 \204JpC\202\233\214\322 \210eb\210\323\306\f!\"\211\324\230\204j\212\325\312\326#)\204o\327!\330\331Q\312\332\312\326#\203\226\333 \211B\334\234b\210)\202yp+B*\207" [file visiting-buffer default-directory change-log-default-name changelog-file-name major-mode file-name-directory expand-file-name find-buffer-visiting local-variable-p nil find-change-log find-file-noselect change-log-mode looking-at "\\s-*\n" 0 log-edit-changelog-ours-p log-edit-narrow-changelog file-relative-name "" search-forward t file-name-nondirectory "\\(^\\|[^[:alnum:]]\\)" "\\($\\|[^[:alnum:]]\\)" re-search-forward log-edit-changelog-entry 1 pattern texts entry] 5 (#$ . 22349)]) #@88 Insert those regions in BUFFER specified in REGIONS. Sort REGIONS front-to-back first. (defalias 'log-edit-changelog-insert-entries #[(buffer regions) "\305\306\"\307\211\307\211\2031 @ \203 \n@W\203 \310 \210\n\311\234\312\313\f\n#\210 A\211\204,\307\207" [regions last region #1=#:--cl-dolist-temp-- buffer sort car-less-than-car nil newline 1 apply insert-buffer-substring] 6 (#$ . 23504)]) #@69 Given a list of files FILES, insert the ChangeLog entries for them. (defalias 'log-edit-insert-changelog-entries #[(files) "\306 \306\211\2032 @\307\n!\211@\236\211\203& \310 A\fA\"\241\210\202*\fB* A\211\204\n*\306 \211\f\203]\f@ \311 @ A\"\210 A\203T\312 \210\fA\211\f\204=+\306\207" [buffer-entries files file #1=#:--cl-dolist-temp-- entries pair nil log-edit-changelog-entries cvs-union log-edit-changelog-insert-entries newline buffer-entry #2=#:--cl-dolist-temp--] 5 (#$ . 23918)]) (provide 'log-edit)