ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexandre Prokoudine <avp@altlinux.ru>
To: devel@altlinux.ru
Subject: [devel] csound extensions for vim and 'X?Emacs'
Date: Mon, 12 May 2003 15:36:14 +0400
Message-ID: <3EBF872E.9080106@altlinux.ru> (raw)

Господа,

В связи с тем, что Csound релицензирован под LGPL и в скором времени 
появится в Сизифе, прошу сопроводителей vim и Emacs/XEmacs включить в 
сборки расширения vim/emacs/xemacs для Csound

Для vim:

http://www.eumus.edu.uy/docentes/jure/csound/vim/
или http://www.csounds.com/istvan/html/cspatches.html

Для  Emacs/XEmacs: http://www.zogotounga.net/comp/csoundx.html

По поводу последней ссылки позволю себе процитировать следующее письмо:

From: Torsten Anders <t.anders@qub.ac.uk>
To: linux-audio-user@music.columbia.edu
Cc: Dave Phillips <dlphilp@bright.net>
Reply-To: linux-audio-user@music.columbia.edu
Subject: Re: [linux-audio-user] [OT] any Xemacs users here ?
Date: 22 Apr 2003 12:32:51 +0100
Sender: linux-audio-user-admin@music.columbia.edu
Organization:
X-Mailer: Ximian Evolution 1.2.1 (1.2.1-1)

On Mon, 2003-04-21 at 22:12, Jack O'Quin wrote:
 > Dave Phillips <dlphilp@bright.net> writes:
 > > I assume the Csound mode file is available from Bath, but after I 
have it how do I
 > > instruct emacs to use it ?
 >
 > Here's a pointer that looks helpful...
 >
 >   http://www.zogotounga.net/comp/csoundx.html

The emacs-mode you mention here is a extension of a more basic mode by
John ffitch (ftp.cs.bath.ac.uk/pub/dream/utilities/Emacs-macros). You
may want to start with that one, perhaps thats all you for now (because
the extensions has a lot of dependencies ;-)

However, the file on csound-x (the extended mode quoted above) says on
installing: "Unpack the stef-elisp.zip archive in your site-lisp
directory [...]"

You probably already got stuck here ;) Don't panic! It just means, place
the file somewhere where emacs can find it (comparable to $PATH for the
shell). You can define/extend your path in your .emacs file, e.g.

(setq load-path (cons "/home/me/emacs/" load-path))

You may then want, that your csound files are recognized automatically
dependent to their extension. So you may add to .emacs (I hope I did not
mix up parentheses):

(setq auto-mode-alist
      (append '(("\\.orc$"   . csound-orc-mode)
        ("\\.ORC$"   . csound-orc-mode)
        ("\\.sco$"   . csound-sco-mode)
        ("\\.SCO$"   . csound-orc-mode)
        ("\\.csd$"   . csound-orc-mode)
                ("\\.cec$"   . csound-orc-mode))
        auto-mode-alist))


The installation instruction of csound-x suggests to add

(require 'stef-elisp)


Unfortunately, this didn't work for me (had some problem with some
sub-package, if I recall correctly, its month ago). However, I changed
it to:


(autoload 'csound-orc-mode "csound-orc"
          "Csound Orchestra major mode." t)
(autoload 'csound-sco-mode "csound-sco"
          "Csound Score major mode." t)


These two expressions have the effect that the appropriate mode is
loaded whenever you open a csound file (a file with one of the
extentions declared above) the first time in your emacs session.

BTW, other emacs modi (e.g. the csound mode of John ffitch) can be
installed in a similar way.

Happy "emacsing",
Torsten


-- 
Torsten Anders
Sonic Arts Research Centre
Queens University Belfast
Tel: +44 28 9027 4831 (office)
     +44 28 9066 7439 (private)

-- 
Alexandre Prokoudine
ALT Linux Documentation Team
JabberID: avp@altlinux.org




             reply	other threads:[~2003-05-12 11:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-12 11:36 Alexandre Prokoudine [this message]
2003-05-12 12:26 ` Alexey I. Froloff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EBF872E.9080106@altlinux.ru \
    --to=avp@altlinux.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git