当前位置: 首页 > news >正文

网站第一步建立自己做网站还是用别人网站

网站第一步建立,自己做网站还是用别人网站,上海市建设工程 安全质量网站,做游戏交易网站有哪些?xml version1.0 encodingutf-8? emacs-w3m查看html帮助手册emacs-w3m查看html帮助手册 Table of Contents 1. 使用效果2. 为什么要用emacs-w3m来查看html的帮助手册#xff1f;3. 什么是w3m?4. 配置5. 额外资源1 使用效果 使用快捷键C-c …?xml version1.0 encodingutf-8? emacs-w3m查看html帮助手册 emacs-w3m查看html帮助手册 Table of Contents 1. 使用效果2. 为什么要用emacs-w3m来查看html的帮助手册3. 什么是w3m?4. 配置5. 额外资源 1 使用效果 使用快捷键C-c C-j之后打开如图所示的输入界面可以用 正则表达式 搜索想要的API查找非常方便 用emacs-w3m打开html文件的效果如图 2 为什么要用emacs-w3m来查看html的帮助手册 每次打开firefox要等待较长时间只为查看一个API的用法感觉不爽。直接用emacs将html文件当作文本文件打开一堆的tags不方便看。用浏览器搜索命令不够方便不如emacs的正则表达式来的带劲。就是喜欢在emacs中做所有的事这一条就够了。 3 什么是w3m? http://blog.csdn.net/superwengo/article/details/8241601 4 配置 ;;; init-emacs-w3m.el --- Summary ;;; Commentary: ;; comments;;; Code: (use-package w3m:commands (w3m):config;; (require w3m-load)(setq w3m-coding-system utf-8w3m-file-coding-system utf-8w3m-file-name-coding-system utf-8w3m-input-coding-system utf-8w3m-output-coding-system utf-8w3m-terminal-coding-system utf-8)(setq w3m-use-cookies t)(setq w3m-cookie-accept-bad-cookies t)(setq w3m-home-page(if (file-readable-p (expand-file-name html/home.html unimacs-tempfiles-dir))(concat file:// (expand-file-name html/home.html unimacs-tempfiles-dir))http://www.baidu.com));; set proxy(defun toggle-env-http-proxy ()set/unset the environment variable http_proxy which w3m uses(interactive)(let ((proxy http://proxynj.huawei.com:8080))(if (string (getenv http_proxy) proxy);; clear the the proxy(progn(setenv http_proxy )(message env http_proxy is empty now));; set the proxy(progn(setenv http_proxy proxy)(message env http_proxy is %s now proxy)))))(setq w3m-use-toolbar tw3m-key-binding info);; show images in the browser;; (setq w3m-default-display-inline-images t);; (setq w3m-default-toggle-inline-images t)(setq w3m-view-this-url-new-session-in-background t);;显示图标(setq w3m-show-graphic-icons-in-header-line t)(setq w3m-show-graphic-icons-in-mode-line t)(setq w3m-search-default-engine b)(eval-after-load w3m-search(progn;; C-u S g RET search term RET(add-to-list w3m-search-engine-alist (b http://www.baidu.com/search?hlenq%s utf-8))(add-to-list w3m-search-engine-alist (g http://www.google.com.au/search?hlenq%s utf-8))(add-to-list w3m-search-engine-alist (wz http://zh.wikipedia.org/wiki/Special:Search?search%s utf-8))(add-to-list w3m-search-engine-alist (q http://www.google.com.au/search?hlenq%ssite:stackoverflow.com utf-8))(add-to-list w3m-search-engine-alist (s http://code.ohloh.net/search?s%sbrowserDefault utf-8))(add-to-list w3m-search-engine-alist (bl http://blogsearch.google.com.au/blogsearch?q%s utf-8))(add-to-list w3m-search-engine-alist (w http://en.wikipedia.org/wiki/Special:Search?search%s utf-8))(add-to-list w3m-search-engine-alist (d http://dictionary.reference.com/search?q%s utf-8))(add-to-list w3m-search-engine-alist (j http://www.google.com.au/search?ieUTF-8oeUTF-8sourceidnavclientbtnI1q%ssite:developer.mozilla.org utf-8))))(setq w3m-command-arguments (-F -cookie)w3m-mailto-url-function compose-mailbrowse-url-browser-function w3mmm-text-html-renderer w3m);; bind this function to ‘a’, which is the normal w3m bookmark binding:(eval-after-load w3m (progn(w3m-lnum-mode 1)));; external browser(setq browse-url-generic-program(cond(*is-a-mac* open)(*linux* (executable-find firefox))))(setq browse-url-browser-function browse-url-generic);; use external browser to search programming stuff(defun w3mext-hacker-search ()search word under cursor in google code search and stackoverflow.com(interactive)(require w3m)(let ((keyword (w3m-url-encode-string (thing-at-point symbol))));; google(browse-url-generic(concat http://www.google.com.au/search?hlenq%22keyword%22(if buffer-file-name(concat filetype%3A (file-name-extension buffer-file-name))) ))(browse-url-generic(concat http://www.google.com.au/search?hlenqkeywordsite:stackoverflow.com ));; koders.com(browse-url-generic(concat http://code.ohloh.net/search?s\keyword\browserDefaultmp1ml1me1md1filterCheckedtrue ))))(defun w3mext-open-link-or-image-or-url ()Opens the current link or image or current pages uri or any url-like text under cursor in firefox.(interactive)(let (url)(if (or (string major-mode w3m-mode) (string major-mode gnus-article-mode))(setq url (or (w3m-anchor) (w3m-image) w3m-current-url)))(browse-url-generic (if url url (car (browse-url-interactive-arg URL: ))))))(global-set-key (kbd C-c b) w3mext-open-link-or-image-or-url)(defun w3mext-search-js-api-mdn ()search current symbol under cursor in Mozilla Developer Network (MDN)(interactive)(let ((keyword (thing-at-point symbol)))(w3m-search j keyword)))(add-hook prog-mode-hook ( lambda () (local-set-key (kbd C-c ; h) w3mext-hacker-search)));; Find in blog.;; see: http://blog.csdn.net/superwen_go/article/details/8241601(add-hook w3m-fontify-after-hook remove-w3m-output-garbages)(defun remove-w3m-output-garbages ()去掉w3m输出的垃圾.(interactive)(let ((buffer-read-only))(setf (point) (point-min))(while (re-search-forward [\200-\240] nil t)(replace-match ))(set-buffer-multibyte t))(set-buffer-modified-p nil)))(provide init-emacs-w3m) ;;; init-emacs-w3m.el ends here5 额外资源 如果找不到w3m的执行程序可以在我的github上面下载这个是最新版的https://github.com/yangwen0228/unimacs/tree/master/utils/extra-bins/msys64 也可以下载我的配置或者使用其中的部分配置配置文件放置在 personal/configures中。 Date: 2016-12-31 10:38 Created: 2017-03-11 周六 21:53 Emacs 26.0.50.4 (Org mode 8.2.10) Validate 转载于:https://www.cnblogs.com/yangwen0228/p/4269923.html
http://www.sadfv.cn/news/183104/

相关文章:

  • 建设银行支行网站免费公司网站主页模板
  • 阿里云网站建设好用吗做ppt哪个网站好
  • 平面设计教程网站毕业设计网站建设软件项目
  • 关于公司网站建设情况的汇报wordpress首页在哪里修改
  • 临清设计网站自己做网站可以上传软件下载
  • asp 网站 内容静态化长安商城网站建设
  • 网站设计知识做看电视电影的网站赚钱
  • 凡客诚品正品官网推广优化关键词
  • 网站建设过程总结报告wordpress打造论坛
  • 美丽说网站建立的主要方式重庆第一门户网站
  • 网络建站模板优化设计七年级下册数学答案
  • 简单手机网站如何制作做公众号需要做网站吗
  • cdn网站加速 免备案免费素材网站psd
  • 自己做网站开网店个人做网站能备案吗
  • 网站建设意识形态北京科技网站建设
  • 电子商务网站建设与维护的考试建设网络道德教育网站的有效措施有
  • 糖果网站建设策划书公司装修工程
  • 东阳市建设规划局网站誉铭摄影网站
  • 淮安网站排名优化公司长沙做网站最好的公司
  • 网站模板 响应式wordpress联系表单
  • 长安网站定制wordpress 代码演示
  • 免费购物网站系统wordpress检索蜘蛛插件
  • 广州网站建设海珠信科好看的网站首页设计
  • 专业做甜点的网站网站开发费用是研发费用
  • 怎么样提升网站权重高中网站建设课程
  • 深圳做网站需要多少钱百度网页版主页网址
  • 新站网站建设如何利用seo赚钱
  • 做网站需要懂什么技术播放我的观看历史记录
  • 中国企业500强厉害吗刘连康seo培训哪家强
  • 网站开发好了 怎么发布学校免费网站建设