?
Current Path : /usr/share/emacs/24.3/lisp/vc/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/vc/log-edit.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:53 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/vc/log-edit.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (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-diff) ("" . 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) (#$ . 840)) (defvar vc-log-mode-map log-edit-mode-map) (defvar vc-log-entry-mode vc-log-mode-map) #@32 Menu used for `log-edit-mode'. (defvar log-edit-menu nil (#$ . 1477)) (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\313\314\315\335&\210\305\336\307\310\337DD\340\313\314\315\341&\210\305\342\307\310\343DD\344\313\314\315\345&\210\305\346\307\310\347DD\350\315\322\351\352\313\314\353\354&\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 "\n\n(fn)"] "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 "\n\n(fn)"] "If non-nil, don't hide the buffer after `log-edit-done'." boolean log-edit-require-final-newline #[0 "\300\207" [t] 1 "\n\n(fn)"] "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 "\n\n(fn)"] "Non-nil means `log-edit' should invert the meaning of its SETUP arg.\nIf SETUP is 'force, this variable has no effect." log-edit-hook #[0 "\300\207" [(log-edit-insert-cvs-template log-edit-show-files log-edit-insert-changelog)] 1 "\n\n(fn)"] "Hook run at the end of `log-edit'." (hook :options (log-edit-insert-changelog log-edit-insert-cvs-rcstemplate log-edit-insert-cvs-template log-edit-insert-filenames)) log-edit-mode-hook #[0 "\301\300!\205 \207" [vc-log-mode-hook boundp] 2 "\n\n(fn)"] "Hook run when entering `log-edit-mode'." hook log-edit-done-hook #[0 "\300\207" [nil] 1 "\n\n(fn)"] "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 "\n\n(fn)"] "If non-nil, remove file name from single-file log entries." :safe booleanp :version "24.1"] 12) #@955 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 (#$ . 4910)) (defconst log-edit-files-buf "*log-edit-files*") (defvar log-edit-initial-files nil) (defvar log-edit-callback nil) (defvar log-edit-diff-function nil) (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 (#$ . 6146)) #@55 Maximum number of saved comments in the comment ring. (defconst log-edit-maximum-comment-ring-size 32 (#$ . 6242)) (byte-code "\300\301\302\303#\210\304\211\203( \211@\301N\203! \302N\204! \305\302\301N#\210A\266\202\202 \210\306\301\302\307#\207" [defvaralias vc-comment-ring log-edit-comment-ring nil (saved-value saved-variable-comment) put make-obsolete-variable "22.1"] 7) (defvar log-edit-comment-ring (make-ring log-edit-maximum-comment-ring-size)) (byte-code "\300\301\302\303#\210\304\211\203( \211@\301N\203! \302N\204! \305\302\301N#\210A\266\202\202 \210\306\301\302\307#\207" [defvaralias vc-comment-ring-index log-edit-comment-ring-index nil (saved-value saved-variable-comment) put make-obsolete-variable "22.1"] 7) (defvar log-edit-comment-ring-index nil) (defvar log-edit-last-comment-match "") #@127 Return the comment index STRIDE elements from the current one. LEN is the length of `log-edit-comment-ring'. (fn STRIDE LEN) (defalias 'log-edit-new-comment-index #[514 "\301\203 \\\202 \302V\203 S\202 \"\207" [log-edit-comment-ring-index mod 0] 5 (#$ . 7073)]) #@101 Cycle backwards through 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 \202&