unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problem with auctex.
@ 2005-03-09 14:00 Steven W. Orr
  2005-03-09 22:02 ` Peter Dyballa
  0 siblings, 1 reply; 11+ messages in thread
From: Steven W. Orr @ 2005-03-09 14:00 UTC (permalink / raw)


Emacs-21.3 and auctex-11.55 under Fedora Core 3.

My problem is that when I go to visit a .tex file I get the following
error:

File mode specification error: (wrong-number-of-arguments #[(face color &optional frame) "\303\b	\304
\206	

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

* Re: Problem with auctex.
  2005-03-09 14:00 Problem " Steven W. Orr
@ 2005-03-09 22:02 ` Peter Dyballa
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Dyballa @ 2005-03-09 22:02 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 09.03.2005 um 15:00 schrieb Steven W. Orr:

> face frame color set-face-attribute :foreground unspecified

*Some* face has been incorrectly customized. You should invoke GNU 
Emacs with '--debug-init', open a TeX file and try to find the face 
with the missing foreground value in *Backtrace* buffer. The buffer too 
might reveal the customization-group. Invoking "M-x customize-group 
<customization-group>" should allow you to set things correct.

--
Greetings

   Pete

There is no worse tyranny than to force a man to pay for what he does 
not
want merely because you think it would be good for him. -- Robert 
Heinlein

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

* problem with auctex
@ 2006-10-14  8:51 halo
  2006-10-14 21:14 ` B. T. Raven
  0 siblings, 1 reply; 11+ messages in thread
From: halo @ 2006-10-14  8:51 UTC (permalink / raw)


All,

I just installed auctex in Windows. And because I uses a portable
MikTex (installed in a USB disk), the PATH doesn't include the
directory that contains the LaTeX executable commands. Is there a way
in Emacs or auctex that can tell auctex where to find the latex
commands? For example, can I setup the PATH variables directly in
Emacs?

Thanks you!

caixj

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

* Re: problem with auctex
  2006-10-14  8:51 problem " halo
@ 2006-10-14 21:14 ` B. T. Raven
  2006-10-16  8:51   ` halo
  0 siblings, 1 reply; 11+ messages in thread
From: B. T. Raven @ 2006-10-14 21:14 UTC (permalink / raw)



"halo" <xuejun.cai@gmail.com> wrote in message
news:1160815903.006626.26780@m7g2000cwm.googlegroups.com...
> All,
>
> I just installed auctex in Windows. And because I uses a portable
> MikTex (installed in a USB disk), the PATH doesn't include the
> directory that contains the LaTeX executable commands. Is there a way
> in Emacs or auctex that can tell auctex where to find the latex
> commands? For example, can I setup the PATH variables directly in
> Emacs?
>
> Thanks you!
>
> caixj
>

You could try:
M-! path=%path%;[absolute path on flash disk]

but this is a sub-shell and might not persist through the emacs session.

If you can be sure that the usb drive will always be assigned the same
drive letter then you could add the absolute path to the exec-path list.
See "Customize."

Ed

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

* Re: problem with auctex
  2006-10-14 21:14 ` B. T. Raven
@ 2006-10-16  8:51   ` halo
  0 siblings, 0 replies; 11+ messages in thread
From: halo @ 2006-10-16  8:51 UTC (permalink / raw)




> >
> > I just installed auctex in Windows. And because I uses a portable
> > MikTex (installed in a USB disk), the PATH doesn't include the
> > directory that contains the LaTeX executable commands. Is there a way
> > in Emacs or auctex that can tell auctex where to find the latex
> > commands? For example, can I setup the PATH variables directly in
> > Emacs?
> >
> > Thanks you!
> >
> > caixj
> >
>
> You could try:
> M-! path=%path%;[absolute path on flash disk]
>
> but this is a sub-shell and might not persist through the emacs session.
>
> If you can be sure that the usb drive will always be assigned the same
> drive letter then you could add the absolute path to the exec-path list.
> See "Customize."
>

The problem is solved. The usb drive letter could be gotten through
'data-directory'. And 'setenv' and 'getenv' could be used in the .emacs
to setup PATH.

best regards,
caixj

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

* Problem with AUCTeX
@ 2014-03-01 13:11 Suvayu Ali
  2014-03-01 19:07 ` Tassilo Horn
  0 siblings, 1 reply; 11+ messages in thread
From: Suvayu Ali @ 2014-03-01 13:11 UTC (permalink / raw)
  To: Emacs help

Hi,

I'm having a strange problem.  From time to time while editing LaTeX
source, I see the following traceback:

Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 3)
  jit-lock-force-redisplay(#<buffer tikz3d_test.tex> 1701 1913)
  font-latex-jit-lock-force-redisplay(#<buffer tikz3d_test.tex> 1701 1913)
  apply(font-latex-jit-lock-force-redisplay (#<buffer tikz3d_test.tex> 1701 1913))
  byte-code("r\301\b\302H\b\303H\"\210)\301\207" [timer apply 5 6] 4)
  timer-event-handler([t 21265 56149 607969 nil font-latex-jit-lock-force-redisplay (#<buffer tikz3d_test.tex> 1701 1913) nil 180000])

It happens randomly and I have no idea what is causing it.  It happens
very frequently, and editing LaTeX source is becoming very annoying.
Could someone help me find the problem?

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.



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

* Re: Problem with AUCTeX
  2014-03-01 13:11 Problem with AUCTeX Suvayu Ali
@ 2014-03-01 19:07 ` Tassilo Horn
  2014-03-01 20:22   ` Suvayu Ali
  0 siblings, 1 reply; 11+ messages in thread
From: Tassilo Horn @ 2014-03-01 19:07 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: Emacs help

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

Hi Suvayu,

> I'm having a strange problem.  From time to time while editing LaTeX
> source, I see the following traceback:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 3)
>   jit-lock-force-redisplay(#<buffer tikz3d_test.tex> 1701 1913)
>   font-latex-jit-lock-force-redisplay(#<buffer tikz3d_test.tex> 1701 1913)
>   apply(font-latex-jit-lock-force-redisplay (#<buffer tikz3d_test.tex> 1701 1913))
>   byte-code("r\301\b\302H\b\303H\"\210)\301\207" [timer apply 5 6] 4)
>   timer-event-handler([t 21265 56149 607969 nil
> font-latex-jit-lock-force-redisplay (#<buffer tikz3d_test.tex> 1701 1913) nil
> 180000])

That's already fixed in the development version, and I also released a
new ELPA version (11.87.3) with the corresponding fix.

Bye,
Tassilo



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

* Re: Problem with AUCTeX
  2014-03-01 19:07 ` Tassilo Horn
@ 2014-03-01 20:22   ` Suvayu Ali
  2014-03-02  8:00     ` Tassilo Horn
  0 siblings, 1 reply; 11+ messages in thread
From: Suvayu Ali @ 2014-03-01 20:22 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: Emacs help

Hi Tassilo,

On Sat, Mar 01, 2014 at 08:07:38PM +0100, Tassilo Horn wrote:
> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> 
> Hi Suvayu,
> 
> > I'm having a strange problem.  From time to time while editing LaTeX
> > source, I see the following traceback:
> >
> > Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 3)
> >   jit-lock-force-redisplay(#<buffer tikz3d_test.tex> 1701 1913)
> >   font-latex-jit-lock-force-redisplay(#<buffer tikz3d_test.tex> 1701 1913)
> >   apply(font-latex-jit-lock-force-redisplay (#<buffer tikz3d_test.tex> 1701 1913))
> >   byte-code("r\301\b\302H\b\303H\"\210)\301\207" [timer apply 5 6] 4)
> >   timer-event-handler([t 21265 56149 607969 nil
> > font-latex-jit-lock-force-redisplay (#<buffer tikz3d_test.tex> 1701 1913) nil
> > 180000])
> 
> That's already fixed in the development version, and I also released a
> new ELPA version (11.87.3) with the corresponding fix.

Could you point me to the fix?  I use AUCTeX from my distribution.  I
cannot update it easily.  If I can point to the fix, maybe I can
convince my distribution to update AUCTeX or include the fix.

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.



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

* Re: Problem with AUCTeX
  2014-03-01 20:22   ` Suvayu Ali
@ 2014-03-02  8:00     ` Tassilo Horn
  0 siblings, 0 replies; 11+ messages in thread
From: Tassilo Horn @ 2014-03-02  8:00 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: Emacs help

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

Hi Suvayu,

>> > I'm having a strange problem.  From time to time while editing LaTeX
>> > source, I see the following traceback:
>> >
>> > Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 3)
>> >   jit-lock-force-redisplay(#<buffer tikz3d_test.tex> 1701 1913)
>> >   font-latex-jit-lock-force-redisplay(#<buffer tikz3d_test.tex> 1701 1913)
>> >   apply(font-latex-jit-lock-force-redisplay (#<buffer tikz3d_test.tex> 1701 1913))
>> >   byte-code("r\301\b\302H\b\303H\"\210)\301\207" [timer apply 5 6] 4)
>> >   timer-event-handler([t 21265 56149 607969 nil
>> > font-latex-jit-lock-force-redisplay (#<buffer tikz3d_test.tex> 1701 1913) nil
>> > 180000])
>> 
>> That's already fixed in the development version, and I also released a
>> new ELPA version (11.87.3) with the corresponding fix.
>
> Could you point me to the fix?

http://git.savannah.gnu.org/cgit/auctex.git/commit/?id=5b5ef6eeb0468c273a329a05d31b3788fd46b5d7

Bye,
Tassilo



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

* Problem with auctex
@ 2016-10-16 14:03 me
  2016-10-16 17:09 ` Tassilo Horn
  0 siblings, 1 reply; 11+ messages in thread
From: me @ 2016-10-16 14:03 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all

I've recently updated my emacs to the version 26.0.50.2 (package emacs-
snapshoot for Ubuntu) and since a couple of days, auctex is not 
automatically loaded anymore when I edit LaTeX file (*.tex). Auctex was 
installed from elpa (or melpa I do not remember) and is stored into 
$HOME/.emacs.d/elpa/auctex-11.89.5/. 

If, within emacs, I type M-x load-library <ret> auctex.el and then M-x 
latex-mode, everything is then ok.. Auctex is not required explicitly into 
my .emacs file (as specified into the documentation).

Can you please help me to debug this ? or give me a pointer to a possible 
solution ? Thank you in advance for your help.



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

* Re: Problem with auctex
  2016-10-16 14:03 Problem with auctex me
@ 2016-10-16 17:09 ` Tassilo Horn
  0 siblings, 0 replies; 11+ messages in thread
From: Tassilo Horn @ 2016-10-16 17:09 UTC (permalink / raw)
  To: me; +Cc: help-gnu-emacs

me <me@myself.invalid> writes:

Hi!

> I've recently updated my emacs to the version 26.0.50.2 (package
> emacs- snapshoot for Ubuntu) and since a couple of days, auctex is not
> automatically loaded anymore when I edit LaTeX file (*.tex). Auctex
> was installed from elpa (or melpa I do not remember) and is stored
> into $HOME/.emacs.d/elpa/auctex-11.89.5/.

I myself am using Emacs 26 (from the git master branch), and for me
AUCTeX installed from ELPA works just fine and loads after finding the
first TeX file.  I've tested it just yesterday.

What does C-h f tex-mode RET show you?  Here it shows

,----[ C-h f tex-mode RET ]
| tex-mode is an interactive autoloaded compiled Lisp function in ‘tex-mode.el’.
| 
| (tex-mode)
| 
| Parent mode: ‘text-mode’.
| 
| :override advice: ‘TeX-tex-mode’
| 
| Major mode for editing files of input for TeX, LaTeX, or SliTeX.
| Tries to determine (by looking at the beginning of the file) whether
| this file is for plain TeX, LaTeX, or SliTeX and calls ‘plain-tex-mode’,
| ‘latex-mode’, or ‘slitex-mode’, respectively.  If it cannot be determined,
| such as if there are no commands in the file, the value of ‘tex-default-mode’
| says which mode to use.
`----

Note the :override advice: line which indicates that AUCTeX has been
loaded.

> If, within emacs, I type M-x load-library <ret> auctex.el and then M-x
> latex-mode, everything is then ok.. Auctex is not required explicitly
> into my .emacs file (as specified into the documentation).

That should not be needed.  Do you have any configs wrt. AUCTeX?  If so,
could you show them?

Bye,
Tassilo



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

end of thread, other threads:[~2016-10-16 17:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-01 13:11 Problem with AUCTeX Suvayu Ali
2014-03-01 19:07 ` Tassilo Horn
2014-03-01 20:22   ` Suvayu Ali
2014-03-02  8:00     ` Tassilo Horn
  -- strict thread matches above, loose matches on Subject: below --
2016-10-16 14:03 Problem with auctex me
2016-10-16 17:09 ` Tassilo Horn
2006-10-14  8:51 problem " halo
2006-10-14 21:14 ` B. T. Raven
2006-10-16  8:51   ` halo
2005-03-09 14:00 Problem " Steven W. Orr
2005-03-09 22:02 ` Peter Dyballa

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