From: Daniel Bastos <dbastos@id.uff.br>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 58281@debbugs.gnu.org
Subject: bug#58281: 27.1; windows mangles encoding on command line
Date: Mon, 7 Nov 2022 16:40:04 -0300 [thread overview]
Message-ID: <CAEQ-z=Kth8mwEuwLfA-NCGC0s6=wGBqra8Bcfha0EcG+N5Y6hQ@mail.gmail.com> (raw)
In-Reply-To: <834jvc35xh.fsf@gnu.org>
Pong! I'm so sorry I've delayed this so much. (It's been in my
inbox, though, so it would not be forgotten.)
On Sun, Nov 6, 2022 at 4:20 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> Ping! Did you have a chance to test the changes I installed?
>
> > Cc: 58281@debbugs.gnu.org
> > Date: Sat, 15 Oct 2022 14:02:16 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> >
> > > Cc: 58281@debbugs.gnu.org
> > > Date: Wed, 12 Oct 2022 19:54:27 +0300
> > > From: Eli Zaretskii <eliz@gnu.org>
> > >
> > > > From: Daniel Bastos <dbastos@id.uff.br>
> > > > Date: Wed, 12 Oct 2022 08:49:32 -0300
> > > > Cc: 58281@debbugs.gnu.org
> > >
> > > In addition to what I just wrote, please try this: As soon as you
> > > start Emacs, type:
> > >
> > > M-: (setq default-process-coding-system '(undecided-dos . cp850-dos)) RET
> > >
> > > Then enter Eshell and try the fossil command you tried before. See if
> > > this solves the problem.
It did not. I ran emacs -Q, evaluated the code above and tried this:
c:/my/path $ (print default-process-coding-system)
(undecided-dos . cp850-dos)
c:/my/path $ fossil changes
ADDED hello.txt
c:/my/path $ fossil commit -m 'Naiveté.'
Pull from https://mer@somewhere.edu/mer
Round-trips: 1 Artifacts sent: 0 received: 0
Pull done, wire bytes sent: 439 received: 3830 ip: 5.161.138.46
New_Version: 092b3d5d04247d6b0784957dee568958838788585417e5be474ed8d67a15d9b8
Sync with https://mer@somewhere.edu/mer
Round-trips: 1 Artifacts sent: 2 received: 0
Sync done, wire bytes sent: 4206 received: 308 ip: 5.161.138.46
c:/my/path $ fossil timeline -n 1
=== 2022-11-07 ===
18:39:38 [092b3d5d04] *CURRENT* Naivet‚. (user: mer tags: trunk)
--- entry limit (1) reached ---
So the accented letter came out as a comma and a period.
> > > I think I found a bug in Eshell that the above workaround should
> > > side-step.
> >
> > I've now installed a change for Emacs 29 that I think should fix your
> > problems. So if you can try the current master branch of the Emacs
> > Git repository, please do, and see if your problem with Fossil are
> > solved there.
I'm not sure which is "Emacs 29". I took the master branch
https://git.savannah.gnu.org/cgit/emacs.git/
right now --- November 7th, 15h EST --- and followed nt/INSTALL.W64 to
compile it using MSYS32 in a MINGW64 shell. After building the
runemacs.exe, I ran it with the option -Q and I see the version is
GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-11-07
I get the following behavior:
c:/my/path $ fossil commit -m 'Naiveté.'
Pull from https://mer@somewhere.edu/mer
Round-trips: 1 Artifacts sent: 0 received: 0
Pull done, wire bytes sent: 438 received: 3908 ip: 5.161.138.46
New_Version: e3d8a268759a5e968f132043404eecb4ea5068135fcebd0d35b6b668eb8404a2
Sync with https://mer@somewhere.edu/mer
Round-trips: 1 Artifacts sent: 2 received: 0
Sync done, wire bytes sent: 4297 received: 309 ip: 5.161.138.46
c:/my/path $ fossil timeline -n 1
=== 2022-11-07 ===
19:29:10 [e3d8a26875] *CURRENT* Naiveté. (user: mer tags: trunk)
--- entry limit (1) reached ---
As a second try, I'm going to set the variable
default-process-coding-system as you suggested above and try again,
restarting the GNU EMACS first --- just in case. Restarted, ran ESHELL
and...
c:/my/path $ (print default-process-coding-system)
(undecided-dos . undecided-unix)
c:/my/path $ (setq default-process-coding-system '(undecided-dos . cp850-dos))
(undecided-dos . cp850-dos)
c:/my/path $ (print default-process-coding-system)
(undecided-dos . cp850-dos)
c:/my/path $ # it's set
c:/my/path $ fossil commit -m 'Naiveté.'
Pull from https://mer@somewhere.edu/mer
Round-trips: 1 Artifacts sent: 0 received: 0
Pull done, wire bytes sent: 440 received: 3984 ip: 5.161.138.46
New_Version: c51f1ff698f2964f2f06b7e4ca1ae672fb12f6e3e0599f616ff24658930185d2
Sync with https://mer@somewhere.edu/mer
Round-trips: 1 Artifacts sent: 2 received: 0
Sync done, wire bytes sent: 4341 received: 309 ip: 5.161.138.46
c:/my/path $ fossil timeline -n 1
=== 2022-11-07 ===
19:35:10 [c51f1ff698] *CURRENT* Naiveté. (user: mer tags: trunk)
--- entry limit (1) reached ---
It seems to me we get the same result. Thank you. I can test and
retest this. Just let me know. It will be easier for me now because
I already have all that it takes to compile the GNU EMACS here. Thank
you.
next prev parent reply other threads:[~2022-11-07 19:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-04 1:18 bug#58281: 27.1; windows mangles encoding on command line Wayne Harris
2022-10-04 10:02 ` Eli Zaretskii
2022-10-06 12:03 ` Daniel Bastos
2022-10-12 8:45 ` Eli Zaretskii
2022-10-12 11:49 ` Daniel Bastos
2022-10-12 16:35 ` Eli Zaretskii
2022-10-12 16:54 ` Eli Zaretskii
2022-10-15 11:02 ` Eli Zaretskii
2022-11-06 7:20 ` Eli Zaretskii
2022-11-07 19:40 ` Daniel Bastos [this message]
2022-11-07 20:10 ` Eli Zaretskii
2022-11-07 22:38 ` Daniel Bastos
2022-11-08 12:08 ` Eli Zaretskii
2023-09-03 9:26 ` Stefan Kangas
2022-11-07 20:23 ` Eli Zaretskii
2022-11-07 22:42 ` Daniel Bastos
2022-11-08 12:09 ` Eli Zaretskii
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='CAEQ-z=Kth8mwEuwLfA-NCGC0s6=wGBqra8Bcfha0EcG+N5Y6hQ@mail.gmail.com' \
--to=dbastos@id.uff.br \
--cc=58281@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.