⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loaddefs.el

📁 早期freebsd实现
💻 EL
📖 第 1 页 / 共 5 页
字号:
(autoload 'terminal-emulator "terminal"  "\Under a display-terminal emulator in BUFFER, run PROGRAM on arguments ARGS.ARGS is a list of argument-strings.  Remaining arguments are WIDTH and HEIGHT.BUFFER's contents are made an image of the display generated by that program,and any input typed when BUFFER is the current Emacs buffer is sent to thatprogram an keyboard input.Interactively, BUFFER defaults to \"*terminal*\" and PROGRAM and ARGSare parsed from an input-string using your usual shell.WIDTH and HEIGHT are determined from the size of the current window-- WIDTH will be one less than the window's width, HEIGHT will be its height.To switch buffers and leave the emulator, or to give commandsto the emulator itself (as opposed to the program running under it),type Control-^.  The following character is an emulator command.Type Control-^ twice to send it to the subprogram.This escape character may be changed using the variable `terminal-escape-char'.`Meta' characters may not currently be sent through the terminal emulator.Here is a list of some of the variables which control the behaviourof the emulator -- see their documentation for more information:terminal-escape-char, terminal-scrolling, terminal-more-processing,terminal-redisplay-interval.This function calls the value of terminal-mode-hook if that existsand is non-nil after the terminal buffer has been set up and thesubprocess started.Presently with `termcap' only; if somebody sends us code to make thiswork with `terminfo' we will try to use it."  t)(autoload 'latex-mode "tex-mode"  "\Major mode for editing files of input for LaTeX.Makes $ and } display the characters they match.Makes \" insert `` when it seems to be the beginning of a quotation,and '' when it appears to be the end; it inserts \" only after a \\.Use \\[TeX-region] to run LaTeX on the current region, plus the preamblecopied from the top of the file (containing \\documentstyle, etc.),running LaTeX under a special subshell.  \\[TeX-buffer] does the whole buffer.\\[TeX-print] prints the .dvi file made by either of these.Use \\[validate-TeX-buffer] to check buffer for paragraphs containingmismatched $'s or braces.Special commands:\\{TeX-mode-map}Mode variables:TeX-directory	Directory in which to create temporary files for TeX jobs	run by \\[TeX-region] or \\[TeX-buffer].TeX-dvi-print-command	Command string used by \\[TeX-print] to print a .dvi file.TeX-show-queue-command	Command string used by \\[TeX-show-print-queue] to show the print	queue that \\[TeX-print] put your job on.Entering LaTeX mode calls the value of text-mode-hook,then the value of TeX-mode-hook, and then the valueof LaTeX-mode-hook."  t)(autoload 'plain-tex-mode "tex-mode"  "\Major mode for editing files of input for plain TeX.Makes $ and } display the characters they match.Makes \" insert `` when it seems to be the beginning of a quotation,and '' when it appears to be the end; it inserts \" only after a \\.Use \\[TeX-region] to run TeX on the current region, plus a \"header\"copied from the top of the file (containing macro definitions, etc.),running TeX under a special subshell.  \\[TeX-buffer] does the whole buffer.\\[TeX-print] prints the .dvi file made by either of these.Use \\[validate-TeX-buffer] to check buffer for paragraphs containingmismatched $'s or braces.Special commands:\\{TeX-mode-map}Mode variables:TeX-directory	Directory in which to create temporary files for TeX jobs	run by \\[TeX-region] or \\[TeX-buffer].TeX-dvi-print-command	Command string used by \\[TeX-print] to print a .dvi file.TeX-show-queue-command	Command string used by \\[TeX-show-print-queue] to show the print	queue that \\[TeX-print] put your job on.Entering plain-TeX mode calls the value of text-mode-hook,then the value of TeX-mode-hook, and then the valueof plain-TeX-mode-hook."  t)(autoload 'tex-mode "tex-mode"  "\Major mode for editing files of input for TeX or LaTeX.Trys to intuit whether this file is for plain TeX or LaTeX andcalls plain-tex-mode or latex-mode.  If it cannot be determined(e.g., there are no commands in the file), the value ofTeX-default-mode is used."  t)(fset 'TeX-mode 'tex-mode)(fset 'plain-TeX-mode 'plain-tex-mode)(fset 'LaTeX-mode 'latex-mode)(autoload 'texinfo-mode "texinfo"  "\Major mode for editing texinfo files.These are files that are input for TEX and also to be turnedinto Info files by \\[texinfo-format-buffer].These files must be written in a very restricted andmodified version of TEX input format.As for editing commands, like text-mode except for syntax table,which is set up so expression commands skip texinfo bracket groups."  t)(autoload 'texinfo-format-buffer "texinfmt"  "\Process the current buffer as texinfo code, into an Info file.The Info file output is generated in a buffervisiting the Info file names specified in the @setfilename command.Non-nil argument (prefix, if interactive) means don't make tag tableand don't split the file if large.  You can use Info-tagify andInfo-split to do these manually."  t)(autoload 'texinfo-format-region "texinfmt"  "\Convert the the current region of the Texinfo file to Info format.This lets you see what that part of the file will look like in Info.The command is bound to \\[texinfo-format-region].  The text that isconverted to Info is stored in a temporary buffer."  t)(autoload 'batch-texinfo-format "texinfmt"  "\Runs  texinfo-format-buffer  on the files remaining on the command line.Must be used only with -batch, and kills emacs on completion.Each file will be processed even if an error occurred previously.For example, invoke  \"emacs -batch -funcall batch-texinfo-format $docs/ ~/*.texinfo\"."  nil)(autoload 'display-time "time"  "\Display current time and load level in mode line of each buffer.Updates automatically every minute.If display-time-day-and-date is non-nil, the current day and dateare displayed as well."  t)(autoload 'underline-region "underline"  "\Underline all nonblank characters in the region.Works by overstriking underscores.Called from program, takes two arguments START and ENDwhich specify the range to operate on."  t)(autoload 'ununderline-region "underline"  "\Remove all underlining (overstruck underscores) in the region.Called from program, takes two arguments START and ENDwhich specify the range to operate on."  t)(autoload 'ask-user-about-lock "userlock"  "\Ask user what to do when he wants to edit FILE but it is locked by USER.This function has a choice of three things to do:  do (signal 'buffer-file-locked (list FILE USER))    to refrain from editing the file  return t (grab the lock on the file)  return nil (edit the file even though it is locked).You can rewrite it to use any criterion you like to choose which one to do."  nil)(autoload 'ask-user-about-supersession-threat "userlock"  "\Ask a user who is about to modify an obsolete buffer what to do.This function has two choices: it can return, in which case the modificationof the buffer will proceed, or it can (signal 'file-supersession (file)),in which case the proposed buffer modification will not be made.You can rewrite this to use any criterion you like to choose which one to do."  nil)(autoload 'vi-mode "vi"  "\Major mode that acts like the `vi' editor.The purpose of this mode is to provide you the combined power of vi (namely,the \"cross product\" effect of commands and repeat last changes) and Emacs.This command redefines nearly all keys to look like vi commands.It records the previous major mode, and any vi command for input\(`i', `a', `s', etc.) switches back to that mode.Thus, ordinary Emacs (in whatever major mode you had been using)is \"input\" mode as far as vi is concerned.To get back into vi from \"input\" mode, you must issue this command again.Therefore, it is recommended that you assign it to a key.Major differences between this mode and real vi :* Limitations and unsupported features  - Search patterns with line offset (e.g. /pat/+3 or /pat/z.) are    not supported.  - Ex commands are not implemented; try ':' to get some hints.  - No line undo (i.e. the 'U' command), but multi-undo is a standard feature.* Modifications  - The stopping positions for some point motion commands (word boundary,    pattern search) are slightly different from standard 'vi'.    Also, no automatic wrap around at end of buffer for pattern searching.  - Since changes are done in two steps (deletion then insertion), you need    to undo twice to completely undo a change command.  But this is not needed    for undoing a repeated change command.  - No need to set/unset 'magic', to search for a string with regular expr    in it just put a prefix arg for the search commands.  Replace cmds too.  - ^R is bound to incremental backward search, so use ^L to redraw screen.* Extensions  - Some standard (or modified) Emacs commands were integrated, such as    incremental search, query replace, transpose objects, and keyboard macros.  - In command state, ^X links to the 'ctl-x-map', and ESC can be linked to    esc-map or set undefined.  These can give you the full power of Emacs.  - See vi-com-map for those keys that are extensions to standard vi, e.g.    `vi-name-last-change-or-macro', `vi-verify-spelling', `vi-locate-def',    `vi-mark-region', and 'vi-quote-words'.  Some of them are quite handy.  - Use \\[vi-switch-mode] to switch among different modes quickly.  Syntax table and abbrevs while in vi mode remain as they were in Emacs."  t)(autoload 'view-file "view"  "\View FILE in View mode, returning to previous buffer when done.The usual Emacs commands are not available; instead,a special set of commands (mostly letters and punctuation)are defined for moving around in the buffer.Space scrolls forward, Delete scrolls backward.For list of all View commands, type ? or h while viewing.Calls the value of  view-hook  if that is non-nil."  t)(autoload 'view-buffer "view"  "\View BUFFER in View mode, returning to previous buffer when done.The usual Emacs commands are not available; instead,a special set of commands (mostly letters and punctuation)are defined for moving around in the buffer.Space scrolls forward, Delete scrolls backward.For list of all View commands, type ? or h while viewing.Calls the value of  view-hook  if that is non-nil."  t)(autoload 'view-mode "view"  "\Major mode for viewing text but not editing it.Letters do not insert themselves.  Instead these commands are provided.Most commands take prefix arguments.  Commands dealing with linesdefault to \"scroll size\" lines (initially size of window).Search commands default to a repeat count of one.M-< or <	move to beginning of buffer.M-> or >	move to end of buffer.C-v or Space	scroll forward lines.M-v or DEL	scroll backward lines.CR or LF	scroll forward one line (backward with prefix argument).z		like Space except set number of lines for further		   scrolling commands to scroll by.C-u and Digits	provide prefix arguments.  `-' denotes negative argument.=		prints the current line number.g		goes to line given by prefix argument./ or M-C-s	searches forward for regular expression\\ or M-C-r	searches backward for regular expression.n		searches forward for last regular expression.p		searches backward for last regular expression.C-@ or .	set the mark.x		exchanges point and mark.C-s or s	do forward incremental search.C-r or r	do reverse incremental search.@ or '		return to mark and pops mark ring.		  Mark ring is pushed at start of every		  successful search and when jump to line to occurs.		  The mark is set on jump to buffer start or end.? or h		provide help message (list of commands).C-h		provides help (list of commands or description of a command).C-n		moves down lines vertically.C-p		moves upward lines vertically.C-l		recenters the screen.q or C-c	exit view-mode and return to previous buffer.Entry to this mode calls the value of  view-hook  if non-nil.\\{view-mode-map}")(autoload 'vip-mode "vip"  "\Begin emulating the vi editor.  This is distinct from `vi-mode'.This emulator has different capabilities from the `vi-mode' emulator.See the text at the beginning of the source file .../lisp/vip.elin the Emacs distribution."  t)(autoload 'yow "yow"  "\Return or display a Zippy quotation" t)(autoload 'psychoanalyze-pinhead "yow"  "\Zippy goes to the analyst." t)(define-key esc-map "\C-f" 'forward-sexp)(define-key esc-map "\C-b" 'backward-sexp)(define-key esc-map "\C-u" 'backward-up-list)(define-key esc-map "\C-@" 'mark-sexp)(define-key esc-map "\C-d" 'down-list)(define-key esc-map "\C-k" 'kill-sexp)(define-key esc-map "\C-n" 'forward-list)(define-key esc-map "\C-p" 'backward-list)(define-key esc-map "\C-a" 'beginning-of-defun)(define-key esc-map "\C-e" 'end-of-defun)(define-key esc-map "\C-h" 'mark-defun)(define-key esc-map "(" 'insert-parentheses)(define-key esc-map ")" 'move-past-close-and-reindent)(define-key esc-map "\t" 'lisp-complete-symbol)(define-key ctl-x-map "\C-e" 'eval-last-sexp)(define-key ctl-x-map "/" 'point-to-register)(define-key ctl-x-map "j" 'register-to-point)(define-key ctl-x-map "x" 'copy-to-register)(define-key ctl-x-map "g" 'insert-register)(define-key ctl-x-map "r" 'copy-rectangle-to-register)(define-key esc-map "q" 'fill-paragraph)(define-key esc-map "g" 'fill-region)(define-key ctl-x-map "." 'set-fill-prefix)(define-key esc-map "[" 'backward-paragraph)(define-key esc-map "]" 'forward-paragraph)(define-key esc-map "h" 'mark-paragraph)(define-key esc-map "a" 'backward-sentence)(define-k

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -