emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: "vendo.libri@libero.it" <vendo.libri@libero.it>
Cc: emacs-orgmode@gnu.org
Subject: Re: Wrong type argument: characterp, 134217782 (??)
Date: Sun, 24 Jan 2016 20:54:19 -0800	[thread overview]
Message-ID: <alpine.OSX.2.20.1601242032510.537@charles-berrys-macbook.local> (raw)
In-Reply-To: <92068899.3376981453673697293.JavaMail.httpd@webmail-19.iol.local>

[-- Attachment #1: Type: text/plain, Size: 1639 bytes --]

On Sun, 24 Jan 2016, vendo.libri@libero.it wrote:

> Ok, so if I want to use this character '•' (a bullet mark) to trigger math
> expression, what should I write in my .emacs file regarding the `cdlatex-math-
> symbol-prefix' variable?

The bullet is not a *character* per se in emacs.

So you cannot do that.

The left quote (back tic) is used to trigger math symbol selection. You 
cannot easily change that, but you can remap a key as you did for M-9 and 
that will allow you to enter the selection menus. But you cannot use that 
character (M-9) to change levels. You can customize 
`cdlatex-math-symbol-prefix' to set a symbol for that purpose.

(Please help me out, I know nothing about how to write
> elisp).

Elisp is not needed.

You need to use the customize interface. See

 	(info "(emacs) Customization Groups")

Briefly, type

M-x customize RET

Then type `cdlatex-math' in the search box and click `search'.

Then click on the mark left of Cdlatex Math Symbol Prefix, delete the '`' 
and type in the character you want to traverse levels in the math symbo 
menus. Then change the state. `Save for Future Sessions' will modify your 
.emacs for you.


> Since you mention this might be a bug with CDLaTeX, I'd like to add that
> pressing TAB after '-' (dash) in an itemize environment doesn't put '\item'. I
> believe it's an empty command.
>

It works fine for me. Be sure you have org-cdlatex-mode enabled and that 
you really are in a suitable environment. If you see messages like

 	if: No open environment at point.
or
 	if: No item defined for abc environment.

in the *Messages* buffer, you have erred.

HTH,

Chuck

  reply	other threads:[~2016-01-25  4:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-24 22:14 Wrong type argument: characterp, 134217782 (??) vendo.libri
2016-01-25  4:54 ` Charles C. Berry [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-25 20:41 vendo.libri
2016-01-26  0:03 ` Charles C. Berry
2016-01-23 13:36 vendo.libri
2016-01-23 20:42 ` Eric S Fraga
2016-01-24  1:11   ` Charles C. Berry
2016-01-24  4:57     ` 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

  List information: https://www.orgmode.org/

* 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.1601242032510.537@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=vendo.libri@libero.it \
    /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/org-mode.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).