[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing `struct buffer' patch
From: |
Stefan Monnier |
Subject: |
Re: Installing `struct buffer' patch |
Date: |
Mon, 14 Feb 2011 12:36:24 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Chong> What do you think about replacing B_ with lots of individual macros,
Chong> like BUF_UNDO_LIST, BUF_NAME, etc.? This might be ugly in buffer.h, but
Chong> the rest of the code would be more understandable.
>> This is exactly what I did originally, but Stefan asked me to change it
>> to B_.
Yes, I like having a single macro and seeing the field name "as-is"
rather than "as part of a macro name, capitalized".
But I agree that B_ is not very satisfactory.
> How bout replacing B_ with something like BUFFER_VAR?
Sounds good. Or if we want something shorted, we can shorten BUFFER_VAR
to just BVAR (like we do for SDATA, ASIZE, ...).
Stefan
- Re: Patch for fields of `struct buffer', (continued)
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/02/11
- Re: Patch for fields of `struct buffer', Richard Stallman, 2011/02/12
- Installing `struct buffer' patch (Was: Patch for fields of `struct buffer'), Tom Tromey, 2011/02/13
- Re: Installing `struct buffer' patch, Chong Yidong, 2011/02/14
- Re: Installing `struct buffer' patch, Tom Tromey, 2011/02/14
- Re: Installing `struct buffer' patch, Chong Yidong, 2011/02/14
- Re: Installing `struct buffer' patch, Tom Tromey, 2011/02/14
- Re: Installing `struct buffer' patch,
Stefan Monnier <=
- Re: Installing `struct buffer' patch, Chong Yidong, 2011/02/15
- Re: Installing `struct buffer' patch, Tom Tromey, 2011/02/16
- Re: Installing `struct buffer' patch, Richard Stallman, 2011/02/15
- Re: Installing `struct buffer' patch, Glenn Morris, 2011/02/14
- Re: Installing `struct buffer' patch, Tom Tromey, 2011/02/15
Re: Patch for fields of `struct buffer', Daniel Colascione, 2011/02/01
Re: Patch for fields of `struct buffer', Daniel Colascione, 2011/02/01