[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set-process-filter-multibyte doesn't work well
From: |
MATSUYAMA Tomohiro |
Subject: |
Re: set-process-filter-multibyte doesn't work well |
Date: |
Mon, 10 Mar 2008 11:37:03 +0900 (JST) |
From: Andreas Schwab <address@hidden>
Subject: Re: set-process-filter-multibyte doesn't work well
Date: Sat, 08 Mar 2008 16:45:08 +0100
> MATSUYAMA Tomohiro <address@hidden> writes:
>
> > (require 'comint)
> > (make-comint "jdb" "jdb")
> > (setq proc (get-process "jdb"))
> > (set-process-filter-multibyte proc t)
> > (process-filter-multibyte-p proc) ;; => nil
> >
> > I don't understand what happened in Fset_process_filter_multibyte :-(
> >
> > CHECK_PROCESS (process);
> > p = XPROCESS (process);
> > p->filter_multibyte = !NILP (flag);
> > + printf("%d %d\n", !NILP (flag), p->filter_multibyte); /* 1 0 */
> > setup_process_coding_systems (process);
>
> Does this patch help? Bitfields declared as int can be either signed or
> unsigned, and signed one-bit fields are not particular useful.
It seemed to be fixed and also displaying japanese via comint has worked
correctly.
Thanks.
Matsuyama