all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eason Huang <aqua0210@foxmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 55592@debbugs.gnu.org
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	[thread overview]
Message-ID: <tencent_AF97D19211A49F8D4870F8B5844D75398607@qq.com> (raw)
In-Reply-To: <83y1ys5q4e.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 23 May 2022 16:34:57 +0300")

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





  reply	other threads:[~2022-05-23 15:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-23 12:28 bug#55592: 29.0.50; save-place-mode conflict with desktop.el when file encoding is utf-16 Eason Huang
2022-05-23 13:34 ` Eli Zaretskii
2022-05-23 15:26   ` Eason Huang [this message]
2022-05-23 15:41     ` 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=tencent_AF97D19211A49F8D4870F8B5844D75398607@qq.com \
    --to=aqua0210@foxmail.com \
    --cc=55592@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.