From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Florian.Lindner@xgm.de Newsgroups: gmane.emacs.help Subject: Set LaTeX-math-abbrev-prefix Date: Mon, 23 Jun 2008 02:10:28 -0700 (PDT) Organization: http://groups.google.com Message-ID: <4d63484b-e3d1-4b76-83a0-dc9d15687904@79g2000hsk.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214214138 24011 80.91.229.12 (23 Jun 2008 09:42:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2008 09:42:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 23 11:42:54 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KAiYE-0003ju-74 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jun 2008 11:41:30 +0200 Original-Received: from localhost ([127.0.0.1]:36765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAiXP-0007jb-2f for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jun 2008 05:40:39 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!79g2000hsk.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 138.246.7.185 Original-X-Trace: posting.google.com 1214212228 19207 127.0.0.1 (23 Jun 2008 09:10:28 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 23 Jun 2008 09:10:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 79g2000hsk.googlegroups.com; posting-host=138.246.7.185; posting-account=6QUiowkAAAD0vSyXppJonpT_391Sn3wN User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9) Gecko/2008061004 Firefox/3.0,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159692 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55046 Archived-At: Hello, I try to set this variable to another value which is easier to reach on my keyboard. (add-hook 'LaTeX-mode-hook (lambda () (local-set-key (kbd "RET") 'reindent-then-newline-and-indent) (local-set-key (kbd "C-c SPC") 'LaTeX-math-mode) (setq LaTeX-math-abbrev-prefix (kbd "#")))) C-h v says it has the correct value but it does not work. It also says: "Setting this variable directly does not take effect; use M-x customize." However I would prefer not using customize. How can I set this variable manually? Thanks, Florian