Commit graph

17 commits

Author SHA1 Message Date
5a5ff2b2b6
add local load-path to cmake build 2022-08-17 09:19:50 +02:00
53d3959e1b changes for MELPA compatibility 2022-08-02 12:48:02 +02:00
John Andrews
19dfecc8ca Revert "Combine sclang-mode into the main sclang file"
This reverts commit c414b9c7ab.
2021-08-16 19:57:43 -04:00
John Andrews
c414b9c7ab Combine sclang-mode into the main sclang file
Because the only autoloaded function is sclang-mode, the sclang file was
not being evaluated. This made it impossible to use-package properly in
order to configure the package. Combining the files makes the most sense
as sclang.el wasn't doing much anyways.
2021-08-09 22:34:47 -04:00
John Andrews
6cea8929e6 Conditionally respect sclang-vars
Only when compiling with cmake will sclang-vars.el be written. This
commit moves relevant constants into customizable vars. Only if the
`sclang-system-data-dir` exists is it respected, otherwise it will guess
the proper location by looking at the system-type.

The purpose of this is to make it possible to build and distribute a
package independent of the SuperCollider build process, while ensuring
that those users who have become accustomed to the current install
process are not disrupted.
2021-07-25 19:54:19 -04:00
Mario Lang
6739aa327c Use `cl-gensym' to fix Emacs 25 compatibility (Fixes #24)
`gensym' used to be an alias for `cl-gensym'.
It was replaced with a "native" implementation in subr.el with Emacs 26.1.
Go back to using `cl-gensym' to make sure Emacs 25 still works.
2020-04-02 08:29:01 +02:00
Mario Lang
bb6bce1671 Use cl-lib instead of obsolete cl package
This is actually pretty boring.  It replaces calls to obsolete aliases
with the properly namespaced functions from the cl-lib package.

This raises our minimal Emacs version requirement to 24.3 (2013-03-10).
However, people using earlier versions can install the cl-lib package
from the Emacs package system.

While at it:
* remove function `sclang-document-list' which was really useless.
* fix `sclang-format-pseq' which needed to use `cl-labels'
  instead of `cl-flet' to actually work.
* (cl-reduce (lambda (a b) (or a b)) (mapcar function list))
  is much better written as (and now properly short-circuits):
  (cl-some function list)
* (cl-remove-if 'null list)
  should be written as
  (remq nil list)
2019-12-25 14:14:13 +01:00
widp
95120e310b change instances of flet to cl-flet as flet is obsolete 2018-07-28 20:01:58 +05:30
Tim Blechmann
fef0729223 scel: improvements to the scdoc integration
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-10-01 18:35:53 +02:00
Tim Blechmann
a20081f26a scel: initial support for SCDoc help browser
this patch introduces two new key bindings:
C-c C-y: open help browser via Help.gui
C-c h:   open help browser for a specific topic

the old help browser is still available via C-c C-h and can be used to
display pre-rendered help files.

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-10-01 11:33:24 +02:00
Tim Blechmann
b64f936a3e scel: use xdg-compliant paths
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-09-20 14:44:37 +02:00
andersvi
f2476c981c allowing .htm together with .html endings in pred.
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@10227 a380766d-ff14-0410-b294-a243070f3f08
2010-08-03 21:12:24 +00:00
Tim Blechmann
d1639c1cbb remove trailing whitespaces
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9417 a380766d-ff14-0410-b294-a243070f3f08
2009-09-26 06:17:48 +00:00
andersvi
64a225a654 make temporary rtf-buffers writable for converting with (erase-buffer)
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9366 a380766d-ff14-0410-b294-a243070f3f08
2009-08-26 11:45:15 +00:00
Dan Stowell
6be16de284 Update address of Free Software Foundation (debian source-checking tools produce warnings about this).
Also putting slightly more explicit copyright attribution in some files (for similar reason).


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9082 a380766d-ff14-0410-b294-a243070f3f08
2009-04-20 08:38:27 +00:00
andersvi
93812f18a3 removed duplicate code vs. w3m-filters etc.,
corrected faulty arguments several places: ie. 'file-name in
lambda-list and 'file in code


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8943 a380766d-ff14-0410-b294-a243070f3f08
2009-03-17 09:29:15 +00:00
Marije Baalman
89fba7d169 move scel to editors
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8370 a380766d-ff14-0410-b294-a243070f3f08
2009-01-02 19:06:25 +00:00