Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'output': 0.05; 'subsequent': 0.05; 'subject:Python': 0.06; 'nasty': 0.07; 'needed,': 0.07; 'stops': 0.07; 'bash': 0.09; 'ide': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '24,': 0.16; 'add/remove': 0.16; 'adjacent': 0.16; 'invokes': 0.16; 'rebuild': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wraps': 0.16; '\xe9crit': 0.16; 'url:)': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'result.': 0.19; 'aug': 0.22; 'header:User- Agent:1': 0.23; 'script': 0.25; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'relative': 0.30; 'lines': 0.31; 'changed.': 0.31; 'vertical': 0.31; 'this.': 0.32; 'quite': 0.32; 'text': 0.33; 'plain': 0.33; 'could': 0.34; 'editor': 0.35; 'but': 0.35; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'files': 0.38; 'rather': 0.38; 'visual': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'space': 0.40; 'how': 0.40; 'ian': 0.60; 'affect': 0.61; 'staff': 0.61; 'show': 0.63; 'more': 0.64; 'needs,': 0.65; 'power': 0.76; "it'd": 0.84; 'ledger': 0.84; 'panel,': 0.84; 'powerfull': 0.84; 'snapshot': 0.84; 'staff,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Joseph Martinot-Lagarde Subject: Re: Python vs C++ Date: Sun, 24 Aug 2014 14:54:08 +0200 References: <87fvgoj2i8.fsf@elektro.pacujo.net> <87siko9tlq.fsf@elektro.pacujo.net> <53F7B870.2010909@gmail.com> <5c595a04-1154-47fd-ba05-05131f3a0bb7@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: gns13-1-88-122-220-146.fbx.proxad.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: X-Antivirus: avast! (VPS 140824-0, 24/08/2014), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408884861 news.xs4all.nl 2947 [2001:888:2000:d::a6]:46879 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76930 Le 23/08/2014 16:21, Chris Angelico a écrit : > On Sun, Aug 24, 2014 at 12:02 AM, Ian Kelly wrote: >> I don't know how fast lilypond is, but perhaps one could write an editor >> that wraps lilypond and invokes it in realtime to show the output in an >> adjacent panel, perhaps with a brief delay when the user stops typing. > > You theoretically could, but it'd be a bit awkward in places. It's not > hard for a small textual change to result in a large visual change (eg > if you use relative notes and add/remove an octave shift - it'll shift > every subsequent note in the staff, which might mean more/less ledger > lines needed, which will affect how much vertical space the staff > needs, which will affect pagination...), so it'd often make for rather > nasty flicker. Better to keep it explicit. > > ChrisA > Frescobaldi (http://www.frescobaldi.org/) works exactly like this. It's like a latex IDE but for lilypond. It's quite powerfull and multiplatform. I use it exclusively now, it's way better that the bash script I used before that more or less rebuild the files when changed. This way you get the power of plain text and you have an almost instantaneous snapshot of the end result.