Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-12-16 Thread Rogério Brito
I really don't remember if I replied to this message or not, but since
now I have a little spare time (grading the finals is finally over and I
can study some things). :-)

On Nov 03 2005, Stefan Ulrich wrote:
 Frank Küster [EMAIL PROTECTED] writes:
  I'd also like to hear from the xdvik people what the file is meant for
  (Emacs' built in TeX mode?  Older AUCTeX versions?), and what they think
  about integration in AUCTeX/Emacs Goodies/Whatever.
 
 Thanks for CCing me on this - I didn't know that AUCTeX had support
 for inverse search with xdvi.

Oops. I don't know if AUCTeX really has support for inverse search (I
will have to check the manual).

What I meant is that, with AUCTeX, you can (easily) enable source
specials and, with your xdvi-search.el, this means that Emacs can use
easily the forward/backward search with xdvi(k).

BTW, I'm using Debian's emacs-snapshot (taken from unstable/what will
become Emacs 22) and your xdvi-search.el works quite well with this (and
I don't have the need to install extra things like gnuserv---the
builtin server and client work much better than before, in my
experience, and that makes Emacs+xdvi(k) a great environment for TeXing
documents).

IMVHO, this is an extra reason to have xdvi-search.el available.

 If it does now, it probably doesn't make sense to maintain a separate
 package like xdvi-search.el any more. I would probably keep the
 version on http://xdvi.sourceforge.net/xdvi-search.el for reference
 only and update the xdvi documentation to point to AUCTeX instead.

Please, see the comments above. I think that now it matters much more
than earlier to have xdvi-search.el available.


Thanks, Rogério Brito.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/



Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-12-16 Thread Frank Küster
@David:  I think there's currently no AUCTex list where one can post to
without being subscribed or having to wait for moderator approval,
therefore I'm sending this to you.

Rogério Brito [EMAIL PROTECTED] wrote:

 On Nov 03 2005, Stefan Ulrich wrote:
 Thanks for CCing me on this - I didn't know that AUCTeX had support
 for inverse search with xdvi.

 Oops. I don't know if AUCTeX really has support for inverse search (I
 will have to check the manual).

I don't use it personally, but according to the manual AUCTEX does have
support for inverse search.

 What I meant is that, with AUCTeX, you can (easily) enable source
 specials and, with your xdvi-search.el, this means that Emacs can use
 easily the forward/backward search with xdvi(k).

It should be possible with AUCTeX, too.  According to the manual, even
AUCTeX in sarge supports forward and inverse search.

 IMVHO, this is an extra reason to have xdvi-search.el available.

I think xdvi-search.el is useful for people that use the standard TeX
mode (which is perhaps more suited for plain TeX), but if anything is
missing in AUCTeX that xdvi-search.el has, it should rather be
integrated in AUCTeX.  But I assume that the AUCTeX developers already
had a look at xdvi-search.el

 If it does now, it probably doesn't make sense to maintain a separate
 package like xdvi-search.el any more. I would probably keep the
 version on http://xdvi.sourceforge.net/xdvi-search.el for reference
 only and update the xdvi documentation to point to AUCTeX instead.

 Please, see the comments above. I think that now it matters much more
 than earlier to have xdvi-search.el available.

I don't see why.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-11-03 Thread Frank Küster
Peter S Galbraith [EMAIL PROTECTED] wrote:

   Since LaTeX supports source specials and the xdvi in current Debian
   versions support forward and backward searching, it would be a very good
   addition if the file xdvi-search.el could be added to the package
   emacs-goodies-el.
   
   The xdvi-search.el file can be obtained from:
   http://xdvi.sourceforge.net/xdvi-search.el.
  
  Thanks.  This would be useful to me also as I also use LaTeX.

What does this file offer that AUCTeX doesn't?  Is this for the standard
TeX mode?  Does anybody really use the standard TeX mode?

Regards, Frank

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-11-03 Thread Frank Küster
Hi all,

Peter S Galbraith [EMAIL PROTECTED] wrote:

 Thanks for joining the discussion Frank.

While we're about joining, I'm sending this to Stefan Ulrich, the xdvik
developer most interested in Debian.  And I'm taking out the emacsen
people and one of the tetex copies¹

This discussion is about including xdvi-search.el in a Debian package,
which is unclear.

 Frank Küster [EMAIL PROTECTED] wrote:

 What does this file offer that AUCTeX doesn't?  Is this for the standard
 TeX mode?  Does anybody really use the standard TeX mode?

 Now that's funny.  I'm not an AucTex power user at all.  I don't tend to
 use the mode to run latex and bibtex on the file I edit (I use it mainly
 for font-lock, not too surprisingly).  Now I see what I've been missing
 out on.  So yes, once you turn on `source specials' in auctex then
 viewing will display the current point (approximately anyway).

 So given that fact, should I:

 1- Forget all about xdvi-search.
  or 2- Include it in emacs-goodies-el, but document in the Info file that
this can also be done using auctex exclusively.

 The second option might serve to advertise auctex to potential new
 users, so I'd vote for that.

I'd also like to hear from the xdvik people what the file is meant for
(Emacs' built in TeX mode?  Older AUCTeX versions?), and what they think
about integration in AUCTeX/Emacs Goodies/Whatever.

TIA, Frank

¹ did that work? there's no package tetex
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-11-03 Thread Peter S Galbraith
Thanks for joining the discussion Frank.

Frank Küster [EMAIL PROTECTED] wrote:

 Peter S Galbraith [EMAIL PROTECTED] wrote:
 
Since LaTeX supports source specials and the xdvi in current Debian
versions support forward and backward searching, it would be a very 
good
addition if the file xdvi-search.el could be added to the package
emacs-goodies-el.

The xdvi-search.el file can be obtained from:
http://xdvi.sourceforge.net/xdvi-search.el.
   
   Thanks.  This would be useful to me also as I also use LaTeX.
 
 What does this file offer that AUCTeX doesn't?  Is this for the standard
 TeX mode?  Does anybody really use the standard TeX mode?

Now that's funny.  I'm not an AucTex power user at all.  I don't tend to
use the mode to run latex and bibtex on the file I edit (I use it mainly
for font-lock, not too surprisingly).  Now I see what I've been missing
out on.  So yes, once you turn on `source specials' in auctex then
viewing will display the current point (approximately anyway).

So given that fact, should I:

1- Forget all about xdvi-search.
 or 2- Include it in emacs-goodies-el, but document in the Info file that
   this can also be done using auctex exclusively.

The second option might serve to advertise auctex to potential new
users, so I'd vote for that.

Comments?
-- 
Peter



Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-11-03 Thread Rogério Brito
Hi there.

On Nov 03 2005, Frank Küster wrote:
 Peter S Galbraith [EMAIL PROTECTED] wrote:
  Thanks for joining the discussion Frank.
 
 While we're about joining, I'm sending this to Stefan Ulrich, the
 xdvik developer most interested in Debian.

Nice.

 This discussion is about including xdvi-search.el in a Debian package,
 which is unclear.

I think that xdvi-search.el has nothing to do with AUCTeX and only with
TeX.

Even if one doesn't know about the existence of AUCTeX, one may be
interested in using LaTeX documents with source specials and doing
forward/backward searches.

  Now that's funny.  I'm not an AucTex power user at all.  I don't
  tend to use the mode to run latex and bibtex on the file I edit (I
  use it mainly for font-lock, not too surprisingly).

That's indeed an underuse of AUCTeX.

  Now I see what I've been missing out on.

You should definitely check the manual. The pleasure of using (La)TeX is
immensely augmented by the proper use of AUCTeX and once you get used to
it, you'll never want to go back. Trust me.

BTW, I'd also recommend using it with RefTeX and with preview-latex, if
you have not used them yet.

  So given that fact, should I:
 
(...)
   or 2- Include it in emacs-goodies-el, but document in the Info file that
 this can also be done using auctex exclusively.
  The second option might serve to advertise auctex to potential new
  users, so I'd vote for that.

I'd vote for this one, without any questions. Perhaps a Suggests: auctex
would be a nice addition to the package.

 I'd also like to hear from the xdvik people what the file is meant for
 (Emacs' built in TeX mode?  Older AUCTeX versions?), and what they think
 about integration in AUCTeX/Emacs Goodies/Whatever.

I think that it can be used without any problems with Emacs's built-in
mode (even though I haven't tested that).

 ¹ did that work? there's no package tetex

It was added by Peter, but I followed suit and it didn't bound, at
least. :-)


Regards, Rogério Brito.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/



Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-11-03 Thread Peter S Galbraith
Rogério Brito [EMAIL PROTECTED] wrote:

 I think that xdvi-search.el has nothing to do with AUCTeX and only with
 TeX.
 
 Even if one doesn't know about the existence of AUCTeX, one may be
 interested in using LaTeX documents with source specials and doing
 forward/backward searches.

Agreed.
 
   Now that's funny.  I'm not an AucTex power user at all.  I don't
   tend to use the mode to run latex and bibtex on the file I edit (I
   use it mainly for font-lock, not too surprisingly).
 
 That's indeed an underuse of AUCTeX.

:-)

It's funny (and sad at the same time) because I'm the author of
font-latex.el and I'm still an (inactive) auctex developer.
 
   So given that fact, should I:
  
 (...)
or 2- Include it in emacs-goodies-el, but document in the Info file that
  this can also be done using auctex exclusively.
   The second option might serve to advertise auctex to potential new
   users, so I'd vote for that.
 
 I'd vote for this one, without any questions. Perhaps a Suggests: auctex
 would be a nice addition to the package.
 
  I'd also like to hear from the xdvik people what the file is meant for
  (Emacs' built in TeX mode?  Older AUCTeX versions?), and what they think
  about integration in AUCTeX/Emacs Goodies/Whatever.
 
 I think that it can be used without any problems with Emacs's built-in
 mode (even though I haven't tested that).

If I build the dvi file within auctex (with source specials enabled), i
can use `M-x xdvi-jump-to-line' to preview it at the current source
location.  So that works.  I think I just document how to make the dvi
file with source specials enabled (since I've only done that through
auctex as of now) and will include it in emacs-goodies-el.

  ¹ did that work? there's no package tetex
 
 It was added by Peter, but I followed suit and it didn't bound, at
 least. :-)

Sorry about that.

-- 
Peter S. Galbraith, Debian Developer  [EMAIL PROTECTED]
 http://people.debian.org/~psg
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE  6E68 8170 35FF 799E



Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-11-03 Thread Stefan Ulrich
Frank Küster [EMAIL PROTECTED] writes:

 I'd also like to hear from the xdvik people what the file is meant for
 (Emacs' built in TeX mode?  Older AUCTeX versions?), and what they think
 about integration in AUCTeX/Emacs Goodies/Whatever.

Thanks for CCing me on this - I didn't know that AUCTeX had support
for inverse search with xdvi. xdvi-search.el was written at the same
time as the inverse search support in xdvi(k), so naturally, AUCTeX
didn't have support for that feature back then ;-) If it does now,
it probably doesn't make sense to maintain a separate package like
xdvi-search.el any more. I would probably keep the version on
http://xdvi.sourceforge.net/xdvi-search.el
for reference only and update the xdvi documentation to point
to AUCTeX instead.

Best,
Stefan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-11-02 Thread Peter S Galbraith
Rogério Brito [EMAIL PROTECTED] wrote:

 Hi Peter and all others,
 
 On Oct 31 2005, Peter S Galbraith wrote:
  I am CC'ing this to interested parties, including
  debian-emacsen@lists.debian.org for discussion.
 
 Nice. I'm including debian-tetex-maint@lists.debian.org also, as they
 may have some insight in the situation.
 
  Rogério Brito [EMAIL PROTECTED] wrote:
   As you probably know, Emacs is used quite a lot by people that use LaTeX
   and in the usual workflow of generating a LaTeX document, one usually
   goes through the compilation of the source and then sees the output
   using a variety of modes, the most common of which is seeing a DVI
   output file.
   
   Since LaTeX supports source specials and the xdvi in current Debian
   versions support forward and backward searching, it would be a very good
   addition if the file xdvi-search.el could be added to the package
   emacs-goodies-el.
   
   The xdvi-search.el file can be obtained from:
   http://xdvi.sourceforge.net/xdvi-search.el.
  
  Thanks.  This would be useful to me also as I also use LaTeX.
  
  I just tried this at work on sarge and xdvi wasn't compiled with this
  support, so it didn't work.  I'll try it at home on unstable.
 
 Humm, this is actually quite strange, since I was using this
 Forward/Backward thing with sarge when it wasn't released (I'm always
 tracking testing, BTW).

 Do you use AUCTeX? Based on the fact that you included them on the CC,
 I'd assume that you do. With current AUCTeX, you have to compile the
 file with source specials and this can be achieved with C-c C-t C-s.

Thanks.  I had misundertood the error.  I didn't realise that the dvi
file could be built with this feature included or not.  It does works
after all.
 
  I wonder if users would be better served if this were included either
  in auctex or in some part of tetex (perhaps tetex-extra).  So my
  questions for everybody are:
 
 I think that forward/backward searching is independent of the use of
 AUCTeX (despite the fact that heavy LaTeX users use AUCTeX already,
 probably).
 
 I don't think that Frank Küster  Co. would like to include it in
 tetex-extra (I think that they would prefer it in an agnostic way, since
 Debian will soon have both teTeX and TeX Live on its repository).
 
 It might be a possibility to have xdvi-search.el on tex-common, though
 (which is the basic infra-structure package for the TeX distributions in
 Debian from now on).
 
  - Which package do you think xdvi-search.el should be added to?
 
 I'd still say that emacs-goodies-el is the strongest candidate of it
 all, but having it in tex-common might make sense (unless others are
 vehemently opposed to that).
 
  - If you maintain tetex or auctex, do you think it should o in your
package?   Are you willing to add it?
 
 Whatever is the decision, I think that it deserves to be more
 well-known for Emacs users.
 
 Oh, BTW, if I am not mistaken, kdvi (the dvi previewer for KDE) even has
 some tips and long explanations on how kdvi supports source specials.

I'm perfectly willing to add it to emacs-goodies-el and remove it later
if it gets added to tex-common.

Thanks!

Peter



Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-10-31 Thread Peter S Galbraith
I am CC'ing this to interested parties, including
debian-emacsen@lists.debian.org for discussion.

Rogério Brito [EMAIL PROTECTED] wrote:

 Package: emacs-goodies-el
 Version: 25.1-1
 Severity: wishlist
 
 As you probably know, Emacs is used quite a lot by people that use LaTeX
 and in the usual workflow of generating a LaTeX document, one usually
 goes through the compilation of the source and then sees the output
 using a variety of modes, the most common of which is seeing a DVI
 output file.
 
 Since LaTeX supports source specials and the xdvi in current Debian
 versions support forward and backward searching, it would be a very good
 addition if the file xdvi-search.el could be added to the package
 emacs-goodies-el.
 
 The xdvi-search.el file can be obtained from:
 http://xdvi.sourceforge.net/xdvi-search.el.

Thanks.  This would be useful to me also as I also use LaTeX.

I just tried this at work on sarge and xdvi wasn't compiled with this
support, so it didn't work.  I'll try it at home on unstable.

I wonder if users would be better served if this were included either in
auctex or in some part of tetex (perhaps tetex-extra).  So my questions
for everybody are:

- Which package do you think xdvi-search.el should be added to?

- If you maintain tetex or auctex, do you think it should o in your
  package?   Are you willing to add it?

Note: the author needs to run `M-x checkdoc' on it.  I'll file a bug
report at Sourceforge.
-- 
Peter



Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-10-31 Thread Rogério Brito
Hi Peter and all others,

On Oct 31 2005, Peter S Galbraith wrote:
 I am CC'ing this to interested parties, including
 debian-emacsen@lists.debian.org for discussion.

Nice. I'm including debian-tetex-maint@lists.debian.org also, as they
may have some insight in the situation.

 Rogério Brito [EMAIL PROTECTED] wrote:
  As you probably know, Emacs is used quite a lot by people that use LaTeX
  and in the usual workflow of generating a LaTeX document, one usually
  goes through the compilation of the source and then sees the output
  using a variety of modes, the most common of which is seeing a DVI
  output file.
  
  Since LaTeX supports source specials and the xdvi in current Debian
  versions support forward and backward searching, it would be a very good
  addition if the file xdvi-search.el could be added to the package
  emacs-goodies-el.
  
  The xdvi-search.el file can be obtained from:
  http://xdvi.sourceforge.net/xdvi-search.el.
 
 Thanks.  This would be useful to me also as I also use LaTeX.
 
 I just tried this at work on sarge and xdvi wasn't compiled with this
 support, so it didn't work.  I'll try it at home on unstable.

Humm, this is actually quite strange, since I was using this
Forward/Backward thing with sarge when it wasn't released (I'm always
tracking testing, BTW).

Do you use AUCTeX? Based on the fact that you included them on the CC,
I'd assume that you do. With current AUCTeX, you have to compile the
file with source specials and this can be achieved with C-c C-t C-s.

Then, from that moment on, you can go to the desired point in xdvi just
by typing something like C-c h; I included this in my .emacs so that I
can use forward/backward searching:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; To enable forward-search with xdvi(k)
(add-to-list 'load-path (expand-file-name ~/.emacs.d/))
(require 'xdvi-search)
(add-hook 'LaTeX-mode-hook (lambda ()
 (outline-minor-mode)
 (reftex-mode)
 (setq reftex-plug-into-AUCTeX t)
 (local-set-key \C-ch 'xdvi-jump-to-line)))

; to avoid clash with prefix of auctex
(setq outline-minor-mode-prefix \C-c\C-o)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

The 'load-path thing that you see is just because I currently keep my
xdvi-search.el inside of the ~/.emacs.d/ directory.

I also have this on my .Xdefaults file, BTW:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
!!! XDvi
xdvi*highlight: red
xdvi*keepPosition:  True
xdvi.wwwBrowser:loadurl
xdvi.shrinkFactor:  4
xdvi.expert:True
xdvi.paper: a4
!xdvi.editor:   gnuclient -q +%l %f
xdvi.editor:emacsclient --no-wait +%l %f
!xdvi.mfMode:ljfour:1200
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Feel free to grab whatever you want from it.

 I wonder if users would be better served if this were included either
 in auctex or in some part of tetex (perhaps tetex-extra).  So my
 questions for everybody are:

I think that forward/backward searching is independent of the use of
AUCTeX (despite the fact that heavy LaTeX users use AUCTeX already,
probably).

I don't think that Frank Küster  Co. would like to include it in
tetex-extra (I think that they would prefer it in an agnostic way, since
Debian will soon have both teTeX and TeX Live on its repository).

It might be a possibility to have xdvi-search.el on tex-common, though
(which is the basic infra-structure package for the TeX distributions in
Debian from now on).

 - Which package do you think xdvi-search.el should be added to?

I'd still say that emacs-goodies-el is the strongest candidate of it
all, but having it in tex-common might make sense (unless others are
vehemently opposed to that).

 - If you maintain tetex or auctex, do you think it should o in your
   package?   Are you willing to add it?

Whatever is the decision, I think that it deserves to be more
well-known for Emacs users.

Oh, BTW, if I am not mistaken, kdvi (the dvi previewer for KDE) even has
some tips and long explanations on how kdvi supports source specials.

 Note: the author needs to run `M-x checkdoc' on it.  I'll file a bug
 report at Sourceforge.

Nice. I didn't know about the existence of checkdoc. :-)


Regards, Rogério.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/



Bug#336400: emacs-goodies-el: please add xdvi-search.el

2005-10-29 Thread Rogério Brito
Package: emacs-goodies-el
Version: 25.1-1
Severity: wishlist

Hi there. A second request filed separately from the first one.

As you probably know, Emacs is used quite a lot by people that use LaTeX
and in the usual workflow of generating a LaTeX document, one usually
goes through the compilation of the source and then sees the output
using a variety of modes, the most common of which is seeing a DVI
output file.

Since LaTeX supports source specials and the xdvi in current Debian
versions support forward and backward searching, it would be a very good
addition if the file xdvi-search.el could be added to the package
emacs-goodies-el.

The xdvi-search.el file can be obtained from:
http://xdvi.sourceforge.net/xdvi-search.el.


Thanks in advance, Rogério Brito.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14-rc5-2
Locale: LANG=C, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages emacs-goodies-el depends on:
ii  bash  3.0-17 The GNU Bourne Again SHell
ii  emacs21 [emacsen] 21.4a-1The GNU Emacs editor

Versions of packages emacs-goodies-el recommends:
ii  dict  1.9.15-1   Dictionary Client
pn  perl-doc  none (no description available)
ii  wget  1.10.2-1   retrieves files from the web

-- no debconf information

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/