[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sudden jumping point in buffer. Probably a bug?
From: |
Stefan-W. Hahn |
Subject: |
Re: Sudden jumping point in buffer. Probably a bug? |
Date: |
Fri, 1 Jan 2016 21:02:39 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Mail von Stefan-W. Hahn, Thu, 31 Dec 2015 at 14:04:18 +0100:
> Mail von Stefan-W. Hahn, Tue, 24 Nov 2015 at 20:07:22 +0100:
Hello,
I filed a bug with further investigations, but got no response, the Bug
Tracker Server seems to be down.
I found a workaround which seems to work, but the reason is not clear:
diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el
index e4ac56c..3dd9bcd 100644
--- a/lisp/cedet/semantic/db.el
+++ b/lisp/cedet/semantic/db.el
@@ -724,12 +724,13 @@ semanticdb-save-all-db-idle
Exit the save between databases if there is user input."
(semantic-safe "Auto-DB Save: %S"
;; FIXME: Use `while-no-input'?
- (semantic-exit-on-input 'semanticdb-idle-save
- (mapc (lambda (db)
- (semantic-throw-on-input 'semanticdb-idle-save)
- (semanticdb-save-db db t))
- semanticdb-database-list))
- ))
+ (save-excursion
+ (semantic-exit-on-input 'semanticdb-idle-save
+ (mapc (lambda (db)
+ (semantic-throw-on-input 'semanticdb-idle-save)
+ (semanticdb-save-db db t))
+ semanticdb-database-list))
+ )))
;;; Directory Project support
;;
With kind regards,
Stefan
--
Stefan-W. Hahn It is easy to make things.
It is hard to make things simple.
- Re: Sudden jumping point in buffer. Probably a bug?,
Stefan-W. Hahn <=