From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Wrong type argument: characterp, 134217782 (??)
Date: Sat, 23 Jan 2016 17:11:10 -0800 [thread overview]
Message-ID: <alpine.OSX.2.20.1601231650200.1241@charles-berrys-macbook.local> (raw)
In-Reply-To: <87twm4owmx.fsf@ucl.ac.uk>
On Sat, 23 Jan 2016, Eric S Fraga wrote:
> On Saturday, 23 Jan 2016 at 14:36, vendo.libri@libero.it wrote:
>
> [...]
>
>> Then I discovered that the backquote symbol was not
>> recognized. Everytime I press it, I get the 'Wrong type argument:
>> characterp, 134217782' message in the mini-buffer.
>
> Maybe try
>
> M-x toggle-debug-on-error
>
> and see where that error is arising to see if that gives us a hint as to
> what may be wrong. I am not sure if the cdlatex code you downloaded has
> been updated for later versions of emacs...
Funny, I get `apply: Wrong type argument: characterp, 134217785'
(not `134217782'), which is what M-9 is recognized as:
#+BEGIN_SRC emacs-lisp
(read-char) ; type C-c C-c y M-9 *here*
#+END_SRC
#+RESULTS:
: 134217785
on my MacBook and that makes some sense as cdlatex.el uses `(read-char)'
once it is triggered by a back tic. And I guess that `read-char' is immune
to keymapping for good reason.
For the record, this happens with
#+BEGIN_SRC elisp
(define-key key-translation-map (kbd "M-9") (kbd "`"))
#+END_SRC
set in org-cdlatex-mode when the first back tic (or M-9) is followed by a
M-9 and it also happens for other key events that do not map to characters
like `C-S-s' after the back tic.
So the easiest fix is *don't do that*.
I suppose this counts as a bug in cdlatex, but it seems easy enough to
work around.
HTH,
Chuck
next prev parent reply other threads:[~2016-01-24 1:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-23 13:36 Wrong type argument: characterp, 134217782 (??) vendo.libri
2016-01-23 20:42 ` Eric S Fraga
2016-01-24 1:11 ` Charles C. Berry [this message]
2016-01-24 4:57 ` Charles C. Berry
-- strict thread matches above, loose matches on Subject: below --
2016-01-24 22:14 vendo.libri
2016-01-25 4:54 ` Charles C. Berry
2016-01-25 20:41 vendo.libri
2016-01-26 0:03 ` Charles C. Berry
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=alpine.OSX.2.20.1601231650200.1241@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@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.