3 Commits a5c7ee3392 ... 74cb38582e

Author SHA1 Message Date
  Distopico Vegan 74cb38582e Enable footnote-mode in mu4e 1 year ago
  Distopico Vegan 4fdc072e17 Add flymake default keybindings 1 year ago
  Distopico Vegan a91f3fd7cb Fix erc input fill and remove unnecessary sites-elisp 1 year ago

+ 1 - 3
modes/conf-erc.el

@@ -1,14 +1,12 @@
 ;;; Code:
-
 (require 'znc)
 (require 'erc)
 (require 'erc-log)
 (require 'erc-join)
 (require 'erc-track)
-;; (require 'erc-notify)
+(require 'erc-input-fill)
 (require 'erc-services)
 (require 'alert)
-;; (require 'erc-goodies)
 
 (defcustom distopico:erc-raw-connection nil
   "Erc connect without ZNC."

+ 7 - 0
modes/conf-flymake.el

@@ -23,6 +23,13 @@
 	"]"
 	flymake-mode-line-exception))
 
+(define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
+(define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)
+(define-key flymake-mode-map (kbd "C-c ! n") 'flymake-goto-next-error)
+(define-key flymake-mode-map (kbd "C-c ! p") 'flymake-goto-prev-error)
+(define-key flymake-mode-map (kbd "C-c ! d") 'flymake-show-buffer-diagnostics)
+(define-key flymake-mode-map (kbd "C-c ! a") 'flymake-show-project-diagnostics)
+
 ;; Functions
 (defun distopico:flymake-maybe-show-counter (type &optional space-l)
   "Filter if the `flymake' mode-line counter should be shown.

+ 4 - 2
modes/conf-mu4e.el

@@ -105,6 +105,7 @@ launch the no-attachment warning message defined in
         ("date:today..now AND NOT maildir:/\/*\/Spam*/" "Today's messages" ?t)
         ("date:7d..now AND NOT maildir:/\/*\/Spam*/" "Last 7 days" ?w)
         ("maildir:/\/*\/Sent*/" "Sent messages" ?s)
+        ("maildir:/\/*\/Trash/ OR maildir:/\/*\/Junk/" "All Trash" ?T)
         ("mime:image/* AND NOT maildir:/\/*\/Spam*/" "Messages with images" ?p)
         ("flag:unread AND maildir:/\/*\/Spam*/" "Unread spam" ?S)))
 
@@ -398,8 +399,9 @@ from: http://mbork.pl/2016-02-06_An_attachment_reminder_in_mu4e"
   "Enable/disable some mode in `mu4e-view-mode'."
   ;; to easier read html in dark themes
   (setq shr-color-visible-luminance-min 80)
-  (tabbar-local-mode 1)
-  (visual-line-mode))
+  (tabbar-local-mode +1)
+  (footnote-mode +1)
+  (visual-line-mode +1))
 
 (defun distopico:mu4e-compose-mode-hook ()
   "Enable/disable some mode in `mu4e-compose-mode'."

+ 41 - 0
site-elisp/erc-input-fill.el

@@ -0,0 +1,41 @@
+;;; erc-input-fill.el -- Hack to get fill mode to work correctly for ERC input
+;;;
+;;; Commentary:
+;;; This is very Quick'n'Dirty, so please report =any= strange
+;;; behavior, preferably via IRC to Adlai @ freenode
+
+;;; Code:
+(require 'erc)
+
+(defvar erc-fill-wrapped-input-p nil
+  "Keeps track of whether `auto-fill-mode' has wrapped the input text.
+Reset to NIL after a message is successfully sent.")
+(make-variable-buffer-local 'erc-wrapped-input-p)
+
+(setq normal-auto-fill-function
+      (lambda ()
+        (setq erc-fill-wrapped-input-p t)
+        (do-auto-fill)))
+
+(defun erc-user-input ()
+  "Return the input of the user in the current buffer.
+If `erc-wrapped-input-p' is true, strips all newlines."
+  (let ((literal-input (buffer-substring-no-properties
+                        erc-input-marker
+                        (erc-end-of-input-line))))
+    (if erc-fill-wrapped-input-p
+        (replace-regexp-in-string "\n *" " " literal-input)
+      literal-input)))
+
+(add-hook 'erc-mode-hook
+          (lambda ()
+            (set-fill-column erc-fill-column)
+            (auto-fill-mode)))
+
+(add-hook 'erc-send-completed-hook
+          (lambda (message)
+            (declare (ignore message))
+            (setq erc-fill-wrapped-input-p nil)))
+
+(provide 'erc-input-fill)
+;;; erc-input-fill.el ends here

+ 0 - 140
site-elisp/fixme-mode.el

@@ -1,140 +0,0 @@
-;;; fixme-mode.el --- Makes FIXME, TODO, etc. appear in big, angry letters
-;; Filename: fixme-mode.el
-;; Description: Makes source code warnings (FIXME, TODO, etc.) stand out
-;; in a big way.
-;; Author: Bryan Waite, based on some code found at 
-;; http://c2.com/cgi/wiki?FixmeComment
-;; Copyright (C) 2009-2010, Bryan Waite 
-;; License: MIT License (not reproduced for space reasons)
-;; Compatibility: Only tested under Emacs 23.1 on Ubuntu Linux.
-;; Usage: Just add (require 'fixme-mode) to your .emacs file
-;; and then type M-x fixme-mode to try it out.
-
-(require 'cl)
-
-(defconst fixme-mode-version 0.2)
-
-(defgroup fixme-mode nil
-  "Highlights FIXME, TODO, and other warnings in source code"
-  :prefix "fixme-"
-  :link   '(url-link "http://www.thesiteiwillonedayhave.com"))
-
-(defcustom fixme-modes '(erlang-mode java-mode c-mode emacs-lisp-mode jde-mode
-                                  scheme-mode python-mode ruby-mode cperl-mode
-                                  slime-mode common-lisp-mode c++-mode d-mode
-                                  js2-mode haskell-mode tuareg-mode lua-mode
-                                  pascal-mode fortran-mode prolog-mode asm-mode
-                                  csharp-mode sml-mode)
-  "The modes which fixme should apply to"
-  :group 'fixme-mode)
-
-(defcustom fixme-highlighted-words '("FIXME" "TODO" "BUG" "KLUDGE")
-  "Words to highlight"
-  :group 'fixme-mode)
-
-(defcustom fixme-foreground-color "Red"
-  "Font foreground colour"
-  :group 'fixme-mode)
-
-(defcustom fixme-background-color  "Yellow"
-  "Font background color"
-  :group 'fixme-mode)
-
-(defvar fixme-keyword-re-string "" 
-  "The regular expression to use for searching for fixme words. Generated with fixme-register-keyword-re")
-
-(defvar fixme-keyword-font-lock '()
-  "Font lock keywords. Generated from fixme-register-font-lock-keywords")
-
-(make-face 'font-lock-fixme-face)
-
-(defun fixme-next ()
-  "Goto the next fixme highlighted word"
-  (interactive)
-  (lexical-let ((old-case case-fold-search))
-    (setq case-fold-search nil)
-    (search-forward-regexp fixme-keyword-re-string)
-    (setq case-fold-search old-case)))
-
-(defun fixme-prev ()
-  "Goto the previous fixme highlighted word"
-  (interactive)
-  (lexical-let ((old-case case-fold-search))
-     (setq case-fold-search nil)
-     (search-backward-regexp fixme-keyword-re-string)
-     (setq case-fold-search old-case)))
-
-(defun fixme-show-all-fixmes ()
-  "Show all fixme strings in the current file"
-  (interactive)
-  (let ((buf (buffer-file-name)))
-    (when buf
-      ;;(grep (concat "grep -nH -e " (concat "\"" fixme-keyword-re-string "\" " buf)))
-      (occur fixme-keyword-re-string)
-)))
-
-(defun fixme-register-keyword-re ()
-  "Generate the regular expression string from fixme-highlighted-words
-and store the result in fixme-keyword-re-string"
-  (lexical-let ((num-words (length fixme-highlighted-words))
-                (word-count 0))
-    (setq fixme-keyword-re-string "")
-    (dolist (word fixme-highlighted-words)
-      (incf word-count)
-      (setq fixme-keyword-re-string (concat fixme-keyword-re-string word))
-      (when (< word-count num-words) ;;only add the OR in if we're not at the end
-        (setq fixme-keyword-re-string (concat fixme-keyword-re-string "\\|"))))))
-
-(defun fixme-register-font-lock-keywords ()
-  "Generate the font-lock keywords from fixme-highlighted-words
-and store the result in fixme-keyword-font-lock"
-  (lexical-let ((stuff '()))
-    (dolist (word fixme-highlighted-words)
-      (setq stuff (append stuff `((,(concat "\\<\\(" word "\\)") 1 'font-lock-fixme-face t)))))
-    (setq fixme-keyword-font-lock stuff)))
-
-(defun fixme-register-keywords ()
-  "Register the font-lock keywords from fixme-keyword-font-lock with the modes
-listed in fixme-modes"
-  (mapc (lambda (mode)
-          (font-lock-add-keywords
-           mode
-           fixme-keyword-font-lock))
-        fixme-modes)
-  (make-face 'font-lock-fixme-face)
-  (modify-face 'font-lock-fixme-face fixme-foreground-color
-                fixme-background-color nil t nil t nil nil))
-
-(defun fixme-remove-keywords ()
-  "Remove the font-lock keywords from fixme-keyword-font-lock with the modes
-listed in fixme-modes"
-  (mapc (lambda (mode)
-          (font-lock-remove-keywords
-           mode
-           fixme-keyword-font-lock))
-        fixme-modes))
-
-(defun fixme-reload-keywords ()
-  "Run this if you change the fixme-modes or fixme-highlighted-words variables
-to update the font-lock and searching variables"
-  (interactive)
-  (fixme-register-keyword-re)
-  (fixme-register-font-lock-keywords)
-  (fixme-register-keywords)
-  )
-
-;;;###autoload(defvar fixme-mode nil)
-(define-minor-mode fixme-mode  
-  "A minor mode for making FIXME and other warnings stand out"
-  nil
-  " Fixme"
-  nil
-  :global
-  :group fixme-mode
-  :version fixme-mode-version
-  (if fixme-mode
-      (fixme-reload-keywords)
-  (fixme-remove-keywords))
-)
-
-(provide 'fixme-mode)

+ 0 - 6
site-elisp/ropemacs/CONTRIBUTORS

@@ -1,6 +0,0 @@
-=======================
- Ropemacs Contributors
-=======================
-
-* Sebastjan Trepca <trepca@gmail.com>
-* Stefan Reichoer <stefan@xsteve.at>

+ 0 - 339
site-elisp/ropemacs/COPYING

@@ -1,339 +0,0 @@
-		    GNU GENERAL PUBLIC LICENSE
-		       Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-			    Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-		    GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-			    NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
-		     END OF TERMS AND CONDITIONS
-
-	    How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License along
-    with this program; if not, write to the Free Software Foundation, Inc.,
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
-    Gnomovision version 69, Copyright (C) year name of author
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-  <signature of Ty Coon>, 1 April 1989
-  Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs.  If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.

+ 0 - 5
site-elisp/ropemacs/MANIFEST.in

@@ -1,5 +0,0 @@
-include README.txt COPYING setup.py MANIFEST.in CONTRIBUTORS
-recursive-include ropemacs *.py
-recursive-include ropemode *.py
-recursive-include docs *.txt
-recursive-include docs *.patch

+ 0 - 430
site-elisp/ropemacs/README.txt

@@ -1,430 +0,0 @@
-=========================
- ropemacs, rope in emacs
-=========================
-
-Ropemacs is an emacs mode that uses rope_ library to provide features
-like python refactorings and code-assists.  You should install rope_
-library and pymacs_ before using ropemacs.
-
-.. _rope: http://rope.sf.net/
-.. _pymacs: http://pymacs.progiciels-bpi.ca/pymacs.html
-
-
-New Features
-============
-
-``rope-find-occurrences`` sets ``next-error-function``.  That means
-compilation mode keys like ``C-x \``` work for occurrences buffer,
-too.
-
-Also there is a bug in pymacs 23 and 24-beta1 that makes python reach
-maximum recursion after interrupting a pymacs command; a patch is
-included in the docs folder.
-
-
-Setting Up
-==========
-
-After installing pymacs, add these lines to your ``~/.emacs`` file::
-
-  (require 'pymacs)
-  (pymacs-load "ropemacs" "rope-")
-
-Note that rope and ropemacs should be in your ``PYTHONPATH`` for this
-to work.
-
-Also note that ropemacs may redefine some standard Emacs and your custom key
-bindings.  To prevent this, put the following example lines to your
-``~/.emacs`` *before* the lines presented above:
-
-  (setq ropemacs-enable-shortcuts nil)
-  (setq ropemacs-local-prefix "C-c C-p")
-
-See keybinding_ and variables_ sections for more details.
-
-Loading Lazily
---------------
-
-If you want to load ropemacs only when you really need it, you can use
-a function like this in your ``~/.emacs``::
-
-  (defun load-ropemacs ()
-    "Load pymacs and ropemacs"
-    (interactive)
-    (require 'pymacs)
-    (pymacs-load "ropemacs" "rope-")
-    ;; Automatically save project python buffers before refactorings
-    (setq ropemacs-confirm-saving 'nil)
-  )
-  (global-set-key "\C-xpl" 'load-ropemacs)
-
-And execute ``load-ropemacs`` (or use ``C-x p l``) whenever you want
-to use ropemacs.
-
-
-Not Installing
---------------
-
-If you don't want to install rope library and ropemacs you can extract
-them somewhere and add these lines to your ``.emacs``::
-
-  ;; Add this before loading pymacs if you haven't installed rope and ropemacs
-  (setq pymacs-load-path '("/path/to/rope"
-                           "/path/to/ropemacs"))
-
-
-Multiple Python Versions
-------------------------
-
-Rope needs at least Python2.5.  If you have older versions of Python
-you can use ``PYMACS_PYTHON`` environment variable.  You can add::
-
-  (setenv "PYMACS_PYTHON" "python2.5")
-
-to force pymacs to use Python2.5.
-
-
-Ropemacs Minor Mode
--------------------
-
-Ropemacs registers its local keys when ``ropemacs-mode`` is enabled.
-By default it is enabled using ``python-mode`` hook (this hook is
-available if you are using Emacs' ``python.el`` or XEmacs'
-``python-mode.el``).  If you want to enable it in other major modes
-either execute ``ropemacs-mode`` manually or call it in some other
-hook.
-
-
-Getting Started
-===============
-
-Refactoring Dialog
-------------------
-
-Ropemacs refactorings use a special kind of dialog.  When you start a
-refactoring, you'll be asked to confirm saving modified python
-buffers; you can change it by using ``ropemacs-confirm-saving``
-variable.  Adding ``(setq ropemacs-confirm-saving 'nil)`` to your
-``.emacs`` file, will make emacs save them without asking.
-
-After that depending on the refactoring, you'll be asked about the
-essential information a refactoring needs to know (like the new name
-in rename refactoring).  You can skip it by prefixing the refactoring;
-this can be useful when using batchset command (described later).
-
-Next you'll see the base prompt of a refactoring dialog that shows
-something like "Choose what to do".  By entering the name of a
-refactoring option you can set its value.  After setting each option
-you'll be returned back to the base prompt.  Finally, you can ask rope
-to perform, preview or cancel the refactoring.
-
-See keybinding_ section and try the refactorings yourself.
-
-
-Finding Files
--------------
-
-By using ``rope-find-file`` (``C-x p f`` by default), you can search
-for files in your project.  When you complete the minibuffer you'll
-see all files in the project; files are shown as their reversed paths.
-For instance ``projectroot/docs/todo.txt`` is shown like
-``todo.txt<docs``.  This way you can find files faster in your
-project.  ``rope-find-file-other-window`` (``C-x p 4 f``) opens the
-file in the other window.  With prefix, these commands show python
-files only.
-
-
-Code-Assist
------------
-
-``rope-code-assist`` command (``M-/`` by default) will let you select
-from a list of completions.  If prefixed (``C-u M-/``), ropemacs
-inserts the common prefix, automatically.  If a numeric argument is
-given, ropemacs will insert the common prefix for that many of the
-first proposals.
-
-``rope-lucky-assist`` command (``M-?``) does not ask anything;
-instead, it inserts the first proposal.  By prefixing it, you can
-choose which proposal to insert.  ``C-u 1 M-?`` uses the second
-propsal, for instance.
-
-Here::
-
-  xxaa = None
-  xxab = None
-  xxba = None
-  xxbb = None
-
-  x^
-
-consider cursor is at ``^`` position.  This table shows what happens
-when code-assist commands are used:
-
-============  ==========  =======================
-Key           Inserts     Minibuffer Completions
-============  ==========  =======================
-M-/                       xxaa, xxab, xxba, xxbb
-C-u M-/       x           xxaa, xxab, xxba, xxbb
-C-u 2 M-/     xa          xxaa, xxab
-M-?           xaa
-C-u 1 M-/     xab
-C-u 3 M-/     xbb
-============  ==========  =======================
-
-Note that minibuffer completions are shown by pressing tab key at the
-completion prompt.  Also you can use ``rope-completions`` lisp function
-to get the list of completions.
-
-
-Finding Occurrences
--------------------
-
-The find occurrences command (``C-c f`` by default) can be used to
-find the occurrences of a python name.  If ``unsure`` option is
-``yes``, it will also show unsure occurrences; unsure occurrences are
-indicated with a ``?`` mark in the end.
-
-
-Dialog ``batchset`` Command
----------------------------
-
-When you use ropemacs dialogs there is a command called ``batchset``.
-It can set many options at the same time.  After selecting this
-command from dialog base prompt, you are asked to enter a string.
-
-``batchset`` strings can set the value of configs in two ways.  The
-single line form is like this::
-
-  name1 value1
-  name2 value2
-
-That is the name of config is followed its value.  For multi-line
-values you can use::
-
-  name1
-   line1
-   line2
-
-  name2
-   line3
-
-Each line of the definition should start with a space or a tab.  Note
-that blank lines before the name of config definitions are ignored.
-
-``batchset`` command is useful when performing refactorings with long
-configs, like restructurings::
-
-  pattern ${pycore}.create_module(${project}.root, ${name})
-
-  goal generate.create_module(${project}, ${name})
-
-  imports
-   from rope.contrib import generate
-
-  args
-   pycore: type=rope.base.pycore.PyCore
-   project: type=rope.base.project.Project
-
-.. ignore the two-space indents
-
-This is a valid ``batchset`` string for restructurings.  When using
-batchset, you usually want to skip initial questions.  That can be
-done by prefixing refactorings.
-
-Just for the sake of completeness, the reverse of the above
-restructuring can be::
-
-  pattern ${create_module}(${project}, ${name})
-
-  goal ${project}.pycore.create_module(${project}.root, ${name})
-
-  args
-   create_module: name=rope.contrib.generate.create_module
-   project: type=rope.base.project.Project
-
-
-Enabling Autoimport
--------------------
-
-Ropemacs can propose and automatically import global names in other
-modules.  But this feature is disabled by default.  Before using it,
-you should add::
-
-  (setq ropemacs-enable-autoimport 't)
-
-to your ``~/.emacs`` file.  After enabling, rope maintains a cache of
-global names for each project.  It updates the cache only when modules
-are changed; if you want to cache all your modules at once, use
-``rope-generate-autoimport-cache``.  It will cache all of the modules
-inside the project plus those whose names are listed in
-``ropemacs-autoimport-modules`` list::
-
-  # add the name of modules you want to autoimport
-  (setq ropemacs-autoimport-modules '("os" "shutil"))
-
-Now if you are in a buffer that contains::
-
-  rmtree
-
-and you execute ``ropemacs-auto-import`` you'll end up with::
-
-  from shutil import rmtree
-  rmtree
-
-Also ``rope-code-assist`` and ``rope-lucky-assist`` propose
-auto-imported names by using ``name : module`` style.  Selecting them
-will import the module automatically.
-
-
-Filtering Resources
--------------------
-
-Some refactorings, restructuring and find occurrences take an option
-called resources.  This option can be used to limit the resources on
-which a refactoring should be applied.
-
-It uses a simple format: each line starts with either '+' or '-'.
-Each '+' means include the file (or its children if it's a folder)
-that comes after it.  '-' has the same meaning for exclusion.  So
-using::
-
-  +rope
-  +ropetest
-  -rope/contrib
-
-means include all python files inside ``rope`` and ``ropetest``
-folders and their subfolder, but those that are in ``rope/contrib``.
-Or::
-
-  -ropetest
-  -setup.py
-
-means include all python files inside the project but ``setup.py`` and
-those under ``ropetest`` folder.
-
-
-Variables
----------
-
-* ``ropemacs-confirm-saving``: If non-nil, you have to confirm saving all
-  modified python files before refactorings; otherwise they are saved
-  automatically. Defaults to ``t``.
-* ``ropemacs-codeassist-maxfixes``: The maximum number of syntax errors
-  to fix for code assists.  The default value is ``1``.
-* ``ropemacs-separate-doc-buffer``: Should ``rope-show-doc`` use a
-  separate buffer or the minibuffer.  Defaults to ``t``.
-* ``ropemacs-guess-project``: If non-nil, ropemacs tries to guess and
-  open the project that contains the file on which a rope command is
-  performed when no project is already opened.
-
-* ``ropemacs-enable-autoimport``: Shows whether to enable autoimport.
-  Defaults to ``nil``.
-* ``ropemacs-autoimport-modules``: The name of modules whose global
-  names should be cached.  ``rope-generate-autoimport-cache`` reads
-  this list and fills its cache.
-* ``ropemacs-autoimport-underlineds``: If set, autoimport will cache
-  names starting with underlines, too.
-
-These variables change the keybinding.  They should be set before
-loading ropemacs.
-
-* ``ropemacs-local-prefix``: The prefix for ropemacs refactorings.
-  Defaults to ``C-c r``.
-* ``ropemacs-global-prefix``: The prefix for ropemacs project commands
-  Defaults to ``C-x p``.
-* ``ropemacs-enable-shortcuts``: Shows whether to bind ropemacs
-  shortcuts keys.  Defaults to ``t``.
-
-
-Keybinding
-----------
-
-Uses almost the same keybinding as ropeide.  Note that global commands
-have a ``C-x p`` prefix and local commands have a ``C-c r`` prefix.
-You can change that (see variables_ section).
-
-================  ============================
-Key               Command
-================  ============================
-C-x p o           rope-open-project
-C-x p k           rope-close-project
-C-x p f           rope-find-file
-C-x p 4 f         rope-find-file-other-window
-C-x p u           rope-undo
-C-x p r           rope-redo
-C-x p c           rope-project-config
-C-x p n [mpfd]    rope-create-(module|package|file|directory)
-\                 rope-write-project
-\
-C-c r r           rope-rename
-C-c r l           rope-extract-variable
-C-c r m           rope-extract-method
-C-c r i           rope-inline
-C-c r v           rope-move
-C-c r x           rope-restructure
-C-c r u           rope-use-function
-C-c r f           rope-introduce-factory
-C-c r s           rope-change-signature
-C-c r 1 r         rope-rename-current-module
-C-c r 1 v         rope-move-current-module
-C-c r 1 p         rope-module-to-package
-\
-C-c r o           rope-organize-imports
-C-c r n [vfcmp]   rope-generate-(variable|function|class|module|package)
-\
-C-c r a /         rope-code-assist
-C-c r a g         rope-goto-definition
-C-c r a d         rope-show-doc
-C-c r a f         rope-find-occurrences
-C-c r a ?         rope-lucky-assist
-C-c r a j         rope-jump-to-global
-C-c r a c         rope-show-calltip
-\                 rope-analyze-module
-\
-\                 rope-auto-import
-\                 rope-generate-autoimport-cache
-================  ============================
-
-
-Shortcuts
----------
-
-Some commands are used very frequently; specially the commands in
-code-assist group.  You can define your own shortcuts like this::
-
-  (define-key ropemacs-local-keymap "\C-cg" 'rope-goto-definition)
-
-Ropemacs itself comes with a few shortcuts:
-
-================  ============================
-Key               Command
-================  ============================
-M-/               rope-code-assist
-M-?               rope-lucky-assist
-C-c g             rope-goto-definition
-C-c d             rope-show-doc
-C-c f             rope-find-occurrences
-================  ============================
-
-These shortcuts will be used only when ropemacs-enable-shortcuts is
-non-nil (it is enabled by default).  Note that in order to disable these
-shortcuts, the value of ropemacs-enable-shortcuts should be set *before*
-loading ropemacs::
-
-  (setq ropemacs-enable-shortcuts 'nil)
-
-
-Contributing
-============
-
-Send your bug reports, feature requests and patches to `rope-dev (at)
-googlegroups.com`_.
-
-.. _`rope-dev (at) googlegroups.com`: http://groups.google.com/group/rope-dev
-
-
-License
-=======
-
-This program is under the terms of GPL (GNU General Public License).
-Have a look at ``COPYING`` file for more information.

+ 0 - 0
site-elisp/ropemacs/docs/done.txt


Some files were not shown because too many files changed in this diff