all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: record_unwind_save_match_data in autocmp_chars
Date: Mon, 05 Oct 2009 09:42:19 +0900	[thread overview]
Message-ID: <tl71vlid638.fsf@m17n.org> (raw)
In-Reply-To: <83ab08q0bq.fsf@gnu.org> (message from Eli Zaretskii on Sat, 03 Oct 2009 11:43:53 +0200)

In article <83ab08q0bq.fsf@gnu.org>, Eli Zaretskii <eliz@gnu.org> writes:

> composite.c:autocmp_chars calls record_unwind_save_match_data before
> it starts looping on an element of composition-function-table.
> However, since the loop calls fast_looking_at, which is documented not
> to change match data, is the call to record_unwind_save_match_data
> really necessary?  If it is still necessary, what other functions
> called by autocmp_chars might clobber match data?

autocmp_chars calls the Lisp function auto-compose-chars via
safe_call, and auto-compose-chars calls Lisp functions
registered in composition-function-table.

---
Kenichi Handa
handa@m17n.org




      reply	other threads:[~2009-10-05  0:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-03  9:43 record_unwind_save_match_data in autocmp_chars Eli Zaretskii
2009-10-05  0:42 ` Kenichi Handa [this message]

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=tl71vlid638.fsf@m17n.org \
    --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 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.