1 2011-10-07 Sean O'Rourke <seano@cpan.org>
3 * sepia.texi (Navigation): add sepia-pod-follow-link-at-point and
4 associated key-reshuffling.
5 * sepia.el (sepia-pod-follow-link-at-point): new function to
6 follow POD links from source.
7 (sepia-metapoint-map): shuffle keys for
8 sepia-pod-follow-link-at-point.
10 2011-03-20 Sean O'Rourke <seano@cpan.org>
12 * lib/Sepia/Xref.pm: POD fix.
13 * Makefile.PL: don't install .elc files, since that breaks Debian.
14 Patches from Hilko Bengen.
16 2011-03-14 Sean O'Rourke <seano@cpan.org>
18 * VERSION: 0.991_05 (testing).
19 * sepl: add to MANIFEST
21 2011-03-14 Sean O'Rourke <seano@cpan.org>
23 * VERSION: 0.991_04 (testing).
24 * Makefile.PL (prompt_for_infodir): filter out Emacs-spam.
26 2010-11-05 Sean O'Rourke <seano@cpan.org>
28 * sepia.el (sepia-next, sepia-show-locations,sepia-set-found):
29 Always use next-error.
30 * sepia-w3m.el (w3m-about-perldoc-buffer): let user know when
33 2010-10-04 Sean O'Rourke <seano@cs.ucla.edu>
35 * sepia.el (sepia-perldoc-this): Display documentation in a less
37 (cperl-imenu--create-perl-index): Advise it to strip out some entries.
39 * Sepia.pm: dumpvar.pl and Devel::Peek format options.
41 2010-09-21 Sean O'Rourke <seano@cs.ucla.edu>
43 * lib/Sepia.pm (track_requires): New function.
44 (file_list): New function.
45 Add 'dumpvar' flavor of output.
46 (repl_lsmod): New function.
47 (requires,users): Use track_requires.
49 * sepia.el (sepia-dired-package): New function.
50 (sepia-skip-doc-scan): New variable.
51 (sepia-doc-update): Use previous to skip confusing files.
52 (sepia-find-loaded-modules): New function.
53 (cperl-imenu--create-perl-index): Filter cruft.
55 2010-09-13 Sean O'Rourke <seano@cs.ucla.edu>
57 * sepia.el (sepia-doc-scan-buffer): Avoid spurious matches.
58 (sepia-find-loaded-modules): New function.
60 2010-09-12 Sean O'Rourke <seano@cs.ucla.edu>
62 * lib/Sepia.pm (repl_strict): Disable Lexical::Persistence's
63 stupid treatment of '_'.
65 2010-08-18 Sean O'Rourke <seano@cs.ucla.edu>
67 * lib/Sepia.pm: remove useless @REPL_RESULT. Fix _() to use @res.
69 2010-08-16 Sean O'Rourke <seano@cs.ucla.edu>
71 * sepia.el (sepia-shared-map, sepia-eval-region): new function
72 bound to `C-c C-r', moving sepia-repl to `C-c C-t'.
73 * lib/Sepia.pm: disable deprecation warnings to avoid 5.12 lameness.
75 2010-02-08 Sean O'Rourke <seano@cs.ucla.edu>
77 * sepia.el (sepia-looks-like-module): remove apropos-module check.
78 * lib/Sepia.pm (_apropos_re): make start anchor optional.
79 (inc_re): factor out @INC-removal.
80 (module_list): use inc_re().
81 (modules_matching): new function.
82 (apropos_module): rewrite.
84 2010-01-24 Sean O'Rourke <seano@cs.ucla.edu>
86 * lib/Sepia.pm (repl_setup): load ~/.sepiarc in $Sepia::PACKAGE.
88 2010-01-23 Sean O'Rourke <seano@cs.ucla.edu>
90 * README: add development information.
91 * lib/Sepia.pm (apropos_module): use "_apropos_re"
93 2009-12-15 Sean O'Rourke <seano@cs.ucla.edu>
95 * lib/Sepia.pm (repl_package): always change packages, even if
98 2009-12-14 Sean O'Rourke <seano@cs.ucla.edu>
100 * lib/Sepia/ReadLine.pm: readline interface.
101 * lib/Sepia.pm ($READLINE): next-input hook.
103 2009-12-08 Sean O'Rourke <seano@cs.ucla.edu>
105 * lib/Sepia.pm (methods): uniquify.
106 * lib/Sepia.pm, lib/Sepia/Debug.pm: avoid deprecated
107 "defined %hash" in 5.11.x.
109 2009-12-02 Sean O'Rourke <seano@cs.ucla.edu>
111 * lib/Sepia/Xref.pm (load_pad): work around pad weirdness with
115 2009-11-29 Sean O'Rourke <seano@cs.ucla.edu>
117 * Makefile.PL: make LWP::Simple optional. It didn't do much.
118 * sepia-snippet.el (sepia-snippet-abbrev): de-dup, sort, add
120 * sepia.el (sepia-shortcuts): update.
121 (sepia-complete-symbol): fix sigil duplication bug.
122 (sepia-symbol-info): use cperl's variable short-docs.
124 2009-11-26 Sean O'Rourke <seano@cs.ucla.edu>
126 * lib/Sepia.pm: reorganize, add docs.
127 * sepia.texi (Shortcuts): document ,time
128 * Makefile.PL: optional BSD::Resource and Time::HiRes.
129 * lib/Sepia.pm (run_hook,add_hook,remove_hook): new functions.
130 (repl_time,time_pre_prompt*): print CPU times.
132 2009-11-25 Sean O'Rourke <seano@cs.ucla.edu>
134 * sepia.el (sepia-ident-before-point): use s-i-at-point.
135 (sepia-ident-at-point): Handle punctuation variables.
136 (sepia-describe-object): add "perldoc -v" support.
138 2009-11-22 Sean O'Rourke <seano@cs.ucla.edu>
140 * lib/Sepia.pm (location): handle special @INC entries.
141 * sepia.el (sepia-describe-object): Guess identifier-at-point in
144 2009-11-18 Sean O'Rourke <seano@cs.ucla.edu>
146 * sepia.el (sepia-describe-object): new function like
147 describe-function and friends. Currently only "perldoc -f."
148 (sepia-init-perl-builtins): bugfix.
149 (sepia-repl-mode): turn on eldoc.
151 2009-11-02 Sean O'Rourke <seano@cs.ucla.edu>
153 * lib/Sepia.pm (location): change to work on only one location,
154 since that's how it's used.
155 (define_shortcuts): tweak.
156 (repl_setup): fix $REPL_LEVEL bug.
157 (repl,repl_quit): make quitting from restarted REPLs.
159 2009-10-28 Sean O'Rourke <seano@cs.ucla.edu>
161 * sepia.el (sepia-indent-or-complete): work around bug where
162 expand-abbrev returns nil even though it expanded.
163 (sepia-looks-like-module): use xref-apropos-module.
165 2009-10-19 Sean O'Rourke <seano@cs.ucla.edu>
167 * sepia-cpan.el (sepia-cpan-mode-map): initialize in definition;
171 2009-10-18 Sean O'Rourke <seano@cs.ucla.edu>
173 * lib/Sepia/CPAN.pm (group_by_dist): better heuristic.
174 * lib/Sepia.pm (repl_reload, repl_full_reload, full_reload):
175 support "reload" and "freload" shortcuts.
176 * lib/Sepia/Debug.pm (xreturn, repl_xreturn): return-from-context,
180 2009-10-12 Sean O'Rourke <seano@cs.ucla.edu>
182 * sepia.el (sepia-symbol-info): tweak on module names.
183 (sepia-apropos-module): new function.
184 (sepia-perlize-region,sepia-perl-ne-region): interactive prompt fix
186 2009-07-22 Sean O'Rourke <seano@cs.ucla.edu>
188 * sepia-cpan.el (sepia-cpan-doc): make browser pop up in other
191 2009-07-18 Sean O'Rourke <seano@cs.ucla.edu>
193 * lib/Sepia.pm (filter_exact_prefix): new function to improve
196 2009-07-07 Sean O'Rourke <seano@cs.ucla.edu>
198 * lib/Sepia.pm (save,load,repl_save,repl_load): Persist
202 2009-07-05 Sean O'Rourke <seano@cs.ucla.edu>
204 * sepia.el (sepia-rename-lexical): New function; a small wrapper
205 around query-replace(-regexp).
207 2009-05-03 Sean O'Rourke <seano@cs.ucla.edu>
209 * t/02completion.t (ok_comp): adjust for completion changes.
210 * sepia.texi: Variable index.
212 2009-03-18 Sean O'Rourke <seano@cs.ucla.edu>
214 * lib/Sepia.pm (repl_help): fix formatting with "help CMD"
215 (repl_size): sort by size
217 2008-12-17 Sean O'Rourke <seano@cs.ucla.edu>
219 * sepia.texi (Completion): we do lexicals.
220 * lib/Sepia.pm (lexical_completions): new function.
221 (completions): use it.
222 * sepia.el (sepia-function-at-point): return nil outside subs.
223 (sepia-interactive-arg): fix call to xref-completions.
225 2008-07-22 Sean O'Rourke <seano@cs.ucla.edu>
227 * sepia.el (sepia-scratch-send-line): change to use REPL printer.
229 2008-07-09 Sean O'Rourke <seano@cs.ucla.edu>
230 * sepia.el (sepia-indent-line): new function. Let-bind
231 beginning-of-defun-function for cperl-indent-line.
233 2008-06-29 Sean O'Rourke <seano@cs.ucla.edu>
235 * sepia.el (sepia-cont-or-restart): new function to restart
237 * sepia-cpan.el (sepia-cpan-do-{desc,recommend}): oops.
238 (sepia-cpan-make-buffer): better column widths
239 * lib/Sepia.pm (repl_size): skip %SIG to avoid segfaults.
240 * lib/sepia/CPAN.pm (group_by_dist): only list "main" module in
241 each distribution, and sort them.
243 2008-06-20 Sean O'Rourke <seano@cs.ucla.edu>
246 * lib/Sepia.pm: fix use of defined().
248 2008-06-17 Sean O'Rourke <seano@cs.ucla.edu>
250 * lib/Sepia.pm (repl_who,repl_size): turn off added 5.10 strictures.
252 2008-05-11 Sean O'Rourke <seano@cs.ucla.edu>
254 * sepia.texi (Mutilation): updated CPAN documentation.
255 * sepia-cpan.el (sepia-cpan-desc): add search-by-description
256 (sepia-cpan-mode-map): fix keybindings.
257 * lib/Sepia/CPAN.pm: have ls/_ls, etc call interesting_parts
259 2008-05-10 Sean O'Rourke <seano@cs.ucla.edu>
262 * sepia-cpan.el (sepia-cpan-list, sepia-cpan-make-buffer)
263 (sepia-cpan-search): added list-by-author, refactored.
264 (sepia-cpan-readme): insert temp file rather than passing as
266 * lib/Sepia/CPAN.pm (ls): new function to list author's modules.
267 * lib/Sepia/Debug.pm (repl_finish): mostly-working, by adding 0x10
268 to $^P and looking at sub's last line.
270 2008-01-10 Sean O'Rourke <seano@cs.ucla.edu>
272 * lib/Sepia.pm (columnate): true -> defined
274 * sepia-cpan.el: new file, experimental CPAN interface.
275 * lib/Sepia/CPAN.pm: new file.
277 2008-01-05 Sean O'Rourke <seano@cs.ucla.edu>
279 * README: remove redundant/obsolete documentation
281 2008-01-02 Sean O'Rourke <seano@cs.ucla.edu>
283 * lib/Sepia.pm (flow): get closer to margin.
285 2007-12-22 Sean O'Rourke <seano@cs.ucla.edu>
287 * t/50expect.t: mysterious change to placate expect.
288 * sepia.el (sepia-shared-map): adjust bindings.
289 (sepia-complete-symbol): Fix shortcut completion.
290 * sepia-snippet.el (sepia-snippet-abbrev): make snippet optional,
293 2007-12-20 Sean O'Rourke <seano@cs.ucla.edu>
295 * lib/Sepia.pm (who): don't apply regex to sigil.
296 (completions): fix multi-arg version (used by Emacs).
297 (html_module_list,html_package_list): return string if asked.
299 2007-12-17 Sean O'Rourke <seano@cs.ucla.edu>
301 * sepia.el (sepia-shared-map): bind cperl-perldoc.
303 2007-12-16 Sean O'Rourke <seano@cs.ucla.edu>
305 * Makefile.PL (test_for): use MakeMaker's prompt().
307 2007-12-13 Sean O'Rourke <seano@cs.ucla.edu>
309 * sepia.el (sepia-complete-symbol): add shortcut completion.
310 improve XEmacs compatibility.
311 * sepia-w3m.el (sepia-w3m-create-imenu): new function, disabled by
313 * lib/Sepia.pm (repl_*): don't look at return values; use "last
316 2007-11-29 Sean O'Rourke <seano@cs.ucla.edu>
318 * t/02completion.t: new completion tests.
319 * lib/Sepia.pm (completions): rewrote to simplify.
321 2007-11-28 Sean O'Rourke <seano@cs.ucla.edu>
323 * lib/Sepia.pm (printer): Don't sort arrays when printing.
325 * lib/sepia/Debug.pm (warn,die): use Carp for 5.10 compatibility.
326 * Makefile.PL (test_for): $|=1 if prompting.
328 2007-11-27 Sean O'Rourke <seano@cs.ucla.edu>
330 * sepia.el (sepia-perldoc-this): test for w3m when called.
333 * t/01basic.t (Sepia): fix tests w/o Module::Info.
335 2007-11-26 Sean O'Rourke <seano@cs.ucla.edu>
338 * lib/sepia/Debug.pm (add_repl_commands): use define_shortcut.
340 (add_debug_repl_commands): new function.
343 * lib/Sepia.pm (define_shortcut): new function.
344 (define_shortcut): new function.
345 (repl_help): auto-format help text; add arg.
346 (repl_reload): decrement $REPL_LEVEL.
347 (completions): fix abbrev completion.
348 (repl): read ~/.sepiarc; use define_shortcuts.
349 (repl_format): show current if no argument.
350 (module_info): optional dependency.
352 2007-11-08 Sean O'Rourke <seano@cs.ucla.edu>
355 * lib/Sepia/Xref.pm: POD fixup.
356 * sepia.el (sepia-ensure-process): fix stupid attachtty mistake.
358 2007-11-05 Sean O'Rourke <seano@cs.ucla.edu>
360 * lib/sepia/Debug.pm (repl_break): allow "0" as a break condition.
362 2007-10-31 Sean O'Rourke <seano@cs.ucla.edu>
364 * lib/Sepia.pm (repl_size): ",size" command to list variable sizes,
365 like Matlab's "whos".
367 2007-10-16 Sean O'Rourke <seano@cs.ucla.edu>
371 * lib/Sepia.pm (repl_pwd): add ",pwd" shortcut.
372 (repl_who): use current package when only regex given.
374 * sepia.el (sepia-repl,sepia-ensure-process): add remote
375 connection with attachtty.
376 (sepia-shared-map): bind \C-c\C-e to eval-expression.
377 (sepia-symbol-info): be more selective about "core version".
379 2007-09-25 Sean O'Rourke <sorourke@cs.ucsd.edu>
381 * lib/Sepia.pm (printer): remove "=>" -- it's annoying.
383 2007-09-21 Sean O'Rourke <sorourke@cs.ucsd.edu>
385 * sepia.el (sepia-load-file): disable debugger.
386 (sepia-symbol-info): be pickier about module core versions.
388 2007-09-20 Sean O'Rourke <sorourke@cs.ucsd.edu>
390 * lib/Sepia.pm (repl_who): use current package if only one arg
391 given, and it's not an existing package.
393 2007-09-18 Sean O'Rourke <sorourke@cs.ucsd.edu>
395 * sepia.el (sepia-watch-for-eval): fix hang with recursive sepia-eval.
397 2007-07-25 Sean O'Rourke <sorourke@cs.ucsd.edu>
399 * sepia.el (sepia-interactive-arg): use xref-completions rather
400 than xref-apropos for working completion.
402 2007-07-25 Ye Wenbin <wenbinye@gmail.com>
404 * sepia.el (sepia-defun-around-point): change the command to a
405 function, because as a command it does nothing.
406 (define-modinfo-function, sepia-maybe-echo): the interactive-p
407 is not true when call as function.
408 (define-modinfo-function, sepia-init): some modinfo-function
409 should eval in a list-context.
410 (sepia-mode): use cperl-mode-abbrev-table as current local-abbrev-table
412 2007-07-24 Ye Wenbin <wenbinye@gmail.com>
414 * sepia.el (sepia-set-found): Use (OFFSET . LIST) to represent
416 (sepia-next, sepia-previous): more generic move commands
417 (sepia-refiner): remove the test, because sometimes use the
418 same declaration, but found in difference place.
420 * sepia-tree.el (sepia-tree-button-cb): widget => pw and
421 xref-location return a list of posible locations.
422 (sepia-tree-tidy-buffer, sepia-tree-use-image): Let user
423 to choose whether use image or not. Set it to a buffer-local
424 variable, so that it didn't interference global values.
426 * sepia.el (sepia-extract-def): seem an argument is excessive
428 * sepia-tree.el (sepia-build-tree-buffer): In my emacs, it
429 doesn't work. The :dynargs didn't become the tree-widget
430 :expander. The tree-widget-convert-widget only receive the
431 'tree-widget, not the total list.
432 sepia-install-keys not defined.
434 * lib/Sepia/Xref.pm (file_modules): seem it is a typo error to use
435 Module::Include rather than Module::Info.
436 Module::Info::packages_inside return an array, the operator
437 || will force in a scalar context.
439 * sepia.el (sepia-lisp-to-perl): use "'" to quote string is not
440 enough, because the string may also contain "'" inside.
441 use (format "%S" string) instead.
442 (define-sepia-query): `sepia-set-found' accept a symbol as
443 argument, not (quote symbol).
445 2007-06-09 Sean O'Rourke <sorourke@cs.ucsd.edu>
448 * sepia.el (sepia-shared-map, etc.): fix keymap initialization.
450 2007-06-06 Sean O'Rourke <sorourke@cs.ucsd.edu>
452 * lib/Sepia/Debug.pm: eval in lexical env when in debugger.
453 * t/50expect.t: REPL tests if you have Test::Expect.
454 * lib/Sepia/Debug.pm: use correct level when none given.
455 * lib/Sepia.pm: No longer bring in exporter (why did we?).
456 * sepia.el (sepia-init): always reinitialize sepia-mode-map.
457 * Makefile.PL: require 5.006 for warnings to quiet stupid "make
460 2007-06-05 Sean O'Rourke <sorourke@cs.ucsd.edu>
462 * Sepia.html: generate single-page manual instead of split.
464 * sepia.el: docstring cleanup.
465 * lib/sepia/Debug.pm: misc usability improvements
467 2007-06-04 Sean O'Rourke <sorourke@cs.ucsd.edu>
470 * test.pl: disable Module::Info tests to avoid Module::Info bug.
472 2007-06-02 Sean O'Rourke <sorourke@cs.ucsd.edu>
475 * Major: replaced comint- with gud-based REPL, use real debugger.
476 * lib/Sepia/Debug.pm: "perl -d" support.
477 * lib/Sepia.pm (repl_shell): new command.
478 * sepia.el (sepia-eval-defun): detect errors, jump to first.
479 (sepia-comint-setup): don't set comint-use-prompt-regexp
480 (sepia-eval-defun,sepia-beginning-of-defun,sepia-end-of-defun): fix
482 2007-06-01 Sean O'Rourke <sorourke@cs.ucsd.edu>
484 * sepia.el (sepia-perldoc-this): don't mess up window
485 configuration when the page isn't found.
486 (sepia-location): use sepia-interactive-arg.
487 (sepia-perl-[np]e-region): fix.
490 (print_dumper): switch format based on size.
492 2007-05-30 Sean O'Rourke <sorourke@cs.ucsd.edu>
493 * sepia.texi: shiny new manual.
494 * lib/Sepia.pm (completions): add special 'VARIABLE' type.
495 (methods): add second $qualified arg.
496 (repl_reload): new function.
497 (sig_warn,repl): override __WARN__ (and __DIE__) cautiously.
498 (repl): nicer warning format.
500 * sepia.el (sepia-eval-raw): stopwarn -> STOPWARN.
501 (sepia-load-file): Fix pop-up error buffer.
502 (sepia-lisp-to-perl): fix quoting of strings.
504 (sepia-mode): make a real major mode.
505 (sepia-scratchpad-mode): ditto.
507 2007-05-29 Sean O'Rourke <sorourke@cs.ucsd.edu>
509 * lib/sepia/Xref.pm (pp_method_named): warn -> dprint.
510 * sepia.el (sepia-simple-method-before-point): new function.
511 (sepia-complete-symbol): use it to complete methods.
513 (sepia-perldoc-function,sepia-view-pod-function,
514 sepia-module-list-function): new variables.
515 (sepia-perldoc-this,sepia-view-pod): new functions.
516 * lib/Sepia.pm (repl): trim leading spaces.
517 (tolisp): escape metacharacters.
518 (repl): don't override "die" if someone has installed a
519 $SIG{__DIE__} handler
521 2007-05-28 Sean O'Rourke <sorourke@cs.ucsd.edu>
524 * sepia.el (sepia-core-version): new function.
525 (sepia-indent-or-complete): fix abbrev expansion.
526 (sepia-symbol-info): report core version in eldoc.
527 (sepia-ident-before-point): new function.
528 (sepia-complete-symbol): use it instead of *-at-point.
529 (sepia-complete-symbol): complete arrays and hashes when '$'
531 * lib/Sepia.pm (printer): Use @::__; distinguish "last as scalar"
532 $__ from printed representation.
533 ($PRINT_PRETTY): columnate lists if this is on.
535 (repl_methods): add regex argument.
537 (completions): Add in package names.
539 2007-05-27 Sean O'Rourke <sorourke@cs.ucsd.edu>
541 * lib/Sepia.pm (repl_methods): fixed.
543 2007-05-26 Sean O'Rourke <sorourke@cs.ucsd.edu>
546 * sepia.el (sepia-doc-scan-buffer): Better doc regex for
548 (sepia-indent-or-complete): try to expand abbrevs before
549 completion (try with snippet.el).
550 (sepia-indent-expand-abbrev): control the above feature.
551 (sepia-complete-symbol): scroll completion buffer; suggested by
553 * lib/Sepia.pm (html_package_list,html_module_list): new
555 (completions): '$'-completion only generates scalars.
556 * sepia-w3m.el: remove spurious sepia-module-list, improve
558 (sepia-module-list,sepia-package-list): better output.
559 (sepia-package-list,sepia-module-list): move Perl code to
560 Sepia.pm, generate list in inferior perl instead of shelling
563 2007-05-23 Sean O'Rourke <sorourke@cs.ucsd.edu>
565 * lib/Sepia.pm (_apropos_re): handle empty completions.
566 (columnate): pretty-print ",who" output.
567 * sepia.el (sepia-complete-symbol): bury stale completions buffer;
568 suggested by Hilko Bengen.
570 2007-05-17 Sean O'Rourke <sorourke@cs.ucsd.edu>
572 * lib/Sepia.pm (_completions1): Fix infinite recursion.
573 (repl): typo; clarify ambiguous vs. unrecognized shortcuts.
575 2007-05-15 Sean O'Rourke <sorourke@cs.ucsd.edu>
577 * sepia.el (sepia-dwim): don't try to jump to location when
578 looking up module docs.
579 * lib/Sepia.pm: use $::__ instead of $Sepia::__
580 (repl_quit): new command.
583 2007-05-12 Sean O'Rourke <sorourke@cs.ucsd.edu>
586 * Makefile.PL: add license.
588 2007-05-09 Sean O'Rourke <sorourke@cs.ucsd.edu>
591 * sepia.el (sepia-load-file): set inhibit-read-only when
593 * lib/Sepia.pm (repl_methods): walk ISA hierarchy looking for
594 functions (XXX: this is much too coarse).
595 (repl_help): use %REPL_DOC to hold command documentation for
597 (repl): display error on canceled continued statement.
599 2007-05-07 Sean O'Rourke <sorourke@cs.ucsd.edu>
601 * lib/Sepia.pm (repl_strict): add 'strict mode' (thanks to
602 Lexical::Persistence) for those who swing that way (I don't),
603 inspired by Devel::REPL.
604 (repl_wantarray): Fix logic.
606 2007-04-25 Sean O'Rourke <sorourke@cs.ucsd.edu>
609 * README: add license.
610 * Makefile.PL: remove dependency on Sub::Uplevel, make PadWalker
612 * lib/Sepia.pm (who): add optional regex filter.
613 (debug_inspect): fix non-scalar printing.
614 * sepia.el (sepia-dwim): fix staleness; change to find
615 documentation for modules.
616 (sepia-find-module-file): new function to try sepia- and xref-
617 module file-finding functions.
618 (sepia-next): use it.
619 (sepia-filter-by-module,sepia-filter-by-all): remove.
620 (sepia-keymap): use `sepia-dwim' for M-.
622 2007-04-15 Sean O'Rourke <sorourke@cs.ucsd.edu>
624 * lib/Sepia.pm (who): add optional regex argument.
626 2007-03-30 Sean O'Rourke <sorourke@cs.ucsd.edu>
628 * sepia-w3m.el (sepia-module-list, sepia-package-list): added
629 detailed index of installed modules.
632 2007-03-16 Sean O'Rourke <sorourke@cs.ucsd.edu>
634 * sepia.el (sepia-set-found): filter spurious nils (XXX: this
636 (sepia-symbol-info): avoid eldoc errors in ecase.
638 2007-03-15 Sean O'Rourke <sorourke@cs.ucsd.edu>
640 * sepia.el (sepia-complete-symbol): fallback completion of
642 * set COPY_EXTENDED_ATTRIBUTES_DISABLE=true to avoid creating ._*
645 2007-03-15 Sean O'Rourke <sorourke@cs.ucsd.edu>
648 * sepia-ido.el: clean up bitrot.
649 * lib/Sepia.pm (apropos): don't create new stashes during
651 * sepia.el (sepia-show-locations): bind inhibit-read-only; filter
653 * Makefile.PL: require PadWalker 1.0 (RT #25463)
655 2007-03-13 Sean O'Rourke <sorourke@cs.ucsd.edu>
658 * README (TODO): user-defined REPL abbrevs.
659 * lib/Sepia.pm (print_*): optional printing via YAML and
660 Data::Dump (from Shell::Perl).
661 (repl_wantarray): change eval context (same).
662 (repl_format): set formatter (same).
664 2007-03-09 Sean O'Rourke <sorourke@cs.ucsd.edu>
667 * sepia.el (sepia-keymap): add *-apropos, find-tag bindings.
668 * README: add organized function index.
669 * sepia.el (sepia-beginning-of-defun, sepia-end-of-defun):
670 fix argument to be prefix instead of point.
671 * sepia.el: documentation.
672 * sepia-ido.el: documentation.
673 * README: cleanup; note limitation of sepia-bodf and -eodf.
675 2007-02-25 Sean O'Rourke <sorourke@cs.ucsd.edu>
677 * Makefile.PL: add Scalar::Util as prereq.
678 * sepia.el (sepia-perl5lib): new variable holding extra PERL5LIB
680 * sepia.el (sepia-init): use it.
681 * sepia.el (sepia-comint-setup): don't clobber keymap.
682 * sepia.el (sepia-indent-or-complete): complete first time if at
684 * Sepia.pm (completions): enhanced completion -- e.g. "wtf"
685 matches "want_to_feed".
686 * Sepia.pm (printer): special-case PDL to use its stringification
687 (XXX: should test for overloaded "").
688 * Sepia.pm (who,repl_who): new functions.
690 2006-09-29 Sean O'Rourke <sorourke@cs.ucsd.edu>
692 * Sepia.pm (Dump): wrap with eval to prevent unexpected exits.
693 * Sepia.pm (repl_chdir): expand '~' and '$HOME'
695 2006-07-01 Sean O'Rourke <sorourke@cs.ucsd.edu>
697 * Sepia.pm (tolisp): undef -> nil
698 * sepia.el (sepia-eval-raw): guess package.
699 * sepia.el (sepia-init): don't pop-to-buffer with prefix argument.
700 * sepia.el (sepia-beginning-of-defun,sepia-end-of-defun): avoid
702 * sepia.el (sepia-buffer-package): look backward from point
703 instead of forward from point-min.
705 2006-05-24 Sean O'Rourke <sorourke@cs.ucsd.edu>
707 * Makefile.PL: added missing dependencies on PadWalker,
709 * Sepia.pm: improved ",command"
710 * sepia-w3m.el (sepia-w3m-perldoc-this): simplify.
711 * sepia.el (perl-*): rename to sepia-*.
712 * sepia.el: reorg and cleanup.
715 2006-05-19 Sean O'Rourke <sorourke@cs.ucsd.edu>
717 * sepia.el: fixed eldoc support. This only works with CVS Emacs,
718 relying on `eldoc-documentation-function'. Also fixed pod
721 2006-05-18 Sean O'Rourke <sorourke@cs.ucsd.edu>
723 * sepia.el, Sepia.pm: improved bulk-transfer protocol.
724 * Sepia.pm: override die with simple inspector/debugger.
725 * Sepia.pm: $__ and @__ now contain results of the last
727 * sepia.el, Sepia.pm: primitive support for evaluating elisp sent
728 from Perl. Turn on comint-use-prompt-regexp because the fields
729 stuff is flaky with this.
730 * sepia.el, Sepia.pm: ",cd" shortcut coordinates directory with
734 2006-04-14 Sean O'Rourke <sorourke@cs.ucsd.edu>
736 * generic-repl.el: replaced by comint.
737 * all: removed EPL dependency.
740 2005-07-12 Sean O'Rourke <sorourke@cs.ucsd.edu>
742 * sepia-w3m.el: fix function name so it's found.
743 * Xref.pm, Sepia.pm: cleanup and numerous bugfixes.
744 * Buffer.pm: new, but not ready for prime-time
745 * sepia.el: delete-thing-at-point removed; misc bugfixes.
746 * test.pl: disabled a bunch of location stuff.
749 2004-09-10 Sean O'Rourke <sorourke@cs.ucsd.edu>
751 * test.pl: some real tests.
752 * Sepia.pm, Xref.pm: Separate simple symbol-table searching from
753 Xref, making the former more reliable.
754 * Xref.pm: More reliable detection of (class) method calls.
755 * sepia.el: results are not displayed for expressions ending in
758 2004-04-12 Sean O'Rourke <seano@cs.ucsd.edu>
760 * sepia.el (sepia-doc-scan-buffer): Make regular expressions a
762 (sepia-ident-at-point): handle upper-case function and variable
763 names for completion (a bit hacky...).
764 (sepia-install-keys): fix keymap installation.
766 2004-04-11 Sean O'Rourke <seano@cs.ucsd.edu>
768 * Xref.pm (guess_module_file): do like Module::Info and trust
769 %INC more than our Xref info. But don't be _too_ smart about
770 this -- we were picking up lots of bogus exports.
771 (pp_method_named): add support for constant-named methods (cribbed
774 2004-04-10 Sean O'Rourke <seano@cs.ucsd.edu>
776 * Xref.pm: update $VERSION to track Sepia release.
778 * sepia.el (sepia-indent-or-complete): only complete on the
781 2004-04-09 Sean O'Rourke <seano@cs.ucsd.edu>
783 * sepia.el (sepia-refiner): tweak refining function a bit more.
784 I'm still not entirely happy with this, but it's getting better.
785 Time and experimentation are required.
787 * sepia-tree.el (sepia-calle[er]-tree): New file. Use
788 caller/callee information to generate tree-view using David
789 Ponce's wonderful tree-widget.
791 * Xref.pm (_apropos_re): Add that Emacs-style multipart-word
792 completion, so e.g. D:v_d -> Devel::Xref::var_defs. It's groovy,
794 (%firstline): gone. Just getting a line within the sub is good
795 enough -- we can fix it on the Emacs side of the fence later.
797 2004-04-08 Sean O'Rourke <seano@cs.ucsd.edu>
799 * sepia-w3m.el (sepia-w3m-perldoc-this): work for functions as
800 well as modules, and try to go to correct position in manpage.
802 * sepia.el (sepia-eval-buffer): use 'BEGIN{ die }' to do Xrefs
803 for scripts without loading them.
805 * Xref.pm: Localize a bunch of things instead of stomping on
806 package lexicals. This makes the module better handle repeated
807 use, for which it wasn't designed.
809 * Xref.pm (mod_subs): Rename package_subs for consistency.
810 (mod_decls): New function to generate decls for evaluation.
812 * sepia.el: misc bug-fixes, and better support for redefining
813 functions with sepia-eval-defun, especially preserving files and
815 (sepia-eval): remove newlines to make line-numbers make more
817 (sepia-interactive-arg): delay reading completions to speed up
819 (sepia-refiner): search both forward and backward, to adjust for
820 e.g. adding comments. Still not so good, but better.
822 2004-04-06 Sean O'Rourke <seano@cs.ucsd.edu>
824 * sepia-w3m.el: moved w3m-perldoc support here.
826 * README: added description, removed disclaimer
828 * sepia.el (sepia-symbol-info, sepia-doc-update): POD scanning
829 and cperl hackage for eldoc support.
831 2004-04-05 Sean O'Rourke <seano@cs.ucsd.edu>
833 * Xref.pm (redefined,forget): make them take a single sub at a
834 time, and pay attention to packages.
835 (_apropos): use package info to narrow choices.
837 * sepia.el (sepia-eval-defun,sepia-eval-buffer): new functions.
839 * test.pl: satisfy the cpants Fascists.
841 * Xref.pm (use_type): try to be smarter about when something's
842 being assigned to, vs. merely used as a reference.
844 * sepia.el (sepia-repl-header): keep up with generic-repl by
845 doing header line, working dir.
846 (sepia-complete-symbol): stupid bug with modules.
847 (sepia-install-keys): new function.
848 (sepia-var-assigns): assignments are more useful than defs.
849 (sepia-init): start REPL by default.
851 * generic-repl.el (repl-cd,repl-set-header): "new" function from
852 Slime to track working dir, update header line.
854 2004-04-04 Sean O'Rourke <seano@cs.ucsd.edu>
856 * Sepia.jpg: don't ask -- just look.
858 * sepia.el (sepia-ident-at-point): fixed bug with sigils.
859 (sepia-complete-symbol): fixed bug with undefined function
861 Always use Data::Dumper.
863 * any-repl.el: new file implementing REPL, basically stolen from
866 * pscope.el: renamed to sepia.el to go with name change.
868 2004-04-03 Sean O'Rourke <seano@cs.ucsd.edu>
870 * pscope.el (pscope-set-found): remove locations with no
871 file in package "main", which were causing errors before.
872 (pscope-dwim): new function. New functions
873 pscope-complete-symbol and pscope-indent-or-complete for
874 symbol completion. Not well-tested, but they seem to work.
875 The most annoying thing is that since the Xref db isn't
876 automatically updated, it won't always know as much as you
878 (pscope-load-file): new function.
880 * Xref.pm: update export lists to reflect new functions.
882 2004-04-02 Sean O'Rourke <seano@cs.ucsd.edu>
884 * Xref.pm: minor cleanup.
886 * pscope.el: pass module, file, line to Perl side (where it's
887 ignored for now); fix line number refinement to be a
888 little less over-eager; fix pscope-callees to go to sub
889 definitions instead of call sites.
891 * README: added TODO section.