unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: safe_call1 considered harmful
Date: Mon, 24 Jul 2006 10:44:10 +0900	[thread overview]
Message-ID: <E1G4pUQ-00062s-00@etlken> (raw)
In-Reply-To: <E1G40o4-0007uN-FH@fencepost.gnu.org> (message from Richard Stallman on Fri, 21 Jul 2006 15:37:04 -0400)

In article <E1G40o4-0007uN-FH@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> writes:

>     But, by considering this problem again, I found another
>     solution than calling find-operation-coding-system with
>     (FILENAME . BUFFER).  That is to provide an extra argument
>     BUFFER.

> Would you please be more concrete?  Passing an extra argument to a set
> of functions is very incompatible.

find-operation-coding-system calls a registered function
with a single argument; a list of arguments given to
find-operation-coding-system.  So, appending an extra
argument at the tail of the list is fairly safe.

---
Kenichi Handa
handa@m17n.org

  reply	other threads:[~2006-07-24  1:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-21  9:36 safe_call1 considered harmful Eli Zaretskii
2006-07-21 11:34 ` Kenichi Handa
2006-07-21 15:49   ` Eli Zaretskii
2006-07-24  1:36     ` Kenichi Handa
2006-07-29 11:00       ` Eli Zaretskii
2006-07-31  3:04         ` Kenichi Handa
2006-07-21 19:37   ` Richard Stallman
2006-07-24  1:44     ` Kenichi Handa [this message]
2006-07-24 18:22       ` Richard Stallman
2006-07-30  9:18         ` Kenichi Handa
2006-07-31  4:38           ` Richard Stallman
2006-07-31  5:14             ` Kenichi Handa
2006-07-31 22:16               ` Richard Stallman
2006-08-01  0:50                 ` Kenichi Handa

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=E1G4pUQ-00062s-00@etlken \
    --to=handa@m17n.org \
    --cc=eliz@gnu.org \
    --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).