(require 'async-await) (require 'url-http) (require 'xml) (require 'dom) (defun xml-retrieve (url) "Return `Promise' to resolve with XML object obtained by HTTP request." (promise-new (lambda (resolve reject) (url-retrieve url (lambda (status) ;; All errors are reliably captured and rejected with appropriate values. (if (plist-get status :error) (funcall reject (plist-get status :error)) (conditio
ref:http://www.kt.rim.or.jp/~kbk/zakkicho/15/zakkicho1506a.html#D20150608-4 Lispãããæ¸ããªããããªæãï¼ (defun varp-1 (xs) (cl-labels ((varp-sub (xs s1 s2 len) (if (consp xs) (let ((x (car xs))) (varp-sub (cdr xs) (+ s1 (* x x)) (+ s2 x) (1+ len))) (let ((e1 (/ s1 (float len))) (e2 (/ s2 (float len)))) (- e1 (* e2 e2)))))) (varp-sub xs 0 0 0))) æ £ããªãã¨èªã¿ã¥ãããªãPython ã§æ¸ããªããã¨ãããã def varp_1(xs): def varp_sub(xs,
async.el ã¯Emacs Lisp㧠並åå¦ç ãè¡ãã©ã¤ãã©ãªã§ãã ä½è ã¯Emacsã®ä¸ççæ¨©å¨ John Wiegley æ°ã eshellãuse-package.el ãbind-key.el ãªã© å¤ãã®Emacs Lispããªãªã¼ã¹ãã¦ãã¾ãã Emacs Lispã§ã¯ä¸¦åå¦çãå¼±ç¹ã¨è¨ããã¦ãã¾ããã ã§ããªãã¨æã£ã¦ãã人ãããããã§ããã å®ã¯ããæ¹æ³ã使ãã°å¯è½ãªã®ã§ã⦠確ãã«Emacs Lispã¨ããè¨èªèªä½ã§ã¯ 並åå¦çã®æ©è½ã¯ãªãã®ã§ããã ããã»ã¹ ã使ãã¨ããæãéãããã¾ãã M-x shellã§ã·ã§ã«ãåãããªãã Emacsãåä½ããã¦ããã®ã¨åãã§ãã async.elã¯æ°ããEmacsããã»ã¹ã§Så¼ãè©ä¾¡ãããã Så¼ãè¿ãå¤é¨ããã°ã©ã ãèµ·åããããããã¨ã§ Emacs Lispã§ä¸¦åå®è¡ãè¡ãã¾ãã deferred.el ã§ã並åå¦ç
ç¾å¨éçºä¸ã®guide-keyã®æ©è½ããããªãã«å¢ãã¦ããã®ã§ããããããã¹ããæ¸ãã ããªã¨æãã¾ãããããã§ERTã§ã¦ããããã¹ããæ¸ãã¦ãCaskã§ä¾åé¢ä¿ã解決ãã¦ã Travis CIã§CIããã¨ããã¾ã§ã§ããã®ã§ç´¹ä»ãã¾ãã ERTã§ã¦ããããã¹ã ERTã¯Emacs Lisp Regression Testingã®ç¥ã§ãEmacs Lispã®ãã¹ãã£ã³ã°ãã¼ã«ã§ãã JUnitãªã©ã¨åæ§ã«ã¦ããããã¹ããæ¸ãã¾ãã ãã£ã¬ã¯ããªæ§æ EmacsLispã§æå°æ§æ(ã£ã½ã)ãã¹ããããæ¹æ³ - ããã°ã©ã ã¨ãã®ã®blog ãä¸åº¦è¯ããã¹ãã®æå°æ§æãç´¹ä»ãã¦ããã®ã§ãçä¼¼ãã¦ä»¥ä¸ã®ãããªãã£ã¬ã¯ã㪠æ§æã«ãã¾ããã guide-key/ âââ guide-key.el âââ test/ âââ guide-key-test.el åèã«ãããªãã¸ããªããæ¦ããªãã¸ããªç´ä¸
ã©ããããã«ã¡ã¯ãdageziã§ããéã¢ããã³ãã«ã¬ã³ãã¼åå ã¨ã³ããªã¼ã§ããåã§ããæ¬å½ã¯ .Emacs advent calendaråå ã¨ã³ããªã¼ã§ãããªããåããã楽ããããªã®ã§ç¾¨ã¾ãããªã£ã¦çµ¡ãã§ã¿ãããªã£ãã ãã§ãã ã§ãä¸å¿ emacsã®éã£ã½ãé¨åã«ã¤ãã¦æ¸ãã¦ã¿ããã¨æãã¾ããåå ãã¦ããä»ã®çããã®ããã«å½¹ã«ç«ã¤ãã¨ãæ¸ãã¦ã¿ãããã¨ãæã£ãã®ã§ããããããªã«ãã©ãã©ãããã®ãããå½¹ã«ç«ã¤ãããããªã emacsã®éç®±ã®é ãã¤ã¤ãã¦ã¿ãã®ã ããããªããã¨æã£ãã®ã§ãæ®æ®µãããªè¨äºãæ¸ãã¦ãè¦åãããããªãã ããããã¢ããã³ãã«ã¬ã³ãã¼ã§ããããããæµå ¥ãããããã«æ¸ããã¦ãã ããã Lexical-scope ãããï¼ Emacs lispã¯ãå½ç¶ Lispã§ããã®ã§ãä¸ç´ã®é¢æ°ãã°ãã°ãã¤ããã¾ããmapcarã¨ã add-hookã¨ãã§ã¿ãªããã¤ãã£ã¦ããã§ããã
ãã®ã©ã¤ãã©ãªç¾¤ã¯Emacsã«ä¸è¶³ãã¦ããååãããããããé¢æ°ãä»ã®è¨èªã§ã¯æä¾ããã¦ãããã¼ã¿æ§é ãæä½ãã便å©ãªé¢æ°ãæä¾ãã¦ããã¾ãããã®ã©ã¤ãã©ãªã使ãã¨ããã©ã°ã¤ã³ããã¹ã¯ãªãããä½ãã®ãããã楽ã«ãªãã¾ãã +1ã®é¨åã§ããCaskã¯ãã©ã¤ãã©ãªã¨ãããããã©ã°ã¤ã³ãªã®ã§å¥ã«ãã¦ã¾ãã ããããã©ããªã©ã¤ãã©ãªããããã¤ã¾ãã§ç´¹ä»ãã¾ãã dash.el dash.elã¯ãEmacsã®ãªã¹ãæä½APIãæä¾ããã©ã¤ãã©ãªã§ãããã®ã©ã¤ãã©ãªã¯ãããªãEmacsã®ãªã¹ãæä½ãåããããããè£å®ãã¦ãããã©ã¤ãã©ãªã«ãªã£ã¦ãã¾ãã ãªã¹ãæä½ã«é¢é£ãã¦ãã Clojureã®ã¹ã¬ããã£ã³ã°ãã¯ã On Lispã§ç´¹ä»ããã¦ããã¢ããã©ãªãã¯ãã¯ã ãã¤ã³ãã¨ããæ©è½ æ¨æ§é ã®æä½ã®API ãªã©æ§ã ãªãã®ãæä¾ãã¦ãã¾ãã ã¡ãªããã¨ãã¦ã¯ã ãã£ã¨é¢æ°åè¨èªã£ã½ãæ¸ãã ãªã¹ãæä½
å¹³ç´ ããQAï¼ ITããå©ç¨ããã ããèª ã«ãããã¨ããããã¾ãã QAï¼ ITã¯ã質åãåçããå ±æãããç·¨éããã¦ãããã¨ã§ãã¹ããªQAãèç©ã§ãããITã¨ã³ã¸ãã¢ã®ããã®åé¡è§£æ±ºã³ãã¥ããã£ã¼ãã¨ãã¦ç´7å¹´ééå¶ããã¦ãã¾ãããããã¾ã§ãµã¼ãã¹ãç¶ãããã¨ãã§ããã®ã¯ãQAï¼ ITã®ã³ã³ã»ããã«å ±æãããã ããé©åãªè³ªåãåçããå¯ãããã ããçãã¾ã®ãæ¯æ´ããã£ãããããã¨èãã¦ããã¾ããéãã¦å¾¡ç¤¼ç³ãä¸ãã¾ãã ããããªãããã¨ã³ã¸ãã¢ã®æ å ±å ¥ææ¹æ³ã®å¤æ§åãQAãµã¼ãã¹å¸å ´ã®ç¶æ³ãï¼ ITã®ä»å¾ã®ã¡ãã£ã¢éå¶æ¹éãªã©ãæ¤è¨ããçµæã2020å¹´2æ28æ¥ï¼éï¼15:00ããã¡ã¾ãã¦QAï¼ ITã®ãµã¼ãã¹ãçµäºãããã¨ã«ãã¾ããã ããã¾ã§ãå©ç¨ãããã ãã¾ããçãã¾ã«ã¯æ®å¿µãªãç¥ããã¨ãªããèª ã«å¿è¦ããæã£ã¦ããã¾ããä½ã¨ãããç解ãããã ãã¾ãã¨å¹¸ãã§ãã QAï¼ ITã®7å¹´éã§çãã¾ã®ç¥è
Inspired by Emacs Rocks! Episode 11 on swank-js, I spent the last week writing a new extension to Emacs to improve support for web development. Itâs called Skewer and it allows you to interact with a browser like you would an inferior Lisp process. Itâs written in pure Emacs Lisp, operates as a servlet for my Elisp webserver, and requires no special support from your browser or any other external
æ±ãããã¦ããæ°ãããã®ã§ãEmacsLispã«ã¤ãã¦ç¥ã£ã¦ãããã¨ãæ¸ãã¦ãããã¨æã£ãã Perlã§WebAppã®éçºã«å¿ è¦ãªNåã®ã㨠- Islands in the byte stream éçºã«å¿ è¦ãªNåã®ã㨠by Google ããã±ã¼ã¸ããã¼ã¸ã£ Cask ã使ãã®ãä»é¢¨ãå æ¥Cartonã¨ããPerlã®ããã±ã¼ã¸ããã¼ã¸ã£ã¨ååããã¶ã£ã¦ããã®ã§ãæ¹åãããã https://github.com/cask/cask ã¡ãªã¿ã«ãæ®æ®µä½¿ãã§ããã°ãEmacs24.xããæ¨æºã§å ¥ã£ã¦ããpackage.elã使ãããel-getã使ãã Bitbucket | The Git solution for professional teams ã¢ããªã±ã¼ã·ã§ã³ãµã¼ã ã¤ãã³ãããªãã³ãªElnodeã¨ãhttpd.elãpure Emacsã§æ¸ããªããã simple-httpd
M-x view-emacs-news ããã£ã¨çºãã¦ã¿ã¦ãç¹ã« lisp é¢é£ã§æ°ã«ãªã£ãäºæã ã¬ãã·ã«ã«ã¹ã³ã¼ãã®å°å ¥ letrec ãã¯ã pcase ãã¯ã Notifications API ã®ã¡ã¢ ã¬ãã·ã«ã«ã¹ã³ã¼ã emacs24ããã¯ãlexical-binding ã¨ãããã¡ã¤ã«ãã¼ã«ã«ãªå¤æ°ã« t ãã»ããããã°ãã¬ãã·ã«ã«ã¹ã³ã¼ãç°å¢ã§ã lispããã°ã©ã ãè©ä¾¡ãã¦ããããããã ã¤ã¾ããã½ã¼ã¹ãã¡ã¤ã«ã®å é ã«ã ;; -*- coding: utf-8; lexical-binding: t -*- ã¨ãæ¸ãã¨ãã°ãcommon-lisp ã schemeã®ããã«ãæ®éã«ã¯ãã¼ã¸ã£ã¼ãæ¸ããã¨ãããã¨ã ã 試ãã¦ã¿ãã $ cat lextest.el ;; -*- coding: utf-8; lexical-binding: t -*- ;; ã«ã¦ã³ã¿ã¼çæ
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}