GNU bug report logs - #5233
non-ascii docstrings and byte-compile-dynamic-docstrings: nil

Previous Next

Package: emacs;

Reported by: Michael_Heerdegen <at> web.de

Date: Wed, 16 Dec 2009 18:20:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.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 5233 in the body.
You can then email your comments to 5233 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


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5233; Package emacs. (Wed, 16 Dec 2009 18:20:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael_Heerdegen <at> web.de:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 16 Dec 2009 18:20:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael_Heerdegen <at> web.de
To: bug-gnu-emacs <at> gnu.org
Subject: non-ascii docstrings and byte-compile-dynamic-docstrings: nil
Date: Wed, 16 Dec 2009 19:11:52 +0100
Hello,

suppose you have a file consisting of the following two lines:


;; -*- byte-compile-dynamic-docstrings: nil -*-
(defvar testvar nil "This docstring includes non-ascii letters like =8e4.")


Byte compile it (e.g. from dired with B). It fails with the following
message:


comp-test.el:2:73:Error: Search failed: "19\\(\\.[0-9]+\\)"


I can reproduce this also with Emacs 23.


In GNU Emacs 22.3.1 (i486-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-03-31 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--build=i486-linux-gnu' '--host=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/emacs22:/etc/emacs:/usr/local/share/emacs/22.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.3/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.3/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: de_DE.utf8
  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: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
("emacs" "-Q")
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5233; Package emacs. (Fri, 01 Jan 2010 22:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 5233 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Michael_Heerdegen <at> web.de
Cc: 5233 <at> debbugs.gnu.org
Subject: Re: non-ascii docstrings and byte-compile-dynamic-docstrings: nil
Date: Fri, 01 Jan 2010 17:04:55 -0500
> suppose you have a file consisting of the following two lines:

> ;; -*- byte-compile-dynamic-docstrings: nil -*-
> (defvar testvar nil "This docstring includes non-ascii letters like =8e4.")

> Byte compile it (e.g. from dired with B). It fails with the following
> message:

> comp-test.el:2:73:Error: Search failed: "19\\(\\.[0-9]+\\)"

> I can reproduce this also with Emacs 23.

I'm afraid I can't reproduce this with Emacs 23, using non-ASCII
characters from the HELLO file.  What is this comp-test.el file?  It's
not included in the normal Emacs distribution---is it your own file?




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 05 Jan 2010 23:19:01 GMT) Full text and rfc822 format available.

Notification sent to Michael_Heerdegen <at> web.de:
bug acknowledged by developer. (Tue, 05 Jan 2010 23:19:01 GMT) Full text and rfc822 format available.

Message #13 received at 5233-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 5233-done <at> debbugs.gnu.org
Subject: Re: bug#5233: non-ascii docstrings and
	byte-compile-dynamic-docstrings: nil
Date: Tue, 05 Jan 2010 18:18:11 -0500
Chong Yidong wrote:

> I'm afraid I can't reproduce this with Emacs 23, using non-ASCII
> characters from the HELLO file.  What is this comp-test.el file?  It's
> not included in the normal Emacs distribution---is it your own file?

You can use eg calendar/cal-bahai.el from the distribution, just add
the byte-compile-dynamic-docstrings cookie at the end of the file.

Anyway, this was unintentionally fixed in the current trunk by the
recent simplification of byte-compile-fix-header.




bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Feb 2010 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.