all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
To: Emacs devel list <emacs-devel@gnu.org>
Cc: css@macports.org, hum@macports.org
Subject: Symbol's function definition is void: latex-indent-line [Mac OS X]
Date: Thu, 2 Aug 2012 18:53:32 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LRH.2.00.1208021827020.19649@login2.roma1.infn.it> (raw)


Just for the sake of completeness I want to flag this issue with 
Emacs-app...

When 24.1 was released, I installed Emacs-app by means of MacPorts tools 
on a MBP with Lion 10.7.4.

My init (reduced to a simple test case) file is:

$ cat .emacs.d/init.el

(global-set-key [13] 'newline-and-indent)

(defun latex-return( ) (interactive) (latex-indent-line) 
(newline-and-indent))


(add-hook 'latex-mode-hook
 	  '(lambda()
 	     (local-set-key [13] 'latex-return)
 	     ;(auto-fill-mode 1)
 	     (turn-on-reftex)

 	     ;; Add index to menu bar
 	     (imenu-add-to-menubar "Contents")
 	     )
 	  )


and all worked fine with .tex file...

I have worked since this morning with a .tex file (inserting lines with 
ENTER and then text, deleting lines etc.) without problems until a few 
minutes ago: suddently pressing ENTER does not work any more (Emacs beeps) 
and in the minibuffer I got the message:

   latex-return: Symbol's function definition is void: latex-indent-line


and I can't edit .tex file any more...

This is strange because it worked and works with Aquamacs and Emacs on 
other systems (GNU/Linux, Cygwin, Windows). They are many years I have 
that "defun" in my init files...

I have not done any update since yesterday, so I would exclude an update 
issue. Perhaps a caching issue? How on MBP?

TIA,
  Angelo.



             reply	other threads:[~2012-08-02 16:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02 16:53 Angelo Graziosi [this message]
2012-08-03  7:42 ` Symbol's function definition is void: latex-indent-line [Mac OS X] Andreas Schwab
2012-08-03 13:57   ` Angelo Graziosi
2012-08-03 16:24     ` Jan Djärv

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.LRH.2.00.1208021827020.19649@login2.roma1.infn.it \
    --to=angelo.graziosi@roma1.infn.it \
    --cc=css@macports.org \
    --cc=emacs-devel@gnu.org \
    --cc=hum@macports.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.