From: MATSUYAMA Tomohiro <matsuyama@ariel-networks.com>
To: schwab@suse.de
Cc: matsuyama3@ariel-networks.com, emacs-devel@gnu.org
Subject: Re: set-process-filter-multibyte doesn't work well
Date: Mon, 10 Mar 2008 11:37:03 +0900 (JST) [thread overview]
Message-ID: <20080310.113703.398567408203063630.matsuyama@ariel-networks.com> (raw)
In-Reply-To: <je7igdqkxn.fsf@sykes.suse.de>
From: Andreas Schwab <schwab@suse.de>
Subject: Re: set-process-filter-multibyte doesn't work well
Date: Sat, 08 Mar 2008 16:45:08 +0100
> MATSUYAMA Tomohiro <matsuyama3@ariel-networks.com> 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
prev parent reply other threads:[~2008-03-10 2:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-08 13:51 set-process-filter-multibyte doesn't work well MATSUYAMA Tomohiro
2008-03-08 15:45 ` Andreas Schwab
2008-03-08 20:57 ` Stefan Monnier
2008-03-10 2:37 ` MATSUYAMA Tomohiro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080310.113703.398567408203063630.matsuyama@ariel-networks.com \
--to=matsuyama@ariel-networks.com \
--cc=emacs-devel@gnu.org \
--cc=matsuyama3@ariel-networks.com \
--cc=schwab@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.