Bug#466486: can't prevent indenting at newline when pasting

Drew Parsons dparsons at debian.org
Tue Feb 19 04:08:16 UTC 2008


Package: jed
Version: 1:0.99.18+dfsg.1-9
Severity: normal

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 by doing:
      1. M-X local_setkey("newline","^M")

- this does work, thanks.  But it's inconvenient to set manually like
this each time.


A3: Bind "newline_and_indent" to a different key. In jed.rc do e.g.:
         setkey("newline_and_indent", "\e^M");   % Key_Alt_Return
	          setkey("newline", "^M");
A4: Use the fact that Jed can tell whether there is
input pending after the carriage return. Define in your jed.rc (or any
other file evaluated at startup):
             public define newline_indent ()
	              {
		                 if (input_pending(0))
				               newline();
		                  else
				      call ("newline_and_indent");
         }			      
	          setkey("newline_indent","^M");


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?

Thanks,
Drew


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages jed depends on:
ii  jed-common            1:0.99.18+dfsg.1-9 S-Lang runtime files for jed and x
ii  libc6                 2.7-6              GNU C Library: Shared libraries
ii  libgpmg1              1.19.6-25          General Purpose Mouse - shared lib
ii  libslang2             2.1.3-2            The S-Lang programming library - r

jed recommends no packages.

-- no debconf information





More information about the Pkg-jed-devel mailing list