[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDB on Mac is Broken
From: |
Eli Zaretskii |
Subject: |
Re: GDB on Mac is Broken |
Date: |
Sat, 13 Mar 2010 18:50:54 +0200 |
> From: Leo <address@hidden>
> Date: Sat, 13 Mar 2010 16:03:14 +0000
>
> Another oddity to this is if I change the process coding system
> interactively by C-x RET p and give 'utf-8 for both values, the
> completion will work because the coding is now:
>
> (utf-8 . utf-8-unix)
>
> but doing it in elisp as this:
>
> (add-hook 'gud-mode-hook
> (lambda ()
> (set-buffer-process-coding-system 'utf-8 'utf-8)))
>
> fails.
I think that's not an oddity, but expected behavior: you cannot call
set-buffer-process-coding-system in a mode hook, because that's not
the right moment for setting how process I/O will be decoded.
Re: GDB on Mac is Broken, Miles Bader, 2010/03/12
- Re: GDB on Mac is Broken, Eli Zaretskii, 2010/03/13
- Re: GDB on Mac is Broken, Miles Bader, 2010/03/13
- Re: GDB on Mac is Broken, Eli Zaretskii, 2010/03/13
- Re: GDB on Mac is Broken, Stefan Monnier, 2010/03/13
- Re: GDB on Mac is Broken, Leo, 2010/03/13
- Re: GDB on Mac is Broken, Miles Bader, 2010/03/13
- Re: GDB on Mac is Broken, Andreas Schwab, 2010/03/14
- Re: GDB on Mac is Broken, Eli Zaretskii, 2010/03/14