all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Trying coccinelle
Date: Fri, 22 Jun 2012 15:40:49 +0900	[thread overview]
Message-ID: <874nq3c0i6.fsf@catnip.gol.com> (raw)
In-Reply-To: <4FE40955.1030105@yandex.ru> (Dmitry Antipov's message of "Fri, 22 Jun 2012 09:57:41 +0400")

Dmitry Antipov <dmantipov@yandex.ru> writes:
> -  struct buffer *buf = current_buffer;
> +  struct buffer *buf = buffer_or_current (buffer);
>    struct buffer *old = buf;
>
> -  if (! NILP (buffer))
> -    {
> -      CHECK_BUFFER (buffer);
> -      buf = XBUFFER (buffer);
> -    }
> -

The new code is not equivalent when BUFFER isn't nil or the current
buffer...

-miles

-- 
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over.  --Ian Wolff



  reply	other threads:[~2012-06-22  6:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18 16:44 Trying coccinelle Dmitry Antipov
2012-06-18 19:47 ` Aurélien Aptel
2012-06-18 20:33 ` Stefan Monnier
2012-06-19  4:27   ` Dmitry Antipov
2012-06-19 13:31     ` Stefan Monnier
2012-06-22  5:57       ` Dmitry Antipov
2012-06-22  6:40         ` Miles Bader [this message]
2012-06-22 10:22         ` martin rudalics
2012-06-22 19:02         ` Stefan Monnier
2012-06-24 16:20           ` Dmitry Antipov
2012-06-24 18:59             ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=874nq3c0i6.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=dmantipov@yandex.ru \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.