Gnus development mailing list
 help / color / mirror / Atom feed
* Error in current CVS, last-coding-system-used
@ 2003-04-06  8:12 Norbert Koch
  2003-04-06 12:51 ` Jesper Harder
  0 siblings, 1 reply; 4+ messages in thread
From: Norbert Koch @ 2003-04-06  8:12 UTC (permalink / raw)
  Cc: Ding Mailing List

Hi Jesper,

Your commit 

2003-04-06  Jesper Harder  <harder@ifa.au.dk>

	* mm-bodies.el (mm-decode-body): Set buffer-file-coding-system to
	last-coding-system-used.

break things for me:

Signaling: (void-variable last-coding-system-used)
  mm-decode-body(nil nil nil nil)
  article-decode-charset()
  run-hooks(article-decode-charset)
  gnus-request-article-this-buffer(53949 "nnml:bsd-cvs")
  gnus-article-prepare(53949 nil)
  gnus-summary-display-article(53949 nil)
  gnus-summary-select-article(nil nil pseudo)
  gnus-summary-scroll-up(1)
  call-interactively(gnus-summary-scroll-up)

on my 21.4 (patch 12) "Portable Code" XEmacs Lucid.  Is it just me or
slipped something by? 

Thanks,
norbert.



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

* Re: Error in current CVS, last-coding-system-used
  2003-04-06  8:12 Error in current CVS, last-coding-system-used Norbert Koch
@ 2003-04-06 12:51 ` Jesper Harder
  2003-04-06 13:28   ` Mark Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Jesper Harder @ 2003-04-06 12:51 UTC (permalink / raw)


Norbert Koch <nk@viteno.net> writes:

> Your commit 
>
> 2003-04-06  Jesper Harder  <harder@ifa.au.dk>
>
> 	* mm-bodies.el (mm-decode-body): Set buffer-file-coding-system to
> 	last-coding-system-used.

> on my 21.4 (patch 12) "Portable Code" XEmacs Lucid.  Is it just me or
> slipped something by? 

Fixed.  GNU Emacs sets `last-coding-system-used' after decoding unibyte
text, but XEmacs doesn't.



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

* Re: Error in current CVS, last-coding-system-used
  2003-04-06 12:51 ` Jesper Harder
@ 2003-04-06 13:28   ` Mark Thomas
  2003-04-07  5:03     ` Norbert Koch
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Thomas @ 2003-04-06 13:28 UTC (permalink / raw)


Jesper Harder <harder@myrealbox.com> writes:

>> 	* mm-bodies.el (mm-decode-body): Set buffer-file-coding-system to
>> 	last-coding-system-used.
>
> Fixed.

No, it isn't.  Your patch is missing a ':

Index: lisp/mm-bodies.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mm-bodies.el,v
retrieving revision 6.19
diff -u -r6.19 mm-bodies.el
--- lisp/mm-bodies.el   6 Apr 2003 12:17:24 -0000       6.19
+++ lisp/mm-bodies.el   6 Apr 2003 13:26:30 -0000
@@ -278,7 +278,7 @@
            (mm-decode-coding-region-safely (point-min) (point-max)
                                            coding-system)))
        (setq buffer-file-coding-system
-             (if (boundp last-coding-system-used)
+             (if (boundp 'last-coding-system-used)
                  last-coding-system-used
                coding-system))))))
 



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

* Re: Error in current CVS, last-coding-system-used
  2003-04-06 13:28   ` Mark Thomas
@ 2003-04-07  5:03     ` Norbert Koch
  0 siblings, 0 replies; 4+ messages in thread
From: Norbert Koch @ 2003-04-07  5:03 UTC (permalink / raw)


Mark Thomas <swoon@bellatlantic.net> writes:

> Jesper Harder <harder@myrealbox.com> writes:
>
>>> 	* mm-bodies.el (mm-decode-body): Set buffer-file-coding-system to
>>> 	last-coding-system-used.
>>
>> Fixed.
>
> No, it isn't.  Your patch is missing a ':

Thanks for fixing this,
norbert.



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

end of thread, other threads:[~2003-04-07  5:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-06  8:12 Error in current CVS, last-coding-system-used Norbert Koch
2003-04-06 12:51 ` Jesper Harder
2003-04-06 13:28   ` Mark Thomas
2003-04-07  5:03     ` Norbert Koch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).