From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: bookmark+ veeery slow Date: Fri, 28 Feb 2014 09:05:29 -0800 (PST) Message-ID: <3a341803-7528-435a-9e60-fc8a201e61a6@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1393607167 2770 80.91.229.3 (28 Feb 2014 17:06:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2014 17:06:07 +0000 (UTC) To: Rainer Stengele , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 28 18:06:15 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WJQt4-0007VY-QO for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 18:06:15 +0100 Original-Received: from localhost ([::1]:52339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJQt4-000775-9E for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 12:06:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJQsY-0006kQ-2r for help-gnu-emacs@gnu.org; Fri, 28 Feb 2014 12:05:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJQsQ-0007IE-88 for help-gnu-emacs@gnu.org; Fri, 28 Feb 2014 12:05:41 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:36271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJQsP-0007I3-Sv for help-gnu-emacs@gnu.org; Fri, 28 Feb 2014 12:05:34 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1SH5VaQ026899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Feb 2014 17:05:32 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1SH5UwO007862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Feb 2014 17:05:31 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1SH5UZ3017099; Fri, 28 Feb 2014 17:05:30 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96223 Archived-At: > I used to use bookmark+ until the display (update) of the bookmark list > became very very slow. > Also the jumping to bookmarks (C-x r b) is unusable slow. > Today I updated all .el files from http://www.emacswiki.org/BookmarkPlus = but > that did not improve it. > I wondered if it is in my bookmarks and looked around, removed some plink > entries (I am on windows 7) but no luck. > Finally I renamed the bookmark+.el file and restarted. > "Standard" bookmarks work as fast as always. > I also use icicles which I also updated today. > I run emacs 24.3.50.1. > Any idea what I could do to get back the nice bookmark+ features? It is better to take this off list, to discuss, investigate etc. You can then report back to the list, if you like. --- You will need to be more specific wrt what is slow - a recipe, for example. Include any Bookmark+ option settings you use. Include a sample bookmark file (you can redact any personal info etc.) and a sample bookmark-list state file - the smaller the better, provided they still manifest the slowness. Performance of bookmark-list display and jumping to a bookmark are quite different. Please include a recipe for each. For recipes etc. try to remove other stuff (e.g. Icicles) from the equation. Keep it simple - that will save you and me time discovering what the problems are. --- Here are some things to check or consider wrt slowness. In general, sorting many bookmarks and writing to disk are inherently slow. Start with those things when investigating. You can tell Bookmark+ when to do those things or not to do those things at all, etc. Check your value of `bookmark-save-flag'. Saving your bookmark file or your bookmark-list state file can be slow if the file is large. You can toggle `bookmark-save-flag' using `M-~' (in the bookmark list). And you can of course set the value to a larger count. If your bookmark file is large, consider whether you might prefer to use two or more smaller bookmark files instead, i.e., for different uses/contexts. By default, Bookmark+ saves propertized bookmarks. If you do not make use of this feature (which allows, e.g., circular Lisp data and multiple bookmarks that have the same name (but with other info being different)) then you can customize `bmkp-propertize-bookmark-names-flag' to nil, to strip text properties for saving bookmarks to disk. (Multiple bookmarks with the same name are important for autofile bookmarks because the bookmark name is only the non-directory part of the file name. This feature lets you have different autofile bookmarks for files of the same name in different directories.) Do you use automatic bookmarking (`bmkp(-global)-auto-idle-bookmark-mode')? If so, try turning it off. You can turn off sorting in the bookmark list by default, if you find that updating the list is slow: customize option `bmkp-sort-comparer' to nil. Or customize option `bmkp-sort-orders-alist' or `bmkp-sort-orders-for-cycling-alist'. Is option `bmkp-bmenu-omitted-bookmarks' non-nil? Is either `bmkp-bmenu-state-file' or `bmkp-bmenu-commands-file' large? You can set them to nil. Especially the former, if bookmark-list display/updating is slow. You can also just toggle whether to save the state file, to check whether that is a performance problem: `C-M-~'. And you can save it manually, using `M-x bmkp-save-menu-list-state', to check how slow it is. You can toggle whether setting a bookmark should automatically refresh the saved copy of the latest bookmark-list display: `M-x bmkp-toggle-bookmark-set-refreshes'. Check whether you experience a slowdown from bookmark highlighting: Remove bookmark+-lit.el from your load-path, to check. You can turn off automatic-highlighting options: `bmkp-auto-light-when-set'= , `bmkp-auto-light-when-jump', `bmkp-auto-light-relocate-when-jump-flag'.=20 `?' in the bookmark-list display gives you more info about options etc.