You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Faheem Mitha <fa...@email.unc.edu> on 2003/04/26 03:17:12 UTC

subversion: problems using preview-latex with files checked out from subversion repository

Dear People,

Hi, sorry, it's me again. I seem to have stumbled across a rather obscure
bug. This seems to involve some kind of collision between the emacs lisp
package preview-latex, which is for editing latex files, and the emacs
support for subversion. See the bug report I just sent to Debian below.

I am not sure if the emacs support for subversion is an official part of
the subversion project, but I'm writing in case anyone has any ideas about
this. As I state in the bug report below, the easiest thing to do would
probably to switch off emacs support for subversion, except that I have no
idea how to do this. I certainly didn't turn anything on myself.

                                             Faheem.


---------- Forwarded message ----------
Date: Fri, 25 Apr 2003 23:03:45 -0400
From: Faheem Mitha <fa...@email.unc.edu>
To: Debian Bug Tracking System <su...@bugs.debian.org>
Subject: subversion: problems using preview-latex with files checked out
    from subversion repository

Package: subversion
Version: 0.21.0-0.woody.1
Severity: normal

Hi,

I seem to have run across a rather obscure bug. For this one to show up, you
need to have preview-latex installed, and be using it on a latex file
checked out from a subversion repository.

On trying to run preview-latex commands like "C-p C-p" or "C-p C-r", I see
in the minibuffer the error

"cond: Couldn't parse output from svn status -v'"

Strangely enough, running "C-p C-d" gives no problem.

This is presumably somehow caused by emacs support for subversion. I guess a
workaround would be to turn off emacs support for subversion, which I am not
using anyway. Could you tell me how to do that?

Thanks.

                                                    Faheem.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux Chrestomanci 2.4.17 #1 Mon Jun 24 18:03:29 EDT 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages subversion depends on:
ii  db4.1-util              4.1.25-4         Berkeley v4.1 Database Utilities
ii  libapr0                 2.0.45-2.woody.2 The Apache Portable Runtime
ii  libc6                   2.3.1-16         GNU C Library: Shared libraries an
ii  libdb4.1                4.1.25-4         Berkeley v4.1 Database Libraries [
ii  libexpat1               1.95.6-4         XML parsing C library - runtime li
ii  libgdbmg1               1.7.3-27.1       GNU dbm database routines (runtime
ii  libldap2                2.0.27-4         OpenLDAP libraries (without TLS su
ii  libneon23               0.23.8-1         An HTTP and WebDAV client library
ii  libsasl7                1.5.27-3.5       Authentication abstraction library
ii  libssl0.9.6             0.9.6j-1         SSL shared libraries (old version)
ii  libsvn0                 0.21.0-0.woody.1 Subversion shared libraries - in d
ii  libxml2                 2.5.4-1          GNOME XML library
ii  patch                   2.5.4-11         Apply a diff file to an original
ii  zlib1g                  1:1.1.4-11       compression library - runtime

-- no debconf information


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion: problems using preview-latex with files checked out from subversion repository

Posted by kf...@collab.net.
David Kimdon <dw...@debian.org> writes:
> As a non-emacs user and the Debian maintainer of subversion I'd like
> any advice anyone has to provide on the subject of these files.
> (Should I have these things autoloaded, just leave it up to users or
> system administrators to enable them but leave them _almost_ setup).
> The scripts were installed as a result of the following bugs.
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=184032&archive=yes
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185130&archive=yes

The best thing right now would be for the scripts to be in Emacs'
load-path by default, but not activated.  For example, if a Debian
user wanted to actually use vc-svn.el, she would have to put

   (add-to-list 'vc-handled-backends 'SVN)

in her .emacs (or, as you point out, the system administrator could do
something to make it happen for all users).

The reason not to activate them yet is that they still have bugs, and
in some cases those bugs have interfered with Emacs' normal
operations.  Someday, when the files have been better exercised, they
can get installed by default (or, they'll just be part of Emacs
anyway).

Just my $0.02,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion: problems using preview-latex with files checked out from subversion repository

Posted by David Kimdon <dw...@debian.org>.
On Wed, Apr 30, 2003 at 08:03:05PM -0400, Stefan Monnier wrote:
> >>>>> "Faheem" == Faheem Mitha <fa...@email.unc.edu> writes:
> > this. As I state in the bug report below, the easiest thing to do would
> > probably to switch off emacs support for subversion, except that I have no
> > idea how to do this. I certainly didn't turn anything on myself.
> 
> Placing the vc-svn.el in the emacs lisp path is harmless, but
> it seems that Debian also "activates" it by adding SVN to
> vc-handled-backends.

As a non-emacs user and the Debian maintainer of subversion I'd like
any advice anyone has to provide on the subject of these files.
(Should I have these things autoloaded, just leave it up to users or
system administrators to enable them but leave them _almost_ setup).
The scripts were installed as a result of the following bugs.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=184032&archive=yes
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185130&archive=yes

Thanks for your time,

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion: problems using preview-latex with files checked out from subversion repository

Posted by Stefan Monnier <mo...@rum.cs.yale.edu>.
>>>>> "Faheem" == Faheem Mitha <fa...@email.unc.edu> writes:
> this. As I state in the bug report below, the easiest thing to do would
> probably to switch off emacs support for subversion, except that I have no
> idea how to do this. I certainly didn't turn anything on myself.

Placing the vc-svn.el in the emacs lisp path is harmless, but
it seems that Debian also "activates" it by adding SVN to
vc-handled-backends.

If you don't want it, you can do something like

   (setq vc-handled-backends (delq 'SVN vc-handled-backends))

in your .emacs although I'd recommend against it since if it ever bothers
you, it should be considered as a bug and we'd then want to hear about it.


        Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion: problems using preview-latex with files checked out from subversion repository

Posted by kf...@collab.net.
Faheem Mitha <fa...@email.unc.edu> writes:
> Hi, sorry, it's me again. I seem to have stumbled across a rather obscure
> bug. This seems to involve some kind of collision between the emacs lisp
> package preview-latex, which is for editing latex files, and the emacs
> support for subversion. See the bug report I just sent to Debian below.
> 
> I am not sure if the emacs support for subversion is an official part of
> the subversion project, but I'm writing in case anyone has any ideas about
> this. As I state in the bug report below, the easiest thing to do would
> probably to switch off emacs support for subversion, except that I have no
> idea how to do this. I certainly didn't turn anything on myself.

Yah, we didn't turn it on for you either :-).  The Debian svn package
must be installing vc-svn.el into the system's Emacs init files when
it installs.  The Emacs support is not an official part of the
project, but we do have it in our tree and try to keep it up-to-date.

I've committed Jeffrey Ollie's fix for this particular problem (see
http://subversion.tigris.org/issues/show_bug.cgi?id=1257 for details),
but I don't know how long it will take for that fix to propagate to
Debian.  Not installing vc-svn.el would be another solution.

-Karl


> ---------- Forwarded message ----------
> Date: Fri, 25 Apr 2003 23:03:45 -0400
> From: Faheem Mitha <fa...@email.unc.edu>
> To: Debian Bug Tracking System <su...@bugs.debian.org>
> Subject: subversion: problems using preview-latex with files checked out
>     from subversion repository
> 
> Package: subversion
> Version: 0.21.0-0.woody.1
> Severity: normal
> 
> Hi,
> 
> I seem to have run across a rather obscure bug. For this one to show up, you
> need to have preview-latex installed, and be using it on a latex file
> checked out from a subversion repository.
> 
> On trying to run preview-latex commands like "C-p C-p" or "C-p C-r", I see
> in the minibuffer the error
> 
> "cond: Couldn't parse output from svn status -v'"
> 
> Strangely enough, running "C-p C-d" gives no problem.
> 
> This is presumably somehow caused by emacs support for subversion. I guess a
> workaround would be to turn off emacs support for subversion, which I am not
> using anyway. Could you tell me how to do that?
> 
> Thanks.
> 
>                                                     Faheem.
> 
> -- System Information:
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux Chrestomanci 2.4.17 #1 Mon Jun 24 18:03:29 EDT 2002 i686
> Locale: LANG=C, LC_CTYPE=C
> 
> Versions of packages subversion depends on:
> ii  db4.1-util              4.1.25-4         Berkeley v4.1 Database Utilities
> ii  libapr0                 2.0.45-2.woody.2 The Apache Portable Runtime
> ii  libc6                   2.3.1-16         GNU C Library: Shared libraries an
> ii  libdb4.1                4.1.25-4         Berkeley v4.1 Database Libraries [
> ii  libexpat1               1.95.6-4         XML parsing C library - runtime li
> ii  libgdbmg1               1.7.3-27.1       GNU dbm database routines (runtime
> ii  libldap2                2.0.27-4         OpenLDAP libraries (without TLS su
> ii  libneon23               0.23.8-1         An HTTP and WebDAV client library
> ii  libsasl7                1.5.27-3.5       Authentication abstraction library
> ii  libssl0.9.6             0.9.6j-1         SSL shared libraries (old version)
> ii  libsvn0                 0.21.0-0.woody.1 Subversion shared libraries - in d
> ii  libxml2                 2.5.4-1          GNOME XML library
> ii  patch                   2.5.4-11         Apply a diff file to an original
> ii  zlib1g                  1:1.1.4-11       compression library - runtime
> 
> -- no debconf information
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org