From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Wrong type argument: characterp, 134217782 (??) Date: Sun, 24 Jan 2016 20:54:19 -0800 Message-ID: References: <92068899.3376981453673697293.JavaMail.httpd@webmail-19.iol.local> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="0-86432238-1453697660=:537" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNZAe-0000fE-Ia for emacs-orgmode@gnu.org; Sun, 24 Jan 2016 23:54:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNZAb-0006MI-BS for emacs-orgmode@gnu.org; Sun, 24 Jan 2016 23:54:32 -0500 Received: from iport-acv2-out.ucsd.edu ([132.239.0.174]:55333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNZAb-0006L3-2N for emacs-orgmode@gnu.org; Sun, 24 Jan 2016 23:54:29 -0500 In-Reply-To: <92068899.3376981453673697293.JavaMail.httpd@webmail-19.iol.local> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "vendo.libri@libero.it" Cc: emacs-orgmode@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-86432238-1453697660=:537 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT 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 --0-86432238-1453697660=:537--