From: Michael Welsh Duggan <md5i@cs.cmu.edu>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; Incorrect fontification for man in utf8 environment
Date: Mon, 07 Apr 2008 21:05:07 -0400 [thread overview]
Message-ID: <87ej9hyx4s.fsf@maru.md5i.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 180 bytes --]
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
LANG=en_US.utf8 emacs -Q
M-x man RET man RET
The resulting man page looks like this:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/plain, Size: 779 bytes --]
MAN(1) Manual pager utils MAN(1)
NAME
man â an interface to the onâline reference manuals
SYNOPSIS
man [ââc|ââw|ââtZ] [ââH[browser]] [ââT[device]] [ââX[dpi]] [ââadhu7V] [ââi|ââI]
[ââm system[,...]] [ââL locale] [ââp string] [ââC file] [ââM path] [ââP
pager] [ââr prompt] [ââS list] [ââe extension] [ââââwarnings [warnings]]
[[section] page ...] ...
man ââl [ââ7] [ââtZ] [ââH[browser]] [ââT[device]] [ââX[dpi]] [ââp string] [ââP
pager] [ââr prompt] [ââââwarnings[warnings]] file ...
man ââk [apropos options] regexp ...
man ââf [whatis options] page ...
[-- Attachment #3: Type: text/plain, Size: 52 bytes --]
The correct output, which occurs when LANG=C, is:
[-- Attachment #4: Type: text/plain, Size: 643 bytes --]
MAN(1) Manual pager utils MAN(1)
NAME
man - an interface to the on-line reference manuals
SYNOPSIS
man [-c|-w|-tZ] [-H[browser]] [-T[device]] [-X[dpi]] [-adhu7V] [-i|-I]
[-m system[,...]] [-L locale] [-p string] [-C file] [-M path] [-P
pager] [-r prompt] [-S list] [-e extension] [--warnings [warnings]]
[[section] page ...] ...
man -l [-7] [-tZ] [-H[browser]] [-T[device]] [-X[dpi]] [-p string] [-P
pager] [-r prompt] [--warnings[warnings]] file ...
man -k [apropos options] regexp ...
man -f [whatis options] page ...
[-- Attachment #5: Type: text/plain, Size: 2454 bytes --]
In GNU Emacs 23.0.60.10 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
of 2008-04-01 on maru
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure '--without-toolkit-scroll-bars' '--with-dbus' '--enable-font-backend''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.utf8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
display-time-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
M-x s h e l l <return> M-x m a n <return> m o u n t
<return> m o u n t <return> M-x f i n d - f u n <tab>
<return> m a n <return> <escape> < C-s c o d i n g
- s t C-n C-n C-n C-n M-v C-v C-n C-p C-h v <return>
C-x 1 C-n C-h v <return> C-x 1 C-x 4 b <return> C-x
b <return> C-x b * m a <tab> <backspace> <backspace>
M a <tab> <return> C-x o C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-x 1 C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-p C-p C-p M-x m a n <return> g r o f f <return>
C-x o C-s N O _ <backspace> <backspace> <backspace>
S G R C-a C-x o M-x m a n <return> m a n <return> C-x
o C-s s g r C-g C-g C-g C-x o C-x 1 C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-x b <return>
C-x k M-x r e p o r t - e m <tab> <return> I n f <backspace>
c o r r e c t SPC f o n t i t <backspace> f i c v \
<backspace> <backspace> a t i o n SPC f o r SPC m a
n SPC i n SPC u t f 8 SPC e n v i r o n m e n t <return>
C-c C-k y e s <return> M-x r e p o r t - e m <tab>
<return>
Recent messages:
Type C-x 1 to delete the help window.
Invoking man groff in the background
Please wait: formatting the groff man page...
groff man page formatted
Mark saved where search started
Invoking man man in the background
Please wait: formatting the man man page...
man man page formatted
Don't touch it! It's the History Eraser Button, you fool! [2 times]
Parsing /home/md5i/.mailrc... done
--
Michael Welsh Duggan
(md5i@cs.cmu.edu)
next reply other threads:[~2008-04-08 1:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-08 1:05 Michael Welsh Duggan [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-04-17 14:38 23.0.60; Incorrect fontification for man in utf8 environment Chong Yidong
2008-04-22 3:46 ` Michael Welsh Duggan
2011-07-16 21:21 ` bug#124: " Lars Magne Ingebrigtsen
2011-07-17 15:09 ` Michael Welsh Duggan
2008-05-07 3:41 Michael Welsh Duggan
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=87ej9hyx4s.fsf@maru.md5i.com \
--to=md5i@cs.cmu.edu \
--cc=emacs-pretest-bug@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.