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: Andreas Schwab <schwab@linux-m68k.org>
Cc: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>,
	Emacs devel list <emacs-devel@gnu.org>
Subject: Re: Symbol's function definition is void: latex-indent-line [Mac OS X]
Date: Fri, 3 Aug 2012 15:57:52 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LRH.2.00.1208031550370.29465@login2.roma1.infn.it> (raw)
In-Reply-To: <m23944jub5.fsf@igel.home>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 984 bytes --]


You may try to reproduce with:

cp init.el-test ~/.emacs.d/init.el
emacs24[|| trunk] test_subfig.tex

go to the end of a line, "\section{Introduction}" for example.

Press ENTER to insert a blank line: it does not work for me, it prints

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

in the minibuffer..

I have tested it with Emacs-app 24.1 on Mac OS X (via MacPorts); with rev. 
109400 on Cygwin, and a week old trunk on GNU/Linux Fedora 16.

Ciao,
Angelo.

On Fri, 3 Aug 2012, Andreas Schwab wrote:

> Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> writes:
>
>>   latex-return: Symbol's function definition is void: latex-indent-line
>
> There was never a function latex-indent-line in Emacs (tex-mode defines
> latex-indent).  It must have been defined by some add-on package.
>
> Andreas.
>
> -- 
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>
>

[-- Attachment #2: Type: APPLICATION/x-tex, Size: 329 bytes --]

[-- Attachment #3: Type: TEXT/PLAIN, Size: 284 bytes --]


(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)
	     )
	  )


  reply	other threads:[~2012-08-03 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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.1208031550370.29465@login2.roma1.infn.it \
    --to=angelo.graziosi@roma1.infn.it \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@linux-m68k.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.