Re: \set vs \override

2009-12-01 Thread Anthony W. Youngman
In message 4b0bc390.1080...@internode.on.net, Nick Payne nick.pa...@internode.on.net writes Carl Sorensen wrote: On 11/24/09 2:57 AM, Nick Payne nick.pa...@internode.on.net wrote: James Worlton wrote: Hi! In 2.13.6 I did a project and used: \set Score.markFormatter =

Re: \set vs \override

2009-11-24 Thread Francisco Vila
2009/11/24 Han-Wen Nienhuys hanw...@gmail.com: I think you send a lot of mail. I suggest reading code; if it were easy, where would the fun be? Sorry if it sounds angry. My humble opinion is that it's absolutely NOT FUN to have a future without LilyPond because reading the code was not easy

Re: \set vs \override

2009-11-24 Thread Nick Payne
James Worlton wrote: Hi! On Nov 23, 2009, at 9:26 PM, Nick Payne wrote: On this subject of set vs override, if I want rehearsal marks to be boxed letters and also want to use the letter I as a rehearsal mark, how can I do that. Each set command overwrites the previous value of the context

Re: \set vs \override

2009-11-24 Thread Carl Sorensen
On 11/24/09 2:57 AM, Nick Payne nick.pa...@internode.on.net wrote: James Worlton wrote: Hi! In 2.13.6 I did a project and used: \set Score.markFormatter = #format-mark-box-alphabet and I got the boxes and the letter I (all in one command!) Thanks for that. That particular value for

Re: \set vs \override

2009-11-24 Thread Nick Payne
Carl Sorensen wrote: On 11/24/09 2:57 AM, Nick Payne nick.pa...@internode.on.net wrote: James Worlton wrote: Hi! In 2.13.6 I did a project and used: \set Score.markFormatter = #format-mark-box-alphabet and I got the boxes and the letter I (all in one command!) Thanks for

Re: \set vs \override

2009-11-24 Thread David Kastrup
Nick Payne nick.pa...@internode.on.net writes: Carl Sorensen wrote: On 11/24/09 2:57 AM, Nick Payne nick.pa...@internode.on.net wrote: James Worlton wrote: Hi! In 2.13.6 I did a project and used: \set Score.markFormatter = #format-mark-box-alphabet and I got the boxes and the

Re: \set vs \override

2009-11-24 Thread Han-Wen Nienhuys
On Tue, Nov 24, 2009 at 3:50 AM, David Kastrup d...@gnu.org wrote: Sigh.  I guess I give up.  Yes, I understood that.  Pretty much from the get-go, and also from the manual.  The unanswered question is _why_ you want only _one_ of the two different things happen to _one_ half of the

Re: \set vs \override

2009-11-24 Thread David Kastrup
Han-Wen Nienhuys hanw...@gmail.com writes: On Tue, Nov 24, 2009 at 3:50 AM, David Kastrup d...@gnu.org wrote: Sigh.  I guess I give up.  Yes, I understood that.  Pretty much from the get-go, and also from the manual.  The unanswered question is _why_ you want only _one_ of the two different

Re: \set vs \override

2009-11-24 Thread Han-Wen Nienhuys
Grammatically \set Context.Property = #value \set Grob.GrobProperty = #value both look like \set STRING . STRING = SCHEME ie. you can't distinguish between both actions if you unify the syntax. On Tue, Nov 24, 2009 at 11:26 AM, David Kastrup d...@gnu.org wrote: Han-Wen Nienhuys

Re: \set vs \override

2009-11-24 Thread Jan Nieuwenhuizen
Op dinsdag 24-11-2009 om 12:23 uur [tijdzone -0200], schreef Han-Wen Nienhuys: Grammatically \set Context.Property = #value \set Grob.GrobProperty = #value both look like \set STRING . STRING = SCHEME ie. you can't distinguish between both actions if you unify the syntax. Hmm, why is

Re: \set vs \override

2009-11-24 Thread Carl Sorensen
On 11/24/09 4:56 AM, David Kastrup d...@gnu.org wrote: Nick Payne nick.pa...@internode.on.net writes: Carl Sorensen wrote: On 11/24/09 2:57 AM, Nick Payne nick.pa...@internode.on.net wrote: James Worlton wrote: Hi! In 2.13.6 I did a project and used: \set

Re: \set vs \override

2009-11-23 Thread David Kastrup
Mats Bengtsson mats.bengts...@ee.kth.se writes: Joe Neeman wrote: On Sat, 2009-11-21 at 22:45 +, Graham Percival wrote: On Sat, Nov 21, 2009 at 11:31:40PM +0100, David Kastrup wrote: I don't see a good rationale why \set, \override, \revert, \tweak should not work on the same

Re: \set vs \override

2009-11-23 Thread Mats Bengtsson
David Kastrup wrote: We used to have the same command for setting both context and object properties, see http://lilypond.org/doc/v2.2/Documentation/topdocs/out-www/NEWS.html I read The syntax for setting properties has been simplified: the following table lists the

Re: \set vs \override

2009-11-23 Thread David Kastrup
Mats Bengtsson mats.bengts...@ee.kth.se writes: David Kastrup wrote: We used to have the same command for setting both context and object properties, see http://lilypond.org/doc/v2.2/Documentation/topdocs/out-www/NEWS.html I read The syntax for setting properties has been

Re: \set vs \override

2009-11-23 Thread Han-Wen Nienhuys
On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: And I am arrogant enough to believe that if I don't understand a design decision after a few days of trying, it is likely that ultimately a lot of people other than myself will be better off if the distinction gets abolished.

Re: \set vs \override

2009-11-23 Thread David Kastrup
Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: Right now I don't have the necessary clue level.  Merely a gut hunch. Why dont you invest some time to find out how it really works, What do you think I am doing? Reading

Re: \set vs \override

2009-11-23 Thread Ian Hulin
Hi David, David Kastrup wrote: Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: Right now I don't have the necessary clue level. Merely a gut hunch. Why dont you invest some time to find out how it really works, What do you

Re: \set vs \override

2009-11-23 Thread David Kastrup
Ian Hulin i...@hulin.org.uk writes: David Kastrup wrote: I will not doctor the documentation before I consider myself having a clue. And I am nowhere near that yet. From the bread-crumb trail of your posts on the various lists, it looks like you're exploring a similar set of avenues I was

Re: \set vs \override

2009-11-23 Thread Han-Wen Nienhuys
On Mon, Nov 23, 2009 at 12:55 PM, David Kastrup d...@gnu.org wrote: Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: Right now I don't have the necessary clue level.  Merely a gut hunch. Why dont you invest some time to find out

Re: \set vs \override

2009-11-23 Thread David Kastrup
Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 12:55 PM, David Kastrup d...@gnu.org wrote: Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: Right now I don't have the necessary clue level.  Merely a gut hunch.

Re: \set vs \override

2009-11-23 Thread Han-Wen Nienhuys
On Mon, Nov 23, 2009 at 11:10 PM, David Kastrup d...@gnu.org wrote: * \override and \revert manipulate the defaults stored in said context property, pushing and popping values off the alist. This concise hint is wagonloads clearer than what is in the \set vs \override documentation node.  

Re: \set vs \override

2009-11-23 Thread Nick Payne
On this subject of set vs override, if I want rehearsal marks to be boxed letters and also want to use the letter I as a rehearsal mark, how can I do that. Each set command overwrites the previous value of the context property, so if I use: \set Score.markFormatter =

Re: \set vs \override

2009-11-23 Thread James Worlton
Hi! On Nov 23, 2009, at 9:26 PM, Nick Payne wrote: On this subject of set vs override, if I want rehearsal marks to be boxed letters and also want to use the letter I as a rehearsal mark, how can I do that. Each set command overwrites the previous value of the context property, so if I

Re: \set vs \override

2009-11-23 Thread David Kastrup
Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 11:10 PM, David Kastrup d...@gnu.org wrote: * \override and \revert manipulate the defaults stored in said context property, pushing and popping values off the alist. This concise hint is wagonloads clearer than what is in

Re: \set vs \override

2009-11-22 Thread David Kastrup
Joe Neeman joenee...@gmail.com writes: It would certainly be possible, but I think it would be a bad idea. I think that having two separate commands is much clearer than having a command with two distinct behaviours depending on what its argument is. If the things that happen are

Re: \set vs \override

2009-11-22 Thread Mats Bengtsson
We used to have the same command for setting both context and object properties, see http://lilypond.org/doc/v2.2/Documentation/topdocs/out-www/NEWS.html If you want to bring this issue up again, don't forget to read the discussions that lead to the current syntax. /Mats Joe Neeman

Re: \set vs \override

2009-11-22 Thread Han-Wen Nienhuys
On Sat, Nov 21, 2009 at 8:31 PM, David Kastrup d...@gnu.org wrote: And I am arrogant enough to believe that if I don't understand a design decision after a few days of trying, it is likely that ultimately a lot of people other than myself will be better off if the distinction gets abolished.

Re: \set vs \override

2009-11-22 Thread David Kastrup
Han-Wen Nienhuys hanw...@gmail.com writes: On Sat, Nov 21, 2009 at 8:31 PM, David Kastrup d...@gnu.org wrote: And I am arrogant enough to believe that if I don't understand a design decision after a few days of trying, it is likely that ultimately a lot of people other than myself will be

Re: \set vs \override

2009-11-21 Thread Joe Neeman
On Sat, 2009-11-21 at 17:22 +0100, David Kastrup wrote: There is a chapter set vs override in the manual. I am afraid that I fail to grasp the difference from the chapter. It says: There are actually two different kinds of properties. But then it says Context properties can change

Re: \set vs \override

2009-11-21 Thread David Kastrup
Joe Neeman joenee...@gmail.com writes: On Sat, 2009-11-21 at 17:22 +0100, David Kastrup wrote: There is a chapter set vs override in the manual. I am afraid that I fail to grasp the difference from the chapter. [...] If the element description is a _special_ type of context property,

Re: \set vs \override

2009-11-21 Thread Graham Percival
On Sat, Nov 21, 2009 at 11:31:40PM +0100, David Kastrup wrote: I don't see a good rationale why \set, \override, \revert, \tweak should not work on the same set of properties (including subproperties). I don't see an explanation why it makes sense to differentiate between them. And I am

Re: \set vs \override

2009-11-21 Thread Joe Neeman
On Sat, 2009-11-21 at 23:31 +0100, David Kastrup wrote: Joe Neeman joenee...@gmail.com writes: On Sat, 2009-11-21 at 17:22 +0100, David Kastrup wrote: There is a chapter set vs override in the manual. I am afraid that I fail to grasp the difference from the chapter. [...] If the

Re: \set vs \override

2009-11-21 Thread Joe Neeman
On Sat, 2009-11-21 at 22:45 +, Graham Percival wrote: On Sat, Nov 21, 2009 at 11:31:40PM +0100, David Kastrup wrote: I don't see a good rationale why \set, \override, \revert, \tweak should not work on the same set of properties (including subproperties). I don't see an explanation why

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-05-04 Thread Erik Sandberg
On Thursday 04 May 2006 06:21, Arjan Bos wrote: Erik, That's a great document! I've read about half of it now and it does a very good job to explain to me how LilyPond works. And seeing the date on the title page, I think I have to congratulate you on your Masters Degree! Well Done! Thanks!

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-05-03 Thread Arjan Bos
Erik, That's a great document! I've read about half of it now and it does a very good job to explain to me how LilyPond works. And seeing the date on the title page, I think I have to congratulate you on your Masters Degree! Well Done! Off topic, but are your music streams implemented in

Re: Set vs. Override - I'm confused

2006-04-28 Thread Mats Bengtsson
grob is just a silly abbreviation for graphical object. On one hand, David is absolutely right that far too much of the implementation structure is visible in the user interface. On the other hand, unless the current approach to do settings in LilyPond is revised completely, each user who

Re: Set vs. Override - I'm confused

2006-04-28 Thread Michael Brennan
Erik Sandberg wrote: Great! You now officially know more about this area than me, because I don't have a clue when to use \override or \set. Please take a few minutes to send me some clarifications or additions for the manual:

Re: Set vs. Override - I'm confused

2006-04-28 Thread Mats Bengtsson
Quoting Michael Brennan [EMAIL PROTECTED]: My simple understanding of it is that: \set sets a property for the whole context, and the objects contained in that context while \override is for a particular graphical object. Just a little explanation like that, that separates them would be

Re: Set vs. Override - I'm confused

2006-04-27 Thread Graham Percival
On 26-Apr-06, at 10:36 PM, Michael Brennan wrote: David Feuer wrote: On 4/19/06, Erik Sandberg [EMAIL PROTECTED] wrote: In 2.8 there's an essential difference between grob and context properties, which is visible for end-users: the \tweak command only makes sense on layout object

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-27 Thread Ralph Little
Hi, I too find the context/grob property distinction not clear and I did not find the online doc any help in getting through this barrier of understanding. It is the one most powerful aspect of Lilypond, but the one aspect which is treated the most meanly in the introductory docs. Even user doing

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-27 Thread Mats Bengtsson
For some time, I have been thinking about adding an introductory text to the Changing Defaults chapter, which introduces all the main methods to set context and grob properties with one example for each and links to the more detailed sections. This would be something along the lines of

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-27 Thread Graham Percival
On 27-Apr-06, at 2:20 AM, Mats Bengtsson wrote: For some time, I have been thinking about adding an introductory text to the Changing Defaults chapter, which introduces all the main methods to set context and grob properties with one example for each and links to the more detailed sections.

Re: Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-27 Thread Erik Sandberg
Citerar Tomas Valusek [EMAIL PROTECTED]: Hello, When I first read the manual I didn't see any clear explanation of the difference, the docs could be more clear on that point. But when I realized that one was for grobs and the other for context, it became much clearer, for me it

Re: Set vs. Override - I'm confused

2006-04-27 Thread Erik Sandberg
Citerar Graham Percival [EMAIL PROTECTED]: On 26-Apr-06, at 10:36 PM, Michael Brennan wrote: David Feuer wrote: On 4/19/06, Erik Sandberg [EMAIL PROTECTED] wrote: In 2.8 there's an essential difference between grob and context properties, which is visible for end-users: the \tweak

Re: Set vs. Override - I'm confused

2006-04-27 Thread Rick Hansen (aka RickH)
Whats a grob? -- View this message in context: http://www.nabble.com/Set-vs.-Override---I%27m-confused-t1433228.html#a4124826 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Set vs. Override - I'm confused

2006-04-27 Thread David Feuer
On 4/27/06, Rick Hansen (aka RickH) [EMAIL PROTECTED] wrote: Whats a grob? I agree. The user absolutely should not have to know that there is any such thing. David ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Set vs. Override - I'm confused

2006-04-27 Thread Joe Neeman
Hm. Here's my understanding of it: You can say it's all about the granularity of the setting. \override manipulates settings which are specific to one graphical object/grob (e.g. a NoteHead). \set changes settings on a higher level, and can modify more than one type of grob. There is at

Re: Set vs. Override - I'm confused

2006-04-26 Thread Erik Sandberg
On Tuesday 11 April 2006 23:56, Werner LEMBERG wrote: \set: set the value of a context property \override: set the value of a layout object property I've always wondered why it isn't possible to unify them... In 2.8 there's an essential difference between grob and context properties, which

Re: Set vs. Override - I'm confused

2006-04-26 Thread David Feuer
On 4/19/06, Erik Sandberg [EMAIL PROTECTED] wrote: In 2.8 there's an essential difference between grob and context properties, which is visible for end-users: the \tweak command only makes sense on layout object properties, not on context properties. This difference might make it easier for

Re: Set vs. Override - I'm confused

2006-04-26 Thread Werner LEMBERG
In 2.8 there's an essential difference between grob and context properties, which is visible for end-users: the \tweak command only makes sense on layout object properties, not on context properties. This difference might make it easier for new users to understand grob properties.

Re: Set vs. Override - I'm confused

2006-04-26 Thread Geoff Horton
In 2.8 there's an essential difference between grob and context properties, which is visible for end-users: the \tweak command only makes sense on layout object properties, not on context properties. This difference might make it easier for new users to understand grob properties.

Re: Set vs. Override - I'm confused

2006-04-26 Thread Michael Brennan
David Feuer wrote: On 4/19/06, Erik Sandberg [EMAIL PROTECTED] wrote: In 2.8 there's an essential difference between grob and context properties, which is visible for end-users: the \tweak command only makes sense on layout object properties, not on context properties. This difference might

Re: Set vs. Override - I'm confused

2006-04-26 Thread Werner LEMBERG
[...] when I realized that one was for grobs and the other for context, it became much clearer, for me it helps separating and understanding grobs and contexts. A big help would be a simple means to distinguish grobs and context properties. For example, context property names could always

Contexts (Was Re: Set vs. Override - I'm confused)

2006-04-26 Thread Tomas Valusek
Hello, When I first read the manual I didn't see any clear explanation of the difference, the docs could be more clear on that point. But when I realized that one was for grobs and the other for context, it became much clearer, for me it helps separating and understanding grobs and contexts.

Re: Set vs. Override - I'm confused

2006-04-12 Thread Jan Nieuwenhuizen
Werner LEMBERG writes: \set: set the value of a context property \override: set the value of a layout object property I've always wondered why it isn't possible to unify them... Or until that time have explicit naming. Jan. -- Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music

Re: Set vs. Override - I'm confused

2006-04-11 Thread Mats Bengtsson
\set: set the value of a context property \override: set the value of a layout object property The followup question is obvious, but I leave it to you to think about it and see if you get any further. /Mats Tomas Valusek wrote: Hello, I've read thoroughly LilyPond's Users Manual and I

Re: Set vs. Override - I'm confused

2006-04-11 Thread Geoff Horton
The followup question is obvious, but I leave it to you to think about it and see if you get any further. I've been wondering for some time if the distinction is a helpful one, but I suspect changing it now would involve too much internal tinkering, not to mention breaking of old scores. Geoff

Re: Set vs. Override - I'm confused

2006-04-11 Thread Mats Bengtsson
Quoting Geoff Horton [EMAIL PROTECTED]: The followup question is obvious, but I leave it to you to think about it and see if you get any further. I've been wondering for some time if the distinction is a helpful one, but I suspect changing it now would involve too much internal tinkering, not

Re: Set vs. Override - I'm confused

2006-04-11 Thread Werner LEMBERG
\set: set the value of a context property \override: set the value of a layout object property I've always wondered why it isn't possible to unify them... Werner ___ lilypond-user mailing list lilypond-user@gnu.org