Re: autocompletion with vim

2024-06-14 Thread Kenneth Flak
Hmmm... I don't see anything immediately in your config that should cause this.
There was a whole bunch of breaking changes around nvim 0.10.0 that might affect
this as well... Stupid question: are all your plugs up to date? And did you test
with the latest git version of nvim?

Best,
Kenneth

Fennel, Jun 14, 2024 at 21:24:
> Okay, managed to get the configuration working (making sure that your
> paths are
> specified correctly helps!) but now that I have completion I get the
> following
> every time I select a result:
>
> Error executing vim.schedule lua callback:
> ...lar/neovim/0.10.0/share/nvim/runtime/lua/vim/_system.lua:244: ENOENT:
> no such file or directory
> stack traceback: [C]: in function 'error'
> ...lar/neovim/0.10.0/share/nvim/runtime/lua/vim_system.lua:244: in
> function 'spawn'
> ...lar/neovim/0.10.0/share/nvim/runtime/lua/vim_system.lua:335: in
> function 'system'
> ...are/nvim/lazy/cmp-dictionary/lua/cmp_dictionary/util.lua:7: in
> function 'system'
> ...e/nvim/lazy/cmp-dictionary/lua/cmp_dictionary/source.lua:100: in
> function 'resolve'
> ...ennel/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:384: in
> function 'resolve'
> ...fennel/.local/share/nvim/lazy/nvim-cmp/lua/cmp/entry.lua:505: in
> function 'resolve'
> .../fennel/.local/share/nvim/lazy/nvim-cmp/lua/cmp/view.lua:287: in
> function 'fn'
> .../.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/async.lua:71: in
> function <.../.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/async.lua:69
>
> I’ll throw my [1]current neovim config in here as I’m rather
> confused as to why
> this is being such a pain.
>
> Fennel
>
> ​
>
> References:
>
> [1]
> https://gist.github.com/fenneltheloon/6703a17e584ec61958b6e0a61920e12a






Re: autocompletion with vim

2024-06-14 Thread Fennel
Okay, managed to get the configuration working (making sure that your paths are 
specified correctly helps!) but now that I have completion I get the following 
every time I select a result:

Error executing vim.schedule lua callback: 
...lar/neovim/0.10.0/share/nvim/runtime/lua/vim/_system.lua:244: ENOENT: no 
such file or directory
stack traceback: [C]: in function 'error'
...lar/neovim/0.10.0/share/nvim/runtime/lua/vim_system.lua:244: in function 
'spawn'
...lar/neovim/0.10.0/share/nvim/runtime/lua/vim_system.lua:335: in function 
'system'
...are/nvim/lazy/cmp-dictionary/lua/cmp_dictionary/util.lua:7: in function 
'system'
...e/nvim/lazy/cmp-dictionary/lua/cmp_dictionary/source.lua:100: in function 
'resolve'
...ennel/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:384: in function 
'resolve'
...fennel/.local/share/nvim/lazy/nvim-cmp/lua/cmp/entry.lua:505: in function 
'resolve'
.../fennel/.local/share/nvim/lazy/nvim-cmp/lua/cmp/view.lua:287: in function 
'fn'
.../.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/async.lua:71: in function 
<.../.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/async.lua:69

I’ll throw my [current neovim 
config](https://gist.github.com/fenneltheloon/6703a17e584ec61958b6e0a61920e12a) 
in here as I’m rather confused as to why this is being such a pain.

Fennel

​

Re: Spontini experiences

2024-06-14 Thread Knute Snortum
I would guess that some people might have different formatting schemes and
just want the indentation done, but that's not a very high priority for me
personally.  I just use the format tool, so it might make sense to only
implement that in your software.

--
Knute Snortum



On Fri, Jun 14, 2024 at 9:24 AM Paolo Prete  wrote:

> I know this, but what is the concrete benefit of having both of them?
>
> Il ven 14 giu 2024, 17:00 Knute Snortum  ha scritto:
>
>>
>> On Fri, Jun 14, 2024 at 4:57 AM Paolo Prete  wrote:
>>
>>>
>>> About the automatic formatting, prior to adding it, I need advice from
>>> you and other people from this ML as well.
>>> From what I see, Frescobaldi has some options:  like "re-indent" and
>>> "format". What is the use of "re-indent" if "format" already indents the
>>> code?
>>>
>>
>> From what I can tell, "re-indent" only does formatting that involves
>> indenting, while "format" completely reformats the code.  To illustrate,
>> say we have:
>>
>> {
>> c''4 4 4 4}
>>
>> If we re-indent, it will look like this:
>>
>> {
>>   c''4 4 4 4}
>>
>> But if we format, it will look like this:
>>
>> {
>>   c''4 4 4 4
>> }
>>
>>
>> --
>> Knute Snortum
>>
>>
>>


Re: Spontini experiences

2024-06-14 Thread Paolo Prete
I know this, but what is the concrete benefit of having both of them?

Il ven 14 giu 2024, 17:00 Knute Snortum  ha scritto:

>
> On Fri, Jun 14, 2024 at 4:57 AM Paolo Prete  wrote:
>
>>
>> About the automatic formatting, prior to adding it, I need advice from
>> you and other people from this ML as well.
>> From what I see, Frescobaldi has some options:  like "re-indent" and
>> "format". What is the use of "re-indent" if "format" already indents the
>> code?
>>
>
> From what I can tell, "re-indent" only does formatting that involves
> indenting, while "format" completely reformats the code.  To illustrate,
> say we have:
>
> {
> c''4 4 4 4}
>
> If we re-indent, it will look like this:
>
> {
>   c''4 4 4 4}
>
> But if we format, it will look like this:
>
> {
>   c''4 4 4 4
> }
>
>
> --
> Knute Snortum
>
>
>


Re: latin letter "N"

2024-06-14 Thread Hans Aikema


> On 14 Jun 2024, at 13:18, Jean Abou Samra  wrote:
> 
> 
>> I'm using Lilypond on Mac and by the font Times New Roman the latin letter 
>> "N" appears not right. Can anybody help with this issue?
> 
> 
> We've seen this before and it turned out to be a bug in the Times New Roman 
> font file shipped by that macOS version, see 
> https://gitlab.com/lilypond/lilypond/-/issues/6508.


I’ve reported this once more with Apple support… let’s hope they finally start 
ignoring user feedback and patch their OS distribution fonts

If other MacOS users want to join in to strengthen the message:
https://www.apple.com/feedback/macos/

Re: RehearsalMarks, slurs and ties overlapping

2024-06-14 Thread Kieren MacMillan
Hi Leo (and Federico!),

> Setting 
>  \override Score.RehearsalMark.outside-staff-priority = ##f
> could perhaps also be an option.

Oh, yes… much better than my “nuclear” \ignore option!

%%%  SNIPPET BEGINS
\version "2.25.11"

\layout {
  \context {
\Score
\override RehearsalMark.outside-staff-priority = ##f
\override RehearsalMark.whiteout = #2
\override RehearsalMark.layer = #3
  }
}

\relative c''' { 
  g1~ \mark \default g1 
  g1~ \mark \default g1 
  g1( \mark \default e1 )  
}
%%%  SNIPPET ENDS

Thanks,
Kieren.
__

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.




Re: RehearsalMarks, slurs and ties overlapping

2024-06-14 Thread Leo Correia de Verdier
Setting 
  \override Score.RehearsalMark.outside-staff-priority = ##f
could perhaps also be an option.

> 13 juni 2024 kl. 16:49 skrev Federico Sarudiansky :
> 
> Hi again, Kieren! 
> 
> Excellent! However I wonder if there is a more general approach. Something 
> «allowing» the slurs not taking the rehearsal marks into consideration when 
> defining its shape parameters. 
> 
> All the best!
> 
> F. 
> 
> El jue, 13 jun 2024 a las 11:28, Kieren MacMillan 
> () escribió:
> Hi Federico,
> 
> > How can I overlap the perfect tie (slur) in A with the mark position in B 
> > and C so to use the .whiteout and .layer properties to put the slur/tie 
> > behind the mark and save some vertical space?
> 
> Maybe something like this…?
> 
> %%%  SNIPPET BEGINS
> \version "2.25.11"
> 
> \relative c''' { 
>   g1~ \mark \default g1 
>   g1~ \tweak extra-offset #'(-0.25 . -1.5) \tweak whiteout #2 \mark \default 
> g1 
>   g1( \tweak extra-offset #'(-0.25 . -1.5) \tweak whiteout #2 \mark \default 
> e1 )  
> }
> %%%  SNIPPET ENDS
> 
> Hope that helps!
> Kieren.
> __
> 
> My work day may look different than your work day. Please do not feel 
> obligated to read or respond to this email outside of your normal working 
> hours.
> 




Re: Spontini experiences

2024-06-14 Thread Knute Snortum
On Fri, Jun 14, 2024 at 4:57 AM Paolo Prete  wrote:

>
> About the automatic formatting, prior to adding it, I need advice from you
> and other people from this ML as well.
> From what I see, Frescobaldi has some options:  like "re-indent" and
> "format". What is the use of "re-indent" if "format" already indents the
> code?
>

>From what I can tell, "re-indent" only does formatting that involves
indenting, while "format" completely reformats the code.  To illustrate,
say we have:

{
c''4 4 4 4}

If we re-indent, it will look like this:

{
  c''4 4 4 4}

But if we format, it will look like this:

{
  c''4 4 4 4
}


--
Knute Snortum


Re: Spontini experiences

2024-06-14 Thread Paolo Prete
On Tue, Jun 11, 2024 at 11:53 PM bobr...@centrum.is 
wrote:

>
>
> --
>
> *From: *"Paolo Prete" 
> *To: *"bobroff" 
> *Sent: *Tuesday, June 11, 2024 7:18:45 PM
> *Subject: *Re: Spontini experiences
>
>
>
> Il mar 11 giu 2024, 19:07 bobr...@centrum.is  ha
> scritto:
>
>>
>>
>> --
>>
>> *From: *"Paolo Prete" 
>> *To: *"bobroff" 
>> *Cc: *"Lillypond Users Mailing List" 
>> *Sent: *Tuesday, June 11, 2024 4:25:59 PM
>> *Subject: *Re: Spontini experiences
>>
>>
>>
>> On Tue, Jun 11, 2024 at 3:00 PM bobr...@centrum.is 
>> wrote:
>>
>>> Paolo,
>>>
>>> 1.25_alfa did, indeed, solve the issue I was having!  After removing
>>> 1.24_alfa and unpacking 1.25_alfa it wouldn't even compile a simple *.ly
>>> file.  It threw errors.  After mucking about a bit, making sure that the
>>> paths to LilyPond and Inkscape were properly set, and deleting some
>>> previously compiled output, it started working properly.  Thanks for your
>>> help!
>>>
>>>
>> Good!
>> But why did you need to change the LilyPond path?
>> Did you use Spontini's embedded LilyPond or did you use a custom
>> installation?
>>
>>
>>
>>
>>
>> Not sure I *needed* to but I wanted to as I already had 2.24.2 installed
>> on the machine.  Earlier I figured out that I needed to have the files in
>> '..lib/ly/' available to my LilyPond installation and copied them to where
>> they would be found.  Using the embedded LilyPond caused some initial
>> confusion due, in small part, to the slightly differing version number.
>>
>
> ---
>
> Let me give you some hints because I see that you are using the tool
> incorrectly.
>
> First of all, Spontini-Editor is a self-contained portable app, which
> means you don’t have to install it, nor do you have to install Lilypond.
> You just need to place the folder wherever you want, and it will
> automagically run and embed the Lilypond version you need.
>
> If I understand correctly, on your system you installed Frescobaldi, then
> installed Lilypond, and linked Frescobaldi and Lilypond to the folder
> containing your project. This approach is tedious and obsolete. What if you
> need to back up your project and restore it on another PC or if you have to
> change your PC? You would need to reinstall both the editor and Lilypond
> and probably reconfigure the editor and manage your work directory.
>
> Spontini doesn’t work this way. You can back up the whole editor,
> Lilypond, and the work directory without doing anything extra. Just zip the
> Spontini directory, and voilà! I usually keep a USB stick with the
> container, but you can use several different options (e.g., a remote
> folder, a git repository, etc.). Again: you don't need to install anything.
>
> That said, here’s a procedure to fix your issues:
>
> 1. Embed the Lilypond version that you want as default (just mark with [D]
> the version you prefer inside `lib/supported_lilyponds.txt`). Spontini will
> embed it if you reset the server to the default LilyPond version (see the
> menu of the server GUI). Alternatively, you can also use the automatic
> installation tool in the server GUI.
> 2. Create a work directory inside the Spontini root directory (at the same
> level as the “examples” directory) and place your scores there.
> 3. Link Frescobaldi to that directory (instead of linking the include
> paths of the `jssvg` library from a directory of scores outside Spontini).
> So, use relative paths, exactly as shown in the examples.
>
> I understand that this approach totally changes your old procedures, but
> in this way you will have a self-consistent system with ALL the stuff you
> need, and super-easy to backup and to port on other systems. Note too that
> the portable server allows you to share and edit your scores remotely
> without needing a dedicated PC. You can even use your tablet/smartphone.
>
>
>
>> So, a bit more feedback; going forward I will likely continue to use
>> Frescobaldi as my primary editing environment due to its automatic
>> formatting and auto-completion and reserve Spontini for speeding up
>> adjustments of things like slurs and the positioning of other items like
>> dynamics, etc.
>>
>
>
> Spontini already has the autocompletion feature, and It also adds advanced
> autocomplete tools (templates and and editable set of autocomplete tokens).
> About the auto-formatting: TBH I don’t remember if it’s already enabled on
> the editor. If not, It should be trivial tò add It. I'll check that in the
> next days and I'll prepare a new release, if needed.
>
> HTH
>
>
> Thanks for the tips.  I'll look into reorganizing my set-up per your
> instructions.  I have not seen auto-complete working.  Automatic formatting
> -- indents, etc. -- does not appear to be implemented.
>
>
The autocomplete feature indeed works, just trigger it by pressing
Ctrl+Space.

About the automatic formatting, prior to adding it, I need advice from you
and other people from this ML as well.
>From what I see, Frescobaldi has some 

Re: latin letter "N"

2024-06-14 Thread Jean Abou Samra

> I'm using Lilypond on Mac and by the font Times New Roman the latin letter 
> "N" appears not right. Can anybody help with this issue?


We've seen this before and it turned out to be a bug in the Times New Roman 
font file shipped by that macOS version, see 
https://gitlab.com/lilypond/lilypond/-/issues/6508.








latin letter "N"

2024-06-14 Thread Mariya Kireva
Hello dear lilypond users,

I'm using Lilypond on Mac and by the font Times New Roman the latin letter "N" 
appears not right. Can anybody help with this issue?

Best regards
Maria