Bug#466486: can't prevent indenting at newline when pasting
G. Milde
g.milde at quantentunnel.de
Thu Feb 21 14:10:11 UTC 2008
On 21.02.08, G. Milde wrote:
> > OK, these two points sound like they explain the problem.
...
Actually, there is more:
Many editing modes (c_mode, slang_mode, perl_mode, php_mode, to name but a
few) bind the return key to newline_and_indent() in their local keymap.
Therefore you will need to change this binding in the global_mode_hook.
In your jed.rc, write e.g.
% fix staircase effect with mouse-pasting in an x-terminal
#ifndef XWINDOWS IBMPC_SYSTEM
define global_mode_hook (hook)
{
setkey("newline_indent", "^M");
}
#endif
or add the setkey() line to an already existing global_mode_hook()
definition.
> I will update README.Debian and README.Debian-startup to make this more
> clear.
> Günter
More information about the Pkg-jed-devel
mailing list