aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2005-12-08 16:23:03 +0000
committerKim F. Storm2005-12-08 16:23:03 +0000
commit04c95147574f6024460815ff3299e883b52f7ff8 (patch)
tree54b5a434938bb20d0e264c908ac18586778a3819
parentad668f105a958e499a7d4d6873ddd5dfae355970 (diff)
downloademacs-04c95147574f6024460815ff3299e883b52f7ff8.tar.gz
emacs-04c95147574f6024460815ff3299e883b52f7ff8.zip
Move Acknowledgements and History after Commentary.
Minor changes to Commentary.
-rw-r--r--lisp/ido.el97
1 files changed, 50 insertions, 47 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index e6dcea5fd21..9fe063bade6 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -24,45 +24,6 @@
24;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 24;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25;; Boston, MA 02110-1301, USA. 25;; Boston, MA 02110-1301, USA.
26 26
27;;; Acknowledgements
28
29;; Infinite amounts of gratitude goes to Stephen Eglen <stephen@cns.ed.ac.uk>
30;; who wrote iswitch-buffer mode - from which I ripped off 99% of the code
31;; for ido-switch-buffer and found the inspiration for ido-find-file.
32;; The ido package would never have existed without his work.
33
34;; Also thanks to Klaus Berndl, Rohit Namjoshi, Robert Fenk, Alex
35;; Schroeder, Bill Benedetto, Stephen Eglen, and many others for bug
36;; fixes and improvements.
37
38;;; History
39
40;; Since I discovered Stephen Eglen's excellent iswitchb package, I just
41;; couldn't live without it, but once being addicted to switching buffers
42;; with a minimum of keystrokes, I soon found that opening files in the
43;; old-fashioned way was just too slow - so I decided to write a package
44;; which could open files with the same speed and ease as iswitchb could
45;; switch buffers.
46
47;; I originally wrote a separate ifindf.el package based on a copy of
48;; iswitchb.el, which did for opening files what iswitchb did for
49;; switching buffers. Along the way, I corrected a few errors in
50;; ifindf which could have found its way back into iswitchb, but since
51;; most of the functionality of the two package was practically
52;; identical, I decided that the proper thing to do was to merge my
53;; ifindf package back into iswitchb.
54;;
55;; This is basically what ido (interactively do) is all about; but I
56;; found it ackward to merge my changes into the "iswitchb-" namespace,
57;; so I invented a common "ido-" namespace for the merged packages.
58;;
59;; This version is based on ido.el version 1.57 released on
60;; gnu.emacs.sources adapted for emacs 22.1 to use command remapping
61;; and optionally hooking the read-buffer and read-file-name functions.
62;;
63;; Prefix matching was added by Klaus Berndl <klaus.berndl@sdm.de> based on
64;; an idea of Yuji Minejima <ggb01164@nifty.ne.jp> and his mcomplete-package.
65
66 27
67;;; Commentary: 28;;; Commentary:
68 29
@@ -94,10 +55,10 @@
94;; most recent, when I use ido-switch-buffer, I first of all get 55;; most recent, when I use ido-switch-buffer, I first of all get
95;; presented with the list of all the buffers 56;; presented with the list of all the buffers
96;; 57;;
97;; Buffer: {123456,123} 58;; Buffer: {123456 | 123}
98;; 59;;
99;; If I then press 2: 60;; If I then press 2:
100;; Buffer: 2[3]{123456,123} 61;; Buffer: 2[3]{123456 | 123}
101;; 62;;
102;; The list in {...} are the matching buffers, most recent first 63;; The list in {...} are the matching buffers, most recent first
103;; (buffers visible in the current frame are put at the end of the 64;; (buffers visible in the current frame are put at the end of the
@@ -110,7 +71,7 @@
110;; pressing TAB. In this case, I will get "3" added to my input. 71;; pressing TAB. In this case, I will get "3" added to my input.
111 72
112;; So, I press TAB: 73;; So, I press TAB:
113;; Buffer: 23{123456,123} 74;; Buffer: 23{123456 | 123}
114;; 75;;
115;; At this point, I still have two matching buffers. 76;; At this point, I still have two matching buffers.
116;; If I want the first buffer in the list, I simply press RET. If I 77;; If I want the first buffer in the list, I simply press RET. If I
@@ -118,13 +79,16 @@
118;; top of the list and then RET to select it. 79;; top of the list and then RET to select it.
119;; 80;;
120;; However, if I type 4, I only have one match left: 81;; However, if I type 4, I only have one match left:
121;; Buffer: 234[123456] [Matched] 82;; Buffer: 234[123456]
83;;
84;; Since there is only one matching buffer left, it is given in [] and
85;; it is shown in the `ido-only-match' face (ForestGreen). I can now
86;; press TAB or RET to go to that buffer.
122;; 87;;
123;; Since there is only one matching buffer left, it is given in [] and we 88;; If I want to create a new buffer named "234", I press C-j instead of
124;; see the text [Matched] afterwards. I can now press TAB or RET to go 89;; TAB or RET.
125;; to that buffer.
126;; 90;;
127;; If however, I now type "a": 91;; If instead, I type "a":
128;; Buffer: 234a [No match] 92;; Buffer: 234a [No match]
129;; There are no matching buffers. If I press RET or TAB, I can be 93;; There are no matching buffers. If I press RET or TAB, I can be
130;; prompted to create a new buffer called "234a". 94;; prompted to create a new buffer called "234a".
@@ -318,6 +282,45 @@
318;; can be used by other packages to read a buffer name, a file name, 282;; can be used by other packages to read a buffer name, a file name,
319;; or a directory name in the `ido' way. 283;; or a directory name in the `ido' way.
320 284
285;;; Acknowledgements
286
287;; Infinite amounts of gratitude goes to Stephen Eglen <stephen@cns.ed.ac.uk>
288;; who wrote iswitch-buffer mode - from which I ripped off 99% of the code
289;; for ido-switch-buffer and found the inspiration for ido-find-file.
290;; The ido package would never have existed without his work.
291
292;; Also thanks to Klaus Berndl, Rohit Namjoshi, Robert Fenk, Alex
293;; Schroeder, Bill Benedetto, Stephen Eglen, and many others for bug
294;; fixes and improvements.
295
296;;; History
297
298;; Since I discovered Stephen Eglen's excellent iswitchb package, I just
299;; couldn't live without it, but once being addicted to switching buffers
300;; with a minimum of keystrokes, I soon found that opening files in the
301;; old-fashioned way was just too slow - so I decided to write a package
302;; which could open files with the same speed and ease as iswitchb could
303;; switch buffers.
304
305;; I originally wrote a separate ifindf.el package based on a copy of
306;; iswitchb.el, which did for opening files what iswitchb did for
307;; switching buffers. Along the way, I corrected a few errors in
308;; ifindf which could have found its way back into iswitchb, but since
309;; most of the functionality of the two package was practically
310;; identical, I decided that the proper thing to do was to merge my
311;; ifindf package back into iswitchb.
312;;
313;; This is basically what ido (interactively do) is all about; but I
314;; found it ackward to merge my changes into the "iswitchb-" namespace,
315;; so I invented a common "ido-" namespace for the merged packages.
316;;
317;; This version is based on ido.el version 1.57 released on
318;; gnu.emacs.sources adapted for emacs 22.1 to use command remapping
319;; and optionally hooking the read-buffer and read-file-name functions.
320;;
321;; Prefix matching was added by Klaus Berndl <klaus.berndl@sdm.de> based on
322;; an idea of Yuji Minejima <ggb01164@nifty.ne.jp> and his mcomplete-package.
323
321 324
322;;; Code: 325;;; Code:
323 326