Raul - you're The Man! What you sent didn't work exactly for me but, based on your clue, I looked into my version of comint.el and figured that this
(setq comint-dynamic-complete-functions nil) was what I needed. Thanks for helping me remove a long-time, low-level irritant! Devon On Fri, Nov 7, 2008 at 1:12 PM, Raul Miller <[EMAIL PROTECTED]> wrote: > 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 > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
