Mercurial > emacs
comparison lispref/anti.texi @ 7601:c5927c75b2b5
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 21 May 1994 02:28:15 +0000 |
parents | 510a3c16068a |
children | 2d4db32cccd5 |
comparison
equal
deleted
inserted
replaced
7600:8bf07ff6a929 | 7601:c5927c75b2b5 |
---|---|
89 You'll have to write programs specially to use it, though. | 89 You'll have to write programs specially to use it, though. |
90 | 90 |
91 As a result, certain macros, functions, and predicates no longer handle | 91 As a result, certain macros, functions, and predicates no longer handle |
92 specifications for floating point numbers. | 92 specifications for floating point numbers. |
93 | 93 |
94 @itemize @bullet | |
95 @item | |
94 The function @code{string-to-number}, the predicate @code{floatp}, and | 96 The function @code{string-to-number}, the predicate @code{floatp}, and |
95 the variable @code{float-output-format} have all been eliminated. | 97 the variable @code{float-output-format} have all been eliminated. |
96 | 98 |
99 @item | |
97 The functions @code{float}, @code{truncate}, @code{floor}, @code{ceil}, | 100 The functions @code{float}, @code{truncate}, @code{floor}, @code{ceil}, |
98 @code{round}, and @code{logb} do not exist; neither do the functions | 101 @code{round}, and @code{logb} do not exist; neither do the functions |
99 @code{abs}, @code{cos}, @code{sin}, @code{tan}, @code{acos}, | 102 @code{abs}, @code{cos}, @code{sin}, @code{tan}, @code{acos}, |
100 @code{asin}, @code{atan}, @code{exp}, @code{expt}, @code{log10}, | 103 @code{asin}, @code{atan}, @code{exp}, @code{expt}, @code{log10}, |
101 @code{log}, or @code{sqrt}. | 104 @code{log}, or @code{sqrt}. |
102 | 105 |
106 @item | |
103 The @code{format} function no longer handles the specifications | 107 The @code{format} function no longer handles the specifications |
104 @samp{%e}, @samp{%f} and @samp{%g} for printing floating point numbers; | 108 @samp{%e}, @samp{%f} and @samp{%g} for printing floating point numbers; |
105 likewise for @code{message}. | 109 likewise for @code{message}. |
110 @end bullet | |
106 | 111 |
107 @section Changes in Basic Editing Functions | 112 @section Changes in Basic Editing Functions |
108 | 113 |
109 @itemize @bullet | 114 @itemize @bullet |
110 @item | 115 @item |
167 @section Features for Files | 172 @section Features for Files |
168 | 173 |
169 Many file-related functions have been eliminated or simplified. Here is | 174 Many file-related functions have been eliminated or simplified. Here is |
170 a basic listing of these functions. | 175 a basic listing of these functions. |
171 | 176 |
177 @itemize @bullet | |
178 @item | |
172 The functions @code{file-accessible-directory-p}, @code{file-truename}, | 179 The functions @code{file-accessible-directory-p}, @code{file-truename}, |
173 @code{make-directory}, @code{delete-directory}, | 180 @code{make-directory}, @code{delete-directory}, |
174 @code{set-visited-file-modtime}, @code{directory-abbrev-alist}, | 181 @code{set-visited-file-modtime}, @code{directory-abbrev-alist}, |
175 @code{abbreviate-file-name}, @code{write-region}, | 182 @code{abbreviate-file-name}, @code{write-region}, |
176 @code{write-contents-hooks}, @code{after-save-hook}, | 183 @code{write-contents-hooks}, @code{after-save-hook}, |
177 @code{set-default-file-modes}, @code{default-file-modes}, and | 184 @code{set-default-file-modes}, @code{default-file-modes}, and |
178 @code{unix-sync} have been eliminated. | 185 @code{unix-sync} have been eliminated. |
179 | 186 |
187 @item | |
180 We got rid of the ``initial file name'' argument to | 188 We got rid of the ``initial file name'' argument to |
181 @code{read-file-name}. | 189 @code{read-file-name}. |
182 | 190 |
191 @item | |
183 Additionally, we removed the 12th element from the list returned by | 192 Additionally, we removed the 12th element from the list returned by |
184 @code{file-attributes}. | 193 @code{file-attributes}. |
185 | 194 |
195 @item | |
186 @code{directory-files} always sorts the list of files. It's not user | 196 @code{directory-files} always sorts the list of files. It's not user |
187 friendly to process the files in any haphazard order. | 197 friendly to process the files in any haphazard order. |
188 | 198 |
199 @item | |
189 We eliminated the variables @code{write-contents-hooks} and | 200 We eliminated the variables @code{write-contents-hooks} and |
190 @code{local-write-file-hooks}. | 201 @code{local-write-file-hooks}. |
202 @end bullet | |
191 | 203 |
192 @section Making Certain File Names ``Magic'' | 204 @section Making Certain File Names ``Magic'' |
193 | 205 |
194 There are no more magic filenames. Sorry, but all the mana has been | 206 There are no more magic filenames. Sorry, but all the mana has been |
195 used up. | 207 used up. |
205 of creeping featurism. | 217 of creeping featurism. |
206 | 218 |
207 @itemize @bullet | 219 @itemize @bullet |
208 @item | 220 @item |
209 The functions @code{mouse-position} and @code{set-mouse-position}, and | 221 The functions @code{mouse-position} and @code{set-mouse-position}, and |
210 the special form @code{track-mouse} have been eliminated. | 222 the special form @code{track-mouse}, have been eliminated. |
211 | 223 |
212 @item | 224 @item |
213 Likewise, the functions @code{x-set-selection}, @code{x-set-cut-buffer}, | 225 Likewise, the functions @code{x-set-selection}, @code{x-set-cut-buffer}, |
214 @code{x-close-current-connection}, and @code{x-open-connection} have all | 226 @code{x-close-current-connection}, and @code{x-open-connection} have all |
215 been removed from Emacs Lisp 18. | 227 been removed from Emacs Lisp 18. |
332 | 344 |
333 @item | 345 @item |
334 We removed the @code{read-event}, @code{event-start}, | 346 We removed the @code{read-event}, @code{event-start}, |
335 @code{posn-window}, @code{posn-point}, @code{posn-col-row}, | 347 @code{posn-window}, @code{posn-point}, @code{posn-col-row}, |
336 @code{posn-timestamp}, @code{scroll-bar-scale}, and @code{event-end} | 348 @code{posn-timestamp}, @code{scroll-bar-scale}, and @code{event-end} |
337 functions, since they were only useful for non-character events. | 349 functions, since they were useful only for non-character events. |
338 | 350 |
339 @item | 351 @item |
340 We removed the @code{unread-command-events} and @code{last-event-frame} | 352 We removed the @code{unread-command-events} and @code{last-event-frame} |
341 variables. | 353 variables. |
342 | 354 |
355 @sc{ASCII} character. | 367 @sc{ASCII} character. |
356 @end itemize | 368 @end itemize |
357 | 369 |
358 @section Menus | 370 @section Menus |
359 | 371 |
372 @itemize @bullet | |
373 @item | |
360 You can no longer define menus as keymaps; good system design requires | 374 You can no longer define menus as keymaps; good system design requires |
361 crafting a special-purpose interface for each facility, so it can | 375 crafting a special-purpose interface for each facility, so it can |
362 precisely fit the requirements of that facility. We decided that | 376 precisely fit the requirements of that facility. We decided that |
363 unifying keymaps and menus was simply too much of a strain. | 377 unifying keymaps and menus was simply too much of a strain. |
364 | 378 |
365 In Emacs 18, you can only activate menus with the mouse. Using them | 379 @item |
380 In Emacs 18, you can activate menus only with the mouse. Using them | |
366 with a keyboard was too confusing for too many users. | 381 with a keyboard was too confusing for too many users. |
367 | 382 |
383 @item | |
368 Emacs 18 has no menu bars. All functions and variables related to the | 384 Emacs 18 has no menu bars. All functions and variables related to the |
369 menu bar have been eliminated. | 385 menu bar have been eliminated. |
386 @end bullet | |
370 | 387 |
371 @section Changes in Minibuffer Features | 388 @section Changes in Minibuffer Features |
372 | 389 |
390 @itemize @bullet | |
391 @item | |
373 The minibuffer history feature has been eliminated. Thus, we removed | 392 The minibuffer history feature has been eliminated. Thus, we removed |
374 the optional argument @var{hist} from the minibuffer input functions | 393 the optional argument @var{hist} from the minibuffer input functions |
375 @code{read-from-minibuffer} and @code{completing-read}. | 394 @code{read-from-minibuffer} and @code{completing-read}. |
376 | 395 |
396 @item | |
377 The @var{initial} argument to @code{read-from-minibuffer} and other | 397 The @var{initial} argument to @code{read-from-minibuffer} and other |
378 minibuffer input functions can no longer be a cons cell | 398 minibuffer input functions can no longer be a cons cell |
379 @code{(@var{string} . @var{position})}. | 399 @code{(@var{string} . @var{position})}. |
380 | 400 |
401 @item | |
381 In the function @code{read-no-blanks-input}, the @var{initial} argument | 402 In the function @code{read-no-blanks-input}, the @var{initial} argument |
382 is no longer optional. | 403 is no longer optional. |
404 @end bullet | |
383 | 405 |
384 @section New Features for Defining Commands | 406 @section New Features for Defining Commands |
385 | 407 |
386 @itemize @bullet | 408 @itemize @bullet |
387 @item | 409 @item |
397 special meaning. | 419 special meaning. |
398 @end itemize | 420 @end itemize |
399 | 421 |
400 @section Removed Features for Reading Input | 422 @section Removed Features for Reading Input |
401 | 423 |
424 @itemize @bullet | |
425 @item | |
402 We removed the third argument (@var{meta}) from the function | 426 We removed the third argument (@var{meta}) from the function |
403 @code{set-input-mode}. Consequently, we added the variable | 427 @code{set-input-mode}. Consequently, we added the variable |
404 @code{meta-flag}; set it to @code{t} to enable use of a Meta key, and | 428 @code{meta-flag}; set it to @code{t} to enable use of a Meta key, and |
405 to @code{nil} to disable it. (Those are the only two alternatives.) | 429 to @code{nil} to disable it. (Those are the only two alternatives.) |
406 | 430 |
431 @item | |
407 We also removed the variable @code{extra-keyboard-modifiers}. | 432 We also removed the variable @code{extra-keyboard-modifiers}. |
408 | 433 |
434 @item | |
409 We removed the function @code{keyboard-translate} and the variables | 435 We removed the function @code{keyboard-translate} and the variables |
410 @code{num-input-keys} and @code{function-key-map}. | 436 @code{num-input-keys} and @code{function-key-map}. |
437 @end itemize | |
411 | 438 |
412 @section Removed Syntax Table Features | 439 @section Removed Syntax Table Features |
413 | 440 |
414 @itemize @bullet | 441 @itemize @bullet |
415 @item | 442 @item |
425 We abolished the variable @code{words-include-escapes}. | 452 We abolished the variable @code{words-include-escapes}. |
426 @end itemize | 453 @end itemize |
427 | 454 |
428 @section The Case Table | 455 @section The Case Table |
429 | 456 |
457 @itemize @bullet | |
458 @item | |
430 Case tables do not exist in Emacs 18. Due to this change, we have | 459 Case tables do not exist in Emacs 18. Due to this change, we have |
431 removed the associated functions @code{set-standard-case-table}, | 460 removed the associated functions @code{set-standard-case-table}, |
432 @code{standard-case-table}, @code{current-case-table}, | 461 @code{standard-case-table}, @code{current-case-table}, |
433 @code{set-case-table}, and @code{set-case-syntax-pair}. | 462 @code{set-case-table}, and @code{set-case-syntax-pair}. |
463 @end itemize | |
434 | 464 |
435 @section Features for Dealing with Buffers | 465 @section Features for Dealing with Buffers |
436 | 466 |
437 @itemize @bullet | 467 @itemize @bullet |
438 @item | 468 @item |
478 is local in the current buffer. | 508 is local in the current buffer. |
479 @end itemize | 509 @end itemize |
480 | 510 |
481 @section Features for Subprocesses | 511 @section Features for Subprocesses |
482 | 512 |
513 @itemize @bullet | |
514 @item | |
483 @code{call-process} and @code{call-process-region} no longer indicate | 515 @code{call-process} and @code{call-process-region} no longer indicate |
484 the termination status of the subprocess. We call on users to have faith | 516 the termination status of the subprocess. We call on users to have faith |
485 that the subprocess executed properly. | 517 that the subprocess executed properly. |
486 | 518 |
487 @itemize | |
488 @item | 519 @item |
489 The standard asynchronous subprocess features do not work on VMS; | 520 The standard asynchronous subprocess features do not work on VMS; |
490 instead, special VMS asynchronous subprocess functions have been added. | 521 instead, special VMS asynchronous subprocess functions have been added. |
491 Since they are only for VMS, we can't be bothered documenting them; | 522 Since they are only for VMS, we can't be bothered documenting them; |
492 sorry. Use the source, Luke! | 523 sorry. Use the source, Luke! |
538 @code{backtrace-frame}. | 569 @code{backtrace-frame}. |
539 @end itemize | 570 @end itemize |
540 | 571 |
541 @section Memory Allocation Changes | 572 @section Memory Allocation Changes |
542 | 573 |
574 @itemize @bullet | |
575 @item | |
543 We removed the function @code{memory-limit}. | 576 We removed the function @code{memory-limit}. |
544 | 577 |
578 @item | |
545 The list returned by @code{garbage-collect} no longer contains an | 579 The list returned by @code{garbage-collect} no longer contains an |
546 element to describe floating point numbers, since there aren't any | 580 element to describe floating point numbers, since there aren't any |
547 floating point numbers in Emacs 18. | 581 floating point numbers in Emacs 18. |
582 @end itemize | |
548 | 583 |
549 @section Hook Changes | 584 @section Hook Changes |
550 | 585 |
551 @itemize @bullet | 586 @itemize @bullet |
552 @item | 587 @item |