[ESS] Turning off ess-smart-underscore

Kasper Daniel Hansen khansen at stat.Berkeley.EDU
Tue Aug 23 23:29:57 CEST 2005


You do know that pressing _ twice in a row gives you a standard  
underscore. This is quite convenient!

Kasper

On Aug 23, 2005, at 3:39 AM, Michael Hoffman wrote:

> Hi, I'm using ESS 5.2.8 on GNU Emacs 21.3.1 on a Fedora Core 3 Linux
> system trying to turn off ess-smart-underscore. I find it to be  
> annoying
> and surprising behavior considering how often underscores are used in
> identifiers.
>
> The readme <http://ess.r-project.org/Manual/readme.html> says that I
> should be able to turn this off using (ess-smart-underscore nil) in my
> .emacs file. However, I get this error:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments #[nil
> "Ã`!„ Äš„ Åc‡    G`
> e\\Yƒ/ ŠÆ
> !ˆÇ    !)ƒ/ È
> !ˆÅc‚4 É ˆ    c)‡" [ess-language ess-S-assign assign-len
> ess-inside-string-or-comment-p "S" "_" backward-char looking-at
> delete-backward-char delete-horizontal-space] 3
> ("/usr/share/emacs/site-lisp/emacs-ess-5.2.8/essl-s.elc" . 13355)  
> nil] 1)
>    ess-smart-underscore(nil)
>    eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
>    load-with-code-conversion("/home/hoffman/.emacs" "~/.emacs" t t)
>    load("~/.emacs" t t)
>    #[nil "…—     Æ=ƒ ÇÈQ‚5     É=ƒ' ÊÇËÌ#ƒ# Í‚5 ΂5     Ï=ƒ1 Ђ5
> ÇÑQÒÓ\nÒ‰#ˆÒ=ƒF ˃ˆ Ô!Õšƒˆ Ö!‰
×P
Ø
> !ƒd
> ‚o Ø\f!ƒn \f‚o ˉƒ‡ Ù\f\"ƒ… ÚÛ\f#ˆÜÝ!ˆ\f*†– Ë
 ÓÞÒ‰#))‡"
> [init-file-user system-type user-init-file-1 user-init-file source alt
> ms-dos "~" "/_emacs" windows-nt directory-files nil
> "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "~/_emacs" vax-vms
> "sys$login:.emacs" "/.emacs" t load file-name-extension "elc"
> file-name-sans-extension ".el" file-exists-p file-newer-than-file-p
> message "Warning: %s is newer than %s" sit-for 1 "default"
> inhibit-default-init inhibit-startup-message] 5]()
>    command-line()
>    normal-top-level()
>
> Could you please make a suggestion on how I can fix this?
>
> Best regards,
> -- 
> Michael Hoffman
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
>




More information about the ESS-help mailing list