From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: [screenshot] Emacs instant colors (and the Elisp full cycle) Date: Thu, 23 Apr 2015 02:51:10 +0200 Organization: Aioe.org NNTP Server Message-ID: <87r3rbhdkx.fsf@debian.uxu> References: <874moae3ub.fsf@debian.uxu> <87zj61w1h4.fsf@debian.uxu> <1d573ae0-bede-416b-987b-e1c973dafbee@googlegroups.com> <87oamgx4bj.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429750220 21298 80.91.229.3 (23 Apr 2015 00:50:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 00:50:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 02:50:20 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yl5LP-00075Y-Av for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 02:50:19 +0200 Original-Received: from localhost ([::1]:37574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yl5LO-0008Ds-LQ for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 20:50:18 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: feB02bRejf23rfBm51Mt7Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:bp6L+vCgKpOtNKVvzAgeHclWZbA= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:211664 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103946 Archived-At: Rusi writes: > When I visit it, it does not do all the colorfulness > of your screenshot And cant load it because there're > all sorts of your own requires out there. You only need `font-lock-add-keywords'. If you read the documentation, you find out that what I did is exactly what it does! That way you also find out I didn't do anything else and the requires are unrelated. See? > Anyways... 'seriously man'... fontlock technicolor > is not my priority It is rather to be able to solve simple problems by examining code and documentation peace and quiet and not get discouraged at the first unknown encounter. But I like "fontlock technicolor" :) Exactly. > So I am not going to iterate over this... unless you > give me a version that splashes my screen with color > when called as $ emacs -Q emanuel-buffer.el OK: http://user.it.uu.se/~embe8573/captain-mr-king.el Invoke: emacs -Q -l captain-mr-king.el captain-mr-king.el > [Or as I said earlier you can put the demo on that > python thread yourself] Well, this isn't exactly an example of Lisp being a "programmable programming language". This is an example of Emacs being programmable in Elisp as well as a tool to write Elisp. The difference might (?) get subtile down below. The example that would prove the point should rather be a macro that changes the syntax of Lisp, for example `dotimes' - myself, I'm not a macro writer tho I use them (sometimes). Of course you may still use this example in any way you like. -- underground experts united http://user.it.uu.se/~embe8573