[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55592: 29.0.50; save-place-mode conflict with desktop.el when file e
From: |
Eason Huang |
Subject: |
bug#55592: 29.0.50; save-place-mode conflict with desktop.el when file encoding is utf-16 |
Date: |
Mon, 23 May 2022 23:26:14 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Eason Huang <aqua0210@foxmail.com>
>> Date: Mon, 23 May 2022 20:28:56 +0800
>>
>> 1. create an file in ~/.emacs.d/init.el
>> 2. put below code in in the init.el file
>> ```
>> (desktop-save-mode 1)
>> (save-place-mode 1)
>> ```
>> 3. start Emacs and open a file with UTF-16 encoding, you can use the
>> sample file in the attachment
>>
>> 4. close Emacs with C-x C-c, will save a .emacs.desktop file and a
>> places file in the .emacs.d directory.
>>
>> 5. restart Emacs, now you can see the issue.
>
> Thanks for the clear recipe, this should now be fixed on the master
> branch.
Hi Eli,
Thanks for your quick fix.
The issue have been gone. It works well with latest commit.
I tested on Windows and macOS.
--
Eason Huang