Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tramp mode encoding problem in v29.1 #357

Open
trondh opened this issue Aug 15, 2023 · 1 comment
Open

Tramp mode encoding problem in v29.1 #357

trondh opened this issue Aug 15, 2023 · 1 comment

Comments

@trondh
Copy link

trondh commented Aug 15, 2023

On Mac, I upgraded to emacs 29.1.

However I get an encoding problem when editing remote iso-latin-1 files in tramp mode, which ends up in utf-8 format no matter my local .emacs configuration, which says use latin-1 always.

If I edit the iso-latin-1 file locally, latin-1 encoding is kept through an update, so it seems to be related to the tramp mode.

I also believe the problem may be related to the base64 transfer and encode/decode, but not sure where the exact problem is located.

I downgraded back to emacs 28.2, and the problem is gone, so something seems to be introduced in 29.1.

Regards
Trond

@jado4810
Copy link

jado4810 commented Mar 8, 2024

I reproduced this issue also on windows and linux while using emacs29.1, so it seems to be a bug on that version of emacs itself.
Using the newest versions of tramp could avoid the issue, and on the 29.1 the patch attached here may fixes.

However, I suppose updating 29.2 would be a good idea (although it is not released yet, but it seems to be fixed on that version).

emacs-29.1-trampfix.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants