[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Paste again
From: |
Nils Gey |
Subject: |
Re: [Denemo-devel] Paste again |
Date: |
Sat, 22 May 2010 17:39:46 +0200 |
On Sat, 22 May 2010 15:58:51 +0100
Richard Shann <address@hidden> wrote:
> Ok, after a make install step the paste is functional. (Sorry about my
> confusing messages).
> I have not tested the new Paste much, but I notice that when pasting a
> single note or short group into a sequence of empty measures the cursor
> goes on to the next measure each time, even though the one being pasted
> into is not full.
This was an easy fix, already in git.
Strange: This additional step to the right was needed in the old version (even
in the first scripted paste, you may remember that you have added it on my
request).
I don't know what has changed that does the step to the right now, but
something has.The cursor now stays exactly one "step" right after the last
pasted object, making mass-pasting possible again.
> Still, I think it would be much better if it allowed repeated pasting
> into empty measures. A staff full of empty measures is what you get when
> you have transcribed one part and are working on a second part.
> Another - very similar point. Pasting at the end of a measure does not
> create a new measure, which I would expect it to. I think of Pasting as
> the same as typing in the things that are on the clipboard one after the
> other into denemo.
I'm going to integrate this now. There are pros and contras for that, but lets
see if I can write something that does exactly what is needed but does not
dis-arrange errors in other situations.
> Oh dear! I hope I don't sound to negative. Paste is such a nightmare.
> Richard
Not at all. The cursor-jumping was a silly thing, I have no idea why its
suddenly not needed anymore. The remaining issue is a design decision (I have
just agreed on with you).
The nightmare begins once I'm done and begin to send bugreports that can only
be solved in C :)
Nils
>
> On Sat, 2010-05-22 at 15:34 +0100, Richard Shann wrote:
> > Oh, I see, it is a new file in denemo. That could be a problem as
> > normally everything can be eclipsed or supplemented locally
> > (in .denemo/actions). hmmm
> > But clearly, denemo.scm is getting very big.
> > Richard
> >
> > On Sat, 2010-05-22 at 15:29 +0100, Richard Shann wrote:
> > > (load "ans-7.scm")
> > > barfs on my installation. It is in the new denemo.scm
> > > the message is
> > > (open-file ~A: ~S (No such file or directory ans-7.scm) (2))
> > > this is executing the new denemo.scm in the scheme window - I haven't
> > > tried installing it yet - that would normally then crash the startup.
> > >
> > > Richard
> > >
> > >
> > > On Sat, 2010-05-22 at 14:39 +0200, Nils Gey wrote:
> > > > Hello,
> > > >
> > > > I checked in a better Paste variant.
> > > >
> > > > ; Multistaff-Pasting always adds the complete part AFTER the current
> > > > measure. It will never paste into an existing measure, not even in
> > > > empty ones. [<-- this is a possible enhancement, but it needs a way
> > > > to check if there is an empty measure in all staffs. Just thought of
> > > > that...]
> > > >
> > > > ; Singlestaff-Pasting happens at the cursor position. If there are
> > > > still notes in the current measure, after the cursor position, those
> > > > will be shoved to the right and placed after the pasted section, no
> > > > matter if the result produce underful or overful measures. No other
> > > > measure gets modified other than the current one. Singlestaff-Pasting
> > > > will fill any empty measure on its way, until a non-empty one is
> > > > encountered.
> > > >
> > > > I think this is a candidate that can be used. If you want, try to
> > > > create a few absurd usecases and look how Paste reacts to them.
> > > >
> > > > Also please test if paste now behaves like you would expect it to do
> > > > (and what are your expectations? Sibelius, Emacs or Vim, Other
> > > > Texteditors, Photoshop?)
> > > >
> > > > Also, there are four scripts that use (d-Paste)
> > > > ./actions/menus/ObjectMenu/MeasureMenu/AddDuplicateMeasure
> > > > ./actions/menus/ObjectMenu/MeasureMenu/DeleteBarline
> > > > ./actions/menus/ObjectMenu/MeasureMenu/SplitMeasure
> > > > ./actions/menus/ObjectMenu/MeasureMenu/ReBar (OLD VERSION!)
> > > >
> > > > Is (d-Paste) the trigger for the built-in variant or for the script?
> > > > If its for the script:
> > > > (d-SplitMeasure) makes use of (d-Paste), but paste also uses
> > > > (d-SplitMeasure). I don't know what that recursion means, but it seems
> > > > to work.
> > > >
> > > >
> > > > I hope that improves Denemo,
> > > >
> > > > Nils
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Denemo-devel mailing list
> > > > address@hidden
> > > > http://lists.gnu.org/mailman/listinfo/denemo-devel
> > >
> > >
> > > _______________________________________________
> > > Denemo-devel mailing list
> > > address@hidden
> > > http://lists.gnu.org/mailman/listinfo/denemo-devel
> >
> >
> > _______________________________________________
> > Denemo-devel mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/denemo-devel
>
- [Denemo-devel] Paste again, Nils Gey, 2010/05/22
- Re: [Denemo-devel] Paste again, Richard Shann, 2010/05/22
- Re: [Denemo-devel] Paste again, Richard Shann, 2010/05/22
- Re: [Denemo-devel] Paste again, Richard Shann, 2010/05/22
- Re: [Denemo-devel] Paste again,
Nils Gey <=
- Re: [Denemo-devel] Paste again, Nils Gey, 2010/05/25
- Re: [Denemo-devel] Paste again, Richard Shann, 2010/05/28
- Re: [Denemo-devel] Paste again, Richard Shann, 2010/05/28
- Re: [Denemo-devel] Paste again, Nils Gey, 2010/05/28
- Re: [Denemo-devel] Paste again, Nils Gey, 2010/05/28
- Re: [Denemo-devel] Paste again, Richard Shann, 2010/05/29