From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 29872@debbugs.gnu.org
Subject: bug#29872: 26.0.90; `man' output encoding, hyphen chars
Date: Sat, 30 Dec 2017 09:03:51 -0800 (PST) [thread overview]
Message-ID: <e26be388-ee45-4f98-b694-ea069ef5543a@default> (raw)
In-Reply-To: <<83d12wfxb5.fsf@gnu.org>>
> > 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.
>
> 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â€"
with the problematic "hyphen".
process-coding-system-alist is a variable defined in
‘C source code’.
Its value is
(("man" utf-8-dos . utf-8-unix)
("bash" raw-text-dos . raw-text-unix)
("[pP][lL][iI][nN][kK]" . #1=(undecided-dos . undecided-dos))
("[cC][mM][dD][pP][rR][oO][xX][yY]" . #1#))
next parent reply other threads:[~2017-12-30 17:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <<2dfed463-2ddb-4591-a476-c78e0b8d445b@default>
[not found] ` <<838tdnh6ej.fsf@gnu.org>
[not found] ` <<5a25751a-3a68-4e44-862f-44fa47871c04@default>
[not found] ` <<83shbtg8zc.fsf@gnu.org>
[not found] ` <<b25fb680-3f64-49ec-a894-899cf3213b07@default>
[not found] ` <<83mv21fjpb.fsf@gnu.org>
[not found] ` <<e0f4da49-27e1-4f58-99d6-377d6c1882e6@default>
[not found] ` <<83d12wfxb5.fsf@gnu.org>
2017-12-30 17:03 ` Drew Adams [this message]
2017-12-30 18:20 ` bug#29872: 26.0.90; `man' output encoding, hyphen chars Eli Zaretskii
2017-12-30 18:28 ` Eli Zaretskii
2017-12-30 23:11 ` Drew Adams
2017-12-31 16:24 ` Eli Zaretskii
2017-12-31 17:34 ` Drew Adams
2017-12-31 18:53 ` Eli Zaretskii
2017-12-28 1:59 Drew Adams
2017-12-28 3:34 ` Eli Zaretskii
2017-12-28 23:52 ` Drew Adams
2017-12-29 9:48 ` Eli Zaretskii
2017-12-29 17:21 ` Drew Adams
2017-12-29 18:54 ` Eli Zaretskii
2017-12-30 0:35 ` Drew Adams
2017-12-30 0:39 ` Drew Adams
2017-12-30 8:15 ` Eli Zaretskii
2017-12-30 17:03 ` Drew Adams
2017-12-30 18:22 ` Eli Zaretskii
2017-12-30 8:13 ` Eli Zaretskii
2019-09-28 23:26 ` Stefan Kangas
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=e26be388-ee45-4f98-b694-ea069ef5543a@default \
--to=drew.adams@oracle.com \
--cc=29872@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.