Coder Social home page Coder Social logo

annot's People

Contributors

ghoshi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

annot's Issues

Q) Is it possible to copy .annot and retain annotations across machines?

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

Bug: rereading a file

If a file has been changed outside of emacs, duplicate annotations appear when reloading the file.

Feature Request: Allow collapsing multi-line annotations to a single line for display.

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

C-x r and C-x a conflict with many default emacs keybindings

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

annot.el as a minor mode

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

Implement an annotation browser

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

Feature idea: Convert region to annotation

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

Publishing to melpa?

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!

Allow user to customize keymap

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.