Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread David Wright
On Wed 18 Nov 2015 at 16:56:47 (+0100), Federico Bruni wrote: > Il giorno mer 18 nov 2015 alle 16:33, Urs Liska > ha scritto: > >Does sh read ~/.bashrc? > > Yes, it does: > > $ sh -c "echo $LILYPOND_GIT" > /home/fede/src/lilypond-git I'm not sure what this is meant to

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Federico Bruni
Il giorno mer 18 nov 2015 alle 17:38, Ralf Mattes ha scritto: Am Mittwoch, 18. November 2015 16:56 CET, Federico Bruni schrieb: Il giorno mer 18 nov 2015 alle 16:33, Urs Liska ha scritto: > Does sh read ~/.bashrc?

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Ralf Mattes
Am Mittwoch, 18. November 2015 17:48 CET, Federico Bruni schrieb: > You are right, not necessarily: in fact it reads the environment > variables, but it does not read the frescobaldi alias. How and where did you define that alias? In ~/.bashrc alias

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Federico Bruni
Il giorno mer 18 nov 2015 alle 17:57, Ralf Mattes ha scritto: Am Mittwoch, 18. November 2015 17:48 CET, Federico Bruni schrieb: You are right, not necessarily: in fact it reads the environment variables, but it does not read the frescobaldi

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread David Wright
On Wed 18 Nov 2015 at 17:48:34 (+0100), Federico Bruni wrote: > Il giorno mer 18 nov 2015 alle 17:38, Ralf Mattes > ha scritto: > > > >Am Mittwoch, 18. November 2015 16:56 CET, Federico Bruni > > schrieb: > > > >> Il giorno mer 18 nov 2015 alle 16:33,

[OT] Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Ralf Mattes
Am Mittwoch, 18. November 2015 18:02 CET, David Wright schrieb: > > It might be worth taking note of this line in man bash > > "For almost every purpose, aliases are superseded by shell functions." Yes, with one important difference in favour of aliases - if

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Federico Bruni
Il giorno mer 18 nov 2015 alle 16:33, Urs Liska ha scritto: Does sh read ~/.bashrc? Yes, it does: $ sh -c "echo $LILYPOND_GIT" /home/fede/src/lilypond-git What about bash -c frescobaldi ? same error I think that we should recommend the full path in the desktop

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Urs Liska
Am 18.11.2015 um 16:56 schrieb Federico Bruni: > Il giorno mer 18 nov 2015 alle 16:33, Urs Liska > ha scritto: >> Does sh read ~/.bashrc? > > Yes, it does: > > $ sh -c "echo $LILYPOND_GIT" > /home/fede/src/lilypond-git > > >> >> What about >> >> bash -c frescobaldi >> ? >

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Ralf Mattes
Am Mittwoch, 18. November 2015 16:56 CET, Federico Bruni schrieb: > Il giorno mer 18 nov 2015 alle 16:33, Urs Liska ha > scritto: > > Does sh read ~/.bashrc? > > Yes, it does: > > $ sh -c "echo $LILYPOND_GIT" > /home/fede/src/lilypond-git No,

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Federico Bruni
Il giorno mer 18 nov 2015 alle 13:18, Federico Bruni ha scritto: But frescobaldi.desktop still needs to be adjusted this way: Exec=sh -c 'frescobaldi' This is not reliable. Sometime it works, sometimes it doesn't. I mean, Gnome Shell finds the application but cannot

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Urs Liska
Am 18.11.2015 um 16:12 schrieb Federico Bruni: > Il giorno mer 18 nov 2015 alle 13:18, Federico Bruni > ha scritto: >> But frescobaldi.desktop still needs to be adjusted this way: >> >> Exec=sh -c 'frescobaldi' > > This is not reliable. Sometime it works, sometimes it

Re: Strange Scheme problem

2015-11-18 Thread Andrew Bernard
Hello Jacques, A slightly more idiomatic Scheme-like way to get the current file name being processed might be something like this: #(define (file-name) (let* ((args (program-arguments)) (args-len (length args))) (list-ref args (- args-len 1 This follows on from

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Federico Bruni
Il giorno sab 14 nov 2015 alle 23:36, Simon Albrecht ha scritto: It is a feature of Python (in which frescobaldi is written) that a program needn’t be compiled/installed to be run. You need to 1. get the source files for frescobaldi and python-ly from

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Urs Liska
Am 18.11.2015 um 13:18 schrieb Federico Bruni: > Il giorno sab 14 nov 2015 alle 23:36, Simon Albrecht > ha scritto: >> It is a feature of Python (in which frescobaldi is written) that a >> program needn’t be compiled/installed to be run. You need to >> 1. get the source

Re: Chords with "optional" notes

2015-11-18 Thread David Kastrup
Johan Vromans writes: > On Wed, 18 Nov 2015 10:14:32 +0100 > David Kastrup wrote: > >> > > So \markup \bold-red actually calls \bold-red-markup ? > Quite a bit of magic... That's always

Re: Strange Scheme problem

2015-11-18 Thread Menu Jacques
Hello Andrew, Many thanks, here is the final version I’ll use after your proposal, with more readable identifers: A nice day! JM %% \version "2.19.30" #(define (fileName) (let* ((args (program-arguments)) (args-len (length args))) (list-ref args (- args-len

Re: Flat - with "2" number

2015-11-18 Thread Urs Liska
Am 17. November 2015 19:21:28 MEZ, schrieb Server Acim : >Dear Urs, >I experienced the code right away and it worked. >It was that simple what I want. > >Thank you. Great to hear. Sorry, if I had realized that I ciuld have helped you instantly.

Re: Chords with "optional" notes

2015-11-18 Thread Jacques Menu
Hello folks, I see that 2.19.30 knows \etc, by I can’t find what is does. Thanks for the help! JM > Le 10 nov. 2015 à 22:01, Simon Albrecht a écrit : > > On 10.11.2015 21:59, Alberto Simões wrote: >> >> >> On 10/11/15 20:57, Simon Albrecht wrote: >>> The cheapest

Re: Chords with "optional" notes

2015-11-18 Thread Jacques Menu
Thanks David! JM > Le 18 nov. 2015 à 10:14, David Kastrup a écrit : > > Jacques Menu writes: > >> Hello folks, >> >> I see that 2.19.30 knows \etc, by I can’t find what is does. > > >

Re: tips for formatting an interview

2015-11-18 Thread Federico Bruni
Il giorno mer 18 nov 2015 alle 2:24, Thomas Morley ha scritto: 2015-11-18 1:15 GMT+01:00 Federico Bruni : Il giorno mer 18 nov 2015 alle 0:49, Thomas Morley ha scritto: Yes, change #f to #t in this line:

Re: Strange Scheme problem

2015-11-18 Thread Menu Jacques
Hello Andrew,You make me discover that I have to copy with a right click in the log window, instead of merely using the usual keyboard shortcut, thanks!BTW, that could be an enhancement to Frescobaldi.JMLe 18 nov. 2015 à 01:29, Andrew Bernard a écrit :Hi Jacques,On my

Re: The stafftab reversed!?

2015-11-18 Thread Phil Holmes
- Original Message - From: "Thomas Morley" To: "Pierre Perol-Schneider" Cc: "lilypond-user" Sent: Tuesday, November 17, 2015 9:31 PM Subject: Re: The stafftab reversed!? 2015-11-17 14:14 GMT+01:00

Re: Chords with "optional" notes

2015-11-18 Thread Johan Vromans
On Wed, 18 Nov 2015 10:14:32 +0100 David Kastrup wrote: > So \markup \bold-red actually calls \bold-red-markup ? Quite a bit of magic... -- Johan ___ lilypond-user

Re: Strange Scheme problem

2015-11-18 Thread Menu Jacques
Hi Andrew, The definitions I use actually is: #(define comml (object->string (command-line))) #(define loc (+ (string-rindex comml #\space ) 2)) #(define commllen(- (string-length comml) 2)) #(define filen (substring comml loc commllen)) #(define siz

Re: Strange Scheme problem

2015-11-18 Thread Menu Jacques
Hello David, I just copied/pasted that without analysis, as it happens. My 1€! JM > Le 18 nov. 2015 à 10:11, David Kastrup a écrit : > > Menu Jacques writes: > >> Hi Andrew, >> >> The definitions I use actually is: >> >> #(define comml

Re: Chords with "optional" notes

2015-11-18 Thread David Kastrup
Jacques Menu writes: > Hello folks, > > I see that 2.19.30 knows \etc, by I can’t find what is does. Third paragraph or so. -- David Kastrup ___

Re: Strange Scheme problem

2015-11-18 Thread David Kastrup
Menu Jacques writes: > Hi Andrew, > > The definitions I use actually is: > > #(define comml (object->string (command-line))) > #(define loc (+ (string-rindex comml #\space ) 2)) > #(define commllen(- (string-length comml) 2)) > #(define filen

Re: The stafftab reversed!?

2015-11-18 Thread Pierre Perol-Schneider
+1 ~Pierre 2015-11-18 10:11 GMT+01:00 Phil Holmes : > The simplest would be to add it as a snippet and tag it as docs. > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Jan-Peter Voigt
Hi Urs, this is indeed a nice feature :) For now, I will run from that branch, until its merged ... But still I won't open frescobaldi that often until xmas, when my current job is done. Thanks for this tools! Best, Jan-Peter Am 17.07.2015 um 16:41 schrieb Urs Liska: > Hi all, > > Peter Bjuhr

Re: Strange Scheme problem

2015-11-18 Thread Simon Albrecht
On 18.11.2015 09:43, Menu Jacques wrote: Hello Andrew, You make me discover that I have to copy with a right click in the log window, instead of merely using the usual keyboard shortcut, thanks! BTW, that could be an enhancement to Frescobaldi. If you like, you can open up an issue in the

Re: Strange Scheme problem

2015-11-18 Thread Ralf Mattes
Am Mittwoch, 18. November 2015 12:10 CET, Andrew Bernard schrieb: > > Hello Jacques, > > A slightly more idiomatic Scheme-like way to get the current file name being > processed might be something like this: > > #(define (file-name) > (let* ((args

Re: Strange Scheme problem

2015-11-18 Thread Urs Liska
Am 18.11.2015 um 15:15 schrieb Simon Albrecht: > On 18.11.2015 09:43, Menu Jacques wrote: >> Hello Andrew, >> >> You make me discover that I have to copy with a right click in the >> log window, instead of merely using the usual keyboard shortcut, thanks! >> >> BTW, that could be an enhancement

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Urs Liska
Am 18.11.2015 um 15:41 schrieb Federico Bruni: > Il giorno mer 18 nov 2015 alle 13:21, Urs Liska > ha scritto: >> One question, regarding the Wiki page as well as the process in general: >> >> Running Frescobaldi from Git needs a number of other dependencies to >> be met.

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Federico Bruni
Il giorno mer 18 nov 2015 alle 13:21, Urs Liska ha scritto: One question, regarding the Wiki page as well as the process in general: Running Frescobaldi from Git needs a number of other dependencies to be met. Am I right to assume that the suggested approach will work

Re: Strange Scheme problem

2015-11-18 Thread Andrew Bernard
Hi Ralf, Of course! How silly of me. The last function is in SRFI-1. Andrew On 19/11/2015, 01:03, "Ralf Mattes" wrote: > >Wouldn't that be equivalent to: > > (last (program-arguments)) > >:-)

Accidentals in roots of chordNames: tweaking size and placement

2015-11-18 Thread alamire
First, thanks to everyone for what I have learned here without posing new questions! I am customizing the display of chordNames and have built on solutions by Matthias Hüsken and others. However, without any ability in defining functions with scheme, I am at a loss how to call the regular flat

Re: Accidentals in roots of chordNames: tweaking size and placement

2015-11-18 Thread Robin Bannister
alamire wrote: In the MWE below, I would like the flat in the root name to appear identical to the flat in the "m7b5" chord. I do *not* want to continue using the text markup font via unicode. You will find LilyPond's flat and sharp glyphs listed in

Re: Strange Scheme problem

2015-11-18 Thread Jacques Menu
Hello Urs, Another point would be to allow Cmd-A as a keyboard shortcut for Select All along the way. Currently, it has to be done with the mouse or with a right click. JM > Le 18 nov. 2015 à 15:17, Urs Liska a écrit : > > > > Am 18.11.2015 um 15:15 schrieb Simon