403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.141
Web Server : Apache
System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/emacs/28.2/lisp/vc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/vc/log-edit.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\311\313\314\315\316\317&\210\320\321\322\307#\210\323\211\203G\211@\321N\203@\322N\204@\324\322\321N#\210A\266\202\202&\210\325\321\322\326#\210\320\327\322\307#\210\323\211\203v\211@\327N\203o\322N\204o\324\322\327N#\210A\266\202\202U\210\325\327\322\326#\207" [require add-log pcvs-util ring message 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-" defvaralias vc-log-mode-map log-edit-mode-map (saved-value saved-variable-comment) put make-obsolete-variable "28.1" vc-log-entry-mode] 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-generate-changelog-from-diff) ("" . log-edit-show-diff) ("" . log-edit-show-files) ("" . log-edit-kill-buffer) ("" . log-edit-beginning-of-line) ("\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) (#$ . 776))
#@32 Menu used for `log-edit-mode'.
(defvar log-edit-menu nil (#$ . 1439))
(byte-code "\301\302\303\304$\210\305\306\307\310\311DD\312\313\314\315\316&\210\305\317\307\310\320DD\321\313\314\315\322&\210\305\323\307\310\324DD\325\313\314\315\326&\210\305\327\307\310\330DD\331\313\314\315\322&\210\305\332\307\310\333DD\334\335\336\313\314\315\322\337\340&\210\305\341\307\310\342DD\343\335\336\313\314\315\344&	\210\305\345\307\310\346DD\347\313\314\315\350&\210\305\351\307\310\352DD\353\313\314\315\354&\210\305\355\307\310\356DD\357\315\322\337\340\313\314\335\360&\207" [log-edit-mode-map easy-menu-do-define log-edit-menu "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 :help "Insert a log message by looking at the ChangeLog"] ["Add to ChangeLog" log-edit-add-to-changelog :help "Insert this log message into the appropriate ChangeLog file"] "--" ["Show diff" log-edit-show-diff :help "Show the diff for the files to be committed."] ["List files" log-edit-show-files :help "Show the list of relevant files."] "--" ["Previous comment" log-edit-previous-comment :help "Cycle backwards through comment history"] ["Next comment" log-edit-next-comment :help "Cycle forwards through comment history."] ["Search comment forward" log-edit-comment-search-forward :help "Search forwards through comment history for a substring match of str"] ["Search comment backward" log-edit-comment-search-backward :help "Search backwards through comment history for substring match of str"]) custom-declare-variable log-edit-confirm funcall function #[0 "\300\207" [changed] 1 #1=""] "If non-nil, `log-edit-done' will request confirmation.\nIf `changed', only request confirmation if the list of files has\n  changed since the beginning of the `log-edit' session." :group log-edit :type (choice (const changed) (const t) (const nil)) log-edit-keep-buffer #[0 "\300\207" [nil] 1 #1#] "If non-nil, don't hide the buffer after `log-edit-done'." boolean log-edit-require-final-newline #[0 "\300\207" [t] 1 #1#] "Enforce a newline at the end of commit log messages.\nEnforce it silently if t, query if non-nil and don't do anything if nil." (choice (const ask) (const t) (const nil)) log-edit-setup-invert #[0 "\300\207" [nil] 1 #1#] "Non-nil means `log-edit' should invert the meaning of its SETUP arg.\nIf SETUP is `force', this variable has no effect." log-edit-setup-add-author #[0 "\300\207" [nil] 1 #1#] "Non-nil means `log-edit' may add the `Author:' header.\nThis applies when its SETUP argument is non-nil." :version "24.4" :safe booleanp log-edit-hook #[0 "\300\207" [(log-edit-insert-message-template log-edit-insert-cvs-template log-edit-insert-changelog log-edit-show-files)] 1 #1#] "Hook run at the end of `log-edit'." (hook :options (log-edit-insert-message-template log-edit-insert-cvs-rcstemplate log-edit-insert-cvs-template log-edit-insert-changelog log-edit-insert-filenames log-edit-insert-filenames-without-changelog log-edit-show-files)) log-edit-mode-hook #[0 "\301\300!\205\207" [vc-log-mode-hook boundp] 2 #1#] "Hook run when entering `log-edit-mode'." hook log-edit-done-hook #[0 "\300\207" [nil] 1 #1#] "Hook run before doing the actual commit.\nThis hook can be used to cleanup the message, enforce various\nconventions, or to allow recording the message in some other database,\nsuch as a bug-tracking system.  The list of files about to be committed\ncan be obtained from `log-edit-files'." (hook :options (log-edit-set-common-indentation log-edit-add-to-changelog)) log-edit-strip-single-file-name #[0 "\300\207" [nil] 1 #1#] "If non-nil, remove file name from single-file log entries." "24.1"] 12)
#@953 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 t (#$ . 5192))
(defconst log-edit-files-buf "*log-edit-files*")
(defvar log-edit-initial-files nil)
(defvar log-edit-callback nil)
(defvar log-edit-diff-function #[0 "\300\301!\207" [error "Diff functionality has not been setup"] 2])
(defvar log-edit-listfun nil)
(defvar log-edit-parent-buffer nil)
#@46 VC fileset corresponding to the current log.
(defvar log-edit-vc-backend nil (#$ . 6493))
#@69 Maximum number of saved commit comments in `log-edit-comment-ring'.
(defconst log-edit-maximum-comment-ring-size 32 (#$ . 6589))
(defvar log-edit-comment-ring (make-ring log-edit-maximum-comment-ring-size))
(defvar log-edit-comment-ring-index nil)
(defvar log-edit-last-comment-match "")
#@260 Return the comment whose index is STRIDE elements away from the current one.
This accesses `log-edit-comment-ring', which stores commit log comments,
i.e. descriptions of changes done by commits.
LEN is the length of `log-edit-comment-ring'.

(fn STRIDE LEN)
(defalias 'log-edit-new-comment-index #[514 "\301\203\\\202\302V\203S\202\"\207" [log-edit-comment-ring-index mod 0] 5 (#$ . 6884)])
#@111 Cycle backwards through VC commit comment history.
With a numeric prefix ARG, go back ARG comments.

(fn ARG)
(defalias 'log-edit-previous-comment #[257 "\302!\211\303X\203\304\305!\210\306 \207ed|\210\307\"\304\310	T\"\210\311	\"c\207" [log-edit-comment-ring log-edit-comment-ring-index ring-length 0 message "Empty comment ring" ding log-edit-new-comment-index "Comment %d" ring-ref] 5 (#$ . 7298) "*p"])
#@113 Cycle forwards through VC commit comment history.
With a numeric prefix ARG, go forward ARG comments.

(fn ARG)
(defalias 'log-edit-next-comment #[257 "\300[!\207" [log-edit-previous-comment] 3 (#$ . 7719) "*p"])
#@233 Search backwards through VC commit comment history for a match of STR.
If the optional argument STRIDE is present, that is a step-width to use
when going through the comment ring, `log-edit-comment-ring'.

(fn STR &optional STRIDE)
(defalias 'log-edit-comment-search-backward #[513 "\211\204\303\262\304\230\203\262\202\305!\306	!\307\"\211Y\204+\211\310W\203/\311\312!\210\313\314	\"\"\204A\211\\\262\202\211\315\310!\207" [log-edit-last-comment-match log-edit-comment-ring log-edit-comment-ring-index 1 "" regexp-quote ring-length log-edit-new-comment-index 0 error "Not found" string-match ring-ref log-edit-previous-comment] 10 (#$ . 7940) (byte-code "\301\302\303\"\304\211$C\207" [log-edit-last-comment-match read-string format-prompt "Comment substring" nil] 5)])
#@81 Search forwards through VC commit comment history for a match of STR.

(fn STR)
(defalias 'log-edit-comment-search-forward #[257 "\300\301\"\207" [log-edit-comment-search-backward -1] 4 (#$ . 8745) (byte-code "\301\302\303\"\304\211$C\207" [log-edit-last-comment-match read-string format-prompt "Comment substring" nil] 5)])
#@733 Insert the last VC commit comment into the change log for the current file.
This reuses the text of the last VC commit comment in `log-edit-comment-ring'
for the change-log entry of the current file, which is handy when several
related changes have the same commit comment.
WHOAMI (interactively, prefix argument) non-nil means prompt for user name
and email address of the person to whom to attribute the change.
FILE-NAME is the name of the change log; if nil, use `change-log-default-name'
Interactively, with prefix argument, prompt for both the name and address of
the person who did the change and for FILE-NAME.

This may be useful as a `vc-checkin-hook' to update change logs
automatically.

(fn &optional WHOAMI FILE-NAME)
(defalias 'log-edit-comment-to-change-log #[512 "\303\304\"\305\306\307\310\211$\210\212c\210\311 )\262\312\313!\203\"\314\315!\210\316 \210\317 \212`W\2037\320y\210\211j\210\202(`\262)\210\n\321P\322 \210\323`\"\210)\324\325\"\210\314\326\325![!\210m\206a\312\327!\206a\330c)\207" [log-edit-comment-ring add-log-current-defun-function paragraph-start 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"] 10 (#$ . 9080) (byte-code "\205\301 D\207" [current-prefix-arg prompt-for-change-log-name] 2)])
(byte-code "\300\301\302\303#\210\300\304\305\306#\210\300\307\310\311#\207" [custom-declare-face log-edit-summary ((t :inherit font-lock-function-name-face)) "Face for the summary in `log-edit-mode' buffers." log-edit-header ((t :inherit font-lock-keyword-face)) "Face for the headers in `log-edit-mode' buffers." log-edit-unknown-header ((t :inherit font-lock-comment-face)) "Face for unknown headers in `log-edit-mode' buffers."] 4)
#@63 AList of known headers and the face to use to highlight them.
(defvar log-edit-headers-alist '(("Summary" . log-edit-summary) ("Fixes") ("Author")) (#$ . 10959))
#@123 Regular expression matching the header field in `log-edit-mode'.
The first subexpression is the actual text of the field.
(defconst log-edit-header-contents-regexp "[ 	]*\\(.*\\(\n[ 	].*\\)*\\)\n?" (#$ . 11128))
#@14 

(fn LIMIT)
(defalias 'log-edit-match-to-eoh #[257 "`\300 \210`W?\205\301`D!\210`\207" [rfc822-goto-eoh set-match-data] 5 (#$ . 11346)])
(defalias 'log-edit-goto-eoh #[0 "eb\210\300\301\302\303#\205\304\224b\207" [re-search-forward "^\\([^[:alpha:]]\\|[[:alnum:]-]+[^[:alnum:]-]\\)" nil move 0] 4])
#@14 

(fn LIMIT)
(defalias 'log-edit--match-first-line #[257 "`\300 \210\301\302w\210\211\303 W\2052`W\2052\212\304\305\302\306#)?\2052\307\310!\2052\311\225b\210\312e`\313\306$\210`\207" [log-edit-goto-eoh "\n" nil line-end-position re-search-backward "^Summary:[ 	]*[^ 	\n]" t looking-at ".+" 0 put-text-property jit-lock-defer-multiline] 7 (#$ . 11658)])
(defvar log-edit-font-lock-keywords (byte-code "\301\302P\303B\304BB\305B\207" [log-edit-header-contents-regexp log-edit-match-to-eoh "^\\(\\([[:alpha:]-]+\\):\\)" ((progn (goto-char (match-beginning 0)) (match-end 0)) nil (1 (if (assoc-string (match-string 2) log-edit-headers-alist t) 'log-edit-header 'log-edit-unknown-header) nil lax) (3 (or (cdr (assoc-string (match-string 2) log-edit-headers-alist t)) 'log-edit-header) nil lax)) (("^\n" (progn (goto-char (match-end 0)) (1+ (match-end 0))) nil (0 '(face (:height 0.1 :inverse-video t :extend t) display-line-numbers-disable t rear-nonsticky t)))) ((log-edit--match-first-line (0 'log-edit-summary)))] 3))
#@158 If non-nil, highlight common failures to follow VC commit log conventions.
The conventions checked are those described in the GNU coding standards
document.
(defvar log-edit-font-lock-gnu-style nil (#$ . 12688))
(put 'log-edit-font-lock-gnu-style 'safe-local-variable 'booleanp)
(defconst log-edit-font-lock-gnu-keywords '(("^[ 	]*\\(?:\\* .*\\)?\\(([^\n)]*,\\s-*\\)$" (1 '(face font-lock-warning-face help-echo "Continue function lists with \")\\n(\".") t)) ("):[ 	\n]*[[:alpha:]]+\\(ed\\)\\>" (1 '(face font-lock-warning-face help-echo "Use present tense.") t)) ("): [a-z]" (0 '(face font-lock-warning-face help-echo "Capitalize.") t)) ("[^[:upper:]]\\(\\. [[:upper:]]\\)" (1 '(face font-lock-warning-face help-echo "Use two spaces to end a sentence") t)) ("^(" (0 (let ((beg (max (point-min) (- (match-beginning 0) 2)))) (put-text-property beg (match-end 0) 'font-lock-multiline t) (if (eq (char-syntax (char-after beg)) 119) '(face font-lock-warning-face help-echo "Punctuate previous line."))) t))))
(defalias 'log-edit-font-lock-keywords #[0 "\203	\303	\n\"\207	\207" [log-edit-font-lock-gnu-style log-edit-font-lock-keywords log-edit-font-lock-gnu-keywords append] 3])
#@1291 Setup a buffer to enter a VC commit log message.
The buffer is put in mode MODE, or `log-edit-mode' if MODE is nil.
\<log-edit-mode-map>
If SETUP is non-nil, erase the buffer and run `log-edit-hook'.
Set mark and point around the entire contents of the buffer, so
that it is easy to kill the contents of the buffer with
\[kill-region].  Once the user is done editing the message, he
or she is expected to invoke the command \[log-edit-done] (`log-edit-done'),
which will call CALLBACK, a function to do the actual commit.

PARAMS, if non-nil, is an alist of variables and buffer-local
values to give to those variables in the Log Edit buffer.  Possible
keys and associated values are:
 `log-edit-listfun' -- function taking no arguments that returns the list of
    files that are concerned by the current operation (using relative names);
 `log-edit-diff-function' -- function taking no arguments that
    displays a diff of the files concerned by the current operation.
 `vc-log-fileset' -- the VC fileset to be committed (if any).

If BUFFER is non-nil, `log-edit' will switch to that buffer, use it
to edit the log message and go back to the current buffer when
done.  Otherwise, this function will use the current buffer.

(fn CALLBACK &optional SETUP PARAMS BUFFER MODE &rest IGNORE)
(defalias 'log-edit #[1409 "p\203	\305!\210\203\306=\204?\262\203! \210\202$\307 \210\310\301!\210<\203J\211\203F\211@\310@!AL\210A\266\202\2021\210\202P\310\302!\210\203Z\310\303!\210\211\310\304!\210\311 \203l\312 \210\313\314!\210\315d!\210\316\317\320\321!\"\207" [log-edit-setup-invert log-edit-callback log-edit-listfun log-edit-parent-buffer log-edit-initial-files pop-to-buffer force log-edit-mode make-local-variable log-edit-files erase-buffer run-hooks log-edit-hook push-mark message "%s" substitute-command-keys "Press \\[log-edit-done] when you are done editing."] 11 (#$ . 13874)])
(defvar log-edit-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [log-edit-mode-hook variable-documentation put "Hook run after 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] 4)
(defvar log-edit-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\322#\207" [log-edit-mode-abbrev-table log-edit-mode-map variable-documentation put purecopy "Keymap for `log-edit-mode'." boundp log-edit-mode-syntax-table definition-name log-edit-mode (lambda (#1=#:def-tmp-var) (defvar log-edit-mode-syntax-table #1#)) make-syntax-table "Syntax table for `log-edit-mode'." (lambda (#1#) (defvar log-edit-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `log-edit-mode'." derived-mode-parent text-mode] 5)
#@565 Major mode for editing version-control (VC) commit log messages.
When done editing the log entry, type \[log-edit-done], which will
trigger the actual commit of the file(s).
Several other handy support commands are provided, and the package
from which this is used might also provide additional commands (under
the \[vc-prefix-map] prefix for VC commands, 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 or
penultimate step during initialization.
(defalias 'log-edit-mode #[0 "\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\2035\211\321 =\203;\322\f\323 \"\210\210\324
\325\"\204R
)=\204R\326
\325)C#\210\327!\210\330\f!\210
)\306\331!\210\332\306\333!\210\334>\203u\210\202{\334B\335>\203\210\210\202\216\335B\306\336!\210\307\306\337!\210\340\306\341!\210\342\343\344\345\307$\210\346 \210)\347\350!\207" [delay-mode-hooks major-mode mode-name log-edit-mode-map log-edit-mode-syntax-table log-edit-mode-abbrev-table 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 abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table font-lock-defaults (log-edit-font-lock-keywords t) font-lock-extra-managed-props rear-nonsticky display-line-numbers-disable jit-lock-contextually fill-paragraph-function log-edit-fill-entry log-edit-comment-ring-index add-hook kill-buffer-hook log-edit-remember-comment nil hack-dir-local-variables-non-file-buffer run-mode-hooks log-edit-mode-hook local-abbrev-table] 5 (#$ . 16971) nil])
#@69 Insert FUNC-NAMES, following ChangeLog formatting.

(fn FUNC-NAMES)
(defalias 'log-edit--insert-filled-defuns #[257 "\211\204\301c\207`Sf\302>\204iV\204\303c\210\304\304\305\211\205!\305\262:\203[@\262i\306!\\V\203@\204=\307c\210\310c\210`Sf\311>\203L\312\202M\313\261\210A\262\304\262\202\266\314c\207" [fill-column ":" (10 32) " " nil t string-width ")" "\n" (10 32) "(" ", " "):"] 8 (#$ . 18779)])
#@245 Like \[fill-paragraph], but for filling ChangeLog-formatted entries.
Consecutive function entries without prose (i.e., lines of the
form "(FUNCTION):") will be combined into "(FUNC1, FUNC2):"
according to `fill-column'.

(fn &optional JUSTIFY)
(defalias 'log-edit-fill-entry #[256 "\212\302 \211\242\243\211\242\243U?\205z\303!\262b\210\304\211\211W\2054\305\306\307Q\310#\2054\303\311\225!\262\310\203@\312\224\202Ab\210\313 \314 X\203W\315#\210)\266\203wb\210\316!\262`|\210\317!\210`\262\304\262\202\266\310\266\206\262)\207" [change-log-unindented-file-names-re fill-indent-according-to-mode log-edit-changelog-paragraph copy-marker nil re-search-forward "\\(?1:" "\\)\\|^\\(?1:\\)[[:blank:]]*(" t 1 0 line-beginning-position line-end-position fill-region change-log-read-defuns log-edit--insert-filled-defuns] 18 (#$ . 19216)])
#@28 

(fn &optional BUF WHERE)
(defalias 'log-edit-hide-buf #[512 "\301\206!\211\262\2052\302 r\303\304\"\216\305\"\211\203+\3061*\307!0\266\202,\210\210\310!*\262\207" [log-edit-files-buf get-buffer internal--before-save-selected-window make-closure #[0 "\301\300!\207" [V0 internal--after-save-selected-window] 2] get-buffer-window (error) delete-window bury-buffer] 6 (#$ . 20100)])
#@26 

(fn &optional COMMENT)
(defalias 'log-edit-remember-comment #[256 "\211\204\301 \262\302!\204\211\303\304\"\232?\205\305\"\207" [log-edit-comment-ring buffer-string ring-empty-p ring-ref 0 ring-insert] 5 (#$ . 20504)])
#@124 Finish editing the VC commit log message, and commit the files.
If you want to abort the commit, simply delete the buffer.
(defalias 'log-edit-done #[0 "eb\210\306\307P!\203\"\310\224\310\225b\210\311\312\313\314!\"\203\211`|\210\210\202eb\210\306\315!\2031\310\224\310\225|\210db\210\316\317!\210\320f\321=\203B\314u\210`d|\210deV\203td\206Q`Sf\321U\204t	\322=\204l	\203t\323\324\325\326 \"!\203t\212db\210\321c\210)\327 \210\330\n!\203\237\331=\203\213\332 \f\232\204\237\333 \210\323\334!\204\237\211\204\233\335 \210\336\337!\207\340\341!\210\335 \210
\204\265$\203\265\342p$\"\210\343%!\207" [log-edit-header-contents-regexp log-edit-require-final-newline log-edit-files-buf log-edit-confirm log-edit-initial-files log-edit-keep-buffer looking-at "^[a-z]*:" 0 string-match "\\`[ \n	]*\\'" match-string 1 "\\([ 	]*\n\\)+" skip-syntax-backward " " nil 10 t y-or-n-p format "Buffer %s does not end in newline.  Add one? " buffer-name log-edit-remember-comment 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-parent-buffer log-edit-callback] 5 (#$ . 20743) nil])
#@185 Kill the current VC commit log buffer.
This command saves the contents of the log buffer in the VC commit
comment history, see `log-edit-comment-ring', and hides `log-edit-files-buf'.
(defalias 'log-edit-kill-buffer #[0 "\300 \210p\301!\210\302!\207" [log-edit-hide-buf quit-windows-on kill-buffer] 3 (#$ . 21996) nil])
#@58 Return the list of files that are about to be committed.
(defalias 'log-edit-files #[0 "\3011 0\207\210\302\207" [log-edit-listfun (error) nil] 1 (#$ . 22324)])
#@43 Provide help for the `log-edit-mode-map'.
(defalias 'log-edit-mode-help #[0 "\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 (#$ . 22494) nil])
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable log-edit-common-indent funcall function #[0 "\300\207" [0] 1 ""] "Minimum indentation to use in `log-edit-set-common-indentation'." :group log-edit :type integer] 8)
#@68 (Un)Indent the current buffer rigidly to `log-edit-common-indent'.
(defalias 'log-edit-set-common-indentation #[0 "\212d\301 \210`dW\203\302\303!\204\211\304 ^\262\305y\210\202\301 \210\306`dZ#\262)\207" [log-edit-common-indent rfc822-goto-eoh looking-at "^[ 	]*$" current-indentation 1 indent-rigidly] 6 (#$ . 23102)])
#@46 Show the diff for the files to be committed.
(defalias 'log-edit-show-diff #[0 " \207" [log-edit-diff-function] 1 (#$ . 23438) nil])
#@41 Show the list of files to be committed.
(defalias 'log-edit-show-files #[0 "\302 \303!r\211q\210\304\305\"\210\306\307 \210\310!\210\311 \210eb\210\312 r\313\314\"\216\315!\210\316 \210\317\320 \321\"\210\320 *\262)\207" [log-edit-files-buf buffer-read-only log-edit-files get-buffer-create log-edit-hide-buf all nil erase-buffer cvs-insert-strings special-mode internal--before-save-selected-window make-closure #[0 "\301\300!\207" [V0 internal--after-save-selected-window] 2] cvs-pop-to-buffer-same-frame shrink-window-if-larger-than-buffer set-window-dedicated-p selected-window t] 6 (#$ . 23578) nil])
#@209 Move point to beginning of header value or to beginning of line.

It works the same as `message-beginning-of-line', but it uses a
different header separator appropriate for `log-edit-mode'.

(fn &optional N)
(defalias 'log-edit-beginning-of-line #[256 "\301\302!)\207" [mail-header-separator "" message-beginning-of-line] 3 (#$ . 24198) "p"])
#@42 Return non-nil if the buffer is "empty".
(defalias 'log-edit-empty-buffer-p #[0 "edU\206\212eb\210\300\301!\203\302y\303U\204\nm)\207" [looking-at "^\\([a-zA-Z]+: ?\\)?$" 1 0] 2 (#$ . 24549)])
#@68 Insert the default VC commit log template with Summary and Author.
(defalias 'log-edit-insert-message-template #[0 "\301\302!\204\303 \205\304c\210\203\305c\210\306c\210\307 \207" [log-edit-setup-add-author called-interactively-p interactive log-edit-empty-buffer-p "Summary: " "\nAuthor: " "\n\n" message-position-point] 2 (#$ . 24753) nil])
#@122 Insert the commit log template specified by the CVS administrator, if any.
This simply uses the local CVS/Template file.
(defalias 'log-edit-insert-cvs-template #[0 "\300\301!\204\302 \205\303\304!\205db\210\305\304!\207" [called-interactively-p interactive log-edit-empty-buffer-p file-readable-p "CVS/Template" insert-file-contents] 2 (#$ . 25110) nil])
#@147 Insert the RCS commit log template 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 #[0 "\300\301!\204\302 \205\303\304!\205db\210\305\306\307\310\307\311\312\313&\207" [called-interactively-p interactive log-edit-empty-buffer-p file-readable-p "CVS/Root" call-process "cvs" nil (t nil) "checkout" "-p" "CVSROOT/rcstemplate"] 8 (#$ . 25479) nil])
#@52 Insert the list of files that are to be committed.
(defalias 'log-edit-insert-filenames #[0 "\300\301\302\303 \304#\261\207" ["Affected files:  \n" mapconcat identity log-edit-files "  \n"] 5 (#$ . 25944) nil])
#@58 Insert the list of files that have no ChangeLog message.
(defalias 'log-edit-insert-filenames-without-changelog #[0 "\300\301\302\303\304 \"\"\211\205db\210\305\306\307#\310\261\207" [delq nil mapcar #[257 "\300!\243\206\f\301!\302\232?\205\211\207" [log-edit-changelog-entries file-name-nondirectory "ChangeLog"] 3 "\n\n(fn FILE)"] log-edit-files mapconcat identity ", " ": "] 5 (#$ . 26162) nil])
#@72 Insert this VC commit log message into the appropriate ChangeLog file.
(defalias 'log-edit-add-to-changelog #[0 "\301 \210\302 \211\205\211@\303!\212\304 \210*A\266\202\202\207" [buffer-file-name log-edit-remember-comment log-edit-files expand-file-name log-edit-comment-to-change-log] 4 (#$ . 26576) nil])
(defvar log-edit-changelog-use-first nil)
#@38 Non-nil means rewrite (tiny change).
(defvar log-edit-rewrite-tiny-change t (#$ . 26938))
#@296 Rule to rewrite bug numbers into Fixes: headers in commit log messages.
The value should be of the form (REGEXP . REPLACEMENT)
where REGEXP should match the expression referring to a bug number
in the text, and REPLACEMENT is an expression to pass to `replace-match'
to build the Fixes: header.
(defvar log-edit-rewrite-fixes nil (#$ . 27035))
(put 'log-edit-rewrite-fixes 'safe-local-variable #[257 "\211\242;\205	\211A;\207" [] 2 "\n\n(fn V)"])
#@20 

(fn FIELD VALUE)
(defalias 'log-edit-add-field #[514 "\300 \210\212\301\302\303Q\304\305#)\203\306\307P\305\211\304\310%\207\311\312\313\312!\203(\314\202)\312\261\207" [rfc822-goto-eoh re-search-backward "^" ":\\([ 	]*\\)$" nil t replace-match " " 1 ": " "\n" looking-at ""] 8 (#$ . 27489)])
#@586 Insert a VC commit log message by looking at the current diffs.
This command is intended to be used in the "*vc-log*" buffer.
This command will generate ChangeLog entries listing the modified
files and functions changed in those files, based on the diffs
you are about to commit.  You can then add a description for each
change where needed, and use \[fill-paragraph] to join consecutive function
names into a single entry where they all share the same description.
Should you need to look at the diffs themselves, they can be found
in the "*vc-diff*" buffer produced by this command.
(defalias 'log-edit-generate-changelog-from-diff #[0 "\301r\302C\303\304\"\305B\306 \210\211\242)\262q\210\307 )!\207" [display-buffer-overriding-action change-log-insert-entries nil make-closure #[514 "\300\240\210\301\"\207" [V0 display-buffer-no-window] 5 "\n\n(fn BUF ALIST)"] ((allow-no-window . t)) log-edit-show-diff diff-add-log-current-defuns] 5 (#$ . 27800) nil])
#@770 Insert a VC commit 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 with that log.

To select default log text, this command:
- finds the ChangeLog entries for the files to be checked in;
- verifies that the top entry in the ChangeLog is on the current date
    and by the current user; if not, it doesn't provide any default text;
- searches the ChangeLog entry for paragraphs containing the names of
    the files to be checked in; and finally
- uses those paragraphs as the log text.

If the optional prefix arg USE-FIRST is given (via \[universal-argument]),
or if the command is repeated, use the first log entry regardless of user
name or time.

(fn &optional USE-FIRST)
(defalias 'log-edit-insert-changelog #[256 "\212\212\305 \210`)`X\203\211b\210\306\307!\203\310u\210\210\211\206!\311=\312\313 !)\314 \210\211\2039\315\316@\"\210\315\317\320\"\210\n:\203\\\305 \210\321\n@\322\323#\203\\\324\224\324\225\325\nA!|\210\315\326\"\266\203\216\305 \210\306\307!\203l\310u\210\306\327!\203\216`\310y\210\321\330\322\323#\204\215\211b\210\331\322w\210\332\322w\210\211`|\210\210\f\205\240\211A\333=\205\240db\205\240\334c\262)\207" [last-command log-edit-changelog-use-first log-edit-rewrite-fixes log-edit-strip-single-file-name log-edit-rewrite-tiny-change rfc822-goto-eoh looking-at "\n" 1 log-edit-insert-changelog log-edit-insert-changelog-entries log-edit-files log-edit-set-common-indentation log-edit-add-field "Author" "Summary" "" re-search-forward nil t 0 match-substitute-replacement "Fixes" "\\*\\s-+" "^\\*\\s-+" "^():" ": " tiny "\nCopyright-paperwork-exempt: yes\n"] 8 (#$ . 28772) "P"])
#@199 Narrow to the top page of the current buffer, which visits 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 #[0 "\301=\204\n\302\303!\210eb\210\304y\210\305\306!\203\307\225b\210`\310\304!\210\211`}\210eb\207" [major-mode change-log-mode error "log-edit-narrow-changelog: Current buffer isn't a ChangeLog" 1 looking-at "[ 	\n]*\n" 0 forward-page] 3 (#$ . 30503)])
#@125 Return the bounds of the ChangeLog paragraph containing point.
If we are between paragraphs, return the previous paragraph.
(defalias 'log-edit-changelog-paragraph #[0 "\300 \210\301\302!\203
\303ex\210\304\305\306\307#\203\310\225b\210`\311\312\306\313#\203'\310\224\202(dD\207" [beginning-of-line looking-at "^[ 	]*$" " 	\n" re-search-backward "^[ 	]*\n" nil or-to-limit 0 re-search-forward "^[ 	\n]*$" t] 5 (#$ . 31005)])
#@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 #[0 "\300\210\301\302\300\303#\203\"\304 \210`\305y\210\306\307\300\303#\203\310\224\202 dD\207``D\207" [nil search-backward "*" t beginning-of-line 1 re-search-forward "^[ 	]*[\n*]" 0] 5 (#$ . 31442)])
#@221 Return the bounds of the ChangeLog entry containing point.
The variable `log-edit-changelog-full-paragraphs' determines whether an
"entry" is a paragraph or a subparagraph; see its documentation string
for more details.
(defalias 'log-edit-changelog-entry #[0 "\212\203\n\301 \202\f\302 )\207" [log-edit-changelog-full-paragraphs log-edit-changelog-paragraph log-edit-changelog-subparagraph] 1 (#$ . 31907)])
#@90 See if ChangeLog entry at point is for the current user, today.
Return non-nil if it is.
(defalias 'log-edit-changelog-ours-p #[0 "\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\311
\"\206C\312\313!\204U\314\315\316\317$!!\207\314\320!\205\271\306\321!\203\270\314\316\322\315!\"!\204\270\314\323!\203\270\324\325\326\327\330!#\203\211\331\315!@\"\204\267\204\235\211\327\332!\205\226\333B\210\202\270\211@\334Q\240\210\327\332!\203\267A\204\267\333\241\210\210\335\207" [add-log-full-name user-full-name add-log-mailing-address user-mail-address add-log-time-format add-log-time-zone-rule boundp fboundp functionp nil format-time-string "%Y-%m-%d" looking-at regexp-quote format "%s  %s  <%s>" "[^ 	]" log-edit-author ".+  .+  <%s>" ".+  \\(.+  <.+>\\) *\\((tiny change)\\)?" string-replace "  " " " match-string 1 string-match 2 tiny ", " t log-edit-changelog-use-first] 10 (#$ . 32325)])
#@270 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.

(fn FILE)
(defalias 'log-edit-changelog-entries #[257 "\304\305!!\306!\211\203\307\301\"\203r\211q\210	)\206\"\310\311 )\266\202\306!\2045\312!\2045\n\205\236r\313!q\210\314=\204D\314 \210eb\210\315\316!\203Q\317\225b\210\320 \204[pC\202\235\214\321 \210eb\210\322\"\310`m\204\225\323\310\324#\203\225\325 \211\326\234T`]W\204\206\211B\262T\326\234]\262b\266\202hpB\266\202\262))\207" [default-directory change-log-default-name add-log-dont-create-changelog-file major-mode file-name-directory expand-file-name find-buffer-visiting local-variable-p nil find-change-log file-exists-p add-log-find-changelog-buffer change-log-mode looking-at "\\s-*\n" 0 log-edit-changelog-ours-p log-edit-narrow-changelog log-edit-changelog--pattern re-search-forward t log-edit-changelog-entry 1] 9 (#$ . 33348)])
#@33 

(fn FILE CHANGELOG-FILE-NAME)
(defalias 'log-edit-changelog--pattern #[514 "\211GSH\300=\203\301\302\230?\205P\207\303\304!\"\211\305\230\204+\212\306\307\310#)\2040\311!\262\312\313!\314Q\211\262\207" [47 "^	\\* " "./" file-relative-name file-name-directory "" search-forward nil t file-name-nondirectory "\\(^\\|[^[:alnum:]]\\)" regexp-quote "\\($\\|[^[:alnum:]]\\)"] 7 (#$ . 34449)])
#@363 Insert the text from ChangeLog BUFFER between BEG and END.
Rename relative filenames in the ChangeLog entry with FILES.
FILES are supposed to name the same files whose relative filenames
are to be replaced, and their names relative to the directory of
BUFFER are expected to match the relative file names in the ChangeLog
entry.

(fn BUFFER BEG END &rest FILES)
(defalias 'log-edit-changelog-insert-entries #[899 "`\301!\302\211\303#\210\304 \262\203F\211\203E\211@\212b\210\305\306\307\310	!\"\311Q\312#\203=\313\312\211\302\314%\210)A\266\202\202\210\212b\210\305\315\312#\205Y\313\316!\210\202J*\207" [case-fold-search buffer-file-name nil insert-buffer-substring point-marker re-search-forward "\\(^\\|[ 	]\\)\\(" file-relative-name file-name-directory "\\)[, :\n]" t replace-match 2 "^\\(	+\\)" ""] 16 (#$ . 34861)])
#@81 Given a list of files FILES, insert the ChangeLog entries for them.

(fn FILES)
(defalias 'log-edit-insert-changelog-entries #[257 "\301\211\211\203O\211@\302!\211@\301\211A\211\203F\211@B\262\303\n\"\211\262\2036\304A	C\"\241\210\202?D	B\262	A\266\202\202\266A\266\202\202\210\211\237\211\203l\211@\305\306\304@A\"\"\210\307c\210A\266\202\202R\210\211\203u\310\311!\210)\207" [log-edit-author nil log-edit-changelog-entries assoc append apply log-edit-changelog-insert-entries "\n" delete-char -1] 14 (#$ . 35716)])
#@111 Toggle a boolean-type header in the current buffer.
See `log-edit-set-header' for details.

(fn HEADER VALUE)
(defalias 'log-edit-toggle-header #[514 "\300\301#\207" [log-edit-set-header t] 6 (#$ . 36275)])
#@278 Set the value of HEADER to VALUE in the current buffer.
If TOGGLE is non-nil, and the value of HEADER already is VALUE,
clear it.  Make sure there is an empty line after the headers.
Return t if toggled on (or TOGGLE is nil), otherwise nil.

(fn HEADER VALUE &optional TOGGLE)
(defalias 'log-edit-set-header #[770 "\301\302\303R\212\214\304 \210e`}\210eb\210\305\306\307R\310\301#\203C\205(\311\312!\230?\211\262\2038\313\301\211#\210\202F\313\314\301\211\310\312%\210\202F\211c\210)\304 \210\315 \210\316\303!\204V\303c\210)\207" [log-edit-header-contents-regexp t ": " "\n" rfc822-goto-eoh re-search-forward "^" ":" nil match-string 1 replace-match "" delete-horizontal-space looking-at] 11 (#$ . 36491)])
#@645 Extract headers from VC commit COMMENT to form command line arguments.
HEADERS should be an alist with elements (HEADER . CMDARG)
or (HEADER . FUNCTION) associating headers to command line
options and the result is then a list of the form (MSG ARGUMENTS...)
where MSG is the remaining text from COMMENT.
FUNCTION should be a function of one argument that takes the
header value and returns the list of strings to be appended to
ARGUMENTS.  CMDARG will be added to ARGUMENTS followed by the
header value.  If "Summary" is not in HEADERS, then the
"Summary" header is extracted anyway and put back as the first
line of MSG.

(fn HEADERS COMMENT)
(defalias 'log-edit-extract-headers #[514 "\302\303\304\"r\211q\210\305\306\"\216c\210\307 \210e`}\210\304\310\211\311\312\"\203(\202,\313B\211\203\205\211@eb\210\314\315@\316	R\310\304#\203~\317\320!\321\322\304\211#\210A\304=\203W\262\2025\323A!\203jA!\244\262\210\2025\211B\262A\206v@B\262\210\2025A\266\202\202,\210~\210eb\210\324\325!\203\227\326\224\326\225|\210\203\240\327\261\210\330 )B\266\203*\207" [case-fold-search log-edit-header-contents-regexp generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] rfc822-goto-eoh nil assoc "Summary" ("Summary" . t) re-search-forward "^" ":" match-string 1 replace-match "" functionp looking-at "\\([ 	]*\n\\)+" 0 "\n\n" buffer-string] 13 (#$ . 37222)])
#@20 

(fn LAST-MSG-FN)
(defalias 'log-edit--toggle-amend #[257 "\300\301\302\"\205@db\210n\204\303c\210\211 c\210\212\304 \210\305y\210`\305y\306U\205=\307\310!\205=\311`S\"\312\313w\210`|\210\314\315\"\262\262)\207" [log-edit-toggle-header "Amend" "yes" "\n" rfc822-goto-eoh 1 0 looking-at "\n\\|\\'" buffer-substring-no-properties " \n" nil log-edit-set-header "Summary"] 6 (#$ . 38675)])
(provide 'log-edit)

Youez - 2016 - github.com/yon3zu
LinuXploit