Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-25 Thread Martin Maechler
> Vitalie Spinu > on Wed, 25 Apr 2018 11:16:57 +0200 writes: > I don't see this in 3.4.4 nor in Devel. >>> On Wed, Apr 25 2018 10:55, Lionel Henry wrote: >> Doesn't setting `options(deparse.max.lines = NA)` do the trick? >> Martin fixed this for

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-24 Thread Patrick Connolly
On Tue, 24-Apr-2018 at 08:20AM -0400, Ista Zahn wrote: |> On Tue, Apr 24, 2018 at 4:13 AM, Patrick Connolly |> wrote: |> > On Mon, 16-Apr-2018 at 09:02AM -0400, Ista Zahn wrote: |> > |> > [...] |> > |> > |> This suggests to me that you did _not_ start with emacs -q,

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-24 Thread Ista Zahn
On Tue, Apr 24, 2018 at 4:13 AM, Patrick Connolly wrote: > On Mon, 16-Apr-2018 at 09:02AM -0400, Ista Zahn wrote: > > [...] > > |> This suggests to me that you did _not_ start with emacs -q, so indeed > |> you should start looking at your configuration to see where the

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-24 Thread Patrick Connolly
On Mon, 16-Apr-2018 at 09:02AM -0400, Ista Zahn wrote: [...] |> This suggests to me that you did _not_ start with emacs -q, so indeed |> you should start looking at your configuration to see where the |> problem is. Did you try commenting out the 'ess-source-directory' |> setting to see if that

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-16 Thread Ista Zahn
Hi Patrick, On Mon, Apr 16, 2018 at 5:10 AM, Patrick Connolly wrote: > This is about the shortest I can get that shows what happens: Just > what the example function does is not material to my question. Can you reproduce this following only these instructions

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-16 Thread Patrick Connolly
This is about the shortest I can get that shows what happens: Just what the example function does is not material to my question. ## from the bash prompt mkdir ~/Temp/First cd ~/Temp/First emacs & # start R using M-x R ## within the *R* buffer make a short function bringLibrary <-

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-14 Thread Patrick Connolly
G'day Ista, I'm having trouble getting an example small enough to show. Some work properly and others (usually longer ones) don't. Can't imagine what makes the difference. I'll be at the machine where I normally work and there I'll find a small example. Thanks for looking at my problem. best

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-12 Thread Ista Zahn
On Thu, Apr 12, 2018 at 3:56 AM, Patrick Connolly wrote: > Thanks for the response, however, if I start Emacs with a '-q' none of > my ~/.emacs file is read, so Emacs doesn't know how to start R. More > to the point, I'm unable to run R within Emacs any other way.

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-12 Thread Lionel Henry
I think we should adjust the max lines before calling dump(). In the mean time you can do it manually: options(deparse.max.lines = NA) The reason for the change of behaviour is this change in R: https://github.com/wch/r-source/commit/201ddbd16e8f410c469dcd4695471c0bedd65dd5 dput() and

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-12 Thread Patrick Connolly
Thanks for the response, however, if I start Emacs with a '-q' none of my ~/.emacs file is read, so Emacs doesn't know how to start R. More to the point, I'm unable to run R within Emacs any other way. I gather there is a way of applying individual lines of the .emacs files but a bear with a

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-11 Thread Ista Zahn
I can't reproduce it with the latest ESS from melpa. Can you give reproduction steps starting with emacs -q ? --Ista On Wed, Apr 11, 2018 at 4:58 AM, Patrick Connolly wrote: > For a long time I used to be able to use > > ess-dump-object-into-edit-buffer > > to