GNU bug report logs - #12215
CSET is unnecessarily confusing

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Fri, 17 Aug 2012 00:14:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: Dmitry Antipov <dmantipov <at> yandex.ru>, 12215 <at> debbugs.gnu.org
Subject: bug#12215: CSET is unnecessarily confusing
Date: Tue, 21 Aug 2012 20:25:15 -0700
On 08/21/2012 09:55 AM, Stefan Monnier wrote:
> CSET (XCHAR_TABLE (char_table), ->parent, parent);

That does avoid the ambiguity but it's pretty weird.

How about something like this instead?

  cset (XCHAR_TABLE (char_table), cset_parent, parent);

where cset_parent is an offset into the structure, or
is a member of a simple enumeration, whichever seems
cleaner.  This would be functional and relatively
straightforward.




This bug report was last modified 12 years and 329 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.