ghoshi / annot Goto Github PK
View Code? Open in Web Editor NEWannot.el - a global annotator/highlighter for GNU Emacs
annot.el - a global annotator/highlighter for GNU Emacs
Sorry, I did not see a way to enter this question in the Wiki tab page.
So I hope it is OK to ask this question here.
The scenario is after annotating a source code file, it would be nice if I
can see the same annotations from another machine, so long as I can copy the
.annot directory.
Thanks,
Original issue reported on code.google.com by [email protected]
on 1 Apr 2011 at 11:56
If a file has been changed outside of emacs, duplicate annotations appear when reloading the file.
When creating a multi-line annotation, there's no way to hide or collapse it,
to get it out of the way, when I'm interested in seeing only the underlying
source material.
* What steps will reproduce the problem?
1. Create a new annotation that's several lines long (use C-j or C-m to add new
lines).
2. Verify that the annotation spans multiple lines.
3. Verify that the annotation cannot be collapsed to a single line, or hidden.
* What version of the product are you using? On what operating system?
Revision 45, Cygwin.
Original issue reported on code.google.com by [email protected]
on 17 Aug 2012 at 3:48
What steps will reproduce the problem?
1. (require 'annot)
2. Try to use various keybindings that use C-x r or C-x a as a prefix
3. annot.el keybinding short circuits those keybindings.
C-x r is the prefix for all register, rectangular editing, and bookmarking
commands.
C-x a is the prefix for abbreviation commands.
You can check to see if a prefix is in use by typing PREFIX C-h. E.g. C-x r C-h.
Please see this link which documents emacs keybinding conventions:
http://www.gnu.org/software/emacs/elisp/html_node/Key-Binding-Conventions.html
For minor modes the best thing to do is usually to either follow those
conventions or don't bind any keys by default. The user has keybindings of the
form:
C-c a
C-c b
...
C-c z
reserved for his own use (i.e. modes aren't supposed to use those).
Here is a complete list of commands blocked by annot.el.
C-x r C-@ point-to-register
C-x r SPC point-to-register
C-x r + increment-register
C-x r N rectangle-number-lines
C-x r b bookmark-jump
C-x r c clear-rectangle
C-x r d delete-rectangle
C-x r f frame-configuration-to-register
C-x r g insert-register
C-x r i insert-register
C-x r j jump-to-register
C-x r k kill-rectangle
C-x r l bookmark-bmenu-list
C-x r m bookmark-set
C-x r n number-to-register
C-x r o open-rectangle
C-x r r copy-rectangle-to-register
C-x r s copy-to-register
C-x r t string-rectangle
C-x r w window-configuration-to-register
C-x r x copy-to-register
C-x r y yank-rectangle
C-x r C-SPC point-to-register
C-x a C-a add-mode-abbrev
C-x a ' expand-abbrev
C-x a + add-mode-abbrev
C-x a - inverse-add-global-abbrev
C-x a e expand-abbrev
C-x a g add-global-abbrev
C-x a i Prefix Command
C-x a l add-mode-abbrev
C-x a n expand-jump-to-next-slot
C-x a p expand-jump-to-previous-slot
C-x a i g inverse-add-global-abbrev
C-x a i l inverse-add-mode-abbrev
Original issue reported on code.google.com by [email protected]
on 28 Oct 2011 at 12:10
I was wondering if you've given thought to having this as a minor-mode? It
could be done such that there is a global option, too, much like font-lock
(local or global). I'd be happy to help out in adapting it.
Original issue reported on code.google.com by [email protected]
on 8 Feb 2011 at 2:49
annot.el would be really nice for making reviews of files. For the review
meeting it would be nice if one could have an overview of all annotations over
different files. For this purpose it would be really nice to have an annotation
browser, which shows the file name, the line number and the annotation (or a
preview of the annotation in case it is a multiline one). Easiest case it could
use grep-mode ...
Nice mode otherwise, thanks!
Daniel
Original issue reported on code.google.com by [email protected]
on 7 Apr 2011 at 12:21
Hi, just found this great package. But what I wanted was a tool to convert a
section of text into an annotation (the idea is, I can add random notes in a
file, then before checking it in convert them to annotations so they don't
bother other people).
Couldn't find an existing way to do that, so ere's my quick hack:
(defun annot-convert (start end)
"Convert region to annotation"
(interactive "r")
(let ((annot (buffer-substring start end)))
(kill-region start end)
(annot-create-overlay (point) annot)))
Original issue reported on code.google.com by mtravers
on 4 Sep 2012 at 9:09
Hello @ghoshi , I'm glad I found annot as it is the only annotation package I've come across that works for me in emacs 26.
Are you interested in publishing to melpa? If so, I can submit necessary PRs. If not interested on working on this repo anymore, please let me know so that I can move forward to publish a fork.
On r/emacs, there was a good amount of interest in your work.
Thanks!
I like the annotation style of amazon kindle.
Could you implement it in future version?
With Best Regards.
jingtao.
Original issue reported on code.google.com by [email protected]
on 28 Feb 2012 at 5:31
Is there any command - to toggle the show/un-show the annotations ?
Also, the summary of annotations may also be interesting to have.
Original issue reported on code.google.com by [email protected]
on 13 Feb 2013 at 5:43
Rather than hard-coding the annot keybindings into the ctl-x map, it would be nicer to allow the user to customize these keybindings. For example, "\C-x \C-i" maps to "\C-x TAB", which steals the default keybinding for indent-rigidly
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.