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: Advice on studying Emacs Lisp files Date: Fri, 23 Jan 2015 15:38:32 -0800 (PST) Message-ID: References: <87fvbdhvpv.fsf@wmi.amu.edu.pl> <87d26hhuk3.fsf@wmi.amu.edu.pl> <87lhl1h3gm.fsf@wmi.amu.edu.pl> <3ae6cdef-c0a6-4064-83f5-f14f23fe0ad9@default> <87vbjxgkrn.fsf@wmi.amu.edu.pl> 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 1422056341 30673 80.91.229.3 (23 Jan 2015 23:39:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 23:39:01 +0000 (UTC) To: Marcin Borkowski , Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 24 00:39:00 2015 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 1YEnoU-00054V-Ng for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jan 2015 00:38:54 +0100 Original-Received: from localhost ([::1]:33559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEnoT-0002Z5-RR for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2015 18:38:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEnoH-0002Z0-At for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 18:38:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEnoC-0007cz-96 for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 18:38:41 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:45969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEnoC-0007ct-33 for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 18:38:36 -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 t0NNcYmB026919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 23 Jan 2015 23:38:34 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0NNcXNS016132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 23 Jan 2015 23:38:33 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0NNcXYA016120; Fri, 23 Jan 2015 23:38:33 GMT In-Reply-To: <87vbjxgkrn.fsf@wmi.amu.edu.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.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:102235 Archived-At: > > 1. See standard options `bookmark-use-annotations' and > > `bookmark-automatically-show-annotations'. >=20 > Thanks! BTW, the latter one seems to be `t' by default. That is the vanilla Emacs default. I generally leave such things alone. All of the vanilla options (i.e., `bookmark-*') are left alone. Bookmark+ option names have the prefix `bmkp-'. > > 2. In Bookmark+, standard functions `bookmark-edit-annotation', > > `bookmark-show-annotation', and `bookmark-show-all-annotations' are > > also commands. The first two prompt you for the name of an annotated > > bookmark (with completion) and then show you the annotation. >=20 > This does not seem to be the case for the latter two functions. (I have > bookmark+ from the Git repo mentioned on the EW page.) What does not seem to be the case - they are not commands or they do not prompt you as I said? Anyway, both claims should hold. I suspect that you do not have the latest source files. The latest files are always on Emacs Wiki. I cannot speak to when or how successfully mirroring happens. ;-) =20 > > option `bmkp-light-style-non-automated' and/or option > ^^^^^^^^^ autonamed, of course Yes, that's what I meant. > > `bmkp-light-style-autonamed'. The latter is for autonamed > > bookmarks; the former is for all other kinds of bookmarks. >=20 > Is it a good idea to run bmkp-light-bookmarks in a hook or something, > so that the bookmarks ale always visible, or can it e.g. degrade > performance? There are options for highlighting all bookmarks or particular kinds of bookmarks automatically when you jump to or set a bookmark: `bmkp-auto-light-when-jump' and `bmkp-auto-light-when-set'. You generally do not need to fiddle with hooks (in particular, hooks `bookmark-after-jump-hook' and `bmkp-after-set-hook'). Option `bmkp-light-threshold' controls the number of bookmark highlights. I doubt that performance will be affected in any noticeable way. It is more a question of what you find helpful vs what you find annoying. Different strokes for different folks. IMO, highlighting is most helpful for bookmarks in the current buffer, in particular for autonamed bookmarks or when cycling among bookmarks in the buffer. > As for the other suggestion: I decided to write here anyway, someone > might be interested in this, too. Also, once I figure out a workflow > for my use case, I intend to describe it on my site. Thanks a lot You're welcome.