unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: joakim@verona.se
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: 23.0.60; bug in modify-syntax-entry after unicode2 merge
Date: Mon, 11 Feb 2008 11:47:25 -0500	[thread overview]
Message-ID: <jwvy79r1lwu.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3prv3o5yd.fsf@verona.se> (joakim@verona.se's message of "Mon, 11 Feb 2008 16:42:18 +0100")

>>> I use the supercollider mode in emacs,
>>> and it has the equivalent of the following code:
>> 
>>> (modify-syntax-entry ?\^ "." (make-syntax-table))
>> 
>>> If you run this you will get the following error:
>>> Debugger entered--Lisp error: (wrong-type-argument characterp 67108896)
>> 
>>> The code used to work before the unicode2 merge.
>> 
>> You do realize that this is changing the syntax-entry for the C-SPC
>> character (which doesn't exist: it's an event composed of the SPC char
>> and the control modifier), right?

> No, I dont know the particulars of the code. 

> If this is a bug in the supercollider mode in your opinion, I can relay
> that information to the modes authors.

It does look like a bug in that code indeed.  Maybe the author meant to
modify the ^ character, but that's not what the code does.  Then again,
it's more subtle.


        Stefan




      reply	other threads:[~2008-02-11 16:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11 12:38 23.0.60; bug in modify-syntax-entry after unicode2 merge joakim
2008-02-11 15:11 ` Stefan Monnier
2008-02-11 15:42   ` joakim
2008-02-11 16:47     ` Stefan Monnier [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

  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=jwvy79r1lwu.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    /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).