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

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

?? matlab-eei.el

?? Servlet,處理客戶端輸入,調查問卷,發送非HTML文檔,獲取Servlet配置參數,Cookie會話跟蹤
?? EL
?? 第 1 頁 / 共 4 頁
字號:
;;; matlab-eei.el --- major mode for MATLAB dot-m files;;; $Revision: 1.2.4.2 $;; Author: Paul Kinnucan <paulk@mathworks.com>;; Maintainer: Paul Kinnucan <paulk@mathworks.com>;; Created: May 2, 2000;; Version: 1.0;; Keywords: MATLAB;;;; LCD Archive Entry:;; matlab|Paul Kinnucan|paulk@mathworks.com|;; Major mode for editing and debugging MATLAB dot-m files|;; May-00|1.0|~/modes/matlab-eei.el|;;;; Copyright 2000-2004 The MathWorks, Inc.;;;; This program is free software; you can redistribute it and/or modify;; it under the terms of the GNU General Public License as published by;; the Free Software Foundation; either version 2, or (at your option);; any later version.;;;; This program is distributed in the hope that it will be useful,;; but WITHOUT ANY WARRANTY; without even the implied warranty of;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the;; GNU General Public License for more details.;;;; You should have received a copy of the GNU General Public License;; along with GNU Emacs; see the file COPYING.  If not, write to;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.;;;;; Commentary:;;;;; Finding Updates:;;;; The latest stable version of matlab.el can be found here:;;;; ftp://ftp.mathworks.com/pub/contrib/emacs_add_ons/matlab-eei.el;;;;; Installation:;;(require 'cl)(require 'wid-edit)(require 'matlab-vdm)(defconst matlab-eei-xemacsp (string-match "XEmacs" (emacs-version))  "Non-nil if we are running in the XEmacs environment.")(defconst matlab-eei-new-m-file-name "untitled"  "Name of a new m-file.")(defvar matlab-eei-new-m-file-count 0  "Number of new m-files created thus far in this session.")(defun matlab-eei-eval-output (lisp-form)  "Evaluates Lisp forms output by eei."  ;; (message lisp-form)  (condition-case error-desc      (eval (read lisp-form))    (error      (message       "Error: evaluating output from the MATLAB EEI caused a Lisp error.")     (message "EEI output: %s." lisp-form)     (message "Lisp error: %s" error-desc))))(defun matlab-eei-extract-lisp-form (eei-output)"Extract first complete Lisp form from eei output.Returns (FORM . REMAINDER) where FORM is the Lisp formor the null string and REMAINDER is the remainder of theeei output following the Lisp form."  (let ((lisp-form "")	(remainder "")	(level 0)	in-string-p	in-escape-p	(curr-pos 1)	(output-length (length eei-output))	command-end	lisp-form-end)    (setq      lisp-form-end     (catch 'found-lisp-form       ;; skip over any inital white space.       (string-match "^[\n\t ]*(" eei-output)       (setq curr-pos (match-end 0))       (while (< curr-pos output-length)	 (cond 	  ;; Current character = left slash (escape)	  ((equal (aref eei-output curr-pos) ?\\)	   (if in-string-p	       (setq in-escape-p (not in-escape-p))))	  	  ;; Current character = quotation mark	  ((equal (aref eei-output curr-pos) ?\")	   (if in-string-p	       (if in-escape-p		   (setq in-escape-p nil)		 (setq in-string-p nil))	     (setq in-string-p t)))	  ;; Current character = right paren	  ((and	    (not in-string-p)	    (equal (aref eei-output curr-pos) ?\)))	     (if (= level 0)		 (throw 'found-lisp-form curr-pos)	       (setq level (1- level))	       (if (< level 0)		   (error "Error parsing eei output."))))	  ;; Current character = left paren	  ((and	    (not in-string-p)	    (equal (aref eei-output curr-pos) ?\()	       (setq level (1+ level))))	  (t	   (if in-escape-p	       (setq in-escape-p nil))))	 (setq curr-pos (1+ curr-pos)))       -1))    (if (> lisp-form-end 1)	(progn	  (setq lisp-form (substring eei-output 0 (1+ lisp-form-end)))	  (when (< lisp-form-end (1- output-length))	    (setq remainder (substring eei-output (1+ lisp-form-end) output-length))	    (if (string-match "(" remainder)		(setq remainder (substring remainder (string-match "(" remainder)))	      (setq remainder ""))))      (setq remainder eei-output))    (cons lisp-form remainder)))(defvar matlab-eei-standard-comint-filter nil  "Standard process filter for comint buffers.")(defvar matlab-eei-output nil  "Contains output from the eei.")(defun matlab-eei-asynch-output-listener (process output)  "Listens at the eei socket for asynchronous eei output."  (let* ((combined-output (concat matlab-eei-output output))	 (parsed-output 	  (if (string-match "^[\n\t ]*(" combined-output)	      (matlab-eei-extract-lisp-form combined-output)))			 (lisp-form (car parsed-output))	 (remainder (cdr parsed-output))	 forms)        ;; (message "asynch form: %s" lisp-form)    ;; (message "asynch remainder: %s" remainder)    ;; Insert output in MATLAB EEI buffer.    (funcall matlab-eei-standard-comint-filter process output)    ;; Extract forms from eei output.    (while (not (string= lisp-form ""))      ;; (message "   evaluating %s" lisp-form)      (setq forms (append forms (list lisp-form)))      (setq parsed-output	    (matlab-eei-extract-lisp-form remainder))      (setq lisp-form (car parsed-output))      (setq remainder (cdr parsed-output)))    (setq matlab-eei-output remainder)    (if forms	(mapc (lambda (form) (matlab-eei-eval-output form))	      forms))))(defvar matlab-eei-process nil  "Process object for MATLAB EEI process.")(defun matlab-eei-process-sentinel (process status)  "Sentinel function invoked by Emacs when MATLAB exits.This function invokes the standard Emacs exit function`save-buffers-kill-emacs'."  (if (string-match "exited" status)      (save-buffers-kill-emacs)));;;###autoload(defun matlab-eei-connect ()  "Connects Emacs to MATLAB's external editor interfaceon socket 5600."  (let* ((matlab-editor-port 5600)	 (matlab-eei-buffer-name "MATLAB EEI")	 (matlab-eei-buffer 	  (make-comint 	   "MATLAB EEI" 	   (cons (system-name) matlab-editor-port))))    (setq matlab-eei-process (get-process matlab-eei-buffer-name))    (process-kill-without-query matlab-eei-process)           (set-process-sentinel matlab-eei-process 'matlab-eei-process-sentinel)    (setq matlab-eei-standard-comint-filter 'comint-output-filter)    (set-process-filter matlab-eei-process			'matlab-eei-asynch-output-listener)    (add-hook 'matlab-mode-hook 'matlab-eei-setup-matlab-mode)    (setq matlab-eei-new-m-file-count 0)    (matlab-eei-send-mcmd "get_stop_conditions")    (matlab-eei-send-mcmd "update_debug_mode_status")))(defun matlab-eei-setup-matlab-mode ()  "Sets up matlab-mode in a newly opened m-file."  (matlab-eei-minor-mode)  (make-local-hook 'after-save-hook)  (add-hook 'after-save-hook 'matlab-eei-reset-breakpoints nil t)  (make-local-hook 'after-revert-hook)  (add-hook 'after-revert-hook 'matlab-eei-reset-breakpoints nil t)  (matlab-eei-send-mcmd (format "init_breakpoints %s"				(buffer-file-name)))  (matlab-eei-send-mcmd "update_stack")  (turn-on-matlab-vdm-mode))(defun matlab-eei-send-mcmd (command &optional synch)  "Sends an MEI M Command to the MATLAB side of the MEI interfaceand waits for a response."  ;; (message "mcmd: command = %s synch = %s" command  ;;   (if synch "yes" "no"))  (if (and matlab-eei-process	   (eq (process-status matlab-eei-process) 'open))      (progn	(setq matlab-eei-last-event nil)	(process-send-string matlab-eei-process (concat command "\n"))	(if synch	    (accept-process-output matlab-eei-process 10 0))))); (defun matlab-eei-eval-m-expr (expr);   "Send EXPR to MATLAB for evaluation. EXPR can be any valid; MATLAB expression, including multiline expressions. This; command prepends and appends a line containing a single quotation; mark to EXPR to indicate its beginning and end, respectively.; For this reason, EXPR may not contain a line containing a single; quotation mark.";   (if (string-match "\n\"\n" expr);       (error (concat "Cannot evaluate an expression containing "; 		       "a quotation mark by itself on a line."));     (process-send-string matlab-eei-process ; 		       (format "eval\n\"\n%s\n\"\n" expr))))(defun matlab-eei-eval-m-expr (expr)  "Send EXPR to MATLAB for evaluation. EXPR can be any validMATLAB expression, including multiline expressions."  (process-send-string matlab-eei-process 		       (format "eval %d\n%s" (length expr) expr))) (defvar matlab-eei-last-event nil"Debug event that followed the last command.")(defun matlab-eei-wait-for-event ()  "Waits for an event to occur. Returns the event or \"timeout\" if noevent occurred within 10 seconds."  (if matlab-eei-last-event      matlab-eei-last-event    (accept-process-output matlab-eei-process 10 0)    (or matlab-eei-last-event "timeout")))(defun matlab-eei-mcmd-quit ()  "Tells MATLAB to exit from eei mode."  (matlab-eei-send-mcmd "quit"))(defun matlab-eei-ready ()  "E-message sent by MATLAB when it is ready to accept a command."  (setq matlab-eei-last-event nil))(defcustom matlab-eei-reuse-frame t  "If non-nil causes Emacs to reuse the current frame toopen a new file."  :group 'matlab  :type 'boolean)	 (defun matlab-eei-find-file (filename &optional wildcards)  "Open file FILENAME."  (let ((file 	 (if (string-match "\\.p$" filename)	     (concat (file-name-sans-extension filename) ".m")	   filename)))    (if (file-exists-p file)	(let ((buffer (find-file-noselect file t nil)))	  (if (string= (buffer-name (current-buffer)) 		       matlab-eei-stack-navigator-name)	      (other-window 1))	  (if (listp buffer)	      (progn		(setq buffer (nreverse buffer))		(if matlab-eei-reuse-frame		    (progn		      (switch-to-buffer-other-frame (car buffer))		      (setq buffer (cdr buffer))))		(mapcar 'switch-to-buffer buffer))	    (if matlab-eei-reuse-frame		(switch-to-buffer buffer)	      (switch-to-buffer-other-frame buffer))))      (message "Error: Cannot find %s" file))))(defun matlab-eei-new-document (content)   "Creates a new M-file buffer containing CONTENT.This function implements the newDocument method ofMATLAB's ExternalEditorInterface."  (setq matlab-eei-new-m-file-count	(1+ matlab-eei-new-m-file-count))  (switch-to-buffer    (create-file-buffer     (if (= matlab-eei-new-m-file-count 1)	(concat 	 matlab-eei-new-m-file-name	 ".m")      (concat       matlab-eei-new-m-file-name       (number-to-string matlab-eei-new-m-file-count)       ".m")))    nil)   (if (not (string= content "null"))       (insert content))   (matlab-mode))(defun matlab-eei-open-document (docpath)  "Opens the document specified by DOCPATH.This function implements the OpenDocument methodof the MATLAB ExternalEditorInterface."  (matlab-eei-find-file docpath))(defun matlab-eei-open-document-to-line (docpath line to-front highlight)  "Opens the document specified by DOCPATH to theline specified by LINE. If TO-FRONT is non-nil, this functionraises the Emacs frame to the front of the user's desktop. If HIGHLIGHT is non-nil, this function highlights the line specified byLINE-NO. This function implements the openDocumentToLine method ofMATLAB's ExternalEditorInterface."  ;; (message "open-document-to-line: doc: %s, line: %s" docpath line)  (matlab-eei-find-file docpath)  ;; If the user issues a step command and the current line is  ;; the last line in a function, MATLAB issues an open-document-to-line  ;; command with the line number equal to the negative of the last line  ;; in the M-file and then issues a stop event with the same negative  ;; line number. In this case, we ignore the line positioning.  ;;  (if (> line -1)      (progn	(goto-line line)	(if matlab-eei-matlab-in-debug-mode-p	    (matlab-eei-move-debug-cursor docpath line))	(if to-front (raise-frame))	;; The following never occurs for some reason.	;; (if highlight	;;    (matlab-eei-breakpoint-highlight-create line))	))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;                                                               ;;;; Set and Clear Breakpoints                                     ;;;;                                                               ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;(defcustom matlab-eei-breakpoint-marker-colors (cons "black" "orange red")"*Specifies the foreground and background colors of the debugger'sbreakpoint marker."  :group 'matlab  :type '(cons :tag "Colors"	  (string :tag "Foreground") 	  (string :tag "Background"))  :set '(lambda (sym val)	  (make-face 'matlab-eei-breakpoint-marker)	  (set-face-foreground 'matlab-eei-breakpoint-marker (car val))	  (set-face-background 'matlab-eei-breakpoint-marker (cdr val))	  (set-default sym val)))(defcustom matlab-eei-provisional-breakpoint-marker-colors (cons "red" "orange")"*Specifies the foreground and background colors of the debugger'sprovisional breakpoint marker. A provisional breakpoint is a breakpoint that MATLABhas not yet confirmed as existing."  :group 'matlab  :type '(cons :tag "Colors"	  (string :tag "Foreground") 	  (string :tag "Background"))  :set '(lambda (sym val)	  (make-face 'matlab-eei-provisional-breakpoint-marker)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美主播一区二区三区| 99久久免费视频.com| 亚洲一区二区三区三| 亚洲激情欧美激情| 亚洲韩国精品一区| 亚洲最新视频在线播放| 亚洲午夜免费福利视频| 亚洲在线观看免费视频| 洋洋av久久久久久久一区| 亚洲成人在线网站| 麻豆国产欧美日韩综合精品二区| 蜜臀va亚洲va欧美va天堂 | 日韩精品一区国产麻豆| 欧美丰满一区二区免费视频| 91精品国产综合久久久久久 | jiyouzz国产精品久久| 国产 日韩 欧美大片| 成人黄色综合网站| 91视频观看免费| 欧美片网站yy| 精品免费日韩av| 中文字幕一区日韩精品欧美| 亚洲久草在线视频| 青娱乐精品在线视频| 国产美女精品人人做人人爽| 成人av免费观看| 欧美日韩在线一区二区| 精品乱码亚洲一区二区不卡| 中文字幕欧美国产| 亚洲一区二区三区四区的| 久久草av在线| 91色综合久久久久婷婷| 日韩欧美一级片| 综合婷婷亚洲小说| 久久国产精品72免费观看| 99国产精品久久久| 日韩精品一区二区三区视频在线观看| 久久先锋影音av| 国产精品自在欧美一区| 日韩视频在线你懂得| 国产日韩亚洲欧美综合| 国产精品网站一区| 欧美日韩视频在线观看一区二区三区| 欧美一区二区三区爱爱| 欧美激情在线一区二区三区| 亚洲成人免费影院| 成人一区二区三区中文字幕| 欧美日韩国产系列| 亚洲欧洲精品天堂一级 | 中文字幕亚洲综合久久菠萝蜜| 亚洲成人久久影院| 成人精品一区二区三区中文字幕| 欧美三级视频在线| 国产精品理论片在线观看| 精品一区二区日韩| 在线不卡一区二区| 亚洲综合网站在线观看| 成人福利电影精品一区二区在线观看| 午夜欧美视频在线观看| 国产精品亲子伦对白| 久久天堂av综合合色蜜桃网| 亚洲第一久久影院| 91电影在线观看| 中文幕一区二区三区久久蜜桃| 麻豆精品国产传媒mv男同| 欧美在线视频你懂得| 一区二区三区中文字幕在线观看| 国产黄色精品网站| 久久久欧美精品sm网站| 精品一区二区三区在线播放视频| 91精品久久久久久久99蜜桃| 天天综合网 天天综合色| 欧美色网站导航| 亚洲一区二区三区在线播放| 99久久精品免费| 亚洲啪啪综合av一区二区三区| 成人免费va视频| 国产精品麻豆视频| 成人在线一区二区三区| 国产精品妹子av| 成人app在线| 亚洲日本韩国一区| 欧美视频一区二区三区| 婷婷开心激情综合| 欧美一区二区三区播放老司机| 日本不卡一区二区| 欧美大片一区二区三区| 国产精品亚洲视频| 中文字幕在线不卡一区二区三区| 99久久精品免费精品国产| 一区二区免费在线| 欧美日韩国产区一| 韩日欧美一区二区三区| 国产日韩欧美一区二区三区乱码 | 欧洲视频一区二区| 天天av天天翘天天综合网色鬼国产 | 五月婷婷另类国产| 欧美xingq一区二区| 国产精品综合久久| 亚洲天堂免费看| 91精品国产色综合久久ai换脸 | 欧美在线观看一区二区| 日韩精品乱码av一区二区| 精品免费视频.| 91麻豆免费在线观看| 天天色综合天天| 久久久精品国产免大香伊 | 久久99国产精品尤物| 欧美激情一区二区三区| 色噜噜狠狠色综合中国| 黄色精品一二区| 亚洲乱码一区二区三区在线观看| 欧美放荡的少妇| 国产成人精品一区二| 亚洲v日本v欧美v久久精品| 久久综合久久99| 欧美在线观看视频一区二区| 九九国产精品视频| 亚洲综合一二区| 中文字幕欧美激情| 日韩小视频在线观看专区| aaa欧美日韩| 狠狠色狠狠色合久久伊人| 一区二区三区中文字幕| 久久久久久9999| 欧美顶级少妇做爰| 一本色道久久综合精品竹菊| 国产在线一区观看| 亚洲成a人v欧美综合天堂下载| 欧美国产精品中文字幕| 欧美一个色资源| 欧美色涩在线第一页| 成人爱爱电影网址| 黄色小说综合网站| 蜜臀精品一区二区三区在线观看 | 精品国产亚洲在线| 欧美日韩国产一级片| 91福利视频久久久久| 成人性色生活片免费看爆迷你毛片| 亚洲成人av一区二区| 一区二区成人在线视频| 中文字幕在线不卡视频| 日本一区二区综合亚洲| 99久久精品免费| caoporen国产精品视频| 北条麻妃国产九九精品视频| 国产一区二区不卡在线| 国产综合久久久久久鬼色 | 中文字幕一区二区三区av| 久久亚洲精品国产精品紫薇| 欧美不卡一二三| 91精品蜜臀在线一区尤物| 9191精品国产综合久久久久久| 欧美性生活久久| 欧美三级电影网站| 4438x成人网最大色成网站| 欧美群妇大交群的观看方式| 欧美日韩一级片在线观看| 欧美午夜精品一区二区蜜桃| 欧美无砖砖区免费| 91.xcao| 日韩免费一区二区| 久久天堂av综合合色蜜桃网| 久久久久久久av麻豆果冻| 中文一区在线播放| 中文字幕在线观看不卡| 夜夜嗨av一区二区三区网页| 午夜久久久久久电影| 青青草原综合久久大伊人精品优势| 三级不卡在线观看| 麻豆久久久久久| 成人午夜看片网址| 在线观看视频一区二区| 日韩一区二区免费电影| 国产欧美一区二区在线| 亚洲视频一二三| 亚洲成人动漫一区| 九九九精品视频| 成人a区在线观看| 色播五月激情综合网| 日韩欧美专区在线| 国产精品久久久久永久免费观看 | 色综合中文字幕国产| 99视频国产精品| 欧美日韩久久不卡| 精品国产污污免费网站入口| 自拍偷在线精品自拍偷无码专区| 亚洲一区二区三区四区在线| 精品一区二区三区在线观看国产| caoporen国产精品视频| 欧美一区二区三区视频| 亚洲视频免费看| 老司机一区二区| 欧美中文字幕亚洲一区二区va在线 | 国产成人综合在线播放| 欧美亚洲国产bt| 久久久久久电影| 日本在线不卡一区| 成人av资源下载| 精品久久久久久亚洲综合网|