[ESS] Problem with menus with emacs 23.1.1; suppressing extra window
Frank E Harrell Jr
f.harrell at vanderbilt.edu
Thu Dec 3 18:53:39 CET 2009
Ista Zahn wrote:
> Hi Professor Harrell,
> The first problem is probably due to this bug:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550541 and the
> workaround is run export GDK_NATIVE_WINDOWS=1 before starting emacs.
> It's very annoying, hopefully they will fix it soon.
That worked like a charm. Thanks Ista!
Frank
>
> -Ista
>
> On Thu, Dec 3, 2009 at 11:24 AM, Frank E Harrell Jr
> <f.harrell at vanderbilt.edu> wrote:
>> In running the latest debian ess with emacs 23.1.1 I am getting empty menus
>> (Imenu-S, ESS). I'm using R 2.10.0 on ubuntu karmic. My .emacs is below.
>>
>> Secondly, the the html help system when used with ess opens an empty emacs
>> frame when help is called. I would prefer suppressing that.
>>
>> I would appreciate any help.
>>
>> Thanks
>> Frank
>>
>> (defun make-backup-file-name (file)
>> (concat "~/tmp/" (file-name-nondirectory file) "~"))
>> (defun backup-file-name-p (file)
>> (string-match "\\~$" file))
>> (defun goto-matching-paren ()
>> "Goto the matching parentesis of sexp after point (visually at point)."
>> (interactive)
>> (if (= (char-syntax (char-after (point))) ?\()
>> (goto-char (1- (scan-sexps (point) 1)))
>> (if (= (char-syntax (char-after (point))) ?\))
>> (goto-char (scan-sexps (1+ (point)) -1)))))
>> (global-set-key "\M-p" 'goto-matching-paren)
>> (setq-default tab-width 4)
>>
>> (require 'recentf)
>> (recentf-mode 1)
>> (setq comint-scroll-to-bottom-on-output 'others)
>> (setq comint-scroll-show-maximum-output t)
>>
>> (custom-set-variables
>> ;; custom-set-variables was added by Custom.
>> ;; If you edit it by hand, you could mess it up, so be careful.
>> ;; Your init file should contain only one such instance.
>> ;; If there is more than one, they won't work right.
>> '(case-fold-search t)
>> '(current-language-environment "UTF-8")
>> '(default-input-method "rfc1345")
>> '(inhibit-startup-screen t)
>> '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
>> '(transient-mark-mode t))
>> (custom-set-faces
>> ;; custom-set-faces was added by Custom.
>> ;; If you edit it by hand, you could mess it up, so be careful.
>> ;; Your init file should contain only one such instance.
>> ;; If there is more than one, they won't work right.
>> )
>> (setq gnuserv-frame (selected-frame))
>> (server-start)
>>
>> (put 'downcase-region 'disabled nil)
>>
>> (setq ess-ask-for-ess-directory nil)
>> (setq inferior-ess-same-window nil)
>> (setq ess-help-own-frame 'one)
>> (setq inferior-R-args "--no-restore --no-save")
>>
>> (setq tabbar-buffer-groups-function (lambda () (list "All buffers")))
>> (setq tabbar-cycling-scope nil)
>> (setq tabbar-home-button (quote (("[Home]") "[x]")))
>> (setq tabbar-separator (quote (" ")))
>> (require 'tabbar)
>> (tabbar-mode)
More information about the ESS-help
mailing list