On Tue, 2008-02-19 at 14:40 +0100, G. Milde wrote: > > > A2: Temporarily change the keybinding > ... > > - this does work, thanks. But it's inconvenient to set manually like > > this each time. > > How about paste()? (A1) This is basically a function to automate this task, > recommended by the Jed author.
You're right, it's probably the best workaround. Still not as convenient as just clicking the mouse button though :) > A4 works nice here with > > !if (is_defined("x_server_vendor")) > setkey("newline_indent", "^M"); % correct mouse-insertion problem > > in a file called by ~/jed.rc and newline_indent defined in txtutils.sl from > the jed-extra package. I installed jed-extra and tried this in ~/.jed/jed.rc, but it didn't help, not even with just setkey("newline_indent", "^M"); on its own. > What does Help>Show_Key return for the [Return] key after applying A3 or A4? With nothing set in jed.rc: Key "^M" runs the internal function newline_and_indent With A3, setkey("newline", "^M"); Key "^M" runs the internal function newline_and_indent <--- there's the problem, no change! Same again with A4, setkey("newline_indent","^M"); It's like jed.rc is being completely ignored. It doesn't make a difference whether I'm trying to make the settings in ~/.jed/jed.rc, ~/.jedrc or even /etc/jed.d/99newline-noindent.sl :( > Does it work if you put the code in a buffer and run M-x evalbuffer? Yes, that works! For both A3 and A4 (both versions). > Can you test whether the ~/.jed/jed.rc file is evaluated? Apparently it is not, nor is /etc/jed.d. Thanks, Drew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]