unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Eric M. Ludlam" <eric@siege-engine.com>
Cc: Lluís <xscript@gmx.net>, emacs-devel@gnu.org
Subject: Re: called-interactively-p, cedet, and Emacs 23.1 and earlier
Date: Sat, 27 Mar 2010 14:18:29 -0400	[thread overview]
Message-ID: <jwvvdch1vjl.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4BAE120C.7090709@siege-engine.com> (Eric M. Ludlam's message of "Sat, 27 Mar 2010 10:11:24 -0400")

> Anyway, that makes it obvious why Stefan used a macro before.

;-)

> Does anyone know of a way to solve this, or do I need to maintain this
> difference in my code?

Sorry for not posting more concrete code earlier (it has several other
bugs, such as not evaluating the arg), but I think the solution is
pretty much what I suggested, except you need to use
cedet-called-interactively-p everywhere and have it macro-expand to
either interactive-p or called-interactively-p with or without args
depending on what's available.


        Stefan




  reply	other threads:[~2010-03-27 18:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24 16:45 called-interactively-p, cedet, and Emacs 23.1 and earlier Eric M. Ludlam
2010-03-24 17:51 ` Stefan Monnier
2010-03-25 14:33   ` Lluís
2010-03-25 23:16   ` Eric M. Ludlam
2010-03-26 15:33     ` Davis Herring
2010-03-26 16:06       ` Eric M. Ludlam
2010-03-27 14:11         ` Eric M. Ludlam
2010-03-27 18:18           ` Stefan Monnier [this message]
2010-04-26 15:28             ` Bruce Stephens
2010-04-26 17:58               ` Stefan Monnier
2010-04-26 18:27                 ` Bruce Stephens
2010-04-27  3:08                   ` Stefan Monnier
2010-04-27 11:22                     ` Bruce Stephens
2010-04-27 13:56                       ` Stefan Monnier
2010-03-24 17:53 ` Stephen J. Turnbull

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=jwvvdch1vjl.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=eric@siege-engine.com \
    --cc=xscript@gmx.net \
    /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).