Screen updating bug in psvn after Feisty upgrade

Bug #113977 reported by era
4
Affects Status Importance Assigned to Milestone
subversion (Debian)
Fix Released
Unknown
subversion (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: subversion

After I upgraded from Edgy to Feisty, the psvn Emacs package is tricky to use because of a screen display updating bug of some sort.

To repro, change some svn-controlled files and do M-x svn-status

Because I have many files, I choose to hide the ones which are not changed. You can do this with the "_" key in the *svn-status* buffer; it appears that this is required in order to repro the bug.

Initially, the current directory "." is visible in the listing. But when I tag some files for check-in with "m" it disappears, and the buffer display goes out of sync with the cursor. More specifically, some buffer operations are carried out on the line before the cursor, not on the line where the cursor is (for example, the "m" and "u" keys). Occasionally the result will be a beep and the message "End of buffer" in the minibuffer.

As a workaround, if you press the "g" key, the buffer's contents will be synchronized until you do more operations which cause the sync to be lost (again, this includes at least "m" and "u").

Revision history for this message
era (era) wrote :

I'm adding a screen shot. You'll note that the file ChangeLog is shown twice because of this glitch, once from the original unmarked buffer and a newer one in green, marked with an asterisk as the result of my pressing the "m" key.

Version information:

vnix$ locate psvn.el | xargs dlocate -S
subversion: /etc/emacs/site-start.d/50psvn.el
subversion: /usr/share/emacs/site-lisp/psvn.el

vnix$ dpkg -l subversion
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii subversion 1.4.3dfsg1-1ub Advanced version control system

Revision history for this message
era (era) wrote :

This might be relevant, too:

vnix$ dpkg -l emacs21
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii emacs21 21.4a+1-2ubunt The GNU Emacs editor

Revision history for this message
era (era) wrote :

Argh, that's subversion package version 1.4.3dfsg1-1ubuntu1 and emacs version 21.4a+1-2ubuntu1
... Sorry

Revision history for this message
Tom Green (tom-slaxicon) wrote :

I am having the exact same problem on a clean Feisty install:
emacs 21.4a+1-2ubuntu1
subversion 1.4.3dfsg1-1ubuntu1

The thing is, I used to get this problem in dapper, but I did something to make it go away. I wish I could now remember what that something was...

Revision history for this message
Tom Green (tom-slaxicon) wrote :

Well, as a workaround for my own sanity, I just copied the newest psvn.el (get it at http://www.xsteve.at/prg/emacs/psvn.el) over the ubuntu-supplied /usr/share/emacs/site-lisp/psvn.el (make a backup first of course), and now the problem is solved. (I byte-compiled the file too for speed). This works for me, but obviously it is not great since it overrides an apt-managed file...

Changed in subversion:
status: Unknown → New
Revision history for this message
era (era) wrote :

@Tom Green: No need to overwrite; just put it in a personal directory of yours which comes before /usr/share/emacs/site-lisp in your load-path.

Revision history for this message
era (era) wrote :

I thought I read somewhere that this would be fixed in Gutsy, but I'm still seeing it, in emacs22 on a system upgraded from ... I dunno, originally Edgy installation I guess?

Changed in subversion:
status: New → Fix Released
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta?

Changed in subversion:
status: New → Incomplete
Revision history for this message
era (era) wrote :

Looks like it's fixed in subversion 1.5.1dfsg1-1ubuntu2 (tested on Intrepid amd64 with emacs22-gtk).

Changed in subversion:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.