Anonymous avatar Anonymous committed a91d95c

fixing bug in cr-todo in new versions of emacs

Comments (0)

Files changed (2)


                   ;; may be in comment or may not be
                   (re-search-forward "(\\*+[ \t]*" nil 'noerror))
-            ;; XCR cfalls: Small bug: the first statement will be
-            ;; indented too much unless you start the code region with
-            ;; ;; because it sees the [ as starting a list.  Also
-            ;; should support {[ in addition to just [
-            ;;
-            ;; pszilagyi: I fixed the first with more narrowing
-            ;; (inside the delimiters) and distinguishing the the
-            ;; first line.  Fixed the second, and added {v
             (save-restriction ; add code-based indentation using narrow-to-region
               (narrow-to-region block-begin (save-excursion (forward-line)


   ;; appends /dev/null to the command line even though we have this
   ;; variable set to false.  Perhaps setting it to false in this weird
   ;; manner will make it "more false".
-  ;; (grep-apply-setting 'grep-use-null-device nil)
+  (grep-apply-setting 'grep-use-null-device nil)
   (grep (concat cr-command " todo " id " -fullpath -local")))
 (defun cr-grep ()
       (replace-match "CR-soon " t t))
      ((looking-at "CR-soon ")
       (replace-match "CR-someday " t t))
-     ((looking-at "CR-someday ")  
+     ((looking-at "CR-someday ")
       (replace-match "XCR " t t))
      ((looking-at "XCR ")
       (replace-match "CR " t t))
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.