in reply to Re^2: Features missing in perl IDEs?
in thread Features missing in perl IDEs?
Being able to do this sort of simple customization without knowing about "plugin architectures" and what-not is what I think Emacs got fundamentally right, and is why I never have the patience for Eclipse.(defun my-number-region (beg end) (interactive "r") (save-excursion (let ((end (progn (goto-char end) (beginning-of-line 2) (point-mar +ker)))) (goto-char beg) (beginning-of-line) (loop for i = 1 then (1+ i) while (< (point) (marker-position end)) do (progn (insert (format "%-6d" i)) (beginning-of-line 2))))))
|
|---|