[ESS] ESS and emacsclient doesn't thrive together

Fredrik Lundgren fredrik.bg.lundgren at gmail.com
Sat Mar 22 14:47:24 CET 2008


Dear ESSers,

Somehow I have difficulties with emacsclient within ESS. It appears to  
work OK outside of ESS.

ESS 5.3.6
Emacs 22.1.1 (i386-apple-darwin9, Carbon Version 1.6.0)
R version 2.6.2 (2008-02-08)
Leopard Mac OS X 10.5.2

When in i-ESS

C-c C-d foo
Symbol's function definition is void: cancat

fix(foo)
Opens the file foo in a frame but the mini-buffer says:
Wrong type argument: number-or-marker-p , nil
When i try to close the window from the file-menu:
Buffer `41a7' still has clients; kill it? no way to
C-x #

edit(foo)
the same

Otherwise ESS works as expected

In .emacs I have
.....
(server-start)

(load "/Users/fredrik/emacs/ess-5.3.6/lisp/ess-site")

(setq ess-source-directory
	(lambda ()
		(cancat ess-directory "Src/")))

(add-to-list 'auto-mode-alist '("\\.rd\\'" .Rd-mode))

(add-hook 'Rd-mode-hook
	(lambda ()
		(abbrev-mode 1)
		(font-lock-mode 1)))

(setq comint-scroll-to-bottom-on-input t)
(setq comint-scroll-to-bottom-on-output t)

(setq inferior-ess-same-window nil)

(setq ess-function-template nil)

Where am I mixed up?

Sincerely Fredrik

########################

Fredrik Lundgren
fredrik.bg.lundgren at gmail.com

Obs! Ny adress och mail

Engelbrektsgatan 31
582 21 Linköping
013 - 47 30 117
0706 - 86 39 29

Sommarhus: Ljungnäs 158
380 30 Rockneby
0480 - 650 98




More information about the ESS-help mailing list