[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: termios tab expansion on darwin

From: Emanuele Giaquinta
Subject: Re: termios tab expansion on darwin
Date: Mon, 20 Oct 2008 22:53:44 +0200

On Tue, Jul 08, 2008 at 01:08:42AM +0200, Emanuele Giaquinta wrote:

> the os headers in src/s/ for *BSD and darwin define TAB3 to OXTABS,
> which is the equivalent of TAB3 on those systems to control tab
> expansion. On darwin-8 sys/termios.h defines TAB3 though (to a no-op
> flag it seems), and since sysdep.c includes config.h (which includes
> the os header in s/) before sys/termios.h, TAB3 is redefined (as
> it can be seen using -Wsystem-headers) to the no-op flag. The effect
> is that tab expansion is not disabled, so if it is originally active
> for the terminal from which emacs is started (which is the case for
> xterm) it will cause cursor movements performed with tabs to corrupt
> the display. The attached patch fixes it, not sure if it is the best
> approach though.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]