Re: [ESS] ess-insert-function-outline
On Fri, 04-May-2018 at 10:23AM +0200, Lionel Henry wrote: |> |> |> > On 4 mai 2018, at 10:05, Patrick Connolly wrote: |> > |> > That's the same as what's in my lisp/old directory. What am I to |> > learn from that? |> |> You can copy-paste its contents into your emacs configuration file. |> . Many thanks, Lionel. It works fine now. And apologies for my ignorance. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) . Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help
Re: [ESS] ess-insert-function-outline
> On 4 mai 2018, at 10:05, Patrick Connolly wrote: > > That's the same as what's in my lisp/old directory. What am I to > learn from that? You can copy-paste its contents into your emacs configuration file. __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help
Re: [ESS] ess-insert-function-outline
Thanks Lionel. On Thu, 03-May-2018 at 11:14AM +0200, Lionel Henry wrote: |> |> |> > On 3 mai 2018, at 10:54, Patrick Connolly |> > wrote: |> > What could be the thinking behind that? |> |> This function is strictly less useful than the alternatives mentioned by |> Alex (yasnippet is an excellent package). You can copy the old definition |> in your configuration file if you'd like to continue using it. Which configuration file are you referring to? Not the function-outline.S in etc/ because it's already there. Something in the lisp/ directory? Anything that contains reference to function-outline seems to be the same. I'm pretty ignorant of how the idea of .el and .elc files in lisp works. I just use emacs to write R code. The yasnippet package would take me ages to get my head around, and I don't have use for most of what it seems to do. |> |> https://github.com/emacs-ess/ESS/blob/master/lisp/old/ess-old-s.el That's the same as what's in my lisp/old directory. What am I to learn from that? best -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) . Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help
Re: [ESS] ess-insert-function-outline
> On 3 mai 2018, at 10:54, Patrick Connolly wrote: > > What could be the thinking behind that? This function is strictly less useful than the alternatives mentioned by Alex (yasnippet is an excellent package). You can copy the old definition in your configuration file if you'd like to continue using it. https://github.com/emacs-ess/ESS/blob/master/lisp/old/ess-old-s.el Lionel __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help
Re: [ESS] ess-insert-function-outline
G'day Alex, On Wed, 02-May-2018 at 09:19AM -0500, Alex Branham wrote: [...] |> |> It looks like ess-insert-function-outline was retired to the old/ |> directory, so it isn't defined in newer ESS versions. What could be the thinking behind that? The outline file is still there in the etc/ directory, so I never would have imagined dumping ess-insert-function-outline into the old/ directory. |> I'm guessing you updated ESS while tinkering with .emacs/.Rprofile? Good guess. |> |> I never used it myself, but it looks like it's supposed to insert a |> function skeleton? If that's the case, there are a few replacements you |> can use, including the builtin skeleton.el or yasnippet, available on |> ELPA. How do I use that? There's /usr/share/emacs/24.3/lisp/skeleton.elc that I could copy to the lisp/ directory or make a link from there to it. Would that make sense? If not, I'll just stick with an older version that works fine. There's nothing new that makes it worth forgoing the function skeleton. Thanks for your help. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) . Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help
Re: [ESS] ess-insert-function-outline
Hi Patrick, On Wed 02 May 2018 at 04:30, Patrick Connolly wrote: > After many years of loyal service, ess-insert-function-outline has > stopped working. I get the message: > > Symbol's function definition is void: ess-insert-function-outline > > During my recent issue with the R dump function (not an ESS issue as > it turns out) I might have inadvertantly modified something, but only > .emacs and .Rprofile were involved AFAIR and I don't notice anything > when comparing old versions of those files. It might be a coincidence > that I had been dealing with the buffer created by > ess-dump-object-into-edit-buffer but with nothing else to go on, it appears > slightly more likely to be the source of the problem. > > > I have the function-outline.S file in $ESS-HOME/etc/ directory where > it has always worked. What conveys the instructions to 'insert' it? > If I try the same in an Emacs window that has been running for several > weeks, i.e. before I tinkered with .emacs and .Rprofile, it works as > it has always done. What does that fact tell us? It looks like ess-insert-function-outline was retired to the old/ directory, so it isn't defined in newer ESS versions. I'm guessing you updated ESS while tinkering with .emacs/.Rprofile? I never used it myself, but it looks like it's supposed to insert a function skeleton? If that's the case, there are a few replacements you can use, including the builtin skeleton.el or yasnippet, available on ELPA. Hope that helps, Alex __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help
[ESS] ess-insert-function-outline
After many years of loyal service, ess-insert-function-outline has stopped working. I get the message: Symbol's function definition is void: ess-insert-function-outline During my recent issue with the R dump function (not an ESS issue as it turns out) I might have inadvertantly modified something, but only .emacs and .Rprofile were involved AFAIR and I don't notice anything when comparing old versions of those files. It might be a coincidence that I had been dealing with the buffer created by ess-dump-object-into-edit-buffer but with nothing else to go on, it appears slightly more likely to be the source of the problem. I have the function-outline.S file in $ESS-HOME/etc/ directory where it has always worked. What conveys the instructions to 'insert' it? If I try the same in an Emacs window that has been running for several weeks, i.e. before I tinkered with .emacs and .Rprofile, it works as it has always done. What does that fact tell us? TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) . Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help