[Pkg-jed-commit] r781 - in jed/branches/0.99.19/debian: . patches

Jörg Sommer jo-guest at alioth.debian.org
Tue Jun 19 16:57:52 UTC 2007


Author: jo-guest
Date: 2007-06-19 16:57:51 +0000 (Tue, 19 Jun 2007)
New Revision: 781

Added:
   jed/branches/0.99.19/debian/patches/extend-jed_faq.dpatch
Modified:
   jed/branches/0.99.19/debian/README.Debian
   jed/branches/0.99.19/debian/patches/00list
Log:
• debian/patches/extend-jed_faq.dpatch
  · Integrated the FAQ from README.Debian into jed_faq, as suggested by Günter.
    I didn't include the answers A3 and A4, and the questions “TAB does not
    generate a TAB” (it's already in jed_faq), “My colour scheme does not
    work” (I don't consider this as a common question) and “Everything broke
    with SLang 2” (SLang 2 is in stable, I don't think we should care about
    this upgrade anymore.)

• debian/README.Debian
  · Removed the FAQ.

  · Removed trailing whitespaces.

  · Updated the date in the copyright line.


Modified: jed/branches/0.99.19/debian/README.Debian
===================================================================
--- jed/branches/0.99.19/debian/README.Debian	2007-06-17 12:39:22 UTC (rev 780)
+++ jed/branches/0.99.19/debian/README.Debian	2007-06-19 16:57:51 UTC (rev 781)
@@ -46,13 +46,13 @@
 
   jed.rc       user startup configuration (move the jed.rc from the
                examples/ here and modify to your needs)
-               
+
   .jedrecent   last opened files (autogenerated by recent.sl)
-  
+
   lib/         personal extension scripts (home-made or downloaded)
                also for "personalized versions" of standard scripts
-               
-               To use this library dir, you need to add it to the 
+
+               To use this library dir, you need to add it to the
                jed library path in jed.rc with e.g.::
 
                  set_jed_library_path(path_concat(Jed_Home_Directory, "lib")
@@ -64,89 +64,7 @@
 ATTENTION: If "~/.jed/" exists, Jed will not find a "~/.jedrc" startup file.
 The user needs to move an eventually existing "~/.jedrc" to "~/.jed/jed.rc".
 
-
-Some frequently asked questions
--------------------------------
-
-(see also txt/jed_faq.txt.gz)
-
-Q: When running Jed in an xterm, alt is not sending meta (and meta is not
-   sending escape) so that alt-f and alt-b e.g. don't skip words forwards and
-   backwards respectively.
-A: According to Thomas Dickey (do a google search to see that there is NO
-   arguing here :) this is normal for xterm.  To have alt "work", add
-   'xterm*metaSendsEscape: true' to your .Xresources (or equivalent) and
-   make sure 'xmodmap -e "keysym Alt_L = Meta_L Alt_L"' is executed
-   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
-   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.
-A1: Use the `paste' function
-      1. M-x paste  (or bind "paste" to a key)
-      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...
-      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
-    startup):
-         public define newline_indent ()
-         {
-           if (input_pending(0))
-              newline();
-           else
-              call ("newline_and_indent");
-         }
-         setkey("newline_indent","^M");
-    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,
-   see /usr/share/doc/jed-common/jed_faq.txt.gz, question #13.
-
-Q: Jed makes a difference between a single '/' and multiple '/'
-   in pathnames - e.g. '/usr//bin/' is *not* equal to '/usr/bin/' ! Why?
-A: According to John E. Davis, the author, this is like Emacs behaves, too.
-
-Q: I have a colour scheme which does NOT modify the background and
-   foreground colours, yet Jed is still changing this, thus overriding the
-   default colours of the terminal it's running in.  What's wrong?
-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.
-
-Q: My SLang scripts do no longer work.
-Q: After upgrading jed (or xjed), some jed-extra modes are broken.
-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
+.. Copyright (c) 2006,2007 the Debian JED Group
    Released under the terms of the GNU General Public License (ver. 2 or later)
 
    Last update 2007-01-18 Guenter Milde

Modified: jed/branches/0.99.19/debian/patches/00list
===================================================================
--- jed/branches/0.99.19/debian/patches/00list	2007-06-17 12:39:22 UTC (rev 780)
+++ jed/branches/0.99.19/debian/patches/00list	2007-06-19 16:57:51 UTC (rev 781)
@@ -21,3 +21,4 @@
 fix-documentation
 update-copyright
 fix-update-before-key-hook
+extend-jed_faq

Added: jed/branches/0.99.19/debian/patches/extend-jed_faq.dpatch
===================================================================
--- jed/branches/0.99.19/debian/patches/extend-jed_faq.dpatch	                        (rev 0)
+++ jed/branches/0.99.19/debian/patches/extend-jed_faq.dpatch	2007-06-19 16:57:51 UTC (rev 781)
@@ -0,0 +1,84 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## extend-jed_faq.dpatch by Jörg Sommer <joerg at alea.gnuu.de>
+##
+## DP: A few more questions and answers about Jed.
+
+ at DPATCH@
+diff -urNad 0.99.19~/doc/txt/jed_faq.txt 0.99.19/doc/txt/jed_faq.txt
+--- 0.99.19~/doc/txt/jed_faq.txt	2006-02-13 18:51:58.000000000 +0100
++++ 0.99.19/doc/txt/jed_faq.txt	2007-06-19 18:26:56.894136829 +0200
+@@ -20,6 +20,14 @@
+ 12. How can I use edt.sl with jed386.exe?
+ 13. The TAB key is broken--- it does not insert TABs!
+ 14. How do I set custom tab stops in jed?
++15. When I paste text into Jed, it misaligns everything. How can I prevent
++    this?
++16. Why is copy/paste not working on the console?
++17. Jed makes a difference between a single '/' and multiple '/' in pathnames!
++    Why?
++18. Why is jed linked against libncurses when it uses slang?
++19. When running Jed in an xterm, alt is not sending meta. So, how to make
++    alt-f skips word forwards?
+ 
+ ----------------------------------------------------------------------------
+ Answers:
+@@ -362,7 +370,53 @@
+      
+   etc...
+ 
+-<14>
++<15> When I paste text into Jed, it misaligns everything (i.e. every
++  succeeding line is indented more than the previous, yielding horizontally
++  cascading text). How can I prevent this?
++
++  The reason, why this happens is:
++  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).
++
++  There is more than one answer how you can prevent it:
++  1: Use xjed.
++  2: Use the `paste' function
++      1. M-x paste  (or bind "paste" to a key)
++      2. Now paste your text...
++  3: 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...
++      4. M-X local setkey("newline_and_indent","^M")
++
++<16> Why is copy/paste not working on the console?
++
++  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.
++
++<17> Jed makes a difference between a single '/' and multiple '/'
++   in pathnames - e.g. '/usr//bin/' is *not* equal to '/usr/bin/'! Why?
++
++  This is like Emacs behaves, too.
++
++<18> Why is jed linked against libncurses when it uses slang?
++
++  Because it has GPM mouse support and these libraries need ncurses.
++
++<19> When running Jed in an xterm, alt is not sending meta (and meta is not
++   sending escape) so that alt-f and alt-b e.g. don't skip words forwards and
++   backwards respectively.
++
++  According to Thomas Dickey (do a google search to see that there is NO
++  arguing here :) this is normal for xterm.  To have alt "work", add
++  'xterm*metaSendsEscape: true' to your .Xresources (or equivalent) and
++  make sure 'xmodmap -e "keysym Alt_L = Meta_L Alt_L"' is executed
++  somewhere at X-startup (modify e.g. ~/.Xmodmap).
+ 
+ -------------------------------------------------------------------------------
+ This is a useful function used to maintain numbers in this faq.
+@@ -390,4 +444,3 @@
+ 	++n;
+      }
+ }
+-


Property changes on: jed/branches/0.99.19/debian/patches/extend-jed_faq.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-jed-commit mailing list