[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: |
Eli Zaretskii |
Subject: |
bug#55592: 29.0.50; save-place-mode conflict with desktop.el when file encoding is utf-16 |
Date: |
Mon, 23 May 2022 16:34:57 +0300 |
> 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.