Mercurial > emacs
comparison etc/NEWS @ 99884:e73ab780756d
Document changes to confirm-nonexistent-file-or-buffer.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 24 Nov 2008 19:24:45 +0000 |
parents | 538c05e746a8 |
children | 619005ff08ff |
comparison
equal
deleted
inserted
replaced
99883:494c4c7bcf01 | 99884:e73ab780756d |
---|---|
375 shift-translated, or after commands that would ordinarily deactivate | 375 shift-translated, or after commands that would ordinarily deactivate |
376 the mark in Transient Mark mode (e.g., any command that modifies the | 376 the mark in Transient Mark mode (e.g., any command that modifies the |
377 buffer). | 377 buffer). |
378 | 378 |
379 ** Minibuffer and completion changes | 379 ** Minibuffer and completion changes |
380 +++ | |
381 *** Emacs may ask for confirmation before opening a non-existent file | |
382 or buffer. By default, Emacs requests confirmation if you type RET | |
383 immediately after TAB, and the resulting input is not an existing file | |
384 or buffer; this usually happens when the minibuffer input did not | |
385 complete far enough and you entered RET by mistake. In that case, | |
386 Emacs puts the message "[Confirm]" in the minibuffer; type RET again | |
387 to create the file or buffer. | |
388 | |
389 The new variable confirm-nonexistent-file-or-buffer determines whether | |
390 Emacs asks for confirmation. The default value is `after-completion'. | |
391 If you change it to t, Emacs always asks for confirmation; if you | |
392 change it to nil, Emacs never asks for confirmation. | |
380 +++ | 393 +++ |
381 *** When M-n in the minibuffer reaches the end of the list of defaults, | 394 *** When M-n in the minibuffer reaches the end of the list of defaults, |
382 it adds the completion list to the end, so next M-n continues putting | 395 it adds the completion list to the end, so next M-n continues putting |
383 completion items to the minibuffer. The same principle applies to | 396 completion items to the minibuffer. The same principle applies to |
384 incremental search commands as well: C-s or C-M-s starts searching | 397 incremental search commands as well: C-s or C-M-s starts searching |
513 `pp-macroexpand-last-sexp' pretty-print macro expansions. | 526 `pp-macroexpand-last-sexp' pretty-print macro expansions. |
514 | 527 |
515 *** The new command `set-file-modes' allows to set file's mode bits. | 528 *** The new command `set-file-modes' allows to set file's mode bits. |
516 The mode bits can be specified in symbolic notation, like with GNU | 529 The mode bits can be specified in symbolic notation, like with GNU |
517 Coreutils, in addition to an octal number. | 530 Coreutils, in addition to an octal number. |
518 +++ | |
519 *** Emacs requires confirmation before opening a non-existent file or buffer. | |
520 You can recover the previous behavior by setting | |
521 confirm-nonexistent-file-or-buffer to nil. | |
522 | 531 |
523 *** `next-error-recenter' specifies how next-error should recenter the | 532 *** `next-error-recenter' specifies how next-error should recenter the |
524 visited source file. Its value can be a number (for example, 0 for | 533 visited source file. Its value can be a number (for example, 0 for |
525 top line, -1 for bottom line), or nil for no recentering. | 534 top line, -1 for bottom line), or nil for no recentering. |
526 +++ | 535 +++ |
1310 Since this means the returned list is not properly nil-terminated, this | 1319 Since this means the returned list is not properly nil-terminated, this |
1311 is an incompatible change and is thus enabled by the new variable | 1320 is an incompatible change and is thus enabled by the new variable |
1312 completion-all-completions-with-base-size. | 1321 completion-all-completions-with-base-size. |
1313 | 1322 |
1314 +++ | 1323 +++ |
1315 *** The `require-match' argument to `completing-read' accepts a new value | 1324 *** The `require-match' argument to `completing-read' accepts the new |
1316 `confirm-only'. | 1325 values `confirm-only' and `confirm-after-completion'. |
1317 | 1326 |
1318 ** Search and replacement changes | 1327 ** Search and replacement changes |
1319 +++ | 1328 +++ |
1320 *** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly. | 1329 *** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly. |
1321 +++ | 1330 +++ |