unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Symbol's function definition is void: latex-indent-line [Mac OS X]
@ 2012-08-02 16:53 Angelo Graziosi
  2012-08-03  7:42 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Angelo Graziosi @ 2012-08-02 16:53 UTC (permalink / raw)
  To: Emacs devel list; +Cc: css, hum


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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-03 16:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-02 16:53 Symbol's function definition is void: latex-indent-line [Mac OS X] Angelo Graziosi
2012-08-03  7:42 ` Andreas Schwab
2012-08-03 13:57   ` Angelo Graziosi
2012-08-03 16:24     ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).