亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? perl-mode.el

?? 早期freebsd實現
?? EL
?? 第 1 頁 / 共 2 頁
字號:
;; Perl code editing commands for GNU Emacs;;   Copyright (C) 1990  William F. Mann;; Adapted from C code editing commands 'c-mode.el', Copyright 1987 by the;; Free Software Foundation, under terms of its General Public License.;; This file may be made part of GNU Emacs at the option of the FSF, or;; of the perl distribution at the option of Larry Wall.;; This code is distributed in the hope that it will be useful,;; but WITHOUT ANY WARRANTY.  No author or distributor;; accepts responsibility to anyone for the consequences of using it;; or for whether it serves any particular purpose or works at all,;; unless he says so in writing.  Refer to the GNU Emacs General Public;; License for full details.;; Everyone is granted permission to copy, modify and redistribute;; this code, but only under the conditions described in the;; GNU Emacs General Public License.   A copy of this license is;; supposed to have been given to you along with GNU Emacs so you;; can know your rights and responsibilities.  It should be in a;; file named COPYING.  Among other things, the copyright notice;; and this notice must be preserved on all copies.;; To enter perl-mode automatically, add (autoload 'perl-mode "perl-mode");; to your .emacs file and change the first line of your perl script to:;; #!/usr/bin/perl --	 # -*-Perl-*-;; With argments to perl:;; #!/usr/bin/perl -P-	 # -*-Perl-*-;; To handle files included with do 'filename.pl';, add something like;; (setq auto-mode-alist (append (list (cons "\\.pl$" 'perl-mode));;                               auto-mode-alist));; to your .emacs file; otherwise the .pl suffix defaults to prolog-mode.;; This code is based on the 18.53 version c-mode.el, with extensive;; rewriting.  Most of the features of c-mode survived intact.;; I added a new feature which adds functionality to TAB; it is controlled;; by the variable perl-tab-to-comment.  With it enabled, TAB does the;; first thing it can from the following list:  change the indentation;;; move past leading white space; delete an empty comment; reindent a;; comment; move to end of line; create an empty comment; tell you that;; the line ends in a quoted string, or has a # which should be a \#.;; If your machine is slow, you may want to remove some of the bindings;; to electric-perl-terminator.  I changed the indenting defaults to be;; what Larry Wall uses in perl/lib, but left in all the options.;; I also tuned a few things:  comments and labels starting in column;; zero are left there by indent-perl-exp; perl-beginning-of-function;; goes back to the first open brace/paren in column zero, the open brace;; in 'sub ... {', or the equal sign in 'format ... ='; indent-perl-exp;; (meta-^q) indents from the current line through the close of the next;; brace/paren, so you don't need to start exactly at a brace or paren.;; It may be good style to put a set of redundant braces around your;; main program.  This will let you reindent it with meta-^q.;; Known problems (these are all caused by limitations in the elisp;; parsing routine (parse-partial-sexp), which was not designed for such;; a rich language; writing a more suitable parser would be a big job):;; 1)  Regular expression delimitors do not act as quotes, so special;;       characters such as `'"#:;[](){} may need to be backslashed;;       in regular expressions and in both parts of s/// and tr///.;; 2)  The globbing syntax <pattern> is not recognized, so special;;       characters in the pattern string must be backslashed.;; 3)  The q, qq, and << quoting operators are not recognized; see below.;; 4)  \ (backslash) always quotes the next character, so '\' is;;       treated as the start of a string.  Use "\\" as a work-around.;; 5)  To make variables such a $' and $#array work, perl-mode treats;;       $ just like backslash, so '$' is the same as problem 5.;; 6)  Unfortunately, treating $ like \ makes ${var} be treated as an;;       unmatched }.  See below.;; 7)  When ' (quote) is used as a package name separator, perl-mode;;       doesn't understand, and thinks it is seeing a quoted string.;; Here are some ugly tricks to bypass some of these problems:  the perl;; expression /`/ (that's a back-tick) usually evaluates harmlessly,;; but will trick perl-mode into starting a quoted string, which;; can be ended with another /`/.  Assuming you have no embedded;; back-ticks, this can used to help solve problem 3:;;;;     /`/; $ugly = q?"'$?; /`/;;;;; To solve problem 6, add a /{/; before each use of ${var}:;;     /{/; while (<${glob_me}>) ...;;;; Problem 7 is even worse, but this 'fix' does work :-(;;     $DB'stop#';;         [$DB'line#';;          ] =~ s/;9$//;(defvar perl-mode-abbrev-table nil  "Abbrev table in use in perl-mode buffers.")(define-abbrev-table 'perl-mode-abbrev-table ())(defvar perl-mode-map ()  "Keymap used in Perl mode.")(if perl-mode-map    ()  (setq perl-mode-map (make-sparse-keymap))  (define-key perl-mode-map "{" 'electric-perl-terminator)  (define-key perl-mode-map "}" 'electric-perl-terminator)  (define-key perl-mode-map ";" 'electric-perl-terminator)  (define-key perl-mode-map ":" 'electric-perl-terminator)  (define-key perl-mode-map "\e\C-a" 'perl-beginning-of-function)  (define-key perl-mode-map "\e\C-e" 'perl-end-of-function)  (define-key perl-mode-map "\e\C-h" 'mark-perl-function)  (define-key perl-mode-map "\e\C-q" 'indent-perl-exp)  (define-key perl-mode-map "\177" 'backward-delete-char-untabify)  (define-key perl-mode-map "\t" 'perl-indent-command))(autoload 'c-macro-expand "cmacexp"  "Display the result of expanding all C macros occurring in the region.The expansion is entirely correct because it uses the C preprocessor."  t)(defvar perl-mode-syntax-table nil  "Syntax table in use in perl-mode buffers.")(if perl-mode-syntax-table    ()  (setq perl-mode-syntax-table (make-syntax-table (standard-syntax-table)))  (modify-syntax-entry ?\n ">" perl-mode-syntax-table)  (modify-syntax-entry ?# "<" perl-mode-syntax-table)  (modify-syntax-entry ?$ "/" perl-mode-syntax-table)  (modify-syntax-entry ?% "." perl-mode-syntax-table)  (modify-syntax-entry ?& "." perl-mode-syntax-table)  (modify-syntax-entry ?\' "\"" perl-mode-syntax-table)  (modify-syntax-entry ?* "." perl-mode-syntax-table)  (modify-syntax-entry ?+ "." perl-mode-syntax-table)  (modify-syntax-entry ?- "." perl-mode-syntax-table)  (modify-syntax-entry ?/ "." perl-mode-syntax-table)  (modify-syntax-entry ?< "." perl-mode-syntax-table)  (modify-syntax-entry ?= "." perl-mode-syntax-table)  (modify-syntax-entry ?> "." perl-mode-syntax-table)  (modify-syntax-entry ?\\ "\\" perl-mode-syntax-table)  (modify-syntax-entry ?` "\"" perl-mode-syntax-table)  (modify-syntax-entry ?| "." perl-mode-syntax-table))(defconst perl-indent-level 4  "*Indentation of Perl statements with respect to containing block.")(defconst perl-continued-statement-offset 4  "*Extra indent for lines not starting new statements.")(defconst perl-continued-brace-offset -4  "*Extra indent for substatements that start with open-braces.This is in addition to perl-continued-statement-offset.")(defconst perl-brace-offset 0  "*Extra indentation for braces, compared with other text in same context.")(defconst perl-brace-imaginary-offset 0  "*Imagined indentation of an open brace that actually follows a statement.")(defconst perl-label-offset -2  "*Offset of Perl label lines relative to usual indentation.")(defconst perl-tab-always-indent t  "*Non-nil means TAB in Perl mode should always indent the current line,regardless of where in the line point is when the TAB command is used.")(defconst perl-tab-to-comment t  "*Non-nil means that for lines which don't need indenting, TAB willeither indent an existing comment, move to end-of-line, or if at end-of-linealready, create a new comment.")(defconst perl-nochange ";?#\\|\f\\|\\s(\\|\\(\\w\\|\\s_\\)+:"  "*Lines starting with this regular expression will not be auto-indented.")(defun perl-mode ()  "Major mode for editing Perl code.Expression and list commands understand all Perl brackets.Tab indents for Perl code.Comments are delimited with # ... \\n.Paragraphs are separated by blank lines only.Delete converts tabs to spaces as it moves back.\\{perl-mode-map}Variables controlling indentation style: perl-tab-always-indent    Non-nil means TAB in Perl mode should always indent the current line,    regardless of where in the line point is when the TAB command is used. perl-tab-to-comment    Non-nil means that for lines which don't need indenting, TAB will    either delete an empty comment, indent an existing comment, move     to end-of-line, or if at end-of-line already, create a new comment. perl-nochange    Lines starting with this regular expression will not be auto-indented. perl-indent-level    Indentation of Perl statements within surrounding block.    The surrounding block's indentation is the indentation    of the line on which the open-brace appears. perl-continued-statement-offset    Extra indentation given to a substatement, such as the    then-clause of an if or body of a while. perl-continued-brace-offset    Extra indentation given to a brace that starts a substatement.    This is in addition to perl-continued-statement-offset. perl-brace-offset    Extra indentation for line if it starts with an open brace. perl-brace-imaginary-offset    An open brace following other text is treated as if it were    this far to the right of the start of its line. perl-label-offset    Extra indentation for line that is a label.Various indentation styles:       K&R  BSD  BLK  GNU  LW  perl-indent-level                5    8    0    2    4  perl-continued-statement-offset  5    8    4    2    4  perl-continued-brace-offset      0    0    0    0   -4  perl-brace-offset               -5   -8    0    0    0  perl-brace-imaginary-offset      0    0    4    0    0  perl-label-offset               -5   -8   -2   -2   -2Turning on Perl mode calls the value of the variable perl-mode-hook with no args, if that value is non-nil."  (interactive)  (kill-all-local-variables)  (use-local-map perl-mode-map)  (setq major-mode 'perl-mode)  (setq mode-name "Perl")  (setq local-abbrev-table perl-mode-abbrev-table)  (set-syntax-table perl-mode-syntax-table)  (make-local-variable 'paragraph-start)  (setq paragraph-start (concat "^$\\|" page-delimiter))  (make-local-variable 'paragraph-separate)  (setq paragraph-separate paragraph-start)  (make-local-variable 'paragraph-ignore-fill-prefix)  (setq paragraph-ignore-fill-prefix t)  (make-local-variable 'indent-line-function)  (setq indent-line-function 'perl-indent-line)  (make-local-variable 'require-final-newline)  (setq require-final-newline t)  (make-local-variable 'comment-start)  (setq comment-start "# ")  (make-local-variable 'comment-end)  (setq comment-end "")  (make-local-variable 'comment-column)  (setq comment-column 32)  (make-local-variable 'comment-start-skip)  (setq comment-start-skip "\\(^\\|\\s-\\);?#+ *")  (make-local-variable 'comment-indent-hook)  (setq comment-indent-hook 'perl-comment-indent)  (make-local-variable 'parse-sexp-ignore-comments)  (setq parse-sexp-ignore-comments nil)  (run-hooks 'perl-mode-hook));; This is used by indent-for-comment;; to decide how much to indent a comment in Perl code;; based on its context.(defun perl-comment-indent ()  (if (and (bolp) (not (eolp)))      0					;Existing comment at bol stays there.    (save-excursion      (skip-chars-backward " \t")      (max (1+ (current-column))	;Else indent at comment column	   comment-column))))		; except leave at least one space.(defun electric-perl-terminator (arg)  "Insert character.  If at end-of-line, and not in a comment or a quote,correct the line's indentation."  (interactive "P")  (let ((insertpos (point)))    (and (not arg)			; decide whether to indent	 (eolp)	 (save-excursion	   (beginning-of-line)	   (and (not			; eliminate comments quickly		 (re-search-forward comment-start-skip insertpos t)) 		(or (/= last-command-char ?:)		    ;; Colon is special only after a label ....		    (looking-at "\\s-*\\(\\w\\|\\s_\\)+$"))		(let ((pps (parse-partial-sexp 			    (perl-beginning-of-function) insertpos)))		  (not (or (nth 3 pps) (nth 4 pps) (nth 5 pps))))))	 (progn				; must insert, indent, delete	   (insert-char last-command-char 1)	   (perl-indent-line)	   (delete-char -1))))  (self-insert-command (prefix-numeric-value arg)));; not used anymore, but may be useful someday:;;(defun perl-inside-parens-p ();;  (condition-case ();;      (save-excursion;;	(save-restriction;;	  (narrow-to-region (point);;			    (perl-beginning-of-function));;	  (goto-char (point-max));;	  (= (char-after (or (scan-lists (point) -1 1) (point-min))) ?\()));;    (error nil)))(defun perl-indent-command (&optional arg)  "Indent current line as Perl code, or optionally, insert a tab character.With an argument, indent the current line, regardless of other options.If perl-tab-always-indent is nil and point is not in the indentationarea at the beginning of the line, simply insert a tab.Otherwise, indent the current line.  If point was within the indentationarea it is moved to the end of the indentation area.  If the line wasalready indented properly and point was not within the indentation area,and if perl-tab-to-comment is non-nil (the default), then do the firstpossible action from the following list:  1) delete an empty comment  2) move forward to start of comment, indenting if necessary  3) move forward to end of line  4) create an empty comment  5) move backward to start of comment, indenting if necessary."  (interactive "P")  (if arg				; If arg, just indent this line      (perl-indent-line "\f")    (if (and (not perl-tab-always-indent)	     (<= (current-column) (current-indentation)))	(insert-tab)      (let (bof lsexp delta (oldpnt (point)))	(beginning-of-line) 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99riav一区二区三区| 国产精品一区二区久激情瑜伽| 日韩av网站在线观看| 极品少妇xxxx偷拍精品少妇| 成人爱爱电影网址| 777亚洲妇女| 亚洲欧美区自拍先锋| 国产一区二区三区香蕉| 在线观看免费成人| 欧美国产禁国产网站cc| 欧美96一区二区免费视频| 91浏览器打开| 久久精品一区二区三区四区| 日韩精品欧美精品| 色视频一区二区| 国产精品视频免费| 蜜桃精品视频在线| 欧美自拍偷拍午夜视频| 亚洲三级在线看| 国产成人aaa| 久久久精品天堂| 蜜臀久久99精品久久久久久9| 一本色道a无线码一区v| 亚洲国产成人在线| 国产一区二区三区黄视频| 欧美一区二区三区啪啪| 一个色综合网站| 91日韩在线专区| 综合自拍亚洲综合图不卡区| 高清不卡一二三区| 国产亚洲女人久久久久毛片| 裸体健美xxxx欧美裸体表演| 欧美高清视频一二三区| 午夜电影一区二区三区| 欧美日韩高清不卡| 亚洲国产欧美在线| 欧美日韩一区二区三区在线看| 一区二区在线观看视频| 欧美影片第一页| 亚洲综合色丁香婷婷六月图片| 日本韩国一区二区三区| 国产日产欧产精品推荐色 | 欧美二区三区的天堂| 亚洲制服丝袜一区| 欧美日本在线播放| 日韩av不卡在线观看| 日韩三区在线观看| 国产另类ts人妖一区二区| 久久久欧美精品sm网站| 东方欧美亚洲色图在线| 国产精品久久777777| 色综合色狠狠天天综合色| 亚洲欧美电影一区二区| 欧美三片在线视频观看| 蜜桃视频第一区免费观看| 日韩亚洲欧美中文三级| 国产高清一区日本| 亚洲欧洲日韩一区二区三区| 欧美日韩综合在线免费观看| 伦理电影国产精品| 国产精品视频yy9299一区| 色婷婷综合久色| 日本欧美久久久久免费播放网| 精品国产一区二区三区忘忧草| 国产精品自拍网站| 一区二区三区在线不卡| 欧美一区二区三区电影| 成人av手机在线观看| 亚洲国产成人高清精品| 精品少妇一区二区三区在线播放| 成人国产一区二区三区精品| 亚洲国产一二三| 中文字幕精品一区二区精品绿巨人| 日本丶国产丶欧美色综合| 久久99热这里只有精品| 亚洲蜜臀av乱码久久精品蜜桃| 欧美一级搡bbbb搡bbbb| 99久久久免费精品国产一区二区| 美腿丝袜亚洲综合| 成人欧美一区二区三区白人| 日韩一区二区中文字幕| k8久久久一区二区三区| 美女网站色91| 亚洲一区二区三区激情| 久久免费午夜影院| 欧美日本视频在线| 色综合久久中文字幕| 国产一区二区三区国产| 亚洲高清免费在线| 国产精品久久久久久久久免费丝袜 | 成人app软件下载大全免费| 日韩不卡一二三区| 亚洲精品视频一区二区| 亚洲国产激情av| 欧美成人精品福利| 欧美理论片在线| 在线免费观看日本一区| 成人精品一区二区三区中文字幕| 日韩成人精品在线| 天堂va蜜桃一区二区三区漫画版| 亚洲视频狠狠干| 国产精品全国免费观看高清| 日韩你懂的在线播放| 欧美丰满少妇xxxxx高潮对白| 91亚洲永久精品| 成人aaaa免费全部观看| 东方欧美亚洲色图在线| 国产精品影视在线| 韩国v欧美v日本v亚洲v| 精品一区二区三区久久久| 奇米影视7777精品一区二区| 日韩高清不卡一区二区三区| 亚洲午夜一区二区| 亚洲一区免费在线观看| 亚洲一区二区三区四区中文字幕| 18成人在线视频| 国产精品久久久久久久蜜臀| 国产精品久99| 亚洲六月丁香色婷婷综合久久 | 一区二区三区四区在线播放| 亚洲女同ⅹxx女同tv| 亚洲免费观看高清完整版在线观看熊 | 亚洲精选视频在线| 亚洲免费av网站| 亚洲在线观看免费| 性欧美疯狂xxxxbbbb| 日韩国产欧美在线视频| 蜜臀av性久久久久蜜臀aⅴ四虎 | 亚洲福利国产精品| 午夜精品一区二区三区电影天堂| 视频一区二区欧美| 久久精品99久久久| 成人一区二区三区中文字幕| av一本久道久久综合久久鬼色| 91精品福利在线| 欧美日韩电影在线播放| 精品剧情v国产在线观看在线| 国产欧美一区二区精品秋霞影院 | 精品日韩一区二区三区免费视频| 日韩欧美三级在线| 国产日产亚洲精品系列| 夜夜嗨av一区二区三区中文字幕| 亚洲bdsm女犯bdsm网站| 久久99热这里只有精品| aaa欧美色吧激情视频| 欧美日韩第一区日日骚| 久久看人人爽人人| 亚洲久草在线视频| 精品一区二区免费在线观看| 99精品一区二区三区| 91麻豆精品国产91久久久| 国产调教视频一区| 性久久久久久久| 菠萝蜜视频在线观看一区| 欧美日韩国产大片| 中文字幕免费不卡在线| 婷婷久久综合九色综合伊人色| 国产美女娇喘av呻吟久久| 色婷婷国产精品综合在线观看| 精品国产一区二区亚洲人成毛片| 综合久久综合久久| 久久99精品国产麻豆不卡| 91黄色小视频| 久久精品人人做人人爽人人| 亚洲成人午夜影院| 9i看片成人免费高清| 精品电影一区二区| 亚洲国产成人91porn| av不卡一区二区三区| www激情久久| 日韩中文字幕不卡| av在线不卡电影| 久久久久九九视频| 日韩成人一区二区| 欧美色图天堂网| 1区2区3区精品视频| 福利电影一区二区| 精品国产自在久精品国产| 亚洲aaa精品| 精品污污网站免费看| 亚洲日本在线看| av日韩在线网站| 欧美国产欧美综合| 国产美女一区二区| ww久久中文字幕| 麻豆国产一区二区| 欧美一区二区视频在线观看| 亚洲国产一区二区三区| 在线中文字幕一区| 最新成人av在线| fc2成人免费人成在线观看播放| 久久精品这里都是精品| 经典三级视频一区| 欧美精品一区二区三区很污很色的| 日本中文字幕一区二区有限公司| 欧美视频一区二区三区四区| 亚洲午夜一区二区| 精品污污网站免费看| 亚洲成av人片一区二区三区| 欧美三级电影网|