unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tex-mode.el
@ 2005-02-26 15:10 Eli Zaretskii
  2005-02-26 15:16 ` tex-mode.el Luc Teirlinck
  2005-02-27 13:43 ` tex-mode.el Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Eli Zaretskii @ 2005-02-26 15:10 UTC (permalink / raw


When tex-mode.el from current CVS is compiled, it produces the
following warning:

  In tex-mode:
  tex-mode.el:818:8:Warning: function `tex-mode' defined multiple times in this
      file

Is this okay?

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

* Re: tex-mode.el
  2005-02-26 15:10 tex-mode.el Eli Zaretskii
@ 2005-02-26 15:16 ` Luc Teirlinck
  2005-02-27 13:43 ` tex-mode.el Richard Stallman
  1 sibling, 0 replies; 6+ messages in thread
From: Luc Teirlinck @ 2005-02-26 15:16 UTC (permalink / raw
  Cc: emacs-devel

Eli Zaretskii wrote:

   When tex-mode.el from current CVS is compiled, it produces the
   following warning:

     In tex-mode:
     tex-mode.el:818:8:Warning: function `tex-mode' defined multiple times in this
	 file

   Is this okay?

There is the following comment:

(define-derived-mode tex-mode text-mode "generic-TeX"
  (tex-common-initialization))
;; We now move the function and define it again.  This gives a warning
;; in the byte-compiler :-( but it's difficult to avoid because
;; `define-derived-mode' will necessarily define the function once
;; and we need to define it a second time for `autoload' to get the
;; proper docstring.
(defalias 'tex-mode-internal (symbol-function 'tex-mode))
;;;###autoload
(defun tex-mode ()

Sincerely,

Luc.

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

* Re: tex-mode.el
  2005-02-26 15:10 tex-mode.el Eli Zaretskii
  2005-02-26 15:16 ` tex-mode.el Luc Teirlinck
@ 2005-02-27 13:43 ` Richard Stallman
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2005-02-27 13:43 UTC (permalink / raw
  Cc: emacs-devel

    When tex-mode.el from current CVS is compiled, it produces the
    following warning:

      In tex-mode:
      tex-mode.el:818:8:Warning: function `tex-mode' defined multiple times in this
	  file

    Is this okay?

It is expected.  I find this somewhat ugly but I don't know
a good way to solve the problem.

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

* tex-mode.el
@ 2010-09-20 14:18 Sean Sieger
  2010-09-20 15:27 ` tex-mode.el Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Sean Sieger @ 2010-09-20 14:18 UTC (permalink / raw
  To: emacs-devel

I can't get this library to recompile:

In toplevel form:

textmodes/tex-mode.el:641:1:Warning: `"\\\\verb\\**\\([^a-z@*]\\)"' is a
    malformed function
textmodes/tex-mode.el:641:1:Warning: `"\\\\\\(?:end\\|begin\\) *\\({[^
{}]*}\\)"' is a malformed function
textmodes/tex-mode.el:654:12:Error: Symbol's function definition is
void: tex-fo nt-lock-verb




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

* Re: tex-mode.el
  2010-09-20 14:18 tex-mode.el Sean Sieger
@ 2010-09-20 15:27 ` Stefan Monnier
  2010-09-20 15:48   ` tex-mode.el Sean Sieger
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2010-09-20 15:27 UTC (permalink / raw
  To: Sean Sieger; +Cc: emacs-devel

> I can't get this library to recompile:
> In toplevel form:

> textmodes/tex-mode.el:641:1:Warning: `"\\\\verb\\**\\([^a-z@*]\\)"' is a
>     malformed function
> textmodes/tex-mode.el:641:1:Warning: `"\\\\\\(?:end\\|begin\\) *\\({[^
> {}]*}\\)"' is a malformed function
> textmodes/tex-mode.el:654:12:Error: Symbol's function definition is
> void: tex-fo nt-lock-verb

Have you tried "make bootstrap"?


        Stefan



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

* Re: tex-mode.el
  2010-09-20 15:27 ` tex-mode.el Stefan Monnier
@ 2010-09-20 15:48   ` Sean Sieger
  0 siblings, 0 replies; 6+ messages in thread
From: Sean Sieger @ 2010-09-20 15:48 UTC (permalink / raw
  To: Stefan Monnier; +Cc: emacs-devel

> Have you tried "make bootstrap"?

Thank you, it looks like it just wrote it; and
thank you for the reminder.



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

end of thread, other threads:[~2010-09-20 15:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-20 14:18 tex-mode.el Sean Sieger
2010-09-20 15:27 ` tex-mode.el Stefan Monnier
2010-09-20 15:48   ` tex-mode.el Sean Sieger
  -- strict thread matches above, loose matches on Subject: below --
2005-02-26 15:10 tex-mode.el Eli Zaretskii
2005-02-26 15:16 ` tex-mode.el Luc Teirlinck
2005-02-27 13:43 ` tex-mode.el Richard Stallman

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