From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>,
Emanuel Berg <moasenwood@zoho.eu>,
Yuri Khan <yuri.v.khan@gmail.com>
Subject: Re: Emacs as a translator's tool
Date: Sat, 30 May 2020 09:46:10 -0700 [thread overview]
Message-ID: <87y2p9nzfx.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <B737048E-F84E-43A4-9DCD-85453F556FAE@traduction-libre.org> (Jean-Christophe Helary's message of "Sat, 30 May 2020 12:20:14 +0900")
Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
writes:
>> On May 30, 2020, at 3:22, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>>
>>>> I
>>>> imagined this would happen when the mode was turned on: it would run
>>>> down the file and insert markers that would be used to find
>>>> correspondences. Special characters could be inserted into the file
>>>> to indicate that two paragraphs should be joined, or one paragraph
>>>> split.
>>>
>>> What would be the use of such a marking ?
[...]
>> I want to be able to go to the
>> bottom of the translation, run a command, and have the second window
>> display the corresponding original. If I realize I've done something
>> wrong a couple of chapters previously, and I skip back up to that
>> location in the translation, I want to run the same command to display
>> the corresponding spot in the original.
>
> I seem to remember a long discussion about bookmarks here or on devel
> a while ago. Did you consider that ?
The only part of this code I ever actually wrote used bookmarks to save
where I was at the end of the work day. But usually you just save one
bookmark per file, indicating "where you are" in the file. That's a
different concern than splitting the two texts into segments, and
recording correspondences between segments in the texts. If you
segmented a whole novel by sentences, and then saved a bookmark per
sentence, I'm sure it would cause something to catch on fire.
At first I thought I'd run through the text when the mode was turned on,
insert a whole bunch of markers, then keep a list of marker-pairs. That
seemed like it would be hard to keep properly in sync, though, so now
I'm thinking of running through the text and actually inserting
separator characters, perhaps #x1f, either making them invisible or
putting some other nice display on them. That makes it easier to sync,
and has the advantage that it persists to disk and you only have to do
the major parsing once. Then strip them out during export.
Anyway, still experimenting...
next prev parent reply other threads:[~2020-05-30 16:46 UTC|newest]
Thread overview: 146+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-29 5:55 Emacs as a translator's tool Marcin Borkowski
2020-05-29 6:21 ` stardiviner
2020-05-29 6:35 ` Marcin Borkowski
2020-05-29 8:14 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 8:29 ` Yuri Khan
2020-05-29 8:35 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 9:59 ` tomas
2020-05-29 10:44 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 11:34 ` tomas
2020-05-29 11:51 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 12:02 ` Jean-Christophe Helary
2020-05-30 1:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-30 3:12 ` Jean-Christophe Helary
2020-06-05 6:43 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05 7:35 ` Jean-Christophe Helary
2020-06-05 7:55 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05 8:14 ` Jean-Christophe Helary
2020-06-05 17:32 ` Marcin Borkowski
2020-06-05 17:47 ` Yuri Khan
2020-06-06 8:00 ` Marcin Borkowski
2020-06-05 23:23 ` Jean-Christophe Helary
2020-05-31 5:14 ` Marcin Borkowski
2020-06-01 8:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-01 8:26 ` Steinar Bang
2020-06-01 8:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 17:39 ` Eric Abrahamsen
2020-05-29 17:58 ` Jean-Christophe Helary
2020-05-29 18:22 ` Eric Abrahamsen
2020-05-30 3:20 ` Jean-Christophe Helary
2020-05-30 6:24 ` Eli Zaretskii
2020-05-30 6:36 ` Jean-Christophe Helary
2020-05-30 16:46 ` Eric Abrahamsen [this message]
2020-09-17 15:16 ` Eric Abrahamsen
2020-09-17 15:36 ` Arthur Miller
2020-09-17 16:03 ` Eric Abrahamsen
2020-09-17 18:14 ` arthur miller
2020-09-17 18:27 ` Eric Abrahamsen
2020-09-17 19:44 ` arthur miller
2020-09-17 20:42 ` Eric Abrahamsen
2020-09-18 17:36 ` Sv: " arthur miller
2020-09-18 18:26 ` Arthur Miller
2020-09-18 19:08 ` Eric Abrahamsen
2020-09-18 20:02 ` Arthur Miller
2020-09-18 20:17 ` Eric Abrahamsen
2020-09-18 20:47 ` Arthur Miller
2020-09-18 21:23 ` tomas
2020-09-18 22:57 ` Arthur Miller
2020-09-19 7:32 ` tomas
2020-09-18 21:26 ` Eric Abrahamsen
2020-09-18 23:05 ` Arthur Miller
2020-09-18 23:39 ` Eric Abrahamsen
2021-12-20 7:00 ` Marcin Borkowski
2021-12-20 19:31 ` Eric Abrahamsen
2021-12-21 8:31 ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2021-12-21 8:40 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-21 17:41 ` Eric Abrahamsen
2021-12-21 19:37 ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2021-12-21 20:22 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-22 7:14 ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2021-12-22 18:36 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-21 23:58 ` Jean-Christophe Helary
2021-12-22 7:36 ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2021-12-22 6:46 ` Marcin Borkowski
2021-12-22 17:50 ` Eric Abrahamsen
2021-12-22 18:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-22 19:09 ` Eric Abrahamsen
2021-12-22 19:20 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-22 19:22 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-22 20:24 ` Eric Abrahamsen
2021-12-23 17:57 ` Marcin Borkowski
2021-12-23 21:59 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-28 16:22 ` Marcin Borkowski
2021-12-22 18:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-23 17:44 ` Marcin Borkowski
2021-12-22 18:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 8:41 ` Jean-Christophe Helary
2020-05-29 8:43 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 9:28 ` Jean-Christophe Helary
2020-05-29 10:40 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-31 5:09 ` Marcin Borkowski
2020-06-01 8:51 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-04 19:47 ` Marcin Borkowski
2020-06-05 0:43 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05 0:49 ` Jean-Christophe Helary
2020-06-05 1:08 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05 2:58 ` Jean-Christophe Helary
2020-06-05 3:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05 4:21 ` Jean-Christophe Helary
2020-06-05 10:46 ` Marcin Borkowski
2020-06-05 12:11 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05 17:19 ` Marcin Borkowski
2020-06-07 21:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-07 21:37 ` Eric Abrahamsen
2020-06-07 21:55 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-07 22:24 ` Eric Abrahamsen
2020-06-07 22:30 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08 6:04 ` Marcin Borkowski
2020-06-08 6:30 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08 11:59 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08 12:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08 12:34 ` Jean-Christophe Helary
2020-06-09 21:13 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-09 23:28 ` Jean-Christophe Helary
2020-06-10 0:12 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 3:21 ` Jean-Christophe Helary
2020-06-10 1:39 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 3:28 ` Jean-Christophe Helary
2020-06-10 3:47 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 3:57 ` Jean-Christophe Helary
2020-06-10 4:13 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 6:19 ` Jean-Christophe Helary
2020-06-10 11:49 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 13:39 ` Jean-Christophe Helary
2020-06-10 15:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08 19:45 ` Marcin Borkowski
2020-06-08 20:44 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-09 19:32 ` Marcin Borkowski
2020-06-09 20:54 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 2:03 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 13:35 ` tomas
2020-06-10 13:38 ` tomas
2020-06-10 15:27 ` recentering another window (was: Re: Emacs as a translator's tool) Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 20:56 ` Emacs as a translator's tool Marcin Borkowski
2020-06-10 21:28 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-12 19:46 ` Marcin Borkowski
2020-06-12 22:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-12 22:23 ` Marcin Borkowski
2020-06-19 13:46 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-19 13:51 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 21:29 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-09 21:03 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 1:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 6:39 ` MENGUAL Jean-Philippe
2020-05-29 8:22 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 8:29 ` Marcin Borkowski
2020-05-29 6:57 ` Jean-Christophe Helary
2020-05-29 8:03 ` Jean-Christophe Helary
2020-05-29 8:30 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 8:26 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 14:28 ` Takesi Ayanokoji
2020-05-29 15:02 ` Giovanni Bono
2020-05-29 22:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-30 6:20 ` Giovanni Bono
2020-06-01 8:39 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-31 5:17 ` Marcin Borkowski
2020-05-31 6:58 ` Giovanni Bono
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2p9nzfx.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=help-gnu-emacs@gnu.org \
--cc=jean.christophe.helary@traduction-libre.org \
--cc=moasenwood@zoho.eu \
--cc=yuri.v.khan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.