emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] multilingual presentation with org


From: brian powell
Subject: Re: [O] multilingual presentation with org
Date: Wed, 15 Feb 2012 15:26:33 -0500

* 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 <address@hidden> 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

On Wed, Feb 15, 2012 at 2:49 PM, Nick Dokos <address@hidden> wrote:
brian powell <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]