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 00:06:04 +0100 Message-ID: <87vbjxgkrn.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422054404 970 80.91.229.3 (23 Jan 2015 23:06:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 23:06:44 +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 00:06:44 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 1YEnJL-0007eT-79 for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jan 2015 00:06:43 +0100 Original-Received: from localhost ([::1]:33469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEnJK-00011s-CC for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2015 18:06:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEnJ3-0000yn-C9 for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 18:06:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEnJ0-0004FD-31 for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 18:06:25 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:53346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEnIz-0004Ex-On for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 18:06:22 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 37FA84AC58 for ; Sat, 24 Jan 2015 00:06:19 +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 vNDNDRi2LwWc for ; Sat, 24 Jan 2015 00:06:19 +0100 (CET) Original-Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id A443A4AC45 for ; Sat, 24 Jan 2015 00:06:18 +0100 (CET) In-reply-to: <3ae6cdef-c0a6-4064-83f5-f14f23fe0ad9@default> 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:102233 Archived-At: On 2015-01-17, at 21:32, Drew Adams wrote: >> >> >> I'd like to take notes while I'm studying... I don't want to make my >> >> >> notes in the files themselves (as comments)... >> >> > >> >> > You can bookmark locations, and use annotations for your notes. >> >> > If you use Bookmark+ then you can use Org mode for the annotations. >> >> >> >> ...visible in the buffer they point to. >> > >> > If you use Bookmark+ then you can make bookmark locations be >> > highlighted in various ways. This is optional. >> > http://www.emacswiki.org/emacs/BookmarkPlus#HighlightingBookmarkLocations >> >> Wow, that is impressive. I have one problem though: how to >> create/edit/view annotations for bookmarks /without/ using the >> bookmark list? I.e., for the bookmark at point or something? > > 1. See standard options `bookmark-use-annotations' and > `bookmark-automatically-show-annotations'. Thanks! BTW, the latter one seems to be `t' by default. > 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.) > With a prefix arg, `bookmark-edit-annotation' lets you choose any > bookmark, so you can add an annotation to an unannotated bookmark. > Otherwise, it lets you choose an annotated bookmark, to edit the > annotation. > > You can also use command `bmkp-annotate-bookmark' to add or edit > an annotation, instead of using `bookmark-edit-annotation' with a > prefix arg. Thanks. I'll have to digest everything here slowly and mold it into my workflow. >> Also, how to set (in init.el) the default way for highlighting >> bookmarks? I'd prefer the "right fringe" style and not the "right >> fringe + line" one. > > Customize option `bmkp-light-style-non-automated' and/or option ^^^^^^^^^ autonamed, of course > `bmkp-light-style-autonamed'. The latter is for autonamed > bookmarks; the former is for all other kinds of bookmarks. 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? >> Also, I've set bmkp-crosshairs-flag to t, but cannot see the >> crosshairs. (I have the necessary libraries installed). This is >> probably too vague anyway, I'll try to look into this problem myself. > > Yes, too vague. Recursively bisect your init file until you find the > culprit. Ask yourself first whether crosshairs highlighting works > elsewhere, i.e., whether your problem arises only for indicating > bookmark destinations or is more general. I disabled crosshairs altogether, it seems that it doesn't really do any good to me. > Please download the latest files for Bookmark+. You can follow up > with me off list for any such questions, if you like. As above: I used the git repo. 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, -- Marcin Borkowski This email was proudly sent http://mbork.pl from my Emacs.