On Fri, Nov 7, 2008 at 11:11 AM, Devon McCormick <[EMAIL PROTECTED]> wrote: > while I am think that the intersection of emacs and J users contains only > two members, maybe there are others or someone else who has insight into > puzzling behavior I've noticed: when I recall a previously entered J line > containing something like "6!:2", it gets garbled. Experimenting has shown > me that a line like "6!!2" also gets garbled but not "6!.2" or "6 !: 2".
I used to use emacs extensively, but I stopped because emacs provokes RSI issues with me. Anyways, I installed emacs and was able to reproduce your problem. It looks like your problem is caused by the function comint-replace-by-expanded-history which is defined in my copy in /usr/share/emacs/21.2/lisp/comint.el I was able to disable this feature by typing in the line NB. (setq comint-input-autoexpand nil) and then typing control-x control-e with my cursor positioned at the end of that line. Investigating further, I found that shell.el contains (defcustom shell-input-autoexpand 'history ...) with a comment that this specially defines comint-input-autoexpand only for shell mode. Since defcustom does nothing for symbols that are already bound, I then created myself a .emacs file and put this in it: (setq shell-input-autoexpand nil) And now I don't have this problem. FYI, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
