From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Advice on studying Emacs Lisp files Date: Sat, 24 Jan 2015 12:57:01 +0100 Message-ID: <87lhksgzn6.fsf@wmi.amu.edu.pl> 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 X-Trace: ger.gmane.org 1422100656 30145 80.91.229.3 (24 Jan 2015 11:57:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2015 11:57:36 +0000 (UTC) To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 24 12:57:36 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 1YEzLH-0005oU-Gr for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jan 2015 12:57:31 +0100 Original-Received: from localhost ([::1]:34699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEzLG-00079Z-Rn for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jan 2015 06:57:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEzL2-00079U-8k for help-gnu-emacs@gnu.org; Sat, 24 Jan 2015 06:57:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEzKz-0000SC-2Q for help-gnu-emacs@gnu.org; Sat, 24 Jan 2015 06:57:16 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:43730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEzKy-0000Rs-Rl for help-gnu-emacs@gnu.org; Sat, 24 Jan 2015 06:57:12 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 2B49A4AC4F for ; Sat, 24 Jan 2015 12:57:10 +0100 (CET) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tc+wWDj+-RHM for ; Sat, 24 Jan 2015 12:57:10 +0100 (CET) Original-Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id AAF124AC42 for ; Sat, 24 Jan 2015 12:57:09 +0100 (CET) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:808:114:2::50 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:102238 Archived-At: On 2015-01-24, at 00:38, Drew Adams wrote: >> > 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. >> >> 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? Two of them are not interactive. > 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. ;-) I see. I'll update my install. >> 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'). What I meant was that I want the bookmarks to be highlighted as soon as I visit the file. > 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. Yes. I do not intend to use bookmarks very heavily (i.e., not too many of them), and I'd like them to be highlighted by default, without any explicit action. > IMO, highlighting is most helpful for bookmarks in the current > buffer, in particular for autonamed bookmarks or when cycling > among bookmarks in the buffer. Yes. However, this seems to be a tautology: I'm *always* in the "current buffer"! Also, I want to use bookmarks to, well, mark places I consider bugs, for instance. I'd like to *see* them even when just scrolling through the buffer. Thanks again! -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University