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

Drew Parsons dparsons at debian.org
Thu Feb 21 02:17:01 UTC 2008


On Wed, 2008-02-20 at 10:52 +0100, G. Milde wrote:
> 
> Are you sure?
> 
> What are e.g. the values for variables set in /etc/jed.d/05jed-common.sl 
> 
>    Default_Jedrc_Startup_File

Using Help->Describe variable,
String_Type `Default_Jedrc_Startup_File' == /home/drew/.jed/jed.rc 
(so it should be reading it!)

>    Jed_Doc_Files
String_Type `Jed_Doc_Files'
== /usr/share/jed/jed-extra/drop-in/libfuns.txt,/usr/share/jed/doc/hlp/jedfuns.hlp,/usr/share/jed/doc/hlp/libfuns.hlp,/usr/share/doc/libslang2/slangfun.txt,/usr/share/jed/jed-extra/utils/libfuns.txt,/usr/share/jed/jed-extra/libfuns.txt


>    M-X insert(get_jed_library_path);
  
/usr/share/jed/jed-extra/drop-in/,/usr/share/jed/lib,/usr/share/jed/jed-extra/utils/,/usr/share/jed/jed-extra/


> * Are other settings in jed.rc respected?
> 
>      set_color_scheme ("blue1");

Seems ok, the background comes up blue instead of black.  So jed.rc *is*
being read.

>      require("cua");
Yes, that works too.  With "jed",  C-x C-c no longer works for exiting,
with "jed -n" I get the emacs bindings back again.
     

> 
> * The changed keybinding must be defined *after* loading the default
>   keybindings, e.g. by *appending* the line
>   
>        setkey("newline_indent", "^M"); % correct mouse-insertion problem
>   
>   to ~/.jed/jed.rc.
>   
> * Also, you must load an emulation file before (or set the variable
>   _Jed_Emulation to a non "" value), otherwise the _Jed_Default_Emulation
>   will be loaded *after* evaluation of jed.rc - actually this might be the
>   problem we need to clarify in the docs.

OK, these two points sound like they explain the problem.  Now in
jed.rc, I have no other settings other than these ones attempting to
change the mouse pasting behaviour.  I don't know about
Default_Emulation at all or how to fix it correctly?

Shouldn't Default_Emulation be set automatically set first with jed.rc
user settings overriding any default settings?

Drew





More information about the Pkg-jed-devel mailing list