back to main page

customizing csound-x for Emacs



You can change the following settings with the command
M-x customize-group csound-x

group csound-x

Settings here are used to modify the behaviour of John ffitch´s modes

csound-x-disable-smart-semicolon
if t, the ";" character is inserted with no side effect
csound-x-disable-smart-colon
if t, the ":" character is inserted with no side effect
csound-x-orc-fontlock 
adds a layer of fontification to csound-orc-mode (this handles macros, notably)
if cscsd-csound-binary is correctly set, the list of recognized opcodes is directly fetched from the executable
csound-orc+-faces-attributes 
setting attributes for faces defined in csound-orc-mode
csound-x-sco-fontlock 
adds a layer of fontification to csound-sco-mode
csound-sco+-faces-attributes 
setting attributes for faces defined in csound-sco-mode


child group csound-csd

Settings here define the behavior of the csound-csd minor mode.

cscsd-csound-binary
a valid csound executable required
cscsd-SSDIR
the SSDIR directory required
cscsd-SFDIR
the SFDIR directory required
cscsd-INCDIR
the INCDIR directory required
cscsd-wave-editor
a shell command invoking a sound editor (a RIFF WAVE file name will be appended to it as an argument)
 
cscsd-process-file
function invoked by the "process file" and "process regions" items from the Csd menu.
its single argument is the file name associated to the current csd buffer.
you may define either a single anonymous function, or a choice of several ones in which case you must provide a label -a menu item name- for each function
 
cscsd-temp-csd-file
name for the temporary csd file used when processing the region required
cscsd-hear-file
function invoked by the "listen to file" item from the Csd menu.
its single argument is the file name associated to the current csd buffer
 
cscsd-compile-orc-sco
this function should compile an orc/sco pair
its two arguments are the orc and sco file names
there is no restriction on the compiled file format or name: you just need to customize cscsd-listen-orc-sco so that it plays or edit the compiled file
this is the function used by the "Compile score" item in the Sco+ menu, except if this item is invoked from a .csd file, in which case the current processing from cscsd-process-file is used.
 
cscsd-listen-orc-sco
this function should play or edit the file rendered by cscsd-compile-orc-sco it takes no argument
this is the function used by the "Listen score" item in the Sco+ menu, except if this item is invoked from a .csd file, in which case cscsd-hear-file is used.
 
cscsd-associated-orc
function returning the file name of the orchestra associated to the current score buffer, or nil if such an orchestra can not be defined
 
cscsd-default-orc-header
headers to be inserted at the beginning of the CsInstruments section when creating a new .csd template
 
cscsd-default-options
text to be inserted in the CsOptions section when creating a new csd template
 
cscsd-csr-files
list of .csr files to import
this format is used by CsEdit to store chunks of code
the contents of the files will be available from the repository submenu
 
cscsd-current-csr-file
currently edited csr file
 
scsd-csr-author
value of the Author= field in the current .csr file
 
cscsd-sco-delimiter-regexps
list of regexps to be tried in order to guess where the score starts in a plain text file known to contain a score and an orchestra with no csd syntax to wrap them.
this is used by cscsd-auto-import, making it possible for example to convert free-style text from a mail into a real csd
 
cscsd-orc-delimiter-regexps
list of regexps to be tried in order to guess where the orchestra starts in a plain text file known to contain a score and an orchestra with no csd syntax to wrap them.
(this is used by cscsd-auto-import)
 
cscsd-orchestras-path
list of directories to be scanned when querying through .orc and .csd files
 
cscsd-use-MMM
if t, mmm-mode is turned on by default along with csound-csd-mode
 
cscsd-use-EEL
if t, embedded-elisp-mode is turned on by default along with csound-csd-mode
 
cscsd-ses-areas-invisible
if t, the <SES>...</SES> areas contents are not displayed
 


child group csound-mx

Settings here customize matrix handling in scores.

scomx-calc-precision
calc precision (the lower the faster)
scomx-propose-algebraic-input-first
if t, the main input format for formulas is algebraic
scomx-highlight-matrices
weither matrices should be automatically highlighted
scomx-selection-color
color or face used by default to highlight selected matrices
scomx-main-selection-color
color or face used to highlight the current selected matrice
scomx-main-selection-color
colors or faces to be used for highlighting specifically named matrices
scomx-toggle-truncate-at-first
weither we should toggle Truncate Lines when starting
scomx-no-i-macros
if nil, a line starting with a macro is always considered as a i-statement
scomx-i-macros
list of macros names interpreted as i-statements when beginning a score line
scomx-Cmask-support
weither Cmask is available from csound-mx
scomx-Cmask-binary
Cmask binary
scomx-Cmask-tmp-file
Cmask temporary file (WITHOUT extension !)
scomx-Matrix-menu-definitions
list of functions to be evaluated in order to build up the code repository in the "Matrix" menu
these functions must return the same kind of list as scomx-Matrix-menu does, so use its code as a template: C-h f scomx-Matrix-menu will get you there.
scomx-framed-spreadsheets 
if non-nil, the spreadsheet buffers appear in a pop-up frame


child group csound-doc

Settings here customize on-line documentation in csound-orc-mode.

csdoc-use-html
install items in the Csound/Orc menu for browsing HTML documentation.
csdoc-use-w3
weither w3 should be invoked to browse the HTML docs.
if nil, the default external browser is used.
csdoc-html-directory
directory containing the "official" (David Boothe) HTML version of Csound docs
csdoc-html-entry-point 
the starting page of your choice for browsing the HTML docs



back to main page