bug#19673: 11.88; AUCTEX 11.88.1 view command bug

2015-01-28 Thread Tassilo Horn
"Shawn Way"  writes:

> This issue has been fix with revision 11.88.2. It works well now! 

Great, thanks for letting me know.  I'm closing the bug then.

Bye,
Tassilo



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#19673: 11.88; AUCTEX 11.88.1 view command bug

2015-01-27 Thread Tassilo Horn
Hi again,

Shawn, I've initiated the release of AUCTeX 11.88.2 in ELPA.  It may
take up to 24 hours until the package actually appears.  Could you
please test if the issue is solved in that version and report back?

Bye,
Tassilo



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#19673: 11.88; AUCTEX 11.88.1 view command bug

2015-01-27 Thread Tassilo Horn
Mosè Giordano  writes:

>> I did that now in the auctex git repository.
>
> Probably you would like to remove the check for "start" from the
> "dvips and start" viewer as well ;-)

Oh, yes, done!

>> Um, could you please teach me how to sync that change to ELPA?  I
>> know there's something better than manual diff/patch, no?
>
> Add to your AUCTeX repository the elpa remote
> git remote add elpa git://git.sv.gnu.org/emacs/elpa.git
> and then fetch the AUCTeX branch
> git fetch elpa externals/auctex:elpa
> Now you should be able to merge one branch into the other, or
> cherry-pick single commits from them, this is what I did for a commit
> by Stefan Monnier some weeks ago.

Yeah, cool, except that I needed to use the ssh://tsdh@... url in order
to be able to push.

Bye,
Tassilo



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#19673: 11.88; AUCTEX 11.88.1 view command bug

2015-01-27 Thread Mosè Giordano
Hi Tassilo,

2015-01-27 3:20 GMT-05:00 Tassilo Horn :
> I did that now in the auctex git repository.

Probably you would like to remove the check for "start" from the
"dvips and start" viewer as well ;-)

> Um, could you please teach
> me how to sync that change to ELPA?  I know there's something better
> than manual diff/patch, no?

Add to your AUCTeX repository the elpa remote
git remote add elpa git://git.sv.gnu.org/emacs/elpa.git
and then fetch the AUCTeX branch
git fetch elpa externals/auctex:elpa
Now you should be able to merge one branch into the other, or
cherry-pick single commits from them, this is what I did for a commit
by Stefan Monnier some weeks ago.

Bye,
Mosè



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#19673: 11.88; AUCTEX 11.88.1 view command bug

2015-01-27 Thread Tassilo Horn
Mosè Giordano  writes:

>> Thanks for the report.  Mosè, it seems the error comes from the code
>> you added in commit 59ccf3416d53064785d3feee8bcbf8074612386a which
>> checks if the viewer executable actually exists.
>>
>> Shawn uses windows where the viewer is "start".  Maybe that's some
>> internal command you cannot find with `executable-find'?  E.g.,
>> something like a shell builtin command like "alias" in bash/zsh?
>
> We need to know which is the problem: if it's what you suggested
> (start is not strictly a binary and `find-executable' cannot find it)
> then we can just remove start from the list of executable to be
> checked.

I just tested on a Windows machine here at my university, and
(executable-find "start") indeed returns nil.

> Admittedly, I don't use Windows and I wasn't able to test the change
> on that system, but I made a research and I understood that "start"
> was a system program or something like that.  Again, if it's not an
> executable, remove the third element of the "start" item in
> `TeX-view-program-list-builtin' and we'll need to fix it also
> upstream.

I did that now in the auctex git repository.  Um, could you please teach
me how to sync that change to ELPA?  I know there's something better
than manual diff/patch, no?

Bye,
Tassilo



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#19673: 11.88; AUCTEX 11.88.1 view command bug

2015-01-26 Thread Mosè Giordano
Hi Shawn and Tassilo,

and sorry for the late reply.

2015-01-25 3:18 GMT-05:00 Tassilo Horn :
> "Shawn Way"  writes:
>
> Hi Shawn & Mosè,
>
>> The latex file compiles just fine, however when the viewer is invoked
>> (from either the menu, C-c C-c or C-c C-v) the following error is
>> produced:
>>
>> Cannot find "start" viewer. Select another one in
>> 'TeX-view-program-selection'.
>>
>> This occurs when I upgrade from 11.88 to 11.88.1. When I remove 11.88.1
>> and revert back to 11.88, the function is working just fine.
>
> Thanks for the report.  Mosè, it seems the error comes from the code you
> added in commit 59ccf3416d53064785d3feee8bcbf8074612386a which checks if
> the viewer executable actually exists.
>
> Shawn uses windows where the viewer is "start".  Maybe that's some
> internal command you cannot find with `executable-find'?  E.g.,
> something like a shell builtin command like "alias" in bash/zsh?

We need to know which is the problem: if it's what you suggested
(start is not strictly a binary and `find-executable' cannot find it)
then we can just remove start from the list of executable to be
checked.

Admittedly, I don't use Windows and I wasn't able to test the change
on that system, but I made a research and I understood that "start"
was a system program or something like that.  Again, if it's not an
executable, remove the third element of the "start" item in
`TeX-view-program-list-builtin' and we'll need to fix it also
upstream.

Bye,
Mosè



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#19673: 11.88; AUCTEX 11.88.1 view command bug

2015-01-25 Thread Tassilo Horn
Tassilo Horn  writes:

Ups, I forgot to add Mosè to the Cc.  So here we go again.

>> The latex file compiles just fine, however when the viewer is invoked
>> (from either the menu, C-c C-c or C-c C-v) the following error is
>> produced:
>>
>> Cannot find "start" viewer. Select another one in
>> 'TeX-view-program-selection'.
>>
>> This occurs when I upgrade from 11.88 to 11.88.1. When I remove 11.88.1 
>> and revert back to 11.88, the function is working just fine. 
>
> Thanks for the report.  Mosè, it seems the error comes from the code you
> added in commit 59ccf3416d53064785d3feee8bcbf8074612386a which checks if
> the viewer executable actually exists.
>
> Shawn uses windows where the viewer is "start".  Maybe that's some
> internal command you cannot find with `executable-find'?  E.g.,
> something like a shell builtin command like "alias" in bash/zsh?
>
> Bye,
> Tassilo



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#19673: 11.88; AUCTEX 11.88.1 view command bug

2015-01-25 Thread Tassilo Horn
"Shawn Way"  writes:

Hi Shawn & Mosè,

> The latex file compiles just fine, however when the viewer is invoked
> (from either the menu, C-c C-c or C-c C-v) the following error is
> produced:
>
> Cannot find "start" viewer. Select another one in
> 'TeX-view-program-selection'.
>
> This occurs when I upgrade from 11.88 to 11.88.1. When I remove 11.88.1 
> and revert back to 11.88, the function is working just fine. 

Thanks for the report.  Mosè, it seems the error comes from the code you
added in commit 59ccf3416d53064785d3feee8bcbf8074612386a which checks if
the viewer executable actually exists.

Shawn uses windows where the viewer is "start".  Maybe that's some
internal command you cannot find with `executable-find'?  E.g.,
something like a shell builtin command like "alias" in bash/zsh?

Bye,
Tassilo



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#19673: 11.88; AUCTEX 11.88.1 view command bug

2015-01-24 Thread Shawn Way
--text follows this line--

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  In addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So please upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the one available from the web site.

If the bug is triggered by a specific (La)TeX file, you should try
to produce a minimal sample file showing the problem and include it
in your report.

Your report will be posted for the auctex package at the GNU bug
tracker.  Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex
to browse existing AUCTeX bugs.


Minimal Document:

\documentclass{article}

\begin{document}

Hello!

\end{document}


The latex file compiles just fine, however when the viewer is invoked
(from either the menu, C-c C-c or C-c C-v) the following error is
produced:

Cannot find "start" viewer.  Select another one in
'TeX-view-program-selection'.

This occurs when I upgrade from 11.88 to 11.88.1.  When I remove 11.88.1
and revert back to 11.88, the function is working just fine.

Because I was setting emacs up on another computer, I confirmed that
this error occured with a fresh installation of emacs with no .emacs file 
as
well as my heavily edited .emacs.  Reverting from 11.88.1 to 11.88 fixed
the issue on this computer as well. 


Emacs  : GNU Emacs 24.4.1 (i686-pc-mingw32)
 of 2014-10-24 on LEG570
Package: 11.88

current state:
==
(setq
 AUCTeX-date "2014-10-29"
 window-system 'w32
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex"
 "c:/Users/sway/AppData/Roaming/.emacs.d/elpa/auctex-11.88.1/style" 
"c:/Users/sway/AppData/Roaming/.emacs.d/auctex/auto" 
"c:/Users/sway/AppData/Roaming/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX"
 "%(PDF)%(tex) %(file-line-error) %(extraopts) 
%`%S%(PDFout)%(mode)%' %t"
 TeX-run-TeX nil
 (plain-tex-mode ams-tex-mode texinfo-mode) :help
 "Run plain TeX")
("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
 (latex-mode doctex-mode) :help "Run LaTeX")
("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile 
nil
 (texinfo-mode) :help "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo %(extraopts) --html %t"
 TeX-run-compile nil (texinfo-mode) :help
 "Run Makeinfo with HTML output")
("AmSTeX"
 "%(PDF)amstex %(extraopts) %`%S%(PDFout)%(mode)%' %t"
 TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
("ConTeXt"
 "texexec --once --texutil %(extraopts) %(execopts)%t"
 TeX-run-TeX nil (context-mode) :help "Run ConTeXt 
once")
("ConTeXt Full" "texexec %(extraopts) %(execopts)%t"
 TeX-run-TeX nil (context-mode) :help
 "Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
 "Run BibTeX")
("Biber" "biber %s" TeX-run-Biber nil t :help "Run 
Biber")
("View" "%V" TeX-run-discard-or-function t t :help
 "Run Viewer")
("Print" "%p" TeX-run-command t t :help "Print the 
file")
("Queue" "%q" TeX-run-background nil t :help
 "View the printer queue" :visible TeX-queue-command)
("File" "%(o?)dvips %d -o %f " TeX-run-command t t 
:help
 "Generate PostScript file")
("Index" "makeindex %s" TeX-run-command nil t :help
 "Create index file")
("Xindy" "texindy %s" TeX-run-command nil t :help
 "Run xindy to create index file")
("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
 :help "Check LaTeX file for correctness")
("ChkTeX" "chktex -v6 %s" TeX-run-compile nil 
(latex-mode)
 :help "Check LaTeX file for common mistakes")
("Spell" "(TeX-ispell-document \"\")" TeX-run-function 
nil
 t :help "Spell-check the document")
("Clean" "TeX-clean" TeX-run-function nil t :help
 "Delete generated intermediate files")
("Clean All" "(TeX-clean t)" TeX-run-function nil t 
:help
 "Delete generated intermediate and output files")
("Other" "" TeX-run-command t t :help
 "Run an arbitrary command")