all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 23.0.60; Infinite loop in encode-coding-string (utf-7-imap)
@ 2008-04-28 10:51 ` espen.wiborg
  2008-05-29 22:05   ` bug#162: marked as done (23.0.60; Infinite loop in encode-coding-string (utf-7-imap)) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: espen.wiborg @ 2008-04-28 10:51 UTC (permalink / raw)
  To: emacs-pretest-bug

Trying to encode a string including an ampersand to utf-7-imap has
emacs trying to produce an infinite number of copies of the string
"&-".

Simplest reproducing case:

(encode-coding-string "&" 'utf-7-imap)

Plain 'utf-7 works fine, as does decoding "&-" from utf-7-imap.

I have also tested this with a CVS version from ~7 days ago, with the
same result.


In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2008-03-19 on vernadsky, modified by Debian
 (emacs-snapshot package, version 1:20080228-1ubuntu1)
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.60/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

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.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-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
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r t - e m <tab> <return>

Recent messages:
Loading /etc/emacs/site-start.d/54jde.el (source)...done
Loading /etc/emacs/site-start.d/55ecb.el (source)...done
Loading /etc/emacs-snapshot/site-start.d/60nxml-mode.el (source)...
Loading /usr/share/emacs-snapshot/site-lisp/nxml-mode/rng-auto.el (source)...done
Loading /etc/emacs-snapshot/site-start.d/60nxml-mode.el (source)...done
Preparing diary...
No diary entries for Monday, April 28, 2008
Loading time...done
Loading avoid...done
For information about GNU Emacs and the GNU system, type C-h C-a.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#162: marked as done (23.0.60; Infinite loop in  encode-coding-string (utf-7-imap))
  2008-04-28 10:51 ` 23.0.60; Infinite loop in encode-coding-string (utf-7-imap) espen.wiborg
@ 2008-05-29 22:05   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2008-05-29 22:05 UTC (permalink / raw)
  To: Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]


Your message dated Thu, 29 May 2008 17:58:14 -0400
with message-id <jwvzlq893jk.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: Infinite loop in encode-coding-string (utf-7-imap)
has caused the Emacs bug report #162,
regarding 23.0.60; Infinite loop in encode-coding-string (utf-7-imap)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
162: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=162
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 7937 bytes --]

From: espen.wiborg@telio.no
To: emacs-pretest-bug@gnu.org
Cc: 
Subject: 23.0.60; Infinite loop in encode-coding-string (utf-7-imap)
Date: Mon, 28 Apr 2008 12:51:13 +0200
Message-ID: <87od7ujlr2.fsf@telio.no>

Trying to encode a string including an ampersand to utf-7-imap has
emacs trying to produce an infinite number of copies of the string
"&-".

Simplest reproducing case:

(encode-coding-string "&" 'utf-7-imap)

Plain 'utf-7 works fine, as does decoding "&-" from utf-7-imap.

I have also tested this with a CVS version from ~7 days ago, with the
same result.


In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2008-03-19 on vernadsky, modified by Debian
 (emacs-snapshot package, version 1:20080228-1ubuntu1)
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.60/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

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.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-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
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r t - e m <tab> <return>

Recent messages:
Loading /etc/emacs/site-start.d/54jde.el (source)...done
Loading /etc/emacs/site-start.d/55ecb.el (source)...done
Loading /etc/emacs-snapshot/site-start.d/60nxml-mode.el (source)...
Loading /usr/share/emacs-snapshot/site-lisp/nxml-mode/rng-auto.el (source)...done
Loading /etc/emacs-snapshot/site-start.d/60nxml-mode.el (source)...done
Preparing diary...
No diary entries for Monday, April 28, 2008
Loading time...done
Loading avoid...done
For information about GNU Emacs and the GNU system, type C-h C-a.




[-- Attachment #3: Type: message/rfc822, Size: 1160 bytes --]

From: Stefan Monnier <monnier@iro.umontreal.ca>
To: 162-done@emacsbugs.donarmstrong.com
Subject: Re: Infinite loop in encode-coding-string (utf-7-imap)
Date: Thu, 29 May 2008 17:58:14 -0400
Message-ID: <jwvzlq893jk.fsf-monnier+emacsbugreports@gnu.org>

Thank you, the patch is now installed in the CVS trunk.


        Stefan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-29 22:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <jwvzlq893jk.fsf-monnier+emacsbugreports@gnu.org>
2008-04-28 10:51 ` 23.0.60; Infinite loop in encode-coding-string (utf-7-imap) espen.wiborg
2008-05-29 22:05   ` bug#162: marked as done (23.0.60; Infinite loop in encode-coding-string (utf-7-imap)) Emacs bug Tracking System

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.