Gnus development mailing list
 help / color / mirror / Atom feed
* enable-multibyte-characters
@ 1999-06-28  8:46 Didier Verna
  1999-06-28 12:47 ` enable-multibyte-characters William M. Perry
  0 siblings, 1 reply; 5+ messages in thread
From: Didier Verna @ 1999-06-28  8:46 UTC (permalink / raw)
  Cc: Gnus Beta Testers


        I've found the origin of my 'enable-multibyte-characters[1] problem
(it was set to nil from time to time with no apparent reason). It happens when
using the picons + network stuff. The function 'mule-inhibit-code-conversion
(from mule-sysdp.el in the w3 package) contains the following code:


 ,----
|   (if (process-buffer proc)                        
|       (save-excursion                              
|         (set-buffer (process-buffer proc))         
|         (set 'mc-flag nil)                         
|         (if (fboundp 'set-buffer-multibyte)        
|             (set-buffer-multibyte nil)             
|           (set 'enable-multibyte-characters nil))))
`-----

I guess 'enable-multibyte-characters should be made buffer local first.
Bill ?


Footnotes: 
[1]  Steve, this is a good example of why it's really bad to have this
meaningless variable in XEmacs.

-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /     ENST, INFRES C201.1       mailto:verna@inf.enst.fr
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   +33 (1) 45 81 73 46
                       75013 Paris, France      Fax.   +33 (1) 45 81 31 19


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

* Re: enable-multibyte-characters
  1999-06-28  8:46 enable-multibyte-characters Didier Verna
@ 1999-06-28 12:47 ` William M. Perry
  1999-06-28 13:26   ` enable-multibyte-characters Didier Verna
  0 siblings, 1 reply; 5+ messages in thread
From: William M. Perry @ 1999-06-28 12:47 UTC (permalink / raw)


Didier Verna <verna@inf.enst.fr> writes:

> I've found the origin of my 'enable-multibyte-characters[1] problem (it
> was set to nil from time to time with no apparent reason). It happens
> when using the picons + network stuff. The function
> 'mule-inhibit-code-conversion (from mule-sysdp.el in the w3 package)
> contains the following code:
> 
>  ,----
> |   (if (process-buffer proc)                        
> |       (save-excursion                              
> |         (set-buffer (process-buffer proc))         
> |         (set 'mc-flag nil)                         
> |         (if (fboundp 'set-buffer-multibyte)        
> |             (set-buffer-multibyte nil)             
> |           (set 'enable-multibyte-characters nil))))
> `-----
> 
> I guess 'enable-multibyte-characters should be made buffer local first.
> Bill ?

enable-multibyte-characters is _supposed_ to be buffer-local.  It has
always been that way in Emacs, as far as I know.

> Footnotes: 
> [1]  Steve, this is a good example of why it's really bad to have this
> meaningless variable in XEmacs.

Agreed. :)

-bp


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

* Re: enable-multibyte-characters
  1999-06-28 12:47 ` enable-multibyte-characters William M. Perry
@ 1999-06-28 13:26   ` Didier Verna
  1999-06-29 21:39     ` enable-multibyte-characters William M. Perry
  0 siblings, 1 reply; 5+ messages in thread
From: Didier Verna @ 1999-06-28 13:26 UTC (permalink / raw)
  Cc: Gnus Beta Testers

wmperry@aventail.com (William M. Perry) writes:

> > Footnotes: 
> > [1]  Steve, this is a good example of why it's really bad to have this
> > meaningless variable in XEmacs.
> 
> Agreed. :)


        So, I guess the best workaround would be for mule-sysdp.el NOT to
touch this variable at all when running XEmacs. OK ? ;-)

-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /     ENST, INFRES C201.1       mailto:verna@inf.enst.fr
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   +33 (1) 45 81 73 46
                       75013 Paris, France      Fax.   +33 (1) 45 81 31 19


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

* Re: enable-multibyte-characters
  1999-06-28 13:26   ` enable-multibyte-characters Didier Verna
@ 1999-06-29 21:39     ` William M. Perry
  1999-07-01  7:56       ` enable-multibyte-characters Didier Verna
  0 siblings, 1 reply; 5+ messages in thread
From: William M. Perry @ 1999-06-29 21:39 UTC (permalink / raw)


Didier Verna <verna@inf.enst.fr> writes:

> wmperry@aventail.com (William M. Perry) writes:
> 
> > > Footnotes: 
> > > [1]  Steve, this is a good example of why it's really bad to have this
> > > meaningless variable in XEmacs.
> > 
> > Agreed. :)
> 
> 
> So, I guess the best workaround would be for mule-sysdp.el NOT to touch
> this variable at all when running XEmacs. OK ? ;-)

Does it do anything in XEmacs?  Or is it just there for compatiblity?  We
need to make sure the net connection is in raw binary mode.

-bp


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

* Re: enable-multibyte-characters
  1999-06-29 21:39     ` enable-multibyte-characters William M. Perry
@ 1999-07-01  7:56       ` Didier Verna
  0 siblings, 0 replies; 5+ messages in thread
From: Didier Verna @ 1999-07-01  7:56 UTC (permalink / raw)
  Cc: Gnus Beta Testers

wmperry@aventail.com (William M. Perry) writes:

> Does it do anything in XEmacs?  Or is it just there for compatiblity?  We
> need to make sure the net connection is in raw binary mode.

        It doesn't do anything (appart from breaking code that beleive it's
there for good reasons). It's just here for compatibility with GNU Emacs.

        We had a discussion about this on xemacs-review. I and Hrvoje are for
simply removing it. Steve introduced it first and I don't think I've yet
convinced him that it's bad to have this variable around.

        What's sure however is that code that's supposed to be compatible with 
the two flavors of Emacs shouldn't even be aware of its eXistenZ under XEmacs.

-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /     ENST, INFRES C201.1       mailto:verna@inf.enst.fr
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   +33 (1) 45 81 73 46
                       75013 Paris, France      Fax.   +33 (1) 45 81 31 19


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

end of thread, other threads:[~1999-07-01  7:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-28  8:46 enable-multibyte-characters Didier Verna
1999-06-28 12:47 ` enable-multibyte-characters William M. Perry
1999-06-28 13:26   ` enable-multibyte-characters Didier Verna
1999-06-29 21:39     ` enable-multibyte-characters William M. Perry
1999-07-01  7:56       ` enable-multibyte-characters Didier Verna

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).