forked from emacs-ess/ESS
/
ChangeLog
4400 lines (2835 loc) · 145 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2012-04-05 Rodney Sparapani <rsparapa@mcw.edu>
* ess-custom.el (ess-revision): extraordinary attempts
to get revision number
2012-04-03 Martin Maechler <maechler@stat.math.ethz.ch>
* ess-inf.el (ess-force-buffer-current): use no-autostart, instead
of autostart (each with the emacs default of nil). This
re-instantiates ESS 5.x behavior.
2012-04-03 Vitalie Spinu <spinuvit@gmail.com>
* ess-custom.el (ess-first-tab-never-completes-p): defalias for
ess-first-tab-never-complete
(ess-first-tab-never-complete): plenty of options for every taste.
(ess-tab-complete-in-script): new option.
2012-04-02 Sam Steingold <sds@gnu.org>
* ess-help.el (ess-help-mode-map): Older XEmacs misses
`special-mode-map', check for that.
* ess-tracebug.el (ess-watch-mode-map): Likewise.
2012-04-02 Sam Steingold <sds@gnu.org>
* ess-tracebug.el (ess-bp-kill): Bug fix: `called-interactively-p'
requires an argument; fix it as recommended in the doc for
`called-interactively-p' by avoiding it altogether; this also
takes care of compatibility.
2012-04-02 Sam Steingold <sds@gnu.org>
* ess-help.el (ess-help-mode-map): All supported emacsen have
`set-keymap-parent'.
* ess-inf.el (inferior-ess-mode-map, ess-mode-minibuffer-map): Likewise.
* ess-tracebug.el (ess-watch-mode-map): Likewise.
* ess-trns.el (ess-transcript-mode-map): Likewise.
* ess-mode.el (ess-mode-map): Likewise.
2012-04-02 Sam Steingold <sds@gnu.org>
* ess-inf.el (update-ess-process-name-list, ess-cleanup):
Use `dolist' instead of `mapc'+`lambda' for clarity and speed.
* ess-help.el (ess-help-mode, ess-describe-sec-map)
(ess-get-help-files-list, ess-get-help-aliases-list): Likewise.
2012-04-02 Sam Steingold <sds@gnu.org>
* ess-custom.el, ess-custom.el, ess-mous.el, ess-mouse.el:
* ess-r-args.el, ess-r-d.el, ess-rd.el, ess-s-l.el, ess-s4-d.el:
* ess-site.el, ess-sp5-d.el, ess-sp6-d.el, ess-swv.el:
* ess-tracebug.el, ess-utils.el, ess.el, make-regexp.el, mouseme.el:
* noweb-mode.el: Do not quote lambda forms, this is never needed.
2012-04-02 Sam Steingold <sds@gnu.org>
* ess-site.el: Rise up to the challenge: use `locate-file'
instead of horrible adhockery to check if info can find ess.info.
2012-03-30 Vitalie Spinu <spinuvit@gmail.com>
* ess-custom.el (ess-arg-function-offset-new-line): If a list of
the form '(N), indent at the indentation + N
* ess-r-d.el (ess-R-get-rcompletions, ess--funargs-command):
workaround for enableJIT warnings for R > 2.14.2
2012-03-26 Rodney Sparapani <rsparapa@mcw.edu>
* ess-help.el (ess-skip-to-help-section): this issue is documented in 2 places
http://www.xemacs.org/About/XEmacsVsGNUemacs.html
http://www.xemacs.org/Documentation/21.5/html/cl_4.html
So, the schism goes back many years: circa 1997-1998. However, the fix is not
If the keypress is meant to be a character, then
you wrap last-command-event as follows...
(if (featurep 'xemacs) last-command-char last-command-event)
2012-03-25 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (ess-get-object-list): new arg exclude-first to allow
exclusion of objects from .GlobalEnv in help completion.
2012-03-21 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (ess--funargs-command): "error" option is reset to
NULL in critical completion and eldoc actions.
* ess-inf.el (inferior-ess-set-status): new argument no-timestamp
to allow ess-command not to set the timestamp.
2012-03-20 Vitalie Spinu <spinuvit@gmail.com>
* noweb-mode.el (noweb-minor-mode-map): adjusted [tab] and
[return] keys not to interfere with ac-mode
2012-03-19 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (ess-eldoc-docstring-format): smart for-mating of a
doc string in minibuffer.
* ess-custom.el (ess-eldoc-abbreviation-style): level to filter/truncate
the doc string.
2012-03-16 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (ess--funname.start): is limiting the search from the
process marker only (bug reported by Sam Steingold on Mon Mar 12
19:40:22 CET 2012)
* ess-inf.el (ess-object-completion, ess-complete-object-name):
give suggestive info if proc is not associated.
(ess-filename-completion): :exclusive 'no
(inferior-ess-mode): completely removed dependence on
comint-dynamic-complete.
* ess-r-d.el (ess-R-complete-object-name): added info message on
missing proc.
* ess-roxy.el: (ess-roxy-tag-completion): new completion function
for emacs 24
(ess-roxy-mode): adjusted roxy tag completion to new ESS and emacs
24 system.
2012-03-14 Henning Redestig <henning@psc.riken.jp>
* ess-roxy.el (ess-roxy-complete-tag): removed function advice for
(ess-internal-complete-object-name) to reflect the new tab
behavior and also made tab not hide roxy entry unless point is at
the beginning of the line (so similar to org-mode's visibility
cycling)
(comint-dynamic-complete-functions): and dropped the advice
to (ess-R-complete-object-name) as well.
2012-03-13 Henning Redestig <henning@psc.riken.jp>
* ess-roxy.el (ess-roxy-preview): put all R-code on one line to
get rid f the +s
2012-03-13 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (inferior-ess-mode-map): don't bind M-TAB in emacs 24.
* ess-mode.el (ess-mode-map): Don't bind M-TAB in emacs 24, it's
the emacs standard to call completion-at-point or comlete-symbol
which do the same thing.
* ess-r-d.el (ess-R-get-rcompletions): return a token as a first
element of a list.
(R-mode): init emacs 24 completions.
2012-03-12 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (ess-filename-completion): filename completion to
comply with emacs 24 standard.
(ess-complete-filename): modified quote detection.
2012-03-11 Henning Redestig <henning@psc.riken.jp>
* ess-roxy.el (ess-roxy-preview): semi-working version for
roxygen2 without creating directories. Unfortunately appends lots
'+'s at the created Rd file.
2012-03-09 Vitalie Spinu <spinuvit@gmail.com>
* ess-help.el (ess-help-kill, ess-help-quit): smarter quit and
kill behavior.
(ess-display-help-on-object): fixed the help display bug.
2012-03-08 Vitalie Spinu <spinuvit@gmail.com>
* ess-custom.el (ess-arg-function-offset-new-line): new
indentation offset, better handling of long funargs. See the doc.
2012-03-05 Vitalie Spinu <spinuvit@gmail.com>
* ess-custom.el (ess-first-tab-never-completes-p): if t never
complete on first TAB in ess-mode.
* ess-mode.el (ess-indent-or-complete): improved handling of the
nil process
* ess-s-l.el: removed S-calculate-indent and S-indent-line (these
are ess-indent-line and ess-calculate-indent from 2004 already,
and created confusion)
2012-03-04 Vitalie Spinu <spinuvit@gmail.com>
* ess-swv.el (ess-swv-PDF): ess-completing-read
* noweb-mode.el (noweb-goto-chunk): ess-completing-read
* ess-inf.el (ess-request-a-process, ess-request-a-process)
(ess-read-object-name): ess-completing-read
* ess-tracebug.el (ess-dbg-command-digit): ess-completing-read
* ess-rd.el (Rd-mode-insert-section): ess-completing-read
* ess-mode.el (ess-set-style): ess-completing-read
2012-03-02 Martin Maechler <maechler@stat.math.ethz.ch>
* ess-custom.el (ess-roxy-package): new variable, (FIXME potentially)
with new default "roxygen2". %% FIXME, 'roxygen2' fails
* ess-roxy.el (ess-roxy-preview): now using ess-roxy-package
instead of "roxygen".
2012-03-02 Rodney Sparapani <rsparapa@mcw.edu>
* ess-bugs-l.el (ess-bugs-hot-arrow): add a space before arrow
2012-03-01 Vitalie Spinu <spinuvit@gmail.com>
* ess.el (ess-yank-cleaned-commands, ess-yank): C-u C-u C-y yanks
only the commands from the kill ring (as proposed by Richard
M. Heiberger). It uses ess-transcript-clean-region.
2012-02-29 Vitalie Spinu <spinuvit@gmail.com>
* ess-mode.el (ess-mode): use comint-dynamic-completion.
* ess-r-d.el (R-mode): use comint-dynamic-completion.
* ess-mode.el (ess-mode-map): TAB is bound to ess-indent-or-complete.
2012-02-27 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (ess-function-arguments): works with current instead
of local process. That means eldoc and completion are available
even if buffer is not associated with a process.
* ess-help.el (ess-help-bogus-buffer-p): regexp includes the name
of the doc object.
(ess-display-help-on-object): killed buffer display bug fix,
reported and fixed by Sam Steingold.
(ess-help-mode-map): inherits form special-mode-map, "k" is
kill-this-buffer instead of kill-buffer. "q" is quit-window
instead of bury-buffer. (pointed by Sam Steingold)
* ess-r-d.el (ess-funname.start, ess-function-arguments):
execution bugs corrected and robustified caching.
* ess-r-args.el (ess-r-args-get): relies on ess-function-arguments now.
* ess.el (ess-load-extras): new function to load extra features.
* ess-tracebug.el (ess-tracebug-map): a couple of renames.
* ess-mode.el (ess-mode): (ess-load-extras)
* ess-eldoc.el (ess-eldoc): moved the code into ess-r-d.el.
* ess-developer.el: moved documentation into the user manual
* ess-custom.el (ess-use-eldoc, ess-eldoc-show-on-symbol)
(ess-use-auto-complete): Implemented ess-use-xxx system.
2012-02-26 Vitalie Spinu <spinuvit@gmail.com>
* ess-tracebug.el (ess-tracebug-prefix): set to nil, as to require
the user to choose the binging.
2012-02-25 Vitalie Spinu <spinuvit@gmail.com>
* ess-tracebug.el (ess-long+replacement): it's shorter "+ . +" now.
* ess-custom.el (inferior-ess-S-prompt): small adjustment of the
prompt for tracebug cuts.
* ess-r-d.el (ess-function-arguments): modified the form of the
returned value.
2012-02-23 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el:
(ess-switch-to-ESS): force-buffer-current instead of
make-buffer-current. Much more useful in interactive use, which
this function is almost always used.
(ess-force-buffer-current): New argument to auto-start process if
the process died. This case was not treated before.
2012-02-21 Vitalie Spinu <spinuvit@gmail.com>
* ess-eldoc.el (ess-eldoc-everywhere-p): controls whether to show
args everywhere or only inside function call.
(ess-eldoc): complete rewrite of ess-eldoc, to use argument
completion api. Automatic caching + generic args + handling of
complex expressions + calling process only when really needed.
* ess-r-d.el (ess-function-arguments): optimized funarg retrieval.
(ess-get-object-at-point): a very permissive version of
symbol-at-point. Allows almost any R object.
2012-02-20 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (inferior-ess-set-status): set 'last-eval property
giving the time of the last interaction with the process.
* ess-r-d.el (ess--funargs-cache, ess-function-arguments): New
uniform caching support for argument completion. Arg are reliably
cached on first completion invocation. All completion mechanisms
should use ess-function-arguments.
(ess-funname.point): Retrieve the name of a function call and
starting point of a call. All interfaces should use it for
argument completion.
* ess-r-args.el (ess-r-args-get): completes arguments for S3
generic if found.
* ess-r-d.el (ac-source-R, ac-source-R-objects)
(ac-source-R-args): Completely rewrote the ac support. ESS now
provides the above 3 sources to accomplish any completion taste.
2012-02-19 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (ess-switch-to-ESS): Associates the buffer with
current process. Make sense when the buffer is not yet associated
with any process.
(with-current-process-buffer): new macro to execute the &body
inside current ess process buffer.
(ess-command): removed PROMPT argument.
(ess-command): removed sleeping, not relevant anymore argument
still stays, apparently needed for dde.
2012-02-04 Vitalie Spinu <spinuvit@gmail.com>
* ess-tracebug.el (ess-watch-mode): corrected watch-mode
documentation and added the ? and d keys.
2012-02-03 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (inferior-ess--get-old-input:regexp): silent
byte-compile on free var.
* ess-tracebug.el (ess-tracebug-inject-source-p): better control
source injection.
(ess-eval-region2): removed eva-region, eva-linewise,
eval-function fixes from tracebug (everything incorporated into
the core).
* ess-inf.el (ess-eval-function): complete rewrite to accommodate
developer and tracebug and potentially other addons in the future.
(ess-load-file) calls ess-tracebug-source-current-file if tb is
active.
* ess-developer.el: Many unifying changes, bug fixes. Follows
ess-eval-visibly-p whenever possible. Implemented region and
function devEvals.
* ess-inf.el (ess-eval-region): moved ddeclient to lower level
`ess-send-region'
(ess-send-string, ess-send-region): consolidated these low-level
work-horse functions.
2012-02-02 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (ess-eval-region): removed the archaic
ess-synchronize-evals, a workaround for emacs 18.57.
(ess-eval-region): is now aware of ess-tracebug and ess-developer.
2012-02-01 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (ess-sos, ess-setRepositories, ess-setCRANMiror): added two more handy
commands.
* ess-roxy.el (ess-roxy-mode-map): new key C-c C-e t for preview-text
(ess-roxyb-preview-text): new function for preview in text format
* ess-rd.el (Rd-preview-help): solved nil file-name bug with roxy
preview.
2012-01-28 Vitalie Spinu <spinuvit@gmail.com>
* ess-developer.el (ess-developer-assign-function): integrated
with ess-eval-function; also takes care of tracebug.
* ess-tracebug.el (ess-tracebug-assign-function): tracebug doesn't
reassign ess-eval-function anymore (it's integrated now in ESS)
(ess-process-send-string): moved into ess-inf.el
* ess-inf.el (ess-process-send-string): low level wrapper for
process-send to enable pre-processing of input string. Currently
removes empty lines when debugging is active.
* ess-inf.el (ess-load-file): if in developer mode call
ess-developer-source-current-file.
(ess-process-get): new function, wrapper for process-get
(ess-eval-function): is now aware of ess-developer and ess-tracebug
(ess-command): added two new arguments wait and prompt
2012-01-27 Vitalie Spinu <spinuvit@gmail.com>
* ess-tracebug.el (ess-dbg-mode-line-indicator): dynamic mode line
support.
* ess-custom.el (ess-mode-line-indicator): doc string
* ess-tracebug.el (ess-dbg-flag-for-debugging): added support for
org mode and file free buffers.
2012-01-23 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (ess-library): set ess-sp-change to t.
* ess-inf.el (ess-smart-comma): made smart operators
customizable. New ess-smart-variables local var to hold smart ops
which are active in the mode.
* ess-r-d.el: further work on AC.
* ess-custom.el (inferior-ess-S-prompt): small adjustment of S prompt regexp.
2012-01-21 Vitalie Spinu <spinuvit@gmail.com>
* ess-tracebug.el : several corrections to silent the compiler.
* Makefile (ELC): added developer and tracebug.
* ess-r-d.el (ac-source-R-objects, ac-source-R-args): two sources for ac.
(ess-init-ac): default initialization of ac.
* ess.el (ess-completing-read): added automatic handling of ': '.
* ess-tracebug.el (ess-dbg-flag-for-debugging)
(ess-dbg-unflag-for-debugging): modiefied to use ess-completing-read.
(require): removed ido dependency.
2012-01-20 Rodney Sparapani <rsparapa@mcw.edu>
* ess-bugs-d.el (ess-bugs-font-lock-keywords): add
censoring notation: C( , )
2012-01-20 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (inferior-ess--goto-input-start:regexp): new function
for regexp based input search.
(inferior-ess-get-old-input): ESS now fully supports both field
and regexp input handling. Fields are not used though; may be in
the future.
(inferior-ess-mode): removed ac inits
(ess-mode): removed ac inits (was too intrusive)
* ess-custom.el (inferior-ess-S-prompt): new custom var. User can
customize this regexp to enhance navigation in comint and
transcript buffers.
2012-01-19 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (ess-R-get-rcompletions): require 'ess-tracebug
* ess-tracebug.el Added and integrated with ESS.
* ess-inf.el (inferior-ess-set-status): returns the process busy
status for convenience
2012-01-18 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-l.el (SAS-mode-font-lock-keywords): generalized
support for NOTEs/WARNINGs/ERRORs with numeric
call signs that match the regexp [0-9]+-[0-9]+
2012-01-18 Vitalie Spinu <spinuvit@gmail.com>
* ess-mode.el (ess-mode): added ac support
* ess-inf.el (inferior-ess-mode): added ac support
* ess-r-d.el (R): added ac support
* ess-custom.el (ess-use-ac-p, ess-ac-source-R)
(ess-ac-sources-R, ess-ac-source): added auto-complete integration.
* ess-r-d.el (ess-R-complete-object-name): simplified
ess-R-complete-object-name by reducing huge number of invocations
of ess-command to 2
(ess-R-get-rcompletions): new function - workhorse of internal
r-completions.
* ess-r-args.el (ess-r-args-get): new TRIM argument
(ess-r-args-show): rearrangement of the code.
* ess-eldoc.el (ess-eldoc): moved new-line replacement into
ess-r-args-get.
2012-01-17 Vitalie Spinu <spinuvit@gmail.com>
* ess.el: added xemacs support for process-plist,
set-process-plist, process-put and process-get. All should be
removed when xemacs finally supports them.
* ess-site.el: removed the piece on customizing prompts, it does
not work and is misleading for the users.
* ess-r-d.el (R): write proc version into dribble.
* ess-inf.el (ess-multi): marking newly created ess process as
busy and wait for the proc afterward.
2012-01-16 Vitalie Spinu <spinuvit@gmail.com>
* ess-trns.el (ess-transcript-mode): small adjustment of the prompt.
* ess-inf.el (inferior-ess-get-old-input): supports both fields
and regexp comint and acts in accordance with the value of
'comint-use-prompt-regexp.
(ess-smart-comma): improved usability.
* ess-custom.el (ess-handy-commands): improved handy commands for
smart comma.
* ess-trns.el (ess-transcript-mode): set comint-use-prompt-regexp
to t in trns-mode and adjusted regexp of the inferior-ess-prompt.
2012-01-15 Vitalie Spinu <spinuvit@gmail.com>
Major re-factoring of ess-inf.el - new waiting-for-prompt mechanism.
* ess-inf.el (ordinary-insertion-filter): complete cleanup.
(inferior-ess-output-filter): sets process status (i.e. busy,
sec-prompt properties)
* ess-inf.el (ess-multi): removed inferior-ess-wait-for-prompt and
replaces with ess-wait-for-process which uses new prompt
monitoring mechanism
(ess-eval-linewise): removed timeout-ms and replaced with wait-sec
to be parsed to ess-wait-for-process. Default is 0s. Removed
kludges and prompt waiting loop.
(inferior-ess-get-old-input): completely redefined to take
advantage of fields.
(inferior-ess-goto-input-end):
(inferior-ess-goto-input-end): new functions to navigate through
input by means of fields in inferior-buffer or transcript.
* ess-custom.el (inferior-ess-primary-prompt): simplified default
prompts to "> " and "+ "
* ess-arc-d.el (xxx-customize-alist): replaced deprecated
comint-use-prompt-regexp-instead-of-fields with
comint-use-prompt-regexp.
2012-01-14 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (R-customize-alist): removed
inferior-ess-command-prompt. It is no longer necessary with recent
changes in the waiting mechanism.
2012-01-14 Vitalie Spinu <spinuvit@gmail.com>
* ess-eldoc.el (ess-eldoc): remove new lines from argument list to
avoid frequent distortion of emacs windows.
2012-01-07 Martin Maechler <maechler@stat.math.ethz.ch>
* ess-mode.el (ess-mode-map): C-c . sets style (as in C-mode)
2011-12-23 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (ess-smart-comma): inspired by slime-repl ,shortcut.
If "," is the first character typed in the inferior-ess buffer it
requests for execution one of the commands in ess-handy-commands
list.
2011-12-14 Vitalie Spinu <spinuvit@gmail.com>
* ess-mode.el (ess-calculate-indent): let bind
beginning-of-defun-function to nil in ess-calculate-indent to
prevent the use of ess-beginning-of-function
2011-12-13 Vitalie Spinu <spinuvit@gmail.com>
* ess-mode.el (ess-mode): set beginning-of-defun-function and
end-of-defun-function to make swank/slime work.
(ess-function-pattern): allowed for function names of the form
'.+', '.+', ".+" in ess-R-function-pattern.
2011-12-12 Vitalie Spinu <spinuvit@gmail.com>
* ess-developer.el (ess-developer): the bulk of ess-developer.el
and ess-developer.R is finished. See the file header for the full
details.
2011-12-01 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (ess-library): ido interface to library()
2011-11-24 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (ess-prompt-wait): ess-prompt-wait is more
sophisticated now. It checks for prompt only if no more output has
been received from the process. Looking-at is replaced with
re-search-forward in order to avoid anchoring the prompt to the
bol.
2011-11-18 Vitalie Spinu <spinuvit@gmail.com>
* ess-developer.el (ess-developer-source-current-file):
interface to insertSource.
* ess-inf.el (ess-get-process-variable): added (boundedp var)
check. If var is not defined ess-get-process-variable returns
nil. Useful when some vars are defined for one mode and not for
others.
2011-11-17 Vitalie Spinu <spinuvit@gmail.com>
* ess-inf.el (ess-eval-function-or-paragraph-and-step): now calls
ess-eval-function in order to reuse ess-developer and ess-tracebug
improvements of ess-eval-function.
(ess-eval-function): new argument 'no-error
2011-11-14 Vitalie Spinu <spinuvit@gmail.com>
* ess-help.el (ess-read-helpobj-name-default): defined alias for
ess-helpobj-at-point.
2011-11-13 Vitalie Spinu <spinuvit@gmail.com>
* ess-help.el (ess-helpobj-at-point): modified the name of
ess-read-helpobj-name-default to a more intuitive one and
consistent with emacs conventions.
* ess-custom.el (ess-help-pop-to-buffer): If non-nil ess-help
buffers are given focus during the display.
(ess-ido-flex-matching): if you don't use ido flex matching but
still want it for ESS, here it is.
* ess-help.el (ess-display-help-on-object): put cache update on
universal argument, it also regenerates the help buffer as
before. Removed curr-* kludge which was not necessary. Removed the
handling of help buffer into separate function.
(ess-help-type): local variable in help files holding the help
type symbol. So far, 'help, 'index, 'vignette.
(ess-help-object): local in help files holding the name of the
help object, i.e. name of the package for index and help topic for
ordinary help.
(ess-help-mode-map): new keys - i for index, v for vignette, w for
help in web-browser. "q" key is not burring the buffer instead of
jumping to the end of ESS. C-c C-z is standard combination for
that action.
(ess-help-mode-menu): new menu entries for index vignette and
browse in web-browser.
(ess-find-help-file): This one does not do the prompt processing
anymore. Everything is done in ess-completing-read now.
(ess-get-help-topics-list): topics are now list of strings instead
of alist. IDO and emacs handles them better. A workaround is
implemented for Xemacs to use alist in ess-completing-read.
-------------
New functions:
(ess-display-index): linked index with ido request.
(ess-R-display-vignettes, ess-display-vignettes): display
vignettes in nicely formatted, linked help buffer. In xemacs emits
the call to browseVignettes() instead.
(ess-display-help-in-browser): pop the current help page in
browser.
(ess--switch-to-help-buffer): display help buffers, consistently
with `ess-help-pop-to-buffer' and `ess-help-own-frame'.
* ess.el (ess-completing-read): moved code around.
* ess-inf.el (ess-eval-function): integrated ess-developer in ess-eval-function
Works only for R, useful for S as well?
* ess-mode.el (ess-mode): integrated mode-line-indicator.
* ess-inf.el (inferior-ess-mode): integrated mode-line-indicator.
* ess-custom.el (ess-mode-line-indicator): added dynamic mode-line
indicator. Mode line of ess-mode is now in sync with the
associated process. This feature is used by ess-developer and
ess-tracebug. Xemacs does not have the necessary support for it.
2011-11-12 Vitalie Spinu <spinuvit@gmail.com>
* ess.el (ess-completing-read): new function to use for completion
in ESS. It uses ido completion mechanism whenever available, and
falls back on classical completing-read otherwise.
* ess-r-d.el (ess-install.packages): fast way to instal packages
with ido interface.
* ess-custom.el (ess-use-ido): users can disable ido if they
don't want it.
(ess--completing-hist): new internal variable to store completion
history.
* ess-inf.el (ess-get-words-from-vector): addapted regular
expression to match "\"", this was breaking the command
before. See etc/R-ESS-bugs.el (bug 1).
Added comment on max.print truncating the vector in the
doc string (bug 2 in etc/R-ESS-bugs.el). Sill not sure if
should wrap the code automatically or leave it to the user.
2011-11-11 Vitalie Spinu <spinuvit@gmail.com>
* ess-r-d.el (R-customize-alist): added
`inferior-ess-command-prompt' to R-customize-alist. Solves bug 3
in etc/R-ESS-bugs.el.
* ess-custom.el (inferior-ess-command-prompt): new prompt regexp
to be used specifically in ess-command. If nil (the default)
ess-command uses `inferior-ess-primary-prompt' as it was before.
* ess-inf.el (ess-command): Anchoring the prompt to the end of
buffer in order to avoid premature prompt detection (see
etc/R-ESS-bugs.el bug 4). Moved ..ok{ess-command} inside
unwind-protect. Before it was ..ok even when ess-command failed.
(ess-prompt-wait): Added new required parameter PROMPT-REG for the
local prompt regexp to be passed explicitly. Before, it was using
global value of the prompt regexp.
Dropped start-of-output argument. It's never used in ess-code and
had confusing meaning wich was not even documented.
2011-11-03 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-l.el (sas-fix-life-tables): if read-only,
then toggle to read-write first
(SAS-listing-mode): name ESS[LST] for emacs functionality
that cares about names like tabbar
2011-09-30 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-a.el (ess-sas-graph-view): search for GSASFILE more
robust to handle recent versions of SAS and embedded dots in
filename
2011-09-17 Henning Redestig <henning@psc.riken.jp>
* ess-roxy.el (ess-roxy-fill-field): Filling text inside roxygen
entries now operate on individual paragraphs instead of the whole
field.
2011-09-16 Sebastian P. Luque <spluque@gmail.com>
* ess-swv.el (ess-swv-remove-TeX-commands): Simplify removal of
commands from TeX-command-list (AUCTeX users). Thanks to Stephen.
(ess-swv-toggle-plug-into-AUCTeX): Fixed doc string.
2011-09-11 Henning Redestig <henning@psc.riken.jp>
* ess-roxy.el (ess-roxy-update-entry): fixes problem with roxy
entries in the beginning of a file
2011-09-03 Henning Redestig <henning@psc.riken.jp>
* ess-roxy.el (ess-roxy-in-header-p): fix introduced bug in update-entry
2011-09-01 Henning Redestig <henning@psc.riken.jp>
* ess-roxy.el (ess-roxy-get-args-list-from-entry): couldnt really
handle the ... argument param description before. can now.
2011-09-01 Martin Maechler <maechler@stat.math.ethz.ch>
* ess-custom.el (ess-history-file): now three-valued;
(nil, t, <string>). If nil, *no* history is read or written.
* ess-inf.el (inferior-ess, ess-multi): ess-history-file changes;
finally *use* the ess-history-directory.
2011-08-31 Henning Redestig <henning@psc.riken.jp>
* ess-roxy.el (ess-roxy-end-of-field): attempt to handle mutiple
paragraphs inside @param fields etc.
2011-08-31 Sebastian P. Luque <spluque@gmail.com>
* ess-help.el (ess-get-help-aliases-list): Choose whether to use
.readRDS() or readRDS() based on R version.
2011-08-30 Sebastian P. Luque <spluque@gmail.com>
* ess-swv.el (ess-swv-plug-into-AUCTeX): Evaluate this function
after loading tex.
2011-08-18 Rodney Sparapani <rsparapa@mcw.edu>
* ess-bugs-d.el (ess-bugs-switch-to-suffix): let's not
magnify burn-in (via the thinning multiple)
2011-08-17 Stephen Eglen <stephen@gnu.org>
* ess-r-d.el (ess-r-versions): Add "R32" and "R64" if working on a
mac.
2011-07-28 Rodney Sparapani <rsparapa@mcw.edu>
* ess-bugs-d.el (ess-bugs-switch-to-suffix): complete
support for thinning: ESS[BUGS] appears to be ready
for release
2011-07-27 Martin Maechler <maechler@stat.math.ethz.ch>
* ess-s-l.el (ess-insert-S-assign): factored out from
ess-smart-underscore; now also assigned to A-- for *-MM-keys.
2011-07-22 Rodney Sparapani <rsparapa@mcw.edu>
* ess-bugs-d.el (ess-bugs-na-bmd): workaround the
OpenBUGS nohup bug with "at"; this time without
creating additional files, i.e. piping to "at"
2011-07-20 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-a.el (ess-sas-cd): attempt to workaround Emacs bug; shell
buffer snarfing the cd command.
* ess-bugs-d.el (ess-bugs-na-bmd): ditto
2011-07-08 Rodney Sparapani <rsparapa@mcw.edu>
* ess-bugs-d.el (ess-bugs-font-lock-keywords): adding
keywords that are members of both the OpenBUGS script
language and BRUGS (why the 2 sets are not the
same; I don't know)
2011-07-05 Rodney Sparapani <rsparapa@mcw.edu>
* ess-bugs-d.el (ess-bugs-na-bmd): workaround the
OpenBUGS nohup bug with "at"
2011-06-24 Rodney Sparapani <rsparapa@mcw.edu>
* ess-jags-d.el (ess-jags-na-jmd): we now support bash
2011-06-23 Rodney Sparapani <rsparapa@mcw.edu>
* ess-bugs-l.el (ess-bugs-next-action): separation of
ESS[BUGS] and ESS[JAGS] is now functional. ESS[JAGS]
is pretty complete, but ESS[BUGS] is still in development,
however, it does appear to work.
2011-06-22 Rodney Sparapani <rsparapa@mcw.edu>
* ess-bugs-d.el (ess-bugs-font-lock-keywords): updating to
new OpenBUGS scripting language (incomplete so far, but
serviceable)
2011-06-21 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-a.el (ess-rtf-replace-chars): fixing form feed bug
* ess-bugs-d.el/ess-custom.el/ess-compat.el:
fix a bunch of bugs and get ESS[BUGS] working for GNU Emacs
utilize (ess-sleep) after (shell) which, apparently, is
necessary for GNU Emacs; rename ess-sleep-for to
ess-sleep-for-shell and move to ess-custom
2011-06-20 Henning Redestig <henning@psc.riken.jp>
* ess-roxy.el (ess-roxy-get-function-args): Enhancement to handle
in-definition comments per Tengfei Yin's request
2011-06-14 Rodney Sparapani <rsparapa@mcw.edu>
* ess-utils.el (ess-revert-wisely): stores
and restores the point after revert
2011-06-07 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-l.el (SAS-log-mode): change
mode-name to ESS[LOG] so that tabbar-mode
knows to list the .log's separately from
the .sas buffers
2011-05-31 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-l.el (sas-fix-life-tables): re-implemented
with re-search-forward/replace-match
(fix-page-breaks): re-implemented
with re-search-forward/replace-match; unfortunately,
not really sure what this function is meant to do;
probably not very useful to anyone at this point, but
it does compile without any warnings!
2011-05-27 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-a.el: re-implemented rudimentary RTF support since
GNU Emacs does not work with rtf-support.el (sadly, XEmacs
has had this for over a decade); does NOT support font re-sizing;
you are stuck with a point size of 8. Enjoy!
2011-05-26 Stephen Eglen <stephen@gnu.org>
* ess-inf.el (ess-eval-paragraph-and-step): Apply Erik Iverson's
patch from Feb 2011, so that after evaluating the paragraph, it
skips any blank lines and comments, just like
ess-eval-line-and-step.
(ess-eval-function-or-paragraph-and-step): As above.
2011-05-08 Sebastian P. Luque <spluque@gmail.com>
* ess-inf.el (ess-show-buffer): Fixed minor typo in doc string.
2011-05-05 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-a.el: several changes necessary to
support GNU Emacs for ESS[SAS] batch
2011-04-06 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-l.el (SAS-mode-font-lock-keywords): most
common SAS/Graph statements now added
2011-04-01 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-l.el (SAS-mode-font-lock-keywords): adding
a few common SAS/Graph statements, but much more is
left to be done
2011-03-25 Rodney Sparapani <rsparapa@mcw.edu>
* ess-sas-l.el (sas-fix-life-tables): I assume that sed
command worked for someone at some point, but it was not
working for me; and it was overly complicated, so I
simplified; hopefully it works now; please test.
2011-03-02 Sebastian P. Luque <spluque@gmail.com>
* ess-rutils.el: Standardized function names for consistency.
Thanks to Cesar Rabak (ESS-help).
2011-02-28 Rodney Sparapani <rsparapa@mcw.edu>
* ess-site.el, ess-bugs-l.el, ess-bugs-d.el, ess-jags-d.el:
Batch BUGS is back! With OpenBUGS, a batch BUGS script is
available for Linux. Therefore, since it seems that BUGS
and JAGS must co-exist (rather than a transition from BUGS
to JAGS), .bug files are in ESS[BUGS] mode and .jug files
are in ESS[JAGS] mode. ESS[BUGS] now works like ESS[JAGS]
rather than the orignal mode ESS[BUGS] mode which was
difficult to maintain. However, ESS[BUGS] needs a lot of
work such as support for thinning, multiple data files,
etc.
2011-02-14 Sebastian P. Luque <spluque@gmail.com>
* ess-swv.el (ess-swv-add-TeX-commands): Use "%t" instead of "%s"
when Sweave'ing via AUCTeX.
2011-02-13 Sebastian P. Luque <spluque@gmail.com>
* ess-custom.el (ess-swv-plug-into-AUCTeX-p): New customizable
variable, which defaults to nil, to determine whether AUCTeX
interface is enabled or not.
* ess-swv.el: New functions to allow working with Sweave via
AUCTeX.
2011-02-02 Richard M. Heiberger <rmh@temple.edu>
* ess-custom.el (ess-program-files, ess-program-files-64)
(ess-SHOME-versions, ess-SHOME-versions-64)
(inferior-S+6-program-name, inferior-Sqpe+6-program-name)
(inferior-Sqpe+6-SHOME-name): Pathnames for all 32-bit and 64-bit
versions of Sqpe. Add the most recent "/TIBCO/splus82" and make
it the default.
* ess-sp6w-d.el (ess-sqpe-versions-create): Give the function an
argument of pathnames and an indicator whether they are 32-bit or
64bit pathnames.
* ess-site.el (ess-s-versions-created): Use the revised functions
and variables to find all 32-bit and 64-bit versions of Sqpe.
2011-02-01 Martin Maechler <maechler@stat.math.ethz.ch>
* ess-r-d.el (R): change use-dialog-box (to nil) only on windows.
* ess-inf.el (ess-get-directory): now use new inferior-R-version
which is set in the created R-X.Y version functions.
2011-01-31 Martin Maechler <maechler@stat.math.ethz.ch>
* ess-site.el (ess-rterm-version-paths): now use *long* filenames
* ess-r-d.el (ess-r-versions-create): ditto; now produce "proper"
version names.
* ess-r-d.el (ess-rterm-arch-version): extend to return cons; and
use "-32bit" / "-64bit" in the bi-arch cases.
2011-01-19 Stephen Eglen <stephen@gnu.org>
* ess-rd.el (Rd-preview-help): Quote filename to prevent spaces in
filenames causing problems running the shell-command.
Fix up so that navigation shortcuts present in normal R Help buffers
work in the output buffer.
Add a short docstring and tidy code.
2011-01-12 Richard M. Heiberger <rmh@temple.edu>
* ess-site.el (ess-rterm-version-paths): extend to find all 32-bit