From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29872: 26.0.90; `man' output encoding, hyphen chars Date: Sat, 30 Dec 2017 09:03:51 -0800 (PST) Message-ID: References: <<2dfed463-2ddb-4591-a476-c78e0b8d445b@default>> <<838tdnh6ej.fsf@gnu.org>> <<5a25751a-3a68-4e44-862f-44fa47871c04@default>> <<83shbtg8zc.fsf@gnu.org>> <> <<83mv21fjpb.fsf@gnu.org>> <> <<83d12wfxb5.fsf@gnu.org>> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1514653405 27244 195.159.176.226 (30 Dec 2017 17:03:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2017 17:03:25 +0000 (UTC) Cc: 29872@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 30 18:03:21 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVKXU-0006Xl-1f for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Dec 2017 18:03:16 +0100 Original-Received: from localhost ([::1]:60891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVKZT-0007iR-33 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Dec 2017 12:05:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVKZH-0007hJ-8X for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 12:05:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVKZD-0006xn-7B for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 12:05:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eVKZD-0006xb-4B for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 12:05:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eVKZC-0001BX-T6 for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 12:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Dec 2017 17:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29872-submit@debbugs.gnu.org id=B29872.15146534464462 (code B ref 29872); Sat, 30 Dec 2017 17:05:02 +0000 Original-Received: (at 29872) by debbugs.gnu.org; 30 Dec 2017 17:04:06 +0000 Original-Received: from localhost ([127.0.0.1]:58063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVKYI-00019p-6y for submit@debbugs.gnu.org; Sat, 30 Dec 2017 12:04:06 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:45202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVKYG-00019B-Gj for 29872@debbugs.gnu.org; Sat, 30 Dec 2017 12:04:05 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.21/8.16.0.21) with SMTP id vBUH1ehd119216; Sat, 30 Dec 2017 17:03:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=Ii7PFiiDLhCbpHQLHVWjW3PLQeET+dwxp92eBr5UGLc=; b=Vyrif/ixP1bs6TmDZqmcwsdCAkZoaixmIDBLSa1WIIg4qJvtyTDxWt/4SgWVv21ryXul /Ap9dv+7pxB9/qQBNSv7Ot3zgdYddMoDvQ7pV7IT1BkELgd01mJMAZgNOVwLOHplbdxy HcZDSzQDdIq+3HVAoePIeF6A2CivOnK91hHU3IrFLiXvD+uz1zSuNCwoB+8YGRir5er2 1uqdS5UhEMef9FYfGrXEM1QSH+DDH7lsYYEYEQ4MrXdN1PUIU/CzCFcLPFKqfYBMcMLV D1QJo18pWvwpr13NBKyf7Hmemvc6ImEuogsg9Nz1yS1oU4wscyU48QKoyrbIs3V5PLae 1w== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2f63ewgppf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 30 Dec 2017 17:03:57 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vBUH3un7025975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 30 Dec 2017 17:03:56 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vBUH3unj013676; Sat, 30 Dec 2017 17:03:56 GMT In-Reply-To: <<83d12wfxb5.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4627.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8760 signatures=668650 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712300255 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:141621 Archived-At: > > I don't even know whether it is the VAL (which is > > `(raw-text-dos . raw-text-unix)') that is incorrect > > or it is the PATTERN (which is "bash") that is > > incorrect, or both. >=20 > If you don't have problems with Bash, then its existing association in > the alist, as set by those cygwin-* libraries, is fine for you. (The > latest Cygwin uses UTF-8 by default, so if your Bash is fairly recent, > I'd suggest to change the above as well, to use utf-8 instead of > raw-text. If your Bash is old, then you probably don't need to > bother.) My bash is from my Cygwin installation, which is old. I mentioned here the one (known) problem that I have, which is noted in the Commentary of `setup-cygwin.el', as follows. I'm guessing that it is unrelated to the problem reported for this bug, but I don't know that. ;; NOTE: ;; ;; When using precompiled GNU Emacs (all versions, at least 20-25) ;; with a Cygwin installation with Cygwin1.dll version 1.7.11-1, you ;; have trouble running bash in emacs. On `M-x shell` you get: ;; ;; bash: cannot set terminal process group (-1): ;; Inappropriate ioctl for device ;; bash: no job control in this shell ;; ;; This shell then is rather useless, because apart from the missing ;; job control some commands called in that shell just hang. ;; ;; People on the Cygwin mailing list have apparently suggested that ;; it is a GNU Emacs problem. This issue is still not resolved yet. ;; ;; Workarounds some people have tried: ;; ;; * Use Cygwin Emacs (package emacs-w32 uses the windows GUI, there ;; are also X11 and console packages) ;; ;; * Don't upgrade Cygwin above Cygwin1.dll, version 1.7.9. ;; ;; See also https://www.emacswiki.org/emacs/NTEmacsWithCygwin. That Emacs Wiki page has more info about this particular problem. I'm (obviously) no expert on this. > For 'man', try this: > (setq process-coding-system-alist > (cons '("man" . (utf-8-dos . utf-8-unix)) > process-coding-system-alist)) Thanks; I tried that. It did not change the result - the same problem as reported for this bug report. Again I did `emacs -Q', loaded cygwin-mount.el then setup-cygwin.el, then evaluated the above code to add a `man' entry to `process-coding-system-alist', then did `M-x man RET find RET'. I again see the "prece=C3=A2=E2=82=AC" with the problematic "hyphen". process-coding-system-alist is a variable defined in =E2=80=98C source code=E2=80=99. Its value is (("man" utf-8-dos . utf-8-unix) ("bash" raw-text-dos . raw-text-unix) ("[pP][lL][iI][nN][kK]" . #1=3D(undecided-dos . undecided-dos)) ("[cC][mM][dD][pP][rR][oO][xX][yY]" . #1#))