unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Emacs discussions <emacs-devel@gnu.org>
Subject: Heads up: rewriting `struct kboard'
Date: Wed, 16 Feb 2011 09:29:11 -0700	[thread overview]
Message-ID: <m3oc6c54fc.fsf@fleche.redhat.com> (raw)

I am going to check in my `struct kboard' patch now.
This may break the build on some platforms.

It is very similar to the `struct buffer' patch.
It rewrites references to Lisp-visible fields of `struct kboard'
to use a new macro, KVAR.  The fields are renamed to prevent old-style
accesses.

As with the `struct buffer' patch, the fix for any given breakage is
simple: turn `kbd->field' into `KVAR (kbd, field)'.  Please do not
directly use KBOARD_INTERNAL_FIELD.

I wrote this patch using a hacked copy of the script I used for struct
buffer.  I can send it to anybody who is interested.

I think this is the last infrastructure patch that I need on the trunk.
Next I plan to make a new concurrency branch and start importing
relevant patches there.

Tom



                 reply	other threads:[~2011-02-16 16:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3oc6c54fc.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).