<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/alex-2012.css" ?>
<rss version="2.0"
    xmlns:wiki="http://purl.org/rss/1.0/modules/wiki/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:cc="http://web.resource.org/cc/"
    xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<title>Alex Schroeder: Emacs</title>
<link>http://alexschroeder.ch/wiki/Diary</link>
<atom:link href="http://www.google.com/profiles/kensanata" rel="me" type="text/html" />
<atom:link href="http://alexschroeder.ch/wiki?action=rss;full=1" rel="self" type="application/rss+xml" />
<description>The Homepage of Alex Schroeder.</description>
<pubDate>Thu, 23 May 2013 14:02:48 GMT</pubDate>
<lastBuildDate>Thu, 23 May 2013 14:02:48 GMT</lastBuildDate>
<generator>Oddmuse</generator>
<copyright>Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation.</copyright>
<cc:license>http://www.gnu.org/copyleft/fdl.html</cc:license>
<image>
<url>http://alexschroeder.ch/pics/alex.png</url>
<title>Alex Schroeder: Emacs</title>
<link>http://alexschroeder.ch/wiki</link>
</image>

<item>
<title>Distributing XP With Emacs</title>
<link>http://alexschroeder.ch/wiki/2013-05-08_Distributing_XP_With_Emacs</link>
<guid>http://alexschroeder.ch/wiki/2013-05-08_Distributing_XP_With_Emacs</guid>
<description>&lt;p&gt;This topic ties together two topics that probably don&amp;#x2019;t see too much overlap.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;I play role-playing games of the D&amp;amp;D old school variety.&lt;/li&gt;&lt;li&gt;I use Emacs to help me do simple stuff on a daily basis.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The problem: the party of characters my players run is &lt;em style="font-style: normal; letter-spacing: 0.125em; padding-left: 0.125em;"&gt;huge&lt;/em&gt;. Even if there are usually only around ten characters that are part of a single session, there are more than thirty primary and secondary characters &lt;a class="url http outside" href="http://campaignwiki.org/wiki/F%C3%BCnfWinde/Status"&gt;on the status page&lt;/a&gt;. Given &lt;a class="url http outside" href="http://campaignwiki.org/wiki/F%C3%BCnfWinde/raw/Status"&gt;the wiki table&lt;/a&gt; for the status page, how can I quickly add up the correct XP and gold values? Any XP gained is shared equally amongst the characters that took part in the session but any gold gained is distributed according to each characters share. Primary characters get a full share, secondary characters get a third of a share.&lt;/p&gt;&lt;p&gt;I used Emacs widget mode to create a page like this:&lt;/p&gt;&lt;pre class="real"&gt;XP total:   805          
Gold total: 7191         
[X] Schalk
[ ] Uluf
[ ] Witschik
[X] Schachtmann
[ ] Sirius
[X] Logard
[X] Arnd
[X] Tinaya
[ ] Pyrula
[ ] Pijo
[ ] Garo
[X] Zeta
[ ] Pipo
[X] Fusstritt
[ ] Thor
[ ] Jack
[ ] Gloria
[ ] Hermann
[ ] Urs
[ ] Alpha
[ ] Beta
[ ] Gamma
[ ] Boden
[ ] Basel
[ ] Bern
[X] Nuschka
[ ] Moranor
[ ] Axirios Hectaxius

[Go!]&lt;/pre&gt;&lt;p&gt;And here&amp;#x2019;s the code to do it:&lt;/p&gt;&lt;pre class="real"&gt;(defconst fünf-winde-regexp "^\\(|\\[\\[\\(.*?\\)\\]\\][ \t]*|[ \t]*\\(1\\|1/3\\)[ \t]*\\)|\\([ \t]*[0-9]+[ \t]*\\)|\\([ \t]*[0-9]+[ \t]*\\)"
  "Regular expression to parse the Status page.
\(let ((str (match-string 1))
      (name (match-string 2))
      (share (match-string 3))
      (xp (match-string 4))
      (gold (match-string 5)))
    ...\)")

(defvar fünf-winde-buf nil
  "Source buffer.")

(defvar fünf-winde-xp nil
  "XP share.")

(defvar fünf-winde-gold nil
  "Gold share.")

(defvar fünf-winde-party nil
  "Charakters in the party.")

(defun fünf-winde-xp-and-gold ()
  "Hand out Gold and XP."
  (interactive)
  (let ((buf (current-buffer))
	(names))
    (save-excursion
      (goto-char (point-min))
      (while (re-search-forward fünf-winde-regexp nil t)
	(setq names (cons (match-string 2) names))))
    (switch-to-buffer "*Fünf Winde*")
    (kill-all-local-variables)
    (set (make-local-variable 'fünf-winde-buf) buf)
    (make-local-variable 'fünf-winde-xp)
    (make-local-variable 'fünf-winde-gold)
    (make-local-variable 'fünf-winde-party)
    (let ((inhibit-read-only t))
      (erase-buffer))
    (remove-overlays)
    (setq fünf-winde-xp
	  (widget-create 'integer
			 :size 13
			 :format "XP total:   %v\n"
			 0))
    (setq fünf-winde-gold
	  (widget-create 'integer
			 :size 13
			 :format "Gold total: %v\n"
			 0))
    (setq fünf-winde-party
	  (apply 'widget-create 'checklist
		 (mapcar (lambda (name)
			   `(item ,name))
			 (nreverse names))))
    (widget-insert "\n")
    (widget-create 'push-button
		   :notify (lambda (&amp;amp;rest ignore)
			     (fünf-winde-process
			      fünf-winde-buf
			      (widget-value fünf-winde-xp)
			      (widget-value fünf-winde-gold)
			      (widget-value fünf-winde-party)))
		   "Go!")
    (widget-insert "\n")
    (use-local-map widget-keymap)
    (local-set-key (kbd "q") 'bury-buffer)
    (local-set-key (kbd "SPC") 'widget-button-press)
    (local-set-key (kbd "&amp;lt;left&amp;gt;") 'widget-backward)
    (local-set-key (kbd "&amp;lt;up&amp;gt;") 'widget-backward)
    (local-set-key (kbd "&amp;lt;right&amp;gt;") 'widget-forward)
    (local-set-key (kbd "&amp;lt;down&amp;gt;") 'widget-forward)
    (widget-setup)
    (goto-char (point-min))
    (widget-forward 1)))

(defun fünf-winde-process (buf total-xp total-gold party)
  (message "(fünf-winde-process (get-buffer \"%s\") %d %d '%S)"
	   buf total-xp total-gold party)
  (switch-to-buffer buf)
  (save-excursion
    (let ((xp-shares 0)
	  (xp-share nil)
	  (gold-shares 0)
	  (gold-share nil))
      (goto-char (point-min))
      (while (re-search-forward fünf-winde-regexp nil t)
	(let ((name (match-string 2))
	      (share (match-string 3)))
	  (when (member name party)
	    (setq gold-shares (+ gold-shares
				 (cond ((string= share "1/2") 0.5)
				       ((string= share "1/3") (/ 1.0 3))
				       (t (string-to-number share))))
		  xp-shares (1+ xp-shares)))))
      (setq gold-share (/ total-gold gold-shares)
	    xp-share (/ total-xp xp-shares))
      (goto-char (point-min))
      (while (re-search-forward fünf-winde-regexp nil t)
	(let ((str (match-string 1))
	      (name (match-string 2))
	      (share (match-string 3))
	      (xp (match-string 4))
	      (gold (match-string 5)))
	  (when (member name party)
	    (setq gold (format (concat "%9d")
			       (+  (string-to-number gold)
				   (* gold-share (cond ((string= share "1/2") 0.5)
						       ((string= share "1/3") (/ 1.0 3))
						       (t (string-to-number share))))))
		  xp (format (concat "%9d")
			     (+  (string-to-number xp)
				 xp-share)))
	    (replace-match (concat str
				   "|" xp
				   "|" gold))))))))&lt;/pre&gt;&lt;p&gt;I&amp;#x2019;m not sure I&amp;#x2019;m spending my time wisely, but there you go. I used to have a simpler piece of code that helped me distribute XP and gold separately. The drawback was that it would ask me for every person in the table &amp;#x201c;was this character in the party? (y/n)&amp;#x201d; and that&amp;#x2019;s a lot of yes and no replies if you go through the list &lt;em&gt;twice&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;It&amp;#x2019;s also a stark reminder that simpler old rules doesn&amp;#x2019;t automatically mean less work for the referee. With D&amp;amp;D 3.5, I had a spreadsheet to compute the XP gained based on challenge rating and character level. It wasn&amp;#x2019;t something to do quickly without a book in front of me. Now the complexity of the task has been reduced, but the number of characters has exploded to compensate!&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://alexschroeder.ch/wiki?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://alexschroeder.ch/wiki/feed/full/Emacs"&gt;&lt;img src="http://alexschroeder.ch/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://alexschroeder.ch/wiki?action=tag;id=RPG"&gt;RPG&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://alexschroeder.ch/wiki/feed/full/RPG"&gt;&lt;img src="http://alexschroeder.ch/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://alexschroeder.ch/wiki?action=tag;id=Old%20School"&gt;Old School&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://alexschroeder.ch/wiki/feed/full/Old%20School"&gt;&lt;img src="http://alexschroeder.ch/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Wed, 08 May 2013 13:17:38 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2013-05-08_Distributing_XP_With_Emacs</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>new</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>1</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2013-05-08_Distributing_XP_With_Emacs</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2013-05-08_Distributing_XP_With_Emacs</wiki:diff>
<category>Emacs</category>
<category>RPG</category>
<category>Old School</category>
</item>

<item>
<title>Emacs Wiki Redesign</title>
<link>http://alexschroeder.ch/wiki/2013-04-26_Emacs_Wiki_Redesign</link>
<guid>http://alexschroeder.ch/wiki/2013-04-26_Emacs_Wiki_Redesign</guid>
<description>&lt;p&gt;I finally &lt;a class="inter EmacsWiki outside" href="http://emacswiki.org/emacs?2013-04-24"&gt;installed the new theme for Emacs Wiki&lt;/a&gt;. Feel free to &lt;a class="inter EmacsWiki outside" href="http://emacswiki.org/emacs?Comments_on_2013-04-24"&gt;leave comments on the Talk page&lt;/a&gt;. Bootstrap allows me to make all the changes at run-time, ie. add a few scripts including a script that changes the wiki&amp;#x2019;s HTML (&lt;a class="url http outside" href="http://emacswiki.org/emacs/emacs-bootstrap.js"&gt;emacs-bootstrap.js&lt;/a&gt;) and a new CSS file (&lt;a class="url http outside" href="http://emacswiki.org/css/bootstrap.css"&gt;bootstrap.css&lt;/a&gt;).&lt;/p&gt;&lt;p&gt;Since no changes to the script are necessary I can continue to provide the old theme for those that don&amp;#x2019;t feel like switching.&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://alexschroeder.ch/wiki?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://alexschroeder.ch/wiki/feed/full/Emacs"&gt;&lt;img src="http://alexschroeder.ch/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Fri, 26 Apr 2013 12:42:35 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2013-04-26_Emacs_Wiki_Redesign</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>new</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>1</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2013-04-26_Emacs_Wiki_Redesign</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2013-04-26_Emacs_Wiki_Redesign</wiki:diff>
<category>Emacs</category>
</item>

<item>
<title>Security of Code Downloaded from Online Sources</title>
<link>http://alexschroeder.ch/wiki/2013-01-23_Security_of_Code_Downloaded_from_Online_Sources</link>
<guid>http://alexschroeder.ch/wiki/2013-01-23_Security_of_Code_Downloaded_from_Online_Sources</guid>
<description>&lt;p&gt;In the anonymous rant &lt;a class="url http outside" href="http://wrttn.in/3afc42"&gt;The Wikemacs Experiment: 300 Days Later&lt;/a&gt;, the author claims &amp;#x201c;The biggest problem is that it is &lt;em&gt;insecure&lt;/em&gt;. [&amp;#x2026;] Anyone can edit any of the pages that contain Elisp code.&amp;#x201d; The same sentiment was expressed by Alex Bennée &lt;a class="url http outside" href="https://plus.google.com/108153044872779739189/posts/gEGU19BrouD"&gt;in a comment on Google+&lt;/a&gt;: &amp;#x201c;What is really needed is a way to be sure that the source for the emacs extension your updating hasn&amp;#x2019;t been subverted by someone else with ill intent.&amp;#x201d;&lt;/p&gt;&lt;p&gt;I said:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt; Experiences and ideas of &amp;#x201c;what is really necessary&amp;#x201d; vary. As for myself, I&amp;#x2019;ve installed code from all over the Internet without reviewing the source. Installing it from a gist or git repo is hardly a different experience. If you want to figure out whether a source is trustworthy, you do the usual things: do people link to the code, how long has it been around, what about recent checkins, that sort of thing. Or you get into the crypto business of signing releases.&lt;/p&gt;&lt;p&gt;You could of course say that every day that passes without a problem increases our false sense of security&amp;#x2026; I have no answer to that. All I can say is that if security is your problem, using gists and github is not the solution (as you say yourself). The source of the insecurity is our habits, our culture of downloading and installing anything and everything. I&amp;#x2019;m not sure how you&amp;#x2019;ll ever make sure &amp;#x201c;that the source for the emacs extension your updating hasn&amp;#x2019;t been subverted by someone else with ill intent.&amp;#x201d; That seems pretty impossible to me unless you limit yourself to the core Emacs distribution (and even that&amp;#x2019;s not a guarantee).&lt;/p&gt;&lt;p&gt;People on the  &lt;a class="inter EmacsWiki outside" href="http://emacswiki.org/emacs?EmacsChannel"&gt;#emacs  channel&lt;/a&gt; keep asking &amp;#x201c;is there way to do X&amp;#x201d; and thus my impression is that &lt;em style="text-decoration: underline; font-style: normal;"&gt;finding&lt;/em&gt; stuff is a more pressing problem. I feel that encouraging people to create a page on the wiki saying &amp;#x201c;here is code to help you do something&amp;#x201d; is the solution to that problem.&lt;/p&gt;&lt;p&gt;But then again, I guess we all differ in what we consider to be the most pressing problem. &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Alex Bennée the correctly points out that using &amp;#x201c;a user locked solution like a gist or git repo you can at least be assured what you&amp;#x2019;re installing has come through one person who you&amp;#x2019;ve trusted to a degree before.&amp;#x201d; I guess that&amp;#x2019;s true. We&amp;#x2019;ll see whether people start switching over to using gists instead of editing wiki pages. I said in an earlier comment:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt; I added gist support [&amp;#x2026;] because it was easy to do, not because it will encourage existing authors to move their elisp code on wiki pages to github. If at all, it might encourage future elisp authors to transclude a gist&amp;#x2026; But then again, there&amp;#x2019;s nothing preventing them from linking to a gist right now. Perhaps it&amp;#x2019;s also a generational thing. People that have been living without github and gists don&amp;#x2019;t feel a particular need to start using it.﻿ &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Interesting times. &lt;img class="smiley" src="http://www.emacswiki.org/pics/smile.png" alt=":)" /&gt;&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Web"&gt;Web&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Web"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Security"&gt;Security&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Security"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Emacs"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Wiki"&gt;Wiki&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Wiki"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Wed, 23 Jan 2013 11:58:30 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2013-01-23_Security_of_Code_Downloaded_from_Online_Sources</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>new</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>1</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2013-01-23_Security_of_Code_Downloaded_from_Online_Sources</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2013-01-23_Security_of_Code_Downloaded_from_Online_Sources</wiki:diff>
<category>Web</category>
<category>Security</category>
<category>Emacs</category>
<category>Wiki</category>
</item>

<item>
<title>Gists on Emacs Wiki</title>
<link>http://alexschroeder.ch/wiki/2013-01-22_Gists_on_Emacs_Wiki</link>
<guid>http://alexschroeder.ch/wiki/2013-01-22_Gists_on_Emacs_Wiki</guid>
<description>&lt;p&gt;I just read a rant about &lt;a class="near" title="Names" href="http://www.emacswiki.org/"&gt;Emacs Wiki&lt;/a&gt; and it&amp;#x2019;s alternative: &lt;a class="url http outside" href="http://wrttn.in/3afc42"&gt;The Wikemacs Experiment: 300 Days Later&lt;/a&gt;. Check out &lt;a class="local" href="http://alexschroeder.ch/wiki/2012-03-24_How_Emacs_Wiki_Works"&gt;How Emacs Wiki Works&lt;/a&gt; for some context from my point of view. Anyway, the anonymous author says: &amp;#x201c;Maybe someone could work with Alex to add gist-style code snippets to Oddmuse, and make it so that code can be cited inline on Wiki pages, so that anyone visiting the page is automatically looking at the most up to date version of the code.&amp;#x201d;&lt;/p&gt;&lt;p&gt;Let&amp;#x2019;s take &lt;a class="url http outside" href="https://gist.github.com/1236665"&gt;this random gist&lt;/a&gt; as an example. Click on the &amp;#x201c;view raw&amp;#x201d; button. Use &lt;code&gt;&amp;lt;include text "..."&amp;gt;&lt;/code&gt; to &lt;a class="url http outside" href="http://www.oddmuse.org/cgi-bin/oddmuse/Transclusion"&gt;transclude&lt;/a&gt; it:&lt;/p&gt;&lt;pre class="include https://gist.github.com/raw/1236665/88d9d641375c842f978de5305d078cd763eaaf48/init.el"&gt;(setq abg-elisp-external-dir
      (expand-file-name "external" abg-elisp-dir))

; ...

; Add external projects to load path
(dolist (project (directory-files abg-elisp-external-dir t "\\w+"))
  (when (file-directory-p project)
    (add-to-list 'load-path project)))
&lt;/pre&gt;&lt;p&gt;Actually, I added an Emacs Wiki feature using two lines of code that add support for fancy inclusion:&lt;/p&gt;&lt;pre class="real"&gt;&amp;lt;include gist "https://gist.github.com/1236665"&amp;gt;&lt;/pre&gt;&lt;p&gt;It only works over there, however. See &lt;a class="inter EmacsWiki" href="http://emacswiki.org/emacs?Gists"&gt;&lt;span class="site"&gt;EmacsWiki&lt;/span&gt;&lt;span class="separator"&gt;:&lt;/span&gt;&lt;span class="page"&gt;Gists&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Anyway, the same also works for &lt;b&gt;Lisppaste&lt;/b&gt;:&lt;/p&gt;&lt;pre class="real"&gt;&amp;lt;include text "http://paste.lisp.org/display/134703/raw"&amp;gt;&lt;/pre&gt;&lt;p&gt;Results in:&lt;/p&gt;&lt;pre class="include http://paste.lisp.org/display/134703/raw"&gt;;; Set XTERM resources as so
;; 
;; metaSendsEscape: false
;; altSendsEscape: false
;; eightBitInput: true

;; Verify with cat &amp;gt; /dev/null command that pressing alt-a
;; alt-b and so on produces single &amp;gt;128bit char (will look
;; like a with a hat

;; once above is working in emacs do

;; Prevent pressing esc O from triggering binding
(define-key (get-input-decode-map) "\eO" nil)

;; tell emacs Meta is 8th bit
(cond ((fboundp 'set-input-meta-mode)
      (set-input-meta-mode t))
    (t (set-input-mode t nil t)))&lt;/pre&gt;&lt;p&gt;I don&amp;#x2019;t think there&amp;#x2019;s a nice way to include the colored version, unfortunately.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Update&lt;/b&gt;: I added support and minimal Lisp highlighting for the following:&lt;/p&gt;&lt;pre class="real"&gt;&amp;lt;include lisppaste "http://paste.lisp.org/display/134703"&amp;gt;&lt;/pre&gt;&lt;p&gt;It only works over there, of course.&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Emacs"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Wiki"&gt;Wiki&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Wiki"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Tue, 22 Jan 2013 10:02:54 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2013-01-22_Gists_on_Emacs_Wiki</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>new</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>1</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2013-01-22_Gists_on_Emacs_Wiki</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2013-01-22_Gists_on_Emacs_Wiki</wiki:diff>
<category>Emacs</category>
<category>Wiki</category>
</item>

<item>
<title>Search and Replace</title>
<link>http://alexschroeder.ch/wiki/2012-10-03_Search_and_Replace</link>
<guid>http://alexschroeder.ch/wiki/2012-10-03_Search_and_Replace</guid>
<description>&lt;p&gt;I was looking at tabular data on a wiki page:&lt;/p&gt;&lt;pre class="real"&gt;|[[...]]     |   1 |          6563|     3796|   |[[...]] | — |
|[[...]]     | 1/3 |          2315|     1259|   |[[...]] | — |
|[[...]]     | 1/3 |           159|      607|   |[[...]] | — |
|[[...]]     | 1/3 |           159|      597|   |[[...]] | — |&lt;/pre&gt;&lt;p&gt;I wanted to add 56 to some of the values in the third column.&lt;/p&gt;&lt;p&gt;Emacs to the rescue: &lt;code&gt;M-C-%&lt;/code&gt; to run &lt;code&gt;query-replace-regexp&lt;/code&gt; and search for &lt;code&gt;^\(|[^|]*|[^|]*|[^|0-9]*\)\([0-9]+\)&lt;/code&gt; and replace it with &lt;code&gt;\1\,(+ (string-to-number \2) 56))&lt;/code&gt; &amp;#x2013; I was surprised at how easy it was once I had remembered to use &lt;code&gt;\,&lt;/code&gt; in the replacement pattern.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Update&lt;/b&gt;: &lt;a class="inter EmacsWiki" href="http://emacswiki.org/emacs?PierreGaston"&gt;&lt;span class="site"&gt;EmacsWiki&lt;/span&gt;&lt;span class="separator"&gt;:&lt;/span&gt;&lt;span class="page"&gt;PierreGaston&lt;/span&gt;&lt;/a&gt; tells me that I could have used &lt;code&gt;\#2&lt;/code&gt; instead of &lt;code&gt;(string-to-number \2)&lt;/code&gt;. I guess I should have finished reading that paragraph on the Info page. &lt;img class="smiley" src="http://www.emacswiki.org/pics/blink.png" alt=";)" /&gt;&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed für diesen Tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Emacs"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Wed, 03 Oct 2012 07:05:22 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2012-10-03_Search_and_Replace</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>new</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>1</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2012-10-03_Search_and_Replace</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2012-10-03_Search_and_Replace</wiki:diff>
<category>Emacs</category>
</item>

<item>
<title>MANPATH</title>
<link>http://alexschroeder.ch/wiki/2012-05-16_MANPATH</link>
<guid>http://alexschroeder.ch/wiki/2012-05-16_MANPATH</guid>
<description>&lt;p&gt;I&amp;#x2019;m using Emacs on Mac OSX.&lt;/p&gt;&lt;p&gt;Apparently the correct solution for using &lt;code&gt;man&lt;/code&gt; and all the related tools is to make sure your &lt;code&gt;/etc/man.conf&lt;/code&gt; file is correct. Mine was missing the following line:&lt;/p&gt;&lt;pre class="real"&gt;MANPATH	/usr/local/man&lt;/pre&gt;&lt;p&gt;You can ignore the rest of this page. &lt;img class="smiley" src="http://www.emacswiki.org/pics/smile.png" alt=":)" /&gt;&lt;/p&gt;&lt;p&gt;Thank you, Phil Hudson.&lt;/p&gt;&lt;p&gt;&lt;del&gt;In my /.bashrc:&lt;/del&gt;&lt;/p&gt;&lt;pre class="real"&gt;# MANPATH
# there's no MANPATH by default, and manpath(1) just prints /usr/share/man
if [ -z "$MANPATH" ]; then
    export MANPATH=/opt/local/man:/usr/local/man:/usr/local/share/man:/usr/X11R6/man:/usr/share/man
fi&lt;/pre&gt;&lt;p&gt;&lt;del&gt;In my /.emacs:&lt;/del&gt;&lt;/p&gt;&lt;pre class="real"&gt;;; man
(unless (getenv "MANPATH")
  (setenv "MANPATH"
	  (with-temp-buffer
	    (insert-file-contents-literally "~/.bashrc")
	    (when (re-search-forward "MANPATH=\\(.*\\)" nil t)
	      (match-string 1)))))&lt;/pre&gt;&lt;p&gt;And finally my little rebinding of &lt;code&gt;C-h f&lt;/code&gt; for Perl mode works for modules as well:&lt;/p&gt;&lt;pre class="real"&gt;(add-hook 'cperl-mode-hook
	  (lambda ()
	    (local-set-key (kbd "C-h f") 'cperl-perldoc)))&lt;/pre&gt;&lt;p&gt;This calls &lt;code&gt;perldoc&lt;/code&gt; which in turn calls &lt;code&gt;man&lt;/code&gt; &lt;del&gt;which uses &lt;code&gt;MANPATH&lt;/code&gt;&lt;/del&gt;.&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://alexschroeder.ch/wiki?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://alexschroeder.ch/wiki/feed/full/Emacs"&gt;&lt;img src="http://alexschroeder.ch/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Wed, 16 May 2012 11:59:34 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2012-05-16_MANPATH</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>new</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>1</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2012-05-16_MANPATH</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2012-05-16_MANPATH</wiki:diff>
<category>Emacs</category>
</item>

<item>
<title>How Emacs Wiki Works</title>
<link>http://alexschroeder.ch/wiki/2012-03-24_How_Emacs_Wiki_Works</link>
<guid>http://alexschroeder.ch/wiki/2012-03-24_How_Emacs_Wiki_Works</guid>
<description>&lt;p&gt;(&lt;strong&gt;TL;DR&lt;/strong&gt;: People that don&amp;#x2019;t like the wiki as it is ought look at the official Emacs documentation instead. I wrote this so that I&amp;#x2019;d have something to link to in the future. This post was inspired by &lt;a class="inter EmacsWiki" href="http://emacswiki.org/emacs?2012-03-20"&gt;&lt;span class="site"&gt;EmacsWiki&lt;/span&gt;&lt;span class="separator"&gt;:&lt;/span&gt;&lt;span class="page"&gt;2012-03-20&lt;/span&gt;&lt;/a&gt;.)&lt;/p&gt;&lt;p&gt;Every year or so, I read about suggested changes to the &lt;a class="near" title="Names" href="http://www.emacswiki.org/"&gt;Emacs Wiki&lt;/a&gt;. The complaints are the same, year after year.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The pages are confusing.&lt;/li&gt;&lt;li&gt;The code snippets are wrong.&lt;/li&gt;&lt;li&gt;The site is badly organized.&lt;/li&gt;&lt;li&gt;The information is out of date.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The solutions invariably have nothing to do with the problem.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Switch to Mediawiki, the software used to run Wikipedia.&lt;/li&gt;&lt;li&gt;Use a database or a distributed version control system as the backend.&lt;/li&gt;&lt;li&gt;Change the text formatting rules to Markdown, Mediawiki markup, or something else that is better known.&lt;/li&gt;&lt;li&gt;Separate discussion from the main page.&lt;/li&gt;&lt;li&gt;Delete stuff that is outdated.&lt;/li&gt;&lt;li&gt;Fix errors.&lt;/li&gt;&lt;li&gt;Organize.&lt;/li&gt;&lt;li&gt;Moderate.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Why are these suggestions not helpful?&lt;/p&gt;&lt;p&gt;The first problem is &lt;b&gt;the mistaken belief that technology can substitute for social change&lt;/b&gt;. Yes, the wiki is badly organized and many of the pages are outdated. Changing the wiki engine, the backend or the formatting rules will not change this, however.&lt;/p&gt;&lt;p&gt;The backend used by the wiki engine can influence performance and resource use, it can the software harder or easier to maintain and backup – but it will not induce somebody to edit a messy page and fix it.&lt;/p&gt;&lt;p&gt;The second problem is &lt;b&gt;the mistaken belief that moderation can be commanded&lt;/b&gt;. You can complain about bad editing and a lack of moderation all day. But since nobody is paying people to do a boring job, we must rely on obsessive compulsive people to fix typos and tag pages.&lt;/p&gt;&lt;p&gt;Maybe we could attract more people by gamifying the experience—offer rewards, badges, scores. But Stack Overflow already does this. It&amp;#x2019;s the best social question answering machine currently known. The wiki doesn&amp;#x2019;t need to imitate something better. The wiki needs to do what it does best. We&amp;#x2019;ll come to that.&lt;/p&gt;&lt;p&gt;The third problem is &lt;b&gt;the mistaken belief that quality control and volunteers go well together&lt;/b&gt;. Just compare Wikipedia and &lt;a class="near" title="Wikipedia" href="http://en.wikipedia.org/wiki/Citizendium"&gt;Citizendium&lt;/a&gt; and consider the animosity generated by &lt;a class="near" title="Wikipedia" href="http://en.wikipedia.org/wiki/Deletionism"&gt;Deletionism&lt;/a&gt; on Wikipedia. How will you encourage authors to contribute if you are telling them that their contributions are lacking the quality you are looking for instead of simply accepting their text and working on it?&lt;/p&gt;&lt;p&gt;You fight spam, you rework text occasionally, you encourage others, you welcome newbies, you lead by example. That&amp;#x2019;s how you lead.&lt;/p&gt;&lt;p&gt;An abrasive personality, radical change involving a lot of work—those are not the tools you are looking for.&lt;/p&gt;&lt;p&gt;Let me return to the issue of &lt;b&gt;commanding change&lt;/b&gt;. Things people have said:&lt;/p&gt;&lt;dl class="quote"&gt;&lt;dt /&gt;&lt;dd&gt;&amp;#x201c;the content editing should be one with the goal of creating a comprehensive, coherent, article that gives readers info or tutorial about the subject.&amp;#x201d; – Xah Lee (2008)&lt;/dd&gt;&lt;dt /&gt;&lt;dd&gt;&amp;#x201c;I favor a major reorganization of the wiki material.&amp;#x201d; – Neil Smithline (2011)&lt;/dd&gt;&lt;dt /&gt;&lt;dd&gt;&amp;#x201c;The articles are littered with crappy advice confusing beginners, have little structure and are filled with ridiculous questions&amp;#x201d; – Bozhidar Batsov (2012)&lt;/dd&gt;&lt;/dl&gt;&lt;p&gt;The critics can be unhappy about it all they want, and they can complain about it all they want—but in the end, one needs to understand the forces at work, here. There is no chain of command.&lt;/p&gt;&lt;p&gt;It works just like a free software project. If it doesn&amp;#x2019;t scratch someone&amp;#x2019;s itch, nobody is going to add it. I think it&amp;#x2019;s a fundamental issue with our business model: there is no pay for boring stuff. Plus, documentation is of no direct use for anything—unlike code. Thus, people are mostly motivated to keep their own code and its documentation up to date. I don&amp;#x2019;t think there is anything we can do about that. That&amp;#x2019;s why the &lt;a class="inter EmacsWiki" href="http://emacswiki.org/emacs?MissionStatement"&gt;Emacs Wiki Mission Statement&lt;/a&gt; does not mention organization and quality. It cannot be commanded.&lt;/p&gt;&lt;p&gt;Once we accept that this is the sand upon which we are building our house, we necessarily need to scale down our expectations. Personally, I think the wiki exists somewhere between the official documentation, Stack Overflow, the FAQ, the newsgroups, the mailing lists, and IRC. It&amp;#x2019;s certainly nowhere near the quality of organization and writing that the Emacs documentation has—and I don&amp;#x2019;t think this is the right medium to aim for this level of quality. I think the people willing to invest that amount of energy to write quality stuff ought to be writing the real Emacs documentation—and they probably are.&lt;/p&gt;&lt;p&gt;What remains are the people using Emacs Wiki for their own pet projects, questions asked, answers given, sometimes organized, sometimes rewritten, sometimes linked to the rest of the site.&lt;/p&gt;&lt;p&gt;Wikipedia works because of its universal appeal. When I added an image to an obscure Indian temple we visited when I was staying in Mysore, the photo was terrible. But it was a start, and enough people cared about the page and it grew, and it found people to tend it, and now it&amp;#x2019;s big and beautiful.&lt;/p&gt;&lt;p&gt;There just aren&amp;#x2019;t enough Emacs users and authors out there and the best of us will be contributing to the official Emacs documentation. The wiki exists somewhere between the official documentation and the mailing lists. Lower your expectations.&lt;/p&gt;&lt;p&gt;Given all that, why does the wiki exist at all?&lt;/p&gt;&lt;p&gt;When I started it, I had several reasons:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The wikis I knew, C2 and Meatball Wiki, had attracted a particular community and they had created a particular subculture I liked. We talked about the Wiki Now and many other things that made wikis work. The medium itself was interesting.&lt;/li&gt;&lt;li&gt;I had been posting on the newsgroups for a long time, and slowly I realized that the same questions kept being asked again and again. The newsgroups and mailing lists were failing as a medium because they were ephemeral. Sure, we kept telling people to search the archives. But the medium &lt;em&gt;afforded&lt;/em&gt; asking questions instead of searching.&lt;/li&gt;&lt;li&gt;When I looked for Frequently Asked Questions, I found a document online, maintained by a single person. This person was a bottleneck. The FAQ updated slowly.&lt;/li&gt;&lt;li&gt;At the time I was getting into Internet Relay Chat. On IRC, conversation is even more ephemeral than on the mailing list. This time, however, &amp;#x201c;searching the archives&amp;#x201d; was out of the question. We needed our own archive. And thus I started answering questions on IRC and posting the answers on the wiki.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I think this last point bears consideration: I was creating pages or adding information to pages because it was pertinent on IRC. An index, linking to the page, categorization, returning to the page later and reworking it, all these quality related tasks were &lt;em&gt;not&lt;/em&gt; pertinent on IRC. All I needed was a pastebin that I could go back to and rewrite &lt;em&gt;if I felt like it&lt;/em&gt;. Often I did not—and I still don&amp;#x2019;t.&lt;/p&gt;&lt;p&gt;The wiki being on the web, updated every now and then, with pertinent answers to specialized questions, unorganized and raw, ended up being a good resource for the search engines out there. These search engines bring new people to the site. People that don&amp;#x2019;t understand how wikis work in general and how this wiki grew to be where it is in particular. They are shocked. So many pages outdated! Such a mess in style and quality!&lt;/p&gt;&lt;p&gt;I think those people are better served reading the official documentation. They don&amp;#x2019;t want this mess, they don&amp;#x2019;t benefit from it&amp;#x2019;s loose rules, they don&amp;#x2019;t understand how cool it is to have a site with no login required. They are better served elsewhere.&lt;/p&gt;&lt;p&gt;I&amp;#x2019;m sure that one day the Emacs Wiki will have become irrelevant. But just like the old newsgroups never disappeared entirely, so will the wiki transform into something else and remain part of our information landscape.&lt;/p&gt;&lt;p&gt;Perhaps one of the Emacs Wiki critics will one day set up an alternate site, pull all the pages (more than 8500 pages last time I checked), extract the quality content—or rewrite it from scratch—and produce something better.  Perhaps they will build an organization that can keep the quality up, encourage new authors to join, provide more value to their readers. But I don&amp;#x2019;t think complaining about the existing Emacs Wiki is a step in the right direction. Build it, and they will come—elsewhere.&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Emacs"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Wiki"&gt;Wiki&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Wiki"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Sat, 24 Mar 2012 02:37:05 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2012-03-24_How_Emacs_Wiki_Works</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>new</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>1</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2012-03-24_How_Emacs_Wiki_Works</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2012-03-24_How_Emacs_Wiki_Works</wiki:diff>
<category>Emacs</category>
<category>Wiki</category>
</item>

<item>
<title>SOPA Blackout Protest</title>
<link>http://alexschroeder.ch/wiki/2012-01-17_SOPA_Blackout_Protest</link>
<guid>http://alexschroeder.ch/wiki/2012-01-17_SOPA_Blackout_Protest</guid>
<description>&lt;p&gt;I just saw &lt;a class="url http outside" href="http://boingboing.net/2012/01/16/twitter-ceo-says-sopa-blackout.html"&gt;Twitter CEO says SOPA blackout protest "silly"&lt;/a&gt; on &lt;a class="near" title="Names" href="http://www.boingboing.net/"&gt;BoingBoing&lt;/a&gt;. I wonder: Should I shut down Emacs Wiki for US residents? I&amp;#x2019;d have to do a quick geo location of the IP numbers before serving anything. That sucks.&lt;/p&gt;&lt;dl class="irc"&gt;&lt;dt&gt;&lt;b&gt;kensanata&lt;/b&gt;&lt;/dt&gt;&lt;dd&gt;Do US #Emacs users require a reminder to fight #SOPA and # PIPA? I think Emacswiki will stay up for the USA. I doubt US Congress uses it.&lt;/dd&gt;&lt;/dl&gt;&lt;p&gt;I always felt that I was as safe as I can be running Emacs Wiki: I live in Switzerland, the server is hosted in Germany, the domain name registrar is French, the top-level .org domain is the only thing connecting it to the USA. But then I read &lt;a class="url http outside" href="http://www.techdirt.com/articles/20120113/09184917400/us-to-extradite-uk-student-copyright-infringement-despite-site-being-legal-uk.shtml"&gt;US Can Extradite UK Student For Copyright Infringement, Despite Site Being Legal In The UK&lt;/a&gt; &amp;#x2013; and now I wonder about the worst case. Perhaps I should get myself a different domain name.&lt;/p&gt;&lt;p&gt;Actually, I think the &lt;em style="font-style: normal; letter-spacing: 0.125em"&gt;main&lt;/em&gt; problem is that with all the scare mongering around copyright infringement and the astronomical punishments dealt out in the US, I have lost my confidence in their judicial system when it comes to copyright and patents. The most positive explanation for that is that I&amp;#x2019;m just misinterpreting all the bad news I&amp;#x2019;m reading online. My impression is formed by following &lt;span class="nick"&gt;@&lt;a class="url http" href="http://twitter.com/internetlaw"&gt;internetlaw&lt;/a&gt;&lt;/span&gt;, &lt;span class="nick"&gt;@&lt;a class="url http" href="http://twitter.com/privacylaw"&gt;privacylaw&lt;/a&gt;&lt;/span&gt;, &lt;span class="nick"&gt;@&lt;a class="url http" href="http://twitter.com/techdirt"&gt;techdirt&lt;/a&gt;&lt;/span&gt; and &lt;span class="nick"&gt;@&lt;a class="url http" href="http://twitter.com/boingboing"&gt;boingboing&lt;/a&gt;&lt;/span&gt;, following the occasional link. I end up reading &lt;a class="url http outside" href="http://recordingindustryvspeople.blogspot.com/2011/12/actual-damages-for-single-unauthorized.html"&gt;Actual damages for single unauthorized download of software program held to be cost of single license fee&lt;/a&gt; (from $1,370,590 down to $4,200) and I wonder how much it cost the accused in time, energy and money to get this result. I would not want to fight this battle in court, even if I win.&lt;/p&gt;&lt;p&gt;Case in point: &lt;a class="url http outside" href="http://boingboing.net/2012/01/16/how-usptos-recklessness-dest.html"&gt;How USPTO's recklessness destroys business, innovation, and competition&lt;/a&gt; &amp;#x2013; a company produces something and years later a competitor is awarded a patent. The cost of going to court is prohibitive, and so they just give up.&lt;/p&gt;&lt;p&gt;Overprotective copyright and a judicial system that encourages &lt;a class="near" title="Wikipedia" href="http://en.wikipedia.org/wiki/statutory%20damages"&gt;statutory damages&lt;/a&gt;, patent offices unable to cope with new technology, a highly networked world making it easy to publish internationally with incompatible legal systems. It makes my head hurt!&lt;/p&gt;&lt;p&gt;&lt;b&gt;Update&lt;/b&gt;: I decided to post a more personal message on &lt;a class="inter EmacsWiki" href="http://emacswiki.org/emacs?2012-01-18"&gt;&lt;span class="site"&gt;EmacsWiki&lt;/span&gt;&lt;span class="separator"&gt;:&lt;/span&gt;&lt;span class="page"&gt;2012-01-18&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Emacs"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Web"&gt;Web&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Web"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=USA"&gt;USA&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/USA"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=SOPA"&gt;SOPA&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/SOPA"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Copyright"&gt;Copyright&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Copyright"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Patents"&gt;Patents&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Patents"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Tue, 17 Jan 2012 09:53:39 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2012-01-17_SOPA_Blackout_Protest</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>new</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>1</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2012-01-17_SOPA_Blackout_Protest</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2012-01-17_SOPA_Blackout_Protest</wiki:diff>
<category>Emacs</category>
<category>Web</category>
<category>USA</category>
<category>SOPA</category>
<category>Copyright</category>
<category>Patents</category>
</item>

<item>
<title>The Value of a Web Site</title>
<link>http://alexschroeder.ch/wiki/2011-02-14_The_Value_of_a_Web_Site</link>
<guid>http://alexschroeder.ch/wiki/2011-02-14_The_Value_of_a_Web_Site</guid>
<description>&lt;p&gt;I am subscribed to a Google search for my name. I found a site that promises to compute the &amp;#x201c;value&amp;#x201d; of your website and predicts the expected ad revenue.&lt;/p&gt;&lt;p&gt;For &lt;a class="near" title="Names" href="http://www.emacswiki.org/"&gt;Emacs Wiki&lt;/a&gt; they say the following:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Website Worth: $10,990.15&lt;/li&gt;&lt;li&gt;Daily Pageviews: 10,752&lt;/li&gt;&lt;li&gt;Daily Visitors: 4,887&lt;/li&gt;&lt;li&gt;Daily Ads Revenue: $30.11&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I guess I&amp;#x2019;d love to get $30 per day for not doing anything except paying about $30 per month. &lt;img class="smiley" src="http://www.emacswiki.org/pics/smile.png" alt=":)" /&gt;&lt;/p&gt;&lt;p&gt;Google Analytics says that Emacs Wiki gets a bit less than 6000 visits per weekday and a bit less than 4000 visits per Satuday and Sunday.&lt;/p&gt;&lt;p&gt;I somehow doubt those numbers, however. What do you think?&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Emacs"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt; &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Web"&gt;Web&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Web"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Mon, 14 Feb 2011 19:01:15 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2011-02-14_The_Value_of_a_Web_Site</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>new</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>1</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2011-02-14_The_Value_of_a_Web_Site</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2011-02-14_The_Value_of_a_Web_Site</wiki:diff>
<category>Emacs</category>
<category>Web</category>
</item>

<item>
<title>Pink</title>
<link>http://alexschroeder.ch/wiki/2010-09-29_Pink</link>
<guid>http://alexschroeder.ch/wiki/2010-09-29_Pink</guid>
<description>&lt;p&gt;Ever heard of &lt;a class="url http outside" href="http://www.google.ch/images?q=baker+miller+pink"&gt;Baker Miller Pink&lt;/a&gt;? Apparently it&amp;#x2019;s &lt;a class="url http outside" href="http://dasmagazin.ch/index.php/zelle-in-pink/"&gt;used in a Swiss prison&lt;/a&gt;. My wife talked to one of the psychiatrist who used this three times to calm inmates with a violent fit. Apparently the pink used is R:255, G:145, B:175.&lt;/p&gt;&lt;p&gt;Too bad my &lt;a class="near" title="EmacsWiki" href="http://emacswiki.org/emacs?PinkBliss"&gt;PinkBliss&lt;/a&gt; color theme for &lt;a class="near" title="Names" href="http://www.emacswiki.org/"&gt;Emacs&lt;/a&gt; uses &amp;#x201c;misty rose&amp;#x201d; as the background color instead of specifying the color mix specifically. You know&amp;#x2026; to calm Emacs users with violent fits.&lt;/p&gt;&lt;p&gt;&lt;a class="url http outside" href="http://www.perbang.dk/rgb/FFE4E1/"&gt;Misty Rose&lt;/a&gt; apparently is FFE4E1 or R:255, G:228, B:225 &amp;#x2013; way to bright. Oh well. There are still opportunities in Pink Emacs research!&lt;/p&gt;&lt;p&gt;Tags: &lt;a class="outside tag" title="Tag" rel="tag" href="http://www.emacswiki.org/alex?action=tag;id=Emacs"&gt;Emacs&lt;/a&gt; &lt;a class="feed tag" title="Feed for this tag" rel="feed" href="http://www.emacswiki.org/alex/feed/full/Emacs"&gt;&lt;img src="http://www.emacswiki.org/alex/pics/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Wed, 29 Sep 2010 19:29:57 GMT</pubDate>
<comments>http://alexschroeder.ch/wiki/Comments_on_2010-09-29_Pink</comments>
<dc:contributor>AlexSchroeder</dc:contributor>
<wiki:status>updated</wiki:status>
<wiki:importance>major</wiki:importance>
<wiki:version>5</wiki:version>
<wiki:history>http://alexschroeder.ch/wiki?action=history;id=2010-09-29_Pink</wiki:history>
<wiki:diff>http://alexschroeder.ch/wiki?action=browse;diff=1;id=2010-09-29_Pink</wiki:diff>
<category>Emacs</category>
</item>
</channel>
</rss>
