Re: [AUCTeX] Re: Trouble with Find Documentation

2006-06-27 Thread David Kastrup
Alan Ristow <[EMAIL PROTECTED]> writes:

> Thanks for the info. Perhaps I'll experiment more with XEmacs once I
> get everything working properly in Emacs, as I'd prefer to use
> XEmacs in the long run. For now, I'll just forget about it.

The TeX-doc stuff apparently works only with CVS Emacs in 11.83
(probably reason to release something new soon).  Generally, new
features get most testing with that platform.  Emacs 21.4 is next
likely to work reasonable, XEmacs least.  The case where something is
completely borked (for which I would not assign blame always to XEmacs
itself: it is partly just that most of AUCTeX developers are
Emacs-centric) certainly tends to happen a lot more with XEmacs.  It
already helps deinstalling any AUCTeX from the Sumo tarball and
installing the XEmacs package we provide for download on the download
area of AUCTeX.

But if AUCTeX is your main application, it could really be a good idea
to switch to CVS Emacs.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] Re: Trouble with Find Documentation

2006-06-27 Thread Ralf Angeli
* Alan Ristow (2006-06-28) writes:

> Ralf Angeli wrote:
>> 
>> What appears if you copy the lines
>> 
>> (when (executable-find "texdoc")
>>  (TeX-search-files nil '("dvi" "pdf" "ps" "txt" "html") t t))
>> 
>> into the *scratch* buffer, place the cursor behind the last
>> parenthesis and type `C-j'?
>
> ("test" "campanile" "beamericonbook" "beamericonbook.20" 
> "beamericonarticle" "beamericonarticle.20" "beamer-icsi-logo" 
> "powerdot-default")
>
> It appears to be searching more than one directory, as I don't have a 
> directory that contains exactly this set of files. However, my TeX tree 
> obviously contains a lot more than eight files of the types listed in 
> your command. None of them, with the possible exception of "test", 
> appears to be related to anything I've opened since installing Emacs.

I just had a quick look and the problem appears to be the alternate
search which is being used if kpathsea-based search is not available.
That's the case with MikTeX for example.  The alternate search,
however, searches below the various TeX roots in the "tex"
subdirectory whereas all the documentation is below the "doc"
subdirectory.  I'll try to fix this ...

> Thanks for the info. Perhaps I'll experiment more with XEmacs once I get 
> everything working properly in Emacs, as I'd prefer to use XEmacs in the 
> long run. For now, I'll just forget about it.

In case AUCTeX is one of your main applications you should probably
have a look at the section about bugs in the AUCTeX manual.  There are
some specific to XEmacs because of its dated code base.

-- 
Ralf



___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] Re: Trouble with Find Documentation

2006-06-27 Thread Alan Ristow

Ralf Angeli wrote:

* Alan Ristow (2006-06-27) writes:

The one problem I'm having with both right now is the Find Documentation 
command. When I run it from Emacs, it prompts me for a command or 
package name. I've tried typing a number of packages that I know are 
installed on my system -- memoir, textcomp, etc. -- but it always 
responds with "Documentation not found." I've checked the value of 
TeX-Macro-Global and it contains the proper paths to my TeX installation.


What appears if you copy the lines

(when (executable-find "texdoc")
(TeX-search-files nil '("dvi" "pdf" "ps" "txt" "html") t t))

into the *scratch* buffer, place the cursor behind the last
parenthesis and type `C-j'?


("test" "campanile" "beamericonbook" "beamericonbook.20" 
"beamericonarticle" "beamericonarticle.20" "beamer-icsi-logo" 
"powerdot-default")


It appears to be searching more than one directory, as I don't have a 
directory that contains exactly this set of files. However, my TeX tree 
obviously contains a lot more than eight files of the types listed in 
your command. None of them, with the possible exception of "test", 
appears to be related to anything I've opened since installing Emacs.


When I run it from XEmacs, I get an error reading "Autoloading failed to 
define function Info-find-file." After a little googling, I get the 
impression that this particular feature is broken under XEmacs for the 
moment. Is that correct?


Yes.  The situation with the CVS version of AUCTeX is a bit better.
It does not throw an error, but getting documentation of LaTeX
commands from latex.info does not and probably will not work with
XEmacs and Emacs 21.  Getting documentation via texdoc should work in
all Emacs and XEmacs versions, however.


Thanks for the info. Perhaps I'll experiment more with XEmacs once I get 
everything working properly in Emacs, as I'd prefer to use XEmacs in the 
long run. For now, I'll just forget about it.


Alan



___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] Trouble with Find Documentation

2006-06-27 Thread Ralf Angeli
* Alan Ristow (2006-06-27) writes:

> The one problem I'm having with both right now is the Find Documentation 
> command. When I run it from Emacs, it prompts me for a command or 
> package name. I've tried typing a number of packages that I know are 
> installed on my system -- memoir, textcomp, etc. -- but it always 
> responds with "Documentation not found." I've checked the value of 
> TeX-Macro-Global and it contains the proper paths to my TeX installation.

What appears if you copy the lines

(when (executable-find "texdoc")
(TeX-search-files nil '("dvi" "pdf" "ps" "txt" "html") t t))

into the *scratch* buffer, place the cursor behind the last
parenthesis and type `C-j'?

> When I run it from XEmacs, I get an error reading "Autoloading failed to 
> define function Info-find-file." After a little googling, I get the 
> impression that this particular feature is broken under XEmacs for the 
> moment. Is that correct?

Yes.  The situation with the CVS version of AUCTeX is a bit better.
It does not throw an error, but getting documentation of LaTeX
commands from latex.info does not and probably will not work with
XEmacs and Emacs 21.  Getting documentation via texdoc should work in
all Emacs and XEmacs versions, however.

-- 
Ralf


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] New version of Emacs/AUCTeX bundle for Windows available

2006-06-27 Thread Ralf Angeli
* David Kastrup (2006-06-26) writes:

> What you can find on alpha.gnu.org from the download page of AUCTeX is
> a snapshot of the current development of both Emacs and AUCTeX (though
> the latest snapshot might indeed have AUCTeX 11.83 as released, but
> that is not the rule).

Actually it is.  I've never included a snapshot of AUCTeX, only
released versions.

-- 
Ralf


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] Trouble with Find Documentation

2006-06-27 Thread Alan Ristow
I'm giving AUCTeX a try on my WinXP box. Currently I have installed both 
the Emacs/AUCTeX precompiled bundle and XEmacs 21.4.19 with AUCTeX 
installed from the pre-compiled ready-for-XEmacs download from the 
AUCTeX web site. Both Emacs and XEmacs are the native versions -- no 
Cygwin here. It's been a bumpy start, but both are now nominally working.


The one problem I'm having with both right now is the Find Documentation 
command. When I run it from Emacs, it prompts me for a command or 
package name. I've tried typing a number of packages that I know are 
installed on my system -- memoir, textcomp, etc. -- but it always 
responds with "Documentation not found." I've checked the value of 
TeX-Macro-Global and it contains the proper paths to my TeX installation.


When I run it from XEmacs, I get an error reading "Autoloading failed to 
define function Info-find-file." After a little googling, I get the 
impression that this particular feature is broken under XEmacs for the 
moment. Is that correct?


Could someone please shed some light on these problems? A similar 
command in WinEdt is a very important part of my workflow, so I am 
loathe to live without it. I'm not an Emacs newbie, but I'm not terribly 
experienced with it either, so please let me know if there's something 
else I need to set or check.


Thanks!

Alan



___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex