From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21780: 25.0.50; Saving *Help* results in bad encoding because of curly quotes Date: Thu, 29 Oct 2015 19:41:38 +0200 Message-ID: <83oafh1sj1.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1446140545 29216 80.91.229.3 (29 Oct 2015 17:42:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Oct 2015 17:42:25 +0000 (UTC) Cc: 21780-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 29 18:42:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZrrDH-0007pa-Mb for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Oct 2015 18:42:11 +0100 Original-Received: from localhost ([::1]:45602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrrDH-0005YY-6E for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Oct 2015 13:42:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrrDD-0005YR-Fo for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2015 13:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrrD8-00033l-C8 for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2015 13:42:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrrD8-00033c-8e for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2015 13:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZrrD8-00051h-79 for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2015 13:42:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Oct 2015 17:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 21780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 21780@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 21780-done@debbugs.gnu.org id=D21780.144614051919308 (code D ref 21780); Thu, 29 Oct 2015 17:42:01 +0000 Original-Received: (at 21780-done) by debbugs.gnu.org; 29 Oct 2015 17:41:59 +0000 Original-Received: from localhost ([127.0.0.1]:44522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZrrD4-00051L-FS for submit@debbugs.gnu.org; Thu, 29 Oct 2015 13:41:58 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:33303) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZrrCj-00050q-D2 for 21780-done@debbugs.gnu.org; Thu, 29 Oct 2015 13:41:56 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NWZ00K00T160W00@a-mtaout20.012.net.il> for 21780-done@debbugs.gnu.org; Thu, 29 Oct 2015 19:41:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWZ00J58T5BUI60@a-mtaout20.012.net.il>; Thu, 29 Oct 2015 19:41:35 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108151 Archived-At: > Date: Wed, 28 Oct 2015 18:50:49 -0700 (PDT) > From: Drew Adams > > emacs -Q > M-x load-library isearch.el > C-h f isearch-forward > In buffer *Help*: C-x C-w foo.txt > > You get a coding-system warning. I tried saving it as utf-8 and as raw > text. > > In both cases, when I open that file in a new Emacs session, I see octal > escapes where there were curly quotes. Thanks, I fixed the first part of this: Emacs should no longer ask annoying questions when you save help buffers with curved quotes. The second part, which happens when visiting the saved file, is not a bug: you need to specify the encoding of files when visiting them in locales whose default encoding is different. (Actually, I expect this to work automatically for you, at least in "emacs -Q", but that doesn't happen in every locale.)