Mercurial > emacs
comparison man/calc.texi @ 59357:5bdc52fb2c42
(Basic Tutorial, Programming Tutorial): Removed caveats for Lucid Emacs.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Tue, 04 Jan 2005 19:48:17 +0000 |
parents | 8ba567c9a2e3 |
children | 2c5309307180 |
comparison
equal
deleted
inserted
replaced
59356:bbe94a7411bf | 59357:5bdc52fb2c42 |
---|---|
2329 two-letter sequences where the first letter is called the @dfn{prefix} | 2329 two-letter sequences where the first letter is called the @dfn{prefix} |
2330 key. If you type a prefix key by accident, you can press @kbd{C-g} | 2330 key. If you type a prefix key by accident, you can press @kbd{C-g} |
2331 to cancel it. (In fact, you can press @kbd{C-g} to cancel almost | 2331 to cancel it. (In fact, you can press @kbd{C-g} to cancel almost |
2332 anything in Emacs.) To get help on a prefix key, press that key | 2332 anything in Emacs.) To get help on a prefix key, press that key |
2333 followed by @kbd{?}. Some prefixes have several lines of help, | 2333 followed by @kbd{?}. Some prefixes have several lines of help, |
2334 so you need to press @kbd{?} repeatedly to see them all. This may | 2334 so you need to press @kbd{?} repeatedly to see them all. |
2335 not work under Lucid Emacs, but you can also type @kbd{h h} to | 2335 You can also type @kbd{h h} to see all the help at once. |
2336 see all the help at once. | |
2337 | 2336 |
2338 Try pressing @kbd{t ?} now. You will see a line of the form, | 2337 Try pressing @kbd{t ?} now. You will see a line of the form, |
2339 | 2338 |
2340 @smallexample | 2339 @smallexample |
2341 trail/time: Display; Fwd, Back; Next, Prev, Here, [, ]; Yank: [MORE] t- | 2340 trail/time: Display; Fwd, Back; Next, Prev, Here, [, ]; Yank: [MORE] t- |
5921 language. If you know Lisp, you can program the Calculator to do | 5920 language. If you know Lisp, you can program the Calculator to do |
5922 anything you like. Rewrite rules also work as a powerful programming | 5921 anything you like. Rewrite rules also work as a powerful programming |
5923 system. But Lisp and rewrite rules take a while to master, and often | 5922 system. But Lisp and rewrite rules take a while to master, and often |
5924 all you want to do is define a new function or repeat a command a few | 5923 all you want to do is define a new function or repeat a command a few |
5925 times. Calc has features that allow you to do these things easily. | 5924 times. Calc has features that allow you to do these things easily. |
5926 | |
5927 (Note that the programming commands relating to user-defined keys | |
5928 are not yet supported under Lucid Emacs 19.) | |
5929 | 5925 |
5930 One very limited form of programming is defining your own functions. | 5926 One very limited form of programming is defining your own functions. |
5931 Calc's @kbd{Z F} command allows you to define a function name and | 5927 Calc's @kbd{Z F} command allows you to define a function name and |
5932 key sequence to correspond to any formula. Programming commands use | 5928 key sequence to correspond to any formula. Programming commands use |
5933 the shift-@kbd{Z} prefix; the user commands they create use the lower | 5929 the shift-@kbd{Z} prefix; the user commands they create use the lower |