From mboxrd@z Thu Jan 1 00:00:00 1970 From: brian powell Subject: Re: multilingual presentation with org Date: Wed, 15 Feb 2012 15:26:33 -0500 Message-ID: References: <4859.1329311301@alphaville> <8196.1329335383@alphaville> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9399ce712eb4104b90687d3 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxlR1-0005E9-69 for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 15:26:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxlQw-0001Dx-Ur for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 15:26:39 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:49619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxlQw-0001Dt-LD for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 15:26:34 -0500 Received: by obbta7 with SMTP id ta7so2407982obb.0 for ; Wed, 15 Feb 2012 12:26:34 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --14dae9399ce712eb4104b90687d3 Content-Type: text/plain; charset=ISO-8859-1 * Nick mentioned "no "n" to follow the bouncing ball..."--in jest I believe; but, seriously, you can do that too with EMACS and XAUTOMATION do: apt-get install xautomation (this will install xte I believe) ** well, if you wanted a "bouncing ball" to follow the music, in a say, 1 line per 3 seconds for a presentation/sing-along: xterm -e watch -p -n3 "xte \"key n\" " *** Again, you put the cursor on the EDIFF help window --"n" will go line per line *** Which will work too; I do something like this everyday (use xte calling out of EMACS/OrgMode several times a day at least). On Wed, Feb 15, 2012 at 3:01 PM, brian powell wrote: > * "That'd be cool if it worked, but at least in my case, it doesn't" --It > works if you put line numbers at the beginning of each line--then it > highlights the diff per line in both buffers/in both files--you do "Mx > ediff-buffers" on--I know it works if you do--I tested it before I posted. > I usually use "nl" (UNIX) to do this (quoting myself): > ... > nl sanskrit-song.txt > sanskrit-song_line-numbers-at-front.txt > ... > > * Also, Thanks Nick for the pointing to notes on how to translate the > english/roman script etc. and the updating of views related to this thread: > > > "updated a thread on gnu.emacs.help with those > suggestions: http://thread.gmane.org/gmane.emacs.help/83724 > > On Wed, Feb 15, 2012 at 2:49 PM, Nick Dokos wrote: > >> brian powell wrote: >> >> >> > Make 2 files with line numbers at the begin of each line: >> > nl sanskrit-song.txt > sanskrit-song_line-numbers-at-front.txt >> > nl english-song.txt > english-song_line-numbers-at-front.txt >> > emacs -q -l >> sanskit-blah-mule-multilingual-emacs-programs-needed-to-show-sanskrit.el >> > >> sanskrit-song_line-numbers-at-front.txt english-song_line-numbers-at-front.txt >> > Mx ediff-buffers >> > Emacs will pop-up an ediff window--put your mouse cursor on it and tap >> "?"--it will show you the >> > ediff keys--"n" for "next different line" will be most helpful >> > (ediff will ask for the 1st and 2nd buffer you want to compare--type >> > in sanskrit-song_line-numbers-at-front.txt >> and english-song_line-numbers-at-front.txt >> > >> > --then tapping "n" (with your cursor on the popped up ediff window) >> goes line-by-songline in both >> > buffers--highlighting the text for a sanskrit sing-along! >> > >> >> "That'd be cool if it worked, but at least in my case, it doesn't: >> diff decides there is one big diff that covers the whole file, >> and ediff does not find a "better" refinement: no "n" >> to follow the bouncing ball... >> >> Nick >> >> >> > --14dae9399ce712eb4104b90687d3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable * Nick mentioned "no "n"=A0to follow the bouncing ball...&qu= ot;--in jest I believe; but, seriously, you can do that too with EMACS and = XAUTOMATION do:

apt-get install xautomation=A0

(this will install xte I believe)

** = well, if you wanted a "bouncing ball" to follow the music, in a s= ay, 1 line per 3 seconds for a presentation/sing-along:

xterm -e watch -p -n3 "xte \"key n\" =A0"

*** Again, you put the cursor on the EDIFF help window --&= quot;n" will go line per line=A0

*** Which wi= ll work too; I do something like this everyday (use xte calling out of EMAC= S/OrgMode several times a day at least).


On Wed, Feb 15, 2012 at 3:01 = PM, brian powell <briangpowellms@gmail.com> wrote:
* "That'd be cool if it worked, but at least in my case, it doesn&= #39;t" --It works if you put line numbers at the beginning of each lin= e--then it highlights the diff per line in both buffers/in both files--you = do "Mx ediff-buffers" on--I know it works if you do--I tested it = before I posted. I usually use "nl" (UNIX) to do this (quoting my= self):
...
nl sanskrit-song.txt > sanskrit-song_line-numbers-at-front= .txt
...

* Also, Thanks Nick for th= e pointing to notes on how to translate the english/roman script etc. and t= he updating of views related to this thread:


"updated a thread on gnu.emacs.help with those

On Wed, Feb 15, 2012 at 2:49 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
brian powell <briangpowellms@gmail.com> wrote:


> Make 2 files with line numbers at the begin of each line:=A0
> nl sanskrit-song.txt >=A0sanskrit-song_line-numbers-at-front.txt > nl english-song.txt > english-song_line-numbers-at-front.txt
> emacs -q -l sanskit-blah-mule-multilingual-emacs-programs-needed-to-sh= ow-sanskrit.el
> =A0sanskrit-song_line-numbers-at-front.txt=A0english-song_line-numbers= -at-front.txt
> Mx ediff-buffers
> Emacs will pop-up an ediff window--put your mouse cursor on it and tap= "?"--it will show you the
> ediff keys--"n" for "next different line" will be = most helpful
> (ediff will ask for the 1st and 2nd buffer you want to compare--type > in=A0sanskrit-song_line-numbers-at-front.txt and=A0english-song_line-n= umbers-at-front.txt
>
> --then tapping "n" (with your cursor on the popped up ediff = window) goes line-by-songline in both
> buffers--highlighting the text for a sanskrit sing-along!
>

"That'd be cool if it worked, but at least in my case, it do= esn't:
diff decides there is one big diff that covers the whole file,
and ediff does not find a "better" refinement: no "n" to follow the bouncing ball...

Nick




--14dae9399ce712eb4104b90687d3--