1 2004-05-25 John Paul Wallington <jpw@gnu.org>
3 * gs.el (gs-load-image): Use `set-process-query-on-exit-flag'
4 instead of obsolete `process-kill-without-query'.
6 * textmodes/texinfmt.el (texinfo-indexvar-alist):
7 Declare as variable, not constant.
9 2004-05-25 Luc Teirlinck <teirllm@auburn.edu>
11 * files.el (find-file-noselect-1): Fix bug introduced by
12 Revision 1.694. As a side effect, `inhibit-read-only'
13 is again, by default, t during execution of
14 `find-file-not-found-functions'.
15 (insert-directory): Check that lines were really inserted by
16 the --dired switch, before erasing them.
18 2004-05-24 Nick Roberts <nickrob@gnu.org>
20 * progmodes/gdb-ui.el (gdb-breakpoints-mode, gdb-frames-mode)
21 (gdb-locals-mode): Check gud-minor-mode in gud-comint-buffer.
22 (gdb-var-update, gdb-var-update-handler, gdb-var-delete)
23 (gdb-edit-value, gdb-speedbar-expand-node): Handle new value for
24 gud-minor-mode (gdbmi).
26 2004-05-24 Yoichi NAKAYAMA <yoichi@geiin.org> (tiny change)
28 * net/browse-url.el (browse-url-interactive-arg): Enable user to
29 explicitly select the text to be taken as URL.
31 2004-05-23 Juri Linkov <juri@jurta.org>
33 * info.el (Info-index-nodes): New var and fun.
34 (Info-goto-index, Info-index, info-apropos)
35 (Info-find-emacs-command-nodes): Rewrite to use Info-index-nodes.
36 (Info-index): Fix docstring. Store and restore Info-history-list.
37 (Info-complete-nodes): New var.
38 (Info-complete-menu-item): Use it.
39 (Info-index-node): New fun.
40 (Info-final-node, Info-forward-node, Info-backward-node)
41 (Info-build-toc, Info-try-follow-nearest-node, Info-fontify-node):
43 (Info-extract-menu-item, Info-extract-menu-counting): Set second
44 arg of `Info-extract-menu-node-name' to non-nil for index nodes.
45 (Info-find-node-2): If a node with period in its name not found,
46 try to find a node without the name part after period.
47 (Info-select-node): Call Info-fontify-node only if
48 Info-fontify-maximum-menu-size is not nil.
49 (info-apropos): Set Info-fontify-maximum-menu-size to nil.
50 (Info-find-emacs-command-nodes, Info-goto-emacs-command-node):
51 Preserve Info-history-list.
52 (Info-toc): Set Info-current-file.
53 (Info-build-toc): Move point to the beginning of the buffer.
54 Add main-file variable.
55 (Info-dir-remove-duplicates, Info-history, Info-toc, info-apropos):
56 Use backslashed representation of the control character ^_.
58 * textmodes/texinfmt.el (texinfo-print-index): Print index line
59 numbers in the new Texinfo 4.7 format.
61 * add-log.el (change-log-font-lock-keywords): Remove `:' from
62 regexps for function and variable names.
64 * descr-text.el (describe-property-list): Add [show] button for
65 `syntax-table' property with action to pp to a separate buffer.
66 (describe-char): Replace search-forward by re-search-forward with
67 whitespace regexp after "character:" to not fail in too narrow
70 * simple.el (next-error-find-buffer): Add a rule to return
71 next-error capable buffer if one window on the selected frame
74 2004-05-23 Nick Roberts <nickrob@gnu.org>
76 * progmodes/gdb-ui.el (gdb-server-prefix): New variable.
77 (gud-watch, gdb-send-item, gdb-breakpoints-mode, gdb-frames-mode)
78 (gdb-locals-mode, gdb-send-item, gdb-toggle-breakpoint)
79 (gdb-delete-breakpoint, gdb-frames-select, gdb-threads-buffer)
80 (gdb-registers-buffer, gdb-reset, gdb-assembler-buffer): Handle
81 new value for gud-minor-mode (gdbmi).
82 (gdb-buffer-type, gdb-input-queue, gdb-prompting)
83 (gdb-output-sink, gdb-current-item, gdb-pending-triggers): Change
84 from local to global gdb variable set.
85 (gdb-ann3): Initialise above gdb variable set.
86 (gdb-var-update, gdb-var-update-handler, gdb-enqueue-input)
87 (gdb-dequeue-input, gdb-source, gdb-pre-prompt, gdb-prompt)
88 (gdb-subprompt, gdb-starting, gdb-stopping, gdb-frame-begin)
89 (gdb-stopped, gdb-post-prompt, gdb-concat-output)
90 (def-gdb-auto-update-trigger, def-gdb-auto-update-handler)
91 (gdb-info-locals-handler, gdb-invalidate-assembler)
92 (gdb-get-current-frame, gdb-frame-handler): Handle gdb variable
93 set as global variables.
94 (gdb-get-create-buffer): Don't make gud-comint buffer-local.
96 (gdb-info-breakpoints-custom): Fix regexp.
97 (def-gdb-var): Delete.
99 * progmodes/gud.el (gud-menu-map, gud-speedbar-menu-items)
100 (gud-speedbar-buttons, gud-sentinel, gud-display-line)
101 (gud-basic-call): Handle new value for gud-minor-mode (gdbmi) for
102 a new mode. The file (gdb-mi.el) for this mode will be included
103 with the GDB distribution (6.2 onwards) and will use GDB/MI as its
106 2004-05-23 Jesper Harder <harder@ifa.au.dk>
108 * progmodes/grep.el (grep-tree): Ensure that DIR argument is
109 interpreted as a directory.
111 2004-05-22 Richard M. Stallman <rms@gnu.org>
113 * textmodes/paragraphs.el (sentence-end): Match unicode curly quotes
116 * textmodes/bibtex.el: Use assoc-string, not assoc-ignore-case.
118 * progmodes/idlw-shell.el (idlwave-shell-get-object-class):
119 Use assoc-string, not assoc-ignore-case.
121 * progmodes/ada-mode.el: Use assoc-string, not assoc-ignore-case.
123 * emacs-lisp/lisp.el (mark-defun, narrow-to-defun):
124 If moving back then fwd gets a defun that ends before point,
125 try again moving fwd then back.
127 * files.el (file-name-non-special): Allow t in file-arg-indices
128 to mean requote the return value. Use `identity' as an element
129 rather than as the whole value.
131 * gs.el (gs-options): Add -dSAFER. Mark it risky.
133 2004-05-22 Juanma Barranquero <lektu@terra.es>
135 * help-fns.el (help-add-fundoc-usage): Use %S only for output of
137 (help-highlight-arguments): Skip function name before searching
140 2004-05-21 Juanma Barranquero <lektu@terra.es>
142 * allout.el (allout-chart-subtree, allout-rebullet-topic-grunt):
143 Don't mention in the docstring these arguments meant for
144 internal (recursive) use only.
145 (allout-char-spec): Comment out (it's not implemented).
146 (allout-old-expose-topic, allout-exposure): Fix docstring and add
147 obsolescence declaration.
148 (allout-flatten-exposed-to-buffer)
149 (allout-indented-exposed-to-buffer): Fix typos in docstring.
150 (my-mark-marker): Doc fix.
151 (produce-allout-mode-map, allout-sibling-index)
152 (allout-isearch-expose, allout-distinctive-bullet)
153 (allout-open-topic, allout-reindent-body)
154 (allout-rebullet-heading, allout-process-exposed)
155 (allout-insert-listified, allout-latex-verb-quote)
156 (allout-insert-latex-header, allout-insert-latex-trailer):
157 Make arguments match their use in docstring.
158 (allout-primary-bullet, allout-old-style-prefixes)
159 (allout-inhibit-protection, allout-init, allout-mode)
160 (allout-before-change-protect, allout-flag-region):
161 Use "Emacs" instead of "emacs" in docstrings.
163 2004-05-21 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
165 * international/characters.el: Modify syntax of more characters.
167 2004-05-21 Masatake YAMATO <jet@gyve.org>
169 * progmodes/etags.el (tags-apropos, list-tags): Require
171 (etags-tags-completion-table): Show parsing progress.
173 2004-05-20 Luc Teirlinck <teirllm@auburn.edu>
175 * locate.el (locate-prompt-for-command): Shorten first line of
177 (locate-mode): Expand docstring and include keymap summary.
179 * files.el (find-file-noselect-1): Limit the scope of the
180 `inhibit-read-only' binding. Make sure that `inhibit-read-only'
181 is, by default, nil during the execution of
182 `find-file-not-found-functions' and `find-file-hook'.
184 2004-05-20 Michael Mauger <mmaug@yahoo.com>
186 * facemenu.el (facemenu-color-name-equal): New function.
187 (list-colors-display): Use it to compare colors instead of
188 facemenu-color-equal.
190 2004-05-20 Dan Nicolaescu <dann@ics.uci.edu>
192 * compare-w.el (compare-windows-face): Use min-colors instead of
193 checking for tty or pc types.
195 2004-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
197 * simple.el (do-auto-fill): Remove unused vars `bol' and `opoint'.
198 (completion-setup-function): Use with-current-buffer.
199 Properly save excursion. Simplify.
200 Don't assume there is necessarily a `mouse-face' property somewhere.
202 * progmodes/gud.el (gud-reset): Use unless & with-current-buffer.
204 * progmodes/gdb-ui.el (gdb-reset): Use unless. Fix regexp.
206 * emacs-lisp/bytecomp.el (byte-compile-log): Use backquotes.
207 (byte-compile-log-1): Don't call (byte-goto-log-buffer).
208 Use with-current-buffer.
209 (byte-goto-log-buffer): Delete.
210 (byte-compile-log-file): Call compilation-forget-errors.
212 2004-05-19 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
214 * net/ldap.el (ldap-search-internal): Avoid mixing standard error
215 output messages into the search result.
217 2004-05-19 Masatake YAMATO <jet@gyve.org>
219 * wid-edit.el (widget-radio-button-notify): Revert my last
220 change. Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
222 2004-05-19 Kenichi Handa <handa@m17n.org>
224 * international/characters.el: Fix syntax (open/close) of CJK chars.
226 2004-05-18 Karl Chen <quarl@hkn.eecs.berkeley.edu> (tiny change)
228 * help-mode.el (help-go-back): Don't depend on position of back button.
230 2004-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
232 * files.el (auto-save-file-name-transforms): Make sure ange-ftp temp
233 files files don't contain an accidental additional /.
235 * textmodes/tex-mode.el (tex-compilation-parse-errors): Save excursion
238 2004-05-18 Masatake YAMATO <jet@gyve.org>
240 * wid-edit.el (widget-radio-button-notify): Don't pass `widget'
241 to widget-apply. :action method assumes 2 arguments, not 3.
243 2004-05-17 Glenn Morris <gmorris@ast.cam.ac.uk>
245 * progmodes/f90.el (f90-end-block-re, f90-start-block-re):
247 (hs-special-modes-alist): Add an f90-mode entry.
249 2004-05-17 Sam Steingold <sds@gnu.org>
251 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
252 Indent "without-" forms just like "with-" and "do-". Use regexp-opt.
254 2004-05-16 Kim F. Storm <storm@cua.dk>
256 * emacs-lisp/timer.el (timer-event-handler): Fix last change.
258 2004-05-15 John Wiegley <johnw@newartisans.com>
260 * eshell/esh-io.el (eshell-get-target): Whitespace changes.
261 (eshell-output-object-to-target): Improve output speed 20% by not
262 calling `eshell-stringify' if something is already known to be a string.
264 2004-05-15 Alex Ott <ott@jet.msk.su>
266 * textmodes/ispell.el (ispell-local-dictionary-alist):
267 Add windows-1251 to the choice of coding systems.
268 (ispell-dictionary-alist-6): Add support for "russianw.aff",
271 2004-05-15 Dan Nicolaescu <dann@ics.uci.edu>
273 * progmodes/compile.el (compilation-warning-face)
274 (compilation-info-face): Use min-colors.
276 2004-05-15 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
278 * toolbar/close.pbm, toolbar/close.xpm
279 * toolbar/copy.pbm, toolbar/copy.xpm
280 * toolbar/cut.pbm, toolbar/cut.xpm
281 * toolbar/help.pbm, toolbar/help.xpm
282 * toolbar/home.pbm, toolbar/home.xpm
283 * toolbar/index.pbm, toolbar/index.xpm
284 * toolbar/jump_to.pbm, toolbar/jump_to.xpm
285 * toolbar/left_arrow.pbm, toolbar/left_arrow.xpm
286 * toolbar/new.pbm, toolbar/new.xpm
287 * toolbar/open.pbm, toolbar/open.xpm
288 * toolbar/paste.pbm, toolbar/paste.xpm
289 * toolbar/preferences.pbm, toolbar/preferences.xpm
290 * toolbar/print.pbm, toolbar/print.xpm
291 * toolbar/right_arrow.pbm, toolbar/right_arrow.xpm
292 * toolbar/save.pbm, toolbar/save.xpm
293 * toolbar/saveas.pbm, toolbar/saveas.xpm
294 * toolbar/search.pbm, toolbar/search.xpm
295 * toolbar/spell.pbm, toolbar/spell.xpm
296 * toolbar/undo.pbm, toolbar/undo.xpm
297 * toolbar/up_arrow.pbm, toolbar/up_arrow.xpm: New icons from
301 2004-05-15 Kim F. Storm <storm@cua.dk>
303 * emacs-lisp/timer.el (timer-activate): Add optional arg triggered-p.
304 Use it to set triggered-p element of timer.
305 (timer-event-handler): Set triggered-p element non-nil while running
308 2004-05-14 David Ponce <david@dponce.com>
310 * tree-widget.el: New file.
312 2004-05-13 Marcelo Toledo <marcelo@marcelotoledo.org>
314 * language/european.el ("Brazilian Portuguese"): Add support for
315 Brazilian Portuguese.
317 2004-05-13 John Wiegley <johnw@newartisans.com>
319 * iswitchb.el (iswitchb-use-virtual-buffers): Only turn on
320 `recentf-mode' if this variable has been customized to t.
322 * eshell/esh-test.el (eshell-test): Call the function
323 `emacs-version' rather than trying to build a custom version string.
325 2004-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
327 * net/telnet.el (telnet-mode): Use define-derived-mode.
328 Don't modify the global value of comint-prompt-regexp.
330 2004-05-13 John Paul Wallington <jpw@gnu.org>
332 * version.el (emacs-version): Check for `gtk' feature before
335 2004-05-13 Juanma Barranquero <lektu@terra.es>
337 * files.el (file-truename): Don't mention COUNTER and PREV-DIRS
338 arguments in the docstring, they're used only in recursive calls.
340 * help-fns.el (help-arg-highlighting-function)
341 (help-argument-name): Delete.
342 (help-default-arg-highlight): New function.
343 (help-do-arg-highlighting): Use it.
345 2004-05-13 Glenn Morris <gmorris@ast.cam.ac.uk>
347 * calendar/appt.el (appt-disp-window):
348 Use `calendar-set-mode-line' for a centered mode-line.
350 2004-05-13 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
352 * calendar/appt.el (appt-disp-window): Do not split window
353 excessively when `split-height-threshold' is low.
355 2004-05-12 Nick Roberts <nickrob@gnu.org>
357 * progmodes/gud.el (gud-mode): Add gud-kill-buffer-hook to
358 kill-buffer-hook here and make it local.
359 (gud-kill-buffer-hook): Use kill-process for a sure kill.
361 2004-05-12 Daniel Pfeiffer <occitan@esperanto.org>
363 * progmodes/compile.el (compilation-set-window-height):
364 Use save-excursion to protect against misplaced marker.
366 2004-05-12 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
368 * custom.el (defface): Document that type can have value gtk.
370 * faces.el (face-spec-set-match-display): Handle type gtk in display.
372 2004-05-12 Kenichi Handa <handa@m17n.org>
374 * descr-text.el: Require quail at comile time.
375 (describe-char): If an input method is on and it supports the
376 character, show how to input it.
378 * international/quail.el (quail-install-decode-map): Accept a
379 char-table whose subtype is `quail-decode-map'.
380 (quail-store-decode-map-key, quail-gen-decode-map1)
381 (quail-gen-decode-map, quail-find-key1, quail-find-key)
382 (quail-show-key): New functions.
384 2004-05-12 Juanma Barranquero <lektu@terra.es>
386 * generic.el (define-generic-mode): Remove redundant arglist info.
388 * help-fns.el (help-split-fundoc, help-add-fundoc-usage):
389 Make arguments match their use in docstring.
390 (help-arg-highlighting-function): New variable.
391 (help-argument-name): Mention it in the docstring.
392 (help-do-arg-highlight): Use it. Expand regexp to accept also
393 ARG-xxx and xxx-ARG references.
395 2004-05-11 Yoichi NAKAYAMA <yoichi@geiin.org> (tiny change)
397 * mail/rfc2368.el (rfc2368-parse-mailto-url): Make the results of
398 parsing "mailto:addr1%2C%20addr2", "mailto:?to=addr1%2C%20addr2",
399 and "mailto:addr1?to=addr2" equal.
401 2004-05-11 Alexander Pohoyda <alexander.pohoyda@gmx.net> (tiny change)
403 * man.el (Man-getpage-in-background): Use shell-file-name
404 and shell-command-switch variables instead of hard-coded values.
406 2004-05-11 Eli Zaretskii <eliz@gnu.org>
408 * iimage.el: New file.
410 2004-05-11 Juanma Barranquero <lektu@terra.es>
412 * custom.el (custom-initialize-default, defcustom): Typo in docstring.
414 * files.el (set-visited-file-name, file-expand-wildcards):
417 2004-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
419 * emacs-lisp/lisp-mode.el (prin1-char): Use eventp.
421 * subr.el (eventp): Be more discriminating with integers.
423 2004-05-10 Daniel Pfeiffer <occitan@esperanto.org>
425 * progmodes/compile.el (compile): Add universal prefix arg.
426 (compilation-error-regexp-alist-alist): Add edg patterns.
428 2004-05-10 Sam Steingold <sds@gnu.org>
430 * textmodes/ispell.el (ispell-message):
431 Use `message-cite-prefix-regexp' instead of `message-yank-prefix'.
433 2004-05-10 Dave Love <fx@gnu.org>
435 * progmodes/python.el (help-buffer): Autoload when compiling.
436 (python-after-info-look): Don't assume Info-goto-node returns non-nil.
437 (run-python): Prepend to any existing PYTHONPATH.
439 2004-05-10 Nick Roberts <nick@nick.uklinux.net>
441 * progmodes/gdb-ui.el (gdb-annotation-rules): Add nquery annotation
442 for pending breakpoints.
444 2004-05-10 Richard M. Stallman <rms@gnu.org>
446 * mail/unrmail.el (unrmail): Mostly rewritten. Parses the file
447 directly without calling any functions in Rmail.
448 (unrmail-unprune): Function deleted.
450 2004-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
452 * progmodes/python.el (inferior-python-mode-map): Remove erroneous
455 2004-05-10 Kenichi Handa <handa@m17n.org>
457 * descr-text.el (describe-char): Fix previous change. Don't make
458 a unibyte character to multibyte in the *Help* buffer.
460 2004-05-10 Miles Bader <miles@gnu.org>
462 * lisp/progmodes/gud.el (gud-common-init): Only consider an existing
463 buffer an error if the debugger process is actually running.
465 2004-05-10 Juanma Barranquero <lektu@terra.es>
467 * help-fns.el (help-argument-name): Default to italic.
468 (help-highlight-arguments): Return always (usage . doc), even when
471 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-sorter)
472 (define-ibuffer-filter): Add usage info.
473 (define-ibuffer-op): Add usage info (but CL-style defaults for
474 keyword args are not shown).
476 * subr.el (remove-overlays, read-passwd): Fix docstring.
477 (start-process-shell-command): Fix docstring. Put usage info in a
478 format usable by `describe-function'.
479 (open-network-stream, open-network-stream-nowait)
480 (open-network-stream-server): Fix docstring.
482 2004-05-09 Jason Rumney <jasonr@gnu.org>
484 * international/code-pages (cp932, cp936, cp949, c950): Remove.
485 Only define cp125* if windows-125* is already defined.
487 * language/korean.el (cp949): Add alias.
489 * language/chinese.el (cp936, cp950): Add aliases.
491 * language/japanese.el (cp932): Add alias.
493 * term/w32-win.el: Require code-pages.
495 * international/mule-cmds.el (set-locale-environment):
496 On MS-Windows use ansi code-page for default coding-systems.
497 Set up paper sizes for Windows 3 letter languages.
499 * international/code-pages.el (cp932, cp936, cp949, cp950):
500 Add aliases. Also add cp125* if not already defined.
502 2004-05-09 Juanma Barranquero <lektu@terra.es>
504 * help-fns.el (help-highlight-arguments): Don't try to highlight
505 missing or autoloaded arglists. Accept structured arguments, like
506 the first ones of `do' and `flet'.
508 * pcvs.el (cvs-mode-run, cvs-is-within-p): Fix typo in docstring.
509 (cvs-get-marked): Remove redundant arglist info.
511 * net/quickurl.el (quickurl, quickurl-browse-url, quickurl-read):
512 Don't use CL-style default args.
514 2004-05-08 Andreas Schwab <schwab@suse.de>
516 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fix.
518 * international/subst-ksc.el: Fix references to utf-translate-cjk
519 into utf-translate-cjk-mode.
520 * international/subst-big5.el: Likewise.
521 * international/subst-gb2312.el: Likewise.
522 * international/subst-jis.el: Likewise.
523 * international/utf-16.el: Likewise.
524 * international/utf-8.el: Likewise.
526 2004-05-08 John Wiegley <johnw@newartisans.com>
528 * iswitchb.el (iswitchb-use-virtual-buffers): Add support for
529 "virtual buffers" (off by default), which makes it possible to
530 switch to the "virtual" buffers of recently visited files. When a
531 buffer name search fails, and this option is on, iswitchb will
532 look at the list of recently visited files, and permit matching
533 against those names. When the user hits RET on a match, it will
535 (iswitchb-read-buffer): Add two optional arguments, which makes
536 isearchb.el possible.
537 (iswitchb-completions, iswitchb-set-matches, iswitchb-prev-match)
538 (iswitchb-next-match): Add support for virtual buffers.
540 * isearchb.el: This module extends iswitchb to provide "as you
541 type" buffer selection.
543 * textmodes/flyspell.el (flyspell-highlight-incorrect-region):
544 Ignore the read-only property when flyspell highlighting is on.
545 Not ignoring it leads to a series of confusing errors.
546 (flyspell-highlight-duplicate-region): Ignore read-only, as above,
547 but also make sure to call flyspell-incorrect-hook.
548 (flyspell-maybe-correct-transposition): Perform transposition test
549 by bit twiddling a string, rather than using a temp buffer.
550 (flyspell-maybe-correct-doubling): Use a string rather than a temp
551 buffer. This is also the original version of the code, which
552 could not be checked in before due to a previous lack of
553 assignment papers. This version has seen heavy usage on my system
554 for several years now.
556 * calendar/cal-bahai.el: New file, which adds support for the
557 Baha'i calendar to Emacs. This calendar is based on a solar year
558 of 19 months of 19 days, with 4 intercalary days. Each year
559 begins on March 21, with the calendar starting in 1844.
561 * calendar/cal-menu.el, calendar/calendar.el,
562 calendar/diary-lib.el, calendar/holidays.el: Added support for
565 * eshell/em-glob.el (eshell-glob-initialize): Move initialization
566 of `eshell-glob-chars-regexp' into `eshell-glob-regexp', so that
567 function can be used outside of eshell buffers.
568 (eshell-glob-regexp): Initialize `eshell-glob-chars-regexp' here.
570 2004-05-08 Juanma Barranquero <lektu@terra.es>
572 * help-fns.el (help-do-arg-highlight): Temporarily set ?\- to be a
573 word constituent so FOO-ARG is not recognized as an arg.
574 (help-highlight-arguments): Don't skip lists in mandatory arguments.
576 * simple.el (next-error): Fix typo in docstring.
577 (open-line): Make argument names match their use in docstring.
578 (split-line): Fix docstring.
580 * emacs-lisp/cl-macs.el (do, do*): Put usage info in a format
581 usable by `describe-function'.
582 (gensym, gentemp, typep, ignore-errors): Make argument names match
583 their use in docstring.
585 * progmodes/python.el (python-describe-symbol): Pass INTERACTIVE-P
586 argument to `help-setup-xref'.
588 2004-05-07 Kai Grossjohann <kai@emptydomain.de>
590 Version 2.0.40 of Tramp released.
592 * net/tramp.el (tramp-completion-mode, tramp-md5-function):
593 Use symbol-function to invoke functions only known on some Emacs
594 flavors. This avoids byte-compiler warnings. Reported by Kevin
595 Scaldeferri <kevin@scaldeferri.com>.
596 (tramp-do-copy-or-rename-file-via-buffer): Rename from
597 tramp-do-copy-or-rename-via-buffer (without `file'), to make it
598 consistent with the other tramp-do-* functions.
599 (tramp-do-copy-or-rename-file): Calls adjusted.
600 (tramp-process-initial-commands): Avoid liveness check on shell --
601 we know that it must be alive since we're opening a connection at
603 (tramp-last-cmd): New internal variable.
604 (tramp-process-echoes): New tunable.
605 (tramp-send-command): Set tramp-last-cmd.
606 (tramp-wait-for-output): Delete echo, if applicable.
607 (tramp-read-passwd): Construct the key for the password cache in a
608 way that works for multi methods, too.
609 (tramp-bug): Add backup-directory-alist and
610 bkup-backup-directory-info to bug reports, with Tramp counterparts.
612 2004-05-07 Michael Albinus <michael.albinus@gmx.de>
614 * net/tramp*.el: Suppress byte-compiler warnings where possible.
616 * net/tramp.el (tramp-out-of-band-prompt-regexp)
617 (tramp-actions-copy-out-of-band): New defcustoms.
618 (tramp-do-copy-or-rename-file-out-of-band): Asynchronous process
619 used instead of a synchronous one. Allows password entering.
620 (tramp-action-out-of-band): New defun.
621 (tramp-open-connection-rsh, tramp-method-out-of-band-p):
622 Remove restriction with password from doc string.
623 (tramp-bug): Add variables `tramp-terminal-prompt-regexp',
624 `tramp-out-of-band-prompt-regexp',
625 `tramp-actions-copy-out-of-band', `password-cache' and
626 `password-cache-expiry'.
627 (toplevel): Remove todo item wrt ssh-agent. Obsolete due to
629 (tramp-touch): FILE can be a local file, too.
630 (TODO): Remove items done.
631 (tramp-handle-insert-directory): Properly quote file name also if
632 not full-directory-p. Handle wildcard case. Reported by Andreas
633 Schwab <schwab@suse.de>.
634 (tramp-do-copy-or-rename-file-via-buffer): Set permissions of the
636 (tramp-handle-file-local-copy, tramp-handle-write-region):
637 The permissions of the temporary file are set if filename exists.
638 Reported by Ted Stern <stern@cray.com>.
639 (tramp-backup-directory-alist)
640 (tramp-bkup-backup-directory-info): New defcustoms.
641 (tramp-file-name-handler-alist): Add entry for `find-backup-file-name'.
642 (tramp-handle-find-backup-file-name): New function.
643 Implements Tramp's find-backup-file-name.
645 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add entry
646 for `find-backup-file-name'.
648 * net/tramp-vc.el (tramp-vc-workfile-unchanged-p): Correct typo
649 ("file" -> "filename"). Reported by Kim F. Storm <storm@cua.dk>.
651 2004-05-07 Lars Hansen <larsh@math.ku.dk>
653 * desktop.el (desktop-buffer-mode-handlers): Fix docstring.
655 2004-05-07 Juanma Barranquero <lektu@terra.es>
657 * subr.el (lambda): Add arglist description to docstring.
658 (declare): Fix typo in docstring.
659 (open-network-stream): Fix docstring.
660 (process-kill-without-query): Fix docstring and add obsolescence info.
661 (last, butlast, nbutlast): Make arguments match their use in docstring.
662 (insert-buffer-substring-no-properties): Likewise.
663 (insert-buffer-substring-as-yank): Likewise.
664 (split-string): Fix docstring.
666 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
667 Make argument names match their use in docstring.
669 * emacs-lisp/re-builder.el (reb-auto-update): Fix typo in docstring.
671 2004-05-06 Nick Roberts <nickrob@gnu.org>
673 * progmodes/gdb-ui.el: Improve/extend documentation strings.
674 Fit first sentence on one line for apropos-command.
676 2004-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
678 Changes largely merged in from Dave Love's code.
679 * progmodes/python.el: Doc fixes.
680 (python-mode-map): Add python-complete-symbol.
681 (python-comment-line-p, python-beginning-of-string): Use syntax-ppss.
682 (python-comment-indent, python-complete-symbol)
683 (python-symbol-completions, python-partial-symbol)
684 (python-try-complete): New.
685 (python-indent-line): Remove optional arg. Use python-block-end-p.
686 (python-check): Bind compilation-error-regexp-alist.
687 (inferior-python-mode): Use rx. Move keybindings to top level.
688 Set comint-input-filter.
689 (python-preoutput-filter): Use rx.
690 (python-input-filter): Re-introduce.
691 (python-proc): Start new process if necessary.
692 Check python-buffer non-nil.
693 (view-return-to-alist): Defvar.
694 (python-send-receive): New.
695 (python-eldoc-function): Use it.
696 (python-mode-running): Don't defvar.
697 (python-mode): Set comment-indent-function.
698 Maybe update hippie-expand-try-functions-list.
699 (python-indentation-levels): Initialize differently.
700 (python-block-end-p): New.
701 (python-indent-line): Use it.
702 (python-compilation-regexp-alist): Augment.
703 (run-python): Import `emacs' module to Python rather than loading
704 code directly. Set python-buffer differently.
705 (python-send-region): Use emacs.eexecfile. Fix orig-start calculation.
707 (python-send-command): Go to end of comint buffer.
708 (python-load-file): Use python-proc, emacs.eimport.
709 (python-describe-symbol): Simplify interactive form.
710 Use emacs.help. Do use temp-buffer-show-hook.
711 Call print-help-return-message.
712 (hippie-exp): Require when compiling.
713 (python-preoutput-continuation): Use rx.
715 * diff-mode.el (diff-make-unified): Fix regexp.
717 2004-05-06 Romain Francoise <romain@orebokech.com> (tiny change)
719 * ibuffer.el (ibuffer-redisplay-engine): Do not remove folded
720 filter groups from the buffer when rebuilding the Ibuffer buffer
721 and `ibuffer-show-empty-filter-groups' is nil.
723 2004-05-06 Vinicius Jose Latorre <viniciusjl@ig.com.br>
725 * ps-print.el (ps-print-quote): Call ps-value-string.
726 (ps-setup): Call ps-comment-string.
727 (ps-value-string, ps-comment-string): New funs.
729 2004-05-06 Juanma Barranquero <lektu@terra.es>
731 * ehelp.el (electric-help-command-loop): Check whether the last
732 character is visible, not (point-max).
734 * help-fns.el (help-argument-name): Default to bold; don't inherit
735 from font-lock-variable-name-face.
736 (help-do-arg-highlight): Grok also ARGth occurrences in the docstring.
738 2004-05-05 Kenichi Handa <handa@m17n.org>
740 * descr-text.el (describe-char): Copy the character with text
741 properties and overlays into the first line, and call
742 describe-text-properties on it.
744 2004-05-05 Stephen Eglen <stephen@anc.ed.ac.uk>
746 * iswitchb.el (iswitchb-global-map): Fix typo.
747 Remove unwanted ###autoloads from source file.
749 2004-05-05 Lars Hansen <larsh@math.ku.dk>
751 * wdired.el (wdired-change-to-wdired-mode): Quote wdired-mode-hook
752 in run-hooks. Use substitute-command-keys in message.
753 (wdired-abort-changes): Add message.
755 2004-05-03 Michael Mauger <mmaug@yahoo.com>
757 * emacs/lisp/progmodes/sql.el (sql-xemacs-p, sql-emacs19-p)
758 (sql-emacs20-p): Remove.
759 (sql-mode-syntax-table): Use shared GNU EMacs/XEmacs syntax.
760 (sql-builtin-face, sql-doc-face): Remove.
761 (sql-mode-ansi-font-lock-keywords)
762 (sql-mode-oracle-font-lock-keywords)
763 (sql-mode-postgres-font-lock-keywords)
764 (sql-mode-linter-font-lock-keywords)
765 (sql-mode-ms-font-lock-keywords)
766 (sql-mode-mysql-font-lock-keywords): Use standard fonts.
767 (sql-product-font-lock): Fix font-lock reset when font rules change.
768 (sql-highlight-product): Remove incorrect font-lock reset logic.
770 2004-05-04 Jonathan Yavner <jyavner@member.fsf.org>
772 * ses.el (ses-set-parameter): Fix typo.
774 2004-05-04 Kim F. Storm <storm@cua.dk>
776 * ido.el (ido-read-internal): Fix call to read-file-name for edit.
777 Must expand directory for completion to work; and don't mess with
779 (ido-read-file-name): If command has ido property, don't use ido
780 if value is ignore, or read as directory if value is dir.
781 Set ido ignore property for dired-do-rename command.
783 2004-05-04 Juanma Barranquero <lektu@terra.es>
785 * ehelp.el (electric-help-command-loop, electric-help-undefined)
786 (electric-help-help): Check against unmapped commands.
788 * help-fns.el (help-argument-name): New face, inheriting from
789 font-lock-variable-name-face, to highlight function arguments in
790 `describe-function' and `describe-key'.
791 (help-do-arg-highlight): Auxiliary function to highlight a given
792 list of arguments in a string.
793 (help-highlight-arguments): Highlight the function arguments and
794 all uses of them in the docstring.
795 (describe-function-1): Use it. Do docstring output via `insert',
796 not 'princ', so text attributes are preserved.
798 * winner.el (winner-mode-map): Move `winner-undo' and
799 `winner-redo' to C-c <left> and C-c <right>, respectively (the
800 previous bindings conflict with `prev-buffer', `next-buffer').
802 2004-05-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
804 * textmodes/bibtex.el (bibtex-progress-message): Fix docstring.
805 (bibtex-entry-update): New command bound to C-c C-u.
806 (bibtex-text-in-string): Fix regexp.
807 (bibtex-assoc-of-regexp): Remove.
808 (bibtex-progress-message): Fix docstring.
809 (bibtex-inside-field): Use if.
810 (bibtex-assoc-regexp): New function.
811 (bibtex-format-entry): Make code more robust so that it formats
813 (bibtex-autokey-demangle-title): Merge with obsolete function
814 bibtex-assoc-of-regexp.
815 (bibtex-field-list): New function.
816 (bibtex-entry): Use bibtex-field-list.
817 (bibtex-parse-entry): Fix docstring.
818 (bibtex-print-help-message): Use bibtex-field-list.
819 (bibtex-make-field): Use bibtex-field-list.
820 (bibtex-entry-index): Bugfix. Return crossref key if required.
821 (bibtex-lessp): Fix docstring.
823 2004-05-03 Luc Teirlinck <teirllm@auburn.edu>
825 * select.el (xselect-convert-to-string): Move comment to intended line.
827 2004-05-03 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
829 * toolbar/tool-bar.el (tool-bar-setup): Use lookup-key for
830 cut/copy/paste in case menu-bar-enable-clipboard is in effect.
832 2004-05-03 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
834 * term/x-win.el (x-clipboard-yank): Don't exit on error from
837 2004-05-03 Jason Rumney <jasonr@gnu.org>
839 * makefile.nt: Remove.
841 2004-05-03 Kim F. Storm <storm@cua.dk>
843 * emulation/cua-base.el (cua--update-indications): Fix last change.
844 (cua-mode): Deactivate mark when cua-mode is enabled.
846 2004-05-02 Luc Teirlinck <teirllm@auburn.edu>
848 * select.el (xselect-convert-to-string): Bind `inhibit-read-only' to t.
850 2004-05-03 Nick Roberts <nickrob@gnu.org>
852 * progmodes/gdb-ui.el (gud-watch, gdb-display-buffer)
853 (gdb-display-source-buffer, gdb-put-breakpoint-icon)
854 (gdb-remove-breakpoint-icons, gdb-assembler-custom): Look for
855 window over visible frames.
856 (gdb-goto-breakpoint): Make buffer display file at breakpoint.
858 2004-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
860 * progmodes/compile.el (compilation-gcpro): New var.
861 (compilation-fake-loc): Use it.
862 (compilation-forget-errors): Reset it.
864 2004-05-02 Dan Nicolaescu <dann@ics.uci.edu>
866 * diff-mode.el (diff-header-face, diff-file-header-face):
869 2004-05-02 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
871 * textmodes/bibtex.el (bibtex-sort-buffer): Remove error message.
872 (bibtex-clean-entry): Disentangle code.
873 (bibtex-realign): New function.
874 (bibtex-reformat): Use mapcar and bibtex-realign. Do not use
875 bibtex-beginning-of-first-entry and bibtex-skip-to-valid-entry.
876 Remove undocumented optional arg called-by-convert-alien.
877 (bibtex-convert-alien): Use bibtex-realign. Use bibtex-reformat
878 for sorting instead of bibtex-sort-buffer.
880 2004-05-02 Eli Zaretskii <eliz@gnu.org>
882 * progmodes/compile.el (compilation-start): In the
883 no-async-subprocesses branch, call sit-for to give redisplay a
884 chance to show the updated process status in the mode line, and
885 fontify the buffer explicitly after the process exits.
887 2004-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
889 * progmodes/python.el (python-compilation-line-number): Remove.
890 (python-compilation-regexp-alist): Don't use it any more.
891 (python-orig-start, python-input-filter): Remove.
892 (inferior-python-mode): Don't set up comint-input-filter-functions.
893 (python-send-region): Use compilation-fake-loc.
895 * progmodes/compile.el (compilation-messages-start): New var.
896 (compilation-mode): Don't setup next-error-function here.
897 (compilation-setup): Set it up here instead (for minor modes as well).
898 Make compilation-messages-start buffer local.
899 (compilation-next-error-function): Use it.
900 (compilation-forget-errors): Set compilation-messages-start.
902 2004-05-01 Luc Teirlinck <teirllm@auburn.edu>
904 * ielm.el (ielm-prompt-read-only): Update docstring.
906 * comint.el (comint-prompt-read-only): Update docstring.
907 (comint-update-fence, comint-kill-whole-line)
908 (comint-kill-region): New functions.
910 * simple.el (kill-whole-line): Use "p" instead of "P" in
913 2004-05-01 Juanma Barranquero <lektu@terra.es>
915 * help-fns.el (help-add-fundoc-usage): Use %S instead of %s to
916 format arglist so default values in CL-style argument lists are
919 2004-05-01 Jason Rumney <jasonr@gnu.org>
921 * term/w32-win.el (w32-drag-n-drop): Use x-dnd.el functions.
923 2004-05-01 Kenichi Handa <handa@m17n.org>
925 * international/titdic-cnv.el (miscdic-convert): Don't generate a
926 quail file if it is up to date.
928 2004-04-30 Juri Linkov <juri@jurta.org>
930 * cus-edit.el (custom-mode-map):
931 Add key binding `C-x C-s' to `Custom-save'.
933 * outline.el (outline-blank-line): New var.
934 (outline-next-preface, outline-show-heading)
935 (outline-end-of-subtree): Use it.
937 * dired-aux.el (dired-touch-initial): New fun.
938 (dired-do-chxxx): Call it for op-symbol `touch'.
939 (dired-diff): Use `dired-dwim-target-directory'
940 if current dired buffer has no buffer mark.
942 * bindings.el (propertized-buffer-identification):
943 Replace `(:weight bold)' by `Buffer-menu-buffer-face'.
944 Add C-M-arrow keys for consistency.
946 * files.el (confirm-kill-emacs):
947 Change group from top-level `emacs' to `convenience'.
949 * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun):
950 Push mark on the first call of successive command calls.
951 (insert-pair): New fun created from `insert-parentheses' with
952 `open' and `close' arguments added. Enclose active regions
953 in paired characters. Compare adjacent characters syntax with
954 inserted characters syntax before inserting a space.
955 (insert-parentheses): Call `insert-pair' with ?\( ?\).
957 * delsel.el: Don't put `delete-selection' property
958 on `insert-parentheses' symbol to take advantage of
959 region handling in `insert-pair' function.
960 Suggested by Stephan Stahl <stahl@eos.franken.de>.
962 2004-04-30 Kim F. Storm <storm@cua.dk>
964 * emulation/cua-base.el: Add support for changing cursor types;
965 based on patch from Michael Mauger.
966 (cua-normal-cursor-color, cua-read-only-cursor-color)
967 (cua-overwrite-cursor-color, cua-global-mark-cursor-color):
968 Customization cursor type and/or cursor color.
969 (cua--update-indications): Handle cursor type changes.
970 (cua-mode): Update cursor indications if enabled.
972 * menu-bar.el (menu-bar-options-menu): Change menu text for CUA.
974 * mouse.el (mouse-drag-copy-region): New defcustom.
975 (mouse-set-region, mouse-drag-region-1): Use it.
977 * simple.el (kill-ring-save): If region face background color is
978 unspecified (if no highlighting), show extent of fully visible
979 region even if transient-mark-mode is enabled.
981 * emulation/cua-base.el (cua--standard-movement-commands):
982 Add cua-scroll-up and cua-scroll-down.
983 (cua-scroll-up, cua-scroll-down): New commands.
984 (cua--init-keymaps): Remap scroll-up and scroll-down.
986 * emulation/cua-rect.el (cua--convert-rectangle-as):
988 (cua-upcase-rectangle, cua-downcase-rectangle): Use it.
989 (cua-upcase-initials-rectangle, cua-capitalize-rectangle):
990 New commands (suggested by Jordan Breeding).
992 2004-04-30 Juanma Barranquero <lektu@terra.es>
994 * smerge-mode.el (smerge-diff-switches): Fix typo in docstring.
996 2004-04-30 Mario Lang <mlang@delysid.org>
998 * diff.el (diff-switches): Fix typo in docstring.
1000 2004-04-30 Alex Schroeder <alex@gnu.org>
1002 * xml.el (xml-debug-print-internal): Don't add newline and
1003 indentation to text nodes and write empty elements as empty tags
1004 instead of opening and closing tags.
1005 (xml-debug-print): Take optional indent-string argument.
1006 (xml-print): Alias for xml-debug-print.
1008 2004-04-30 Glenn Morris <gmorris@ast.cam.ac.uk>
1010 * progmodes/fortran.el (fortran-fill): Use local var `bol' rather
1011 than duplicate call to `line-beginning-position'.
1013 * progmodes/f90.el (f90-get-present-comment-type):
1014 Return whitespace, as well as comment chars, for consistent filling
1015 of comment blocks. Use `match-string-no-properties'.
1016 (f90-break-line): Trim trailing whitespace when filling comments.
1018 2004-04-30 Dave Love <fx@gnu.org>
1020 * calendar/diary-lib.el (diary-outlook-formats): New variable.
1021 (diary-from-outlook-internal, diary-from-outlook)
1022 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1023 New functions to import diary entries from Outlook-format
1024 appointments in mail messages.
1026 2004-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * progmodes/python.el (python-send-command): New fun.
1029 (python-send-region, python-load-file): Use it.
1031 * progmodes/compile.el (compilation-last-buffer): Add var alias.
1033 * help-fns.el (help-C-file-name): Use new subr-name.
1034 Prepend `src/' to the file name.
1035 (help-C-source-directory, help-subr-name, help-find-C-source): Remove.
1036 (describe-function-1, describe-variable): Only find a C source file
1037 name if DOC is already loaded.
1039 * help-mode.el (help-function-def, help-variable-def):
1040 Use the new find-function-search-for-symbol functionality.
1041 Allow FILE to be `C-source'.
1043 * emacs-lisp/find-func.el (find-function-C-source-directory): New var.
1044 (find-function-C-source): New fun.
1045 (find-function-search-for-symbol): Use it.
1047 2004-03-29 Michael Mauger <mmaug@yahoo.com>
1049 * progmodes/sql.el (sql-product-alist): Rename variable
1050 `sql-product-support'. Add Postgres login parameters.
1051 (sql-set-product, sql-product-feature): Update with renamed variable.
1052 (sql-connect-postgres): Add username prompt.
1053 (sql-imenu-generic-expression, sql-mode-font-lock-object-name):
1054 Make patterns less product specific.
1055 (sql-xemacs-p, sql-emacs19-p): Add flags for emacs variants.
1056 (sql-mode-abbrev-table): Modify initialization.
1057 (sql-builtin-face): Add variable.
1058 (sql-keywords-re): Add macro.
1059 (sql-mode-ansi-font-lock-keywords): Update for ANSI-92.
1060 (sql-mode-oracle-font-lock-keywords): Update for Oracle 9i.
1061 (sql-mode-postgres-font-lock-keywords): Update for Postgres 7.3.
1062 (sql-mode-mysql-font-lock-keywords): Update for MySql 4.0.
1063 (sql-mode-linter-font-lock-keywords)
1064 (sql-mode-ms-font-lock-keywords): Use `sql-keywords-re' macro.
1065 (sql-mode-sybase-font-lock-keywords)
1066 (sql-mode-informix-font-lock-keywords)
1067 (sql-mode-interbase-font-lock-keywords)
1068 (sql-mode-ingres-font-lock-keywords)
1069 (sql-mode-solid-font-lock-keywords)
1070 (sql-mode-sqlite-font-lock-keywords)
1071 (sql-mode-db2-font-lock-keywords): Default to nil.
1072 (sql-product-font-lock): Always highlight ANSI keywords.
1073 (sql-add-product-keywords): Made similar to `font-lock-add-keywords'.
1074 (sql-send-string): Add function.
1076 2004-04-29 Dave Love <fx@gnu.org>
1078 * progmodes/cfengine.el (cfengine-beginning-of-defun)
1079 (cfengine-end-of-defun): Ensure progress through buffer.
1081 * info-look.el (cfengine-mode): Accept a terminal ().
1083 2004-04-29 Juri Linkov <juri@jurta.org>
1085 * isearch.el (isearch-mode-map): Bind \C-w to isearch-yank-word
1086 instead of isearch-yank-word-or-char. Add new key bindings for
1087 isearch-yank-char to \C-f, and isearch-del-char to \C-b.
1088 (isearch-del-char): New fun.
1089 (isearch-forward, isearch-edit-string): Update docstring.
1090 (isearch-yank-char): Doc fix.
1091 (isearch-other-meta-char): Restore point after scrolling.
1093 * progmodes/compile.el (compilation-context-lines): Add nil option
1094 to disable compilation output window scrolling.
1095 (compilation-set-window): Use it.
1097 * outline.el (outline-next-preface, outline-show-heading):
1098 Don't leave unhidden blank line before heading.
1099 (outline-end-of-subtree): Include last newline into subtree.
1100 (hide-entry): Leave point at beginning of heading instead of end.
1101 (outline-up-heading): Push mark for the first call of successive
1104 2004-04-28 Luc Teirlinck <teirllm@auburn.edu>
1106 * comint.el (comint-prompt-read-only): New variable.
1107 (comint-output-filter): Implement it.
1109 * ielm.el (ielm-prompt-read-only, ielm-prompt): Update docstring.
1110 (ielm-prompt-internal): New variable.
1111 (ielm-font-lock-keywords): Remove irrelevant ielm-prompt keyword.
1112 (ielm-send-input): Delete unused variable `buf'.
1113 (ielm-eval-input): Use `ielm-prompt-internal'.
1114 (inferior-emacs-lisp-mode): Use new variables
1115 `comint-prompt-read-only' and `ielm-prompt-internal'.
1116 Get rid of obsolete variable `directory-sep-char'.
1117 (ielm): Use `zerop'.
1119 2004-04-29 John Paul Wallington <jpw@gnu.org>
1121 * thumbs.el (toplevel): Require cl at compile time.
1122 Remove conditional definitions of `ignore-errors' and `caddar'
1123 because they occur at run time.
1125 2004-04-28 Nick Roberts <nickrob@gnu.org>
1127 * progmodes/gdb-ui.el (gdb-frame-breakpoints-buffer)
1128 (gdb-frame-assembler-buffer, gdb-frame-threads-buffer)
1129 (gdb-frame-registers-buffer, gdb-frame-locals-buffer)
1130 (gdb-frame-gdb-buffer, gdb-frame-stack-buffer): Use selected-window.
1132 * progmodes/gud.el (gud-common-init): Throw an error if program is
1133 already running under gdb.
1135 2004-04-28 John Paul Wallington <jpw@gnu.org>
1137 * thumbs.el (thumbs-delete-images): Fix formatting of prompt.
1138 (thumbs-show-image-num): Move assignment of
1139 `thumbs-current-image-filename' within scope of `i'.
1140 (thumbs-emboss-image): Don't use `evenp'.
1142 2004-04-28 Richard M. Stallman <rms@gnu.org>
1144 * progmodes/compile.el (compilation-context-lines): Default now 0.
1146 2004-04-28 Juanma Barranquero <lektu@terra.es>
1148 Use `time-less-p' from calendar/time-date.el instead of defining
1149 custom versions of it.
1151 * pcomplete.el (pcomplete-time-less-p): Remove.
1153 * thumbs.el (time-less-p): Remove.
1155 * calendar/timeclock.el (timeclock-time-less-p): Remove.
1156 (timeclock-generate-report): Use `time-less-p'.
1158 * emacs-lisp/autoload.el (autoload-before-p): Remove.
1159 (update-file-autoloads, update-directory-autoloads): Use `time-less-p'.
1161 2004-04-28 Masatake YAMATO <jet@gyve.org>
1163 * subr.el (remove-overlays): Make arguments optional.
1165 * wid-edit.el (widget-specify-button): Put evaporate to the
1167 (widget-specify-sample): Put evaporate to the overlay for sample.
1168 (widget-specify-doc): Put evaporate to the overlay for documentation.
1170 2004-04-27 Jesper Harder <harder@ifa.au.dk>
1172 * info.el (info-apropos): Make it an index node. Align node names
1175 2004-04-27 Eli Zaretskii <eliz@gnu.org>
1177 * net/browse-url.el (browse-url-netscape-sentinel)
1178 (browse-url-mozilla-sentinel, browse-url-galeon-sentinel)
1179 (browse-url-epiphany-sentinel, browse-url-mosaic):
1180 Use browse-url-*-program instead of a literal program name.
1182 2004-04-27 Kevin Ryde <user42@zip.com.au>
1184 * eshell/em-alias.el:
1185 * eshell/em-dirs.el:
1186 * eshell/em-hist.el:
1187 * eshell/em-unix.el: Add "(require 'eshell)", to get necessary
1188 features when M-x customize-group loads modules before the main
1191 2004-04-27 Matthew Mundell <matt@mundell.ukfsn.org>
1193 * subr.el (momentary-string-display): Support EXIT-CHAR that is
1194 either a character representation of an event or an event
1197 * type-break.el: Capitalise Emacs and Lisp.
1198 (type-break-good-break-interval, type-break-demo-boring-stats)
1199 (type-break-terse-messages, type-break-file-name): New defcustoms.
1200 (type-break-post-command-hook)
1201 (type-break-warning-countdown-string): Quote variable names in doc.
1202 (type-break-interval-start, type-break-auto-save-file-name): New vars.
1203 (type-break-mode): Document type-break-good-break-interval and the
1204 "session" file. Schedule break according to the session file.
1205 Kill session file buffer on exit. Organise for save-some-buffers
1206 to always save the session file.
1207 (type-break-mode-line-message-mode, type-break-query-mode):
1208 Uppercase arguments.
1209 (type-break-file-time, type-break-file-keystroke-count, timep)
1210 (type-break-choose-file, type-break-get-previous-time)
1211 (type-break-get-previous-count): New defuns.
1212 (type-break): Avoid break querying after a completed break in the
1213 case where the query was initiated during user invocation of the
1214 break. Optional terse messages.
1215 Use type-break-good-break-interval if type-break-good-rest-interval is
1216 nil. File the break time.
1217 (type-break-schedule): New optional args for overriding the use of
1219 (type-break-cancel-time-warning-schedule): Avoid leftover warnings
1221 (type-break-check): File the keystroke count.
1222 (type-break-do-query): Prevent a second query when the break is
1223 interrupted. Optional terse message.
1224 (type-break-keystroke-reset): Record the start of a typing interval.
1225 (type-break-demo-boring): Optional terse messages. Display word
1226 per minute and keystroke counts according to
1227 type-break-demo-boring-stats.
1229 2004-04-27 Daniel M Coffman <coffmand@us.ibm.com> (tiny change)
1231 * arc-mode.el (archive-maybe-copy): If ARCHIVE includes leading
1232 directories, make sure they exist under archive-tmpdir.
1234 2004-04-27 Juri Linkov <juri@jurta.org>
1236 * help.el (view-emacs-news): With argument, display info for the
1237 selected version by finding it among different NEWS files, and
1238 narrowing the buffer to the selected version.
1240 * info.el: Add *info*<[0-9]+> to same-window-regexps instead of
1241 same-window-buffer-names.
1242 (info): New arg `buffer'. Use it. Doc fix. Read file name for
1243 non-numeric prefix argument, append the number to the buffer name
1244 for numeric prefix argument.
1245 (info-other-window): Bind same-window-regexps to nil.
1246 (Info-reference-name): Rename to Info-point-loc.
1247 (Info-find-node-2): Call forward-line for numeric Info-point-loc,
1248 and Info-find-index-name for stringy Info-point-loc.
1249 (Info-extract-menu-node-name): New arg `index-node'. Use regexp
1250 without middle `.', but with final `.' and optional line number
1251 for it. Set Info-point-loc for index nodes.
1252 (Info-index): Remove middle `.' from index entry regexp.
1253 Modify line number regexp.
1254 (Info-index-next): Decrement line number.
1255 (info-apropos): Remove middle `.' from index entry regexp.
1256 Add optional line number regexp at the end. Add matched value
1257 for line number to the result list and insert it to the buffer.
1258 Replace match-string by match-string-no-properties.
1259 Reorder result list.
1260 (Info-fontify-node): Hide index line numbers.
1261 (Info-goto-node): Replace "\\s *\\'" by "\\s +\\'" to not trim
1263 (Info-follow-reference): Use `str' instead of
1264 Info-following-node-name-re.
1265 (Info-toc): Use full file names. Set Info-current-node to "Top".
1266 (Info-fontify-node): Compare file names without directory name.
1267 (Info-try-follow-nearest-node): Don't set Info-reference-name.
1268 Set second arg of Info-extract-menu-node-name for index nodes.
1269 (info-xref-visited): Use magenta3 instead of magenta4.
1270 (Info-mode): Add info-apropos to docstring.
1272 * log-view.el (log-view-diff): Replace interactive code "r"
1273 by a list to allow to call it even if region is not active.
1275 * paren.el (show-paren-highlight-openparen): New var.
1276 (show-paren-function): Turn on openparen highlighting when
1277 matching forward if show-paren-highlight-openparen is non-nil.
1279 * simple.el (kill-ring-save): Use blink-matching-delay instead of
1280 the constant value 1.
1281 (completions-common-part): Expand docstring.
1283 * textmodes/picture.el (picture-mode-map): Add arrow keys.
1285 2004-04-27 Kim F. Storm <storm@cua.dk>
1287 * image.el (insert-sliced-image): Use line-height instead of
1288 line-spacing property on newline.
1290 2004-04-26 Lars Hansen <larsh@math.ku.dk>
1292 * desktop.el (desktop-buffer-misc-data-function): Rename to
1293 desktop-save-buffer and change docstring.
1294 (desktop-buffer-modes-to-save): Delete.
1295 (desktop-save-buffer-p): Use desktop-save-buffer instead of
1296 desktop-buffer-modes-to-save.
1297 (desktop-save): Rename desktop-buffer-misc-data-function to
1298 desktop-save-buffer and allow non-function value.
1299 (desktop-missing-file-warning): Correct docstring.
1301 * dired.el (dired-mode): Rename desktop-buffer-misc-data-function
1302 to desktop-save-buffer.
1304 * info.el (Info-mode): Rename desktop-buffer-misc-data-function to
1305 desktop-save-buffer.
1307 * mail/rmail.el (rmail-variables): Bind desktop-save-buffer to t.
1309 * mh-e/mh-e.el (mh-folder-mode): Bind desktop-save-buffer to t.
1311 2004-04-26 Eli Zaretskii <eliz@gnu.org>
1313 * progmodes/gud.el (gud-pdb-command-name): Change default to "pydb".
1315 2004-04-25 Luc Teirlinck <teirllm@auburn.edu>
1317 * ielm.el (ielm-prompt-read-only, ielm-prompt): Expand docstring.
1318 (ielm): Only go to the end of the buffer when starting a new process.
1320 2004-04-25 Juanma Barranquero <lektu@terra.es>
1322 * ielm.el (inferior-emacs-lisp-mode): Display working buffer on the
1323 mode line. Bind `inhibit-read-only' to t before modifying
1324 properties of text in the buffer.
1325 (ielm): Force point to the end of buffer, even when running ielm
1328 2004-04-25 Jesper Harder <harder@ifa.au.dk>
1330 * info.el (info-apropos): Reset Info-complete-cache.
1332 2004-04-25 Daniel Pfeiffer <occitan@esperanto.org>
1334 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1335 Also recognize severe Irix et al. messages.
1336 (compilation-normalize-filename, compile-abbreviate-directory):
1338 (compilation-get-file-structure): New function inherits
1339 functionality of the two preceding ones.
1340 (compilation-internal-error-properties, compilation-fake-loc):
1341 Use it so that different paths to the same file share the same
1342 markers. Also optimize finding adjacent marker slightly.
1344 2004-04-25 Kim F. Storm <storm@cua.dk>
1346 * image.el (insert-sliced-image): Add line-spacing t property
1347 to newlines separating image lines.
1349 2004-04-24 Luc Teirlinck <teirllm@auburn.edu>
1351 * comint.el (comint-delete-output): Bind inhibit-read-only to t.
1353 * ielm.el (ielm-prompt-read-only): New user option.
1354 (ielm-prompt): Expand docstring to describe new behavior.
1355 (inferior-emacs-lisp-mode): Implement ielm-prompt-read-only and
1356 mention it in the docstring.
1358 2004-04-24 Andreas Schwab <schwab@suse.de>
1360 * progmodes/sh-script.el (sh-leading-keywords) <sh>: Add "!".
1362 * diff.el (diff): Set default-directory in diff buffer.
1364 2004-04-24 Eli Zaretskii <eliz@gnu.org>
1366 * mail/sendmail.el (mail-bury): Don't delete the frame where the
1367 mail was being composed if the terminal cannot display more than
1368 one frame; instead, switch to previous frame.
1370 * mail/rmail.el (rmail-mail-new-frame): Doc fix.
1371 (rmail-start-mail): Support rmail-mail-new-frame even on
1372 terminals that can display only one frame at a time.
1374 2004-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1376 * emacs-lisp/checkdoc.el (checkdoc-output-error-regex-alist): New var.
1377 (checkdoc-output-font-lock-keywords): Remove error regexp.
1378 (checkdoc-output-mode-map): Remove.
1379 (checkdoc-output-mode): Derive from compilation-mode.
1380 (checkdoc-find-error-mouse, checkdoc-find-error): Remove.
1382 * dired.el (dired-mode-map): Add a menu entry for wdired.
1384 * emacs-lisp/rx.el (rx-syntax): Move sregex style syntax to code.
1385 (rx-bracket, rx-check-any, rx-any): Clean up name space.
1387 * wdired.el: (wdired-mode-map): Move init into declaration.
1388 Fix `return' binding.
1389 (wdired-change-to-wdired-mode, wdired-change-to-dired-mode):
1390 Use force-mode-line-update.
1391 (wdired-get-filename): Use `unless'.
1392 (wdired-preprocess-files): Don't assume names have no \n and use / for
1394 (wdired-normalize-filename): Use replace-regexp-in-string.
1395 (wdired-load-hooks): Remove.
1396 (wdired-mode-hooks): Rename to wdired-mode-hook.
1398 * info-look.el: Add support for cfengine-mode.
1399 (info-lookup-setup-mode): Use dolist.
1401 2004-04-23 Juan Le
\e,As
\e(Bn Lahoz Garc
\e,Am
\e(Ba <juan-leon.lahoz@tecsidel.es>
1403 * wdired.el: New file.
1405 2004-04-23 Juanma Barranquero <lektu@terra.es>
1407 * ielm.el (inferior-emacs-lisp-mode): Fix docstring.
1409 * pcomplete.el (pcomplete-opt, pcomplete-actual-arg)
1410 (pcomplete-match-string, pcomplete-comint-setup, pcomplete-here)
1411 (pcomplete--help, pcomplete--here): Doc fixes.
1413 2004-04-23 Andre Spiegel <spiegel@gnu.org>
1415 * vc-hooks.el (vc-default-workfile-unchanged-p): Fix code that
1416 handles wrong-number-of-arguments in backend call.
1418 * vc.el (vc-print-log): Likewise.
1420 2004-04-20 Dave Love <fx@gnu.org>
1422 * emacs-lisp/rx.el: Doc fixes.
1423 (rx-constituents): Add/extend many forms.
1424 (rx-check): Check form is a list.
1426 (rx-check-any, rx-any, rx-check-not): Modify.
1428 (rx-trans-forms, rx-=, rx->=, rx-**, rx-not-char, rx-not-syntax): New.
1429 (rx-kleene): Use rx-trans-forms.
1430 (rx-quote-for-set): Delete.
1431 (rx): Allow multiple args.
1433 2004-04-23 Kenichi Handa <handa@m17n.org>
1435 * international/mule-util.el (char-displayable-p): Simplify by
1436 using internal-char-font.
1438 2004-04-23 Juanma Barranquero <lektu@terra.es>
1440 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1442 2004-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1444 * diff-mode.el (diff-next-error): New fun.
1445 (diff-mode): Use it.
1447 * simple.el (next-error): Change arg name.
1448 Add support for the documented C-u C-x ` usage.
1450 * frame.el (special-display-popup-frame, next-multiframe-window)
1451 (previous-multiframe-window): Only consider frames on same display.
1453 2004-04-22 Lars Hansen <larsh@math.ku.dk>
1455 * info.el (Info-restore-desktop-buffer): Delete with-no-warnings.
1456 * mh-e/mh-e.el (mh-restore-desktop-buffer): Delete with-no-warnings.
1458 2004-04-22 Kim F. Storm <storm@cua.dk>
1460 * net/telnet.el (telnet): Add optional port arg.
1462 2004-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1465 Minor sanity check on the `hyperlink' slot.
1467 * Makefile.in (recompile): Compile new files.
1469 * emacs-lisp/bytecomp.el (batch-byte-recompile-directory):
1470 Add byte-recompile-directory's optional `arg'.
1472 * cvs-status.el (cvs-tree-use-charset): New var.
1473 (cvs-tree-char-space, cvs-tree-char-hbar, cvs-tree-char-vbar)
1474 (cvs-tree-char-branch, cvs-tree-char-eob, cvs-tree-char-bob)
1475 (cvs-status-cvstrees): Use it.
1477 * emacs-lisp/checkdoc.el (checkdoc-output-mode):
1478 Make it a normal major mode.
1479 (checkdoc-buffer-label): Make sure the file name is meaningful.
1480 (checkdoc-output-to-error-buffer): Remove.
1481 (checkdoc-error, checkdoc-start-section): Rewrite.
1483 * info.el (info-node, info-menu-5, info-xref, info-header-node)
1484 (Info-title-1-face, Info-title-2-face, Info-title-3-face)
1485 (Info-title-4-face): Use new syntax.
1486 (info-xref-visited): Inherit from info-xref.
1488 * progmodes/python.el (python-maybe-jython): Don't assume point-min==1.
1490 2004-04-21 Teodor Zlatanov <tzz@lifelogs.com>
1492 * simple.el (next-error-last-buffer, next-error-function):
1493 New variables for the next-error framework.
1494 (next-error-buffer-p): New function.
1495 (next-error-find-buffer): Generalize compilation-find-buffer.
1496 (next-error, previous-error, first-error, next-error-no-select)
1497 (previous-error-no-select): Move from compile.el.
1499 * replace.el (occur-next-error, occur-1): Hook into the next-error
1502 * progmodes/compile.el (compilation-start):
1503 Set next-error-last-buffer so next-error knows where to jump.
1504 (compilation-setup): Set the buffer-local variable
1505 next-error-function to 'compilation-next-error-function.
1506 (compilation-buffer-p, compilation-buffer-internal-p): Use an
1507 alternate way to find if a buffer is a compilation buffer, for
1508 next-error convenience.
1509 (next-error-no-select, previous-error-no-select, next-error)
1510 (previous-error, first-error): Move to simple.el.
1511 (compilation-find-buffer): Move to next-error-find-buffer in simple.el.
1512 (compilation-last-buffer): Remove.
1513 (compilation-start, compilation-next-error, compilation-setup)
1514 (compilation-next-error-function, compilation-find-buffer):
1515 Remove compilation-last-buffer use.
1517 2004-04-21 Juanma Barranquero <lektu@terra.es>
1519 * font-lock.el (font-lock-preprocessor-face): Remove spurious quote.
1520 (font-lock-warning-face): Fix spacing.
1522 * makefile.w32-in (WINS): Add url/ directory.
1524 2004-04-21 Lars Hansen <larsh@math.ku.dk>
1526 * desktop.el (desktop-buffer-mode-handlers): New variable.
1527 Alist of major mode specific functions to restore a desktop buffer.
1528 (desktop-buffer-handlers): Make variable obsolete.
1529 (desktop-create-buffer): Use desktop-buffer-mode-handlers.
1530 Catch errors signaled in handlers. Update buffer count.
1531 Evaluate desktop-buffer-point.
1532 (desktop-buffer-dired): Rename to dired-restore-desktop-buffer and
1534 (desktop-buffer-info): Rename to Info-restore-desktop-buffer and
1536 (desktop-buffer-rmail): Rename to rmail-restore-desktop-buffer and
1537 move to mail/rmail.el.
1538 (desktop-buffer-mh): Rename to mh-restore-desktop-buffer and move
1540 (desktop-buffer-file): Rename to desktop-restore-file-buffer.
1541 On fail, print message (to message buffer) even if
1542 desktop-missing-file-warning is nil.
1543 (desktop-buffer-misc-data-function): New buffer local variable.
1544 Function returning major mode specific data.
1545 (desktop-buffer-misc-functions): Make variable obsolete.
1546 (desktop-save): Use desktop-buffer-misc-data-function.
1547 (desktop-buffer-dired-misc-data): Rename to
1548 dired-desktop-buffer-misc-data and move to dired.el.
1549 (desktop-buffer-info-misc-data): Rename to
1550 Info-desktop-buffer-misc-data and move to info.el.
1551 (desktop-read): Add message about number of buffers restored/failed.
1552 * dired.el (dired-restore-desktop-buffer) Move from desktop.el.
1553 Add parameters. Pause to display error only when
1554 desktop-missing-file-warning is non-nil.
1555 (dired-desktop-buffer-misc-data): Move from desktop.el. Add parameter.
1556 (dired-mode): Bind desktop-buffer-misc-data-function.
1557 * info.el (Info-restore-desktop-buffer): Move from desktop.el.
1559 (Info-desktop-buffer-misc-data): Move from desktop.el. Add parameter.
1560 (Info-mode): Bind desktop-buffer-misc-data-function.
1561 * mail/rmail.el (rmail-restore-desktop-buffer): Move from desktop.el.
1563 * mh-e/mh-e.el (mh-restore-desktop-buffer): Move from desktop.el.
1566 2003-04-21 Paul Pogonyshev <pogonyshev@gmx.net>
1568 * dabbrev.el (dabbrev--substitute-expansion): Don't lose
1569 the case of letters in case-insensitive expansions when the
1570 abbrev is preceded by characters with letter syntax.
1572 2004-04-21 Richard M. Stallman <rms@gnu.org>
1574 * progmodes/cperl-mode.el (cperl-putback-char):
1575 Delete Emacs 18 definition.
1577 * international/mule.el (ctext-post-read-conversion):
1578 Use assoc-string, not assoc-ignore-case.
1580 * international/mule-cmds.el: Use assoc-string, not assoc-ignore-case.
1582 * emacs-lisp/easymenu.el (easy-menu-add):
1583 Do call x-popup-menu, but only if it's defined.
1585 * emacs-lisp/disass.el (disassemble): Handle lambda-exp as arg.
1587 * emacs-lisp/bytecomp.el (byte-compile-no-warnings):
1588 Handle multiple args: compile like progn.
1590 * emacs-lisp/byte-run.el (with-no-warnings): Simplify:
1591 take all args as &rest arg.
1593 * autoinsert.el (auto-insert-alist): Insert the user's name in
1594 copyright notice, rather than Free Software Foundation.
1596 2004-04-21 Kenichi Handa <handa@m17n.org>
1598 * descr-text.el (describe-char): Make it work on *Help* buffer.
1600 2004-04-21 Kim F. Storm <storm@cua.dk>
1602 * image.el (insert-image): Add optional SLICE arg.
1603 (insert-sliced-image): New defun.
1605 2004-04-20 Lawrence Mitchell <wence@gmx.li> (tiny change)
1607 * subr.el (read-number): Check whether `default' is nil.
1609 2004-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1611 * progmodes/compile.el (compilation-error-properties):
1613 (compilation-internal-error-properties): New one.
1614 (compilation-compat-error-properties): Use it. Fix the non-marker case.
1616 2004-04-20 Richard M. Stallman <rms@gnu.org>
1618 * window.el (split-window-save-restore-data):
1619 Don't update the data if OLD-INFO is nil.
1621 * view.el (view-return-to-alist): Mark it permanent local.
1623 * subr.el (event-modifiers): Fix the criterion for ASCII control chars.
1625 * recentf.el (recentf-save-list): Catch and warn about errors.
1627 * menu-bar.el (menu-bar-update-buffers): Call copy-sequence
1628 so "Buffers" won't be pure.
1630 * help-mode.el (help-mode-finish): Set help-return-alist first
1631 thing, setting only the entry for the selected window.
1633 * help-fns.el (describe-function-1): If many non-control non-meta
1634 keys run the command, don't list all of them.
1636 2004-04-20 Juanma Barranquero <lektu@terra.es>
1638 * vc-svn.el (vc-svn-print-log, vc-svn-diff): Add optional BUFFER
1639 arg. Copied from Andre Spiegel's patch of 2004-03-21.
1641 * calendar/time-date.el (time-to-day-in-year): Fix docstring.
1643 2004-04-20 Kenichi Handa <handa@m17n.org>
1645 * international/quail.el (quail-lookup-key): New optional arg
1647 (quail-get-translations): Call quail-lookup-key with
1648 NOT-RESET-INDICES t.
1649 (quail-completion): Likewise.
1650 (quail-lookup-map-and-concat): Likewise.
1652 2004-04-20 Kenichi Handa <handa@m17n.org>
1654 * international/quail.el (quail-update-translation): Don't insert
1655 such an unsupported multibyte char in a unibyte buffer.
1657 2004-04-20 Nick Roberts <nick@nick.uklinux.net>
1659 * progmodes/gdb-ui.el (gdb-frame-parameters): New constant.
1660 (gdb-frame-breakpoints-buffer, gdb-frame-stack-buffer)
1661 (gdb-frame-threads-buffer, gdb-frame-registers-buffer)
1662 (gdb-frame-locals-buffer, gdb-frame-gdb-buffer)
1663 (gdb-frame-assembler-buffer): Improve behaviour with
1665 (gdb-display-buffer): Extend search to all visible frames.
1667 2004-04-19 Eli Zaretskii <eliz@gnu.org>
1669 * mail/rmail.el (rmail-convert-to-babyl-format): Don't remove ^M
1670 characters left after base64 decoding.
1671 (rmail-decode-region): Use -dos variety of `coding', to remove any
1672 ^M characters left after qp or base64 decoding.
1674 2004-04-19 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
1676 * x-dnd.el (x-dnd-open-local-file, x-dnd-open-file): Improve error
1679 2004-04-19 Stephen Eglen <stephen@gnu.org>
1681 * add-log.el (add-change-log-entry): Update doc string to mention
1682 add-log-full-name and add-log-mailing-address.
1684 2004-04-18 Juri Linkov <juri@jurta.org>
1686 * info.el (Info-find-file, Info-find-node-2): Add history and toc.
1687 (Info-find-node-2): Simplify error message.
1688 (Info-insert-dir): Use Info-following-node-name.
1689 (Info-goto-node): Remove *info-history* and *info-toc*.
1690 (Info-history): Create a node of the virtual history file.
1691 (Info-toc): Create a node of the virtual toc file.
1692 (Info-insert-toc): New arg `curr-file' for reference file names.
1693 (info-apropos): Remove redundant var binding for temp-file.
1694 (Info-index, Info-index-next, Info-mode): Doc fix.
1695 (Info-goto-emacs-command-node): Don't jump to *info* from
1696 non-*info* Info buffers.
1697 (Info-fontify-node): Don't show the file name of external
1698 references if `Info-hide-note-references' is `hide'. Don't hide
1699 newlines at the end of paragraphs.
1701 * international/mule-diag.el (list-input-methods):
1702 Fix args to help-xref-button.
1704 * help-fns.el (help-with-tutorial): Call `hack-local-variables'
1705 to put into effect local variables from TUTORIAL files.
1707 * textmodes/paragraphs.el (sentence-end) <function>: New fun
1708 with default value taken from the variable `sentence-end'.
1709 (sentence-end) <defcustom>: Set default to nil. Doc fix.
1710 Add nil const to :type.
1711 (sentence-end-without-period, sentence-end-double-space)
1712 (sentence-end-without-space): Doc fix.
1714 * textmodes/paragraphs.el (forward-sentence):
1715 * textmodes/fill.el (canonically-space-region, fill-nobreak-p)
1716 (fill-delete-newlines):
1717 * progmodes/cc-cmds.el (c-beginning-of-statement):
1718 Use function `sentence-end' instead of variable `sentence-end'.
1720 2004-04-18 Andreas Schwab <schwab@suse.de>
1722 * progmodes/compile.el (compilation-start): Set window start to
1723 point-min if compilation-scroll-output is nil.
1725 2004-04-18 John Wiegley <johnw@newartisans.com>
1727 * iswitchb.el (iswitchb-completions): Remove dependency on cl.
1729 2004-04-18 Nick Roberts <nick@nick.uklinux.net>
1731 * progmodes/gdb-ui.el (gdb-goto-info): Require 'info.
1732 (gdb-info-breakpoints-custom): Revert previous change.
1733 (gdb-view-assembler): Update assembler if necessary.
1734 (gdb-frame-handler): Parse correctly for gdb-current-frame.
1735 (gdb-display-source-buffer): Update properly when both source and
1736 assembler are visible.
1738 2004-04-17 John Wiegley <johnw@newartisans.com>
1740 * iswitchb.el (iswitchb-max-to-show): Add a new config variable
1741 which limits the number of names shown in the minibuffer. Off by
1743 (iswitchb-completions): Use `iswitchb-max-to-show'. This speeds
1744 up iswitchb for users with a multitude of open buffers by showing
1745 only the first and last N/2 buffers in the completion list (which
1746 is enough to aid C-s/C-r, and to know that more characters are
1747 needed to refine the completion list).
1749 2004-04-17 Richard M. Stallman <rms@gnu.org>
1751 * files.el (locate-file-completion): Handle nil in path-and-suffixes.
1752 (file-truename): Expand all ~ constructs directly.
1753 (insert-directory): Delete any error msg output by the
1754 `insert-directory-program'.
1756 * allout.el (allout-mode-exposure-menu, allout-mode-editing-menu):
1757 (allout-mode-navigation-menu, allout-mode-misc-menu): New defvars.
1758 (allout-prior-bindings, allout-added-bindings): Defvars deleted.
1759 (allout-init): Use find-file-hook, not find-file-hooks.
1760 (allout-mode): Eliminate Emacs 18 support.
1761 Use write-contents-functions, not local-write-file-hooks.
1763 2004-04-17 Daniel Pfeiffer <occitan@esperanto.org>
1765 * progmodes/compile.el (compilation-error-properties): Fix for
1766 adding messages when there are already markers for their file.
1767 (compilation-fake-loc): New function.
1769 2004-04-16 Dave Love <fx@gnu.org>
1771 * progmodes/python.el (python-compilation-line-number): Fix braindamage.
1772 (python-load-file): Fix python-orig-start setting.
1774 * progmodes/compile.el: Doc fixes.
1775 (compilation-error-regexp-alist-alist)
1776 (compilation-mode-font-lock-keywords): Allow non-ASCII where possible.
1777 (compilation-assq): Wrap in eval-when-compile.
1778 (compilation-mode-font-lock-keywords): Don't use list*.
1779 (compilation-start): Avoid warning.
1780 (compilation-compat-error-properties)
1781 (compilation-directory-properties): Add keymap property.
1782 (compilation-parsing-end): Make it a marker for better compatibility.
1784 * progmodes/python.el (python-after-info-look): Use with-no-warnings.
1786 2004-04-16 Mark A. Hershberger <mah@everybody.org>
1788 * xml.el: Doc fixes.
1789 (xml-get-children): Only looks at sub-tags and ignore strings.
1791 * xml.el (xml-parse-tag): Avoid overwriting node-name.
1793 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1795 * url/url-util.el (url-debug): Use with-current-buffer.
1797 * url/url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1798 (url-nfs-create-wrapper): Use new backquote syntax.
1800 * url/url-https.el (url-https-file-attributes): Add id-format param.
1802 * url/url-http.el (url-http-head-file-attributes)
1803 (url-http-file-attributes): Add id-format parameter.
1805 * url/url-handlers.el: Use new find-file-hook.
1806 (url-file-attributes): Add id-format parameter.
1808 * url/url-file.el (url-file-create-wrapper): Use new backquote syntax.
1809 (url-file-file-attributes): Add id-format parameter.
1811 * url/url-dav.el: Use with-current-buffer.
1812 (url-dav-process-response): Fix regexps and spurious quote.
1813 (url-dav-file-attributes): Add id-format param.
1815 * diff-mode.el (diff-end-of-hunk): Be more careful with unified hunks.
1817 2004-04-16 Andre Spiegel <spiegel@gnu.org>
1819 * vc-hooks.el (vc-default-workfile-unchanged-p): Quote signal.
1821 * vc.el (vc-print-log): Likewise.
1823 2004-04-16 Masatake YAMATO <jet@gyve.org>
1825 * simple.el (completion-setup-function): Set an initial value
1826 to `element-common-end' before entering loop. Set a value
1827 to `element-common-end' at the end of loop.
1828 The bug is reported by Juri Linkov <juri@jurta.org> in emacs-devel list.
1829 (completions-common-part): Rename from completion-de-emphasis.
1830 (completions-first-difference): Rename from completion-emphasis.
1833 2004-04-16 Juanma Barranquero <lektu@terra.es>
1835 * bookmark.el (bookmark-send-edited-annotation): Fix docstring.
1836 (bookmark-edit-annotation-mode): Add mode name.
1838 2004-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1840 * smerge-mode.el (smerge-match-conflict): Try to do something sensible
1841 for nested conflict markers.
1842 (smerge-find-conflict): Better handle errors in smerge-match-conflict.
1844 2004-04-15 Nick Roberts <nick@nick.uklinux.net>
1846 * progmodes/gdb-ui.el (gdb-goto-info): New function.
1848 * progmodes/gud.el (gud-menu-map, gud-tool-bar-map): Add help button.
1850 2004-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1852 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
1853 Give a backtrace if requested.
1855 * progmodes/ada-mode.el (ada-create-menu): Remove redundant call.
1857 * progmodes/python.el (python-mouse-2-command, python-RET-command):
1858 Remove unused functions.
1859 (python-orig-start-line, python-orig-file): Remove.
1860 (python-orig-start): New var.
1861 (python-input-filter, python-compilation-line-number)
1862 (python-send-region, python-load-file): Use it.
1864 * info.el (info): Always jump to *info*.
1866 * subr.el (posn-set-point): New function.
1868 * mouse.el (mouse-set-point): Use it.
1870 * progmodes/compile.el (compile-goto-error): Use it.
1871 (compilation-button-map): New keymap.
1872 (compilation-error-properties): Use it.
1873 (compilation-shell-minor-mode-map): Don't bind mouse-2.
1875 * smerge-mode.el (smerge-popup-context-menu): Use it.
1877 * emacs-lisp/checkdoc.el (checkdoc-output-mode-map)
1878 (checkdoc-find-error-mouse, checkdoc-find-error): Use it to merge the
1879 mouse and non-mouse case.
1881 * diff-mode.el (diff-goto-source): Make it work for mouse bindings.
1882 (diff-mouse-goto-source): Make it an alias of diff-goto-source.
1884 * pcvs.el (cvs-mode-toggle-mark): Rename from cvs-mouse-toggle-mark.
1885 Make it work for non-mouse events.
1887 * pcvs-info.el (cvs-status-map): Update binding name.
1889 2004-04-14 Mark A. Hershberger <mah@everybody.org>
1891 * xml.el (xml-maybe-do-ns): New function to handle namespace
1892 parsing of both attribute and element names.
1893 (xml-ns-parse-ns-attrs, xml-ns-expand-el, xml-ns-expand-attr)
1894 (xml-intern-attrlist): Remove in favor of xml-maybe-do-ns.
1895 (xml-parse-tag): Update assumed namespaces. Clean up namespace parsing.
1896 (xml-parse-attlist): Make it do its own namespace parsing.
1898 2004-04-14 Dave Love <fx@gnu.org>
1900 * progmodes/python.el (run-python): Fix use of \n.
1901 (python-load-file): Remove `try' from Python fragment.
1902 (python-describe-symbol): Fix message.
1904 * comint.el: Doc fixes.
1905 (comint-last-input-start, comint-last-input-end)
1906 (comint-last-output-start): Give them values.
1907 (comint-arguments): Avoid warning.
1908 (comint-skip-prompt): Use line-end-position.
1909 (comint-backward-matching-input): Rename arg to agree with doc.
1910 (comint-extract-string): Use syntax-ppss.
1911 (comint-dynamic-simple-complete): Delete useless list construction.
1912 (comint-redirect-subvert-readonly): New.
1913 (comint-redirect-preoutput-filter): Use it.
1915 * emacs-lisp/lisp.el (beginning-of-defun-raw, end-of-defun):
1916 Correctly handle negative arguments when calling hook functions.
1918 2004-04-14 Jesper Harder <harder@ifa.au.dk>
1920 * info.el (info-apropos): Don't clobber Info-history-list.
1922 2004-04-14 Daniel Pfeiffer <occitan@esperanto.org>
1924 * progmodes/compile.el (compilation-setup):
1925 Localize overlay-arrow-position.
1926 (compilation-sentinel): Restructure code equivalently.
1927 (compilation-next-error): Find message on same line after point if
1928 not found before point.
1929 (compile-mouse-goto-error): Restore function so that compilation
1930 buffer need not be current and use compile-goto-error.
1931 (compile-goto-error): Restore function.
1932 (next-error): Set overlay-arrow-position.
1933 (compilation-forget-errors): Don't localize already local
1934 compilation-locs and remove FIXME about refontifying.
1936 2004-04-14 Kim F. Storm <storm@cua.dk>
1938 * startup.el (emacs-quick-startup): New defvar (set by -Q).
1939 (command-line): New option -Q. Like -q --no-site-file, but
1940 in addition it also disables menu-bar, tool-bar, scroll-bars,
1941 tool-tips, and the blinking cursor.
1942 (command-line-1): Skip startup screen if -Q.
1943 (fancy-splash-head): Use ":align-to center" prop to center splash image.
1945 * emulation/cua-base.el (cua-read-only-cursor-color)
1946 (cua-overwrite-cursor-color, cua-global-mark-cursor-color): Doc fix.
1948 2004-04-13 Dave Love <fx@gnu.org>
1950 * progmodes/python.el: Doc fixes. Changes for compiler warnings.
1951 (syntax): Don't require.
1952 (python) <defgroup>: Add :version.
1953 (python-quote-syntax): Re-written.
1954 (inferior-python-mode): Move stuff here from run-python and add
1956 (python-preoutput-continuation, python-preoutput-result)
1957 (python-dotty-syntax-table): New.
1958 (python-describe-symbol): Use them.
1959 (run-python): Move stuff to inferior-python-mode. Modify code
1961 (python-send-region): Use python-proc, python-send-string.
1962 (python-send-string): Send newlines too. Callers changed.
1963 (python-load-file): Re-written.
1964 (python-eldoc-function): New.
1965 (info-look): Don't require.
1966 (python-after-info-look): New. A modified version of former
1967 top-level code for use with eval-after-load.
1968 (python-maybe-jython, python-guess-indent): Use widened buffer.
1969 (python-fill-paragraph): Re-written.
1970 (python-mode): Fix outline-regexp. Set outline-heading-end-regexp,
1971 eldoc-print-current-symbol-info-function. Add to eldoc-mode-hook.
1973 2004-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1975 * progmodes/python.el (run-python): Use compilation-shell-minor-mode.
1976 Set compilation-error-regexp-alist earlier.
1978 * progmodes/compile.el (compilation-minor-mode-map)
1979 (compilation-shell-minor-mode-map, compile-mouse-goto-error)
1980 (compile-goto-error): Re-merge the mouse and non-mouse commands.
1982 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * progmodes/compile.el (compile-goto-error): Select the buffer/window
1985 corresponding to the event.
1987 * url/url.el (url-retrieve): Use with-current-buffer.
1989 * url/url-http.el (url-http-parse-headers, url-http-file-exists-p):
1990 Remove unused var `version'.
1992 * url/url-handlers.el (url-handler-mode): New minor mode.
1993 (url-setup-file-name-handlers): Remove.
1995 2004-04-12 Joe Buehler <jbuehler@hekiman.com>
1997 * loadup.el: Add cygwin to system-type list, for unexec() support.
1999 2004-04-12 John Paul Wallington <jpw@gnu.org>
2001 * ibuffer.el (ibuffer-delete-window-on-quit): Remove.
2002 (ibuffer-restore-window-config-on-quit): New variable to replace
2003 `ibuffer-delete-window-on-quit'. Update all references.
2004 (ibuffer-prev-window-config): New variable.
2005 (ibuffer-quit): Restore previous window configuration instead of
2007 (ibuffer): Save window configuration before showing Ibuffer buffer.
2009 * help.el (describe-mode): Doc fix.
2011 * url/url-cookie.el (url-cookie-handle-set-cookie): Replace calls
2012 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
2014 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2016 * progmodes/compile.el (compilation-mode-font-lock-keywords): Fix test
2017 not to treat nil as a function.
2019 * vc-arch.el (vc-arch-root): Be a bit more careful.
2020 (vc-arch-register): Save the buffer if we modified it.
2021 (vc-arch-delete-rej-if-obsolete): Save excursion.
2022 (vc-arch-find-file-hook): Use the simpler after-save-hook.
2023 (vc-arch-responsible-p, vc-arch-init-version): New functions.
2025 * net/ldap.el (ldap-search): Use list*.
2027 2004-04-12 Juri Linkov <juri@jurta.org>
2029 * info.el (Info-follow-reference): Allow multiline reference name.
2031 2004-04-11 Dave Love <fx@gnu.org>
2033 * url/url-mailto.el (url-mailto):
2034 * url/url-history.el (url-history-setup-save-timer):
2035 * url/url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
2037 * url/url-file.el (url-file-build-filename): Don't use
2040 * url/url-auth.el (url-register-auth-scheme): Fix `format' call.
2042 * url/url-about.el (url-scheme-registry): Defvar.
2043 (url-about): Use text/plain.
2045 * url/url-vars.el (cl): Don't require.
2046 (url): Add :version.
2047 (url-bug-address): Use bug-gnu-emacs.
2049 * url/url-util.el (url-hexify-string): Don't give multibyte error
2051 (mail-header-extract): Autoload.
2053 * url/url-parse.el: Doc fixes.
2055 * url/url-ldap.el (ldap): Require.
2056 (url-ldap): Fix `format' call.
2057 (url-ldap-certificate-formatter): Avoid warning.
2059 * url/url-https.el (url-https-create-secure-wrapper): Use modern
2062 * url/url-dav.el (url-dav-rename-file): Fix args of `signal'.
2063 (url-intersection): New.
2064 (url-dav-supported-p): Use it.
2065 (url-dav-save-resource): Declare url-http-response-status special.
2067 * url/url-cache.el (url-util): Require.
2069 * emacs-lisp/bytecomp.el (byte-compile-cond): Fix last change.
2071 * progmodes/python.el: New file.
2073 2004-04-11 Andre Spiegel <spiegel@gnu.org>
2075 * vc-hooks.el (vc-arg-list): Function removed.
2076 (vc-default-workfile-unchanged-p): Use condition-case to check for
2077 backward compatibility.
2079 * vc.el (vc-print-log): Use condition-case to check for backward
2082 2004-04-11 Juri Linkov <juri@jurta.org>
2084 * dired.el (dired-faces): New defgroup.
2085 (dired-header, dired-mark, dired-marked, dired-flagged)
2086 (dired-warning, dired-directory, dired-symlink, dired-ignored):
2088 (dired-header-face, dired-mark-face, dired-marked-face)
2089 (dired-flagged-face, dired-warning-face, dired-directory-face)
2090 (dired-symlink-face, dired-ignored-face): New face variables.
2091 (dired-font-lock-keywords): Use them instead of font-lock faces.
2092 Split the rule for dired marks into 3 separate rules: for marks,
2093 marked file names and flagged file names.
2095 * help-mode.el (help-make-xrefs): Add a final newline to the
2098 2004-04-11 John Paul Wallington <jpw@gnu.org>
2100 * replace.el (occur-engine): Distinguish between one and several
2101 matches in the matches per buffer heading.
2103 2004-04-11 Kim F. Storm <storm@cua.dk>
2105 * ido.el (ido-confirm-unique-completion): New defcustom.
2106 (ido-complete): Use it.
2107 (ido-write-file): Set it to t unconditionally.
2109 2004-04-10 Miles Bader <miles@gnu.org>
2111 RCS keyword removal (only non-comment changes are enumerated here):
2113 * emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
2114 (byte-compile-insert-header): Don't use `byte-compile-version'.
2115 * url/url-vars.el (url-version): Use the constant string "Emacs"
2116 instead of calculating something from the RCS `State' keyword
2117 [the latter is almost entirely useless anyway].
2118 * forms.el (forms-version): Variable removed.
2119 (forms-mode): Don't use `forms-version'.
2120 * recentf.el (recentf-version): Variable removed.
2121 * progmodes/delphi.el (delphi-version): Variable removed.
2122 * progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2124 2004-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2126 * emacs-lisp/easymenu.el (easy-menu-add): Make it work in non-X Emacs.
2128 2004-04-09 Jesper Harder <harder@ifa.au.dk>
2130 * info.el (info-apropos): Improve menu item regexp.
2132 2004-04-09 Simon Josefsson <jas@extundo.com>
2134 * mail/smtpmail.el: Add comment, based on report by
2135 kdc@rcn.com (Kevin D. Clark).
2137 2004-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2139 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2140 Redo one more thing that I didn't notice Daniel had undone.
2142 2004-04-08 Nick Roberts <nick@nick.uklinux.net>
2144 * progmodes/gdb-ui.el (gdb-source-window): Remove variable.
2145 (gdb-goto-breakpoint, gdb-display-buffer)
2146 (gdb-display-source-buffer, gdb-view-source-function)
2147 (gdb-view-assembler, gdb-setup-windows, gdb-restore-windows)
2148 (gdb-source-info, gdb-frame-handler): Don't specify a window
2150 (gdb-info-breakpoints-custom): Remove superfluous update of
2152 (gdb-many-windows): Make settable outside gdb.
2154 2004-04-08 Glenn Morris <gmorris@ast.cam.ac.uk>
2156 * calendar/diary-lib.el (diary-mode, fancy-diary-display-mode):
2157 Derive from fundamental-mode rather than text-mode.
2159 2004-04-08 Juri Linkov <juri@jurta.org>
2161 * info.el (Info-history): Doc fix.
2162 (Info-history-list): New var.
2163 (info-xref): Change magenta4 to blue, remove bold for dark and
2164 light backgrounds, change bold to underline for non-color classes.
2165 (info-xref-visited): New face.
2166 (Info-fontify-visited-nodes): New custom.
2167 (Info-hide-note-references): Add new value `hide'. Doc fix.
2168 (Info-reference-name): New var.
2169 (Info-selection-hook): New custom.
2170 (Info-edit-mode-hook): New var.
2171 (Info-find-file): New fun.
2172 (Info-find-node): Move part of code to Info-find-file.
2173 (Info-find-node-2): Add anchors to Info-history-list. Move point
2174 to the place with the reference name if name is defined.
2175 (Info-select-node): Add current node to Info-history-list.
2176 (Info-goto-node): Switch to *info* from *info-history* *info-toc*.
2177 (Info-search-whitespace-regexp): New custom.
2178 (Info-search-case-fold): New var.
2179 (Info-search): Add "case-sensitively" to the prompt.
2180 Use Info-search-whitespace-regexp. Set Info-search-case-fold.
2181 (Info-search-case-sensitively, Info-search-next): New fun.
2182 (Info-up): Move point to the menu item of the current node.
2183 (Info-history): New fun. Add *info-history* to
2184 same-window-buffer-names.
2185 (Info-toc): New fun. Add *info-toc* to same-window-buffer-names.
2186 (Info-insert-toc): New fun.
2187 (Info-build-toc): New fun.
2188 (Info-follow-reference): Add new arg `fork'. Doc fix.
2189 Replace [ \n\t]* by [ \n\t]+ in the *Note regexp. For references
2190 with the same name prefer the reference closest to point.
2191 (Info-next-reference): Replace * by + in the *Note regexp.
2192 Add regexp for http:// and ftp://. Skip the *Note prefix.
2193 (Info-prev-reference): Replace * by + in the *Note regexp.
2194 Add regexp for http:// and ftp://. Skip the *Note prefix.
2195 (Info-follow-nearest-node): Add new arg `fork'.
2196 (Info-try-follow-nearest-node): Add new arg `fork'.
2197 Call browse-url for http:// and ftp:// references.
2198 Set Info-reference-name for index entries.
2199 (Info-mode-menu): Add menu items for Info-search-case-sensitively,
2200 Info-search-next, Info-history, Info-toc, clone-buffer.
2201 (Info-menu-update): Replace * by + in the *Note regexp.
2202 (Info-mode): Add documentation for Info-history, Info-toc,
2203 Info-search-case-sensitively, Info-search-next, clone-buffer.
2204 (Info-fontify-menu-headers): Remove fun. Move code to
2206 (Info-fontify-node): Add docstring. Add local vars
2207 fontify-visited-p and not-fontified-p. If not-fontified-p is t
2208 then fontify header line, titles, menu headers, http and ftp
2209 references, refill paragraphs. If not-fontified-p is t or
2210 fontify-visited-p is t then fontify cross references, menu items.
2211 Fontify menu headers. Fontify http and ftp references.
2212 Change regexp for cross references to require whitespace after *Note,
2213 add matching groups for file and node names. Remove hack for quote.
2214 Use display property for Info-hide-note-references=t. Use fifth
2215 or fourth match for help-echo. Display visited nodes in a
2216 different face. Unhide file names of external references.
2217 Unhide newlines. Display visited menu items in a different face.
2219 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2221 * progmodes/compile.el: Require CL.
2222 (compilation-mode-font-lock-keywords): Re-install the "line as
2225 * help-fns.el (help-C-source-directory): New var.
2226 (help-subr-name, help-C-file-name, help-find-C-source): New funs.
2227 (describe-function-1, describe-variable): Use them.
2229 * help-mode.el (help-function-def, help-variable-def): Handle hyperrefs
2230 to C source files specially.
2232 2004-04-07 Jan Nieuwenhuizen <janneke@gnu.org>
2234 * info.el (Info-hide-cookies-node): New function.
2235 (Info-select-node): Use it.
2236 (Info-display-images-node): Remove message with image file name.
2238 2004-04-07 Daniel Pfeiffer <occitan@esperanto.org>
2240 * progmodes/compile.el (compilation-warning-face)
2241 (compilation-info-face, compilation-skip-threshold)
2242 (compilation-skip-visited, compilation-context-lines):
2243 Declare :version when added to Emacs.
2244 (compilation-error-regexp-alist-alist): Extend caml and irix.
2245 (compilation-setup): Fix if font-locked w/o font-lock-defaults.
2246 (compilation-mode-font-lock-keywords): Temporarily undo line as
2247 function patch, which wasn't ready.
2249 2004-04-07 Kenichi Handa <handa@m17n.org>
2251 * international/latin1-disp.el (latin1-display-setup): Check each
2252 character is displayable or not instead of calling
2253 latin1-display-check-font.
2255 2004-04-06 Kenichi Handa <handa@m17n.org>
2257 * language/ethio-util.el (ethio-sera-being-called-by-w3):
2259 (ethio-sera-to-fidel-ethio): Check ethio-sera-being-called-by-w3
2260 instead of sera-being-called-by-w3.
2261 (ethio-fidel-to-sera-buffer): Likewise.
2262 (ethio-find-file): Bind ethio-sera-being-called-by-w3 to t
2263 instead of sera-being-called-by-w3.
2264 (ethio-write-file): Likewise.
2266 2004-04-05 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2268 * printing.el: Doc fix.
2270 2004-04-05 Nick Roberts <nick@nick.uklinux.net>
2272 * progmodes/gdb-ui.el (gdb-use-inferior-io-buffer): New option.
2273 (gdb-ann3, gdb-send, gdb-starting, gdb-stopping)
2274 (gdb-setup-windows): Only use separate IO buffer if required.
2276 2004-04-06 Kim F. Storm <storm@cua.dk>
2278 * term.el (term-is-xemacs): Remove.
2279 (term-if-xemacs, term-ifnot-xemacs): Test (featurep 'xemacs).
2280 (term-window-width): New function.
2281 (term-mode, term-check-size): Use it.
2282 (term-mode): Disable overflow-newline-into-fringe in term buffer.
2284 2004-04-05 Per Abrahamsen <abraham@dina.kvl.dk>
2286 * cus-edit.el (custom-add-parent-links): Change unbound variable
2289 2004-04-05 Jesper Harder <harder@ifa.au.dk>
2290 * info.el (info-apropos): New function.
2291 (Info-mode-menu): Add it.
2292 (Info-find-node, Info-find-node-2): Grok apropos virtual file.
2294 * help-mode.el (help-make-xrefs): Recognize aliased variable with
2295 inherited docstring.
2297 * play/gamegrid.el (gamegrid-add-score-insecure): Use sort-fields.
2299 2004-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2301 * textmodes/fill.el (fill-comment-paragraph): Obey indent-tabs-mode.
2303 * progmodes/compile.el (font-lock): Don't require any more.
2304 (compilation-error-properties, compilation-start, compilation-sentinel)
2305 (compilation-filter, next-error): Use with-current-buffer.
2306 (compilation-skip-to-next-location, compilation-skip-threshold)
2307 (compilation-skip-visited): Move to silence the byte-compiler.
2308 (compilation-setup): Simplify.
2309 (compilation-next-error): Use line-(beginning|end)-position.
2310 Make sure `pt' is non-nil before using compilation-loop.
2311 (compile-goto-error): Add optional event arg. Use it.
2312 (compile-mouse-goto-error): Make it an alias of compile-goto-error.
2313 (compilation-minor-mode-map, compilation-shell-minor-mode-map):
2314 Update the binding for mouse-2.
2315 (first-error): Set compilation-current-error to nil rather than bob.
2316 (compilation-parsing-end, compilation-parse-errors-function)
2317 (compilation-error-list, compilation-old-error-list):
2318 "New" compatibility variables.
2319 (compile-buffer-substring, compilation-compat-error-properties)
2320 (compilation-compat-parse-errors, compilation-forget-errors):
2321 New compatibility functions.
2322 (compilation-mode-font-lock-keywords): Use them.
2324 2004-04-04 Luc Teirlinck <teirllm@auburn.edu>
2326 * autorevert.el (auto-revert-handler): If point (or a window
2327 point) is at the end of the buffer, keep it there after
2328 reverting. This allows to tail a file.
2329 Mention this in the `Commentary'.
2331 * format.el (format-write-file): Add optional argument CONFIRM
2332 and make it behave like the analogous argument to `write-file'.
2334 2004-04-04 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2336 * progmodes/ebnf2ps.el: Doc fix.
2337 (ebnf-version): New version number (4.2).
2338 (ebnf-syntax): Customization and docstring fix.
2339 (ebnf-eliminate-empty-rules, ebnf-optimize, ebnf-otz-initialize):
2340 Put autoloaded funs before first use.
2341 (ebnf-style-database): Add dtd entry.
2342 (ebnf-syntax-alist): Add dtd initialization.
2343 (ebnf-token-sequence): New fun.
2344 (ebnf-comment-table): Add new comment action character.
2345 (ebnf-dtd-parser, ebnf-dtd-initialize): Autoload funs from ebnf-dtd.
2347 * progmodes/ebnf-dtd.el: New file, implement a parser for DTD (Data
2348 Type Definition for XML).
2350 * progmodes/ebnf-abn.el (ebnf-abn-concatenation):
2351 * progmodes/ebnf-bnf.el (ebnf-sequence):
2352 * progmodes/ebnf-ebx.el (ebnf-ebx-concatenation):
2353 * progmodes/ebnf-iso.el (ebnf-iso-single-definition):
2354 * progmodes/ebnf-yac.el (ebnf-yac-sequence):
2355 Code simplification: call ebnf-token-sequence.
2357 2004-04-04 Eli Zaretskii <eliz@gnu.org>
2359 * calendar/timeclock.el (timeclock-relative)
2360 (timeclock-get-project-function, timeclock-get-workday-function)
2361 (timeclock-query-out, timeclock-when-to-leave)
2362 (timeclock-when-to-leave-string, timeclock-log-data)
2363 (timeclock-generate-report, timeclock-in): Doc fixes.
2365 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2367 * url: Import the URL package from its repository.
2369 * url/url-methods.el:
2370 * url/url-parse.el: Don't require url-auto.
2372 2004-04-03 Andreas Schwab <schwab@suse.de>
2374 * diff-mode.el (diff-mode): Fix missing quote.
2376 2004-04-03 Juri Linkov <juri@jurta.org>
2378 * descr-text.el (describe-property-list): Add `font-lock-face'.
2380 * dired.el (dired-font-lock-keywords): Fix permission regexps.
2382 2004-04-02 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
2384 * x-dnd.el (x-dnd-handle-moz-url, x-dnd-insert-utf16-text):
2385 Use utf-16le on little endian machines and utf-16be otherwise.
2387 2004-04-02 David Kastrup <dak@gnu.org>
2389 * net/browse-url.el (browse-url-generic): Use call-process
2390 instead of start-process to allow browsers that fork and detach.
2392 2004-04-01 Daniel Pfeiffer <occitan@esperanto.org>
2394 * compile.el (compilation-current-error): New var.
2395 (compilation-setup, compile-mouse-goto-error)
2396 (compile-goto-error, next-error): Use it.
2397 (compilation-skip-to-next-location): Default to t, which gives
2398 contiguous skipping like old compile (where this was redundant).
2399 (compilation-next-error): Prevent previous-* commands from moving
2400 back to message at or just before point.
2402 2004-04-01 Nick Roberts <nick@nick.uklinux.net>
2404 * progmodes/gdb-ui.el (gdb-view-source-function, gdb-view-assembler)
2405 (gdb-source-info): Don't display source at startup, if required.
2406 (gdb-show-main): New option.
2407 (gdba): Update documentation.
2408 (gdb-source): Cover case of auto-display output.
2410 2004-03-31 Luc Teirlinck <teirllm@auburn.edu>
2412 * autorevert.el: Delete obsolete autoload's and defvar's.
2413 (auto-revert-check-vc-info): New user option.
2414 (auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p)
2415 (auto-revert-handler-vc): Delete.
2416 (auto-revert-handler): Treat return value `fast' of
2417 buffer-stale-function specially. Check `auto-revert-check-vc-info'.
2419 * buff-menu.el (Buffer-menu-mode): Make the buffer-stale-function
2422 * files.el (buffer-stale-function): Doc change.
2424 2004-03-31 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2426 * printing.el: New tip on Tips section.
2427 (pr-version): New version number (6.7.4).
2428 (pr-shell-file-name): Initialization fix.
2430 2004-03-31 Juri Linkov <juri@jurta.org>
2432 * dired.el: Add autoload for `dired-do-touch'.
2433 (dired-touch-program): New var.
2434 (dired-mode-map): Bind `dired-do-touch' to T and add menu-item.
2435 (dired-no-confirm): Add `touch' to docstring.
2437 * dired-aux.el (dired-do-touch): New fun.
2438 (dired-do-chxxx): Add argument -t for touch operation.
2440 * dired-x.el (dired-mark-sexp): Replace hard-coded month names by
2441 `dired-move-to-filename-regexp'.
2443 2004-03-31 H
\e,Ae
\e(Bkan Granath <hakan.granath@kau.se> (tiny change)
2445 * dired.el (dired-move-to-filename-regexp): Add `.' to HH:MM.
2447 2004-03-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2449 * progmodes/ebnf2ps.el (ebnf-eps-finish-and-write): Write a buffer if
2450 and only if the buffer was modified.
2452 2004-03-30 Kenichi Handa <handa@m17n.org>
2454 * international/characters.el: Delete pairs for U+2308..U+230B.
2456 2004-03-29 Nick Roberts <nick@nick.uklinux.net>
2458 * progmodes/gud.el (gud-gdb-marker-filter): Include "\n" in regexp
2459 to detect the beginning of a level 2 or 3 annotation.
2461 2004-03-29 Kenichi Handa <handa@m17n.org>
2463 * international/ucs-tables.el (ucs-insert): Fix the error message.
2465 2004-03-29 Kenichi Handa <handa@m17n.org>
2467 * international/mule-util.el (char-displayable-p): Fix generation
2470 * Makefile.in (setwins, setwins_almost): Change directory to $wd
2471 before finding directories by `find'.
2473 2004-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * subr.el (interactive-form): Delete. Now implemented in C.
2477 * pcvs.el (cvs-parse-process): Workaround for Darwin.
2479 * vc.el (vc-version-diff, vc-default-diff-tree): Change `rel' -> `rev'.
2480 (vc-diff-label): New fun.
2481 (vc-diff-internal): Use it.
2483 * progmodes/gdb-ui.el (gdb-post-prompt): Fix test.
2485 2004-03-28 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2487 * progmodes/ebnf-abn.el (ebnf-abn-parser): Handle initial comments.
2489 * progmodes/ebnf-ebx.el: New file, implement a parser for EBNF used to
2490 specify XML (EBNFX).
2492 * progmodes/ebnf2ps.el: Doc fix.
2493 (ebnf-version): New version number (4.1).
2494 (ebnf-syntax): Adjust customization.
2495 (ebnf-style-database): Add ebnfx entry.
2496 (ebnf-syntax-alist): Add ebnfx initialization.
2497 (ebnf-ebx-parser, ebnf-ebx-initialize): Autoload funs from ebnf-ebx.
2499 * printing.el: Doc fix.
2500 (pr-version): New version number (6.7.3).
2501 (pr-menu-position): Adjust X and Y positions when mouse-pixel-position
2502 returns nil for mouse position. Reported by Drew Adams
2503 <drew.adams@oracle.com>.
2504 (pr-update-menus): Modify interactive declaration. Reported by Drew
2505 Adams <drew.adams@oracle.com>.
2507 2004-03-28 Nick Roberts <nick@nick.uklinux.net>
2509 * progmodes/gdb-ui.el (gdb-ann3, gdb-send-item)
2510 (gud-gdba-marker-filter): Log the process input and output, if
2511 required. From Stefan Monnier.
2512 (gdb-debug-log, gdb-enable-debug-log): New variables.
2513 (gdb-post-prompt): Don't do gdb-var-update on Mac OS X.
2515 2004-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2517 * vc-hooks.el (vc-file-not-found-hook): Fix typo.
2518 From lorentey@elte.hu (L
\e,Bu
\e(Brentey K
\e,Ba
\e(Broly).
2520 2004-03-27 Luc Teirlinck <teirllm@auburn.edu>
2522 * autorevert.el (auto-revert-handler): Handle auto-revert-mode.
2523 Call vc-find-file-hook here instead of in auto-revert-buffers.
2524 (auto-revert-buffers): Delete call to vc-find-file-hook.
2525 (auto-revert-verbose, global-auto-revert-non-file-buffers)
2526 (global-auto-revert-mode, auto-revert-set-timer)
2527 (auto-revert-handler, auto-revert-buffers): Doc fixes.
2529 2004-03-27 Francis J. Wright <F.J.Wright@qmul.ac.uk>
2531 * woman.el (woman-change-fonts): Rename local variable
2532 woman-font-alist to font-alist to avoid a compiler warning.
2534 2004-03-27 Dave Love <fx@gnu.org>
2536 * emacs-lisp/rx.el (rx): Doc fix.
2537 Fix copyright years.
2539 * strokes.el (strokes-global-set-stroke-string): New function.
2540 (strokes-list-strokes): Cope with strings, not just commands.
2541 Set foreground colour of image.
2542 (strokes-global-set-stroke): Doc fix.
2544 2004-03-26 Luc Teirlinck <teirllm@auburn.edu>
2546 * buff-menu.el (Buffer-menu-revert-function): Make it suitable for
2548 (Buffer-menu-files-only): New variable.
2549 (Buffer-menu-toggle-files-only): New function.
2550 (Buffer-menu-mode-map): Bind it to `T'.
2551 (Buffer-menu-mode): Mention `T' in docstring.
2552 Set buffer-stale-function.
2553 (list-buffers-noselect): Mark buffer non-modified and set
2554 Buffer-menu-files-only.
2556 * dired.el (buffer-stale-function): Remove no longer needed defvar.
2558 * autorevert.el (auto-revert-handler): Print revert message
2559 before, rather than after, reverting.
2560 (buffer-stale-function): Move to files.el.
2562 * files.el (buffer-stale-function): Move here from autorevert.el.
2564 2004-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2566 * vc.el (vc-maybe-resolve-conflicts): Don't prompt the user.
2568 * calc/calc.el (calc-mode-map): Use mapc.
2570 * apropos.el (apropos-mode): Don't autoload.
2571 (apropos-symbols-internal): New fun. Extracted from `apropos'.
2573 (apropos-print): Add optional `text' argument.
2574 (apropos-describe-plist): Use help-buffer and hexlp-setup-xref.
2575 Don't assume point-min == 1.
2577 * bs.el (bs-buffer-list): Use buffer-local-value.
2578 (bs--set-toggle-to-show): Use with-current-buffer.
2580 * buff-menu.el (Buffer-menu-sort, Buffer-menu-make-sort-button):
2582 (list-buffers-noselect): Use them. Adjust :align-to to new style.
2584 * cvs-status.el (cvs-tree-use-jisx0208): Use char-displayable-p.
2586 * dabbrev.el (dabbrev-expand): Fix regexp construction.
2587 (dabbrev--find-expansion): Use pop.
2588 (dabbrev--search): Use match-string-no-properties.
2590 * dired.el (dired-mode): Use run-mode-hooks.
2591 (dired-move-to-end-of-filename): Use match-string.
2593 * ediff-init.el (ediff-hide-face): Check that facemenu-unlisted-faces
2594 is bound before using it.
2595 (ediff-verbose-p): Make it into a var since it's not constant.
2597 * electric.el (Electric-pop-up-window): Avoid popping up a new frame.
2599 * faces.el (read-face-font): Don't cons up unnecessarily.
2600 (header-line, tool-bar): Share common parts.
2602 * files.el (file-relative-name): Use compare-strings.
2604 * finder.el (finder-mode): Follow coding convention.
2606 * subr.el (read-number): New function.
2608 * ses.el (ses-read-number): Move to subr.el.
2609 (ses-set-header-row): Use read-number.
2611 2004-03-26 Andre Spiegel <spiegel@gnu.org>
2613 * vc-hooks.el (vc-arg-list): New function, which handles both
2614 compiled and uncompiled code.
2615 (vc-default-workfile-unchanged-p): Use it.
2617 * vc.el (vc-print-log): Undo prev change, use new function
2618 vc-arg-list from vc-hooks.el.
2620 2004-03-26 Masatake YAMATO <jet@gyve.org>
2622 * simple.el (completion-setup-function): Emphasize the
2623 first uncommon characters in the completions; and de-emphasize
2624 the common prefix substrings.
2625 (completion-emphasis): New face.
2626 (completion-de-emphasis): New face.
2628 2004-03-25 Juanma Barranquero <lektu@terra.es>
2630 * progmodes/cperl-mode.el (cperl-indent-alist, cperl-where-am-i):
2631 Comment out (it's unused and unfinished code).
2633 2004-03-25 Sam Steingold <sds@gnu.org>
2635 * vc.el (vc-print-log): Fix a bug in the last patch:
2636 backend-function may be a byte-compiled object, not a lambda.
2638 2004-03-25 Juri Linkov <juri@jurta.org>
2640 * descr-text.el (describe-property-list): Add a button
2641 for `face' property that calls `describe-face'.
2642 Suggested by luis fernandes <elf@ee.ryerson.ca>
2644 * international/mule.el (keyboard-coding-system):
2645 * kmacro.el (kmacro-call-macro): Fix docstring.
2647 * dired.el: Fix comments.
2649 * textmodes/fill.el (fill): Fix Info link.
2651 * font-lock.el (fast-lock, lazy-lock):
2652 * jit-lock.el (jit-lock): Remove links to removed Support Modes
2655 * eshell/eshell.el (eshell): Fix broken info-link.
2657 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance):
2658 * eshell/em-banner.el (eshell-banner):
2659 * eshell/em-smart.el (eshell-smart):
2660 * eshell/esh-cmd.el (eshell-cmd):
2661 Comment out broken info-links to incomplete Info manual.
2663 * info-xref.el: Fix commentary.
2665 2004-03-25 Kevin Ryde <user42@zip.com.au>
2667 * info-xref.el (info-xref-check-buffer): Report empty filename parts.
2668 Remove spurious node duplicate suppression, doesn't work, not wanted.
2669 (info-xref-output): Take format style args, add "sit-for 0" to let
2670 user see the results as they progress.
2671 (info-xref-check-all-custom): New function.
2673 2004-03-25 Nick Roberts <nick@nick.uklinux.net>
2675 * gdb-ui.el: Moved to progmodes.
2677 2004-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2679 * diff-mode.el (diff-font-lock-keywords): Disable yank-handler.
2681 2004-03-24 Glenn Morris <gmorris@ast.cam.ac.uk>
2683 * calendar/appt.el (appt-check): Remove superfluous progn.
2684 When finished with diary buffer: if it was not being displayed
2685 before, kill it; otherwise restore its original state.
2686 Suggested by Matthew Mundell <matt@mundell.ukfsn.org>.
2688 * calendar/calendar.el (calendar-set-mode-line): Use total
2689 available mode-line width, rather than frame-width.
2691 * calendar/diary-lib.el (fancy-diary-display): Set mode-line
2692 after mode change so effect not lost.
2694 2004-03-23 Dave Love <fx@gnu.org>
2696 * dired.el (dired) <defgroup>: Add link to manual.
2697 (dired-font-lock-keywords): Add highlighting on unusual permissions.
2698 (dired-revert): Use dolist.
2699 (dired-mode-map): Add U binding.
2700 (dired-mode): Add font-lock-beginning-of-syntax-function.
2701 (dired-garbage-files-regexp): Make it a defcustom.
2703 2004-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2705 * vc-arch.el (vc-arch-diff): Handle the special case where `newvers'
2706 is equivalent to nil.
2707 (vc-arch-diff3-rej-p): Be a bit more flexible in what we accept.
2708 (vc-arch-mode-line-string): Accept `added' state.
2709 (vc-arch-state): Use inode-sigs if available.
2710 (vc-arch-add-tagline): Rename from vc-arch-add-tag.
2711 Copy&delete existing id file if any. Fallback if uuidgen is absent.
2712 (vc-arch-tagline-re): New var.
2713 (vc-arch-file-source-p, vc-arch-file-id, vc-arch-tagging-method):
2715 (vc-arch-find-file-not-found-hook, vc-arch-register): New backend ops.
2716 (vc-arch-registered): Try our best guess using vc-arch-file-source-p.
2718 * vc-hooks.el (vc-default-find-file-not-found-hook): New fun.
2719 (vc-file-not-found-hook): Use it.
2721 * diff-mode.el (diff-default-read-only): Change default.
2722 (diff-mode-hook): Make it a defcustom. Add some options.
2723 (diff-mode-map): Bind diff-refine-hook.
2724 (diff-yank-handler): New var.
2725 (diff-yank-function): New fun.
2726 (diff-font-lock-keywords): Use them.
2727 (diff-end-of-file): Handle case where file-header looks like diff text.
2728 (diff-hunk-kill): Adjust to "new" hunk-next behavior.
2729 (diff-file-kill): Delete a subsequent empty line, if applicable.
2730 (diff-hunk-file-names): New fun, extracted from diff-tell-file-name.
2731 (diff-find-file-name): Use it.
2732 (diff-tell-file-name): New command.
2733 (diff-mode): Be careful with view-mode.
2734 (diff-delete-if-empty, diff-delete-empty-files, diff-make-unified):
2735 New functions, for use in diff-mode-hook.
2736 (diff-find-source-location): Catch "regex too large" errors.
2737 (diff-apply-hunk, diff-test-hunk): Go to old or new file.
2738 (diff-refine-hunk): New command.
2740 * smerge-mode.el (smerge-mode-menu): Fix activate pred for resolve.
2741 (smerge-context-menu-map): Remove unused var.
2742 (smerge-keep-all): Preserve markers.
2743 (smerge-keep-n): New fun.
2744 (smerge-keep-base, smerge-keep-other, smerge-keep-mine)
2745 (smerge-keep-current, smerge-ediff): Use it.
2746 (smerge-kill-current): Use it. Make it work on some 3-part conflicts.
2747 (smerge-popup-context-menu): Also use context-menu on 3-part conflicts.
2748 (smerge-resolve): Resolve trivial 3-part conflicts.
2750 2004-03-23 Juri Linkov <juri@jurta.org>
2752 * man.el (Man-width): New var.
2753 (Man-getpage-in-background): Use it.
2754 (Man-support-local-filenames): New var and fun.
2755 (Man-build-man-command): Don't add a second %s.
2756 (Man-fontify-manpage): Clean up message.
2757 (Man-mode): Set outline-regexp, outline-level,
2758 imenu-generic-expression.
2760 * woman.el (woman-fill-frame): Doc fix.
2761 (woman-decode-region): Use window-width instead of frame-width.
2763 * abbrevlist.el (list-one-abbrev-table):
2764 * descr-text.el (describe-char):
2765 * international/mule-diag.el (describe-current-coding-system):
2766 * international/quail.el (quail-insert-decode-map):
2767 Use window-width instead of frame-width.
2769 * jka-compr.el (jka-compr-compression-info-list): Add tbz and dz.
2770 (jka-compr-mode-alist-additions): Add tbz.
2771 (jka-compr-write-region, jka-compr-insert-file-contents):
2772 Add message for undefined compress-program.
2773 (jka-compr-write-region): Remove redundant var bindings.
2775 * dired-x.el (dired-guess-shell-alist-default): Add choices for
2776 extracting files into subdirectory. Add tbz and dz. Fix regexps.
2777 Add extensions .[0-9] for man and nroff, and .pod for perldoc.
2778 (dired-man): Use dired-guess-shell-command.
2779 (dired-guess-shell-case-fold-search): Change defvar to defcustom.
2780 Change default nil to t.
2782 * dired-aux.el (dired-compress-file-suffixes): Add dz and tbz.
2783 (dired-compare-directories): Add default value for empty input.
2785 * help-at-pt.el: Move suggestions for key bindings to Commentary.
2787 * time.el (display-time-string-forms): Fix help-echo date format.
2789 2004-03-22 Luc Teirlinck <teirllm@auburn.edu>
2791 * autorevert.el (global-auto-revert-non-file-buffers): Expand docstring.
2792 (buffer-stale-function): New variable.
2793 (auto-revert-list-diff, auto-revert-dired-file-list)
2794 (auto-revert-dired-changed-p, auto-revert-buffer-p): Delete.
2795 (auto-revert-handler): Take over some functionality of deleted
2797 (auto-revert-buffers): Delete call to auto-revert-buffer-p.
2799 * dired.el (dired-directory-changed-p): New fun, extracted from
2800 dired-internal-noselect.
2801 (dired-buffer-stale-p): New fun.
2802 (dired-internal-noselect): Use dired-directory-changed-p.
2803 Eliminate revert messages.
2804 (dired-mode): Set buffer-stale-function to dired-buffer-stale-p.
2806 2004-03-23 Kenichi Handa <handa@m17n.org>
2808 * international/characters.el: Setup syntaxes for more parentheses
2811 * international/mule-cmds.el (select-safe-coding-system):
2812 Merge coding-system and auto-cs before comparing them.
2814 2004-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * emacs-lisp/pp.el (pp-eval-expression): Simplify.
2818 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't set
2819 normal-auto-fill-function and comment-indent-function.
2820 The default values now work just as well.
2821 Don't set font-lock-beginning-of-syntax-function since we already set
2822 syntax-begin-function.
2823 (lisp-outline-level): Put ;;;###autoload at same level as (.
2824 (prin1-char): Quote special chars.
2826 * emacs-lisp/lisp-mnt.el (lm-keywords-finder-p): Use defvar rather
2827 than with-no-warnings.
2829 * emacs-lisp/edebug.el (edebug-display): Bring up a debug trace
2830 if the source location can't be found.
2831 (edebug-compute-previous-result): Use prin1-char.
2833 * emacs-lisp/checkdoc.el (checkdoc-error): Dont' assume point-min == 1.
2834 (debug-ignored-errors): Add an entry.
2836 * emacs-lisp/bytecomp.el (byte-recompile-directory): Ignore hidden dir.
2837 (byte-compile-file): Output warning when deleting a file.
2839 * emacs-lisp/byte-run.el (defsubst): Add edebug spec and use backquote.
2840 (dont-compile, eval-when-compile, eval-and-compile): Add edebug spec.
2842 * emacs-lisp/byte-opt.el (byte-compile-log-lap)
2843 (byte-compile-inline-expand): Use backquote.
2844 (byte-optimize-pure-func): Rename from byte-optimize-concat.
2845 (symbol-name, regexp-opt, regexp-quote): Mark as pure.
2847 * emacs-lisp/backquote.el (backquote-list*-macro): Use nreverse.
2849 * emacs-lisp/advice.el (ad-subr-arglist): Simplify.
2851 2004-03-22 Juri Linkov <juri@jurta.org>
2853 * finder.el (finder-known-keywords): Fix data, tex, unix.
2855 * play/landmark.el: Fix keywords.
2857 * language/ethio-util.el (ethio-find-file): Doc fix.
2859 * emacs-lisp/warnings.el: Doc fix.
2861 * textmodes/ispell.el (ispell-help): Doc fix.
2863 2004-03-21 Luc Teirlinck <teirllm@auburn.edu>
2865 * format.el (format-insert-file): Always return a list of two
2866 elements, like insert-file-contents does.
2868 2004-03-21 Andre Spiegel <spiegel@gnu.org>
2870 * vc.el: Add new optional BUFFER argument to vc-BACKEND-print-log
2871 and vc-BACKEND-diff.
2872 (vc-print-log): If the print-log implementation supports it, use
2873 the new BUFFER argument to direct output to *vc-change-log*, not *vc*.
2874 (vc-version-diff, vc-diff-internal): Doc fixes.
2876 * vc-hooks.el (vc-default-workfile-unchanged-p): If the
2877 implementation supports it, let diff output go to *vc*,
2878 not *vc-diff*, since this is an internal call.
2880 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Add optional BUFFER arg.
2882 * vc-rcs.el (vc-rcs-print-log, vc-rcs-diff): Likewise.
2884 * vc-sccs.el (vc-sccs-print-log, vc-sccs-diff): Likewise.
2886 2004-03-21 Dave Love <fx@gnu.org>
2888 * progmodes/cfengine.el (cfengine-mode):
2889 Set parse-sexp-ignore-comments.
2891 * emacs-lisp/rx.el (rx): Work at compile time, not run time.
2893 2004-03-21 Juanma Barranquero <lektu@terra.es>
2895 * allout.el (allout-mode): Fix docstring.
2897 2004-03-20 Luc Teirlinck <teirllm@auburn.edu>
2899 * files.el (insert-directory): Fix bug if SWITCHES is a list.
2901 * autorevert.el (auto-revert-interval): Make new value take
2902 effect immediately when set through Custom.
2903 (auto-revert-set-timer): Add interactive declaration.
2905 2004-03-19 David Ponce <david@dponce.com>
2907 * ruler-mode.el (ruler-mode-header-line-format-old):
2908 Don't `make-variable-buffer-local'.
2909 (ruler-mode-ruler-function): Default to `ruler-mode-ruler'.
2910 (ruler-mode-header-line-format): Simply funcall the above.
2911 (ruler-mode): Use `make-local-variable' and `kill-local-variable'
2912 to save/restore a previous header line format.
2913 (ruler-mode-space): Don't depend on a numeric WIDTH value.
2914 (ruler-mode-ruler): Use symbolic display elements for scrollbar,
2915 fringes and margins width.
2916 (ruler-mode-ruler-function): Default to ruler-mode-ruler.
2918 2004-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2920 * log-edit.el (log-edit-font-lock-keywords): Typo.
2922 * textmodes/tex-mode.el (tex-shell): Set error parsing function here.
2923 (tex-send-tex-command): Rather than here.
2924 (tex-compilation-parse-errors): Simplify.
2926 * info.el (Info-default-dirs): Don't ignore last part of I-d-d-l.
2928 * time.el (display-time-string-forms): Add help-echo with date on time.
2930 * composite.el (compose-region): Use restore-buffer-modified-p.
2932 * disp-table.el (standard-display-8bit): Simplify.
2934 * server.el (server-process-filter): Delete temp frame.
2936 * add-log.el (add-change-log-entry): Simplify.
2938 2004-03-19 Kim F. Storm <storm@cua.dk>
2940 * hexl.el (hexl-mode-ruler): Adapt to new :align-to semantics.
2941 (hexl-follow-line): Don't require 'fringe.
2943 * progmodes/compile.el (compilation-start): Always set
2944 compilation-last-buffer and return it.
2946 2004-03-17 Luc Teirlinck <teirllm@auburn.edu>
2948 * simple.el (clone-buffer): Doc fix.
2950 2004-03-18 Juanma Barranquero <lektu@terra.es>
2952 * emacs-lisp/byte-run.el (make-obsolete-variable): Fix docstring.
2954 2004-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2956 * log-edit.el (log-edit-font-lock-keywords): New var.
2957 (log-edit-mode): Use it.
2959 2004-03-17 Nick Roberts <nick@nick.uklinux.net>
2961 * gdb-ui.el (gdb-var-list-children-handler): Handle C++ classes
2962 properly for watching in speedbar.
2964 2004-03-17 Masatake YAMATO <jet@gyve.org>
2966 * smerge-mode.el (smerge-popup-context-menu):
2967 Put `unwind-protect' around `overlay-put' and `popup-menu'.
2969 2004-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2971 * vc-arch.el (vc-arch-workfile-unchanged-p): Define to avoid dup-diff.
2972 (vc-arch-workfile-version, vc-arch-mode-line-rewrite):
2973 Take sealed revisions into account.
2974 (vc-arch-checkin): Extract a summary line from the message.
2976 2004-03-16 Masatake YAMATO <jet@gyve.org>
2978 * register.el (register): Provide `register' feature.
2980 2004-03-15 Masatake YAMATO <jet@gyve.org>
2982 Added context menu support in smerge mode.
2983 Most of the part is written by Stefan Monnier.
2985 * smerge-mode.el (smerge-context-menu-map, smerge-context-menu):
2986 New keymap and menu.
2987 (smerge-text-properties): New function.
2988 (smerge-remove-props): New function.
2989 (smerge-popup-context-menu): New function.
2990 (smerge-resolve): Call `smerge-remove-props'.
2991 (smerge-keep-base, smerge-keep-other, smerge-keep-mine): Ditto.
2992 (smerge-keep-current): Ditto.
2993 (smerge-kill-current): New function.
2994 (smerge-match-conflict): Put text properties.
2995 Detect the file as `same-diff conflict' if the filename is "ANCESTOR".
2997 2004-03-15 David Ponce <david@dponce.com>
2999 * ruler-mode.el: (ruler-mode-left-fringe-cols)
3000 (ruler-mode-right-fringe-cols, ruler-mode-left-scroll-bar-cols)
3001 (ruler-mode-right-scroll-bar-cols): Remove.
3002 (ruler-mode-window-col, ruler-mode-mouse-set-left-margin)
3003 (ruler-mode-mouse-set-right-margin, ruler-mode-ruler):
3004 Use fringe-columns and scroll-bar-columns.
3006 2004-03-15 Masatake YAMATO <jet@gyve.org>
3008 * hl-line.el (hl-line-range-function): New variable.
3009 (hl-line-move): New function.
3010 (global-hl-line-highlight): Use `hl-line-move'.
3011 (hl-line-highlight): Ditto.
3013 * scroll-bar.el (scroll-bar-columns):
3014 * fringe.el (fringe-columns): New function derived from ruler-mode.el.
3016 * ruler-mode.el (top-level): Require scroll-bar and fringe.
3017 (ruler-mode-left-fringe-cols)
3018 (ruler-mode-right-fringe-cols): Use `fringe-columns'.
3019 (ruler-mode-right-scroll-bar-cols)
3020 (ruler-mode-left-scroll-bar-cols): Use `scroll-bar-columns'.
3021 (ruler-mode-ruler-function): New variable.
3022 (ruler-mode-header-line-format): Call `ruler-mode-ruler-function'
3023 if the value for `ruler-mode-ruler-function'is given.
3025 * hexl.el (hexl-mode-hook): Make the hook customizable.
3026 (hexl-address-area, hexl-ascii-area): New customize variables.
3027 (hexlify-buffer): Put font-lock-faces on the address area and
3029 (hexl-activate-ruler): New function.
3030 (hexl-follow-line): New function.
3031 (hexl-highlight-line-range): New function.
3032 (hexl-mode-ruler): New function.
3034 2004-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
3036 * vc-hooks.el (vc-handled-backends): Add Arch. Move MCVS down.
3037 (vc-default-find-file-hook): New fun.
3038 (vc-find-file-hook): Call new find-file-hook operation.
3040 * vc-arch.el: New file.
3042 2004-03-12 Jesper Harder <harder@ifa.au.dk>
3044 * info-look.el (info-lookup): Reuse an existing Info window.
3046 2004-03-12 Francis J. Wright <F.J.Wright@qmul.ac.uk>
3048 * woman.el (woman-preserve-ascii): Default value changed to t and
3051 2004-03-12 Richard M. Stallman <rms@gnu.org>
3053 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
3056 * replace.el (occur-engine): Change message for count of matches.
3058 * emacs-lisp/bytecomp.el (byte-compile-get-constant):
3059 For strings, do compare text properties.
3061 2004-03-11 Daniel Pfeiffer <occitan@esperanto.org>
3063 * progmodes/compile.el (compile-auto-highlight)
3064 (compilation-error-list, compilation-old-error-list)
3065 (compilation-parse-errors-function, compilation-parsing-end)
3066 (compilation-error-message, compilation-directory-stack)
3067 (compilation-enter-directory-regexp-alist)
3068 (compilation-leave-directory-regexp-alist)
3069 (compilation-file-regexp-alist, compilation-nomessage-regexp-alist)
3070 (compilation-current-file, compilation-regexps): Remove vars.
3072 (compile-error-at-point, compilation-error-filedata)
3073 (compilation-error-filedata-file-name, compile-reinitialize-errors)
3074 (compilation-next-error-locus, compilation-forget-errors)
3075 (count-regexp-groupings, compilation-parse-errors)
3076 (compile-collect-regexps, compile-buffer-substring): Remove funs.
3078 (compile-internal): Make obsolete.
3080 (compilation-first-column, compilation-error)
3081 (compilation-directory-matcher, compilation-page-delimiter)
3082 (compilation-mode-font-lock-keywords, compilation-debug)
3083 (compilation-error-face, compilation-warning-face)
3084 (compilation-info-face, compilation-line-face)
3085 (compilation-column-face, compilation-enter-directory-face)
3086 (compilation-leave-directory-face, compilation-skip-threshold)
3087 (compilation-skip-visited, compilation-context-lines): New vars.
3089 (compilation-warning-face, compilation-info-face)
3090 (compilation-message-face): New faces.
3092 (compilation-error-regexp-alist-alist): New constant.
3094 (compilation-face, compilation-directory-properties)
3095 (compilation-assq, compilation-error-properties, compilation-start)
3096 (define-compilation-mode, compilation-loop)
3097 (compilation-set-window): New functions.
3099 (compile): Additional argument for interactive compiles like TeX.
3101 * progmodes/grep.el (kill-grep): Move here from compile.el
3102 (grep-error, grep-hit-face, grep-error-face)
3103 (grep-mode-font-lock-keywords): New variables.
3104 (grep-regexp-alist): Simplify regexp and add `binary' case.
3105 (grep-mode): New mode.
3106 (grep-process-setup): Simplify.
3108 2004-03-11 Jason Rumney <jasonr@gnu.org>
3110 * net/ldap.el (ldap-search-internal): Handle file URLs with drive
3111 letters on DOS/Windows.
3113 2004-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3115 * server.el (server-name): New var.
3116 (server-socket-dir): New var to replace server-socket-name.
3117 (server-start): Use them.
3119 2004-03-11 Simon Josefsson <jas@extundo.com>
3121 * mail/smtpmail.el (smtpmail-read-response): Abort if process has
3122 died to avoid infloop. Reported by Jonathan Glauner
3123 <jglauner@sbum.org>.
3125 2004-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3127 * smerge-mode.el (smerge-check-cache, smerge-check): New var and fun.
3128 (smerge-mode-menu): Use it to deactivate menu entries.
3129 (smerge-keep-current): New fun.
3130 (smerge-keep-current): Use it.
3132 2004-03-10 John Paul Wallington <jpw@gnu.org>
3134 * foldout.el (foldout-fold-list, foldout-modeline-string):
3135 Declare them as variables, not constants.
3137 2004-03-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3139 * ps-print.el: Modification to print *Messages* buffer.
3140 (ps-print-version): New version 6.6.4.
3141 (ps-message-log-max): New fun.
3142 (ps-spool-without-faces, ps-spool-with-faces)
3143 (ps-count-lines-preprint): Code fix.
3145 * printing.el: New tips in Tips section.
3147 2004-03-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3149 * delim-col.el: Doc fix.
3151 * printing.el: Doc fix. New doc section (Tips).
3153 2004-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3155 * type-break.el (type-break-emacs-variant): Remove.
3156 (type-break-run-at-time, type-break-cancel-function-timers):
3157 Use fboundp rather than version name and number.
3159 2004-03-09 Masatake YAMATO <jet@gyve.org>
3161 * hexl.el (hexl-mode): Use `make-local-variable' instead of
3162 `make-variable-buffer-local'.
3164 2004-03-08 Michael Albinus <Michael.Albinus@alcatel.de>
3166 * find-dired.el (find-dired): Call `shell-command' instead of
3167 `start-process-shell-command'. By this, Tramp takes over
3168 handling of remote directories.
3170 2004-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
3172 * newcomment.el (comment-use-global-state): New var.
3173 (comment-search-forward): Use it.
3175 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set it.
3177 * cus-edit.el (fill) <defgroup>: Move to fill.el.
3179 * textmodes/fill.el (fill) <defgroup>: Move from cus-edit.el.
3180 (enable-kinsoku): Make it a defcustom.
3181 (fill-comment-paragraph): Don't rely on fill-prefix to bound the
3182 paragraph to same-comment-start-marker.
3184 2004-03-07 Dave Love <fx@gnu.org>
3186 * net/browse-url.el (rfc2368-parse-mailto-url): Autoload.
3187 (browse-url-mail): Use it.
3189 * mail/rfc2368.el (rfc2368-unhexify-char): Delete.
3190 (rfc2368-unhexify-string): Use replace-regexp-in-string.
3192 2004-03-07 Francis J. Wright <F.J.Wright@qmul.ac.uk>
3194 * woman.el (woman-man.conf-path): Doc fix.
3195 (woman-parse-man.conf): Also parse OPTIONAL_MANPATH.
3197 2004-03-07 Eli Zaretskii <eliz@gnu.org>
3199 * sort.el (sort-columns): Remove ms-dos from the list of systems
3200 where the external `sort' command is not used.
3202 2004-03-07 Kim F. Storm <storm@cua.dk>
3204 * gdb-ui.el (gdb-overlay-arrow-position): Add defvar.
3205 (gdb-reset): Reset gdb-overlay-arrow-position marker and remove it
3206 from overlay-arrow-variable-list.
3207 (gdb-assembler-mode): Use add-to-list for gdb-overlay-arrow-position.
3209 2004-03-06 Nick Roberts <nick@nick.uklinux.net>
3211 * gdb-ui.el (gdb-assembler-mode, gdb-assembler-custom): Set up
3212 overlay arrow string properly for the assembler buffer.
3214 2004-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
3216 * mail/sendmail.el (mail-mode): Fix last change.
3218 2004-03-05 Nick Roberts <nick@nick.uklinux.net>
3220 * gdb-ui.el (gdb-assembler-mode): Create a second overlay arrow
3221 for the assembler buffer.
3222 (gdb-assembler-custom): Position the overlay arrow.
3223 (gdb-put-arrow, gdb-remove-arrow): Delete functions.
3225 2004-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * progmodes/sh-script.el (sh-font-lock-paren): Add @ in case patterns.
3229 * pcvs-info.el (cvs-fileinfo->backup-file): Use a more constraining
3230 regexp to distinguish .#ChangeLog.9.1.400 and .#ChangeLog.1.400.
3232 * mail/sendmail.el (mail-mode): Set comment-start-skip.
3234 * newcomment.el (uncomment-region): Allow non-terminated comment.
3235 (comment-normalize-vars): Check the user-specified comstart marker.
3237 2004-03-04 Jesper Harder <harder@ifa.au.dk>
3239 * sort.el (sort-columns): Don't use external 'sort' on ms-windows.
3240 Otherwise, do use it if the region only contains font-lock text
3243 2004-03-04 Masatake YAMATO <jet@gyve.org>
3245 * hexl.el (hexl-mode): Set `hexl-print-current-point-info'
3246 as the callback function for eldoc.
3247 (hexl-print-current-point-info): New function.
3248 (hexl-current-address): Print the address in both decimal
3249 and hexadecimal format.
3251 2004-03-04 Richard M. Stallman <rms@gnu.org>
3253 * mail/rmail.el (rmail-convert-to-babyl-format):
3254 Specify t for UNIBYTE when calling mail-unquote-printable-region.
3256 * mail/mail-utils.el (mail-unquote-printable-region):
3259 * startup.el (command-switch-alist): Doc fix.
3261 * simple.el (undo): Temporarily set this-command to `undo-start',
3262 then set it to `undo' once undo-start returns without error.
3264 * simple.el (minibuffer-history-sexp-flag): Doc fix.
3266 * simple.el (kill-line): Don't disregard trailing whitespace
3267 in eol condition, if show-trailing-whitespace is set.
3269 * mouse-sel.el (mouse-sel-has-been-enabled): New var.
3270 (mouse-sel-mode): When enabling, set mouse-sel-has-been-enabled.
3271 When disabling, restore old values only if mouse-sel-has-been-enabled.
3273 * isearch.el (isearch-*-char): New arg WANT-BACKSLASH.
3274 (isearch-{-char): New function.
3275 (isearch-mode-map): Bind { to isearch-{-char.
3277 * font-lock.el (lisp-font-lock-keywords-2):
3278 Turn off the CL with-... and do-... general patterns.
3279 Instead, recognize several specific with... and do... constructs.
3281 * files.el (switch-to-buffer-other-window):
3282 Bind same-window-buffer-names and same-window-regexps to nil.
3283 (switch-to-buffer-other-frame): Likewise.
3285 2004-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
3287 * textmodes/fill.el (fill-comment-paragraph): Be more careful when
3288 recognizing leading comment on code line.
3290 2004-03-02 Stefan Monnier <monnier@iro.umontreal.ca>
3292 * Makefile.in (setwins, setwins_almost): Skip .arch-ids and other
3293 hidden files/directories.
3295 2004-03-02 Stefan Monnier <monnier@iro.umontreal.ca>
3297 * textmodes/fill.el (fill-paragraph): Don't check comment-start-skip,
3298 only comment-start (in case the mode hasn't set it).
3300 * Makefile.in (AUTOGENEL): New var.
3301 (bootstrap-prepare): Rename from bootstrap-clean.
3302 Don't remove elc files.
3303 (maintainer-clean): New target.
3305 * xml.el (xml-get-attribute-or-nil): Simplify.
3307 2004-03-02 Juri Linkov <juri@jurta.org>
3309 * net/browse-url.el (browse-url-netscape, browse-url-mozilla)
3310 (browse-url-galeon, browse-url-epiphany): Encode dollar signs in
3311 URL to prevent their substitution with the environment variable
3314 2004-03-03 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3316 * ps-print.el: Doc fix.
3317 (ps-print-version): New version number (6.6.3).
3318 (ps-right-header, ps-right-footer, ps-left-header, ps-left-footer):
3320 (ps-kill-emacs-check): Check if ps-print temporary buffer is killed
3322 (ps-time-stamp-yyyy-mm-dd): New fun.
3323 (ps-time-stamp-iso8601): Alias for ps-time-stamp-yyyy-mm-dd.
3325 2004-03-02 Kim F. Storm <storm@cua.dk>
3327 * gdb-ui.el (gdb-mouse-toggle-breakpoint): Remove debug message.
3329 2004-03-01 Juanma Barranquero <lektu@terra.es>
3331 * allout.el (allout-rebullet-heading): Fix typo in docstring.
3333 * desktop.el (desktop-file-version)
3334 (desktop-after-read-hook): Fix typos.
3335 (desktop-clear-preserve-buffers): Remove redundant info in
3336 docstring already shown by the obsolescence message.
3337 (desktop-truncate, desktop-internal-v2s)
3338 (desktop-value-to-string): Change argument name to match docstring.
3340 * emulation/tpu-edt.el (tpu-set-mark): Fix typo in docstring.
3342 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Fix typo in
3345 2004-02-29 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3347 * printing.el: Replace "As Is..." in PostScript file print/preview by
3348 "No Preprocessing...". Suggested by Colin Marquardt
3349 <_marquardt_@zmd.de>.
3350 (pr-insert-section-4): Adjust buffer interface.
3352 2004-02-29 Kai Grossjohann <kai.grossjohann@gmx.net>
3354 Version 2.0.39 of Tramp released.
3356 * net/tramp.el (tramp-handle-file-local-copy)
3357 (tramp-handle-write-region, tramp-open-connection-rsh):
3358 Variable name typo. Small change. From Patrick Tullmann
3359 <tullmann@flux.utah.edu>.
3360 (tramp-process-connection-type): New variable.
3361 (tramp-maybe-open-connection): Use it.
3362 (tramp-do-copy-or-rename-via-buffer): Handle KEEP-DATE arg if possible.
3363 (tramp-touch): Set last-modified time of a remote file.
3364 (tramp-handle-write-region): Say which function is used when encoding.
3366 2004-02-29 Michael Albinus <Michael.Albinus@alcatel.de>
3368 * net/tramp-smb.el (tramp-smb-handle-file-writable-p): Handle the
3369 case of non-existing filename, too. Reported by Christoph Bauer
3370 <c_bauer@informatik.uni-kl.de>.
3371 (tramp-smb-get-file-entries): The directory in question should
3372 have permissions "drwxrwxrwx". Just virtual, because we don't
3373 know the real permissions. Don't we know?
3374 (tramp-smb-prompt): Add virtual prompt from listing shares, too.
3375 (tramp-smb-errors): Add "NT_STATUS_ACCOUNT_LOCKED_OUT".
3376 (tramp-smb-wait-for-output): Optimize algorithm getting pending
3377 output. If it was received chunkwise, there have been problems.
3378 Remove the "prompt not found" error message; it is obvious.
3380 (tramp-smb-process-running): Remove. Since we acknowledge the
3381 virtual prompt for shares, there's no need for distinction of
3382 reading shares (process ends afterwards) and interactive mode of
3384 (tramp-smb-open-connection): Setting process sentinel removed.
3385 (tramp-smb-errors): Add "NT_STATUS_WRONG_PASSWORD" and
3386 "NT_STATUS_NETWORK_ACCESS_DENIED".
3387 (tramp-smb-maybe-open-connection): Set `process-connection-type'
3388 to 'pty. Suggested by Piet van Oostrum <piet@cs.uu.nl>.
3389 (top-level): Setting default value in `tramp-default-method-alist'
3390 corrected. Order of USER and HOST have been wrong.
3391 Nobody complained for months ...
3392 (tramp-smb-maybe-open-connection): Use `tramp-process-connection-type'.
3393 (tramp-smb-open-connection): Clear password cache if login has failed.
3395 * net/tramp.el (tramp-completion-mode) Don't check for 'xemacs' but
3396 `tramp-unified-filenames'.
3397 (tramp-completion-mode): Make test for XEmacs explicitely.
3398 `event-to-character' can exists in Emacs packages too.
3399 Reported by Matt Swift <swift@alum.mit.edu>.
3400 (tramp-buffer-name): Buffer name must contain the user if exists.
3401 Reported by Adrian Phillips <a.phillips@met.no>.
3402 (tramp-do-copy-or-rename-file): Handle out-of-band methods.
3403 Call `tramp-do-copy-or-rename-file-out-of-band' this case.
3404 (tramp-do-copy-or-rename-file-out-of-band): Rename from
3405 `tramp-do-copy-or-rename-file-one-local', because it handles also
3406 the case both files use the same out-of-band method.
3407 Implementation added.
3408 (tramp-handle-file-local-copy, tramp-handle-write-region):
3409 Out-of-band handling removed. `copy-file' called instead, which
3410 calls `tramp-do-copy-or-rename-file-out-of-band'.
3411 (tramp-action-password): Check for out-of-band method removed.
3412 This function is used for 'login-program.
3413 (tramp-post-connection): Use `tramp-method-out-of-band-p' when
3415 (tramp-completion-function-alist-ssh): Add `tramp-parse-shostkeys'
3416 and `tramp-parse-sknownhosts'.
3417 (tramp-completion-function-alist): It's a defvar now, because we
3418 want to apply the optimized `tramp-set-completion-function'
3419 instead of a static list.
3420 (tramp-set-completion-function): Implementation tuned.
3421 Avoid double entries, and entries where the function or the
3422 file/directory doesn't exist.
3423 (tramp-parse-shostkeys, tramp-parse-sknownhosts): New functions
3425 (tramp-file-name-handler-alist): Add `dired-compress-file' entry.
3426 (tramp-handle-dired-compress-file): New function.
3427 (tramp-async-proc): New variable.
3428 (tramp-handle-shell-command): Adding asynchronous processes.
3429 They are far from being perfect, but it works at least for
3430 `find-grep-dired' and `find-name-dired' in Emacs 21.4.
3431 (top-level): Require password.el if visible. Should be mandatory
3432 once No Gnus has found its way into (X)Emacs.
3433 (tramp-read-passwd): Invoke `password-read' if available,
3434 `read-passwd' otherwise. `ange-ftp-read-passwd' isn't used as
3435 fallback any longer.
3436 (tramp-clear-passwd): New function.
3437 (tramp-process-actions, tramp-process-multi-actions):
3438 Clear password cache if login has failed.
3440 * net/tramp-ftp.el (Commentary): Remove pointer to EFS. It has
3442 (tramp-ftp-file-name-handler): Unset `ange-ftp-ftp-name-arg' and
3443 `ange-ftp-ftp-name-res'. There could be incorrect values from
3444 previous calls in case the "ftp" method is used in the Tramp file
3445 name. Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
3447 2004-02-28 Richard M. Stallman <rms@gnu.org>
3449 * term.el (term-mouse-paste): Call mouse-set-point.
3451 * thumbs.el: New file.
3453 2004-02-28 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3455 * progmodes/ebnf-abn.el: Doc fix.
3457 * progmodes/ebnf-bnf.el: Doc fix.
3458 (ebnf-repeat): Code fix.
3460 * progmodes/ebnf2ps.el: Doc fix.
3461 (ebnf-syntax-directory, ebnf-syntax-file): New funs.
3463 2004-02-28 Juri Linkov <juri@jurta.org>
3465 * ffap.el (dired-at-point): Additional writability test for
3466 relative directory names.
3467 (dired-at-point-prompter): Treat directories as a directory, get
3468 the directory component from files.
3469 (ffap-string-at-point): Return string from region if region is active.
3470 (ffap-file-at-point): Remove redundant code.
3472 2004-02-28 Kim F. Storm <storm@cua.dk>
3474 * gdb-ui.el (breakpoint-enabled-icon, breakpoint-disabled-icon):
3475 Initialize margin area images to nil.
3476 (breakpoint-bitmap): New defvar for breakpoint fringe bitmaps.
3477 (breakpoint-enabled-bitmap-face)
3478 (breakpoint-disabled-bitmap-face): New faces for bpt in fringe.
3479 (gdb-info-breakpoints-custom): Use gdb-remove-breakpoint-icons.
3480 (gdb-info-breakpoints-custom): Use gdb-put-breakpoint-icon.
3481 (gdb-mouse-toggle-breakpoint): Handle bpt in fringe.
3482 (gdb-reset): Use gdb-remove-breakpoint-icons.
3483 (gdb-put-string): Add dprop arg to specify alternative display
3484 property (for setting fringe bitmap).
3485 (gdb-remove-strings): Doc fix.
3486 (gdb-put-breakpoint-icon): New defun which displays a breakpoint
3487 icon in fringe (if available), or else as icon or text in display
3488 margin. Creates necessary icons in breakpoint-bitmap,
3489 breakpoint-enabled-icon, and/or breakpoint-disabled-icon.
3490 Also make left window margin if required.
3491 (gdb-remove-breakpoint-icons): New defun to remove breakpoint
3492 icons inserted by gdb-put-breakpoint-icon. Remove left margin if
3494 (gdb-assembler-custom): Use gdb-remove-breakpoint-icons and
3495 gdb-put-breakpoint-icon.
3496 (gdb-assembler-mode): Don't set left-margin-width here.
3498 2004-02-27 Kevin Ryde <user42@zip.com.au>
3500 * info-look.el: In scheme-mode symbol regexp, disallow backquote and
3501 comma, so that it DTRT in macros.
3503 2004-02-27 Markus Rost <rost@mathematik.uni-bielefeld.de>
3505 * progmodes/sh-script.el (sh-shell-arg)
3506 (sh-require-final-newline, sh-assignment-regexp, sh-builtins)
3507 (sh-leading-keywords, sh-other-keywords): Fix custom type.
3509 2004-02-27 Dan Nicolaescu <dann@ics.uci.edu>
3511 * faces.el (face-spec-set-match-display): Add a new attribute,
3513 (region, highlight, secondary-selection): Use `min-colors'.
3515 * custom.el (defface): Add documentation for `min-colors'.
3517 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3518 (font-lock-keyword-face, font-lock-function-name-face)
3519 (font-lock-variable-name-face, font-lock-constant-face):
3522 * isearch.el (isearch, isearch-lazy-highlight-face): Use `min-colors'.
3524 2004-02-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3526 * progmodes/ebnf2ps.el: Doc fix. For compatibility with Emacs 20,
3527 define assq-delete-all if it's not defined.
3528 (ebnf-generate-region): Code fix.
3530 * printing.el: Doc fix.
3531 (pr-version): New version number (6.7.2).
3532 (pr-command): Return empty string if command is an empty string.
3534 2004-02-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3536 * progmodes/ebnf-abn.el: New file, implements an ABNF parser.
3538 * progmodes/ebnf2ps.el: Doc fix. Accept ABNF (Augmented BNF). New
3539 arrow shapes: semi-up-hollow, semi-up-full, semi-down-hollow and
3540 semi-down-full. Fix a bug on productions like test = {"test"}* | (
3541 "tt" ["test"] ). Reported by Markus Dreyer
3542 <mdreyer@ix.urz.uni-heidelberg.de>.
3543 (ebnf-version): New version number (4.0).
3544 (ebnf-print-directory, ebnf-print-file, ebnf-spool-directory)
3545 (ebnf-spool-file, ebnf-eps-directory, ebnf-eps-file)
3546 (ebnf-delete-style): New commands.
3547 (ebnf-directory, ebnf-file): New funs.
3548 (ebnf-special-show-delimiter, ebnf-file-suffix-regexp)
3549 (ebnf-production-name-p, ebnf-stop-on-error): New options.
3550 (ebnf-syntax-alist): New var.
3551 (ebnf-element-width): New fun replacing ebnf-list-width.
3552 (ebnf-arrow-shape, ebnf-syntax): Custom fix.
3553 (ebnf-style-custom-list, ebnf-style-database, ebnf-arrow-shape-alist)
3554 (ebnf-prologue): Adjust vars.
3555 (ebnf-setup, ebnf-insert-style, ebnf-merge-style, ebnf-apply-style)
3556 (ebnf-reset-style, ebnf-push-style, ebnf-pop-style)
3557 (ebnf-check-style-values, ebnf-generate-production)
3558 (ebnf-generate-region, ebnf-production-dimension, ebnf-justify-list)
3559 (ebnf-make-terminal1, ebnf-make-or-more1, ebnf-make-repeat)
3560 (ebnf-token-repeat): Code fix.
3562 * progmodes/ebnf-yac.el: Doc fix. Handle Bison pragmas %nonassoc,
3563 %right, %left and %prec. Suggested by Matthew K. Junker
3564 <junker@alum.mit.edu>.
3565 (ebnf-yac-definitions, ebnf-yac-lex): Code fix.
3567 * progmodes/ebnf-iso.el: Doc fix.
3568 (ebnf-iso-token-table, ebnf-iso-non-terminal-chars): Adjust vars.
3569 (ebnf-iso-lex): Code fix.
3571 * progmodes/ebnf-bnf.el: Doc fix.
3572 (ebnf-bnf-lex): Code fix.
3574 * progmodes/ebnf-otz.el: Doc fix.
3576 2004-02-23 Luc Teirlinck <teirllm@auburn.edu>
3578 * abbrev.el (write-abbrev-file): Make argument optional. Doc fix.
3579 (abbrev-prefix-mark): Doc fix.
3581 2004-02-23 Nick Roberts <nick@nick.uklinux.net>
3583 * gdb-ui.el (gud-watch): Load tooltip, if necessary.
3584 (gdb-var-create-handler): Force speedbar-update-flag to be non-nil.
3585 (gdb-var-delete): Make interactive (really).
3586 (gdb-edit-value): Make non-interactive.
3588 * progmodes/gud.el (gud-speedbar-menu-items):
3589 Add gdb-var-delete and, indirectly, gdb-edit-value.
3590 (gud-install-speedbar-variables): Bind gdb-var-delete to "D".
3591 (gud-speedbar-buttons): Remove gdb-var-delete from tag-line.
3592 (gud-gdb-marker-filter): Add comment for annotations.
3594 2004-02-23 Glenn Morris <gmorris@ast.cam.ac.uk>
3596 * calendar/calendar.el (generate-calendar)
3597 (calendar-read-date): Prevent display of BC calendars once more -
3598 reverts 2003-10-01 change.
3599 (generate-calendar-month): Doc fix.
3601 2004-02-03 Matthew Mundell <matt@mundell.ukfsn.org> (tiny change)
3603 * calendar/diary-lib.el (fancy-diary-display): Don't rely on
3604 return value of increment-calendar-month.
3606 2004-02-21 Stephen Compall <s11@member.fsf.org>
3608 * saveplace.el (save-place-forget-unreadable-files)
3609 (save-place-save-skipped, save-place-skip-check-regexp): New vars.
3610 (save-place-forget-unreadable-files): New function.
3611 (save-place-alist-to-file): Use it to filter out files that are
3614 * textmodes/texinfo.el (texinfo-insert-@item): Look for the
3615 current Texinfo environment, using the same method as in
3616 `texinfo-insert-@end', and insert a space rather than a newline if
3617 point in a @table environment.
3619 2004-02-21 Juri Linkov <juri@jurta.org>
3621 * ffap.el (ffap-file-at-point): Try parent directories.
3623 2004-02-21 Klaus Zeitler <kzeitler@lucent.com>
3625 * vcursor.el (vcursor-modifiers): New defcustom.
3626 (vcursor-cs-binding): Use vcursor-modifiers instead of a
3629 2004-02-21 Masatake YAMATO <jet@gyve.org>
3631 * play/animate.el (animate-birthday-present): Accept names other
3634 2004-02-21 Juri Linkov <juri@jurta.org>
3636 * startup.el: Remove table of command line arguments from the
3639 2004-02-20 John Wiegley <johnw@newartisans.com>
3641 * eshell/em-pred.el (eshell-modifier-alist): Change the "eval
3642 again" modifier from 'e' to 'E', since 'e' is also used by the
3643 "file extension" modifier.
3645 2004-02-19 Luc Teirlinck <teirllm@auburn.edu>
3647 * help-fns.el (describe-categories): Doc fix.
3649 2003-02-19 Michael Kifer <kifer@cs.stonybrook.edu>
3651 * ediff-util.el (ediff-compute-custom-diffs-maybe): Avoid creating
3652 temporary file for buffer already visiting one. This change makes
3653 output likely to be directly usable by patch program.
3654 Suggested by Adrian Aichner <adrian@xemacs.org>
3656 2004-02-20 Nick Roberts <nick@nick.uklinux.net>
3658 * gdb-ui.el (gdb-use-colon-colon-notation): Set default to nil for
3659 case of variables defined in compound statements.
3660 (gdb-setup-windows, gdb-source-info, gdb-source-info):
3661 Simplify constructions using switch-to-buffer.
3663 2004-02-19 Simon Josefsson <jas@extundo.com>
3665 * play/morse.el: Fix typo.
3666 (morse-code): Add @.
3668 2004-02-19 Glenn Morris <gmorris@ast.cam.ac.uk>
3670 * calendar/appt.el (appt-display-format): Change default to
3671 'ignore, for backwards compatibility.
3672 (appt-display-message): If appt-display-format is 'ignore,
3673 respect old vars appt-msg-window and appt-visible.
3674 (appt-activate): Don't depend on return value of cancel-timer.
3676 * calendar/calendar.el (calendar-holidays): Doc fix.
3678 * calendar/cal-coptic.el (coptic-prompt-for-date):
3679 Use assoc-string instead of assoc-ignore-case.
3680 * calendar/cal-french.el (calendar-goto-french-date): Ditto.
3681 * calendar/cal-hebrew.el (calendar-goto-hebrew-date)
3682 (mark-hebrew-diary-entries, list-yahrzeit-dates): Ditto.
3683 * calendar/cal-islam.el (calendar-goto-islamic-date)
3684 (mark-islamic-diary-entries): Ditto.
3685 * calendar/cal-julian.el (calendar-goto-julian-date): Ditto.
3686 * calendar/cal-mayan.el (calendar-read-mayan-haab-date)
3687 (calendar-read-mayan-tzolkin-date): Ditto.
3688 * calendar/calendar.el (calendar-read-date): Ditto.
3689 * calendar/diary-lib.el (mark-diary-entries): Ditto.
3691 2004-02-18 Markus Rost <rost@mathematik.uni-bielefeld.de>
3693 * progmodes/executable.el (executable-command-find-posix-p):
3694 Fix choice of the directory.
3696 2004-02-17 Luc Teirlinck <teirllm@auburn.edu>
3698 * simple.el (interprogram-cut-function)
3699 (interprogram-paste-function, kill-new, kill-append):
3701 (kill-region): Make it return nil. Doc fix.
3702 (yank-pop): Make its argument optional.
3703 (yank): Make ARG `-' equivalent to `-1'.
3705 2004-02-17 Eli Zaretskii <eliz@gnu.org>
3707 * mail/rmail.el (rmail-get-new-mail): Don't reference
3708 rmail-use-spam-filter if rmail-spam-filter is not loaded.
3710 2004-02-16 Luc Teirlinck <teirllm@auburn.edu>
3712 * autorevert.el (auto-revert-buffer-p): Only revert dired buffers
3713 if one of global-auto-revert-non-file-buffers or autorevert-mode
3716 2004-02-16 Eli Zaretskii <eliz@gnu.org>
3718 * subr.el (delete-dups): A better implementation from Karl Heuer
3721 2004-02-16 Matt Hodges <matt@stchem.bham.ac.uk> (tiny change)
3723 * net/telnet.el (telnet-interrupt-subjob): Move doc string to the
3725 * progmodes/icon.el (icon-indent-command): Ditto.
3726 * textmodes/paragraphs.el (repunctuate-sentences): Ditto.
3728 2004-02-16 Eli Zaretskii <eliz@gnu.org>
3730 * progmodes/grep.el (grep-compute-defaults): Undo change from
3731 2004-01-29: don't use executable-command-find-posix-p.
3733 2004-02-16 Richard Sharman <rsharman@pobox.com>
3735 * hilit-chg.el: Use require instead of eval-and-compile.
3736 (highlight-compare-buffers): New function.
3738 2004-02-16 John Basrai <jbasrai@comcast.net> (tiny change)
3740 * man.el (Man-fontify-manpage): Render section headings in
3741 `Man-overstrike-face' even when overstrike was not used by man
3742 formatter for section headings.
3744 2004-02-16 Eli Tziperman <eli@deas.harvard.edu>
3746 * rmail-spam-filter.el: (vm-use-spam-filter)
3747 (rsf-min-region-length-added-to-spam-list): New variables.
3748 (rsf-bbdb-auto-delete-spam-bbdb-entries): Rename from
3749 rmail-bbdb-auto-delete-spam-entries. Add cc: to recipients for
3750 spam testing. Don't delete spam message if automatic deletion
3751 after output via variable rmail-delete-after-output is turned on.
3752 (rsf-bbdb-dont-create-entries-for-deleted-messages): Rename from
3753 rsf-bbdb-dont-create-entries-for-spam.
3754 (check-field): New function, extracted from code in
3755 rmail-spam-filter to ease addition of header fields like content-type.
3756 (message-content-type): New variable to check the content-type:
3757 field added, also in defcustom of rsf-definitions-alist.
3758 (rmail-spam-filter): Replace repeated test code for header fields
3759 by calls to check-field; change the call to
3760 rmail-output-to-rmail-file such that rmail-current-message stays
3761 the same to avoid wrong deletion of unseen flags.
3762 (rsf-add-contents-type): New function to convert old format
3763 of rmail-spam-definitions-alist into new one.
3764 Change prefixes of all variables and functions from
3765 rmail-spam-filter- or spam-filter- or rmail-spam- to rsf-.
3767 2004-02-16 Eli Zaretskii <eliz@gnu.org>
3769 * loadhist.el (unload-hook-features-list): New defvar.
3771 2004-02-16 Dave Love <fx@gnu.org>
3773 * loadhist.el (unload-feature): Doc fix. Rename flist to
3774 unload-hook-features-list.
3776 2004-02-16 Jay Belanger <belanger@truman.edu> (tiny change)
3778 * calc/calc-embed.el (calc-do-embedded-activate): Add autoload
3779 cookie. Don't check if we are looking-at open-formula.
3781 2004-02-16 Jesper Harder <harder@ifa.au.dk> (tiny change)
3783 * subr.el (match-string-no-properties): Use substring-no-properties.
3785 2004-02-16 Eli Zaretskii <eliz@gnu.org>
3787 * emacs-lisp/rx.el (rx-check, rx-check-any, rx-check-not)
3788 (rx-repeat, rx-check-backref, rx-syntax, rx-to-string):
3789 Use lower-case "rx" in all error message.
3791 2004-02-16 Dave Love <fx@gnu.org>
3793 * emacs-lisp/rx.el (rx-or): Put group around result.
3794 (rx-constituents): Add backref.
3795 (rx-syntax): Add string-delimiter, comment-delimiter.
3796 (rx-categories): Add combining-diacritic.
3797 (rx-check-not, rx-greedy, rx): Doc fix.
3798 (rx-backref, rx-check-backref): New.
3800 2004-02-16 Jesper Harder <harder@ifa.au.dk>
3802 * newcomment.el (uncomment-region): Allow eob as comment end.
3804 2004-02-16 Jari Aalto <jari.aalto@poboxes.com>
3806 * filecache.el: All message and error commands now use prefix
3807 "Filecache:" to make it easy to read *Messages* buffer.
3809 2004-02-16 Jari Aalto <jari.aalto@poboxes.com>
3811 * autorevert.el: Add support to detect changed dired and VC buffers.
3812 (auto-revert-active-p, auto-revert-list-diff)
3813 (auto-revert-dired-file-list, auto-revert-dired-changed-p)
3814 (auto-revert-handler, auto-revert-active-p): New functions.
3815 (auto-revert-buffers): Move revert logic to `auto-revert-handler'
3816 and `auto-revert-active-p'.
3817 (eval-when-compile): Defvar dired-directory and vc-mode.
3818 (auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p)
3819 (auto-revert-handler-vc): New functions.
3821 2004-02-16 Alfred M. Szmidt <ams@kemisten.nu> (tiny change)
3823 * progmodes/compile.el (compilation-directory): New defvar.
3824 (compile): Save current directory in compilation-directory.
3825 (recompile): Bind default-directory to compilation-directory if
3828 2004-02-16 Dave Love <fx@gnu.org>
3830 * newcomment.el (comment-insert-comment-function)
3831 (comment-region-function, uncomment-region-function): New.
3832 (comment-indent): Use comment-insert-comment-function.
3833 (uncomment-region): Use uncomment-region-function.
3834 (comment-region): Use comment-region-function.
3836 * emacs-lisp/rx.el (rx-not): Bind case-fold-search to nil.
3838 2004-02-16 Richard Stallman <rms@gnu.org>
3840 * Makefile.in (TAGS, TAGS-LISP): Filter out of `els' only
3841 loaddefs* and ldefs-boot*.
3843 2004-02-16 Eli Zaretskii <eliz@gnu.org>
3845 * mail/mail-utils.el (rmail-dont-reply-to): Anchor user login name
3846 and email address at the beginning and end of the address.
3848 * mail/rmail.el (rmail-default-dont-reply-to-names): Make "info-"
3849 anchored at the beginning of the email address.
3851 2004-02-16 TAKAI Kousuke <tak@kmc.gr.jp> (tiny change)
3853 * international/ccl.el (ccl-compile-write): Pass `left' to
3854 ccl-embed-code to generate correct code of write-expr-register.
3856 2004-02-15 Dan Nicolaescu <dann@ics.uci.edu> (tiny change)
3858 * progmodes/grep.el (grep-compute-defaults): Fix typos.
3860 2004-02-15 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
3862 * x-dnd.el: Mention support for Motif in commentary.
3863 (x-dnd-handle-drag-n-drop-event): Ditto.
3865 2004-02-14 Jonathan Yavner <jyavner@member.fsf.org>
3867 * ses.el: Use "ses--" prefixes for buffer-local variables.
3868 Use (point-min) instead of 1, even when we know the buffer
3870 (ses-build-load-map): Delete. Distribute its content to defconst's for
3872 (ses-menu, ses-header-line-menu): New menus.
3873 (ses-mode-map): Use them.
3874 (ses-read-number) New fun. Duplicates code from interactive "N" spec.
3876 2004-02-14 Martin Stjernholm <bug-cc-mode@gnu.org>
3878 * Makefile.in: Fix the CC Mode recompile kludge so it works
3879 when building in a different directory.
3881 2004-02-13 Luc Teirlinck <teirllm@auburn.edu>
3883 * simple.el (kill-new): Put yank-handler property on the entire string.
3885 2004-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * diff.el: Don't use compile any more, use diff-mode instead.
3888 (diff-regexp-alist, diff-old-file, diff-new-file)
3889 (diff-parse-differences, diff-process-setup): Remove.
3890 (diff-sentinel): New fun.
3891 (diff): Use it. Run the process ourselves.
3892 Use diff-mode for the rest of the processing.
3894 * diff.el (diff): Simplify code handling `switch'.
3896 2004-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3898 * pcvs-defs.el (cvs-menu): Add `tag'.
3900 2004-02-11 Luc Teirlinck <teirllm@auburn.edu>
3902 * simple.el (kill-append): Doc fix.
3904 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3905 Adapt outline-regexp to the new conventions for commenting out code.
3907 2004-02-11 John Paul Wallington <jpw@gnu.org>
3909 * mail/smtpmail.el (smtpmail-try-auth-methods): Fix typo.
3911 2004-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
3913 * diff.el (diff-switches): New fun.
3914 (diff, diff-backup): Use it.
3915 (diff): Clean up the args construction. Use backquote.
3916 Use listp instead of consp to avoid putting a nil arg.
3917 (diff): Add a revert-buffer function.
3919 2004-02-10 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
3921 * x-dnd.el (x-dnd-types-alist): Add COMPOUND_TEXT, FILE_NAME
3922 handled by x-dnd-handle-file-name.
3923 (x-dnd-known-types): Add COMPOUND_TEXT.
3924 (x-dnd-init-frame): Call x-dnd-init-motif-for-frame.
3925 (x-dnd-get-state-cons-for-frame): Must do copy-sequence on
3927 (x-dnd-forget-drop): Ditto.
3928 (x-dnd-save-state): Add optional parameter extra-data (for Motif).
3929 (x-dnd-handle-one-url): Return private when inserting text.
3930 (x-dnd-insert-ctext): New function.
3931 (x-dnd-handle-file-name): New function for FILE_NAME.
3932 (x-dnd-handle-drag-n-drop-event): Add Motif, remove call to error.
3933 (x-dnd-init-motif-for-frame, x-dnd-get-motif-value)
3934 (x-dnd-motif-value-to-list, x-dnd-handle-motif): New functions.
3936 2004-02-10 Kenichi Handa <handa@m17n.org>
3938 * term/x-win.el (x-select-utf8-or-ctext): Use compare-strings
3939 instead of while loop.
3941 2004-02-10 Miles Bader <miles@gnu.org>
3943 * emacs-lisp/macroexp.el: New file, implements `macroexpand-all'.
3945 2004-02-09 Kenichi Handa <handa@m17n.org>
3947 * tar-mode.el (tar-extract): Fix for the case that a file doesn't
3950 2004-02-09 Martin Stjernholm <bug-cc-mode@gnu.org>
3952 * Makefile.in: Added extra dependencies in the recompile target
3953 needed to cope with the compile time macro expansions in CC Mode.
3955 2004-02-09 Kim F. Storm <storm@cua.dk>
3957 * fringe.el (no-fringe-bitmap, undef-fringe-bitmap)
3958 (left-truncation-fringe-bitmap, right-truncation-fringe-bitmap)
3959 (up-arrow-fringe-bitmap, down-arrow-fringe-bitmap)
3960 (continued-line-fringe-bitmap, continuation-line-fringe-bitmap)
3961 (overlay-arrow-fringe-bitmap, top-left-angle-fringe-bitmap)
3962 (top-right-angle-fringe-bitmap, bottom-left-angle-fringe-bitmap)
3963 (bottom-right-angle-fringe-bitmap, left-bracket-fringe-bitmap)
3964 (right-bracket-fringe-bitmap, filled-box-cursor-fringe-bitmap)
3965 (hollow-box-cursor-fringe-bitmap, hollow-square-fringe-bitmap)
3966 (bar-cursor-fringe-bitmap, hbar-cursor-fringe-bitmap)
3967 (empty-line-fringe-bitmap): Define standard fringe bitmaps id's.
3969 2004-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3971 * window.el (window-safely-shrinkable-p): Don't change the buffer-list.
3972 Don't allow shrink if there's a window on our right.
3974 * progmodes/prolog.el (prolog-program-name): Use gprolog if available.
3975 (prolog-mode-syntax-table, prolog-mode-abbrev-table, prolog-mode-map):
3976 Bring together declaration and initialization.
3977 (prolog-mode-variables): Don't set the syntax table.
3978 Don't set paragraph-start and comment-indent-function.
3979 Add /*..*/ to the comment regexps.
3980 (prolog-mode-commands): Remove. Do it during init of prolog-mode-map.
3981 (prolog-mode-map): Don't bind TAB.
3982 (prolog-mode): Set the syntax table.
3983 (prolog-comment-indent): Remove.
3984 (inferior-prolog-mode-map): Initialize in the declaration.
3985 (inferior-prolog-mode-syntax-table)
3986 (inferior-prolog-mode-abbrev-table): New vars.
3987 (inferior-prolog-mode): Derive from comint-mode.
3988 (run-prolog): Avoid switch-to-buffer which can fail in dedicated and
3991 * progmodes/grep.el (grep-regexp-alist): Allow :, \t and (
3992 in file names, as long as it is unabmiguous.
3994 2004-02-08 Andreas Schwab <schwab@suse.de>
3996 * textmodes/reftex-toc.el
3997 (reftex-toc-load-all-files-for-promotion): Remove useless use of
4000 * textmodes/refer.el (refer-find-entry-internal): Remove extra
4001 format string arguments.
4003 * tar-mode.el (tar-parse-octal-integer-safe): Add missing format
4006 * progmodes/xscheme.el (verify-xscheme-buffer): Fix format strings.
4008 * play/zone.el (zone-call): Fix format string.
4010 * net/webjump.el (webjump-builtin): Add missing format string argument.
4012 * midnight.el (midnight-delay-set): Remove extra format string argument.
4014 * mail/rmail.el (rmail-get-new-mail): Remove useless use of format.
4016 * hexl.el (hexl-insert-char): Add missing format string argument.
4018 * format.el (format-decode): Fix format string.
4020 * emulation/vi.el (vi-mode): Remove extra format string argument.
4021 (vi-repeat-last-search): Likewise.
4022 (vi-reverse-last-search): Likewise.
4023 (vi-goto-mark): Likewise.
4024 (vi-reverse-last-find-char): Likewise.
4025 (vi-repeat-last-find-char): Likewise.
4026 (vi-locate-def): Likewise.
4028 * emacs-lisp/lisp-mnt.el (lm-verify): Remove useless use of format.
4030 * ediff-util.el (ediff-toggle-read-only): Remove extra format
4032 (ediff-toggle-regexp-match): Likewise.
4034 * dired-aux.el (dired-do-query-replace-regexp): Add missing
4035 format string argument.
4037 * calc/calc-map.el (calc-get-operator): Remove extra format
4040 * calc/calc-forms.el (calc-convert-time-zones): Fix format string.
4042 * calc/calc-ext.el (calc-do-prefix-help): Remove extra format
4045 * eshell/esh-mode.el (eshell-send-invisible): Fix format string.
4047 * eshell/em-hist.el (eshell-hist-word-reference): Fix format string.
4049 * emulation/viper-ex.el (ex-mark): Remove extra format string argument.
4051 * emacs-lisp/cl-macs.el (defstruct): Remove extra format string arg.
4052 (cl-struct-setf-expander): Likewise.
4054 * vc.el (with-vc-file): Fix unsafe uses of error.
4055 (vc-cancel-version): Likewise.
4057 2004-02-08 Jan Nieuwenhuizen <jan.nieuwenhuizen@aspiratie.nl> (tiny change)
4059 * progmodes/gud.el (gud-jdb-marker-filter): Add period as optional
4060 thousands separator; fixes <class>:<line-number> regexp for
4061 non-english locales.
4063 2004-02-08 Andreas Schwab <schwab@suse.de>
4065 * view.el (view-mode-enable): Revert previous change.
4067 2004-02-07 Kim F. Storm <storm@cua.dk>
4069 * simple.el (line-number-at-pos): Rename from line-at-pos.
4070 Uses changed (what-line and vc-annotate-warp-version).
4072 2004-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4074 * diff-mode.el (diff-file-regexp-alist, diff-error-regexp-alist)
4075 (diff-mode): Remove aborted attempt at support for compile.el.
4076 (diff-mode, diff-minor-mode): Avoid obsolete write-contents-hooks.
4078 2004-02-06 Andreas Schwab <schwab@suse.de>
4080 * view.el (view-mode-enable): Add view-mode-map to
4081 minor-mode-overriding-map-alist.
4083 2004-02-05 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
4085 * x-dnd.el (x-dnd-get-local-file-name): Fix byte compiler warning
4087 2004-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * progmodes/cperl-mode.el (cperl-fill-paragraph): Call fill-paragraph
4090 with point inside rather than after the paragraph.
4092 2004-02-04 Sam Steingold <sds@gnu.org>
4094 * mail/smtpmail.el (smtpmail-try-auth-methods):
4095 Do not try authentication when no mechanism is available.
4096 Pass port-name as defaultport to `netrc-machine'.
4098 2004-02-04 Stephen Eglen <stephen@gnu.org>
4100 * iswitchb.el (iswitchb-minibuffer-setup-hook): Update doc string
4101 to show how minibuffer height can be constrained.
4103 2004-02-04 John Paul Wallington <jpw@gnu.org>
4105 * files.el (auto-mode-alist): Fix .scm, .stk, .ss, .sch entry.
4107 2004-02-03 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
4109 * x-dnd.el: New file for drag and drop.
4111 * term/x-win.el: require x-dnd, set after-make-frame-functions
4112 to x-dnd-init-frame, let x-dnd-handle-drag-n-drop-event handle
4115 * dired.el (dired-dnd-test-function, dired-dnd-popup-notice)
4116 (dired-dnd-do-ask-action, dired-dnd-handle-local-file)
4117 (dired-dnd-handle-file): New functions for drag and drop support.
4118 (dired-mode): Initialize drag and drop if x-dnd present.
4120 2004-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4122 * progmodes/cperl-mode.el (cperl-mode-map, cperl-do-auto-fill)
4123 (cperl-menu): Use fill-paragraph, not cperl-fill-paragraph.
4124 (cperl-mode): Set fill-paragraph-function.
4125 (cperl-fill-paragraph): Make it non-interactive.
4127 2004-02-02 Benjamin Rutt <brutt@bloomington.in.us>
4129 * diff-mode.el (diff-mode-shared-map): Bind q to `quit-window'.
4131 2004-02-02 David Kastrup <dak@gnu.org>
4133 * replace.el (perform-replace): Allow 'literal argument in
4134 regexp-flag to indicate literal replacement.
4135 (query-replace-regexp-eval): Use it.
4137 2004-02-01 Andreas Schwab <schwab@suse.de>
4139 * progmodes/executable.el (executable-command-find-posix-p): Doc fix.
4141 2004-02-01 Stephen Eglen <stephen@gnu.org>
4143 * info-look.el: Add support for maxima-mode. Update commentary
4144 because info-lookup-symbol is now bound to C-h S.
4146 2004-01-31 Luc Teirlinck <teirllm@auburn.edu>
4148 * simple.el (edit-and-eval-command): Bind print-level and
4149 minibuffer-history-sexp-flag around call to read-from-minibuffer.
4150 Correct initial position in command-history.
4152 2004-01-30 Luc Teirlinck <teirllm@auburn.edu>
4154 * files.el (read-directory-name): Adapt the docstring to recent
4155 change in Fread_file_name.
4157 2004-01-30 Jonathan Yavner <jyavner@member.fsf.org>
4159 * ses.el (ses-print-cell): If print format too wide for column
4160 width, truncate decimal places if that helps to avoid "#####" fill.
4161 * ses.el (ses-initial-column-width): Revert previous change.
4163 2004-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
4165 * jit-lock.el (jit-lock-context-time, jit-lock-context-timer): New var.
4166 (with-buffer-unmodified, with-buffer-prepared-for-jit-lock):
4168 (jit-lock-mode): Setup/cancel the new timer.
4169 (jit-lock-context-fontify): New fun. Extracted from
4170 context fontification code of jit-lock-stealth-fontify.
4171 (jit-lock-stealth-fontify): Don't do context fontification any more.
4173 * jit-lock.el (jit-lock-stealth-fontify): Allow quit.
4174 (jit-lock-fontify-now): Handle the `quit' case.
4175 (jit-lock-contextually): Rename from jit-lock-defer-contextually.
4177 2004-01-29 Jari Aalto <jari.aalto@poboxes.com>
4179 * progmodes/executable.el (executable-command-find-posix-p):
4180 New. Check if find handles arguments Posix-style.
4182 * progmodes/grep.el (grep-compute-defaults):
4183 Use executable-command-find-posix-p.
4184 (grep-find): Check `grep-find-command'.
4186 * filecache.el (file-cache-find-posix-p): Delete.
4187 (file-cache-add-directory-using-find):
4188 Use `executable-command-find-posix-p'.
4190 2004-01-29 Dave Love <fx@gnu.org>
4192 * emacs-lisp/lisp.el (beginning-of-defun-raw, end-of-defun):
4193 Iterate the hook function if arg is given.
4194 (mark-defun, narrow-to-defun): Change order of finding the limits.
4196 * emacs-lisp/bytecomp.el (byte-compile-compatibility): Doc fix.
4197 (byte-compile-format-warn): New.
4198 (byte-compile-callargs-warn): Use it.
4199 (Format, message, error): Add byte-compile-format-like property.
4200 (byte-compile-maybe-guarded): New.
4201 (byte-compile-if, byte-compile-cond): Use it.
4202 (byte-compile-lambda): Compile interactive forms,
4203 just to make warnings about them.
4205 2004-01-29 Jonathan Yavner <jyavner@member.fsf.org>
4207 * ses.el (ses-initial-column-width): Increase to 14, so it will
4208 work well with the default printer of "%.7g" for extreme values
4209 like "-1.234567e+07".
4211 2004-01-29 Kenichi Handa <handa@m17n.org>
4213 * term/x-win.el (x-selection-value): Optimize for ASCII only case.
4215 2004-01-28 Peter 'Luna' Runestig <peter@runestig.com>
4217 * dos-w32.el: Added support for the `default-printer-name' function.
4219 2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
4221 * server.el (server-socket-name): Don't use the hostname in the
4222 socket name since /tmp is local to the host anyway.
4224 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Use a more
4225 robust check of widening and fix var-naming.
4227 2004-01-27 Eli Tziperman <eli@deas.harvard.edu>
4229 * rmail-spam-filter.el: Change rmail-spam-filter- or spam-filter-
4230 or rmail-spam- to rsf- in all function and variable names.
4231 (rsf-min-region-to-spam-list): New variable.
4232 (rsf-bbdb-auto-delete-spam-entries): Rename from
4233 rmail-bbdb-auto-delete-spam-bbdb-entries. The cc: field is
4234 scanned together with the recipients field for spam testing; Don't
4235 delete spam message if rmail-delete-after-output is non-nil;
4236 (rsf-check-field): New function, extracted from code in
4237 rmail-spam-filter to ease addition of header fields like
4239 (message-content-type): New variable. The content-type: field was
4240 added also in defcustom of rsf-definitions-alist;
4241 (rmail-spam-filter): Replace repeated test code for header fields
4242 by calls to check-field; change the call to
4243 rmail-output-to-rmail-file such that rmail-current-message stays
4244 the same to avoid wrong deletion of unseen flags.
4245 (rmail-use-spam-filter): Add autoload cookie.
4247 2004-01-27 Jari Aalto <jari.aalto@poboxes.com>
4249 * filecache.el (file-cache-find-posix-p): New function. Detect Cygwin.
4250 (file-cache-add-directory-using-find): Add Cygwin support.
4251 (file-cache-find-command-posix-flag): New user variable.
4253 * filecache.el (file-cache-add-directory): Check for
4254 directories an remove them from dir-files.
4256 2004-01-27 Richard M. Stallman <rms@gnu.org>
4258 * man.el (Man-fontify-manpage): Clean up message.
4260 2004-01-27 Kenichi Handa <handa@m17n.org>
4262 * textmodes/paragraphs.el (sentence-end-without-space): New variable.
4263 (sentence-end): Define using sentence-end-without-space.
4265 * textmodes/fill.el (fill-delete-newlines): Don't add a space if
4266 a sentence ends with one of a character in sentence-end-without-space.
4268 2004-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
4270 * font-lock.el (font-lock): Add jit-lock as explicit group member.
4271 (jit-lock): Group declaration moved to jit-lock.el.
4272 (toplevel): Don't explicitly require jit-lock, since it's autoloaded
4275 * jit-lock.el (jit-lock): Move group declaration from font-lock.el.
4276 (jit-lock-context-unfontify-pos): Rename from
4277 jit-lock-first-unfontify-pos.
4278 (jit-lock-defer-buffers): Rename from jit-lock-buffers.
4280 2004-01-25 Glenn Morris <gmorris@ast.cam.ac.uk>
4282 * progmodes/fortran.el (fortran-break-before-delimiters): Doc fix.
4283 (fortran-break-delimiters-re, fortran-no-break-re): New consts.
4284 (fortran-fill): When filling a string, adjust re-search-backward
4285 argument for special case of string just on fill-column.
4286 When filling non-string, allow one extra char if
4287 fortran-break-before-delimiters is non-nil.
4288 Suggested by Michael Hagemann <michael.hagemann@unibas.ch>.
4289 Use fortran-break-delimiters-re and fortran-no-break-re to
4290 correctly handle cases such as "**".
4292 * progmodes/f90.el (f90-break-delimiters): Doc fix.
4293 (f90-no-break-re): Add some extra tokens. Doc fix.
4295 2004-01-24 Thien-Thi Nguyen <ttn@gnu.org>
4297 * mail/rmail-spam-filter.el:
4298 Use two semicolons as Commentary line prefix.
4299 Add ";;; Code:" stylized comment.
4300 Delete end-of-line whitespace.
4301 Wrap (require 'cl) with `eval-when-compile'.
4303 2004-01-23 Benjamin Rutt <brutt@bloomington.in.us>
4305 * vc.el (vc-annotate): Fix improper use of `make-local-variable'
4306 at the top level of vc.el.
4308 2004-01-23 Andre Spiegel <spiegel@gnu.org>
4310 * vc.el (vc-current-line): Function removed. This is now done by
4311 the new function line-at-pos in simple.el.
4312 (vc-annotate-warp-version): Use line-at-pos instead of
4315 2004-01-22 Kim F. Storm <storm@cua.dk>
4317 * simple.el (line-at-pos): New defun.
4318 (what-line): Use it. Optimize by only counting lines in narrowed
4321 2004-01-22 Kenichi Handa <handa@m17n.org>
4323 * language/cyrillic.el (ccl-encode-windows-1251-font): Rearrange code
4324 point (register r1) only for charset mule-unicode-0100-24ff.
4326 2004-01-21 Markus Rost <rost@mathematik.uni-bielefeld.de>
4328 * mail/rmail.el (rmail-convert-to-babyl-format): Avoid deleting
4329 trailing white space and ensure a final newline.
4331 * mail/rmail-spam-filter.el (rmail-use-spam-filter):
4332 Add autoload cookie.
4334 2004-01-21 Benjamin Rutt <brutt@bloomington.in.us>
4336 * vc.el (vc-annotate-mode): Inherit from fundamental-mode and
4337 activate view-mode explicitly.
4339 2004-01-21 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
4341 * term/x-win.el: Call menu-bar-enable-clipboard and make Paste
4342 use clipboard first.
4344 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4346 * vc-mcvs.el (vc-mcvs-mode-line-string): Remove. Does not work.
4347 (vc-mcvs-workfile-version): Manually macro expand vc-mcvs-cvs.
4348 (vc-mcvs-cvs): Remove.
4349 (vc-mcvs-command): Remove use of assert.
4351 * outline.el (outline-insert-heading): Tighten up match.
4352 (outline-demote, outline-move-subtree-down): Don't assume anything
4353 about outline-regexp.
4355 * textmodes/texinfo.el (texinfo-mode): Remove ^ from outline-regexp.
4356 (texinfo-show-structure): Explicitly add ^, and simplify.
4358 2004-01-20 Glenn Morris <gmorris@ast.cam.ac.uk>
4360 * calendar/appt.el (appt-check): Restore usage of
4361 appt-issue-message deleted in previous change.
4362 (top-level): Activate package when loaded (needed for backwards
4365 2004-01-20 Jesper Harder <harder@ifa.au.dk>
4367 * mail/smtpmail.el (smtpmail-via-smtp): No need to add two bytes
4368 following previous change to smtpmail-send-data.
4370 2004-01-20 Benjamin Rutt <brutt@bloomington.in.us>
4372 * vc.el (vc-default-previous-version): Doc enhancement.
4373 (vc-default-next-version): New function.
4374 (vc-print-log): New arg FOCUS-REV.
4375 (vc-annotate-mode): Derive from view-mode.
4376 (vc-annotate): New args REVISION, DISPLAY-MODE.
4377 (vc-annotate-workfile-version, vc-annotate-extract-revision-at-line)
4378 (vc-annotate-revision-at-line, vc-annotate-revision-previous-to-line)
4379 (vc-annotate-show-log-revision-at-line, vc-annotate-warp-version)
4380 (vc-annotate-show-diff-revision-at-line, vc-current-line)
4381 (vc-annotate-prev-version, vc-annotate-next-version): New functions.
4383 * vc-cvs.el (vc-cvs-annotate-extract-revision-at-line): New function.
4385 2004-01-19 Karl Berry <karl@gnu.org>
4387 * textmodes/texinfo.el: Use "Texinfo" consistently, no "TeXinfo"
4390 2004-01-19 Luc Teirlinck <teirllm@auburn.edu>
4392 * subr.el (delete-dups): New function.
4394 2004-01-19 Karl Berry <karl@gnu.org>
4396 * textmodes/texinfo.el (texinfo-mode): Define outline-regexp to start
4397 with ^, since that's what texinfo-show-structure
4398 documentation says (plus it works much better in texinfo.txi).
4400 2004-01-18 Jesper Harder <harder@ifa.au.dk>
4402 * mail/smtpmail.el (smtpmail-send-data): Don't append spurious newline.
4404 2004-01-18 David Ponce <david@dponce.com> (tiny change)
4406 * progmodes/which-func.el (which-function-mode): Don't cancel
4407 which-func-update-timer if not set.
4409 2004-01-17 Thien-Thi Nguyen <ttn@gnu.org>
4411 * calendar/diary-lib.el (diary-entry-time): Fix typo/bug:
4412 Remove spurious left square bracket in XX:XXam regexp.
4414 2004-01-16 Luc Teirlinck <teirllm@auburn.edu>
4416 * progmodes/cc-defs.el: Do not require cl at run time.
4418 2004-01-16 Richard M. Stallman <rms@gnu.org>
4420 * emacs-lisp/cl.el (cl-cannot-unload): New function.
4421 (cl-unload-hook): Defvar this to run cl-cannot-unload.
4423 * mail/rmail.el (rmail-get-new-mail): New local rsf-number-of-spam.
4424 Call rmail-spam-filter. Delete and expunge spam.
4425 Print number of spam messages deleted.
4426 Save and restore the deletion status of old messages when reading
4427 new mail with spam filter, so that expunging spam does not expunge
4428 msgs deleted by the user.
4429 (rmail-only-expunge): Add an optional argument dont-show to
4430 prevent showing message after expunge.
4432 2004-01-15 Luc Teirlinck <teirllm@auburn.edu>
4434 * emacs-lisp/cl.el (declare): Add `fmakunbound' for `declare'.
4435 * subr.el (declare): New macro.
4437 2004-01-15 Thien-Thi Nguyen <ttn@gnu.org>
4439 * progmodes/scheme.el (scheme-font-lock-keywords-2): Add "force".
4441 2004-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4443 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
4444 Test window-system rather than system-type (for X11/Mac).
4446 2004-01-12 Luc Teirlinck <teirllm@auburn.edu>
4448 * emacs-lisp/bytecomp.el (compile-defun): Doc fix.
4450 2004-01-12 Richard M. Stallman <rms@gnu.org>
4452 * mail/rmail.el (rmail-convert-to-babyl-format):
4453 Use mail-unquote-printable-region.
4454 (rmail-hex-string-to-integer, rmail-decode-quoted-printable):
4455 (rmail-hex-char-to-integer): Functions deleted.
4457 * mail/mail-utils.el (mail-unquote-printable-hexdigit): Upcase CHAR.
4458 (mail-unquote-printable-region): New arg NOERROR.
4459 For invalid encoding, either signal an error to just return nil.
4461 2004-01-11 Glenn Morris <gmorris@ast.cam.ac.uk>
4463 * calendar/appt.el: Update copyright and commentary.
4464 (appt-issue-message): Make obsolete.
4465 (appt-visible, appt-msg-window): Make obsolete, in favour of
4466 appt-display-format.
4467 (appt-display-mode-line, appt-display-duration)
4468 (appt-display-diary, appt-time-msg-list, appt-mode-string)
4469 (appt-prev-comp-time, appt-display-count, appt-timer)
4470 (appt-convert-time): Doc change.
4471 (appt-disp-window-function, appt-delete-window-function):
4472 Use defcustom rather than defvar.
4473 (appt-display-format): New variable.
4474 (appt-display-message): New function with display code from appt-check.
4475 (appt-check): Add optional FORCE argument. Doc change.
4476 Add appt-make-list to diary-hook if displaying diary.
4477 Remove checking of view-diary-entries-initially.
4478 Message display section removed to new function appt-display-message.
4479 (appt-display-window): Doc change. Remove unused internal var
4480 this-buffer. Do not beep, since appt-display-message does that.
4481 (appt-make-list): Doc change. Use caar.
4482 (appt-sort-list): Simplify by using builtin sort function.
4483 (appt-update-list): New function for updating appts when diary is
4485 (appt-activate): New autoloaded function to toggle package
4488 * calendar/cal-x.el: (calendar-one-frame-setup)
4489 (calendar-only-one-frame-setup, calendar-two-frame-setup): Doc change.
4491 * calendar/calendar.el: Update copyright.
4492 (view-diary-entries-initially, european-calendar-style): Doc change.
4493 (calendar-setup): Make defcustom rather than defvar.
4494 (mark-visible-calendar-date): Initialize temp-face and faceinfo
4495 in let binding so local to function.
4497 * calendar/diary-lib.el: Update copyright.
4498 (diary, diary-entry-time): Doc change.
4499 (list-diary-entries): Doc change. Trivial logic change.
4500 (fancy-diary-display): Restore make-face command mistakenly
4502 (show-all-diary-entries): Allow to pop-up frame if needed.
4504 2004-01-09 John Paul Wallington <jpw@gnu.org>
4506 * bindings.el (mode-line-change-eol): Add EVENT parameter.
4507 Temporarily select EVENT's window for changing eol type.
4509 2004-01-09 Deepak Goel <deego@gnufans.org>
4511 * calendar/diary-lib.el (diary-entry-time):
4512 Also accept time in the form XX[.XX][am/pm/AM/PM].
4513 (fancy-diary-font-lock-keywords): Likewise.
4514 (diary-font-lock-keywords): Likewise.
4515 * calendar/appt.el (appt-add): Likewise.
4516 (appt-make-list): Likewise.
4517 (appt-convert-time): Likewise.
4519 2004-01-08 Nick Roberts <nick@nick.uklinux.net>
4521 * gdb-ui.el (gdb-ann3): Revert previous change.
4522 (gdb-source-info): Allow for case of where compilation directory
4525 2004-01-08 John Paul Wallington <jpw@gnu.org>
4527 * emerge.el (emerge-restore-buffer-characteristics): Doc fix.
4529 2004-01-07 Nick Roberts <nick@nick.uklinux.net>
4531 * progmodes/gud.el (gdb-first-prompt): Rename from gdb-first-pre-prompt
4533 * gdb-ui.el (gdba): Avoid duplication, use gdb-ann3.
4534 (gdb-ann3): Use GDB command "set width 0" to prevent word wrapping
4536 (gdb-prompt): Set (renamed) gdb-first-prompt to nil in gdb-ann3.
4538 2004-01-07 Luc Teirlinck <teirllm@auburn.edu>
4540 * files.el (write-file-functions, write-contents-functions):
4543 2004-01-07 Kenichi Handa <handa@m17n.org>
4545 * international/mule.el (set-auto-coding): Fix for the case that
4546 end-of-line is only CR.
4548 2004-01-07 Kim F. Storm <storm@cua.dk>
4550 * subr.el (event-start, event-end): Doc fix.
4551 (posn-string, posn-image): New defuns.
4552 (posn-object): Return either image or string object.
4553 (posn-object-x-y): Return 8th element of position.
4554 (posn-object-width-height): New defun.
4556 2004-01-06 Andreas Schwab <schwab@suse.de>
4558 * gdb-ui.el (gdb-frame-handler): Handle word wrapping anywhere in
4561 2004-01-05 Karl Berry <karl@gnu.org>
4563 * emacs-lisp/copyright.el (copyright-regexp): Might as well allow
4566 2003-12-31 Simon Josefsson <jas@extundo.com>
4568 * files.el (before-save-hook): Add.
4569 (basic-save-buffer): Use before-save-hook.
4571 * emacs-lisp/copyright.el: Fix comment to recommend
4572 before-save-hook instead of write-file-functions.
4574 2004-01-05 Richard M. Stallman <rms@gnu.org>
4576 * finder.el (finder-commentary): Call delete-other-windows.
4578 * net/ange-ftp.el (ange-ftp-file-attributes):
4579 Pass 2 args to ange-ftp-real-file-attributes only if ID-FORMAT non-nil.
4581 2004-01-04 Karl Berry <karl@gnu.org>
4583 * emacs-lisp/copyright.el (copyright-regexp): Allow the common
4584 comment characters % and # in the copyright year notice,
4587 2004-01-04 Per Abrahamsen <abraham@dina.kvl.dk>
4589 * wid-edit.el (default): Define dummy :value-delete.
4590 Reported by Jesper Harder <harder@ifa.au.dk>.
4592 2004-01-03 Richard M. Stallman <rms@gnu.org>
4594 * progmodes/compile.el (compile-internal): Use point, not point-min,
4595 for set-window-point.
4597 * textmodes/tex-mode.el (latex-find-indent): Avoid error at end of buf.
4599 * emacs-lisp/lisp-mnt.el (lm-section-end): Require outline.
4601 * progmodes/grep.el (grep-mode-map):
4602 Don't remap next-line, previous-line.
4604 2004-01-03 Eric M. Ludlam <eric@siege-engine.com>
4606 * speedbar.el (speedbar-edit-line): Change regexp to position
4607 the cursor on the first character of this line's button.
4609 2004-01-03 Luc Teirlinck <teirllm@auburn.edu>
4611 * subr.el (functionp): Doc fix.
4613 2004-01-03 Jesper Harder <harder@ifa.au.dk> (tiny change)
4615 * progmodes/idlwave.el (idlwave-make-tags):
4616 * textmodes/flyspell.el (flyspell-large-region):.
4617 * progmodes/make-mode.el (makefile-query-by-make-minus-q):
4618 * emulation/viper-util.el (viper-glob-unix-files):
4619 * emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
4620 * man.el (Man-init-defvars):
4621 * jka-compr.el (jka-compr-call-process):
4622 * files.el (get-free-disk-space,insert-directory):
4623 * ediff-ptch.el (ediff-test-patch-utility):
4624 * ediff-diff.el (ediff-test-utility):
4625 * dired-aux.el (dired-check-process):
4626 * mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
4627 test the return value of call-process, because it can be a string.
4629 2003-12-31 John Paul Wallington <jpw@gnu.org>
4631 * bindings.el (completion-ignored-extensions): Add .pfsl.
4633 2003-12-31 Kim F. Storm <storm@cua.dk>
4635 * ido.el (ido-nonreadable-directory-p): New defun to check for
4636 nonreadable directory without activating tramp (to avoid problems
4637 with checking incomplete tramp paths).
4638 (ido-set-current-directory, ido-file-internal)
4639 (ido-file-name-all-completions1): Use it.
4641 2003-12-30 Luc Teirlinck <teirllm@auburn.edu>
4643 * help-mode.el (help-xref-info-regexp): Make hyperlinks to Info
4644 documentation if the anchor (or node) name is preceded by `info
4645 anchor' or `Info anchor' in addition to earlier `info node' and
4647 (help-make-xrefs): Adapt to new value of `help-xref-info-regexp'.
4649 2003-12-30 Eli Zaretskii <eliz@gnu.org>
4651 * mail/rmail.el (rmail-convert-to-babyl-format): Fix off-by-one
4652 error in arguments to base64-decode-region. Remove ^M characters
4653 after decoding base64.
4655 2003-12-30 Simon Josefsson <jas@extundo.com>
4657 * textmodes/texinfo.el: Change maintainer to FSF. Suggested by
4658 karl@freefriends.org (Karl Berry), since the Texinfo Elisp files
4659 have only been distributed with Emacs for some years.
4660 (texinfo-mode-hook): Customize.
4662 2003-12-30 Eli Zaretskii <eliz@gnu.org>
4664 * mail/rmail.el (rmail-convert-to-babyl-format): Make the code
4665 cleaner (suggested by Richard Stallman).
4667 * progmodes/gud.el (gud-tool-bar-map): Modify names of icon files
4668 for gud-next, gud-nexti, gud-step and gud-stepi to prevent
4669 file-name clashes on 8+3 DOS filesystems.
4671 * toolbar/gud-next.pbm, toolbar/gud-next.xpm
4672 * toolbar/gud-nexti.pbm, toolbar/gud-nexti.xpm
4673 * toolbar/gud-step.pbm, toolbar/gud-step.xpm
4674 * toolbar/gud-stepi.pbm, toolbar/gud-stepi.xpm: Renamed to
4675 gud-n.*, gud-ni.*, gud-s.*, and gud-si.*, respectively, to avoid
4676 file-name clashes on 8+3 filesystems.
4678 * emacs-lisp/tcover-unsafep.el, emacs-lisp/tcover-ses.el:
4679 Renamed from testcover-unsafep.el and testcover-ses.el to avoid
4680 file-name clashes on 8+3 DOS filesystems.
4682 2003-12-29 Richard M. Stallman <rms@gnu.org>
4684 * mail/mail-utils.el (mail-unquote-printable-hexdigit):
4685 Upcase the character.
4687 * textmodes/flyspell.el (mail-mode-flyspell-verify):
4688 Search for header separator alone on a line, literally,
4689 and search for it backward, not forward.
4690 (flyspell-abbrev-table): Always use global-abbrev-table
4691 if there is no local one.
4693 * progmodes/sh-script.el (sh-get-indent-info):
4694 Don't move point back if at bob.
4696 * progmodes/antlr-mode.el (save-buffer-state-x): Use with-no-warnings.
4698 * play/handwrite.el (handwrite): Make the handwrite credit message
4699 a comment rather than an output command.
4701 * obsolete/sc.el: Display message that this file is obsolete.
4703 * net/ange-ftp.el (ange-ftp-start-process): Copy the environment.
4705 * mail/rfc822.el (rfc822-address-start): Declare variable.
4706 Renamed from address-start. All uses changed.
4708 * term.el (term-exec): Set up sentinel.
4709 (term-sentinel): New function.
4710 (term-handle-exit): New function.
4712 * subr.el (assoc-ignore-case, assoc-ignore-representation):
4713 Use assoc-string, and mark them obsolete.
4714 (delay-mode-hooks): Mark as permanent local.
4716 * simple.el (sendmail-user-agent-compose): Use assoc-string.
4718 * register.el (copy-rectangle-to-register): Doc fix.
4720 * info.el (Info-insert-dir): Use assoc-string.
4722 * info-look.el (info-lookup): Use assoc-string.
4724 * frame.el (pop-up-frame-function): Use quote, not `function'.
4725 (frame-notice-user-settings): Calculate ADJUSTED-TOP
4726 copying with lists as coordinate values.
4728 * font-lock.el (font-lock-after-change-function): Bind inhibit-quit.
4730 * find-dired.el (kill-find): New command.
4731 (find-dired): Make buffer read-only.
4732 Set up a keymap with C-c C-k running kill-find.
4733 (find-dired-filter, find-dired-sentinel): Bind inhibit-read-only.
4735 * files.el (backup-buffer-copy): If MODES is nil, don't set modes.
4737 * filecache.el (file-cache-ignore-case): New variable.
4738 (file-cache-assoc-function): Var deleted. Use assoc-string instead.
4740 * comint.el (comint-arguments): Set COUNT after ARGS is complete.
4741 (comint-dynamic-complete-as-filename): Rename local vars.
4742 (comint-dynamic-list-filename-completions): Likewise.
4744 * comint.el (comint-dynamic-list-completions-config): New var.
4745 (comint-dynamic-list-completions): Handle both SPC and TAB right.
4747 * comint.el (comint-file-name-chars): Add [].
4748 (comint-word): Use skip-chars-backward, not search.
4750 * shell.el (shell-file-name-chars): Add [].
4752 * shell.el (shell-dynamic-complete-as-command): Rename local vars.
4754 * bookmark.el (bookmark-get-bookmark): Use assoc-string.
4756 * generic.el (define-generic-mode): Doc fix.
4758 2003-12-29 Eli Zaretskii <eliz@gnu.org>
4760 * files.el (kill-some-buffers): Doc fix.
4762 2003-12-29 David Herring <sdh6@ra.msstate.edu> (tiny change)
4764 * comint.el (comint-watch-for-password-prompt): Pass `string' as
4765 arg to send-invisible
4766 (send-invisible): Doc fix. The argument is now a prompt, not the
4768 (comint-read-noecho): Doc fix.
4770 2003-12-29 Michael R. Wolf <MichaelRWolf@att.net> (tiny change)
4772 * net/ange-ftp.el (ange-ftp-name-format): Allow USER to contain
4773 "@", as required by some ISP hosting service. Fix defcustom
4774 argument syntax errors that prevented use of customization.
4776 2003-12-29 Eli Zaretskii <eliz@gnu.org>
4778 * xml.el (xml-get-attribute-or-nil): Doc fix.
4780 2003-12-29 Peter 'Luna' Runestig <peter@runestig.com>
4782 * net/zone-mode.el (zone-mode): Use write-file-functions, not
4785 2003-12-29 Eric Hanchrow <offby1@blarg.net> (tiny change)
4787 * autorevert.el (auto-revert-interval): Doc fix.
4789 2003-12-29 Mark A. Hershberger <mah@everybody.org>
4791 * xml.el (xml-get-attribute-or-nil): New function, like
4792 xml-get-attribute, but returns nil if the attribute was not found.
4793 (xml-get-attribute): Convert to defsubst, uses
4794 xml-get-attribute-or-nil.
4796 2003-12-29 Eli Zaretskii <eliz@gnu.org>
4798 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix.
4800 2003-12-29 Alex Schroeder <alex@emacswiki.org> (tiny change)
4802 * custom.el (custom-declare-theme): Use `value' when putting
4803 properties on `theme'.
4805 2003-12-29 Takaaki Ota <Takaaki.Ota@am.sony.com>
4807 * subr.el (insert-for-yank): Call insert-for-yank-1 repetitively
4808 for each yank-handler segment.
4809 (insert-for-yank-1): New function, with the body of the previous
4812 * textmodes/table.el (table-yank-handler): New defcustom.
4813 (table--put-cell-indicator-property): Put yank-handler property
4814 that indicates the yank handler for the table cell.
4816 2003-12-29 Jesper Harder <harder@ifa.au.dk> (tiny change)
4818 * generic-x.el (etc-modules-conf-generic-mode): A more complete
4821 2003-12-29 Eli Zaretskii <eliz@gnu.org>
4823 * international/mule-cmds.el (reset-language-environment)
4824 (set-language-environment): Don't invoke fontset-related functions
4825 if fontset-list is not fboundp.
4827 2003-12-29 Kenichi Handa <handa@m17n.org>
4829 * international/mule-cmds.el (reset-language-environment):
4830 Call set-overriding-fontspec-internal with nil.
4831 (set-language-environment): Call set-overriding-fontspec-internal
4832 if the language environment specify `overriding-fontspec'.
4833 (language-info-alist): Doc added.
4835 * language/cyrillic.el (ccl-encode-koi8-font): Make it work for
4836 characters of mule-unicode-0100-24ff.
4837 (ccl-encode-windows-1251-font): New CCL program.
4838 ("Bulgarian"): Specify overriding-fontspec.
4839 ("Belarusian"): Likewise.
4841 2003-12-28 Sam Steingold <sds@gnu.org>
4843 * net/ange-ftp.el (ange-ftp-file-attributes): Add new optional
4844 parameter ID-FORMAT to conform with the 2003-11-30 patch.
4846 2003-12-28 Nick Roberts <nick@nick.uklinux.net>
4848 * progmodes/gud.el (gud-gdb-command-name): Set default to
4850 (gud-gdb-marker-filter): Look out for annotations.
4851 (gdb-first-pre-prompt): New variable.
4852 Remove trailing white space.
4854 * gdb-ui.el (gdb-prompt): Change filter for level 3 annotations,
4856 (gdb-ann3): New function. Initialise M-x gdb as for M-x gdba if
4857 annotations are detected.
4858 (gud-gdba-marker-filter): Use global variable gud-marker-acc
4859 instead of a local one to allow transition from
4860 gud-gdb-marker-filter.
4861 Remove trailing white space.
4863 2003-12-27 Kim F. Storm <storm@cua.dk>
4865 * ido.el: Handle non-readable directories.
4866 (ido-decorations): Add 9th element for non-readable directory.
4867 (ido-directory-nonreadable): New dynamic var.
4868 (ido-set-current-directory): Set it.
4869 (ido-read-buffer, ido-file-internal):
4870 (ido-read-file-name, ido-read-directory-name): Let-bind it.
4871 (ido-file-name-all-completions1): Return empty list for
4872 non-readable directory.
4873 (ido-exhibit): Print [Not readable] if directory is not readable.
4874 (ido-expand-directory): New defun (based on tiny fix from Karl Chen).
4875 (ido-read-file-name, ido-file-internal, ido-read-directory-name):
4878 2003-12-27 Lars Hansen <larsh@math.ku.dk>
4880 * ls-lisp.el (ls-lisp-insert-directory): Add parameter 'string in
4881 calls to directory-files-and-attributes and file-attributes.
4882 (ls-lisp-format): Remove system dependent handling of user and
4885 2003-12-25 Luc Teirlinck <teirllm@auburn.edu>
4887 * ffap.el (ffap-read-file-or-url): Revert previous change.
4889 2003-12-25 Robert J. Chassell <bob@rattlesnake.com>
4891 * textmodes/texnfo-upd.el (texinfo-multi-file-update): Create a
4892 new list of included files called `files-with-node-lines', that
4893 only have node lines. This way @include commands can include any
4894 file, such as version and update files without node lines, not
4895 just files that are chapters.
4897 2003-12-25 Andreas Schwab <schwab@suse.de>
4899 * jka-compr.el (jka-compr-insert-file-contents): Avoid error when
4902 2003-12-08 Miles Bader <miles@gnu.org>
4904 * dired.el (dired-between-files): Always use dired-move-to-filename,
4905 which is more robust in non-english locales.
4907 2003-12-25 Markus Rost <rost@mathematik.uni-bielefeld.de>
4909 * vc.el (vc-dired-purge): Avoid error from `kill-line'.
4911 2003-12-24 Andreas Schwab <schwab@suse.de>
4913 * shell.el (shell-file-name-quote-list): Add backslash.
4915 * comint.el (comint-quote-filename): Correctly handle backslash
4916 in comint-file-name-quote-list.
4918 2003-12-24 Kenichi Handa <handa@m17n.org>
4920 * international/mule-cmds.el (set-default-coding-systems):
4921 Call ucs-set-table-for-input for all buffers that don't have local
4922 value of buffer-file-coding-system.
4924 * international/ucs-tables.el (ucs-set-table-for-input):
4925 If translation-table-for-encode is a symbol, get its
4926 translation-table property.
4928 2003-12-23 Luc Teirlinck <teirllm@auburn.edu>
4930 * ffap.el (ffap-read-file-or-url): Eliminate reliance of the call
4931 to `completing-read' on a recently fixed bug.
4933 * fringe.el (fringe-query-style): Suggest `?' in minibuffer prompt,
4934 instead of SPACE, to get the list of possible fringe modes.
4935 SPACE only works if both `partial-completion-mode' and
4936 `completion-auto-help' are nil.
4938 * complete.el (PC-is-complete-p): Delete.
4939 (PC-do-completion): Replace all calls to `PC-is-complete-p' with
4940 calls to `test-completion'.
4942 2003-12-23 Nick Roberts <nick@nick.uklinux.net>
4944 * progmodes/gud.el (gud-speedbar-buttons): Use speed-bar-edit-line
4945 to edit values when there are no children.
4947 * gdb-ui.el (gdba, gdb-assembler-mode): Call the mode "Machine" as
4948 a mode called "Assembler" already exists.
4949 (gdb-use-colon-colon-notation, gdb-show-changed-values): New options.
4950 (gud-watch): Use format option. Remove font properties from string.
4951 (gdb-var-create-handler, gdb-var-list-children-handler):
4952 Don't bother about properties as there are none.
4953 (gdb-var-create-handler, gdb-var-list-children-handler)
4954 (gdb-var-update-handler): Call gdb-var-evaluate-expression-handler
4956 (gdb-var-evaluate-expression-handler, gdb-post-prompt):
4957 Let speedbar show value changes with a different font.
4958 (gdb-edit-value): New defun.
4959 (gdb-clear-partial-output, gdb-clear-inferior-io)
4960 (def-gdb-auto-update-handler): Use erase-buffer.
4961 (gdb-frame-handler): Display watch expressions in
4962 FUNCTION::VARIABLE format if required.
4964 2003-12-23 John Paul Wallington <jpw@gnu.org>
4966 * info.el (Info-unescape-quotes, Info-split-parameter-string)
4967 (Info-goto-emacs-command-node): Doc fixes.
4969 2003-12-12 Jesper Harder <harder@ifa.au.dk>
4971 * cus-edit.el (custom-add-parent-links): Define "many".
4973 2003-12-08 Per Abrahamsen <abraham@dina.kvl.dk>
4975 * wid-edit.el (widget-child-value-get, widget-child-value-inline)
4976 (widget-child-validate, widget-type-value-create)
4977 (widget-type-default-get, widget-type-match): New functions.
4979 (menu-choice, checklist, radio-button-choice, editable-list)
4980 (group, documentation-string): Remove redundant (per 2003-10-25
4981 change) calls to `widget-children-value-delete'.
4982 (widget-choice-value-get, widget-choice-value-inline): Remove.
4983 (menu-choice): Update widget.
4985 2003-12-03 Kenichi Handa <handa@m17n.org>
4987 * language/cyrillic.el: Register "microsoft-cp1251" in
4988 ctext-non-standard-encodings-alist.
4989 ("Bulgarian"): Add ctext-non-standard-encodings.
4990 ("Belarusian"): Likewise.
4992 * international/mule-conf.el (compound-text-with-extensions):
4993 Change the type to 2 (iso-2022 base).
4995 * international/mule.el (ctext-non-standard-encodings-alist):
4997 (ctext-non-standard-encodings): New variable.
4998 (ctext-post-read-conversion): Fully re-written.
4999 (ctext-non-standard-designations-alist): Delete it.
5000 (ctext-non-standard-encodings-table): New function.
5001 (ctext-pre-write-conversion): Fully re-written.
5003 2003-11-30 Per Abrahamsen <abraham@dina.kvl.dk>
5005 * cus-edit.el (custom-add-parent-links): Add documentation links
5006 for parent, if the item has none of its own.
5008 2003-11-30 Richard M. Stallman <rms@gnu.org>
5010 * dired-aux.el (dired-do-query-replace-regexp):
5011 Report files visited read-only.
5013 2003-11-30 Juri Linkov <juri@jurta.org>
5015 * dired-aux.el (dired-compare-directories): New command.
5016 (dired-file-set-difference, dired-files-attributes): New functions.
5018 2003-11-30 Kai Grossjohann <kai.grossjohann@gmx.net>
5019 Version 2.0.38 of Tramp released.
5021 * net/tramp.el (tramp-chunksize): Extend docstring. Suggested by
5022 Charles Curley <charlescurley@charlescurley.com>.
5023 (tramp-multi-connection-function-alist): Add ssht entry which adds
5024 "-e none -t -t" to the list of ssh args. Suggested by Adrian
5026 (tramp-get-method-parameter): New function to retrieve a method
5027 parameter. This allows for omission of method parameters.
5030 2003-11-30 Michael Albinus <Michael.Albinus@alcatel.de>
5032 * net/tramp.el: Add new optional parameter ID-FORMAT to
5033 `file-attributes'. Calls of `file-attributes' won't use this
5034 parameter for backward compatibility reasons.
5035 (tramp-perl-file-attributes): Add a new parameter to Perl script
5036 in order to handle uid/gid as strings, if desired.
5037 (tramp-handle-file-truename, tramp-handle-file-symlink-p):
5038 Apply `file-attributes' instead of `tramp-handle-file-attributes' in
5039 order to make the function more general.
5040 (tramp-handle-file-attributes): Replace proprietary optional
5041 parameter NONNUMERIC by the recently (Emacs 21.4) introduced ID-FORMAT.
5042 (tramp-handle-file-attributes-with-perl): Handle parameter
5043 NONNUMERIC if set. This wasn't done in the past.
5044 (tramp-post-connection): Apply second parameter "$2" if
5045 `tramp-remote-perl' is called.
5047 * net/tramp-smb.el (tramp-smb-handle-delete-file):
5048 Correct cut'n'waste error (`filename' instead of `directory').
5049 (tramp-smb-handle-directory-files-and-attributes)
5050 (tramp-smb-handle-file-attributes): Add recently (Emacs 21.4)
5051 introduced parameter ID-FORMAT.
5052 (tramp-smb-handle-make-directory-internal): Correct cut'n'waste
5053 error (`directory' instead of `ldir').
5055 * net/tramp-vc.el (tramp-handle-vc-user-login-name): Check if
5056 `file-attributes' has a second parameter. If yes, apply it with
5057 value "'integer". Otherwise, don't use that parameter (default is
5060 2003-11-30 Luc Teirlinck <teirllm@auburn.edu>
5062 * help.el (help-map): Bind `display-local-help' to `C-h .'.
5063 (help-for-help): Add `C-h .' to the listed Help options.
5064 Remove trailing whitespace.
5066 * help-at-pt.el: New file.
5068 2003-11-30 Jonathan Yavner <jyavner@member.fsf.org>
5070 * subr.el (noreturn, 1value): New macros for test coverage.
5073 * emacs-lisp/edebug.el: Add def-edebug-spec for `noreturn' and `1value'.
5075 * emacs-lisp/testcover.el (testcover-reinstrument): Special case
5077 (testcover-1value): New function. Checks that a 1value form
5078 actually returns only one value. Requested by RMS.
5080 2003-11-29 Nick Roberts <nick@nick.uklinux.net>
5082 * gdb-ui.el (gud-watch, gdb-var-create-handler)
5083 (gdb-var-list-children, gdb-var-list-children-handler)
5084 (gdb-var-update-handler, gdb-var-delete): Add server prefix to the
5085 gdb commands that use mi to keep them out of the command history.
5087 2003-11-29 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
5089 * cus-start.el (all): Add use-file-dialog.
5091 2003-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5093 * textmodes/tex-mode.el (latex-mode): `tex-trailer' is not a regexp.
5095 2003-11-27 Kim F. Storm <storm@cua.dk>
5097 * subr.el (posn-object-x-y): New defun.
5099 2003-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5101 * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords):
5102 Don't use `space' for \\\n.
5103 Be more selective as to which # are comment-starters.
5105 2003-11-26 Luc Teirlinck <teirllm@auburn.edu>
5107 * subr.el (number-sequence): Improve handling of floating point
5108 arguments (suggested by Kim Storm). Allow negative arguments.
5110 2003-11-26 Kenichi Handa <handa@m17n.org>
5112 * international/mule-cmds.el (standard-display-european-internal):
5113 Cancel the standard-display-table setting for ` and '.
5115 2003-11-26 Kim F. Storm <storm@cua.dk>
5117 * ido.el (ido-use-filename-at-point, ido-use-url-at-point):
5118 New defcustoms to add ffap-like functionality to ido.
5119 (ido-saved-vc-hb): Rename from ido-saved-vc-mt. Uses changed.
5120 (ido-no-final-slash): New defun.
5121 (ido-make-prompt, ido-file-internal, ido-toggle-vc)
5122 (ido-read-file-name): ): Toggle VC checking via
5123 vc-handled-backends instead of vc-master-templates.
5124 (ido-file-internal): Handle ido-use-url-at-point and
5125 ido-use-filename-at-point via code borrowed from ffap-guesser.
5126 Handle new ido-exit code ffap.
5127 (ido-sort-list): Ignore final slash when sorting file names.
5129 2003-11-25 Kim F. Storm <storm@cua.dk>
5131 * emulation/cua-base.el (cua--standard-movement-commands):
5132 Add forward-sentence and backward-sentence.
5134 2003-11-25 Stephen Eglen <stephen@gnu.org>
5136 * iswitchb.el (iswitchb-read-buffer,iswitchb-exit-minibuffer):
5137 iswitchb-exit is set to 'usefirst when user selects buffer at head
5138 of list using RET. (Selecting buffers at the head of the list was
5139 broken if the substring was also a complete buffername.)
5141 2003-11-23 Kim F. Storm <storm@cua.dk>
5143 * progmodes/compile.el (grep-command, grep-use-null-device)
5144 (grep-find-command, grep-tree-command, grep-tree-files-aliases)
5145 (grep-tree-ignore-case, grep-tree-ignore-CVS-directories)
5146 (grep-regexp-alist, grep-program, find-program)
5147 (grep-find-use-xargs, grep-history, grep-find-history)
5148 (grep-process-setup, grep-compute-defaults)
5149 (grep-default-command, grep, grep-tag-default, grep-find)
5150 (grep-expand-command-macros, grep-tree-last-regexp)
5151 (grep-tree-last-files, grep-tree): Move grep variables, functions
5152 and commands to new file grep.el.
5153 (compilation-mode-map): Remove grep commands from Compile sub-menu.
5154 (compilation-process-setup-function): Doc fix.
5155 (compilation-highlight-regexp, compilation-highlight-overlay): New
5156 defvars used for highlighting current compile error in source buffer.
5157 (compile-internal): New optional args HIGHLIGHT-REGEXP and
5158 LOCAL-MAP which overrides compilation-highlight-regexp and
5159 compilation-mode-map for this compilation.
5160 Delay calling compilation-set-window-height until after running
5161 compilation-process-setup-function so it can buffer-local override
5162 compilation-window-height.
5163 Check buffer-local value of compilation-scroll-output.
5164 (compilation-set-window-height): Use buffer-local value of
5165 compilation-window-height.
5166 (compilation-revert-buffer): Don't pass (undefined)
5167 preserve-modes arg to revert-buffer.
5168 (next-error-no-select, previous-error-no-select): New commands.
5169 (compilation-goto-locus): Temporarily highlight current match in
5170 source buffer using compilation-highlight-regexp.
5172 * progmodes/grep.el: New file with grep code from compile.el.
5173 (grep): New defcustom group.
5174 (grep-window-height): New defcustom, like compilation-window-height.
5175 (grep-auto-highlight): New defcustom, like compile-auto-highlight.
5176 (grep-scroll-output): New defcustom, like compilation-scroll-output.
5177 (grep-command, grep-use-null-device, grep-find-command)
5178 (grep-tree-files-aliases, grep-tree-ignore-case)
5179 (grep-tree-ignore-CVS-directories): Move to grep custom group.
5180 (grep-setup-hook): New hook variable.
5181 (grep-mode-map): New keymap for grep commands. Add Grep menu.
5182 (grep-last-buffer): New defvar, override compilation-last-buffer.
5183 (grep): Add optional arg HIGHLIGHT-REGEXP. Doc fix.
5184 Call compile-internal with args highlight-regexp and grep-mode-map.
5186 2003-11-23 Kim F. Storm <storm@cua.dk>
5188 * subr.el (event-start, event-end): Doc fix.
5189 (posn-window, posn-x-y, posn-timestamp): Simplify doc.
5190 (posn-area, posn-actual-col-row, posn-object): New defuns.
5191 (posn-col-row): Simplify doc. Rewrite to use cond.
5192 (posn-point): Also return buffer position for events outside text
5193 area (that info is now present in the event position).
5195 * mouse.el: Bind mouse-1 on left-fringe and right-fringe to
5196 mouse-set-point so that hscroll still works now that clicks on
5197 fringes generate specific mouse events.
5198 (mouse-set-point): Note that it now works in fringes and margins
5199 too due to new semantics of posn-point in fringes and margins.
5201 * gdb-ui.el (gdb-mouse-toggle-breakpoint): New defun.
5202 (gdba): Bind it to [left-margin mouse-1] and [left-fringe mouse-1].
5204 2003-11-20 Kim F. Storm <storm@cua.dk>
5206 * gdb-ui.el (gud-gdba-command-name): Find gdb command via PATH.
5207 (breakpoint-xpm-data, breakpoint-enabled-pbm-data): Make smoother.
5208 (breakpoint-enabled-icon, breakpoint-disabled-icon): Set :ascent
5209 to 100 for icons to avoid increasing line height when shown.
5211 2003-11-17 Jesper Harder <harder@ifa.au.dk> (tiny change)
5213 * newcomment.el (comment-normalize-vars): Initialize properly if
5214 comment-start was nil.
5216 2003-11-19 Andreas Schwab <schwab@suse.de>
5218 * simple.el (set-variable): Fix indentation.
5220 2003-11-17 Kenichi Handa <handa@m17n.org>
5222 * international/latin1-disp.el (latin1-display-ucs-per-lynx):
5225 2003-11-17 Jesper Harder <harder@ifa.au.dk> (tiny change)
5227 * international/latin1-disp.el (latin1-display): Fix docstring.
5229 2003-11-16 John Wiegley <johnw@newartisans.com>
5231 * eshell/em-ls.el (eshell-ls-file): There are times with
5232 size-width is nil and uncomputed (when directories are created in
5233 dired, for example); in this case, 4 is reasonable default value,
5234 although it may caused skewed new entries (which could be avoided
5235 by returning the original value of 8 in all cases, but 99% of the
5236 time this is a waste of whitespace).
5238 2003-11-16 Martin Stjernholm <bug-cc-mode@gnu.org>
5240 * cc-engine.el (c-guess-continued-construct)
5241 (c-guess-basic-syntax): Check a little more carefully if it's a
5242 function declaration when an unknown construct followed by a block
5243 is found inside a statement context. This avoids macros followed
5244 by blocks to be taken as function declarations.
5246 (c-guess-continued-construct): Change the analysis of a statement
5247 continuation with a brace open to `substatement-block', for
5248 consistency with recognized statements.
5250 (c-add-stmt-syntax): Don't continue to the surrounding sexp if the
5251 start is in a position so that `c-beginning-of-statement-1' jumped
5252 to the beginning of the same statement.
5254 * cc-fonts.el, cc-engine.el (c-forward-<>-arglist-recur):
5255 Don't accept binary operators in the arglist if we're in a function
5256 call context, i.e. if `c-restricted-<>-arglists' is set. That avoids
5257 template recognition in cases like "if (a < b || c > d)".
5259 (c-restricted-<>-arglists): New more appropriate name for
5260 `c-disallow-comma-in-<>-arglists'.
5262 Accessing functions updated for the variable name change.
5264 * cc-engine.el (c-syntactic-re-search-forward): Fix bug where the
5265 match data could get clobbered if NOT-INSIDE-TOKEN is used.
5267 * cc-engine.el (c-beginning-of-statement-1): Don't allow parens in
5270 (c-backward-to-decl-anchor): Use `c-beginning-of-statement-1'
5271 instead of duplicating parts of it. This fixes bogus label
5274 * cc-align.el (c-gnu-impose-minimum): Revert to the old method
5275 of checking the context in which to apply the minimum indentation,
5276 so that it isn't enforced in e.g. namespace blocks.
5278 * cc-vars.el (c-inside-block-syms): New constant used by
5279 `c-gnu-impose-minimum'. It's defined close to `c-offsets-alist'
5280 to somewhat reduce the risk of becoming stale.
5282 * cc-cmds.el, cc-engine.el (c-shift-line-indentation): Move from
5283 cc-cmds to cc-engine to allow use from cc-align.
5285 * cc-engine.el (c-beginning-of-inheritance-list): Cope with fully
5286 qualified identifiers containing "::".
5288 * cc-defs.el (c-make-keywords-re): Add kludge for bug in
5289 `regexp-opt' in Emacs 20 and XEmacs when strings contain newlines.
5291 * cc-vars.el (c-emacs-features): Use a space in front of the name
5292 of the temporary buffer. That also avoids dumping problems in
5293 XEmacs due to undo info being left around after the buffer is killed.
5295 * cc-engine.el (c-in-knr-argdecl): Look closer at the function
5296 arglist to see if it's a K&R style declaration.
5298 (c-guess-basic-syntax): CASE 5B.2: Check with `c-in-knr-argdecl'
5299 before returning `knr-argdecl-intro'.
5301 2003-11-16 John Wiegley <johnw@newartisans.com>
5303 * eshell/em-ls.el (eshell-ls-file): Instead of making the size
5304 field in a long-listing always 8 characters, use `size-width',
5305 which has already been computed.
5307 2003-11-15 Thien-Thi Nguyen <ttn@gnu.org>
5309 * subr.el (minor-mode-list): Add `hs-minor-mode'.
5311 2003-11-14 Thien-Thi Nguyen <ttn@gnu.org>
5313 * diff-mode.el (diff-hunk-prev, diff-hunk-next):
5314 Support operation while narrowed, with `diff-restrict-view'.
5316 2003-11-14 Thien-Thi Nguyen <ttn@gnu.org>
5318 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5319 Take additional optional arg NARROWFUN. For the generated functions:
5320 Add local var `was-narrowed-p'. Also, if NARROWFUN is specified,
5321 include frags that arrange to check for and save narrowing state before
5322 the move and then conditionally call NARROWFUN after the move.
5324 2003-11-14 John Wiegley <johnw@newartisans.com>
5326 * eshell/esh-var.el (eshell-parse-variable-ref): Add a backslash
5327 that was optional, but obviously missing based on surrounding code.
5329 * eshell/esh-cmd.el (eshell-lisp-command): Do not late-convert
5330 string arguments to numbers unless the whole argument was seen as
5333 2003-11-14 Kenichi Handa <handa@m17n.org>
5335 * international/mule.el (ctext-non-standard-encodings-alist):
5338 2003-11-10 Kenichi Handa <handa@m17n.org>
5340 * language/kannada.el ("Kannada"): Add sample-text.
5342 * language/knd-util.el (kannada-compose-region)
5343 (kannada-compose-string, kannada-post-read-conversion):
5344 Add autoload cookie.
5346 * international/quail.el (quail-completion): Change the message
5347 "corresponding translations" to "corresponding characters".
5349 2003-11-09 Markus Rost <rost@mathematik.uni-bielefeld.de>
5351 * descr-text.el (describe-char): Fix typo.
5353 2003-11-08 Kailash C. Chowksey <klchxbec@m-net.arbornet.org>
5355 These changes are to support Kannada language/script.
5357 * Makefile.in (DONTCOMPILE): Add kannada.el.
5359 * makefile.w32-in (DONTCOMPILE): Add kannada.el.
5361 * loadup.el: Preload kannada.el.
5363 * language/ind-util.el (ucs-kannada-to-is13194-alist)
5364 (is13194-to-ucs-kannada-hashtbl, is13194-to-ucs-kannada-regexp):
5367 * language/kannada.el: New file.
5369 * language/knd-util.el: New file.
5371 2003-11-07 Andreas Schwab <schwab@suse.de>
5373 * progmodes/autoconf.el (autoconf-font-lock-keywords):
5374 Also highlight AH_*.
5376 * xml.el (xml-parse-dtd): Fix misplaced paren.
5378 2003-11-07 Kenichi Handa <handa@m17n.org>
5380 * language/european.el (windows-1252): Fix table (0x8F and 0x9E).
5382 2003-11-05 Juri Linkov <juri@jurta.org>
5384 * desktop.el (desktop-locals-to-save): Add buffer-file-coding-system.
5385 (desktop-buffer-file): Use saved buffer-file-coding-system
5386 for file reading. Set auto-insert to nil to prevent automatic
5387 insertion into restored empty files.
5389 2003-11-04 Luc Teirlinck <teirllm@auburn.edu>
5391 * files.el (risky-local-variable-p): Make second argument optional.
5393 2003-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5395 * subr.el (add-hook): Fix last change.
5397 2003-11-03 Eli Zaretskii <eliz@gnu.org>
5399 * mail/rmail.el (rmail-convert-to-babyl-format):
5400 If base64-decode-region signals an error, catch it and silently
5403 2003-11-01 Mark A. Hershberger <mah@everybody.org>
5405 * xml.el (xml-parse-region): Allow comments to appear after the
5406 topmost element has closed.
5407 (xml-ns-parse-ns-attrs, xml-ns-expand-el)
5408 (xml-ns-expand-attr): New functions to do namespace handling.
5409 (xml-intern-attrlist): Back-compatible handling of attribute names.
5410 (xml-parse-tag): Move namespace handling to separate functions.
5411 Now produces elements in the form ((:ns . "element") (attr-list)
5412 children) instead of ('ns:element (attr-list) children).
5413 (xml-parse-attlist): Fix attribute parsing.
5414 (xml-parse-dtd): Change parsing so that it produces strings
5415 instead of interned symbols.
5417 2003-11-01 era@iki.fi <era@iki.fi> (tiny change)
5419 * dired.el (dired-ls-sorting-switches): Doc fix.
5421 2003-11-01 Oliver Scholz <epameinondas@gmx.de>
5423 * emacs-lisp/rx.el (rx-or): Fix the case of
5424 "(rx (and ?a (or ?b ?c) ?d))".
5426 2003-11-01 Christoph Wedler <wedler@users.sourceforge.net> (tiny change)
5428 * textmodes/texinfmt.el (texinfo-pre-format-hook): New variable.
5429 (texinfo-format-region): Use it.
5430 (texinfo-format-buffer-1): Ditto.
5432 2003-11-01 Alan Mackenzie <acm@muc.de>
5434 Changes to allow scrolling whilst in isearch mode:
5435 * isearch.el (isearch-unread-key-sequence): New function,
5436 extracted from isearch-other-meta-char.
5437 (top level): (put 'foo 'isearch-scroll) on all Emacs's
5438 "scrollable" standard functions.
5439 (isearch-allow-scroll): New customizable variable.
5440 (isearch-string-out-of-window, isearch-back-into-window)
5441 (isearch-reread-key-sequence-naturally)
5442 (isearch-lookup-scroll-key): New functions.
5443 (isearch-other-meta-char): Doc string and functionality enhanced.
5444 Now accepts a prefix argument.
5445 (isearch-lazy-highlight-window-end): New variable.
5446 (isearch-lazy-highlight-new-loop): Pay attention to the window's
5447 end (thru isearch-lazy-highlight-window-end), not only its start.
5449 * simple.el (overriding-map-is-bound, saved-overriding-map): New vars.
5450 (ensure-overriding-map-is-bound, restore-overriding-map): New funs.
5451 (universal-argument, universal-argument-more, negative-argument)
5452 (digit-argument, universal-argument-other-key): Minor changes.
5454 2003-11-01 Alexander Pohoyda <alexander.pohoyda@gmx.net> (tiny change)
5456 * mail/rmailsum.el (rmail-summary-goto-msg): Don't call itself
5457 recursively if the last message is deleted, thus avoiding an
5460 2003-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5462 * textmodes/tex-mode.el (tex-compile-commands): Add `yap' and `ps2pdf'.
5463 (tex-main-file): Don't add .tex if the extension is already present.
5464 (tex-uptodate-p): Don't recurse indefinitely with symlinks.
5466 2003-10-29 Lute Kamstra <lute@gnu.org>
5468 * progmodes/octave-inf.el (inferior-octave-prompt):
5469 Recognize version number in prompt.
5471 2003-10-28 Dave Love <fx@gnu.org>
5473 * international/characters.el: Fix some Unicode ranges.
5475 2003-10-28 Kenichi Handa <handa@m17n.org>
5477 * disp-table.el (standard-display-8bit)
5478 (standard-display-default, standard-display-ascii)
5479 (standard-display-g1, standard-display-graphic)
5480 (standard-display-underline): Assure that standard-display-table
5483 2003-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5485 * simple.el (reindent-then-newline-and-indent): Delete space *after*
5486 reindenting the first line.
5488 2003-10-25 Per Abrahamsen <abraham@dina.kvl.dk>
5490 * wid-edit.el (widget-default-delete): Always delete child widgets.
5492 2003-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5494 * newcomment.el (comment-indent): Don't call indent-according-to-mode
5495 if the line has code.
5496 Don't try to line up with something that's too far left.
5498 * progmodes/octave-mod.el (octave-comment-start): Simplify.
5499 (octave-mode-syntax-table): Add % as a comment starter.
5500 (octave-point): Remove.
5501 (octave-in-comment-p, octave-in-string-p)
5502 (octave-not-in-string-or-comment-p, calculate-octave-indent)
5503 (octave-blink-matching-block-open, octave-auto-fill):
5504 Use line-(beginning|end)-position instead.
5506 2003-10-23 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
5508 * emacs-lisp/authors.el (authors-aliases): Add correct realname
5509 for Francesco Potort
\e,Al
\e(B.
5511 2003-10-23 Dave Love <fx@gnu.org>
5513 * international/mule-cmds.el (locale-charset-to-coding-system):
5514 Don't rely on nil being a coding system.
5516 * mail/mail-extr.el (mail-extr-ignore-single-names): Add :version.
5517 (mail-extr-address-syntax-table): Remove non-ASCII unibyte chars.
5518 (mail-extr-voodoo): Use char classes in regexps (for non-ASCII).
5520 2003-10-21 Nick Roberts <nick@nick.uklinux.net>
5522 * gdb-ui.el (gdb-current-language): New variable.
5523 (gdb-update-flag): Remove variable.
5524 (gud-watch, gdb-frame-handler): Adapt for other languages (Fortran).
5525 (gdb-take-last-elt): Remove function.
5526 (gdb-dequeue-input): Avoid recursion by not using gdb-take-last-elt.
5527 (gdb-post-prompt): Check for variable object changes here.
5529 * progmodes/gud.el (gud-speedbar-buttons): Check for variable
5530 object changes in gdb-ui.el.
5532 2003-10-21 Richard M. Stallman <rms@gnu.org>
5534 * emacs-lisp/edebug.el (edebug-display-freq-count): Doc fix.
5536 * ls-lisp.el (ls-lisp-insert-directory): Arg is now wildcard-regexp.
5537 Don't check for foo*/ wildcard form here.
5538 (insert-directory): Recognize foo*/ as a wildcard.
5539 Separate wildcard-regexp variable from the arg, wildcard.
5541 * subr.el (add-hook): Correctly detect when make-local-hook was used.
5542 (remove-hook): Correctly handle strange cases about local hooks.
5544 2003-10-21 David Ponce <david@dponce.com>
5546 * ruler-mode.el (ruler-mode-left-fringe-cols): Add new optional
5547 argument REAL, to return a real number instead of a rounded
5548 integer value. Define as inline function.
5549 (ruler-mode-right-fringe-cols): Likewise.
5550 (ruler-mode-scroll-bar-cols): New function.
5551 (ruler-mode-left-scroll-bar-cols): Use it. Define as macro.
5552 (ruler-mode-right-scroll-bar-cols): Likewise.
5553 (ruler-mode-space): New function.
5554 (ruler-mode-ruler): Use it. Handle variations of fringe style,
5555 scroll bar mode and margins in a more robust way.
5557 2003-10-21 Christoph Wedler <Christoph.Wedler@sap.com>
5559 * progmodes/antlr-mode.el: Make major mode work with cc-mode-5.30+.
5560 (antlr-c-init-language-vars): New function.
5561 (antlr-mode): Use it with cc-mode before v5.29.
5562 (antlr-c-common-init): Don't set some local vars here.
5563 (antlr-mode): Set them here.
5564 (antlr-c-forward-sws): New function alias.
5565 (antlr-mode): Redefine with cc-mode before v5.30.
5566 (antlr-skip-sexps): Use it.
5567 (antlr-skip-exception-part): Ditto.
5568 (antlr-skip-file-prelude): Ditto.
5569 (antlr-outside-rule-p): Ditto.
5570 (antlr-end-of-body): Ditto.
5571 (antlr-option-kind): Ditto.
5572 (antlr-insert-option-area): Ditto.
5573 (antlr-file-dependencies): Ditto.
5575 2003-10-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
5577 * textmodes/bibtex.el (bibtex-move-outside-of-entry):
5578 Move backward only if point was not inside an entry.
5580 2003-10-21 Richard M. Stallman <rms@gnu.org>
5582 * progmodes/compile.el (compile-auto-highlight): Undo July 7 change.
5584 2003-10-21 Juri Linkov <juri@jurta.org>
5586 * compare-w.el: Automatically skip non-matching text to resync.
5587 (compare-windows-whitespace): Doc fix.
5588 (compare-windows-sync, compare-windows-sync-string-size)
5589 (compare-windows-recenter, compare-ignore-whitespace)
5590 (compare-windows-highlight, compare-windows-face): New variables.
5591 (compare-windows): Use compare-windows-sync.
5592 (compare-windows-highlight, compare-windows-dehighlight)
5593 (compare-windows-sync-regexp)
5594 (compare-windows-sync-default-function): New functions.
5596 2003-10-21 Juri Linkov <juri@jurta.org>
5598 * diff.el (diff-parse-differences): Don't visit the files now;
5599 instead, just record the error locus.
5601 2003-10-21 Dave Love <fx@gnu.org>
5603 * progmodes/cfengine.el: New file.
5605 2003-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5607 * complete.el (PC-do-completion): Do not forget to use `pred' as the
5608 default-directory when completing file names.
5610 2003-10-20 Luc Teirlinck <teirllm@auburn.edu>
5612 * help-mode.el (help-make-xrefs): Make sure that if a symbol is
5613 followed by the word `face', it gets treated as a face, even if
5614 it is also defined as a variable or a function.
5616 2003-10-20 Dave Love <fx@gnu.org>
5618 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5619 Avoid incf in macro expansion.
5621 2003-10-20 John Paul Wallington <jpw@gnu.org>
5623 * emacs-lisp/elint.el (elint-check-defcustom-form): Don't use
5624 `evenp' so we don't implicitly require cl library at runtime.
5626 2003-10-18 Luc Teirlinck <teirllm@auburn.edu>
5628 * help-mode.el (help-xref-symbol-regexp): Treat newlines as whitespace.
5629 (help-make-xrefs): Only make cross-references for faces if
5630 preceded or followed by the word `face'. Do not make a
5631 cross-reference for variables without variable documentation,
5632 unless preceded by the word `variable' or `option'. Update doc
5635 2003-10-18 Thien-Thi Nguyen <ttn@gnu.org>
5637 * progmodes/hideshow.el: Rewrite one-armed `if'
5638 constructs using either `when' or `unless'.
5639 (hs-grok-mode-type): Elide superfluous `progn'; nfc.
5641 2003-10-16 Nick Roberts <nick@nick.uklinux.net>
5643 * gdb-ui.el (breakpoint-xpm-data, breakpoint-enabled-pbm-data)
5644 (breakpoint-disabled-pbm-data): Make breakpoint icons 10x10
5647 2003-10-16 Eli Zaretskii <eliz@gnu.org>
5649 * mail/rmail.el (rmail-convert-to-babyl-format): Display a
5650 message while converting to Babyl.
5652 2003-10-16 Vadim Nasardinov <vadimn@redhat.com> (tiny change)
5654 * allout.el (allout-mode): Doc fix.
5656 2003-10-16 Lute Kamstra <lute@gnu.org>
5658 * subr.el (force-mode-line-update): Fix docstring.
5660 2003-10-14 Dave Love <fx@gnu.org>
5662 * international/mule-cmds.el (find-multibyte-characters): Doc fix.
5663 (default-input-method): Add :link, improve :type.
5664 (locale-charset-language-names): Fix utf-8 pattern.
5665 (locale-charset-match-p, locale-charset-alist)
5666 (locale-charset-to-coding-system): New.
5667 (set-locale-environment): Deal with codeset part of locale specs.
5669 2003-10-14 Lute Kamstra <lute@gnu.org>
5671 * fringe.el (fringe-mode): Use active voice in docstring.
5672 (set-fringe-style): Ditto.
5674 2003-10-13 Lute Kamstra <lute@gnu.org>
5676 * fringe.el (fringe-mode): Fix docstring.
5677 (set-fringe-style): Ditto.
5679 2003-10-12 Michael Kifer <kifer@cs.stonybrook.edu>
5681 * ediff-mult.el (ediff-filegroup-action):
5682 Use ediff-default-filtering-regexp.
5684 * ediff-util.el (ediff-recenter): Don't call
5685 ediff-restore-highlighting twice.
5686 (ediff-select-difference): Set current difference.
5687 (ediff-unselect-and-select-difference): Add comment.
5689 * ediff.el (ediff-directories,ediff-directory-revisions)
5690 (ediff-directories3,ediff-merge-directories)
5691 (ediff-merge-directories-with-ancestor)
5692 (ediff-merge-directory-revisions)
5693 (ediff-merge-directory-revisions-with-ancestor):
5694 Use ediff-default-filtering-regexp.
5696 2003-10-12 Andreas Schwab <schwab@suse.de>
5698 * international/mule-cmds.el (locale-charset-language-names):
5699 Simplify regex by removing unused grouping.
5701 2003-10-10 Dave Love <fx@gnu.org>
5703 * bindings.el: Don't bind stop.
5705 2003-10-08 Miles Bader <miles@gnu.org>
5707 * gdb-ui.el (gdb-info-frames-custom): Use proper :inverse-video
5708 face instead of attempting to emulate it.
5710 2003-10-07 Kenichi Handa <handa@m17n.org>
5712 * international/mule-diag.el (list-coding-systems-1): List coding
5713 systems that are loaded automatically.
5715 * international/code-pages.el (iso-8859-11): Add autoload cookie.
5717 * international/mule.el (autoload-coding-system): New function.
5719 2003-10-07 Andreas Schwab <schwab@suse.de>
5721 * log-edit.el (log-edit-changelog-entries): Prefer local value of
5722 change-log-default-name in the buffer visiting the file.
5724 2003-10-06 Dave Love <fx@gnu.org>
5726 * files.el (find-file-hook): Customize.
5727 (auto-mode-alist): Add .stk, .ss, .sch, .orig.
5729 * bindings.el (completion-ignored-extensions): Remove .log.
5730 (global-map): Add again, open, stop keys.
5732 2003-10-05 Richard M. Stallman <rms@gnu.org>
5734 * progmodes/sh-script.el (sh-feature): Handle sh-modify like sh-append.
5735 (sh-for, sh-indexed-loop, sh-function, sh-while, sh-while-getopts):
5736 Use sh-modify directly.
5737 (sh-select): Use sh-append, not eval.
5739 * mail/emacsbug.el (report-emacs-bug): Fix previous change.
5741 * info.el (Info-following-node-name): New function.
5743 * loadhist.el (unload-feature-special-hooks):
5744 Rename from loadhist-hook-functions.
5745 (loadhist-hook-functions): Now an alias.
5747 2003-10-04 Eli Zaretskii <eliz@gnu.org>
5749 * ldefs-boot.el: Renamed from loaddefs-boot.el, to prevent
5750 file-name clashes on 8+3 filesystems.
5752 * Makefile.in (DONTCOMPILE, bootstrap-clean):
5753 Rename loaddefs-boot.el to ldefs-boot.el
5755 * makefile.w32-in (DONTCOMPILE, bootstrap-clean-CMD)
5756 (bootstrap-clean-SH): Rename loaddefs-boot.el to ldefs-boot.el
5758 2003-10-03 Lute Kamstra <lute@gnu.org>
5760 * info.el (Info-mode): Revert previous change.
5761 (Info-escape-percent): New function.
5762 (Info-fontify-node): Use it.
5764 2003-10-02 Andreas Schwab <schwab@suse.de>
5766 * loaddefs-boot.el: Regenerated.
5768 2003-10-01 Rajesh Vaidheeswarran <rv@gnu.org>
5770 * ffap.el: Remove defadvice related code from CVS since `complete'
5771 provides a `PC-completion-as-file-name-predicate' variable that
5774 2003-10-02 Kenichi Handa <handa@m17n.org>
5776 * international/utf-8.el (ccl-decode-mule-utf-8):
5777 Lookup utf-subst-table-for-decode even for U+E000..U+FFFF.
5779 * international/subst-jis.el: Include U+FF00..U+FFEF in decode table.
5780 * international/subst-big5.el: Likewise.
5781 * international/subst-gb2312.el: Likewise.
5782 * international/subst-ksc.el: Likewise.
5784 2003-10-01 Glenn Morris <gmorris@ast.cam.ac.uk>
5786 * calendar/calendar.el (increment-calendar-month)
5787 (calendar-leap-year-p, calendar-absolute-from-gregorian)
5788 (generate-calendar, calendar-read-date, calendar-interval)
5789 (calendar-day-of-week): Handle years BC.
5790 (generate-calendar-month, calendar-gregorian-from-absolute): Doc fix.
5792 2003-10-01 Dave Love <fx@gnu.org>
5794 * language/cyrillic.el (cp1251): Alias for windows-1251.
5796 * vc-cvs.el (vc-cvs-parse-entry): Revert last change to allow
5799 2003-10-01 Lute Kamstra <lute@gnu.org>
5801 * files.el: Fix typo.
5802 * imenu.el (imenu--generic-function): Docstring fix.
5804 2003-09-30 Richard M. Stallman <rms@gnu.org>
5806 * dired.el (dired-mode): Handle dired-directory as a list.
5808 2003-09-30 Nick Roberts <nick@nick.uklinux.net>
5810 * toolbar/gud-watch.xpm, toolbar/gud-watch.pbm: Add.
5812 * toolbar/gud-display.xpm, toolbar/gud-display.pbm: Remove.
5814 * progmodes/gud.el (gud-menu-map, gud-tool-bar-map):
5815 Replace gud-display with gud-watch.
5816 (gud-speedbar-buttons): Add stuff for watching expressions
5817 in the speedbar when using M-x gdba. Use dolist on old part
5820 * gdb-ui.el (gdb-var-list, gdb-var-changed, gdb-update-flag)
5821 (gdb-update-flag): New variables.
5822 (gdb-var-update, gdb-var-update-handler,gdb-var-delete)
5823 (gdb-speedbar-expand-node, gdb-var-evaluate-expression-handler)
5824 (gud-watch, gdb-var-create-handler) : New functions.
5825 (gdb-var-list-children, gdb-var-list-children-handler)
5826 (gdb-var-create-regexp, gdb-var-update-regexp)
5827 (gdb-var-list-children-regexp): New constants.
5828 (gud-gdba-command-name): Don't specify -noasync so that GDB/MI works.
5829 (gdb-annotation-rules): Reduce annotation set (level 3).
5830 (gdb-pre-prompt, gdb-prompt): Call handler in gdb-prompt.
5831 (gdb-post-prompt): Don't update GDB buffers every time speedbar
5833 (gdb-window-height, gdb-window-width, gdb-display-in-progress)
5834 (gdb-expression-buffer-name, gdb-display-number, gdb-point)
5835 (gdb-dive-display-number, gdb-nesting-level, gdb-expression)
5836 (gdb-annotation-arg, gdb-dive-map, gdb-values, gdb-array-start)
5837 (gdb-array-stop, gdb-array-slice-map, gdb-display-string)
5838 (gdb-array-size, gdb-display-mode-map, gdb-expressions-mode-map):
5839 (gdb-expressions-mode-menu, gdb-dive): Remove variables.
5840 (gud-display, gud-display1)
5841 (gdb-display-begin,gdb-display-number-end, gdb-delete-line)
5842 (gdb-display-end, gdb-display-go-back, gdb-array-section-end)
5843 (gdb-field-begin, gdb-field-end, gdb-elt,gdb-field-format-begin)
5844 (gdb-field-format-end, gdb-dive, gdb-dive-new-frame)
5845 (gdb-insert-field, gdb-array-format, gdb-mouse-array-slice)
5846 (gdb-array-slice, gdb-array-format1, gdb-info-display-custom)
5847 (gdb-delete-frames, gdb-display-mode, gdb-display-buffer-name)
5848 (gdb-display-display-buffer, gdb-toggle-display)
5849 (gdb-delete-display, gdb-expressions-popup-menu)
5850 (gdb-expressions-mode, gdb-array-visualise): Remove functions.
5851 (gdb-setup-windows, gdb-reset, gdb-source-info): Remove references
5854 2003-09-30 Richard M. Stallman <rms@gnu.org>
5856 * progmodes/ada-mode.el (ada-mode): Don't use advice.
5857 Instead, set which-func-functions.
5859 * progmodes/which-func.el (which-func-modes): Add ada-mode.
5860 (which-func-functions): New variable.
5861 (which-function): Use that.
5863 * info.el (Info-mode): Double each `%' in header line.
5865 * emacs-lisp/lisp-mnt.el (lm-with-file):
5866 When FILE is nil, run BODY in current buffer.
5868 * mail/emacsbug.el (report-emacs-bug): Mention major and minor modes.
5870 * help.el (describe-mode): Start with a brief list of minor modes.
5871 Find them thru minor-mode-list so as to find them all.
5872 Show them in alphabetical order.
5874 * mail/sendmail.el (mail-aliases): Doc fix.
5876 * progmodes/sh-script.el (sh-mode-syntax-table): Add defvar.
5878 2003-09-30 Alexander Pohoyda <alexander.pohoyda@gmx.net> (tiny change)
5880 * mail/rmailsum.el (rmail-make-summary-line-1):
5881 Change comma after last label to a space.
5882 (rmail-summary-font-lock-keywords): Adapt to that change.
5884 2003-09-30 Thien-Thi Nguyen <ttn@gnu.org>
5886 * progmodes/scheme.el (scheme-mode-variables): When setting
5887 `font-lock-defaults', also specify that "#" should
5888 be interpreted with `word' syntax.
5889 (scheme-font-lock-keywords-2): Also interpret "#:foo" as keyword.
5891 2003-09-30 Lars Hansen <larsh@math.ku.dk>
5893 * desktop.el: A lot of comments updated.
5894 (desktop-save-mode): Minor mode introduced.
5895 (desktop-enable, desktop-clear-preserve-buffers): Make vars obsolete.
5896 (desktop-load-default): Function made obsolete.
5897 (desktop-locals-to-save): Variable made customizable.
5898 (desktop-read): Optional parameter `dirname' added.
5899 (desktop-change-dir, desktop-revert): Parameter `dirname' in
5900 `desktop-read' used.
5901 (desktop-save-in-load-dir): Rename to `desktop-save-in-desktop-dir'.
5903 2003-09-29 Rajesh Vaidheeswarran <rv@gnu.org>
5905 * whitespace.el (whitespace-clean-msg): Add user customizable message
5906 for displaying ``clean'' output.
5907 (whitespace-buffer): Use `whitespace-clean-msg'.
5908 (whitespace-global-mode): Fix typo.
5910 2003-09-29 Thien-Thi Nguyen <ttn@gnu.org>
5912 * pcvs.el (cvs-mode-unmark-up): Move to goal column when done.
5914 2003-09-29 Lute Kamstra <lute@gnu.org>
5916 * bindings.el (mode-line-modes): Remove superfluous :propertize
5917 construct in initialization.
5918 (mode-line-position): Change cons cell into proper list in
5921 2003-09-29 SAITO Takuya <tabmore@rivo.mediatti.net> (tiny change)
5923 * international/mule.el (decode-coding-inserted-region): Use car
5924 of the return value of find-operation-coding-system.
5926 2003-09-29 Kenichi Handa <handa@m17n.org>
5928 * descr-text.el (describe-char): Fix previous change.
5930 2003-09-28 Kenichi Handa <handa@m17n.org>
5932 * descr-text.el (describe-char-display): New function.
5933 (describe-char): Pay attention to display table on describing how
5934 a character is displayed.
5936 * international/mule-cmds.el (encoded-string-description):
5937 Prepend "0x" to each encoded byte.
5939 2003-09-28 Andreas Schwab <schwab@suse.de>
5941 * find-file.el (ff-special-constructs): Add autoload cookie.
5943 2003-09-28 Kevin Ryde <user42@zip.com.au>
5945 * info.el (Info-find-index-name): Remove any "<n>" suffixes which
5946 makeinfo appends to duplicate index entries.
5948 2003-09-28 Eli Zaretskii <eliz@gnu.org>
5950 * dired-x.el (dired-clean-tex): Doc fix.
5952 * language/chinese.el ("Chinese-GB", "Chinese-BIG5"): Set up for
5953 using a Chinese tutorial.
5955 2003-09-28 Jesper Harder <harder@ifa.au.dk> (tiny change)
5957 * mail/smtpmail.el (smtpmail-via-smtp): Don't insert a space
5958 between "MAIL FROM:" and "RCPT TO:" and the following address.
5960 2003-09-28 Jesper Harder <harder@ifa.au.dk> (tiny change)
5962 * textmodes/text-mode.el (paragraph-indent-minor-mode): Doc fix.
5964 2003-09-28 David Ponce <david@dponce.com>
5966 * recentf.el (recentf-initialize-file-name-history): New defcustom.
5967 (recentf-load-list): When `recentf-initialize-file-name-history'
5968 is non-nil, initialize an empty `file-name-history' with the
5971 2003-09-28 Evgeni Dobrev <evgeni_dobrev@developer.bg> (tiny change)
5973 * man.el (Man-default-man-entry): Remove the leading `*' from the
5976 2003-09-26 Lute Kamstra <lute@gnu.org>
5978 * bindings.el (mode-line-position): Mention size indication in
5981 2003-09-26 Andre Spiegel <spiegel@gnu.org>
5983 * calendar/parse-time.el (parse-time-string): Add autoload cookie.
5985 * vc-cvs.el (vc-cvs-parse-entry): Don't require parse-time,
5986 because it's autoloaded now.
5988 2003-09-25 Glenn Morris <gmorris@ast.cam.ac.uk>
5990 * progmodes/sh-script.el (sh-builtins): Add bash `shopt' builtin.
5991 (sh-font-lock-keywords, sh-feature): Fix previous change of
5992 sh-feature to avoid infloop with sh-font-lock-keywords.
5994 2003-09-25 Kim F. Storm <storm@cua.dk>
5996 * frame.el (frame-current-scroll-bars): New defun.
5998 * window.el (window-current-scroll-bars): New defun.
6000 2003-09-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6002 * progmodes/cc-engine.el (c-parse-state): Fix bug that could
6003 cause errors when the state cache contains info on parts that have
6006 2003-09-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6008 * progmodes/cc-vars.el (c-comment-prefix-regexp): Document that
6009 `c-setup-paragraph-variables' has to be used when this variable is
6010 changed; it doesn't work to reinitialize the mode since that
6011 typically clobbers the variable.
6013 * progmodes/cc-styles.el (c-setup-paragraph-variables):
6014 Make it interactive.
6016 2003-09-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6018 * progmodes/cc-fonts.el (c-font-lock-declarations):
6019 Fix recognition of constructors and destructors for classes whose
6020 names are matched by `*-font-lock-extra-types'.
6022 * progmodes/cc-langs.el (c-type-list-kwds): If "operator" is
6023 followed by an identifier in C++ then it's a type.
6025 2003-09-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6027 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Fix eob
6028 problem that primarily affected XEmacs. Don't use faces to find
6029 unterminated strings since Emacs and XEmacs fontify strings
6030 differently - this function should now work better in XEmacs.
6032 2003-09-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6034 * progmodes/cc-cmds.el (c-electric-brace): Fix a bug in the
6035 `expand-abbrev' workaround which caused braces to misbehave inside
6038 * progmodes/cc-engine.el (c-forward-keyword-clause): Fix error
6039 handling. This bug could cause interactive font locking to bail out.
6041 2003-09-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6043 * progmodes/cc-engine.el (c-just-after-func-arglist-p):
6044 Handle paren-style types in Pike. Also fixed some cases of
6045 insufficient handling of unbalanced parens.
6047 2003-09-24 Rajesh Vaidheeswarran <rv@gnu.org>
6049 * ffap.el (ffap-shell-prompt-regexp): Add regexp to identify
6050 common shell prompts that are not common filename or URL characters.
6051 (ffap-file-at-point): Use the new regexp to strip the prompts from
6052 the file names. This is an issue mostly for user prompts that
6053 don't have a trailing space and find-file-at-point is invoked from
6054 within a shell inside emacs.
6056 2003-09-24 Andre Spiegel <spiegel@gnu.org>
6058 * vc-cvs.el (vc-cvs-parse-entry): Restore the code to compare time
6059 stamps numerically, rather than textually.
6061 2003-09-24 Kenichi Handa <handa@m17n.org>
6063 * language/devan-util.el (devanagari-post-read-conversion):
6064 * language/mlm-util.el (malayalam-post-read-conversion):
6065 * language/tml-util.el (tamil-post-read-conversion):
6066 Add autoload cookie.
6068 * international/utf-8.el (utf-8-post-read-conversion):
6069 Call post-read-conversion functions for Devanagari, Malayalam,
6072 2003-09-23 Dave Love <fx@gnu.org>
6074 * Makefile.in (bootstrap-clean): Fix misplaced `!'.
6076 2003-09-22 Nick Roberts <nick@nick.uklinux.net>
6078 * progmodes/gud.el (perldb): Add gud-until to list of commands.
6081 2003-09-22 Richard M. Stallman <rms@gnu.org>
6083 * progmodes/sh-script.el (sh-mode-default-syntax-table):
6084 Rename from sh-mode-syntax-table. Call sh-mode-syntax-table directly.
6085 (sh-mode-syntax-table-input): New variable.
6086 (sh-require-final-newline): Don't use eval.
6087 (sh-builtins, sh-leading-keywords, sh-other-keywords)
6088 (sh-variables, sh-font-lock-keywords): Don't use eval.
6089 (sh-set-shell): When setting require-final-newline,
6090 treat value = `require-final-newline' as don't change it.
6091 Set sh-mode-syntax-table locally based on
6092 sh-mode-syntax-table-input and sh-mode-default-syntax-table.
6094 * progmodes/compile.el (compile-internal):
6095 Call compilation-set-window-height before setting window start.
6097 2003-09-22 Greg Hill <ghill@synergymicro.com> (tiny change)
6099 * emacs-lisp/bytecomp.el (byte-compile-log-file):
6100 Clear out byte-compile-last-warned-form.
6102 2003-09-22 Richard M. Stallman <rms@gnu.org>
6104 * woman.el (woman-file-name, woman-follow-word):
6105 If current-word returns nil, use "".
6107 * simple.el (eval-expression): Bind standard-output in to-buffer case.
6109 2003-09-22 Richard M. Stallman <rms@gnu.org>
6111 * emacs-lisp/lisp-mnt.el (lm-with-file):
6112 Don't visit the file, just use insert-file-contents in temp buffer.
6114 2003-09-22 Jari Aalto <jari.aalto@poboxes.com>
6116 * emacs-lisp/lisp-mnt.el (lm-get-header-re):
6117 Add surrounding \\( and \\) around the header, as in
6118 for lm-history-header 'Change Log\\|History'.
6120 2003-09-22 John Paul Wallington <jpw@gnu.org>
6122 * progmodes/ld-script.el: Add Commentary section,
6123 minor cleanup of file header.
6124 (ld-script-font-lock-keywords): Doc fix.
6125 (toplevel): Provide `ld-script' feature.
6127 2003-09-21 Kim F. Storm <storm@cua.dk>
6129 * scroll-bar.el (set-scroll-bar-mode): Initialize to
6130 new built-in variable default-frame-scroll-bars.
6131 (scroll-bar-mode): Use default-frame-scroll-bars when enabling
6132 scroll-bar-mode; notably, use it instead of t when we toggle
6134 (toggle-scroll-bar): Use default-frame-scroll-bars.
6136 2003-09-19 Masatake YAMATO <jet@gyve.org>
6138 * pcvs.el (cvs-do-removal): Change the prompt depending on
6141 2003-09-19 Glenn Morris <gmorris@ast.cam.ac.uk>
6143 * startup.el (command-line-1): Stop startup-echo-area-message
6144 being hidden by "Loading image..." message.
6145 (use-fancy-splash-screens-p, display-splash-screen):
6146 Move display-graphic-p test from latter to former.
6148 * progmodes/sh-script.el (sh-font-lock-keywords):
6149 Highlight escaped EOLs differently from other backslash constructs.
6151 2003-09-19 Richard M. Stallman <rms@gnu.org>
6153 * emacs-lisp/edebug.el (edebug-var-status, edebug-restore-status):
6155 (edebug-enter, edebug-outside-excursion): Use them.
6157 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6158 Fix the condition for whether to print "In WHERE".
6160 2003-09-19 Jari Aalto <jari.aalto@poboxes.com>
6162 * finder.el (finder-mode-hook): New variable.
6163 (finder-mode): Run hook finder-mode-hook
6165 2003-09-18 Masatake YAMATO <jet@gyve.org>
6167 * progmodes/ebrowse.el: Fix broken magic autoload comments.
6169 2003-09-17 Mario Lang <mlang@delysid.org>
6171 * progmodes/gud.el (perldb): Change gud-print from just "%e" to
6172 "p %e" to actually print the value in the GUD buffer.
6174 2003-09-16 Miles Bader <miles@gnu.ai.mit.edu>
6176 From David Ponce <david.ponce@wanadoo.fr>:
6177 * makefile.w32-in (DONTCOMPILE): Add loaddefs-boot.el.
6178 (bootstrap-clean-CMD, bootstrap-clean-SH): Recreate loaddefs.el
6179 from loaddefs-boot.el if necessary.
6181 2003-09-15 Zoltan Kemenczy <kemenczy@rogers.com>
6183 * progmodes/gud.el (gud-find-class): Make jdb work again since
6184 cc-mode changed the syntactic information.
6186 2003-09-15 David Ponce <david@dponce.com>
6188 * recentf.el: (recentf-exclude): Accept predicates too.
6189 (recentf-file-readable-p): New function.
6190 (recentf-include-p): Handle predicates in recentf-exclude.
6191 (recentf-add-file): Doc fix. Use recentf-file-readable-p.
6192 (recentf-cleanup): Likewise.
6193 (recentf-save-list): Use write-file to handle backup of
6196 2003-09-15 Miles Bader <miles@gnu.ai.mit.edu>
6198 * loaddefs-boot.el: Renamed from `loaddefs.el'
6199 * Makefile.in (DONTCOMPILE): Add loaddefs-boot.el.
6200 (bootstrap-clean): Recreate loaddefs.el from loaddefs-boot.el if
6203 2003-09-13 Thien-Thi Nguyen <ttn@gnu.org>
6205 * electric.el (Electric-pop-up-window): For the `one-window' case,
6206 no longer disconcertingly move point in the original buffer.
6208 2003-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6210 * emacs-lisp/tq.el (tq-create): Fix mixed up unquote style.
6212 2003-09-12 Eric Hanchrow <offby1@blarg.net> (tiny change)
6214 * dired.el (dired-mode-map): Fix typo.
6216 2003-09-11 Richard M. Stallman <rms@gnu.org>
6218 * dired.el (dired-mode-map): Bind M-g to dired-goto-file.
6220 2003-09-11 Paul Pogonyshev <pogonyshev@gmx.net> (tiny change)
6222 * window.el (kill-buffer-and-window): Remove `yes-or-no-p' so that
6223 the function is less noisy. Now only `kill-buffer' can ask questions.
6225 2003-09-10 Mario Lang <mlang@delysid.org>
6227 * battery.el: Update Commentary and Copyright.
6228 (battery-linux-proc-acpi): Fix a bug in %b which made "!" never
6229 appear due to wrong ordering of the expressions in `or'.
6231 2003-09-09 Lute Kamstra <lute@gnu.org>
6233 * misc.el (upcase-char): Fix docstring.
6234 (zap-up-to-char): New command.
6236 2003-09-08 David Ponce <david@dponce.com>
6238 Ensure that recentf correctly updates the menu bar.
6239 * recentf.el (recentf-menu-path,recentf-menu-before): Doc fix.
6240 (recentf-menu-bar): New function.
6241 (recentf-clear-data): Use it
6242 (recentf-update-menu): Likewise. Use easy-menu-add-item instead
6243 of easy-menu-change.
6245 2003-09-08 Lute Kamstra <lute@gnu.org>
6247 * simple.el (size-indication-mode): New.
6248 * bindings.el (mode-line-position): Add buffer size indicator.
6250 2003-09-04 Mario Lang <mlang@delysid.org>
6252 * battery.el (battery-linux-proc-acpi): New function.
6253 (battery-status-function): Modify default value calculation to also
6254 check for availability of ACPI.
6255 (battery-echo-area-format): Ditto.
6256 (battery-mode-line-format): Ditto.
6258 2003-09-06 Dave Love <fx@gnu.org>
6260 * ielm.el (ielm-mode-hook): Add :options.
6262 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info-function): New.
6263 (eldoc-print-current-symbol-info): Use it.
6265 2003-09-04 Nick Roberts <nick@nick.uklinux.net>
6267 * gdb-ui.el (gud-display1): Use gud-call to prevent extra prompt
6268 being displayed in GUD buffer.
6269 (gdb-idle-input-queue): Remove var. Use just one queue.
6270 (gdb-enqueue-idle-input,gdb-dequeue-idle-input):
6271 Remove functions. Use just one queue.
6272 (gdb-prompt, gdb-subprompt, def-gdb-auto-update-trigger)
6273 (gdb-invalidate-assembler, gdb-get-current-frame):
6274 Modify functions. Use just one queue.
6276 2003-09-04 Dave Love <fx@gnu.org>
6278 * cus-start.el: Add blink-cursor-alist.
6280 * ruler-mode.el (ruler-mode-fill-column-char)
6281 (ruler-mode-current-column-char): Use char-displayable-p,
6284 * international/codepage.el ("mule-diag"): Add eval-after-load clause.
6286 * language/european.el (windows-1252): Move from code-pages.
6288 * language/cyrillic.el ("Windows-1251"): Delete.
6289 ("Bulgarian", "Belarusian"): Remove `features'.
6290 (windows-1251): Move from code-pages.
6292 * international/mule-diag.el (non-iso-charset-alist):
6293 Remove `codepage' stuff.
6294 (print-designation, list-coding-systems-1): Output fixes.
6296 * international/code-pages.el (cp-make-translation-table)
6297 (cp-valid-codes): Made defsubsts.
6298 (cp-fix-safe-chars): Delete.
6299 (mule-diag): Don't require.
6300 (windows-1251, windows-1252): Remove to cyrillic.el/european.el.
6301 (top-level): Check for defined coding system when defining
6302 cp... aliases. Change w32-add-charset-info test to avoid warning.
6303 (non-iso-charset-alist): Defvar when compiling.
6304 (cp-make-coding-system): Doc fix.
6306 2003-09-02 Jason Rumney <jasonr@gnu.org>
6308 * international/titdic-cnv.el (tsang-quick-converter): Fix broken
6309 line-ends from CVS before doing conversion.
6311 2003-09-02 Glenn Morris <gmorris@ast.cam.ac.uk>
6313 * calendar/diary-lib.el (diary-header-line-flag)
6314 (diary-header-line-format): New variables.
6315 (list-diary-entries): Use them to set header line in simple diary.
6317 * progmodes/sh-script.el (sh-font-lock-keywords): Use something
6318 other than font-lock-string-face to highlight backslashes.
6320 2003-09-01 Jason Rumney <jasonr@gnu.org>
6322 * international/titdic-cnv.el (tit-read-key-value): Include \r in
6325 2003-09-01 Dave Love <fx@gnu.org>
6327 * mouse.el (mouse-popup-menubar, mouse-skip-word): Doc fix.
6329 * menu-bar.el (menu-bar-showhide-menu): Amend date and time label
6330 and :help; also line and column numbers labels.
6332 * international/mule-util.el (char-displayable-p): Move from
6333 latin1-disp, rename and autoload.
6335 * international/latin1-disp.el (latin1-char-displayable-p):
6336 Now obsolete alias. Replace uses with char-displayable-p.
6337 (latin1-display-ucs-per-lynx): Fix last change.
6339 * international/mule-cmds.el (standard-display-european-internal):
6340 Don't use char code for Latin-1 NBSP.
6341 <XFree86 4>: Unfrob NBSP display table. Set display table to use
6342 U+2018, U+2019 for `'.
6343 (select-safe-coding-system): Message fix.
6345 2003-09-01 Kenichi Handa <handa@m17n.org>
6347 * international/fontset.el (setup-default-fontset): For Thai
6348 font, specify "*" family.
6350 2003-09-01 Kevin Rodgers <ihs_4664@yahoo.com> (tiny change)
6352 * progmodes/compile.el (previous-error): Accept a prefix
6353 argument, similarly to next-error.
6355 2003-08-31 Masatake YAMATO <jet@gyve.org>
6357 * pcvs.el (cvs-do-removal): Use = instead of eq to check
6358 the number of files. Bind the number of files to a local
6359 variable. Suggested by Kevin Rodgers <ihs_4664@yahoo.com>.
6361 2003-08-30 Eli Zaretskii <eliz@gnu.org>
6363 * vc-hooks.el (vc-make-version-backup): Fix the change made on
6364 2003-07-26: msdos-long-file-names is a function, not a variable.
6366 2003-08-29 Richard M. Stallman <rms@gnu.org>
6368 * mail/sendmail.el (sendmail-sync-aliases, mail-setup):
6369 Do nothing with mail-personal-alias-file if it is nil.
6371 * mail/mailabbrev.el (mail-abbrevs-sync-aliases):
6372 Do nothing if mail-personal-alias-file is nil.
6374 * term.el (term-exec-1): Bind coding-system-for-read.
6376 * dired.el (dired-mouse-find-file-other-window):
6377 Use dired-view-command-alist here, as in dired-view-file.
6378 (dired-view-command-alist): Use %s to substitute file name.
6379 Handle .ps_pages, .eps, .jpg, .gif, .png.
6381 2003-08-29 Paul Pogonyshev <pogonyshev@gmx.net> (tiny change)
6383 * info.el (Info-mode-map): Bind S-tab and <backtab> to
6384 `Info-prev-reference', instead of M-tab.
6386 2003-08-29 Martin Stjernholm <mast@lysator.liu.se>
6388 * simple.el (blink-matching-open): Work correctly on chars that
6389 are designated as parens through the syntax-table text property.
6391 2003-08-29 Thierry Emery <thierry.emery@club-internet.fr> (tiny change)
6393 * kinsoku.el (kinsoku-longer, kinsoku-shorter): Do not choose a
6394 line break position in the middle of a non-kinsoku (e.g. latin)
6395 word, making it skip until either a space or a character with
6397 (kinsoku-longer): Test for end of buffer.
6399 2003-08-28 Eli Zaretskii <eliz@gnu.org>
6401 * mail/rmail.el (rmail-convert-to-babyl-format):
6402 Detect quoted-printable- and base64-encoded messages and decode them
6403 automatically. Set the message's encoding from the charset=
6404 header, if any. Decode base64-encoded messages in Mail format as well.
6406 2003-08-26 Glenn Morris <gmorris@ast.cam.ac.uk>
6408 * mail/smtpmail.el: Fix previous change.
6409 (smtpmail-send-queued-mail): Set smtpmail-mail-address before
6410 calling smtpmail-via-smtp.
6411 (smtpmail-via-smtp): Add fall-back values for envelope-from.
6413 2003-08-26 John Paul Wallington <jpw@gnu.org>
6415 * image.el (image-jpeg-p): Don't search beyond length of data.
6417 2003-08-26 Martin Stjernholm <bug-cc-mode@gnu.org>
6419 * progmodes/cc-cmds.el (c-electric-brace): Work around for a
6420 misfeature in `expand-abbrev' which caused electric keywords like
6421 "else" to disappear if an open brace was typed directly afterwards.
6423 2003-08-26 Martin Stjernholm <bug-cc-mode@gnu.org>
6425 * progmodes/cc-vars.el (c-extra-types-widget): The doc string is
6426 mandatory in `define-widget'.
6428 * progmodes/cc-align.el, progmodes/cc-langs.el (c-lineup-math):
6429 Don't align the operators "!=", "<=" and ">=" as assignment operators.
6431 (c-assignment-operators): New language constant that only contains
6432 the assignment operators.
6434 (c-assignment-op-regexp): New language var used by `c-lineup-math'.
6436 2003-08-26 Martin Stjernholm <bug-cc-mode@gnu.org>
6438 * progmodes/cc-engine.el (c-just-after-func-arglist-p):
6439 Safeguard against unbalanced sexps.
6441 2003-08-26 Terje Rosten <terjeros@phys.ntnu.no>
6443 * version.el (emacs-version): Check for gtk. Include gtk version info.
6445 2003-08-25 John Paul Wallington <jpw@gnu.org>
6447 * man.el (Man-default-man-entry): Don't whizz past the section
6448 number before looking for it.
6450 2003-08-24 Nick Roberts <nick@nick.uklinux.net>
6452 * progmodes/gud.el (gud-display-line): Don't set window-point if
6453 source buffer is not visible. (Only happens with M-x gdba.)
6455 * gdb-ui.el (gdba): Remove gdb-quit (previously removed) from
6457 (gdb-source, gdb-source-info): Update to assembler unnecessary
6458 as its done after each GDB command anyway.
6459 (gdb-pre-prompt): Use with-current-buffer.
6460 (gdb-insert-field): Add help-echo text.
6461 (gdb-invalidate-assembler): Re-display of assembler now done in
6462 gdb-info-breakpoints-custom.
6463 (gdb-info-breakpoints-custom): Force re-display of assembler to
6464 happen *after* update of breakpoints buffer.
6465 (gdb-display-source-buffer): Don't choke if gdb-source-window
6467 (gdb-put-string, gdb-put-arrow): Remove free variables.
6469 2003-08-24 John Paul Wallington <jpw@gnu.org>
6471 * ibuffer.el (ibuffer-formats): Make name and size columns wider.
6473 * man.el (Man-default-man-entry): Strip text properties when
6474 snarfing parts of entry because `format' preserves properties.
6476 2003-08-24 Glenn Morris <gmorris@ast.cam.ac.uk>
6478 * files.el (file-newest-backup): Use `expand-file-name'.
6480 * calendar/diary-lib.el (simple-diary-display, make-diary-entry):
6481 Allow the diary to pop up a new frame, if needed.
6483 * mail/sendmail.el (mail-specify-envelope-from): Doc change.
6484 * mail/smtpmail.el (smtpmail-mail-address): Doc change.
6485 (smtpmail-send-it): Make treatment of envelope-from consistent with
6488 * progmodes/sh-script.el (sh-builtins): Add some bash builtins.
6489 (sh-leading-keywords): Add the bash `time' reserved word.
6490 (sh-variables): Add some bash variables.
6491 (sh-add-completer): Fix nil branch of case statement.
6493 2003-08-24 Masatake YAMATO <jet@gyve.org>
6495 * progmodes/ld-script.el: New file.
6497 2003-08-23 Markus Rost <rost@math.ohio-state.edu>
6499 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates): Doc fix.
6501 2003-08-23 Andre Spiegel <spiegel@gnu.org>
6503 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates):
6504 Better explain obsolescence, and what to use instead.
6506 2003-08-23 Masatake YAMATO <jet@gyve.org>
6508 * pcvs.el (cvs-do-removal): Show the deleted file name
6511 2003-08-20 Dave Love <fx@gnu.org>
6513 * international/mule.el (make-coding-system)
6514 (set-buffer-file-coding-system): Doc fix.
6516 * emacs-lisp/lisp-mode.el (common-lisp-mode): New.
6518 * emacs-lisp/lisp.el (beginning-of-defun-function): Doc fix.
6520 * international/utf-8.el (ucs-unicode-to-mule-cjk): Use smaller :size.
6522 * international/utf-16.el: Add mime-text-unsuitable coding system
6525 * international/latin1-disp.el (latin1-display): Add ?
\e$,1s"
\e(B.
6527 * cus-edit.el: Add some :links.
6530 * textmodes/bib-mode.el (bib): Add :group external.
6532 2003-08-18 Luc Teirlinck <teirllm@mail.auburn.edu>
6534 * wid-edit.el (widget-echo-help): Make it handle expressions that
6535 evaluate to strings.
6537 2003-08-18 Michael Mauger <mmaug@yahoo.com>
6539 Version 1.8.0 of sql-mode. (Patch submitted 2003-06-21)
6541 Simplify selection of SQL products to define highlighting and
6542 interactive mode. Includes detailed instructions on adding
6543 support for new products.
6545 * progmodes/sql.el (sql-product): New variable. Identifies SQL
6546 product for use in highlighting and interactive mode.
6547 (sql-interactive-product): New variable. SQL product for
6548 sql-interactive-mode.
6549 (sql-product-support): New variable. Specifies product-specific
6550 parameters to drive highlighting and interactive mode.
6551 (sql-imenu-generic-expression): Add more object types.
6552 (sql-sqlite-options): Correct comment.
6553 (sql-ms-program): Use "osql" rather than "isql".
6554 (sql-prompt-regexp, sql-prompt-length): Update comment.
6555 (sql-mode-menu): Add "Start SQLi session" entry.
6556 Replace Highlighting submenu with Product menu. Fix Send Region entry.
6557 (sql-mode-abbrev-table): Add abbreviations. Support of
6558 SYSTEM-FLAG on define-abbrev. Support was removed with last
6559 check-in; it now handles older Emacsen without the SYSTEM-FLAG.
6560 (sql-mode-font-lock-object-name): Add font-lock pattern for object
6562 (sql-mode-ansi-font-lock-keywords): Set as default value.
6563 (sql-mode-oracle-font-lock-keywords): Set as default value.
6564 Support Oracle 9i keywords.
6565 (sql-mode-postgres-font-lock-keywords): Set as default value.
6566 (sql-mode-linter-font-lock-keywords): Set as default value.
6567 (sql-mode-ms-font-lock-keywords): New variable. Support Microsoft
6569 (sql-mode-sybase-font-lock-keywords)
6570 (sql-mode-interbase-font-lock-keywords)
6571 (sql-mode-sqlite-font-lock-keywords)
6572 (sql-mode-strong-font-lock-keywords)
6573 (sql-mode-mysql-font-lock-keywords)
6574 (sql-mode-db2-font-lock-keywords): New variables. Default to ANSI
6576 (sql-mode-font-lock-defaults): Update comment.
6577 (sql-product-feature): New function. Returns feature associated
6578 with a product from `sql-product-support' alist.
6579 (sql-product-font-lock): New function. Set font-lock support
6580 based on `sql-product'.
6581 (sql-add-product-keywords): New function. Add font-lock rules to
6582 product-specific keyword variables.
6583 (sql-set-product): New function. Set `sql-product' and apply
6584 appropriate font-lock highlighting.
6585 (sql-highlight-product): New function. Set font-lock support
6586 based on a product. Also set mode name to include product name.
6587 (sql-highlight-ansi-keywords, sql-highlight-oracle-keywords)
6588 (sql-highlight-postgres-keywords, sql-highlight-linter-keywords):
6589 Use `sql-set-product'.
6590 (sql-highlight-ms-keywords)
6591 (sql-highlight-sybase-keywords)
6592 (sql-highlight-interbase-keywords)
6593 (sql-highlight-strong-keywords)
6594 (sql-highlight-mysql-keywords)
6595 (sql-highlight-sqlite-keywords)
6596 (sql-highlight-db2-keywords): New functions. Use `sql-set-product'.
6597 (sql-get-login): Prompt in the same order as the tokens.
6598 (sql-mode): Uses `sql-product-highlight' and `sql-product-font-lock'.
6599 (sql-product-interactive): New function. Common portions of
6600 product-specific interactive mode wrappers.
6601 (sql-interactive-mode): Rewritten to use product features.
6602 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6603 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6604 (sql-db2, sql-linter): Use `sql-product-interactive'.
6605 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6606 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6607 (sql-connect-ingres, sql-connect-postgres)
6608 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6609 New functions. Format command line parameters and invoke comint on
6610 the appropriate interpreter. Code was in the corresponding
6611 `sql-xyz' function before.
6612 (sql-connect-ms): New function. Support -E argument to use
6613 operating system credentials for authentication.
6615 2003-08-18 Kenichi Handa <handa@m17n.org>
6617 * international/mule.el (encode-char): Fix for the ASCII case.
6619 2003-08-15 Kenichi Handa <handa@m17n.org>
6621 * international/fontset.el (setup-default-fontset): Change "*" to
6622 nil in the specifications of font family.
6624 2003-08-18 Kim F. Storm <storm@cua.dk>
6626 * kmacro.el (kmacro-keymap): Group related bindings in
6627 initialization for clarity. Bind C-s to start macro.
6629 (kmacro-initial-counter-value): New defvar to hold initial counter
6630 value in case we set the value before defining a macro.
6631 (kmacro-insert-counter): Clear kmacro-initial-counter-value..
6632 (kmacro-set-counter): Set kmacro-initial-counter-value if we are
6633 not defining or executing macro. Doc fix.
6634 (kmacro-add-counter): Clear kmacro-initial-counter-value.
6635 (kmacro-view-last-item, kmacro-view-item-no): New defvars used to
6636 temporarily view older elements on the macro ring without cycling
6638 (kmacro-display): Doc fix.
6639 (kmacro-exec-ring-item): New helper function.
6640 (kmacro-call-ring-2nd): Use it.
6641 (kmacro-call-ring-2nd-repeat): Doc fix.
6642 (kmacro-start-macro): Use (and clear) kmacro-initial-counter-value.
6643 (kmacro-end-or-call-macro): Execute last viewed macro (using
6644 kmacro-exec-ring-item) from ring if this follows
6645 kmacro-view-macro. This allows us to find a macro on the ring
6646 with C-x C-k C-v C-v ... and execute it (with C-k) without cycling
6647 the ring to bring it to the head of the ring.
6648 (kmacro-bind-to-key): Doc fix (describe reserved bindings).
6649 Allow binding to reserved keys without specifying C-x C-k prefix.
6650 Ask for confirmation if entered key sequence is already bound to
6651 a non-macro command.
6652 (kmacro-view-macro): Repeating command will show older elements
6653 on the macro ring; C-k will execute the last viewed macro.
6654 (kmacro-view-macro-repeat): Doc fix. Change its kmacro-repeat
6655 property from 'ring to 'head.
6657 2003-08-17 Alan Shutko <ats@acm.org>
6659 * calendar/calendar.el (calendar-make-alist): Correct off-by-one
6660 keeping December out of the alist.
6662 2003-08-17 Edward M. Reingold <reingold@emr.cs.iit.edu>
6664 * calendar/cal-move.el (calendar-goto-day-of-year): New function.
6665 * calendar/calendar.el (calendar-mode-map): Bind it to key.
6666 * calendar/cal-menu.el (calendar-mode-map): Add it to menu.
6667 (calendar-flatten): New function.
6668 (calendar-mouse-view-other-diary-entries)
6669 (calendar-mouse-view-diary-entries): Rewritten to put any holidays
6670 in the menu title and to show multi-line diary entries correctly
6673 2003-08-17 Luc Teirlinck <teirllm@mail.auburn.edu>
6675 * info.el (Info-scroll-prefer-subnodes): Add :version keyword to
6676 defcustom, because the default was recently changed.
6678 2003-08-16 Richard M. Stallman <rms@gnu.org>
6680 * net/ange-ftp.el (ange-ftp-error): Add save-excursion.
6682 * emacs-lisp/lisp-mode.el (eval-last-sexp-print-value):
6683 New subroutine, broken out of eval-last-sexp-1.
6684 (eval-last-sexp-1): Use eval-last-sexp-print-value.
6686 * custom.el (custom-load-symbol): Load cus-load and cus-start first.
6688 * dabbrev.el (dabbrev--safe-replace-match): Use with-no-warnings.
6690 * simple.el (eval-expression): Use eval-last-sexp-print-value.
6692 2003-08-14 Jari Aalto <jari.aalto@poboxes.com>
6694 * progmodes/compile.el (compilation-error-regexp-alist):
6695 Add Java ANt error detection as described in document
6696 http://ant.apache.org/faq.html
6698 2003-08-12 Juri Linkov <juri@jurta.org> (tiny change)
6700 * simple.el (backward-word, forward-to-indentation)
6701 (backward-to-indentation): Argument changed to optional.
6702 (next-line, previous-line): Use `or' instead of `unless'.
6704 2003-08-12 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6706 * progmodes/ebnf-iso.el (ebnf-no-meta-identifier): Becomes a var
6707 instead of a constant.
6709 2003-08-12 Markus Rost <rost@math.ohio-state.edu>
6711 * shell.el (shell): With prefix-arg, suggest a new buffer name.
6713 2003-08-12 Andre Spiegel <spiegel@gnu.org>
6715 * vc-sccs.el (vc-sccs-state-heuristic): Fix parentheses.
6716 (vc-sccs-workfile-version): Search the entire delta table, rather
6717 than just the first entry, because that might be a deleted version.
6719 2003-08-11 Karl Fogel <kfogel@red-bean.com>
6721 * menu-bar.el (menu-bar-options-menu): Supply a body for the
6722 [save-place] binding in the Options menu. Have it require
6723 'saveplace' and then toggle the variable manually, to avoid an an
6724 unbound variable error. Thanks to <Sebastien.Kirche@sage.com>
6727 2003-08-11 Nick Roberts <nick@nick.uklinux.net>
6729 * gdb-ui.el (gdb-insert-field, gdb-array-format1)
6730 (gdb-info-breakpoints-custom, gdb-info-frames-custom)
6731 (gdb-info-threads-custom): Add help-echo text.
6732 (gdb-display-back): Don't use purecopy.
6733 (gdb-info-breakpoints-custom, gdb-reset)
6734 (gdb-assembler-custom): Use display-images-p to test if breakpoint
6735 icons can be displayed.
6737 2003-08-11 Markus Rost <rost@math.ohio-state.edu>
6739 * textmodes/reftex-vars.el (reftex-auto-recenter-toc): Fix typo.
6741 2003-08-11 Stefan Monnier <monnier@cs.yale.edu>
6743 * bookmark.el (bookmark-completing-read):
6744 Return a string, instead of a list of one string.
6745 Use a popup menu if activated from the mouse.
6746 (bookmark-edit-annotation): Remove unused vars.
6747 (bookmark-jump, bookmark-relocate, bookmark-insert-location)
6748 (bookmark-rename, bookmark-insert, bookmark-delete): Adjust calls
6749 to bookmark-completing-read.
6750 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
6751 (bookmark-bmenu-mark, bookmark-bmenu-select, bookmark-bmenu-unmark)
6752 (bookmark-bmenu-delete, bookmark-bmenu-list): Use inhibit-read-only
6754 (bookmark-menu-delete, bookmark-menu-rename, bookmark-menu-locate)
6755 (bookmark-menu-jump, bookmark-menu-insert)
6756 (bookmark-popup-menu-and-apply-function)
6757 (bookmark-menu-popup-paned-bookmark-menu): Remove.
6758 (bookmark-menu-build-paned-menu): Remove by folding it into
6759 bookmark-menu-popup-paned-menu.
6760 (menu-bar-bookmark-map): Move the define-key statements here.
6761 Use the "non-menu" commands since they now pop up a menu if needed.
6762 (bookmark-exit-hook-internal): Simplify.
6764 2003-08-11 Carsten Dominik <dominik@sand.science.uva.nl>
6766 * reftex-toc.el (reftex-toc-rename-label): New function.
6767 (reftex-toc-check-docstruct): New function.
6769 * reftex.el (reftex-region-active-p): New function.
6771 * reftex-parse.el (reftex-locate-bibliography-files): Improved the
6772 regexp to find the \bibliography macro.
6774 * reftex-vars.el (reftex-section-levels): Removed subsubparagraph,
6775 which does not exist in LaTeX.
6776 (reftex-cite-format-builtin): Added amsrefs support.
6777 (reftex-toc-confirm-promotion): New option
6780 (reftex-toc): Use `reftex-toc-split-windows-fraction'.
6781 (reftex-toc-demote, reftex-toc-promote)
6782 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6783 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6784 (reftex-toc-newhead-from-alist)
6785 (reftex-toc-load-all-files-for-promotion): New functions.
6786 (reftex-toc-help): Added description of new keys.
6787 (reftex-toc-split-windows-fraction): New option.
6788 (reftex-recenter-toc-when-idle): Search *toc* window on all
6790 (reftex-toc): Additional parameter REUSE
6791 (reftex-toc-recenter): Remember current frame. Call `reftex-toc'
6792 with REUSE argument.
6793 (reftex-recenter-toc-when-idle): Reset `current-prefix-arg' for
6794 the call of `reftex-toc'.
6795 (reftex-make-separate-toc-frame): New function .
6796 (reftex-toc-recenter): When called with triple prefix arg, call
6797 `reftex-make-separate-toc-frame' first.
6798 (reftex-toc-toggle-dedicated-frame): New command.
6799 (reftex-toc-quit): Adapted to delete frame when called in
6802 * reftex-index.el (reftex-index-phrase-match-is-indexed): Check
6803 all enclosing macros.
6806 2003-08-08 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6808 * progmodes/ebnf2ps.el (ebnf-total, ebnf-nprod): Move defvar before
6811 2003-08-07 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6813 * progmodes/ebnf2ps.el (ebnf-begin-job): Code fix.
6815 2003-08-06 Glenn Morris <gmorris@ast.cam.ac.uk>
6817 * calendar/calendar.el (list-diary-entries-hook)
6818 (diary-display-hook, nongregorian-diary-listing-hook)
6819 (mark-diary-entries-hook, nongregorian-diary-marking-hook):
6820 Add some customize options for these hooks.
6821 (calendar-abbrev-construct): Don't try to take a substring longer
6822 than the original string.
6824 2003-08-05 Richard M. Stallman <rms@gnu.org>
6826 * emacs-lisp/testcover.el (noreturn): Report error if does return.
6827 (testcover-reinstrument-clauses): Doc fix.
6829 * emacs-lisp/warnings.el: Doc fixes, args renamed.
6830 (warning-type-format): Rename from warning-group-format.
6832 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-var): New var.
6833 (byte-compile-variable-ref): Handle byte-compile-not-obsolete-var.
6834 (byte-compile-defvar): Bind byte-compile-not-obsolete-var
6835 to prevent warnings about defvar for an obsolete variable.
6837 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
6838 warning-group-format renamed to warning-type-format.
6840 * subr.el (read-passwd): Use clear-string instead of fillarray.
6842 * edmacro.el (edmacro-format-keys): Use edmacro-sanitize-for-string.
6843 Use vconcat instead of concat.
6844 (edmacro-sanitize-for-string): New function.
6846 2003-08-05 Dave Love <fx@gnu.org>
6848 * cus-start.el: Add open-paren-in-column-0-is-defun-start,
6849 line-number-display-limit-width.
6851 * textmodes/tex-mode.el (tex-dvi-view-command): Fix quoted quotes.
6853 2003-08-05 Kenichi Handa <handa@m17n.org>
6855 * international/code-pages.el: Don't require mule-diag.
6857 * international/mule-diag.el (non-iso-charset-alist):
6858 Add autoload cookie.
6860 * language/devan-util.el (dev-glyph-order): Add an entry for the
6863 2003-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
6865 * calendar/calendar.el (diary-file, diary-file-name-prefix)
6866 (european-calendar-style, diary-date-forms)
6867 (calendar-day-name-array, calendar-month-name-array): Doc change.
6868 (generate-calendar-month): Adapt for new behaviour of
6869 `calendar-day-name' function.
6870 (calendar-abbrev-length, calendar-day-abbrev-array)
6871 (calendar-month-abbrev-array): New variables.
6872 (calendar-abbrev-construct): New function.
6873 (calendar-day-name, calendar-month-name): Use new abbrev arrays,
6874 rather than fixing abbrevs at some width. Calling syntax change.
6875 (calendar-make-alist): Use abbrev arrays. Calling syntax change.
6876 (calendar-date-string): Adapt for new behaviours of
6877 `calendar-day-name' and `calendar-month-name' functions.
6879 * calendar/diary-lib.el (list-diary-entries): Adapt for new
6880 behaviour of `calendar-day-name' and `calendar-month-name' functions.
6881 (diary-name-pattern): Use abbrev arrays, rather than fixing
6882 abbrevs at three chars. Calling syntax change.
6883 (mark-diary-entries): Adapt for new behaviours of
6884 `diary-name-pattern' and `calendar-make-alist' functions.
6885 (fancy-diary-font-lock-keywords): Adapt for new behaviour of
6886 `diary-name-pattern' function.
6887 (font-lock-diary-date-forms): Use abbrev arrays, rather than
6888 fixing abbrevs at three chars. Calling syntax change.
6889 (cal-hebrew, cal-islam): Require when compiling.
6890 (diary-font-lock-keywords): Adapt for new behaviour of
6891 `font-lock-diary-date-forms' function.
6893 * calendar/cal-hebrew.el: Reposition some code so defined before used.
6894 (calendar-hebrew-month-name-array-common-year)
6895 (calendar-hebrew-month-name-array-leap-year): Add doc strings.
6896 (list-hebrew-diary-entries): Adapt for new behaviours of
6897 `calendar-day-name' and `add-to-diary-list' functions.
6898 (mark-hebrew-diary-entries): Adapt for new behaviours of
6899 `diary-name-pattern' and `calendar-make-alist' functions.
6901 * calendar/cal-islam.el (calendar-islamic-month-name-array):
6903 (list-islamic-diary-entries): Adapt for new behaviours of
6904 `calendar-day-name' and `add-to-diary-list' functions.
6905 (mark-islamic-diary-entries): Adapt for new behaviours of
6906 `diary-name-pattern' and `calendar-make-alist' functions.
6908 * calendar/cal-menu.el (cal-menu-update): Adapt for new behaviour of
6909 `calendar-month-name' function.
6911 * calendar/cal-coptic.el (coptic-name): defvar rather than defconst.
6913 * calendar/solar.el (solar-seasons-data): Move definition before use.
6915 * calendar/cal-tex.el (cal-tex-day-name-format): Doc fix.
6916 (cal-tex-LaTeX-hourbox): Move definition before use.
6918 * calendar/cal-china.el, cal-hebrew.el, cal-islam.el,
6919 cal-julian.el, cal-menu.el, cal-move.el, holidays.el,
6921 (displayed-month, displayed-year): Define for compiler.
6923 2003-08-03 Martin Stjernholm <bug-cc-mode@gnu.org>
6925 * progmodes/cc-mode.el (c-init-language-vars-for): Add argument
6926 MODE. Renamed from c-init-c-language-vars'.
6927 (c-initialize-cc-mode): Change accordingly.
6928 (c-common-init): Ditto.
6930 (c++-mode): Use `c-init-language-vars-for'.
6937 2003-08-03 Martin Stjernholm <bug-cc-mode@gnu.org>
6939 * progmodes/cc-engine.el (c-end-of-current-token): Return whether
6940 or not the point moved.
6942 (c-search-decl-header-end): Don't trip up on operator identifiers
6943 in C++ and operators like == in all languages.
6945 * progmodes/cc-engine.el (c-backward-to-decl-anchor):
6946 Detect leading labels correctly.
6948 2003-08-02 Andreas Schwab <schwab@suse.de>
6950 * textmodes/ispell.el: Don't redo key bindings on loading, put
6951 them only in loaddefs.el.
6952 * bookmark.el: Likewise.
6953 * dabbrev.el: Likewise.
6954 * emerge.el: Likewise.
6956 * apropos.el (apropos-words-to-regexp): Only add `wild' if `words'
6957 has more than one member.
6959 * progmodes/sh-script.el (sh-mode): Don't set mode-class property.
6961 2003-08-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6963 * lpr.el (printify-region): It was ending conversion before the
6964 expected position. Reported by Keiichi Suzuki <keiichi@nanap.org>.
6966 2003-07-31 John Paul Wallington <jpw@gnu.org>
6968 * net/browse-url.el (browse-url-epiphany): Doc fix.
6970 2003-07-30 Kenichi Handa <handa@m17n.org>
6972 * international/fontset.el (setup-default-fontset):
6973 Change registry names of Akurti fonts.
6975 2003-07-29 Jesper Harder <harder@ifa.au.dk> (tiny change)
6977 * comint.el (comint-read-noecho): Use `clear-string' instead of
6980 2003-07-29 Thomas W Murphy <twm@andrew.cmu.edu> (tiny change)
6982 * outline.el (outline-mode-hook): Add defvar.
6984 2003-07-28 Nick Roberts <nick@nick.uklinux.net>
6986 * gdb-ui.el (gdb-setup-windows, gdb-restore-windows):
6987 Restore assembler in source window if that is what has been selected.
6988 (menu): Add gdb-restore-windows to menu. Make gdba
6989 specific menus only visible from gdba.
6991 2003-07-28 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
6993 * progmodes/compile.el (compilation-environment): New user variable.
6994 (compile-internal): Respect it.
6996 2003-07-23 Masatake YAMATO <jet@gyve.org>
6998 * progmodes/gud.el (gdb-script-font-lock-keywords):
6999 Put `font-lock-function-name-face' on a symbol which includes
7000 `-' like `hook-run'. Put font-lock-variable-name-face
7001 on a symbol starting with $.
7003 2003-07-27 Markus Rost <rost@math.ohio-state.edu>
7005 * files.el (set-visited-file-name): Use truename for buffer-file-name.
7007 2003-07-26 Markus Rost <rost@math.ohio-state.edu>
7009 * vc-hooks.el (vc-file-not-found-hook): Doc fix.
7011 2003-07-26 Andre Spiegel <spiegel@gnu.org>
7013 * vc-hooks.el (vc-default-registered, vc-make-version-backup):
7014 Use with-no-warnings.
7015 (vc-file-not-found-hook): Add this to find-file-not-found-functions,
7016 rather than to find-file-not-found-hook, which doesn't exist.
7018 2003-07-26 Markus Rost <rost@math.ohio-state.edu>
7020 * international/quail.el (quail-translate-key): Fix previous change.
7022 2003-07-25 John Paul Wallington <jpw@gnu.org>
7024 * server.el (server-start): Check `server-process' is non-nil
7025 before killing it to avoid killing current buffer's process.
7027 * simple.el (choose-completion-string): Use `minibufferp';
7028 test `completion-reference-buffer' if `buffer' arg is nil.
7029 (push-mark): Use `when' and `unless'.
7030 (pop-mark): Use `when'.
7032 * mouse-sel.el (mouse-sel-get-selection-function):
7033 Check `x-last-selected-text-primary'. Don't barf if it or
7034 `x-last-selected-text' aren't bound.
7036 2003-07-25 Kevin Rodgers <ihs_4664@yahoo.com> (tiny change)
7038 * menu-bar.el (menu-bar-tools-menu): Minor change in strings.
7040 2003-07-23 Stefan Monnier <monnier@cs.yale.edu>
7042 * vc-svn.el (vc-svn-diff-switches): Don't default to vc-diff-switches.
7044 2003-07-23 John Paul Wallington <jpw@gnu.org>
7046 * tooltip.el (defface tooltip): Inherit from variable-pitch.
7048 2003-07-23 Glenn Morris <gmorris@ast.cam.ac.uk>
7050 * emacs-lisp/derived.el (define-derived-mode): Mention hook in doc
7051 string. Defvar the derived hook.
7053 * macros.el (insert-kbd-macro): Escape double quote character.
7054 From Thomas W Murphy <twm@andrew.cmu.edu>.
7056 2003-07-22 Stefan Monnier <monnier@cs.yale.edu>
7058 * textmodes/fill.el (fill-comment-paragraph): Construct a regexp
7059 to match the specific mark rather than reusing comment-start-skip.
7061 2003-07-22 Thien-Thi Nguyen <ttn@gnu.org>
7063 * progmodes/hideshow.el (hs-special-modes-alist):
7064 Clarify MDATA-SELECTOR doc; nfc. Thanks to Michael Ernst.
7066 2003-07-21 Markus Rost <rost@math.ohio-state.edu>
7068 * progmodes/idlwave.el (idlwave-comment-indent-char): Fix default
7071 2003-07-21 John Paul Wallington <jpw@gnu.org>
7073 * subr.el (with-selected-window): Add closing paren.
7075 2003-07-21 Richard M. Stallman <rms@gnu.org>
7077 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use run-mode-hooks.
7078 (lisp-mode): Likewise.
7080 * subr.el (with-selected-window): Copy code form save-selected-window
7081 so as to call select-window with norecord arg.
7082 (dynamic-completion-table): Doc fix.
7083 (lazy-completion-table): Doc fix.
7085 * international/mule-cmds.el (set-locale-environment):
7086 langinfo renamed to locale-info.
7088 * international/mule.el (auto-coding-functions): Doc fix.
7090 2003-07-21 Kenichi Handa <handa@m17n.org>
7092 * international/quail.el (quail-translate-key):
7093 Update quail-current-str correctly.
7095 2003-07-21 Andreas Schwab <schwab@suse.de>
7097 * progmodes/sh-script.el (sh-mode-syntax-table): Change syntax of
7100 2003-07-20 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
7101 Version 2.0.36 of Tramp released.
7103 * net/tramp.el (tramp-default-password-end-of-line): Rename from
7104 tramp-password-end-of-line.
7105 (tramp-password-end-of-line): New method parameter.
7106 (tramp-get-password-end-of-line): Function to access method
7107 parameter `tramp-password-end-of-line', or variable
7108 `tramp-default-password-end-of-line' (default value).
7109 (tramp-methods): Add entries for new parameter
7110 tramp-password-end-of-line.
7111 (tramp-enter-password): Use new function
7112 `tramp-get-password-end-of-line'.
7113 (tramp-handle-insert-file-contents): Do not
7114 unconditionally inhibit the file operation file-local-copy, only
7115 do that when the inhibit-file-name-operation is currently
7116 insert-file-contents. This fixes finding remote CVS-controlled
7117 files. (It would barf on inserting the CVS/Entries file
7118 literally, because the file-local-copy handler wasn't called.)
7119 (tramp-handle-shell-command): Support optional third arg ERROR-BUFFER.
7120 (tramp-sh-extra-args): Adapt defcustom type to XEmacs.
7121 (tramp-initial-commands): New variable.
7122 (tramp-process-initial-commands): New function, using the variable.
7123 (tramp-open-connection-setup-interactive-shell): Call the new function.
7124 (tramp-buffer-name, tramp-debug-buffer-name): Always put the
7125 method into the buffer name, never use nil. Reported by Hanak
7126 David <dhanak@inf.bme.hu>.
7127 (tramp-open-connection-setup-interactive-shell): Erase buffer
7128 before sending "stty -onlcr".
7130 * net/tramp-vc.el (vc-workfile-unchanged-p): Add comment.
7132 2003-07-19 Markus Rost <rost@math.ohio-state.edu>
7134 * textmodes/artist.el (artist-erase-char): Fix default value using ?\s.
7136 2003-07-19 John Paul Wallington <jpw@gnu.org>
7138 * textmodes/artist.el (artist-butlast-fn, artist-draw-sline)
7139 (artist-draw-rect, artist-draw-square): Doc fixes.
7141 * textmodes/enriched.el (enriched-decode-display-prop): Doc fix.
7143 * textmodes/two-column.el (2C-mode-line-format): Doc fix.
7145 2003-07-19 Kenichi Handa <handa@m17n.org>
7147 * international/kkc.el (kkc-show-conversion-list-update):
7148 Highlight the correct candidate in the message.
7150 2003-07-18 John Paul Wallington <jpw@gnu.org>
7152 * simple.el (current-word): Don't include punctuation char when
7153 `really-word' arg is non-nil.
7155 2003-07-17 Martin Stjernholm <bug-cc-mode@gnu.org>
7157 * progmodes/awk-mode.el: Obsoleted by the AWK support in CC Mode -
7158 moved to the directory obsolete.
7160 2003-07-16 Stefan Monnier <monnier@cs.yale.edu>
7162 * info.el (Info-menu-entry-name-re): Allow newlines in
7165 * emacs-lisp/syntax.el (syntax-ppss-flush-cache): Rename from
7166 syntax-ppss-after-change-function.
7167 (syntax-ppss-after-change-function): New alias. Update uses.
7168 (syntax-ppss): Catch the case where the buffer is narrowed.
7170 2003-07-16 Martin Stjernholm <bug-cc-mode@gnu.org>
7172 * progmodes/cc-defs.el (c-langelem-sym, c-langelem-pos)
7173 (c-langelem-2nd-pos): Add accessor functions for syntactic elements.
7175 2003-07-16 Martin Stjernholm <bug-cc-mode@gnu.org>
7177 * progmodes/cc-engine.el (c-literal-faces): Declare as a variable
7178 since it might be modified.
7180 * progmodes/cc-langs.el (c++-make-template-syntax-table)
7181 (c-syntactic-ws-start, c-syntactic-ws-end): Give more consistent
7182 names to these language constants.
7184 2003-07-15 Kim F. Storm <storm@cua.dk>
7186 * apropos.el (apropos-sort-by-scores): Rename from apropos-show-scores.
7189 2003-07-14 Mark A. Hershberger <mah@everybody.org>
7191 * xml.el (xml-parse-tag, xml-parse-file, xml-parse-region):
7194 2003-07-13 Juanma Barranquero <lektu@terra.es>
7196 * frame.el (modify-all-frames-parameters): Reinstall (copyright
7199 2003-07-13 Karl Eichwalder <ke@suse.de>
7201 * textmodes/po.el (po-find-charset): White space at the start of the
7202 Content-Type field body is non-mandatory.
7204 2003-07-13 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
7206 * textmodes/texinfo.el (texinfo-section-list):
7207 Append appendixsection; a synonym for appendixsec.
7209 2003-07-13 Jari Aalto <jari.aalto@poboxes.com>
7211 * man.el (Man-translate-cleanup): New.
7212 (Man-translate-references): Call `Man-translate-cleanup' to clean
7213 leading, trailing and middle spaces.
7215 2003-07-13 Lars Hansen <larsh@math.ku.dk>
7217 * desktop.el (desktop-buffer-dired-misc-data, desktop-buffer-dired):
7218 Handle `dired-directory' being a list.
7220 2003-07-13 Jesper Harder <harder@ifa.au.dk> (tiny change)
7222 * mail/smtpmail.el (smtpmail-send-it): Create smtpmail-queue-dir if
7225 2003-07-12 Richard M. Stallman <rms@gnu.org>
7227 * progmodes/cc-engine.el (c-declare-lang-variables): Don't use mapcan.
7229 * progmodes/cc-defs.el (c-make-keywords-re):
7230 Don't use delete-duplicates.
7231 (c-lang-const): Don't use mapcan.
7233 * apropos.el (apropos-show-scores): Make it customizable.
7234 Document new meaning.
7235 (apropos): Compute scores from symbols.
7236 (apropos-print): Don't sort by scores if apropos-show-scores is nil.
7238 2003-07-11 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7240 * ps-bdf.el: Fix copyright line.
7241 (bdf-directory-list): Fix initialization code.
7243 2003-07-11 John Paul Wallington <jpw@gnu.org>
7245 * emacs-lisp/ring.el (ring-empty-p): Use `zerop'.
7246 (ring-p, ring-plus1, ring-minus1, ring-length, ring-index)
7247 (ring-empty-p, ring-size, ring-copy, ring-ref): Doc fixes.
7249 2003-07-11 NAKAJIMA Mikio <minakaji@namazu.org> (tiny change)
7251 * emacs-lisp/ring.el (ring-elements): Doc fix.
7253 2003-07-11 Glenn Morris <gmorris@ast.cam.ac.uk>
7255 * calendar/timeclock.el (timeclock-relative)
7256 (timeclock-ask-before-exiting, timeclock-use-display-time):
7258 (timeclock-modeline-display): Give a message if
7259 `timeclock-use-display-time' is non-nil but `display-time-mode'
7262 2003-07-11 Kenichi Handa <handa@m17n.org>
7264 * international/mule-cmds.el (set-language-environment):
7265 Set current-language-environment to the correct string.
7267 2003-07-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7269 * ps-print.el: Print line number correctly in a region. Reported by
7270 Tim Allen <timallen@ls83.fsnet.co.uk>.
7271 (ps-print-version): New version number (6.6.2).
7272 (ps-printing-region): Code fix.
7274 2003-07-10 John Paul Wallington <jpw@gnu.org>
7276 * progmodes/etags.el (visit-tags-table-buffer): Add autoload cookie;
7277 this function can be called from `add-completions-from-tags-table'.
7279 2003-07-10 Glenn Morris <gmorris@ast.cam.ac.uk>
7281 * calendar/timeclock.el (timeclock-use-display-time)
7282 (timeclock-day-over-hook, timeclock-workday-remaining)
7283 (timeclock-status-string, timeclock-when-to-leave)
7284 (timeclock-when-to-leave-string, timeclock-log-data)
7285 (timeclock-find-discrep, timeclock-day-base)
7286 (timeclock-generate-report, timeclock-visit-timelog): Doc fix.
7287 (timeclock-modeline-display): Set the variable
7288 `timeclock-modeline-display'.
7289 (timeclock-update-modeline): Doc fix. Respect value of
7290 `timeclock-relative'.
7292 2003-07-09 Richard M. Stallman <rms@gnu.org>
7294 * textmodes/reftex-parse.el (reftex-all-document-files):
7295 Add autoload cookie.
7297 * textmodes/reftex.el (reftex-all-document-files): Delete autoload.
7298 (reftex-scanning-info-available-p): Add autoload cookie.
7300 * international/mule-cmds.el
7301 (set-display-table-and-terminal-coding-system): Delete duplicate
7302 aset on standard-display-table.
7304 * view.el (view-file): If existing buffer's major mode is special,
7305 don't go into view mode.
7307 * dired.el (dired-move-to-filename-regexp): Allow quote in months.
7309 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
7311 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not do hidden
7312 buffer changes; there's third party code that calls this function
7315 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
7317 * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
7318 (autodoc-font-lock-keywords): Don't byte compile on font lock
7319 initialization when running from byte compiled files.
7321 2003-07-08 Alan Mackenzie <bug-cc-mode@gnu.org>
7323 * progmodes/cc-engine.el: Fix AWK mode indentation when previous
7324 statement ends with auto-increment "++".
7326 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
7328 * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
7329 (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
7330 these are changed, so declare them as variables and not constants.
7332 2003-07-08 Markus Rost <rost@math.ohio-state.edu>
7334 * subr.el (dolist, dotimes): Doc fix.
7336 2003-07-08 Kim F. Storm <storm@cua.dk>
7338 * international/mule-cmds.el
7339 (set-display-table-and-terminal-coding-system): Don't break
7340 bootstrap if standard-display-table isn't setup yet.
7342 2003-07-07 Richard M. Stallman <rms@gnu.org>
7344 * ehelp.el (ehelp-command): Use defalias to define ehelp-command.
7345 Give it a doc string, and autoload it.
7347 * desktop.el (desktop-buffer-info, desktop-buffer-mh):
7348 Use with-no-warnings.
7350 * info.el (Info-search): If find invisible text, search again.
7352 * isearch.el (search-whitespace-regexp): Add a shy group around it.
7354 * man.el (Man-name-regexp): Match + as part of name.
7356 * simple.el (visible-mode): Rename from vis-mode.
7357 (vis-mode-saved-buffer-invisibility-spec): Doc fix.
7359 * simple.el (current-word): New arg REALLY-WORD specifies
7360 don't include punctuation chars.
7362 * emacs-lisp/debug.el (debug, debugger-env-macro):
7363 Use with-no-warnings while accessing and binding unread-command-char.
7365 * international/mule-cmds.el
7366 (set-display-table-and-terminal-coding-system): Use explicit loop
7367 instead of calling standard-display-default.
7369 * net/ange-ftp.el (ange-ftp-file-symlink-p):
7370 Use condition-case to catch error in ange-ftp-get-files.
7372 * net/browse-url.el (browse-url-browser-function):
7373 Add alternative for Epiphany.
7374 (browse-url-epiphany-program, browse-url-epiphany-arguments)
7375 (browse-url-epiphany-startup-arguments)
7376 (browse-url-epiphany-new-window-is-tab): New variables.
7377 (browse-url-epiphany, browse-url-epiphany-sentinel): New functions.
7379 * progmodes/compile.el (compile-auto-highlight): Default now t.
7381 (compilation-next-error): Fix previous change.
7383 * textmodes/tex-mode.el (tex-main-file): Use with-no-warnings.
7385 * textmodes/sgml-mode.el (xml-mode): Add autoload cookie.
7387 2003-07-07 Nick Roberts <nick@nick.uklinux.net>
7389 * gdb-ui.el (gdb-source-info): Display current frame when
7390 attaching to an existing process.
7391 (gdb-setup-windows, gdb-source-info): Start with gud-comint-buffer
7392 while laying out windows when attaching to an existing process.
7394 2003-07-07 Stefan Monnier <monnier@cs.yale.edu>
7396 * info.el (Info-menu): Use Info-menu-entry-name-re.
7398 2003-07-06 Stefan Monnier <monnier@cs.yale.edu>
7400 * vc-hooks.el (vc-stay-local, vc-stay-local-p): Move from vc.el.
7401 * vc.el (vc-stay-local, vc-stay-local-p): Move to vc-hooks.el.
7403 * info.el (Info-menu-entry-name-re): Be careful to avoid multiple ways
7404 to match the same text.
7406 2003-07-06 John Paul Wallington <jpw@gnu.org>
7408 * vc.el (vc-annotate-offset): Move defvar up.
7410 2003-07-06 Kim F. Storm <storm@cua.dk>
7412 * info.el (Info-menu-entry-name-re): Add `:' to second [] part.
7413 This should fix the infinite loop when extracting menu names.
7415 2003-07-05 Martin Stjernholm <bug-cc-mode@gnu.org>
7417 * files.el (auto-mode-alist, interpreter-mode-alist):
7418 Remove entries to CC Mode modes to avoid duplicates; they are now added
7419 with autoload directives in cc-mode.el.
7421 2003-07-05 Martin Stjernholm <bug-cc-mode@gnu.org>
7423 * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
7424 (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
7425 these are changed, so declare them as variables and not constants.
7427 * progmodes/cc-mode.el: Fix some autoload problems: Try to
7428 ensure that the entry for ".c" extension comes before the one for
7429 ".C" on `auto-mode-alist', to behave better on case insensitive OS:es.
7430 Fix incorrect entries that were added to `interpreter-mode-alist'.
7431 Move the autoload directives for AWK to the top level since they
7432 aren't recognized anywhere else. Do not use the new AWK mode doc
7433 in the autoload form for the old AWK mode.
7435 2003-06-30 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7437 * textmodes/bibtex.el (bibtex-sort-entry-class): New entry catch-all.
7438 (bibtex-sort-ignore-string-entries): Default value t.
7439 (bibtex-entry-kill-ring-max): Reintroduce as it was removed
7440 erroneously in previous version.
7441 (bibtex-string-files): Docstring reflects new parsing scheme.
7442 (bibtex-autokey-transcriptions): Merge some rewrite entries, fix
7443 docstring, add # as one of the chars to crush
7444 (bibtex-autokey-prefix-string, bibtex-autokey-names)
7445 (bibtex-autokey-names-stretch, bibtex-autokey-additional-names)
7446 (bibtex-autokey-name-change-strings)
7447 (bibtex-autokey-name-case-convert, bibtex-autokey-name-length)
7448 (bibtex-autokey-name-separator, bibtex-autokey-year-length)
7449 (bibtex-autokey-use-crossref, bibtex-autokey-titlewords)
7450 (bibtex-autokey-title-terminators)
7451 (bibtex-autokey-titlewords-stretch)
7452 (bibtex-autokey-titleword-ignore)
7453 (bibtex-autokey-titleword-case-convert)
7454 (bibtex-autokey-titleword-abbrevs)
7455 (bibtex-autokey-titleword-abbrevs)
7456 (bibtex-autokey-titleword-change-strings)
7457 (bibtex-autokey-titleword-length)
7458 (bibtex-autokey-titleword-separator)
7459 (bibtex-autokey-name-year-separator)
7460 (bibtex-autokey-year-title-separator)
7461 (bibtex-autokey-before-presentation-function)
7462 (bibtex-entry-type-history, bibtex-entry-maybe-empty-head):
7464 (bibtex-strings, bibtex-reference-keys):
7465 Use lazy-completion-table and make-variable-buffer-local.
7466 (bibtex-sort-entry-class-alist): Use downcase, account for catch-all.
7467 (bibtex-braced-string-syntax-table)
7468 (bibtex-quoted-string-syntax-table): New variables.
7469 (bibtex-parse-nested-braces): Remove.
7470 (bibtex-parse-field-string): Use syntax table and forward-sexp.
7471 (bibtex-parse-association): Simplify.
7472 (bibtex-parse-field-name): Obey bibtex-autoadd-commas.
7473 (bibtex-parse-field-text): Simplify.
7474 (bibtex-search-forward-field, bibtex-search-backward-field):
7475 argument BOUND can take value t.
7476 (bibtex-start-of-field, bibtex-start-of-name-in-field)
7477 (bibtex-end-of-name-in-field, bibtex-end-of-field)
7478 (bibtex-start-of-text-in-field, bibtex-end-of-text-in-field)
7479 (bibtex-start-of-text-in-string, bibtex-end-of-text-in-string)
7480 (bibtex-end-of-string, bibtex-type-in-head): Use defsubst.
7481 (bibtex-skip-to-valid-entry): Return buffer position of beginning
7482 and ending of entry. Update for changes of bibtex-search-entry.
7484 (bibtex-map-entries): FUN is called with three arguments.
7485 (bibtex-search-entry): Return a cons pair with buffer positions of
7486 beginning and end of entry.
7487 (bibtex-enclosing-field): Simplify.
7488 (bibtex-format-entry): Use booktitle to set a missing title.
7489 (bibtex-autokey-get-names): Fiddle with regexps.
7490 (bibtex-generate-autokey): Use identity.
7491 (bibtex-parse-keys): Use simplified parsing algorithm if
7492 bibtex-parse-keys-fast is non-nil. Simplify. Change order of
7493 arguments. Return alist of keys.
7494 (bibtex-parse-strings): Simplify. Return alist of strings.
7495 (bibtex-complete-string-cleanup): Fix docstring.
7496 (bibtex-read-key): New function.
7497 (bibtex-mode): Fix docstring. Do not parse for keys and
7498 strings when the mode is entered. Set fill-paragraph-function to
7499 bibtex-fill-field. Setup font-lock-mark-block-function the way
7501 (bibtex-entry): Use bibtex-read-key. Obey bibtex-autofill-types.
7502 (bibtex-parse-entry, bibtex-autofill-entry): New functions.
7503 (bibtex-print-help-message, bibtex-remove-OPT-or-ALT)
7504 (bibtex-Preamble): Avoid hard coded constants.
7505 (bibtex-make-field): Fix docstring. Simplify.
7506 (bibtex-beginning-of-entry): Always return new position of point.
7507 (bibtex-end-of-entry): Rearrange cond clauses.
7508 (bibtex-count-entries, bibtex-validate, bibtex-reformat):
7509 Update for changes of bibtex-map-entries.
7510 (bibtex-ispell-abstract): Do not move point.
7511 (bibtex-entry-index): Use downcase. Simplify.
7512 (bibtex-lessp): Handle catch-all.
7513 (bibtex-find-crossref): Turn into a command.
7514 (bibtex-find-entry): Simplify. Use bibtex-read-key. Fix regexp.
7515 (bibtex-clean-entry): Use bibtex-read-key. Handle string and
7517 (bibtex-fill-field-bounds): New function.
7518 (bibtex-fill-field): New command. Bound to fill-paragraph-function.
7519 (bibtex-fill-entry): Use bibtex-fill-field-bounds
7520 (bibtex-String): Use bibtex-strings. Always obey
7521 bibtex-sort-ignore-string-entries.
7523 2003-07-05 John Paul Wallington <jpw@gnu.org>
7525 * cus-theme.el (customize-create-theme):
7526 Call `customize-create-theme' in Reset widget's notify function.
7528 * ibuffer.el (ibuffer-backward-line, ibuffer-forward-line)
7529 (ibuffer-mark-interactive): Use `or' instead of `unless'.
7530 (define-ibuffer-column name): Add summarizer.
7531 (define-ibuffer-column size): Likewise.
7532 (define-ibuffer-column filename): Likewise.
7533 (define-ibuffer-column process): Likewise. Change BODY's output too.
7534 (define-ibuffer-column filename-and-process): Likewise, likewise.
7535 (ibuffer): Remove local vars `already-in' and `need-update'.
7537 * ibuf-ext.el: Don't require `derived' at compile-time.
7539 2003-07-05 Kim F. Storm <storm@cua.dk>
7541 * info.el: Disable paragraph refilling.
7542 (Info-refill-paragraphs): New defcustom.
7543 (Info-fontify-node): Use it.
7545 2003-07-04 Stefan Monnier <monnier@cs.yale.edu>
7547 * emacs-lisp/cl-macs.el (cl-transform-lambda): Strip &cl-defs
7548 thingies from constructors created by defstruct.
7550 * emacs-lisp/bytecomp.el (byte-compile-defvar): Check and set
7551 the default value of the variable.
7552 (byte-code-meter): Move declaration to top level.
7554 * pcvs-parse.el (cvs-parse-status): Ignore extra fields from CVSNT.
7556 * info.el (Info-following-node-name-re): New fun.
7557 (Info-following-node-name): Remove.
7558 (Info-insert-dir): Use the new fun.
7559 (Info-extract-pointer): Don't save restriction; use new fun.
7560 (Info-menu-entry-name-re): New const.
7561 (Info-menu-entry-name-re): Use it along with new fun.
7562 (Info-node-spec-re): Use new fun.
7563 (Info-complete-menu-item, Info-fontify-node): Use new const.
7564 (Info-goto-node, Info-follow-reference, Info-menu-update):
7566 (Info-follow-reference): Use assoc-string.
7567 Use a list of strings for the completion table.
7568 (Info-fontify-node): Use match-string, line-end-position.
7569 Limit the search for `node:' to the first line.
7571 * newcomment.el (uncomment-region): Remove padding coming from
7572 comment-start rather than just from comment-padding.
7574 * vc-cvs.el (vc-cvs-repository-hostname): New operation.
7575 (vc-cvs-stay-local-p): Use vc-stay-local-p.
7576 (vc-cvs-rename-file): Remove (use the default).
7577 (vc-cvs-register): Register parent dir if needed.
7578 (vc-cvs-could-register): Return non-nil if parent can be registered.
7579 (vc-cvs-state, vc-cvs-dir-state, vc-cvs-print-log, vc-cvs-diff)
7580 (vc-cvs-diff-tree, vc-cvs-make-version-backups-p): Use vc-stay-local-p.
7582 * vc-svn.el (vc-svn-use-edit): Make it into a const.
7583 (vc-svn-update): Fix the arguments to `svn'.
7584 (vc-svn-diff-tree): Just use `vc-svn-diff'.
7585 (vc-svn-create-snapshot, vc-svn-retrieve-snapshot):
7586 Simple implementations, assuming `name' is a URL.
7588 * progmodes/sh-script.el (sh-font-lock-paren): Add [ and ] to the
7589 set of chars allowed unquoted in a case pattern.
7591 * font-core.el (font-lock-defaults-alist): Remove obsolete entries.
7593 * font-lock.el (font-lock-extra-types-widget)
7594 (c-font-lock-extra-types, c++-font-lock-extra-types)
7595 (objc-font-lock-extra-types, java-font-lock-extra-types)
7596 (c-font-lock-keywords-1, c-font-lock-keywords-2, c-font-lock-keywords)
7597 (c-font-lock-keywords-3, c-font-lock-syntactic-face-function)
7598 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
7599 (font-lock-match-c++-structor-declaration)
7600 (c++-font-lock-keywords-1, c++-font-lock-keywords-2)
7601 (c++-font-lock-keywords-3, c++-font-lock-keywords)
7602 (objc-font-lock-keywords-1, objc-font-lock-keywords-2)
7603 (objc-font-lock-keywords-3, objc-font-lock-keywords)
7604 (java-font-lock-keywords-1, java-font-lock-keywords-2)
7605 (java-font-lock-keywords-3, java-font-lock-keywords)
7606 (java-font-lock-syntactic-face-function): Remove obsolete code
7607 and constants. It's all in cc-fonts.el now.
7609 2003-07-04 Glenn Morris <gmorris@ast.cam.ac.uk>
7611 * mail/sendmail.el (mail-specify-envelope-from)
7612 (mail-envelope-from): Doc fix.
7614 2003-07-04 Martin Stjernholm <mast@lysator.liu.se>
7616 * generic-x.el: Do away with the dependency on `c-emacs-features'
7617 when populating `rul-generic-mode-syntax-table'; we already know
7620 See ChangeLog.10 for earlier changes.
7623 ;; coding: iso-2022-7bit
7626 Copyright (C) 2001, 02, 04 Free Software Foundation, Inc.
7627 Copying and distribution of this file, with or without modification,
7628 are permitted provided the copyright notice and this notice are preserved.
7630 ;;; arch-tag: e39939be-dab3-400e-86f5-0e2701a883c1