Re: [ESS] emacs-ess and the dreaded dotemacs file

2021-10-20 Thread Greg Minshall via ESS-help
hi, Chuck,

>  Reading at buffer position 432
>  load-with-code-conversion("/home/markleeds/.emacs "/home/markleeds/.emacs" t 
> t)
>  load("~/.emacs" t t)

i think that's just how emacs produces the Backtrace buffer.  (i've
always found that odd.)

cheers, Greg

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [ESS] emacs-ess and the dreaded dotemacs file

2021-10-20 Thread Berry, Charles via ESS-help
Hi Mark,

I hope you are well.

As Tyler points out the attachment didn't make it.

However, I do see this bit:

 Reading at buffer position 432
 load-with-code-conversion("/home/markleeds/.emacs "/home/markleeds/.emacs" t t)
 load("~/.emacs" t t)

If the latter two lines appear literally in a file you are trying to load, then 
you have fallen into the trap of using R like syntax where lisp is needed. (I 
do know emacs-lisp and do this myself more than I want to admit.) 

So move the open parens BEFORE the function names, viz.

(load-with-code-conversion "/home/markleeds/.emacs
"/home/markleeds/.emacs" t t )
 (load "~/.emacs" t t)


HTH,
Chuck


> On Oct 19, 2021, at 2:03 AM, Mark Leeds via ESS-help  
> wrote:
> 
> Hi All: Would anyone mind doing me a big favor and fixing any ( even one is
> great )  problems in my current dotemacs file. I was able to get some of it
> to run but when it hits the auto-complete section, I start having all kinds
> of problems. For most of it, ( from the auto-complete section and on ),  I
> just copied the dotemacs file used at the link below ( the www.code.rd.com
> link ) . But things either changed dramatically since that link was created
> or the author is maybe not showing the whole file ?
> 
> I'm lisp illiterate which obviously doesn't help. I use ubuntu but I doubt
> that matters.
> 
> This all sounded like a good idea when I started it  but now its  been
> three days and I'm still not terribly far. Thanks to Rich Heiberger who was
> influential in getting the top part to work before it hits the
> auto-complete section. The dotemacsfile is
> attached. Note that the code in the dotemacsfile with all the semi-colons
> is the code from the link here. I don't see any typos but I could be
> mistaken.  Or
> maybe the link itself has typos ? Thanks so much for help in any way.
> 
> https://www.codetd.com/en/article/8181443
> 
> #===
> # ERROR THAT emacs --debug-init temp.R GIVES BUT I DOUBT THAT'S  THE ONLY
> ONE
> #===
> Debugger entered--Lisp error: (invalid-read-syntax ")")
>  eval-buffer(# nil "/home/markleeds/.emacs" nil t)  ;
> Reading at buffer position 432
>  load-with-code-conversion("/home/markleeds/.emacs"
> "/home/markleeds/.emacs" t t)
>  load("~/.emacs" t t)
>  #[0 " \205\262
> __
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
> 

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [ESS] emacs-ess and the dreaded dotemacs file

2021-10-19 Thread Tyler Smith via ESS-help
I didn't receive your attachment, I think the mailing list drops them?

The error you're getting indicates you have unbalanced parentheses (too many 
closing parentheses). That's an easy thing to do when copying and pasting code, 
and may be a side effect of some other issue.

Best,

Tyler

-- 
plantarum.ca

On Tue, Oct 19, 2021, at 5:03 AM, Mark Leeds via ESS-help wrote:
> Hi All: Would anyone mind doing me a big favor and fixing any ( even one is
> great )  problems in my current dotemacs file. I was able to get some of it
> to run but when it hits the auto-complete section, I start having all kinds
> of problems. For most of it, ( from the auto-complete section and on ),  I
> just copied the dotemacs file used at the link below ( the www.code.rd.com
> link ) . But things either changed dramatically since that link was created
> or the author is maybe not showing the whole file ?
>
> I'm lisp illiterate which obviously doesn't help. I use ubuntu but I doubt
> that matters.
>
> This all sounded like a good idea when I started it  but now its  been
> three days and I'm still not terribly far. Thanks to Rich Heiberger who was
> influential in getting the top part to work before it hits the
> auto-complete section. The dotemacsfile is
> attached. Note that the code in the dotemacsfile with all the semi-colons
> is the code from the link here. I don't see any typos but I could be
> mistaken.  Or
> maybe the link itself has typos ? Thanks so much for help in any way.
>
> https://www.codetd.com/en/article/8181443
>
> #===
> # ERROR THAT emacs --debug-init temp.R GIVES BUT I DOUBT THAT'S  THE ONLY
> ONE
> #===
> Debugger entered--Lisp error: (invalid-read-syntax ")")
>   eval-buffer(# nil "/home/markleeds/.emacs" nil t)  ;
> Reading at buffer position 432
>   load-with-code-conversion("/home/markleeds/.emacs"
> "/home/markleeds/.emacs" t t)
>   load("~/.emacs" t t)
>   #[0 " \205\262
> __
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


[ESS] emacs-ess and the dreaded dotemacs file

2021-10-19 Thread Mark Leeds via ESS-help
Hi All: Would anyone mind doing me a big favor and fixing any ( even one is
great )  problems in my current dotemacs file. I was able to get some of it
to run but when it hits the auto-complete section, I start having all kinds
of problems. For most of it, ( from the auto-complete section and on ),  I
just copied the dotemacs file used at the link below ( the www.code.rd.com
link ) . But things either changed dramatically since that link was created
or the author is maybe not showing the whole file ?

I'm lisp illiterate which obviously doesn't help. I use ubuntu but I doubt
that matters.

This all sounded like a good idea when I started it  but now its  been
three days and I'm still not terribly far. Thanks to Rich Heiberger who was
influential in getting the top part to work before it hits the
auto-complete section. The dotemacsfile is
attached. Note that the code in the dotemacsfile with all the semi-colons
is the code from the link here. I don't see any typos but I could be
mistaken.  Or
maybe the link itself has typos ? Thanks so much for help in any way.

https://www.codetd.com/en/article/8181443

#===
# ERROR THAT emacs --debug-init temp.R GIVES BUT I DOUBT THAT'S  THE ONLY
ONE
#===
Debugger entered--Lisp error: (invalid-read-syntax ")")
  eval-buffer(# nil "/home/markleeds/.emacs" nil t)  ;
Reading at buffer position 432
  load-with-code-conversion("/home/markleeds/.emacs"
"/home/markleeds/.emacs" t t)
  load("~/.emacs" t t)
  #[0 " \205\262
__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help