Bug#466486: can't prevent indenting at newline when pasting
G. Milde
g.milde at quantentunnel.de
Tue Feb 19 13:40:51 UTC 2008
On 19.02.08, Drew Parsons wrote:
> I use jed from a X terminal. When I copy&paste with the mouse, the
> text gets indented with each newline.
> This problem is addressed in /usr/share/doc/jed/README.Debian, with a
> variety of solutions offered.
> 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.
> Neither of these solutions A3 or A4 work. I've tried placing either
> of them in ~/.jedrc, moving that to ~/.jed/jed.rc, copying it to
> /etc/jed.d/99newline-noindent.sl. Nothing works.
> Could you review these instructions in README.Debian to confirm if
> they are still valid, and provide corrected instructions?
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.
What does Help>Show_Key return for the [Return] key after applying A3 or A4?
Does it work if you put the code in a buffer and run M-x evalbuffer?
Can you test whether the ~/.jed/jed.rc file is evaluated?
Thanks
Günter
More information about the Pkg-jed-devel
mailing list