From: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
To: Dmitry Gutov <dgutov@yandex.ru>, Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Sudden jumping point in buffer. Probably a bug?
Date: Fri, 1 Jan 2016 21:02:39 +0100 [thread overview]
Message-ID: <20160101200239.GB14391@scotty.home> (raw)
In-Reply-To: <20151231130418.GA16388@scotty.home>
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.
next prev parent reply other threads:[~2016-01-01 20:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 18:35 Sudden jumping point in buffer. Probably a bug? Stefan-W. Hahn
2015-11-18 18:38 ` Stefan-W. Hahn
2015-11-18 18:49 ` Eli Zaretskii
2015-11-18 18:57 ` Dmitry Gutov
2015-11-18 19:01 ` Dmitry Gutov
2015-11-19 10:18 ` Phillip Lord
2015-11-24 19:07 ` Stefan-W. Hahn
2015-12-31 13:04 ` Stefan-W. Hahn
2015-12-31 13:18 ` Stefan-W. Hahn
2016-01-02 9:14 ` Stefan-W. Hahn
2016-01-01 20:02 ` Stefan-W. Hahn [this message]
2016-01-01 20:32 ` Eli Zaretskii
2016-01-01 22:27 ` David Engster
2015-11-18 19:31 ` Stefan-W. Hahn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160101200239.GB14391@scotty.home \
--to=stefan.hahn@s-hahn.de \
--cc=dgutov@yandex.ru \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).