Package: emacs;
Reported by: Samuel Bronson <naesten <at> gmail.com>
Date: Mon, 23 Jun 2014 01:58:02 UTC
Severity: minor
Found in version 24.3
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17836 in the body.
You can then email your comments to 17836 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-gnu-emacs <at> gnu.org
:bug#17836
; Package emacs
.
(Mon, 23 Jun 2014 01:58:02 GMT) Full text and rfc822 format available.Samuel Bronson <naesten <at> gmail.com>
:bug-gnu-emacs <at> gnu.org
.
(Mon, 23 Jun 2014 01:58:03 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Samuel Bronson <naesten <at> gmail.com> To: bug-gnu-emacs <at> gnu.org Subject: 24.3; `describe-fontset' confused about e.g. ?\C-@ Date: Sun, 22 Jun 2014 21:57:07 -0400
When I use `describe-fontset', I get output that starts out something like: --8<---------------cut here---------------start------------->8--- Fontset: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-fontset-xterm.default CHAR RANGE (CODE RANGE) FONT NAME (REQUESTED and [OPENED]) C-@ .. � (#x43 .. #x10FFFF) -Misc-Fixed-medium-r-semicondensed--13-*-75-75-c-120-ISO10646-1 --8<---------------cut here---------------end--------------->8--- Notice how #x43 is NOT a representation of `?\C-@' but, in fact, of `?C'? That's fairly strange bug. (Why would you try to extract the codepoints AFTER formatting the range as a string ...?) (I also get an assload of xlfd descriptors full of asterisks and dashes, with different registry-coding pairs...) In GNU Emacs 24.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-05-16 on babin, modified by Debian Windowing system distributor `Colin Harrison', version 11.0.60900031 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf' '--without-gsettings' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Help Minor modes in effect: semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode) S))) shell-dirtrack-mode: t diff-auto-refine-mode: t xterm-mouse-mode: t show-paren-mode: t recentf-mode: t tooltip-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 buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: <help-echo> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <left> <left> M-x <up> <up> <up> <down> <down> <down> <down> C-h = C-h ? <next> <prior> <next> <prior> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> q C-x b C-g M-x <up> <up> <down> <return> <up> <return> <down> C-x o <down> <down> <down> M-x d e s c <tab> c h <tab> <return> <C-home> <down> <down> <down> <down> <down> <down> <down> <down> <down> <end> <up> <up> <up> <down> <end> <down> <down> <up> <up> <up> <up> <up> <up> <up> <up> <up> <down> <down> <down> <down> <down> <up> <up> <up> <up> <up> <up> <down> <down> <down> <up> <up> <mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <help-echo> <down-mouse-1> <mouse-1> C-x b <return> C-x b <return> C-g <C-home> <C-end> <C-home> q <up> <up> <up> <up> <up> <end> <next> <next> <next> <C-end> M-x b <backspace> C-g <C-home> <C-end> <C-home> <C-end> <C-home> <C-end> M-x l i s t - c h a r <tab> s e t <tab> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> a c <tab> <return> <down> <down> <down> C-x o C-x o C-h f C-g M-x M-l i s t - f o <home> l <end> f <backspace> n t <tab> <return> C-x o <down> <down> <down> <end> <up> <up> <end> <down> <end> <down> <end> <up> <up> <end> <down> <down> <up> <up> <up> <up> <end> <down> <end> <up> <end> <end> <down> <end> <up> <home> <end> <down> <end> M-x <up> <up> <up> <up> <return> <up> <return> <down> <down> <down> <down> <down> <up> <up> <end> <down> <down> <down> <down> <next> <next> <next> <C-end> <C-home> <down> <down> <down> <up> <up> <up> <up> <down> <down> <down> <up> <up> <up> <up> <up> <S-down> <S-down> <S-down> <S-down> <S-down> M-w M-x e m a c s - b u g <tab> <home> r e p <tab> <backspace> <tab> <return> Recent messages: scroll-up-command: End of buffer [2 times] Mark set Quit Mark set [6 times] Making completion list... byte-code: End of buffer [3 times] Quit Mark set [2 times] byte-code: Beginning of buffer [3 times] Mark set 0 Load-path shadows: /home/naesten/system/emacs/dist/elpa/w3-4.0.49/ssl hides /usr/share/emacs24/site-lisp/wl/ssl /usr/share/emacs24/site-lisp/css-mode/css-mode hides /usr/share/emacs/site-lisp/css-mode/css-mode /usr/share/emacs/site-lisp/autoconf/autotest-mode hides /usr/share/emacs/site-lisp/autotest-mode /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.3/lisp/md4 /home/naesten/system/emacs/dist/elisp/loaddefs hides /usr/share/emacs/24.3/lisp/loaddefs /usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.3/lisp/hex-util /home/naesten/system/emacs/dist/elpa/json-1.2/json hides /usr/share/emacs/24.3/lisp/json /home/naesten/system/emacs/dist/elisp/t-mouse hides /usr/share/emacs/24.3/lisp/t-mouse /usr/share/emacs24/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/24.3/lisp/tempo /usr/share/emacs24/site-lisp/css-mode/css-mode hides /usr/share/emacs/24.3/lisp/textmodes/css-mode /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.3/lisp/textmodes/rst /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.3/lisp/textmodes/ispell /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.3/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.3/lisp/net/sasl-digest /usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.3/lisp/net/sasl-cram /usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.3/lisp/net/hmac-md5 /usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.3/lisp/net/hmac-def /usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.3/lisp/net/sasl-ntlm /usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.3/lisp/net/ntlm /usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.3/lisp/net/sasl /usr/share/emacs24/site-lisp/wl/rfc2368 hides /usr/share/emacs/24.3/lisp/mail/rfc2368 /home/naesten/system/emacs/dist/elisp/package hides /usr/share/emacs/24.3/lisp/emacs-lisp/package /home/naesten/system/emacs/dist/elpa/tabulated-list-0/tabulated-list hides /usr/share/emacs/24.3/lisp/emacs-lisp/tabulated-list /usr/share/emacs24/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x /usr/share/emacs24/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style /usr/share/emacs24/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar /usr/share/emacs24/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold /usr/share/emacs24/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview /usr/share/emacs24/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context /usr/share/emacs24/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl /usr/share/emacs24/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs /usr/share/emacs24/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en /usr/share/emacs24/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp /usr/share/emacs24/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex /usr/share/emacs24/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite /usr/share/emacs24/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font /usr/share/emacs24/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik /usr/share/emacs24/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex /usr/share/emacs24/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp /usr/share/emacs24/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info /usr/share/emacs24/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex /usr/share/emacs24/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt /usr/share/emacs24/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex /usr/share/emacs24/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf /usr/share/emacs24/site-lisp/html-helper-mode/hhm-config hides /usr/share/emacs/site-lisp/html-helper-mode/hhm-config /usr/share/emacs24/site-lisp/html-helper-mode/visual-basic-mode hides /usr/share/emacs/site-lisp/html-helper-mode/visual-basic-mode /usr/share/emacs24/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/site-lisp/html-helper-mode/tempo /usr/share/emacs24/site-lisp/html-helper-mode/html-helper-mode hides /usr/share/emacs/site-lisp/html-helper-mode/html-helper-mode /usr/share/emacs24/site-lisp/mailcrypt/mc-toplev hides /usr/share/emacs/site-lisp/mailcrypt/mc-toplev /usr/share/emacs24/site-lisp/mailcrypt/mc-remail hides /usr/share/emacs/site-lisp/mailcrypt/mc-remail /usr/share/emacs24/site-lisp/mailcrypt/mc-pgp6 hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp6 /usr/share/emacs24/site-lisp/mailcrypt/mc-pgp5 hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp5 /usr/share/emacs24/site-lisp/mailcrypt/mc-pgp hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp /usr/share/emacs24/site-lisp/mailcrypt/mc-gpg hides /usr/share/emacs/site-lisp/mailcrypt/mc-gpg /usr/share/emacs24/site-lisp/mailcrypt/mailcrypt hides /usr/share/emacs/site-lisp/mailcrypt/mailcrypt /usr/share/emacs24/site-lisp/mailcrypt/expect hides /usr/share/emacs/site-lisp/mailcrypt/expect /usr/share/emacs24/site-lisp/mailcrypt/mc-setversion hides /usr/share/emacs/site-lisp/mailcrypt/mc-setversion /usr/share/emacs24/site-lisp/psgml/psgml-edit hides /usr/share/emacs/site-lisp/psgml/psgml-edit /usr/share/emacs24/site-lisp/psgml/psgml-charent hides /usr/share/emacs/site-lisp/psgml/psgml-charent /usr/share/emacs24/site-lisp/psgml/psgml hides /usr/share/emacs/site-lisp/psgml/psgml /usr/share/emacs24/site-lisp/psgml/psgml-other hides /usr/share/emacs/site-lisp/psgml/psgml-other /usr/share/emacs24/site-lisp/psgml/psgml-api hides /usr/share/emacs/site-lisp/psgml/psgml-api /usr/share/emacs24/site-lisp/psgml/psgml-sysdep hides /usr/share/emacs/site-lisp/psgml/psgml-sysdep /usr/share/emacs24/site-lisp/psgml/psgml-init hides /usr/share/emacs/site-lisp/psgml/psgml-init /usr/share/emacs24/site-lisp/psgml/psgml-parse hides /usr/share/emacs/site-lisp/psgml/psgml-parse /usr/share/emacs24/site-lisp/psgml/psgml-info hides /usr/share/emacs/site-lisp/psgml/psgml-info /usr/share/emacs24/site-lisp/psgml/psgml-ids hides /usr/share/emacs/site-lisp/psgml/psgml-ids /usr/share/emacs24/site-lisp/psgml/psgml-dtd hides /usr/share/emacs/site-lisp/psgml/psgml-dtd /usr/share/emacs/24.3/lisp/gnus/.dir-locals hides /home/naesten/system/emacs/dist/elisp/magit/.dir-locals Features: (thai-util thai-word files-x boxquote eldoc mule-diag noutline outline checkdoc elint canlock mo-git-blame vc-annotate autorevert log4j-mode gnus-html vcard-autoloads bbdb-w3 vc-bzr vc-sccs vc-svn vc-cvs vc-rcs gitignore-mode gitconfig-mode-autoloads gitignore-mode-autoloads mu-register mu-cite alist std11 pcustom poem poem-e20 poem-e20_3 pces pces-e20 pces-20 broken poe pym static apel-ver product informat footnote crm latex tex-style tex-info texinfo tex nndoc nnmairix nnml nnir gnus-sync json gnus-sieve deuglify gnus-notifications gnus-fun notifications dbus xml gnus-dup gnus-demon gnus-delay gnus-draft gnus-bookmark time-stamp ede/generic semantic/db semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local ede/shell eieio-opt find-dired locate ede/dired ede/emacs ede/cpp-root ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar speedbar sb-image ezimage dframe eieio-custom cedet ebrowse ebuff-menu autoconf autoconf-mode gnus-diary nndiary occur-x-autoloads package-x descr-text shadow emacsbug tmm url-handlers nnweb mm-url nnregistry html-mode jsp-html-helper-mode asp-html-helper-mode php-html-helper-mode html-helper-mode w3m-form w3m-cookie w3m-bookmark w3m-tabmenu w3m-session w3m doc-view image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util gnus-cus conf-mode python xmtn-dvc dvc-status xmtn-conflicts xmtn-ids xmtn-match xmtn-automate xmtn-compat xmtn-run xmtn-basic-io xmtn-base sh-script smie executable tramp-sh debian-control-mode debian-bts-control debian-changelog-mode tramp-cache rx tramp tramp-compat tramp-loaddefs shell pcomplete dpkg-dev-el-loaddefs ido find-file-in-git-repo dired-aux loadhist autoload lisp-mnt url-http url-gw url-cache url-auth finder-inf cperl-mode perl-mode tabify man make-mode debug gnus-salt gnus-kill uudecode flow-fill spam-report mule-util gnus-async gnus-bcklg gnus-topic nndraft nnmh nnfolder bbdb-gnus nnnil gnus-registry registry eieio-base spam spam-stat gnus-uu yenc gnus-eform gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-ml netrc gnutls network-stream starttls tls nntp gnus-cache psgml-info shr mm-archive psgml-dtd psgml-parse psgml-api psgml-ids psgml-other psgml-sysdep psgml-edit browse-url sgml-mode psgml psgml-html info cpp apropos face-remap bbdb-hooks cc-langs inform-mode imenu term disp-table ehelp electric ispell qp rmailmm rmail two-column iso-transl misearch multi-isearch jka-compr parse-time smiley gnus-cite gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader bbdb-snarf bbdb-com view magit-bisect magit-key-mode magit mail-extr sort tla smerge-mode dvc-state dvc-config diff tla-gnus dvc-gnus dvc-cmenu dvc-about dvc-version thingatpt mailcrypt message sendmail format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev mail-utils gmm-utils mailheader reporter help-mode debian-bug rfc2047 rfc2045 ietf-drums vc-git xgit-dvc xgit cus-edit xgit-annotate rect dvc-annotate xgit-log dvc-revlist dvc-diff uniquify dvc-fileinfo bzr-core tla-core pp tla-autoconf tla-defs dvc-log dvc-unified dvc-tips dired-x dired ffap commit-patch-buffer log-edit pcvs-util add-log vc vc-dispatcher diff-mode easy-mmode ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff xdarcs-core xgit-core xhg-core xmtn-minimal server derived xcscope arc-mode archive-mode asm-mode my-asm slime-autoloads dvc-autoloads dvc-core dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc dvc-defs dvc-site cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs elisp-depend ps-print-bg-fixup bbdb timezone wgrep grep compile comint ansi-color ring edebug warnings trace xt-mouse paren recentf tree-widget wid-edit cus-start cus-load eldoc-eval-autoloads elisp-cache-autoloads erc-hl-nicks-autoloads fill-column-indicator-autoloads find-file-in-git-repo-autoloads mo-git-blame-autoloads smartparens-autoloads dash-autoloads synonyms-autoloads tabulated-list-autoloads w3-autoloads wgrep-autoloads yagist-autoloads json-autoloads yasnippet-bundle-autoloads yasnippet-bundle dropdown-list advice help-fns advice-preload yasnippet easymenu assoc package find-func cl-macs gv w3m-load psgml-init proof-site proof-autoloads pg-vars mmm-auto mmm-vars mmm-compat cl cl-lib mailcrypt-init haskell-mode-autoloads edmacro kmacro tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util time-date mm-util mail-prsvr password-cache url-vars mailcap xml-parse doxymacs debian-el debian-el-loaddefs bbdb-autoloads preview-latex tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting x-toolkit x multi-tty emacs) -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
bug-gnu-emacs <at> gnu.org
:bug#17836
; Package emacs
.
(Mon, 23 Jun 2014 16:18:02 GMT) Full text and rfc822 format available.Message #8 received at 17836 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Samuel Bronson <naesten <at> gmail.com> Cc: 17836 <at> debbugs.gnu.org Subject: Re: bug#17836: 24.3; `describe-fontset' confused about e.g. ?\C-@ Date: Mon, 23 Jun 2014 19:17:01 +0300
> From: Samuel Bronson <naesten <at> gmail.com> > Date: Sun, 22 Jun 2014 21:57:07 -0400 > > Fontset: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-fontset-xterm.default > CHAR RANGE (CODE RANGE) > FONT NAME (REQUESTED and [OPENED]) > C-@ .. � (#x43 .. #x10FFFF) > -Misc-Fixed-medium-r-semicondensed--13-*-75-75-c-120-ISO10646-1 > --8<---------------cut here---------------end--------------->8--- > > Notice how #x43 is NOT a representation of `?\C-@' but, in fact, of > `?C'? That's because print-fontset-element does this: (beginning-of-line) (let ((from (following-char)) IOW, it assumes that there's a single character there, not a human-readable description of a character, such as "C-@". How about submitting a patch that uses 'kbd', say? > Why would you try to extract the codepoints AFTER formatting the > range as a string ...? Because the formatting of the codepoints is done by describe-vector, which doesn't pass the codepoints to print-fontset-element. So it needs to reverse-engineer the codepoints from the text that was already inserted into the buffer.
bug-gnu-emacs <at> gnu.org
:bug#17836
; Package emacs
.
(Mon, 23 Jun 2014 16:41:02 GMT) Full text and rfc822 format available.Message #11 received at 17836 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: naesten <at> gmail.com Cc: 17836 <at> debbugs.gnu.org Subject: Re: bug#17836: 24.3; `describe-fontset' confused about e.g. ?\C-@ Date: Mon, 23 Jun 2014 19:39:43 +0300
> Date: Mon, 23 Jun 2014 19:17:01 +0300 > From: Eli Zaretskii <eliz <at> gnu.org> > Cc: 17836 <at> debbugs.gnu.org > > > From: Samuel Bronson <naesten <at> gmail.com> > > Date: Sun, 22 Jun 2014 21:57:07 -0400 > > > > Fontset: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-fontset-xterm.default > > CHAR RANGE (CODE RANGE) > > FONT NAME (REQUESTED and [OPENED]) > > C-@ .. � (#x43 .. #x10FFFF) > > -Misc-Fixed-medium-r-semicondensed--13-*-75-75-c-120-ISO10646-1 > > --8<---------------cut here---------------end--------------->8--- > > > > Notice how #x43 is NOT a representation of `?\C-@' but, in fact, of > > `?C'? > > That's because print-fontset-element does this: > > (beginning-of-line) > (let ((from (following-char)) > > IOW, it assumes that there's a single character there, not a > human-readable description of a character, such as "C-@". > > How about submitting a patch that uses 'kbd', say? Or maybe describe-vector should accept 2 more arguments and pass it to print-fontset-element.
bug-gnu-emacs <at> gnu.org
:bug#17836
; Package emacs
.
(Sun, 03 Nov 2019 16:35:01 GMT) Full text and rfc822 format available.Message #14 received at 17836 <at> debbugs.gnu.org (full text, mbox):
From: Lars Ingebrigtsen <larsi <at> gnus.org> To: Samuel Bronson <naesten <at> gmail.com> Cc: 17836 <at> debbugs.gnu.org Subject: Re: bug#17836: 24.3; `describe-fontset' confused about e.g. ?\C-@ Date: Sun, 03 Nov 2019 17:34:39 +0100
Samuel Bronson <naesten <at> gmail.com> writes: > When I use `describe-fontset', I get output that starts out something > like: > > Fontset: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-fontset-xterm.default > CHAR RANGE (CODE RANGE) > FONT NAME (REQUESTED and [OPENED]) > C-@ .. � (#x43 .. #x10FFFF) > -Misc-Fixed-medium-r-semicondensed--13-*-75-75-c-120-ISO10646-1 > > Notice how #x43 is NOT a representation of `?\C-@' but, in fact, of > `?C'? That's fairly strange bug. (Why would you try to extract the > codepoints AFTER formatting the range as a string ...?) Weirdly enough, I'm not able to reproduce this bug reliably. Sometimes I get Fontset: -PfEd-DejaVu Sans Mono-normal-normal-normal-*-25-*-*-*-m-0-fontset-startup CHAR RANGE (CODE RANGE) FONT NAME (REQUESTED and [OPENED]) C-@ .. DEL -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1 (i.e., without the hex range) and sometimes I get Fontset: -PfEd-DejaVu Sans Mono-normal-normal-normal-*-25-*-*-*-m-0-fontset-startup CHAR RANGE (CODE RANGE) FONT NAME (REQUESTED and [OPENED]) C-@ .. <REMOVED> (#x43 .. #x3FFF7F) -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1 Hm... Oh, the first time I run the command in a fresh Emacs, I get the latter? Perhaps displaying the buffer loaded a bunch of fonts that then made this first (large) range go away? Anyway, it seems like this bug is still present in Emacs 27, and there's possibly a new bug, too, with not displaying the hex values in some instances. Eli did pinpoint what the reason for the original bug was, though: > That's because print-fontset-element does this: > > (beginning-of-line) > (let ((from (following-char)) > > IOW, it assumes that there's a single character there, not a > human-readable description of a character, such as "C-@". > > How about submitting a patch that uses 'kbd', say? I'll take a whack at implementing that. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs <at> gnu.org
:bug#17836
; Package emacs
.
(Fri, 20 Aug 2021 14:37:02 GMT) Full text and rfc822 format available.Message #17 received at 17836 <at> debbugs.gnu.org (full text, mbox):
From: Lars Ingebrigtsen <larsi <at> gnus.org> To: Samuel Bronson <naesten <at> gmail.com> Cc: 17836 <at> debbugs.gnu.org Subject: Re: bug#17836: 24.3; `describe-fontset' confused about e.g. ?\C-@ Date: Fri, 20 Aug 2021 16:36:29 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes: > Anyway, it seems like this bug is still present in Emacs 27, and there's > possibly a new bug, too, with not displaying the hex values in some > instances. No, I think that's apparently OK... > Eli did pinpoint what the reason for the original bug was, though: > >> That's because print-fontset-element does this: >> >> (beginning-of-line) >> (let ((from (following-char)) >> >> IOW, it assumes that there's a single character there, not a >> human-readable description of a character, such as "C-@". >> >> How about submitting a patch that uses 'kbd', say? > > I'll take a whack at implementing that. Now pushed to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
Lars Ingebrigtsen <larsi <at> gnus.org>
to control <at> debbugs.gnu.org
.
(Fri, 20 Aug 2021 14:37:02 GMT) Full text and rfc822 format available.Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Sat, 18 Sep 2021 11:24:06 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.