aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2002-08-12 22:53:46 +0000
committerStefan Monnier2002-08-12 22:53:46 +0000
commit90a4495712931eabb11afac73de8f6b189360ef3 (patch)
treecfc1e77ef1d7ae187b934109c55b62c24a935a65
parent473d2053fb258fe25f618476ce92af43d11d7175 (diff)
downloademacs-90a4495712931eabb11afac73de8f6b189360ef3.tar.gz
emacs-90a4495712931eabb11afac73de8f6b189360ef3.zip
(comment-region): Force `lines' when `block' is set.
-rw-r--r--lisp/ChangeLog211
-rw-r--r--lisp/newcomment.el4
2 files changed, 98 insertions, 117 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9e68cfa9e3b..170d6ce9949 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12002-08-12 Stefan Monnier <monnier@cs.yale.edu>
2
3 * newcomment.el (comment-region): Force `lines' when `block' is set.
4
12002-08-12 Richard M. Stallman <rms@gnu.org> 52002-08-12 Richard M. Stallman <rms@gnu.org>
2 6
3 * textmodes/page-ext.el (pages-target-buffer): Add defvar. 7 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
@@ -10,17 +14,15 @@
102002-08-12 Stefan Monnier <monnier@cs.yale.edu> 142002-08-12 Stefan Monnier <monnier@cs.yale.edu>
11 15
12 * scroll-all.el (scroll-all-mode): Use define-minor-mode. 16 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
13 (scroll-all-mode): defcustom deleted. 17 (scroll-all-mode) <defcustom>: Delete.
14 (running-xemacs): Variable deleted. 18 (running-xemacs): Delete.
15 (minor-mode-alist): Don't manipulate it directly. 19 (minor-mode-alist): Don't manipulate it directly.
16 20
172002-08-10 Kenichi Handa <handa@etl.go.jp> 212002-08-10 Kenichi Handa <handa@etl.go.jp>
18 22
19 * international/mule-cmds.el (search-unencodable-char): New 23 * international/mule-cmds.el (search-unencodable-char): New function.
20 function.
21 (select-safe-coding-system): Show unencodable characters. 24 (select-safe-coding-system): Show unencodable characters.
22 (unencodable-char-position): Deleted, and implemented by C in 25 (unencodable-char-position): Deleted, and implemented in C in coding.c.
23 coding.c.
24 26
252002-04-09 John Wiegley <johnw@gnu.org> 272002-04-09 John Wiegley <johnw@gnu.org>
26 28
@@ -48,9 +50,9 @@
48 50
492002-08-08 Richard M. Stallman <rms@gnu.org> 512002-08-08 Richard M. Stallman <rms@gnu.org>
50 52
51 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive) 53 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
52 (checkdoc-message-interactive, checkdoc-interactive-loop) 54 (checkdoc-message-interactive, checkdoc-interactive-loop)
53 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments) 55 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
54 (checkdoc-defun): 56 (checkdoc-defun):
55 Update checkdoc-spellcheck-documentation-flag correctly. 57 Update checkdoc-spellcheck-documentation-flag correctly.
56 (checkdoc-ispell-docstring-engine): Don't test for 58 (checkdoc-ispell-docstring-engine): Don't test for
@@ -61,7 +63,7 @@
61 * xt-mouse.el (xterm-mouse-mode): Make it a global mode. 63 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
62 64
63 * wid-browse.el (widget-minor-mode): Fix doc typo. 65 * wid-browse.el (widget-minor-mode): Fix doc typo.
64 66
652002-08-07 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 672002-08-07 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
66 68
67 * net/tramp.el: Version 2.0.12 released. 69 * net/tramp.el: Version 2.0.12 released.
@@ -80,13 +82,13 @@
80 82
812002-08-07 Richard M. Stallman <rms@gnu.org> 832002-08-07 Richard M. Stallman <rms@gnu.org>
82 84
83 * warnings.el (warning-prefix-function, warning-series) 85 * warnings.el (warning-prefix-function, warning-series)
84 (warning-fill-prefix, warning-group-format): Add autoload cookies. 86 (warning-fill-prefix, warning-group-format): Add autoload cookies.
85 87
862002-08-07 Kenichi Handa <handa@etl.go.jp> 882002-08-07 Kenichi Handa <handa@etl.go.jp>
87 89
88 * international/mule-cmds.el (select-safe-coding-system): Call 90 * international/mule-cmds.el (select-safe-coding-system):
89 pop-to-buffer inside save-window-excursion and save-excursion. 91 Call pop-to-buffer inside save-window-excursion and save-excursion.
90 92
912002-08-06 John Paul Wallington <jpw@shootybangbang.com> 932002-08-06 John Paul Wallington <jpw@shootybangbang.com>
92 94
@@ -99,7 +101,7 @@
99 and `mail-user-agent' instead of straight sendmail. 101 and `mail-user-agent' instead of straight sendmail.
100 (diary-modified, diary-entries-list, displayed-year) 102 (diary-modified, diary-entries-list, displayed-year)
101 (displayed-month, entry, date, number, date-string, d-file) 103 (displayed-month, entry, date, number, date-string, d-file)
102 (original-date): defvar without binding to avoid compiler warnings. 104 (original-date): Defvar without binding to avoid compiler warnings.
103 105
1042002-08-05 Alan Shutko <ats@acm.org> 1062002-08-05 Alan Shutko <ats@acm.org>
105 107
@@ -143,8 +145,7 @@
1432002-08-05 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 1452002-08-05 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
144 146
145 * net/tramp.el: Version 2.0.11 released. 147 * net/tramp.el: Version 2.0.11 released.
146 (tramp-perl-file-attributes): Print uid and gid as signed 148 (tramp-perl-file-attributes): Print uid and gid as signed integers.
147 integers.
148 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded. 149 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
149 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP 150 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
150 calling Tramp again. 151 calling Tramp again.
@@ -167,8 +168,7 @@
167 168
168 * net/tramp.el: Version 2.0.10 released. 169 * net/tramp.el: Version 2.0.10 released.
169 (tramp-uudecode): New shell function `tramp_uudecode' to decode to 170 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
170 standard output even if `uudecode -p' and `uudecode -o -' don't 171 standard output even if `uudecode -p' and `uudecode -o -' don't work.
171 work.
172 (tramp-post-connection): After finding the right shell, wait a 172 (tramp-post-connection): After finding the right shell, wait a
173 bit. This is a kludge to avoid a race condition, even though I 173 bit. This is a kludge to avoid a race condition, even though I
174 don't understand why there is a race condition in the first place. 174 don't understand why there is a race condition in the first place.
@@ -184,8 +184,8 @@
184 report. 184 report.
185 (tramp-find-shell): Set $PS1 for invocation of second shell (for 185 (tramp-find-shell): Set $PS1 for invocation of second shell (for
186 tilde expansion). 186 tilde expansion).
187 (tramp-find-shell): Shell prompt must match at end of buffer. Do 187 (tramp-find-shell): Shell prompt must match at end of buffer.
188 this also for fallback shell prompt. 188 Do this also for fallback shell prompt.
189 (tramp-find-shell): More debugging output. 189 (tramp-find-shell): More debugging output.
190 (tramp-find-inline-encoding): When checking the decoding command, 190 (tramp-find-inline-encoding): When checking the decoding command,
191 some commands fail when reading from /dev/null. So we pass a 191 some commands fail when reading from /dev/null. So we pass a
@@ -224,8 +224,7 @@
224 224
225 * net/tramp.el: Version 2.0.6. 225 * net/tramp.el: Version 2.0.6.
226 (tramp-default-method): Change to "ssh" from "sm". 226 (tramp-default-method): Change to "ssh" from "sm".
227 (tramp-wrong-passwd-regexp): Restructure. Add additional 227 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
228 alternative.
229 (tramp-su-program): New internal variable for method parameter. 228 (tramp-su-program): New internal variable for method parameter.
230 (tramp-perl-encode-with-module, tramp-perl-decode-with-module): 229 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
231 New variables. Very short Perl one-liner, but requires Perl 230 New variables. Very short Perl one-liner, but requires Perl
@@ -240,8 +239,7 @@
240 twice, once is enough. 239 twice, once is enough.
241 (tramp-action-permission-denied): Show *tramp/foo* buffer so the 240 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
242 user knows what's wrong. 241 user knows what's wrong.
243 (tramp-post-connection): Support the two Perl encoders and 242 (tramp-post-connection): Support the two Perl encoders and decoders.
244 decoders.
245 (tramp-coding-commands): Ditto. Add some todo items. 243 (tramp-coding-commands): Ditto. Add some todo items.
246 244
2472002-08-02 Richard M. Stallman <rms@gnu.org> 2452002-08-02 Richard M. Stallman <rms@gnu.org>
@@ -271,8 +269,8 @@
271 269
2722002-07-31 John Paul Wallington <jpw@shootybangbang.com> 2702002-07-31 John Paul Wallington <jpw@shootybangbang.com>
273 271
274 * ibuffer.el (ibuffer-fontification-alist): Use 272 * ibuffer.el (ibuffer-fontification-alist):
275 `font-lock-constant-face' instead of `font-lock-reference-face'. 273 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
276 274
2772002-07-31 John Wiegley <johnw@gnu.org> 2752002-07-31 John Wiegley <johnw@gnu.org>
278 276
@@ -311,14 +309,14 @@
311 309
312 * makefile.w32-in: Revert some changes from 2002-07-23 because they 310 * makefile.w32-in: Revert some changes from 2002-07-23 because they
313 don't work on MSVC/nmake builds. 311 don't work on MSVC/nmake builds.
314 (update-subdirs-CMD): Generate the right list of subdirectories. From 312 (update-subdirs-CMD): Generate the right list of subdirectories.
315 Tak Ota <Takaaki.Ota@am.sony.com>. 313 From Tak Ota <Takaaki.Ota@am.sony.com>.
316 314
3172002-07-30 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 3152002-07-30 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
318 316
319 * net/tramp.el: New version 2.0.5. 317 * net/tramp.el: New version 2.0.5.
320 (tramp-methods): Remove inline encoding method parameters. The 318 (tramp-methods): Remove inline encoding method parameters.
321 encoding is now autodetected. Also shorten the list of 319 The encoding is now autodetected. Also shorten the list of
322 methods (u/m distinction gone) and rename the remaining methods to 320 methods (u/m distinction gone) and rename the remaining methods to
323 have longer, but more mnemonic, names. 321 have longer, but more mnemonic, names.
324 (tramp-login-prompt-regexp, tramp-password-prompt-regexp) 322 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
@@ -336,46 +334,42 @@
336 (tramp-last-cmd-time): New variable. If nothing has been sent to 334 (tramp-last-cmd-time): New variable. If nothing has been sent to
337 remote end for 60 seconds, look to see if the remote end is still 335 remote end for 60 seconds, look to see if the remote end is still
338 alive. 336 alive.
339 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove. It 337 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
340 didn't work. 338 It didn't work.
341 (tramp-perl-encode, tramp-perl-decode): New variables, these 339 (tramp-perl-encode, tramp-perl-decode): New variables, these
342 require the MIME::Base64 module on the remote end. 340 require the MIME::Base64 module on the remote end.
343 (tramp-handle-file-attributes): Restructure logic. 341 (tramp-handle-file-attributes): Restructure logic.
344 (tramp-handle-file-attributes-with-ls) 342 (tramp-handle-file-attributes-with-ls)
345 (tramp-handle-file-attributes-with-perl): More debugging. 343 (tramp-handle-file-attributes-with-perl): More debugging.
346 (tramp-handle-directory-files): Grok fifth arg `files-only' for 344 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
347 XEmacs.
348 (tramp-handle-make-directory, tramp-handle-delete-directory) 345 (tramp-handle-make-directory, tramp-handle-delete-directory)
349 (tramp-handle-delete-file, tramp-handle-insert-directory): Expand 346 (tramp-handle-delete-file, tramp-handle-insert-directory):
350 file name. 347 Expand file name.
351 (tramp-handle-shell-command): Use `when', not `if'. 348 (tramp-handle-shell-command): Use `when', not `if'.
352 (tramp-handle-file-local-copy, tramp-handle-write-region): Adapt 349 (tramp-handle-file-local-copy, tramp-handle-write-region):
353 to autodetection of inline encoding. 350 Adapt to autodetection of inline encoding.
354 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that 351 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
355 variable ange-ftp-name-format is defined before binding it. 352 variable ange-ftp-name-format is defined before binding it.
356 (tramp-action-login, tramp-action-password, tramp-action-succeed) 353 (tramp-action-login, tramp-action-password, tramp-action-succeed)
357 (tramp-action-permission-denied, tramp-action-yesno): Functions 354 (tramp-action-permission-denied, tramp-action-yesno):
358 called from `tramp-actions-before-shell'. 355 Functions called from `tramp-actions-before-shell'.
359 (tramp-multi-action-login, tramp-multi-action-password) 356 (tramp-multi-action-login, tramp-multi-action-password)
360 (tramp-multi-action-succeed) 357 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
361 (tramp-multi-action-permission-denied): Functions called from 358 Functions called from `tramp-multi-actions'.
362 `tramp-multi-actions'. 359 (tramp-process-one-action, tramp-process-actions):
363 (tramp-process-one-action, tramp-process-actions): Pattern 360 Pattern matching and action invocation code for
364 matching and action invocation code for
365 `tramp-actions-before-shell'. 361 `tramp-actions-before-shell'.
366 (tramp-process-one-multi-action, tramp-process-multi-actions): 362 (tramp-process-one-multi-action, tramp-process-multi-actions):
367 Same for `tramp-multi-actions'. 363 Same for `tramp-multi-actions'.
368 (tramp-open-connection-telnet, tramp-open-connection-rsh) 364 (tramp-open-connection-telnet, tramp-open-connection-rsh)
369 (tramp-open-connection-su): Process actions instead of hardwired 365 (tramp-open-connection-su): Process actions instead of hardwired logic.
370 logic.
371 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin) 366 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
372 (tramp-multi-connect-su): Ditto. 367 (tramp-multi-connect-su): Ditto.
373 (tramp-post-connection): New method for tramp_encode and 368 (tramp-post-connection): New method for tramp_encode and
374 tramp_decode scripts. 369 tramp_decode scripts.
375 (tramp-post-connection): Invoke inline autodetection code. 370 (tramp-post-connection): Invoke inline autodetection code.
376 (tramp-coding-commands): List of inline codings. 371 (tramp-coding-commands): List of inline codings.
377 (tramp-find-inline-encoding): This is the inline autodetection 372 (tramp-find-inline-encoding): This is the inline autodetection code.
378 code.
379 (tramp-maybe-open-connection): If nothing was sent to connection 373 (tramp-maybe-open-connection): If nothing was sent to connection
380 for 60 seconds, look if it connection is still alive. 374 for 60 seconds, look if it connection is still alive.
381 (tramp-send-command): Remember that something was sent to the 375 (tramp-send-command): Remember that something was sent to the
@@ -385,8 +379,8 @@
385 (tramp-get-encoding-command, tramp-set-encoding-command) 379 (tramp-get-encoding-command, tramp-set-encoding-command)
386 (tramp-get-decoding-command, tramp-set-decoding-command) 380 (tramp-get-decoding-command, tramp-set-decoding-command)
387 (tramp-get-encoding-function, tramp-set-encoding-function) 381 (tramp-get-encoding-function, tramp-set-encoding-function)
388 (tramp-get-decoding-function, tramp-set-decoding-function): Use 382 (tramp-get-decoding-function, tramp-set-decoding-function):
389 for results of inline autodetection. 383 Use for results of inline autodetection.
390 (tramp-get-encoding-command, tramp-get-decoding-command) 384 (tramp-get-encoding-command, tramp-get-decoding-command)
391 (tramp-get-encoding-function, tramp-get-decoding-function): 385 (tramp-get-encoding-function, tramp-get-decoding-function):
392 Remove these old functions. 386 Remove these old functions.
@@ -396,8 +390,8 @@
396 * language/indian.el (in-is13194): Give correct `safe-chars' property. 390 * language/indian.el (in-is13194): Give correct `safe-chars' property.
397 (devanagari): Define it as an alias of in-is13194. 391 (devanagari): Define it as an alias of in-is13194.
398 392
399 * international/mule.el (safe-chars): Put 393 * international/mule.el (safe-chars):
400 `char-table-extra-slots' property with value 0. 394 Put `char-table-extra-slots' property with value 0.
401 395
402 * files.el (revert-buffer): Fix previous change. 396 * files.el (revert-buffer): Fix previous change.
403 397
@@ -479,8 +473,7 @@
479 473
4802002-07-25 Markus Rost <rost@math.ohio-state.edu> 4742002-07-25 Markus Rost <rost@math.ohio-state.edu>
481 475
482 * ediff-wind.el (ediff-window-setup-function): Extend type 476 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
483 declaration.
484 477
4852002-07-25 Sam Steingold <sds@gnu.org> 4782002-07-25 Sam Steingold <sds@gnu.org>
486 479
@@ -501,8 +494,8 @@
501 494
5022002-07-25 Sam Steingold <sds@gnu.org> 4952002-07-25 Sam Steingold <sds@gnu.org>
503 496
504 * progmodes/cc-engine.el (c-search-uplist-for-classkey): When 497 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
505 `search-end' is a cons, use its car. 498 When `search-end' is a cons, use its car.
506 499
5072002-07-25 Dave Love <fx@gnu.org> 5002002-07-25 Dave Love <fx@gnu.org>
508 501
@@ -510,16 +503,15 @@
510 503
5112002-07-25 Carsten Dominik <dominik@astro.uva.nl> 5042002-07-25 Carsten Dominik <dominik@astro.uva.nl>
512 505
513 * textmodes/reftex.el (reftex-compile-variables): Simplified 506 * textmodes/reftex.el (reftex-compile-variables):
514 regular expression. 507 Simplified regular expression.
515 508
516 * textmodes/reftex-parse.el (reftex-locate-bibliography-files): 509 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
517 Simplified the regexp. 510 Simplified the regexp.
518 511
519 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New 512 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
520 function. 513 (reftex-extract-bib-entries-from-thebibliography):
521 (reftex-extract-bib-entries-from-thebibliography): Use 514 Use `reftex-get-bibkey-default' to get a default regex.
522 `reftex-get-bibkey-default' to get a default regex.
523 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to 515 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
524 get a default regex. 516 get a default regex.
525 517
@@ -529,7 +521,7 @@
529 * textmodes/reftex-index.el (reftex-index-mode): Likewise. 521 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
530 522
531 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise. 523 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
532 (reftex-select-bib-mode): Likewise 524 (reftex-select-bib-mode): Likewise.
533 525
5342002-07-25 Colin Walters <walters@debian.org> 5262002-07-25 Colin Walters <walters@debian.org>
535 527
@@ -603,8 +595,7 @@
603 595
6042002-07-22 Markus Rost <rost@math.ohio-state.edu> 5962002-07-22 Markus Rost <rost@math.ohio-state.edu>
605 597
606 * add-log.el (add-log-mailing-address): Fix type. Can be a 598 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
607 string.
608 599
609 * ido.el (ido-separator): Fix type. 600 * ido.el (ido-separator): Fix type.
610 601
@@ -681,19 +672,18 @@
681 672
6822002-07-22 Carsten Dominik <dominik@astro.uva.nl> 6732002-07-22 Carsten Dominik <dominik@astro.uva.nl>
683 674
684 * textmodes/reftex-vars.el (reftex-index-verify-function): New 675 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
685 option.
686 (reftex-bibliography-commands): New option. 676 (reftex-bibliography-commands): New option.
687 (reftex-toc-split-windows-horizontally): New option 677 (reftex-toc-split-windows-horizontally): New option
688 (reftex-toc-split-windows-horizontally-fraction): New option 678 (reftex-toc-split-windows-horizontally-fraction): New option
689 (reftex-include-file-commands): New option. 679 (reftex-include-file-commands): New option.
690 (reftex-cite-format-builtin): Added ?n for nocite. 680 (reftex-cite-format-builtin): Added ?n for nocite.
691 681
692 * textmodes/reftex-index.el (reftex-query-index-phrase): Use 682 * textmodes/reftex-index.el (reftex-query-index-phrase):
693 `reftex-index-verify-function'. 683 Use `reftex-index-verify-function'.
694 684
695 * textmodes/reftex-toc.el (reftex-re-enlarge): Handle horizontal 685 * textmodes/reftex-toc.el (reftex-re-enlarge):
696 splitting. 686 Handle horizontal splitting.
697 (reftex-toc): Handle horizontal splitting 687 (reftex-toc): Handle horizontal splitting
698 (reftex-last-window-width): New variable. 688 (reftex-last-window-width): New variable.
699 689
@@ -702,30 +692,23 @@
702 (reftex-locate-bibliography-files): Regexp relaxed to allow for 692 (reftex-locate-bibliography-files): Regexp relaxed to allow for
703 cases where \bibliography is not the first thing on the line. 693 cases where \bibliography is not the first thing on the line.
704 694
705 * textmodes/reftex.el (reftex-compile-variables): Use 695 * textmodes/reftex.el (reftex-compile-variables):
706 `reftex-include-file-commands'. 696 Use `reftex-include-file-commands'.
707 (reftex-type-query-prompt): Changed defconst to defvar. 697 (reftex-type-query-prompt): Changed defconst to defvar.
708 (reftex-type-query-help): likewise 698 (reftex-type-query-help, reftex-typekey-to-format-alist)
709 (reftex-typekey-to-format-alist): likewise 699 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
710 (reftex-typekey-to-prefix-alist): likewise 700 (reftex-special-env-parsers, reftex-label-mac-list)
711 (reftex-env-or-mac-alist): 701 (reftex-label-env-list, reftex-typekey-list)
712 (reftex-special-env-parsers): likewise 702 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
713 (reftex-label-mac-list): likewise 703 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
714 (reftex-label-env-list): likewise 704 (reftex-no-follow-message, reftex-no-info-message): Likewise.
715 (reftex-typekey-list): likewise
716 (reftex-words-to-typekey-alist): likewise
717 (reftex-key-to-index-macro-alist): likewise
718 (reftex-query-index-macro-prompt): likewise
719 (reftex-query-index-macro-help): likewise
720 (reftex-no-follow-message): likewise
721 (reftex-no-info-message): likewise
722 (reftex-mode): Define systax table for bibtex parsing. 705 (reftex-mode): Define systax table for bibtex parsing.
723 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing. 706 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
724 707
725 * textmodes/reftex-cite.el (reftex-format-names): %a as name 708 * textmodes/reftex-cite.el (reftex-format-names): %a as name
726 format lists all names. 709 format lists all names.
727 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'. 710 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
728 (reftex-with-special-syntax-for-bib): new macro. 711 (reftex-with-special-syntax-for-bib): New macro.
729 712
7302002-07-21 Richard M. Stallman <rms@gnu.org> 7132002-07-21 Richard M. Stallman <rms@gnu.org>
731 714
@@ -742,15 +725,14 @@
742 longer names. Use old names "sm1", "sm2" and so on for methods 725 longer names. Use old names "sm1", "sm2" and so on for methods
743 invoking "ssh -1" or "ssh -2". 726 invoking "ssh -1" or "ssh -2".
744 (tramp-multi-file-name-structure-separate): Typo, its name was set 727 (tramp-multi-file-name-structure-separate): Typo, its name was set
745 to "tramp-file-name-structure-separate". Trivial patch. From 728 to "tramp-file-name-structure-separate". Trivial patch.
746 Steve Youngs <youngs@xemacs.org>. 729 From Steve Youngs <youngs@xemacs.org>.
747 (tramp-multi-sh-program): New variable. 730 (tramp-multi-sh-program): New variable.
748 (tramp-open-connection-multi): Use it. Now you can use multi 731 (tramp-open-connection-multi): Use it. Now you can use multi
749 methods from Windows (at least in principle). 732 methods from Windows (at least in principle).
750 (tramp-do-copy-or-rename-via-buffer): New function. 733 (tramp-do-copy-or-rename-via-buffer): New function.
751 (tramp-do-copy-or-rename-file): Use it. Change and simplify 734 (tramp-do-copy-or-rename-file): Use it. Change and simplify
752 logic. Omit special case of invoking rcp directly to copy the 735 logic. Omit special case of invoking rcp directly to copy the files.
753 files.
754 (tramp-open-connection-su, tramp-multi-connect-telnet) 736 (tramp-open-connection-su, tramp-multi-connect-telnet)
755 (tramp-multi-connect-rlogin, tramp-multi-connect-su) 737 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
756 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name): 738 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
@@ -792,8 +774,8 @@
792 774
7932002-07-19 John Paul Wallington <jpw@shootybangbang.com> 7752002-07-19 John Paul Wallington <jpw@shootybangbang.com>
794 776
795 * emacs-lisp/bytecomp.el (compile-defun): Bind 777 * emacs-lisp/bytecomp.el (compile-defun):
796 `read-with-symbol-positions' to current buffer. 778 Bind `read-with-symbol-positions' to current buffer.
797 779
7982002-07-19 Andre Spiegel <spiegel@gnu.org> 7802002-07-19 Andre Spiegel <spiegel@gnu.org>
799 781
@@ -814,21 +796,21 @@
814 796
815 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo) 797 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
816 (baud-rate, compiled-function-p, define-function, unread-command-char) 798 (baud-rate, compiled-function-p, define-function, unread-command-char)
817 (executing-macro, post-command-idle-hook, post-command-idle-delay): Move 799 (executing-macro, post-command-idle-hook, post-command-idle-delay):
818 obsolescence declarations from emacs-lisp/bytecomp.el. 800 Move obsolescence declarations from emacs-lisp/bytecomp.el.
819 (directory-sep-char, mode-line-inverse-video): Add obsolescence 801 (directory-sep-char, mode-line-inverse-video):
820 declaration. 802 Add obsolescence declaration.
821 803
8222002-07-18 J.D. Smith <jdsmith@as.arizona.edu> 8042002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
823 805
824 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many 806 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
825 changes to list them here. 807 changes to list them here.
826 808
827 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14. Too 809 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
828 many changes to list them here. 810 Too many changes to list them here.
829 811
830 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14. Too 812 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
831 many changes to list them here. 813 Too many changes to list them here.
832 814
833 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with 815 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
834 only minor documentation changes. 816 only minor documentation changes.
@@ -858,8 +840,8 @@
858 840
8592002-07-18 Juanma Barranquero <lektu@terra.es> 8412002-07-18 Juanma Barranquero <lektu@terra.es>
860 842
861 * international/mule-util.el (string-to-sequence, truncate-string): Add 843 * international/mule-util.el (string-to-sequence, truncate-string):
862 autoload cookie to obsolescence declaration. 844 Add autoload cookie to obsolescence declaration.
863 845
864 * rect.el (move-to-column-force): Likewise. 846 * rect.el (move-to-column-force): Likewise.
865 847
@@ -891,7 +873,7 @@
891 (encode-char): Use ucs-mule-to-mule-unicode. 873 (encode-char): Use ucs-mule-to-mule-unicode.
892 874
893 * international/characters.el: Fix settings of U+2000-U+2027. 875 * international/characters.el: Fix settings of U+2000-U+2027.
894 Remove. 876 Remove $,1uf(B.
895 877
896 * international/mule-cmds.el (locale-language-names): Fix be, add 878 * international/mule-cmds.el (locale-language-names): Fix be, add
897 sr_YU@cyrillic, modify tg. 879 sr_YU@cyrillic, modify tg.
@@ -904,17 +886,16 @@
904 factor. Use utf-8-translation-table-for-decode. 886 factor. Use utf-8-translation-table-for-decode.
905 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0. 887 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
906 (cyrillic-unify-encoding): New function. 888 (cyrillic-unify-encoding): New function.
907 (cyrillic-koi8): Modify safe-chars, valid-codes. Remove 889 (cyrillic-koi8): Modify safe-chars, valid-codes.
908 charset-origin-alist. 890 Remove charset-origin-alist.
909 (Cp878, cp866): New alias. 891 (Cp878, cp866): New alias.
910 (ccl-encode-8859-5-font): New. 892 (ccl-encode-8859-5-font): New.
911 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font. 893 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
912 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font): Remove 894 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
913 redundant parens. 895 Remove redundant parens.
914 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority. 896 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
915 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u) 897 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
916 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): 898 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
917 New.
918 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset. 899 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
919 ("Cyrillic-ALT"): Change input method. 900 ("Cyrillic-ALT"): Change input method.
920 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New. 901 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
@@ -10450,8 +10431,8 @@
10450 10431
10451 * dired.el: Many trivial doc fixes. 10432 * dired.el: Many trivial doc fixes.
10452 (dired-get-file-for-visit): New function. 10433 (dired-get-file-for-visit): New function.
10453 (dired-find-alternate-file, dired-mouse-find-file-other-window): 10434 (dired-find-alternate-file, dired-mouse-find-file-other-window)
10454 (dired-view-file, dired-find-file-other-window, dired-display-file): 10435 (dired-view-file, dired-find-file-other-window, dired-display-file)
10455 (dired-find-file): Use dired-get-file-for-visit. 10436 (dired-find-file): Use dired-get-file-for-visit.
10456 10437
104572001-11-12 Alex Schroeder <kensanata@yahoo.com> 104382001-11-12 Alex Schroeder <kensanata@yahoo.com>
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index b161b0c7779..8f7333a3e31 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -865,8 +865,8 @@ The strings used as comment starts are built from
865 (>= (point) beg)) 865 (>= (point) beg))
866 (progn (goto-char end) (end-of-line) (skip-syntax-backward " ") 866 (progn (goto-char end) (end-of-line) (skip-syntax-backward " ")
867 (<= (point) end)) 867 (<= (point) end))
868 (or (not (string= "" comment-end)) block) 868 (or block (not (string= "" comment-end)))
869 (progn (goto-char beg) (search-forward "\n" end t))))) 869 (or block (progn (goto-char beg) (search-forward "\n" end t))))))
870 870
871 ;; don't add end-markers just because the user asked for `block' 871 ;; don't add end-markers just because the user asked for `block'
872 (unless (or lines (string= "" comment-end)) (setq block nil)) 872 (unless (or lines (string= "" comment-end)) (setq block nil))