all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 19634@debbugs.gnu.org, eggert@cs.ucla.edu
Subject: bug#19634: counting MANY function args more reliably
Date: Thu, 22 Jan 2015 18:31:21 +0200	[thread overview]
Message-ID: <83k30evkti.fsf@gnu.org> (raw)
In-Reply-To: <jwvwq4hz9vb.fsf-monnier+emacsbugs@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Tue, 20 Jan 2015 11:37:39 -0500
> Cc: 19634@debbugs.gnu.org
> 
> > #define CALLN(f, ...) CALLMANY (f, ((Lisp_Object []) {__VA_ARGS__}))
> 
> I like that,

Do we want to use this for every call to a function that accepts MANY
args, or just those where the argument is an array?

I'm asking because the proposed patch left out this part of w32fns.c:

  static Lisp_Object
  x_create_tip_frame (struct w32_display_info *dpyinfo,
		      Lisp_Object parms, Lisp_Object text)
  {
    [...]
    Ferase_buffer ();
    Finsert (1, &text);  <<<<<<<<<<<<<<<<<<<<<<

and I'm not sure whether this was just an omission or this kind of
calls doesn't need to use CALLN.





  reply	other threads:[~2015-01-22 16:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20  9:26 bug#19634: counting MANY function args more reliably Paul Eggert
2015-01-20 16:37 ` Stefan Monnier
2015-01-22 16:31   ` Eli Zaretskii [this message]
2015-01-22 17:42     ` Paul Eggert
2015-01-22 18:16       ` Eli Zaretskii
2015-01-25 17:15   ` Paul Eggert

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=83k30evkti.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19634@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=monnier@iro.umontreal.ca \
    /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.