From larry at theclapp.org Fri Apr 6 02:12:19 2007 From: larry at theclapp.org (Larry Clapp) Date: Thu, 5 Apr 2007 22:12:19 -0400 Subject: [climacs-devel] How stable & useful is Climacs? Message-ID: <20070406021219.GA28885@santa.theclapp.org> Hello, Climacsers, First some background about me (if you don't care, skip to the question at the bottom): I've used vi and Vim since 1991. The more I use Lisp, the more I want to use an editor that understands it. And yet I have what I guess boils down to a prejudice against Emacs. With Brad Beveridge, I did some work on integrating Lisp into Vim. Jim Bailey linked ECL with Vim directly, and then Brad did some work reimplementing some of Slime into Vim. When Brad defected to the Emacs camp, I took a look at Vim & Slime, and like Brad, I quickly became unhappy with the Vim internals. The more I looked at it, the more I realized that Emacs was really the way to go, if I wanted an editor scriptable in Lisp. But I'd rather use something scriptable in *Common* Lisp. And I tend to think that an "immersion" approach would be best: swear off Vim and use the new editor for all tasks (including work, if possible). And so my question: how useful is Climacs as a code editor for non-Lisp languages, specifically shell script and Perl? Does Climacs (or McClim) have a "shell mode"? How well documented is it, from the point of view of someone almost completely unfamiliar with Emacs? I'm not adverse to reading code, and certainly not to writing some, either. But how many of you, for example, use Climacs as your day-to-day editor for most tasks? Thank you for your time! -- Larry Clapp From athas at sigkill.dk Fri Apr 6 09:36:41 2007 From: athas at sigkill.dk (Troels Henriksen) Date: Fri, 06 Apr 2007 11:36:41 +0200 Subject: [climacs-devel] How stable & useful is Climacs? In-Reply-To: <20070406021219.GA28885@santa.theclapp.org> (Larry Clapp's message of "Thu, 5 Apr 2007 22:12:19 -0400") References: <20070406021219.GA28885@santa.theclapp.org> Message-ID: <87zm5l26ae.fsf@lambda.athas.dyndns.dk> Larry Clapp writes: > Hello, Climacsers, Hello! > And so my question: how useful is Climacs as a code editor for > non-Lisp languages, specifically shell script and Perl? Does Climacs > (or McClim) have a "shell mode"? How well documented is it, from the > point of view of someone almost completely unfamiliar with Emacs? There is currently no shell or Perl mode (we call them "syntaxes" in Climacs), but there is nothing that prevents one from implementing such a syntax mode (except for the fact that it is currently fairly hard to do so). There is unfortunately little-to-none documentation about writing syntax modes, mostly because the current optimal procedure for doing so (writing a parser and redisplay code by hand) is not really useful in the long run. Reading the code for the Fundamental syntax should give an outline of what needs to be implemented. > I'm not adverse to reading code, and certainly not to writing some, > either. But how many of you, for example, use Climacs as your > day-to-day editor for most tasks? I know Robert Strandh uses/used Climacs for at least some things, but most people find the lack of syntaxes or the relative slowness of Climacs to be unacceptable. Modulo hopefully-solvable performance issues (which may or may not affect you depending on your hardware), Climacs is fairly useful for hacking on Common Lisp code. If you're interested, the McCLIM manual has a section about the editor substrate used in Climacs ("Drei", adapted from Climacs), it has some documentation about the used protocols. -- \ Troels /\ Henriksen From _deepfire at feelingofgreen.ru Mon Apr 9 13:35:43 2007 From: _deepfire at feelingofgreen.ru (Samium Gromoff) Date: Mon, 09 Apr 2007 17:35:43 +0400 Subject: [climacs-devel] a trivial command for loading ASDF systems Message-ID: <871wit4qmo.wl@betelheise.deep.net> This snippet implements some obvious functionality. --- misc-commands.lisp 12 Nov 2006 16:06:06 -0000 1.26 +++ misc-commands.lisp 9 Apr 2007 13:34:23 -0000 @@ -79,6 +79,15 @@ Setting a syntax will cause the buffer to be reparsed using the new syntax." (set-syntax *current-buffer* syntax)) +(define-command (com-load-asdf-system :name t :command-table base-table) + ((system 'symbol + :prompt "Name of the ASDF system")) + "Prompts for a name of an ASDF system to be loaded." + (handler-case + (asdf:oos 'asdf:load-op system) + (asdf:missing-component () + (display-message "The ASDF system ~A was not found." system)))) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Groups regards, Samium Gromoff