[Pkg-jed-commit] r501 - jed/trunk/debian

Rafael Laboissiere rafael at alioth.debian.org
Tue Jan 16 12:05:58 CET 2007


Author: rafael
Date: 2007-01-16 12:05:57 +0100 (Tue, 16 Jan 2007)
New Revision: 501

Modified:
   jed/trunk/debian/README.Debian
   jed/trunk/debian/changelog
   jed/trunk/debian/control
Log:
* debian/README.Debian: Added a Q&A entry to the FAQ section explaining
  that the Alt key should be pressed down when pasting text select
  outside the console (closes: #174370)
* debian/control: related to the above, suggest the gpm package



Modified: jed/trunk/debian/README.Debian
===================================================================
--- jed/trunk/debian/README.Debian	2007-01-16 11:02:19 UTC (rev 500)
+++ jed/trunk/debian/README.Debian	2007-01-16 11:05:57 UTC (rev 501)
@@ -9,12 +9,12 @@
 Jed for debian comes in four packages
 
   jed          console version of Jed
-  xjed         stand-alone X application 
+  xjed         stand-alone X application
                (failsave: falls back to console app if DISPLAY is not set)
   jed-common   Files used by both jed and xjed
   jed-extra    User provided extensions, mainly from http://jedmodes.sf.net/
 
-Jed was debianized by Charl P. Botha and is now maintained by 
+Jed was debianized by Charl P. Botha and is now maintained by
 the Debian JED Group:
 
   http://pkg-jed.alioth.debian.org/
@@ -41,7 +41,7 @@
 Debian Jed supports a per-user "~/.jed/" application directory in accordance
 with the file hierarchy standard (FHS 2.3). However, Jed will not create
 such a directory. Users are encouraged to create the directory ".jed/" in
-their home directory. It will become the `Jed_Home_Directory' 
+their home directory. It will become the `Jed_Home_Directory'
 where personal jed-related files are assumed to be found, e.g.
 
   jed.rc       user startup configuration (move the jed.rc from the
@@ -49,10 +49,10 @@
   .jedrecent   last opened files (autogenerated by recent.sl)
   lib/         personal extension scripts (home-made or downloaded)
                Add to the jed library path in jed.rc with
-               
+
                 set_jed_library_path(path_concat(Jed_Home_Directory, "lib")
                                      + "," + get_jed_library_path()
-                
+
   templates/   optional dir for templates (with jed-extra)
 
 
@@ -75,27 +75,27 @@
    somewhere at X-startup (modify e.g. ~/.Xmodmap).
 
 Q: When I paste text into Jed, it misaligns everything (i.e. every succeeding
-   line is indented more than the previous, yielding horizontally cascading 
+   line is indented more than the previous, yielding horizontally cascading
    text).
 A: In Jed, carriage return is bound to `newline_and_indent'. While this
    auto-indention is a great help in normal editing, it stands in the way
    when text is pasted via the mouse. Unfortunately, Jed cannot tell whether
    its input comes from a keyboard, another program, or the mouse (XJed can).
-   
+
 Q:  How can I prevent this?
-A0: Use xjed.   
+A0: Use xjed.
 A1: Use the `paste' function
       1. M-x paste  (or bind "paste" to a key)
-      2. Now paste your text...                                  
+      2. Now paste your text...
 A2: Temporarily change the keybinding by doing:
       1. M-X local_setkey("newline","^M") (Alt-Shift-X: the S-Lang prompt)
-      3. Now paste your text...                                  
+      3. Now paste your text...
       4. M-X local setkey("newline_and_indent","^M")
 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 
+    carriage return. Define in your jed.rc (or any other file evaluated at
     startup):
          public define newline_indent ()
          {
@@ -108,10 +108,10 @@
     On a slow terminal (remote login or heavy load) this might fail by
     non-indenting after fast typing of CR and the first character of the new
     line.
-      
+
 Q: TAB does not generate a TAB! Why?
 A: It does something more useful: indenting the line according to the
-   mode's rules. Use `quoted_insert' for a hard TAB. For the full story, 
+   mode's rules. Use `quoted_insert' for a hard TAB. For the full story,
    see /usr/share/doc/jed-common/jed_faq.txt.gz, question #13.
 
 Q: Jed makes a difference between a single '/' and multiple '/'
@@ -124,7 +124,7 @@
 A: If you're only using set_color() calls but never call set_color_scheme(),
    Jed uses the _Jed_Default_Color_Scheme. So, to fix your problem, put
    "_Jed_Default_Color_Scheme = NULL;" in your ~/.jedrc.
-    
+
 Q: Why is jed linked against libncurses when it uses slang?
 A: Because it has GPM mouse support and these libraries need ncurses.
 
@@ -133,8 +133,15 @@
 A: Since version 0.99.18, jed uses S-Lang 2. See "S-Lang 2 Interpreter NEWS"
    of /usr/share/doc/libslang2/slang.txt for further explanation.
 
-   
+Q: Why is copy/paste not working on the console?
+A: First, be sure that the gpm package is installed and correctly
+   configured. Copying and pasting in a JED window on the console should
+   then work like in X-Window (with a three button mouse, for instance,
+   select with left button and paste with middle button).  However, for
+   inserting text selected outside the JED window, you should press down
+   the Alt key when pasting with the mouse.
+
 .. Copyright (c) 2006 the Debian JED Group
    Released under the terms of the GNU General Public License (ver. 2 or later)
-   
+
    Last update 2006-06-12 Guenter Milde

Modified: jed/trunk/debian/changelog
===================================================================
--- jed/trunk/debian/changelog	2007-01-16 11:02:19 UTC (rev 500)
+++ jed/trunk/debian/changelog	2007-01-16 11:05:57 UTC (rev 501)
@@ -11,6 +11,11 @@
     called.  This allows editing info files directly, instead of launching
     the info browser (closes: #180577). [RL]
 
+  * debian/README.Debian: Added a Q&A entry to the FAQ section explaining
+    that the Alt key should be pressed down when pasting text select
+    outside the console (closes: #174370)
+  * debian/control: related to the above, suggest the gpm package
+
  --
 
 jed (0.99.18-8) unstable; urgency=low

Modified: jed/trunk/debian/control
===================================================================
--- jed/trunk/debian/control	2007-01-16 11:02:19 UTC (rev 500)
+++ jed/trunk/debian/control	2007-01-16 11:05:57 UTC (rev 501)
@@ -12,6 +12,7 @@
 Package: jed
 Architecture: any
 Depends: ${shlibs:Depends}, jed-common (>= ${Source-Version})
+Suggests: gpm
 Provides: info-browser, mail-reader, editor
 Description: editor for programmers (textmode version)
  Jed is a small, fast (faster startup than bash) and powerful text editor.




More information about the Pkg-jed-commit mailing list