From: Eli Zaretskii <eliz@gnu.org>
To: 20857@debbugs.gnu.org
Subject: bug#20857: 25.0.50; Display of curved quotes in *Help* buffers on text terminals
Date: Sat, 20 Jun 2015 12:21:14 +0300 [thread overview]
Message-ID: <83y4jeivlh.fsf@gnu.org> (raw)
To reproduce:
Set up your text terminal for some encoding that doesn't support
curved quotes. In my case, this was cp862. Then:
emacs -Q
C-h f electric-quote-mode RET
C-x o
You are now in the *Help* buffer. Move point to the ‘ character in
the line that says
When enabled, this replaces `foo bar' with ‘foo bar’ and replaces
(on the terminal set up as above, you should see 'foo bar' instead of
‘foo bar’, with straight ASCII single quotes), and type "C-u C-x =".
I expect to see that this is a U+2018 character displayed as ' via a
display table, but instead I see that the character is U+0027, the
ASCII quote itself.
This doesn't happen with the double quotes, U+201C and U+201D. With
them, I do see the expected description.
Are my expectations wrong?
On a GUI terminal that is capable of displaying the curved quotes,
they display correctly as ‘..’.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
d:/gnu/git/emacs/trunk/etc/DEBUG.
In GNU Emacs 25.0.50.188 (i686-pc-mingw32)
of 2015-06-20 on HOME-C4E4A596F7
Repository revision: 133848247344af93a710d050f064019a40fde801
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int
'CFLAGS=-gdwarf-4 -g3 -O0''
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS
Important settings:
value of $LANG: ENU
locale-coding-system: cp1255
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Type C-x 1 to delete the help window.
Char: ' (39, #o47, #x27) point=378 of 729 (52%) column=43
Mark set
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils wid-edit cl-loaddefs pcase cl-lib
descr-text help-mode easymenu help-fns time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32
ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote w32notify w32 multi-tty
make-network-process emacs)
Memory information:
((conses 16 83206 7724)
(symbols 56 29257 0)
(miscs 48 38 149)
(strings 16 24222 4758)
(string-bytes 1 595680)
(vectors 16 9099)
(vector-slots 8 378482 19316)
(floats 8 122 270)
(intervals 40 256 163)
(buffers 856 12))
next reply other threads:[~2015-06-20 9:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-20 9:21 Eli Zaretskii [this message]
2015-06-20 20:40 ` bug#20857: 25.0.50; Display of curved quotes in *Help* buffers on text terminals Paul Eggert
2015-06-21 14:52 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y4jeivlh.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=20857@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).