Last edit
Sumário: Removed outdated Clojure setup
Alterado:
< My current obsession (2010) ist [ClojureMode Clojure]. If you tend to distrust automatic installation of things in general, you may be interested in [http://www.skamphausen.de/cgi-bin/ska/My_Clojure_Setup My Clojure Setup]. And if you're speaking German, may I humbly point you to the book that I am writing: [http://www.clojure-buch.de Deutsches Clojure buch]
para
> My current obsession (2010) ist [ClojureMode Clojure]. If you're speaking German, may I humbly point you to the book that I am writing: [http://www.clojure-buch.de Deutsches Clojure Buch]
2002-09-20 I am new to this community :-)
After browsing the wiki and finding good stuff around I feel like joining this.
I use GNU Emacs
Add this to your library swiss-move.el to make it work with GNU Emacs:
(unless (featurep 'xemacs)
(defun line-number (&optional position)
(count-lines (point-min) (or position (point)))))After adding this to my copy, I noticed that you knew about this problem, but perhaps weren’t sure how to fix it. Now you can correct this statement on your Web site:
Thanks for pointing out. I’ll put that code where it belongs. :-)
I don’t know if the 1+ makes any difference here, but the documentation for count-lines says (at least in XEmacs, but I’m pretty sure I’ve seen these sentences in some (older?) version of GNU Emacs, too):
NOTE: The expression to return the current line number is not obvious:
(1+ (count-lines 1 (point-at-bol)))
I makes a difference: the first version doesn’t work correctly when point is at bol, the second (documented) version does. So I’ll use something like
(unless (featurep 'xemacs)
(defun line-number (&optional position)
(save-excursion
(when position (goto-char position))
(1+ (count-lines 1 (point-at-bol))))))which is pretty close to XEmacs’ definition of that function w/o narrowing. – StefanKamphausen
My current obsession (2010) ist Clojure. If you’re speaking German, may I humbly point you to the book that I am writing: Deutsches Clojure Buch
http://www.emacswiki.org/cgi-bin/wiki?action=rc&all=1&showedit=1&from=1&rcuseronly=StefanKamphausen
Willkommen! I would love to see content in other languages on the wiki. Adding links to OnlineResources is a first step. There is also a link to a French website on the Gnus category page. Perhaps we should start thinking about adding non-English pages to the wiki or host non-English wikis on this server. – AlexSchroeder