Re: Defining shortcuts for scheme code

2006-02-22 Thread Nicolas Sceaux
Erik Sandberg <[EMAIL PROTECTED]> writes: > On Thursday 16 February 2006 13.14, Thies Albrecht wrote: >> Hi everybody! >> >> To prevent having to use extensive scheme code inside my score I prefer >> to define shortcuts for often used code snippets, e.g. when setting >> ottavation on and off. >> >

Re: Defining shortcuts for scheme code

2006-02-17 Thread Thies Albrecht
Hi everybody! Han-Wen Nienhuys schrieb: try: #(define (nopc) (ly:set-option 'point-and-click #f)) #(nopc) Thanks for your hint, also to Erik for his suggestion. Erik Sandberg schrieb: Unfortunately, the threshold for understanding how Scheme works in lilypond is rather high (or, at le

Re: Defining shortcuts for scheme code

2006-02-17 Thread D Josiah Boothby
This would be particularly useful if you had a file containing a number of your shortcuts, so all you would have to do is something like this: \include "shortcutsFile.ly" then call whatever shortcut(s) you need, when you need them. Josiah On Thu, 16 Feb 2006, Thies Albrecht wrote: Hi everyb

Re: Defining shortcuts for scheme code

2006-02-16 Thread Erik Sandberg
On Thursday 16 February 2006 13.14, Thies Albrecht wrote: > Hi everybody! > > To prevent having to use extensive scheme code inside my score I prefer > to define shortcuts for often used code snippets, e.g. when setting > ottavation on and off. > > In the following code example Point'n'click is tur

Re: Defining shortcuts for scheme code

2006-02-16 Thread Han-Wen Nienhuys
Thies Albrecht wrote: Hi everybody! To prevent having to use extensive scheme code inside my score I prefer to define shortcuts for often used code snippets, e.g. when setting ottavation on and off. In the following code example Point'n'click is turned off also IMHO I have only defined the

Defining shortcuts for scheme code

2006-02-16 Thread Thies Albrecht
Hi everybody! To prevent having to use extensive scheme code inside my score I prefer to define shortcuts for often used code snippets, e.g. when setting ottavation on and off. In the following code example Point'n'click is turned off also IMHO I have only defined the shortcut without using