emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#5692: marked as done (rfc822-addresses returns a


From: Emacs bug Tracking System
Subject: [Emacs-bug-tracker] bug#5692: marked as done (rfc822-addresses returns a string on occasion)
Date: Sun, 07 Mar 2010 17:38:01 +0000

Your message dated Sun, 07 Mar 2010 18:37:16 +0100
with message-id <address@hidden>
and subject line Re: bug#5692: rfc822-addresses returns a string on occasion
has caused the Emacs bug report #5692,
regarding rfc822-addresses returns a string on occasion
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 address@hidden
immediately.)


-- 
5692: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5692
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: rfc822-addresses returns a string on occasion Date: Sun, 07 Mar 2010 15:24:14 +0000
A change made to rfc822.el in Emacs 23.1 seems to have introduced a
bug.  As the following calls illustrate, the function rfc822-addresses
normally returns a list of strings, but in the last case it is
returning a string.  This problem was not present in 22.3.

(rfc822-addresses "address@hidden")
("address@hidden")

(rfc822-addresses "foo:@bar")
("(Unparsable address -- Gubbish in middle of :...; group: 
\"foo:address@hidden")")

(rfc822-addresses "foo:;@bar")
"(Unparsable address -- Strange character \\@ found: \"@_^_bar\")"

------

More generally, it is not clear to me why rfc822-addresses is
returning strings instead of throwing errors when it finds bad address
strings.  From the code in VM, it appears that it was originally
expected to throw errors.  But that has changed sometime in the course
of revisions.

Cheers,
Uday

---------


In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
 of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

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: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: VM Presentation

Minor modes in effect:
  shell-dirtrack-mode: t
  savehist-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> 
<down-mouse-1> <mouse-1> <wheel-up> <down-mouse-1> 
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> 
<down-mouse-1> <mouse-movement> <mouse-1> <down-mouse-1> 
<mouse-1> <switch-frame> <down-mouse-1> <mouse-movement> 
<mouse-1> <switch-frame> <down-mouse-1> <mouse-movement> 
<mouse-1> C-x b <return> <escape> C-a C-v C-v C-v C-v 
C-s a d d r e s s e s C-s C-a <escape> C-x C-x C-g 
M-x d e b u g e e <backspace> <backspace> g e r - e 
s SPC <return> <switch-frame> <down-mouse-1> <mouse-movement> 
<mouse-1> C-x c C-g q M-x f o l d e r <return> <return> 
c c c c V C r e c i SPC <return> f o o <return> c c 
d d c d d c d d d c d c d c d c c c c <switch-frame> 
<down-mouse-1> <mouse-movement> <mouse-1> <wheel-down> 
<double-wheel-down> <wheel-down> <wheel-down> <wheel-down> 
<wheel-down> <wheel-up> <switch-frame> <down-mouse-1> 
<mouse-movement> <mouse-1> q V C r e c i SPC <return> 
f o o <return> c c d d c d d c d d d c d c d c d c 
d c d d c d d c d d c d d c d c d d d c d d c d c d 
c c c d d d d d c d c d c <switch-frame> <down-mouse-1> 
<mouse-movement> <mouse-1> <wheel-down> <down-mouse-1> 
<mouse-1> <switch-frame> <down-mouse-1> <mouse-movement> 
<mouse-1> d d c d c d d d c d c c d d d c d c d d c 
c c c c c c c c c c c c <switch-frame> <down-mouse-1> 
<mouse-movement> <mouse-1> SPC SPC SPC <backspace> 
C-x o C-n C-n C-p C-p C-p C-p C-p C-p C-n C-SPC C-n 
C-n C-n C-n C-n C-n C-n C-n C-x C-k M-x r e p o SPC 
r t - e m a c s SPC SPC <return>

Recent messages:
Continuing.
Entering debugger...
Continuing.
Entering debugger...
Continuing.
No messages. [3 times]
Decoding MIME message... done
Mark set
Making completion list...
Loading emacsbug...done




--- End Message ---
--- Begin Message --- Subject: Re: bug#5692: rfc822-addresses returns a string on occasion Date: Sun, 07 Mar 2010 18:37:16 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux)
Uday S Reddy <address@hidden> writes:

> (rfc822-addresses "foo:;@bar")
> "(Unparsable address -- Strange character \\@ found: \"@_^_bar\")"

Thanks, I've checked in a fix.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]