]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge changes from emacs-23 branch.
[gnu-emacs] / lisp / ChangeLog
1 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2
3 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6
7 * cus-start.el (all): ns-right-alternate-modifier is new.
8
9 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * emacs-lisp/lisp.el (lisp-completion-at-point):
12 Use emacs-lisp-mode-syntax-table for the whole function.
13
14 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
15
16 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
17 instead of font-lock-mode before adding keywords.
18 Remove hi-lock-mode off code. Remove inhibit hack.
19 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
20 non-nil; removed hook inhibit hack.
21
22 2010-10-12 Glenn Morris <rgm@gnu.org>
23
24 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
25 (load-path-shadows-find): ... to this.
26 (list-load-path-shadows): Update for above change.
27
28 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
29
30 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
31
32 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
33 Fix comment for declare-function.
34
35 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
36
37 * custom.el (custom-fix-face-spec): New function; code moved from
38 custom-face-edit-fix-value.
39 (custom-push-theme): Use it when checking if a face has been
40 changed outside customize.
41 (custom-available-themes): New function.
42 (load-theme): Use it.
43
44 * cus-edit.el (custom-face-edit-fix-value): Use
45 custom-fix-face-spec.
46
47 * custom.el (custom-push-theme): Cleanup (use cond).
48 (disable-theme): Recompute the saved-face property.
49 (custom-theme-recalc-face): Follow face alias before setting prop.
50
51 * image.el (image-checkbox-checked, image-checkbox-unchecked): New
52 variables, containing checkbox images.
53
54 * startup.el (fancy-startup-tail):
55 * wid-edit.el (checkbox): Use them.
56
57 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
58
59 * shell.el (shell-mode-map):
60 * progmodes/modula2.el (m2-mode-map):
61 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
62 * play/mpuz.el (mpuz-mode-map):
63 * play/landmark.el (lm-mode-map):
64 * play/decipher.el (decipher-mode-map):
65 * play/5x5.el (5x5-mode-map):
66 * net/telnet.el (telnet-mode-map):
67 * net/quickurl.el (quickurl-list-mode-map):
68 * net/mairix.el (mairix-searches-mode-map):
69 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
70 * net/dig.el (dig-mode-map):
71 * mail/mspools.el (mspools-mode-map):
72 * hexl.el (hexl-mode-map):
73 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
74 (wordstar-C-o-map, wordstar-C-q-map):
75 * emacs-lisp/edebug.el (edebug-eval-mode-map):
76 * emacs-lisp/chart.el (chart-map):
77 * edmacro.el (edmacro-mode-map):
78 * erc/erc-list.el (erc-list-menu-mode-map):
79 * array.el (array-mode-map): Declare and define in one step.
80
81 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
82
83 2010-10-10 Daiki Ueno <ueno@unixuser.org>
84
85 * epa.el (epa-passphrase-callback-function): Display filename
86 passed as the 3rd arg.
87 * epa-file.el (epa-file-passphrase-callback-function): Pass
88 filename to epa-passphrase-callback-function.
89
90 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
91
92 * cus-edit.el (custom-face-widget-to-spec)
93 (custom-face-get-current-spec, custom-face-state): New functions.
94 (custom-face-set, custom-face-mark-to-save)
95 (custom-face-value-create, custom-face-state-set): Use them.
96
97 * cus-theme.el (custom-theme--listed-faces): New var.
98 (customize-create-theme): Use *Custom Theme* as the buffer name.
99 Set revert-buffer-function. Optional arg BUFFER. Insert all
100 faces listed in custom-theme--listed-faces.
101 (custom-theme-revert): New function.
102 (custom-theme-add-variable, custom-theme-add-face): Insert at the
103 bottom of the list.
104 (custom-theme-write): Prompt for theme name if empty.
105 (custom-theme-write-variables): Use dolist.
106 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
107
108 2010-10-09 Alan Mackenzie <acm@muc.de>
109
110 Enhance fontification of declarators to take account of the
111 presence/absence of "typedef".
112
113 * cc-engine.el (c-forward-type): New &optional param
114 "brace-block-too".
115 (c-forward-decl-or-cast-1): cdr of return value now indicates the
116 presence of either or both of a "struct"-like keyword and
117 "typedef".
118
119 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
120 fontification of declarators which follow a "}".
121 (c-font-lock-declarations): Fontify declarators according to the
122 presence/absence of "typedef".
123
124 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
125 for "typedef".
126 (c-typedef-decl-key): New lang variable built from
127 c-typedef-decl-kwds.
128
129 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
130
131 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
132 since that's too annoying. Move the filter groups commands to
133 TAB/backtab.
134
135 * epa.el (epa-passphrase-callback-function): Say what we're
136 querying the password for.
137
138 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
139 behaviour, don't bury the ibuffer buffer when visiting other
140 buffers.
141
142 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
143
144 * cus-edit.el (custom-commands, custom-buffer-create-internal)
145 (custom-magic-value-create): Pad button tags with spaces.
146 (custom-face-edit): New variable.
147 (custom-face-value-create): Determine whether to use the usual
148 face editor here, instead of using custom-face-selected. Pass
149 face defaults to custom-face-edit widget.
150 (custom-face-selected, custom-display-unselected): Delete widgets.
151 (custom-display-unselected-match): Function removed.
152 (custom-face-set, custom-face-mark-to-save): Accept
153 custom-face-edit widgets as the direct widget child.
154
155 * wid-edit.el (widget--completing-widget): New var.
156 (widget-default-complete): Bind it when doing completion.
157 (widget-string-complete, widget-file-complete): Use it.
158
159 2010-10-09 Glenn Morris <rgm@gnu.org>
160
161 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
162 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
163 (holiday-hebrew-misc): Small simplifications.
164
165 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
166
167 * net/browse-url.el: Don't require thingatpt, term, dired,
168 executable, or w3-auto when compiling.
169 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
170 Declare.
171 (browse-url-text-emacs): Require term.
172
173 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
174
175 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
176
177 2010-10-08 Glenn Morris <rgm@gnu.org>
178
179 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
180
181 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
182 (shadows-compare-text-p): Make it an obsolete alias for...
183 (load-path-shadows-compare-text): ... new name.
184 (find-emacs-lisp-shadows): Update for above name change.
185 (load-path-shadows-same-file-or-nonexistent): New name for the old
186 shadow-same-file-or-nonexistent.
187
188 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
189
190 * minibuffer.el (completion--some, completion--do-completion)
191 (minibuffer-complete-and-exit, minibuffer-completion-help)
192 (completion-basic-try-completion)
193 (completion-basic-all-completions)
194 (completion-pcm--find-all-completions): Use lexical-let to
195 avoid some false matches in variable completion (Bug#7056)
196
197 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
198
199 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
200
201 2010-10-08 Leo <sdl.web@gmail.com>
202
203 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
204 return non-nil if the file exists (Bug#7090).
205
206 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * minibuffer.el (completion--replace):
209 Better preserve markers (bug#7138).
210
211 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
212
213 * server.el (server-process-filter): Doc fix.
214
215 2010-10-08 Drew Adams <drew.adams@oracle.com>
216
217 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
218
219 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
220
221 * Makefile.in (ELCFILES): Update.
222
223 2010-10-08 Glenn Morris <rgm@gnu.org>
224
225 * vc/ediff-wind.el (ediff-setup-control-frame):
226 * vc/ediff-ptch.el (ediff-default-backup-extension):
227 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
228 (ediff-exec-process): Remove system-types emx, windows-95.
229
230 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
231
232 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
233
234 * cus-edit.el (custom-variable, custom-face): Doc fix.
235 (custom-face-edit): Add value-create attribute.
236 (custom-face-edit-value-create)
237 (custom-face-edit-value-visibility-action): New functions. Hide
238 unused face attributes by default, and add a visibility toggle.
239 (custom-face-edit-deactivate): Show empty values with shadow face.
240 (custom-face-selected): Only use this for face specs with default
241 attributes.
242 (custom-face-value-create): Cleanup.
243
244 * wid-edit.el (widget-checklist-value-create): Use dolist.
245 (widget-checklist-match-find): Make second arg optional.
246
247 2010-10-07 Glenn Morris <rgm@gnu.org>
248
249 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
250 Prefix things.
251
252 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
253 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
254 load-path-shadows-mode, update references.
255 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
256 Rename variable and button.
257 (list-load-path-shadows): Update button caller.
258
259 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * emacs-lisp/smie.el (smie-bnf-classify): New function.
262 (smie-bnf-precedence-table): Use it to remember the closers/openers.
263 (smie-merge-prec2s): Handle those new entries.
264 (smie-prec2-levels): Only set precedence to nil for actual
265 openers/closers.
266 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
267 that is now unnecessary.
268
269 2010-10-07 Miles Bader <miles@gnu.org>
270
271 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
272
273 2010-10-07 Glenn Morris <rgm@gnu.org>
274
275 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
276 (mail-position-on-field): Remove declarations.
277 (mail-position-on-field): Autoload it.
278 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
279 and mail-header-end. Don't require sendmail.
280
281 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
282 (shadow-mode): New mode.
283 (shadow-find-file): New button.
284 (list-load-path-shadows): Use shadow-mode and buttons.
285
286 * iimage.el (iimage-version): Remove.
287 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
288 Turn into defcustoms.
289 (iimage-mode-map): Give it a doc string.
290
291 * calendar/appt.el (appt-activate): Give a warning rather than an error
292 if there is no diary-file.
293
294 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
295
296 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
297 Use `tramp-handle-find-backup-file-name'.
298
299 2010-10-06 Glenn Morris <rgm@gnu.org>
300
301 * font-core.el (font-lock-defaults-alist): Remove variable.
302 (font-lock-mode): Doc fix.
303 (font-lock-default-function): Do not consult font-lock-defaults-alist.
304 * font-lock.el (font-lock-refresh-defaults): Doc fix.
305 (font-lock-set-defaults): Doc fix.
306 Do not consult font-lock-defaults-alist.
307
308 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
309
310 * emacs-lisp/cl.el: No longer provide cl-19.
311
312 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
313
314 * net/tramp.el (tramp-handle-directory-files-and-attributes)
315 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
316 New defuns, taken from tramp-smb.el.
317 (tramp-coding-system-change-eol-conversion)
318 (tramp-set-process-query-on-exit-flag): Removed.
319
320 * net/tramp-compat.el (top): Do not check for byte-compiler
321 objects.
322 (tramp-compat-coding-system-change-eol-conversion)
323 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
324 from tramp.el.
325
326 * net/tramp-gvfs.el:
327 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
328 by `tramp-compat-set-process-query-on-exit-flag'.
329
330 * net/tramp-imap.el (tramp-imap-file-name-handler-alist): Use
331 `tramp-handle-directory-files-and-attributes',
332 `tramp-handle-file-exists-p' and
333 `tramp-handle-file-newer-than-file-p'.
334 (tramp-imap-handle-file-exists-p)
335 (tramp-imap-handle-file-executable-p)
336 (tramp-imap-handle-file-readable-p)
337 (tramp-imap-handle-directory-files-and-attributes)
338 (tramp-imap-handle-file-newer-than-file-p): Removed.
339
340 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
341 by `tramp-compat-set-process-query-on-exit-flag' and
342 `tramp-coding-system-change-eol-conversion' by
343 `tramp-compat-coding-system-change-eol-conversion'.
344
345 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use
346 `tramp-handle-directory-files-and-attributes',
347 `tramp-handle-file-exists-p' and
348 `tramp-handle-file-newer-than-file-p'.
349 (tramp-smb-handle-directory-files-and-attributes)
350 (tramp-smb-handle-file-exists-p)
351 (tramp-smb-handle-file-newer-than-file-p): Removed.
352 (tramp-smb-maybe-open-connection): Replace
353 `tramp-set-process-query-on-exit-flag' by
354 `tramp-compat-set-process-query-on-exit-flag'.
355
356 2010-10-05 Glenn Morris <rgm@gnu.org>
357
358 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
359
360 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
361
362 Continue reorganization of load dependencies. (Bug#7156)
363
364 * net/tramp.el (tramp-handle-file-local-copy-hook)
365 (tramp-delete-temp-file-function): Move down.
366 (tramp-exists-file-name-handler): Move up.
367 (tramp-register-file-name-handlers): Simplify autoload.
368 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
369 (tramp-handle-directory-files, tramp-handle-dired-uncache)
370 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
371 (tramp-handle-file-name-completion)
372 (tramp-handle-file-name-directory)
373 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
374 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
375 (tramp-handle-find-backup-file-name)
376 (tramp-handle-insert-file-contents, tramp-handle-load)
377 (tramp-handle-substitute-in-file-name)
378 (tramp-handle-unhandled-file-name-directory)
379 (tramp-mode-string-to-int, tramp-local-host-p)
380 (tramp-make-tramp-temp-file): Moved from tramp-sh.el.
381
382 * net/tramp-gvfs.el (top):
383 * net/tramp-smb.el (top): Do not require 'tramp-sh.
384
385 * net/tramp-sh.el (all): Move several objects to tramp.el, see
386 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
387
388 2010-10-04 Glenn Morris <rgm@gnu.org>
389
390 * calendar/appt.el (appt-add): Ensure reminders are enabled.
391 (appt-activate): Give status messages.
392
393 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
394
395 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
396 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
397 `gnutls-negotiate' (formerly `starttls-negotiate'). Remove
398 trivial wrapper `starttls-open-stream'.
399
400 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
401
402 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
403 log-outgoing commands.
404 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
405 to create a buffer local revert-buffer-function variable.
406 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
407 revert-buffer-function lambda.
408
409 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
410
411 * net/gnutls.el (starttls-negotiate): Use the plist interface to
412 `gnutls-boot'. Make TYPE the only required parameter. Allow
413 TRUSTFILES and KEYFILES to be lists.
414 (open-ssl-stream): Use it.
415
416 2010-10-03 Glenn Morris <rgm@gnu.org>
417
418 * subr.el (directory-sep-char): Remove obsolete variable.
419 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
420 it is "necessary".
421
422 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
423 * vc/vc.el (vc-static-header-alist): Doc fix.
424 * vc/vc-cvs.el (vc-cvs-header):
425 * vc/vc-rcs.el (vc-rcs-header):
426 * vc/vc-sccs.el (vc-sccs-header):
427 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
428 * obsolete/vc-mcvs.el (vc-mcvs-header):
429 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
430 on XEmacs.
431
432 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
433
434 * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove
435 obsolete use of binary-overwrite-mode (Bug#7001).
436
437 2010-10-03 Glenn Morris <rgm@gnu.org>
438
439 * obsolete/x-menu.el: Remove file, obsolete since 21.1
440
441 * textmodes/rst.el (rst-font-lock-keywords-function):
442 Drop Emacs 20 code.
443
444 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
445
446 * printing.el: Drop Emacs 20 code.
447
448 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
449 without having used appt.el already).
450
451 * subr.el (make-local-hook): Remove function obsolete since 21.1.
452 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
453 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
454 XEmacs.
455 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
456 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
457
458 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
459 (charset-width, find-charset-region, chars-in-region, forward-point)
460 (encode-coding-string, coding-system-p, ccl-execute-on-string)
461 (define-ccl-program, multibyte-string-p, string-make-multibyte):
462 Remove compatibility cruft (none of these are used by ps*.el).
463
464 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
465
466 * subr.el (booleanp): Return t instead of a list (Bug#7086).
467
468 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
469
470 * server.el (server-process-filter, server-return-error): Give
471 emacsclient time to shut down after receiving an error string.
472
473 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
474
475 * files.el (remote-file-name-inhibit-cache): New defcustom.
476
477 * time.el (display-time-file-nonempty-p): Use
478 `remote-file-name-inhibit-cache'.
479
480 * net/tramp.el (tramp-completion-reread-directory-timeout): Fix
481 docstring.
482
483 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
484 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
485 `remote-file-name-inhibit-cache'. Check also for an integer
486 value. Add/increase counter when `tramp-verbose' >= 10.
487 (tramp-set-file-property): Add/increase counter when
488 `tramp-verbose' >= 10.
489
490 * net/tramp-cmds.el (tramp-cleanup-all-connections)
491 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
492 (tramp-bug): Set tramp-autoload cookie. Report all interned
493 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
494 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
495 characters only in strings.
496
497 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
498 to backward compatibility.
499
500 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
501 (tramp-handle-file-name-all-completions)
502 (tramp-handle-vc-registered): Use
503 `remote-file-name-inhibit-cache'.
504 (tramp-open-connection-setup-interactive-shell): Call
505 `tramp-cleanup-connection' directly.
506
507 2010-10-02 Glenn Morris <rgm@gnu.org>
508
509 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
510
511 * subr.el (char-bytes): Remove obsolete function.
512
513 * isearch.el (isearch-return-char): Remove obsolete function.
514
515 * mouse.el: No longer provide mldrag.
516 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
517 Remove obsolete aliases.
518
519 * comint.el (comint-kill-output): Remove obsolete alias.
520
521 * composite.el (decompose-composite-char): Remove obsolete function.
522 * ps-def.el (decompose-composite-char): Remove unused function.
523
524 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
525
526 * outline.el (outline-visible): Remove obsolete function.
527
528 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
529 * faces.el (internal-find-face, internal-get-face)
530 (frame-update-faces, frame-update-face-colors)
531 (x-frob-font-weight, x-frob-font-slant)
532 (internal-frob-font-weight, internal-frob-font-slant)
533 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
534 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
535 (x-make-font-bold-italic): Remove functions and aliases, obsolete
536 since Emacs 21.1.
537 * emulation/viper-util.el (viper-get-face):
538 * obsolete/lucid.el (find-face, get-face): Use facep.
539 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
540 Remove unused functions.
541 * vc/ediff-util.el (ediff-submit-report): Doc fix.
542
543 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
544 delete tempfile if interrupted during compilation.
545
546 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
547
548 * net/tls.el (tls-starttls-switches): Give up on using starttls with
549 gnutls-cli.
550 (tls-program): Add --insecure to be consistent with the defaults from
551 openssl s_client. Now all three commands are insecure.
552
553 2010-10-01 Eli Zaretskii <eliz@gnu.org>
554
555 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
556 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
557 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
558
559 2010-10-01 Glenn Morris <rgm@gnu.org>
560
561 * obsolete/sc.el: Remove file.
562
563 * files.el (temporary-file-directory): On darwin, also try
564 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
565
566 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
567
568 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
569 Let's not break compatibility gratuitously, shall we?
570
571 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
572
573 * net/tls.el (tls-starttls-switches): New variable.
574 (tls-find-starttls-argument): Use it.
575 (open-tls-stream): Ditto.
576
577 * net/netrc.el (netrc-credentials): Return the value of the "default"
578 entry.
579 (netrc-machine): Ditto.
580
581 2010-09-30 Eli Zaretskii <eliz@gnu.org>
582
583 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
584
585 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
586
587 * server.el (server-start): Don't write pid to the authentication file.
588 (server-create-tty-frame): Don't send pid.
589 (server-process-filter): Send pid at the start of every connection.
590
591 2010-09-30 Glenn Morris <rgm@gnu.org>
592
593 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
594 (show-all-diary-entries): Remove obsolete function aliases.
595
596 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
597 Remove options, obsolete since 22.1.
598 (appt-display-format, appt-display-message): Remove
599 backwards-compatibility code.
600 (appt-check): No longer check appt-issue-message.
601 (appt-make-list): No longer autoload it. Doc fix. No longer
602 activate the package.
603
604 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
605
606 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
607 (starttls-negotiate): Just call boot, and let the handshake be
608 triggered from the read loop.
609
610 2010-09-29 Glenn Morris <rgm@gnu.org>
611
612 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
613 not displaying the diary.
614 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
615 * calendar/appt.el (appt-check): No longer need to kill diary.
616
617 * calendar/diary-lib.el (diary-list-entries): Move the
618 "Preparing..." message entirely here.
619 (diary-simple-display, diary-fancy-display): Move "Preparing..."
620 messages to diary-list-entries.
621 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
622 diary-display-function.
623
624 * calendar/diary-lib.el (diary-include-other-diary-files):
625 Trap some recursive includes.
626
627 * calendar/appt.el (appt-activate): Check diary file.
628
629 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
630
631 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
632 construction.
633
634 * calendar/time-date.el: No need to require cl for Emacs 21.
635
636 2010-09-28 Glenn Morris <rgm@gnu.org>
637
638 * calendar/appt.el (appt-check): Minor simplification.
639
640 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
641
642 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
643 citation prefix.
644
645 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
646
647 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
648 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
649
650 2010-09-27 Kenichi Handa <handa@m17n.org>
651
652 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
653 "ustar" format.
654
655 2010-09-27 Kenichi Handa <handa@m17n.org>
656
657 * international/mule.el (define-coding-system): Docstring fixed.
658
659 * international/mule-diag.el (describe-character-set): Use princ
660 with proper print-length and print-level instead of insert.
661
662 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
663
664 * window.el (walk-windows): Doc fix (bug#7105).
665
666 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * emacs-lisp/float-sup.el (e): Remove.
669
670 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
671
672 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
673 variable.
674 (starttls-negotiate): Use it.
675
676 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
677
678 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
679 back.
680
681 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
684
685 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
686
687 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
688
689 * net/netrc.el (netrc-store-data): New function.
690
691 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
692
693 * net/gnutls.el: GnuTLS glue code to set up a connection.
694
695 2010-09-25 Julien Danjou <julien@danjou.info>
696
697 * notifications.el: Call dbus-register-signal only if it is bound.
698
699 2010-09-25 Glenn Morris <rgm@gnu.org>
700
701 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
702 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
703 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
704 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
705 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
706 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
707 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
708 * eshell/esh-util.el, eshell/esh-var.el:
709 Remove leading `*' from docs of faces and defcustoms.
710
711 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
712
713 * eshell/em-ls.el (eshell-ls-archive-regexp):
714 * eshell/esh-util.el (eshell-tar-regexp):
715 * ibuffer.el (ibuffer-compressed-file-name-regexp):
716 * info.el (Info-suffix-list):
717 * international/mule.el (auto-coding-alist):
718 * woman.el (woman-file-regexp, woman-file-compression-regexp):
719 * progmodes/etags.el (tags-compression-info-list):
720 Support xz compression.
721
722 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
723
724 * files.el (get-free-disk-space): Don't assume the "df" output
725 columns line up (Bug#6995).
726
727 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
728
729 * finder.el (finder-unknown-keywords):
730 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
731 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
732
733 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
734
735 * server.el (server-start): Revert part of 2010-08-08 change. Using
736 address 127.0.0.1 for local host is now done in Fmake_network_process.
737
738 2010-09-24 Glenn Morris <rgm@gnu.org>
739
740 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
741 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
742 * textmodes/css-mode.el, textmodes/dns-mode.el:
743 Move autoloaded auto-mode-alist entries to files.el.
744 * files.el (auto-mode-alist): Move entries here.
745
746 2010-09-23 Glenn Morris <rgm@gnu.org>
747
748 * isearch.el (isearch-lazy-highlight-cleanup)
749 (isearch-lazy-highlight-initial-delay)
750 (isearch-lazy-highlight-interval)
751 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
752 * net/net-utils.el (ipconfig-program-options):
753 Move aliases to options before the associated definitions.
754
755 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * newcomment.el (comment-normalize-vars): Better test validity of
758 comment-end-skip.
759
760 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
761
762 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
763 (float-e): New name for `e'.
764 (degrees-to-radians, radians-to-degrees):
765 * calendar/solar.el (solar-longitude):
766 * calculator.el (calculator-registers, calculator-funcall):
767 * textmodes/artist.el (artist-spray-random-points):
768 * play/bubbles.el (bubbles--initialize-images): Use new names.
769
770 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
771
772 Update to CEDET 1.0's version of EIEIO.
773
774 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
775 New function.
776 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
777 (eieio-default-eval-maybe): Eval val instead of unquoting only.
778 (class-precedence-list): If class is nil, return nil.
779 (eieio-generic-call): If class of first input arg is nil, don't
780 look up static methods, and do check for primary methods.
781 (initialize-instance): See if the default needs to be evaluated
782 during the constructor.
783 (eieio-perform-slot-validation-for-default): Don't do the check
784 for values that will eventually be evaluated.
785 (eieio-eval-default-p): New function.
786 (eieio-default-eval-maybe): Use it.
787
788 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
789
790 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
791 method-invocation-order.
792 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
793 (eieio-class-precedence-dfs): Compute class precedence list using
794 dfs algorithm.
795 (eieio-class-precedence-bfs): Compute class precedence list using
796 bfs algorithm.
797 (eieio-class-precedence-c3): Compute class precedence list using
798 c3 algorithm.
799 (class-precedence-list): New function.
800 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
801 (inconsistent-class-hierarchy): New error symbol.
802 (call-next-method): Stow the replacement argument list for future
803 call-next-method invocations.
804
805 2010-09-23 Glenn Morris <rgm@gnu.org>
806
807 * calendar/appt.el (appt-check): If not displaying the diary,
808 use (diary 1) to only get the entries we need.
809 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
810 that it is in day order. (Bug#7019)
811
812 * calendar/appt.el (appt-check): Rather than showing the diary,
813 just turn off invisible display, and only if needed.
814
815 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
816
817 2010-09-23 Glenn Morris <rgm@gnu.org>
818
819 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
820 (byte-compile-defvar, byte-compile-cl-warn):
821 Start warnings with lower-case, like the majority.
822
823 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
824
825 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
826
827 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
828 * files.el (auto-mode-alist): Move ld-script entries here, further down
829 the list.
830
831 * vc/add-log.el: Don't require timezone when compiling.
832 (timezone-make-date-sortable): Autoload it.
833 (change-log-sortable-date-at): Don't require timezone.
834 Use `ignore-errors'.
835
836 * comint.el (comint-use-prompt-regexp-instead-of-fields):
837 Move alias before definition, so it does not need autoloading.
838
839 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
840 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
841 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
842 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
843 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
844 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
845 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
846 * textmodes/tex-mode.el, textmodes/two-column.el:
847 Remove leading `*' from docs of defcustoms etc.
848
849 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
850
851 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
852
853 2010-09-22 Dan Christensen <jdc@uwo.ca>
854
855 * calendar/time-date.el (date-to-time): Try using parse-time-string
856 first before using the slower timezone-make-date-arpa-standard.
857
858 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
859
860 * calendar/time-date.el (format-seconds): Comment fix.
861
862 2010-09-22 Glenn Morris <rgm@gnu.org>
863
864 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
865 is not automatically buffer-local.
866
867 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
870 (smie-indent-comment): Be more careful with comment-start-skip.
871 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
872 (smie-indent-functions): Use them.
873
874 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
875
876 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
877
878 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
879
880 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
881 tool-bar-position. Don't modify frame parameters here.
882 (menu-bar-options-save): Add tool-bar-position.
883
884 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
885
886 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * textmodes/reftex-parse.el (reftex-what-macro)
889 (reftex-context-substring): Let-bind forward-sexp-function to nil
890 since we don't need/want to treat \begin...\end as a block (bug#7053).
891
892 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
893
894 * simple.el (blink-matching-open): Use syntax-class.
895
896 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
897 Set invisibility spec for pascal's outline mode.
898 (pascal-outline-change): Clean up calling convention.
899 (pascal-show-all, pascal-hide-other-defuns): Update callers.
900
901 * progmodes/prolog.el (prolog-smie-forward-token)
902 (prolog-smie-backward-token): New functions.
903 (prolog-mode-variables): Use them to parse "!," correctly.
904 Set up smie-blink-matching for ".".
905
906 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
907 and `end'.
908 (ispell-region, ispell-process-line): Update users.
909
910 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
911 point-min==1.
912
913 * textmodes/ispell.el: Fix commenting convention.
914 (ispell-parse-output): Simplify, use push.
915 (ispell-region): Use match-string-no-properties.
916 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
917 (ispell-minor-mode): Use define-minor-mode.
918 (ispell-message): Remove unused var `skip-regexp'.
919 (ispell-add-per-file-word-list): Use dynamic let-binding.
920 Try and use the proper comment marker.
921
922 * mail/sendmail.el: Fix commenting convention.
923 (sendmail-send-it): Use line-beginning-position.
924
925 * help-fns.el (describe-variable): Add original value, if applicable.
926
927 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
928
929 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
930
931 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
932
933 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
936 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
937 (smie-prec2-levels): Use them to better diagnose precedence cycles.
938 (smie-blink-matching-check): Don't signal a mismatch if car is t.
939 (smie-blink-matching-open): Rewrite to remove assumptions, so that
940 something like "." can also be a closer.
941 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
942 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
943 Rename internal functions to use "--". Update callers.
944
945 * frame.el (make-frame-names-alist): Don't list frames on other displays.
946
947 * fringe.el (fringe-styles): New var.
948 (fringe-mode, fringe-query-style): Use it.
949
950 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
951
952 * progmodes/sql.el: Version 2.8
953 (sql-login-params): Update widget structure; changes still needed.
954 (sql-product-alist): Add :list-all and :list-table features for
955 SQLite, Postgres and MySQL products.
956 (sql-redirect): Handle default value.
957 (sql-execute, sql-execute-feature): New functions.
958 (sql-read-table-name): New function.
959 (sql-list-all, sql-list-table): New functions. User API.
960 (sql-mode-map, sql-interactive-mode-map): Add key definitions
961 for above functions.
962 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
963 for above functions.
964 (sql-postgres-login-params): Add user and database defaults.
965 (sql-buffer-live-p): Bug fix.
966 (sql-product-history): New variable.
967 (sql-read-product): New function. Use it.
968 (sql-set-product, sql-product-interactive): Use it.
969 (sql-connection-history): New variable.
970 (sql-read-connection): New function. Use it.
971 (sql-connect): New function.
972 (sql-for-each-login): Redesign function interface.
973 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
974 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
975 (sql-comint): Check for program. Existing live buffer.
976 (sql-comint-postgres): Add port parameter.
977
978 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * emacs-lisp/warnings.el: Fix commenting convention.
981 (display-warning): Use special mode and make the buffer read-only.
982
983 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
984
985 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
986 empty string when it follows a repeated or optional pattern.
987
988 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
989
990 * indent.el (indent-according-to-mode): Apply syntax-propertize.
991 (indent-region): Use indent-according-to-mode.
992
993 2010-09-18 Eli Zaretskii <eliz@gnu.org>
994
995 * fringe.el (fringe-mode): Doc fix.
996
997 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
998
999 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
1000 refreshing the preview buffer.
1001
1002 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
1005 (latex-syntax-propertize-rules): New consts; replace
1006 tex-font-lock-syntactic-keywords.
1007 (tex-env-mark, latex-env-before-change): New functions.
1008 (latex-electric-env-pair-mode): New minor mode.
1009 (tex-font-lock-verb): Change arguments; do move point.
1010 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
1011 representation as a form of comment.
1012 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
1013 (doctex-syntax-propertize-rules): New const; replaces
1014 doctex-font-lock-syntactic-keywords.
1015 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
1016
1017 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
1018 (fortran-make-syntax-propertize-function): New function; replaces
1019 fortran-font-lock-syntactic-keywords.
1020 (fortran-mode): Use it.
1021 (fortran-line-length): Use it. Improve interactive spec.
1022
1023 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
1024 (syntax-propertize-rules): Add var-ref case. Fix offset computation
1025 when adding surrounding \(..\).
1026
1027 * progmodes/js.el (js-mode): Fix last change (bug#7054).
1028
1029 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
1032 Use with-current-buffer.
1033
1034 * isearch.el (isearch-face): Rename from `isearch'.
1035 (isearch-highlight): Use new name.
1036
1037 2010-09-17 Eli Zaretskii <eliz@gnu.org>
1038
1039 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
1040 5, for `half' width fringes. (Bug#6933)
1041
1042 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1043
1044 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
1045 (byte-compile-defvar): "foo/bar" does not lack a prefix.
1046
1047 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
1048
1049 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
1050
1051 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
1052 in calculating new frame position. Add more space between new and
1053 parent on the left (Bug#7048).
1054
1055 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
1056
1057 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
1058 defmacro.
1059
1060 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
1061
1062 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
1063
1064 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
1065 obsolete alias for x-selection-value.
1066
1067 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
1068
1069 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
1070
1071 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
1072 cookie.
1073
1074 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
1075
1076 * net/tramp-compat.el (tramp-compat-with-temp-message)
1077 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
1078 (tramp-compat-process-put): New defuns.
1079
1080 * net/tramp.el (top):
1081 * net/tramp-gvfs.el (top):
1082 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
1083
1084 * net/tramp.el (tramp-progress-reporter-update):
1085 Use `tramp-compat-funcall'.
1086
1087 * net/tramp.el (tramp-process-actions):
1088 * net/tramp-gvfs.el (tramp-handle-vc-registered):
1089 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
1090 (tramp-get-remote-stat, tramp-get-remote-readlink):
1091 Use `tramp-compat-with-temp-message'.
1092
1093 * net/tramp-sh.el (top): Require 'cl.
1094 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
1095 (tramp-open-connection-setup-interactive-shell):
1096 Use `tramp-compat-process-put'.
1097
1098 2010-09-15 Alan Mackenzie <acm@muc.de>
1099
1100 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
1101 indentation.
1102 (c-forward-<>-arglist-recur): Fix an infinite recursion.
1103
1104 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1107 `lexical' for warnings related to lexical scoping.
1108 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
1109 global vars which don't have a prefix and could hence affect lexical
1110 scoping in unrelated files.
1111
1112 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1113
1114 * net/imap.el: Revert back to version
1115 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
1116 seem problematic.
1117
1118 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
1119
1120 * obsolete/old-whitespace.el (whitespace-unload-function):
1121 Explicitly pass `obarray' to `unintern' to avoid a warning.
1122
1123 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
1126 Add `when' argument. Update callers.
1127
1128 * subr.el (unintern): Declare the obarray arg mandatory.
1129
1130 2010-09-14 Glenn Morris <rgm@gnu.org>
1131
1132 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
1133 Doc fixes.
1134
1135 * calendar/diary-lib.el (diary-included-files): New variable.
1136 (diary-list-entries): Maybe initialize diary-included-files.
1137 (diary-include-other-diary-files): Append to diary-included-files.
1138 * calendar/appt.el (appt-update-list): Also check the members of
1139 diary-included-files. (Bug#6999)
1140 (appt-check): Doc fix.
1141
1142 2010-09-14 David Reitter <david.reitter@gmail.com>
1143
1144 * simple.el (line-move-visual): Do not truncate goal column to
1145 integer size. (Bug#7020)
1146
1147 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * repeat.el (repeat): Allow repeating when the last event is a click.
1150 Suggested by Drew Adams (bug#6256).
1151
1152 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
1153
1154 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
1155 Replace setting HGRCPATH to "" by some less invasive --config options.
1156
1157 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * font-lock.el (font-lock-beginning-of-syntax-function):
1160 Mark as obsolete.
1161
1162 2010-09-14 Glenn Morris <rgm@gnu.org>
1163
1164 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
1165 and tool-bar modes. (Bug#6211)
1166 (menu-bar-mode): Move setting of standard-value after the
1167 minor-mode definition, otherwise it seems to have no effect.
1168
1169 2010-09-14 Masatake YAMATO <yamato@redhat.com>
1170
1171 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
1172 Fix typo. (Bug#6976)
1173
1174 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1175
1176 * whitespace.el: Allow cleaning up blanks without blank
1177 visualization (Bug#6651). Adjust help window for
1178 whitespace-toggle-options (Bug#6479). Allow to use fill-column
1179 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
1180 (whitespace-style): Add new value 'face. Adjust docstring.
1181 (whitespace-space, whitespace-hspace, whitespace-tab):
1182 Adjust foreground property face.
1183 (whitespace-line-column): Adjust docstring and type declaration.
1184 (whitespace-style-value-list, whitespace-toggle-option-alist)
1185 (whitespace-help-text): Adjust const initialization.
1186 (whitespace-toggle-options, global-whitespace-toggle-options):
1187 Adjust docstring.
1188 (whitespace-display-window, whitespace-interactive-char)
1189 (whitespace-style-face-p, whitespace-color-on): Adjust code.
1190 (whitespace-help-scroll): New fun.
1191
1192 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
1193
1194 * calendar/time-date.el (format-seconds): Comment fix.
1195
1196 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
1197
1198 * progmodes/sql.el: Version 2.7.
1199 (sql-buffer-live-p): Improve detection.
1200 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1201 (sql-set-sqli-buffer): Use it.
1202 (sql-product-interactive): Run `sql-set-sqli-hook'.
1203 (sql-rename-buffer): Code cleanup.
1204 (sql-redirect, sql-redirect-value): New functions. More to come.
1205
1206 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
1207
1208 Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
1209 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1210 (TRAMP_SRC): New macro.
1211 ($(lisp)/net/tramp-loaddefs.el): New target.
1212
1213 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
1214
1215 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
1216
1217 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
1218
1219 * net/tramp.el (top): Don't show loading message. Require just
1220 'tramp-compat, everything else is required there.
1221 Use `ignore-errors' where appropriate.
1222 (tramp-inline-compress-start-size, tramp-copy-size-limit)
1223 (tramp-terminal-type, tramp-end-of-output)
1224 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
1225 (tramp-completion-function-alist-ssh)
1226 (tramp-completion-function-alist-telnet)
1227 (tramp-completion-function-alist-su)
1228 (tramp-completion-function-alist-putty, tramp-remote-path)
1229 (tramp-remote-process-environment, tramp-sh-extra-args)
1230 (tramp-actions-before-shell, tramp-uudecode)
1231 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
1232 (tramp-perl-file-attributes)
1233 (tramp-perl-directory-files-and-attributes)
1234 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
1235 (tramp-perl-encode, tramp-perl-decode)
1236 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
1237 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
1238 (tramp-handle-make-symbolic-link, tramp-handle-load)
1239 (tramp-handle-file-name-as-directory)
1240 (tramp-handle-file-name-directory)
1241 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1242 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
1243 (tramp-do-file-attributes-with-ls)
1244 (tramp-do-file-attributes-with-perl)
1245 (tramp-do-file-attributes-with-stat)
1246 (tramp-handle-set-visited-file-modtime)
1247 (tramp-handle-verify-visited-file-modtime)
1248 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
1249 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
1250 (tramp-handle-file-selinux-context)
1251 (tramp-handle-set-file-selinux-context)
1252 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
1253 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
1254 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
1255 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
1256 (tramp-handle-file-ownership-preserved-p)
1257 (tramp-handle-directory-file-name, tramp-handle-directory-files)
1258 (tramp-handle-directory-files-and-attributes)
1259 (tramp-do-directory-files-and-attributes-with-perl)
1260 (tramp-do-directory-files-and-attributes-with-stat)
1261 (tramp-handle-file-name-all-completions)
1262 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
1263 (tramp-handle-copy-file, tramp-handle-copy-directory)
1264 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
1265 (tramp-do-copy-or-rename-file-via-buffer)
1266 (tramp-do-copy-or-rename-file-directly)
1267 (tramp-do-copy-or-rename-file-out-of-band)
1268 (tramp-handle-make-directory, tramp-handle-delete-directory)
1269 (tramp-handle-delete-file)
1270 (tramp-handle-dired-recursive-delete-directory)
1271 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
1272 (tramp-handle-insert-directory)
1273 (tramp-handle-unhandled-file-name-directory)
1274 (tramp-handle-expand-file-name)
1275 (tramp-handle-substitute-in-file-name)
1276 (tramp-handle-executable-find, tramp-process-sentinel)
1277 (tramp-handle-start-file-process, tramp-handle-process-file)
1278 (tramp-handle-call-process-region, tramp-handle-shell-command)
1279 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
1280 (tramp-handle-insert-file-contents)
1281 (tramp-handle-insert-file-contents-literally)
1282 (tramp-handle-find-backup-file-name)
1283 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
1284 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
1285 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
1286 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
1287 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
1288 (tramp-find-file-exists-command, tramp-open-shell)
1289 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
1290 (tramp-open-connection-setup-interactive-shell)
1291 (tramp-local-coding-commands, tramp-remote-coding-commands)
1292 (tramp-find-inline-encoding, tramp-call-local-coding-command)
1293 (tramp-inline-compress-commands, tramp-find-inline-compress)
1294 (tramp-compute-multi-hops, tramp-maybe-open-connection)
1295 (tramp-send-command, tramp-wait-for-output)
1296 (tramp-send-command-and-check, tramp-barf-unless-okay)
1297 (tramp-send-command-and-read, tramp-mode-string-to-int)
1298 (tramp-convert-file-attributes, tramp-check-cached-permissions)
1299 (tramp-file-mode-from-int, tramp-file-mode-permissions)
1300 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
1301 (tramp-method-out-of-band-p, tramp-local-host-p)
1302 (tramp-get-remote-path, tramp-get-remote-tmpdir)
1303 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
1304 (tramp-get-test-command, tramp-get-test-nt-command)
1305 (tramp-get-file-exists-command, tramp-get-remote-ln)
1306 (tramp-get-remote-perl, tramp-get-remote-stat)
1307 (tramp-get-remote-readlink, tramp-get-remote-trash)
1308 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
1309 (tramp-get-local-uid, tramp-get-local-gid)
1310 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
1311 tramp-sh.el.
1312 (tramp-methods, tramp-default-method-alist)
1313 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
1314 Move initialization to tramp-sh.el.
1315 (tramp-temp-name-prefix): Make it a defconst.
1316 (tramp-dissect-file-name): Don't check anymore for multi-hop
1317 methods.
1318 (tramp-debug-outline-regexp): Add a docstring.
1319 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
1320 (tramp-get-debug-buffer): Use it.
1321
1322 * net/tramp-cache.el (top): Set tramp-autoload cookie for
1323 initialization forms.
1324 (tramp-set-connection-property): Don't protect `tramp-message'
1325 call, it isn't necessary any longer.
1326 (tramp-dump-connection-properties): Use `ignore-errors'.
1327
1328 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
1329 'password-cache and 'auth-source.
1330
1331 * net/tramp-gvfs.el (top):
1332 * net/tramp-smb.el (top): Require 'tramp-sh.
1333
1334 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
1335
1336 * net/tramp-sh.el: New file, derived from tramp.el.
1337 (top): Initialize `tramp-methods', `tramp-default-method-alist',
1338 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
1339 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
1340 Use `ignore-errors' where appropriate.
1341 (tramp-sh-file-name-handler-alist): Rename from
1342 `tramp-file-name-handler-alist'.
1343 (tramp-send-command-and-check): Return t or nil. Remove all
1344 `zerop' checks, where called.
1345 (tramp-handle-set-file-modes)
1346 (tramp-do-copy-or-rename-file-directly)
1347 (tramp-handle-delete-directory, tramp-handle-delete-file)
1348 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
1349 (tramp-sh-file-name-handler, tramp-send-command-and-check)
1350 (tramp-get-remote-ln): Set tramp-autoload cookie.
1351
1352 * net/tramp-fish.el: Remove file.
1353
1354 2010-09-13 Daiki Ueno <ueno@unixuser.org>
1355
1356 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
1357 buffer-file-name to avoid file-locking. (Bug#7026)
1358
1359 2010-09-13 Julien Danjou <julien@danjou.info>
1360
1361 * notifications.el (notifications-notify): Add support for
1362 image-path and sound-name.
1363 (notifications-specification-version): Add this variable.
1364
1365 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1366
1367 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
1368
1369 2010-09-12 Leo <sdl.web@gmail.com>
1370
1371 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
1372 (rcirc-completion-start): New variables.
1373 (rcirc-nick-completions): Rename to rcirc-completions.
1374 (rcirc-nick-completion-start-offset): Delete.
1375 (rcirc-completion-at-point): New function for constructing
1376 completion data for both nicks and irc commands. Add to
1377 completion-at-point-functions in rcirc mode.
1378 (rcirc-complete): Rename from rcirc-nick-complete; use
1379 rcirc-completion-at-point.
1380 (defun-rcirc-command): Update rcirc-client-commands.
1381
1382 2010-09-11 Glenn Morris <rgm@gnu.org>
1383
1384 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
1385 atomically, to avoid parallel build errors. (Bug#4196)
1386
1387 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
1388
1389 * progmodes/sql.el: Version 2.6
1390 (sql-dialect): Synonym for "sql-product".
1391 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1392 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
1393 Set "sql-buffer" to buffer name not buffer object so multiple sql
1394 interactive buffers work properly. Reverts misguided changes in
1395 earlier work.
1396 (sql-comint): Make sure different buffer name is used if "*SQL*"
1397 buffer is for a different product.
1398 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
1399 login param.
1400 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
1401 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
1402 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
1403 Accept new buffer name or prompt for one.
1404 (sql-port): Default to zero.
1405 (sql-comint-mysql): Handle "sql-port" as a numeric.
1406 (sql-port-history): Delete unused variable.
1407 (sql-get-login): Default "sql-port" to a number.
1408 (sql-product-alist): Correct Postgres prompt and terminator regexp.
1409 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
1410 "sqlite3" executables.
1411 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
1412 (sql-buffer-live-p): New function.
1413 (sql-mode-menu, sql-send-string): Use it.
1414 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
1415 syntax pattern.
1416 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
1417 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
1418
1419 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1420
1421 * net/netrc.el (netrc-credentials): New convenience function.
1422
1423 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
1426 to replace texinfo-font-lock-syntactic-keywords.
1427 (texinfo-mode): Use it.
1428
1429 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
1430 Use syntax-propertize-function.
1431
1432 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
1433 replace sgml-font-lock-syntactic-keywords.
1434 (sgml-mode): Use it.
1435
1436 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
1437 since we don't use it.
1438
1439 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
1440
1441 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
1442 if available.
1443 (vhdl-fontify-buffer): Adjust.
1444
1445 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
1446 replace tcl-font-lock-syntactic-keywords.
1447 (tcl-mode): Use it.
1448
1449 * progmodes/simula.el (simula-syntax-propertize-function): New var to
1450 replace simula-font-lock-syntactic-keywords.
1451 (simula-mode): Use it.
1452
1453 * progmodes/sh-script.el (sh-st-symbol): Remove.
1454 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
1455 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
1456 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
1457 (sh-font-lock-paren): Set syntax-multiline.
1458 (sh-font-lock-syntactic-keywords): Remove.
1459 (sh-syntax-propertize-function): New function to replace it.
1460 (sh-mode): Use it.
1461
1462 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1463 Define while compiling.
1464 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1465 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
1466 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
1467 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1468 (ruby-here-doc-end-syntax): Only define when
1469 syntax-propertize is not available.
1470 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
1471 New functions.
1472 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
1473 (electric-indent-chars): Silence bytecompiler.
1474 (ruby-mode): Use prog-mode, syntax-propertize-function, and
1475 electric-indent-chars.
1476
1477 * progmodes/python.el (python-syntax-propertize-function): New var to
1478 replace python-font-lock-syntactic-keywords.
1479 (python-mode): Use it.
1480 (python-quote-syntax): Simplify and adjust to new use.
1481
1482 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
1483 replace perl-font-lock-syntactic-keywords.
1484 (perl-syntax-propertize-special-constructs): New fun to replace
1485 perl-font-lock-special-syntactic-constructs.
1486 (perl-font-lock-syntactic-face-function): New fun.
1487 (perl-mode): Use it.
1488
1489 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
1490 to replace octave-font-lock-close-quotes.
1491 (octave-syntax-propertize-function): New function to replace
1492 octave-font-lock-syntactic-keywords.
1493 (octave-mode): Use it.
1494
1495 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
1496 replaces mixal-font-lock-syntactic-keywords.
1497 (mixal-mode): Use it.
1498
1499 * progmodes/make-mode.el (makefile-syntax-propertize-function):
1500 New var; replaces makefile-font-lock-syntactic-keywords.
1501 (makefile-mode): Use it.
1502 (makefile-imake-mode): Adjust.
1503
1504 * progmodes/js.el (js--regexp-literal): Define while compiling.
1505 (js-syntax-propertize-function): New var; replaces
1506 js-font-lock-syntactic-keywords.
1507 (js-mode): Use it.
1508
1509 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
1510 replaces gdb-script-font-lock-syntactic-keywords.
1511 (gdb-script-mode): Use it.
1512
1513 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
1514 (fortran--font-lock-syntactic-keywords): New var.
1515 (fortran-line-length): Update syntax-propertize-function and
1516 fortran--font-lock-syntactic-keywords.
1517
1518 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
1519
1520 * progmodes/cfengine.el (cfengine-mode):
1521 Use syntax-propertize-function.
1522 (cfengine-font-lock-syntactic-keywords): Remove.
1523
1524 * progmodes/autoconf.el (autoconf-mode):
1525 Use syntax-propertize-function.
1526 (autoconf-font-lock-syntactic-keywords): Remove.
1527
1528 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
1529 (ada-after-change-function, ada-initialize-syntax-table-properties)
1530 (ada-handle-syntax-table-properties): Only define when
1531 syntax-propertize is not available.
1532 (ada-mode): Use syntax-propertize-function.
1533
1534 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
1535 (font-lock-fontify-syntactic-keywords-region): Move handling of
1536 font-lock-syntactically-fontified to...
1537 (font-lock-default-fontify-region): ...here.
1538 Let syntax-propertize-function take precedence.
1539 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
1540
1541 * emacs-lisp/syntax.el (syntax-propertize-function)
1542 (syntax-propertize-chunk-size, syntax-propertize--done)
1543 (syntax-propertize-extend-region-functions): New vars.
1544 (syntax-propertize-wholelines, syntax-propertize-multiline)
1545 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
1546 (syntax-propertize): New functions.
1547 (syntax-propertize-rules): New macro.
1548 (syntax-ppss-flush-cache): Set syntax-propertize--done.
1549 (syntax-ppss): Call syntax-propertize.
1550
1551 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
1552
1553 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
1554
1555 * textmodes/ispell.el (ispell-init-process): Improve comments.
1556 XEmacs compatibility changes regarding (add-hook) 'local option
1557 and (set-process-query-on-exit-flag).
1558
1559 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * net/tramp-cache.el (tramp-parse-connection-properties):
1562 Set tramp-autoload cookie.
1563
1564 2010-09-09 Glenn Morris <rgm@gnu.org>
1565
1566 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
1567 (imagemagick-register-types): Doc fix.
1568
1569 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1572
1573 * progmodes/js.el (require): Require is already "eval-and-compile".
1574 (js--re-search-forward): Avoid `eval'. Preserve the error data.
1575 (js--re-search-backward): Use js--re-search-forward.
1576
1577 * progmodes/fortran.el (fortran-line-length): Don't recompute
1578 syntactic keywords redundantly a second time.
1579
1580 * progmodes/ada-mode.el: Replace "(set '" with setq.
1581 (ada-mode): Simplify.
1582 (ada-create-case-exception, ada-adjust-case-interactive)
1583 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1584 (ada-search-ignore-string-comment, ada-move-to-start)
1585 (ada-move-to-end): Use with-syntax-table.
1586
1587 * font-lock.el (save-buffer-state): Remove `varlist' arg.
1588 (font-lock-unfontify-region, font-lock-default-fontify-region):
1589 Update usage correspondingly.
1590 (font-lock-fontify-syntactic-keywords-region):
1591 Set parse-sexp-lookup-properties buffer-locally here.
1592 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1593
1594 * simple.el (blink-matching-open): Don't burp if we can't find a match.
1595
1596 2010-09-08 Glenn Morris <rgm@gnu.org>
1597
1598 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1599 Error if not compiled with -DBYTE_CODE_METER.
1600
1601 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1602 Ignore dir-locals-file.
1603
1604 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1607 Not a const.
1608 (compilation-error-regexp-alist-alist): Rule out ": " in file names
1609 for the `gnu' messages.
1610 (compilation-set-skip-threshold): New command.
1611 (compilation-start): Use \' rather than $.
1612 (compilation-forget-errors): Use clrhash.
1613
1614 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
1615
1616 * textmodes/ispell.el (ispell-valid-dictionary-list):
1617 Simplify logic.
1618
1619 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
1620
1621 Migrate to Tramp 2.2. Rearrange load dependencies.
1622 (Bug#1529, Bug#5448, Bug#5705)
1623
1624 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1625 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1626 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1627
1628 * net/tramp.el (top): Remove all other tramp-* loads except
1629 tramp-compat.el. Remove all changes to tramp-unload-hook for
1630 other tramp-* packages. Rearrange defun order. Change calls of
1631 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1632 `tramp-compat-octal-to-decimal' to new function names.
1633 (tramp-terminal-type, tramp-initial-end-of-output)
1634 (tramp-methods, tramp-foreign-file-name-handler-alist)
1635 (tramp-tramp-file-p, tramp-completion-mode-p)
1636 (tramp-send-command-and-check, tramp-get-remote-path)
1637 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1638 (tramp-shell-quote-argument): Set tramp-autoload cookie.
1639 (with-file-property, with-connection-property): Move to
1640 tramp-cache.el.
1641 (tramp-local-call-process, tramp-decimal-to-octal)
1642 (tramp-octal-to-decimal): Move to tramp-compat.el.
1643 (tramp-handle-shell-command): Do not require 'shell.
1644 (tramp-compute-multi-hops): No special handling for tramp-gw-*
1645 symbols.
1646 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1647
1648 * net/tramp-cache.el (top): Require 'tramp. Add to
1649 `tramp-unload-hook'.
1650 (tramp-cache-data, tramp-get-file-property)
1651 (tramp-set-file-property, tramp-flush-file-property)
1652 (tramp-flush-directory-property, tramp-get-connection-property)
1653 (tramp-set-connection-property, tramp-flush-connection-property)
1654 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1655 cookie.
1656 (with-file-property, with-connection-property): New defuns, moved
1657 from tramp.el.
1658 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1659 macro.
1660
1661 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1662 (tramp-version): Set tramp-autoload cookie.
1663
1664 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
1665 changes to tramp-unload-hook for other tramp-* packages. Add to
1666 `tramp-unload-hook'.
1667 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1668 (tramp-compat-call-process): New defuns, moved from tramp.el.
1669
1670 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
1671 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1672 to `tramp-unload-hook'. Change call of
1673 `tramp-compat-decimal-to-octal' to new function name.
1674 (tramp-fish-method): Make it a defconst.
1675 (tramp-fish-file-name-p): Make it a defsubst.
1676 (tramp-fish-method, tramp-fish-file-name-handler)
1677 (tramp-fish-file-name-p): Set tramp-autoload cookie.
1678
1679 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1680 `tramp-foreign-file-name-handler-alist'. Add to
1681 `tramp-unload-hook'.
1682 (tramp-ftp-method): Make it a defconst.
1683 (tramp-ftp-file-name-p): Make it a defsubst.
1684 (tramp-ftp-method, tramp-ftp-file-name-handler)
1685 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1686
1687 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1688 `tramp-foreign-file-name-handler-alist'. Add to
1689 `tramp-unload-hook'. Change checks, whether package can be
1690 loaded.
1691 (tramp-gvfs-file-name-p): Make it a defsubst.
1692 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1693 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1694 (tramp-gvfs-handle-file-directory-p): New defun.
1695 (tramp-gvfs-file-name-handler-alist): Use it.
1696
1697 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1698 `tramp-foreign-file-name-handler-alist'. Add to
1699 `tramp-unload-hook'.
1700 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1701 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1702 defconst.
1703 (tramp-gw-tunnel-method, tramp-gw-socks-method)
1704 (tramp-gw-open-connection): Set tramp-autoload cookie.
1705
1706 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
1707 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1708 to `tramp-unload-hook'. Change checks, whether package can be
1709 loaded.
1710 (tramp-imap-file-name-p): Make it a defsubst.
1711 (tramp-imap-method, tramp-imaps-method)
1712 (tramp-imap-file-name-handler)
1713 (tramp-imap-file-name-p): Set tramp-autoload cookie.
1714
1715 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
1716 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1717 to `tramp-unload-hook'. Change checks, whether package can be
1718 loaded. Change call of `tramp-compat-decimal-to-octal' to new
1719 function name.
1720 (tramp-smb-tunnel-method): Make it a defconst.
1721 (tramp-smb-file-name-p): Make it a defsubst.
1722 (tramp-smb-method, tramp-smb-file-name-handler)
1723 (tramp-smb-file-name-p): Set tramp-autoload cookie.
1724
1725 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1726 (tramp-uuencode-region): Set tramp-autoload cookie.
1727
1728 * net/trampver.el (top) Add to `tramp-unload-hook'.
1729 (tramp-version, tramp-bug-report-address): Set tramp-autoload
1730 cookie. Update release number.
1731
1732 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
1733
1734 * textmodes/ispell.el (ispell-start-process): Make sure original
1735 arg list is properly initialized (Bug#6993, Bug#6994).
1736
1737 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1738
1739 * files.el (directory-abbrev-alist): Use \` as default regexp.
1740
1741 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1742 chars like - or ] (bug#6984).
1743 (rx-any-condense-range): Explode 2-char ranges.
1744
1745 2010-09-06 Glenn Morris <rgm@gnu.org>
1746
1747 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1748
1749 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * textmodes/bibtex.el:
1752 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1753
1754 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1755
1756 * net/imap.el (imap-message-map): Remove optional buffer parameter,
1757 since no callers use it.
1758 (imap-message-get): Ditto.
1759 (imap-message-put): Ditto.
1760 (imap-mailbox-map): Ditto.
1761 (imap-mailbox-put): Ditto.
1762 (imap-mailbox-get): Ditto.
1763 (imap-mailbox-get): Revert last change for this function.
1764
1765 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1766
1767 * net/imap.el (imap-fetch-safe): Remove function, and alter all
1768 callers to use `imap-fetch' instead. According to the comments, this
1769 should be safe, since all other IMAP clients use the 1:* syntax.
1770 (imap-enable-exchange-bug-workaround): Remove.
1771 (imap-debug): Remove -- doesn't seem very useful.
1772
1773 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1774
1775 * net/imap.el (imap-log): New convenience function used throughout
1776 instead of repeating the same code all over the place.
1777
1778 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
1779
1780 * mouse.el (mouse-save-then-kill): Save region to kill-ring
1781 when mouse-drag-copy-region is non-nil (Bug#6956).
1782
1783 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
1784
1785 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
1786 Improve regexps (Bug#6987).
1787 (dired-sort-toggle): Search more robustly for -t flag.
1788
1789 * files.el (get-free-disk-space): Search more robustly for
1790 "available" column. Suggested by Ehud Karni
1791 <ehud@unix.mvs.co.il>.
1792
1793 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
1794
1795 * international/uni-bidi.el:
1796 * international/uni-category.el:
1797 * international/uni-combining.el:
1798 * international/uni-decimal.el:
1799 * international/uni-mirrored.el:
1800 * international/uni-name.el: Regenerate.
1801
1802 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1803
1804 * electric.el (electric-indent-post-self-insert-function):
1805 Don't reindent with a sloppy indentation function.
1806
1807 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
1808 border case in change-log-mode.
1809
1810 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
1811
1812 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1813 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
1814 Recognize leading tab in gcc-include regexp. Ignore names with
1815 leading "from" or "in" in gnu regexp (Bug#6937).
1816
1817 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1818
1819 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1820 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
1821 (ispell-start-process): Avoid setq and simplify logic.
1822 (ispell-init-process): Setup kill-buffer-hook locally when needed.
1823 (kill-buffer-hook): Don't use it globally with code that uses
1824 expand-file-name since that may call kill-buffer via
1825 code_conversion_restore.
1826
1827 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
1828
1829 * emacs-lisp/package.el (package-directory-list): Only call
1830 file-name-nondirectory on a string.
1831
1832 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
1833
1834 * emacs-lisp/package.el (package--download-one-archive):
1835 Ensure that archive-contents is valid before saving it.
1836 (package-activate-1, package-mark-obsolete, define-package)
1837 (package-compute-transaction, package-list-maybe-add): Use push.
1838
1839 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 Use SMIE's blink-paren for octave-mode.
1842 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
1843 Backslashes do not escape single-quotes, single-quotes do.
1844 (octave-block-else-regexp, octave-block-end-regexp)
1845 (octave-block-match-alist): Remove.
1846 (octave-smie-bnf-table): New var, with old content.
1847 (octave-smie-op-levels): Use it.
1848 (octave-smie-closer-alist): New var.
1849 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
1850 (octave-blink-matching-block-open): Remove.
1851 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1852 (octave-electric-space): Let self-insert-command run expand-abbrev and
1853 blink parens.
1854
1855 * electric.el (electricity): New group.
1856 (electric-indent-chars): New var.
1857 (electric-indent-post-self-insert-function): New fun.
1858 (electric-indent-mode): New minor mode.
1859 (electric-pair-skip-self): New custom.
1860 (electric-pair-post-self-insert-function): New function.
1861 (electric-pair-mode): New minor mode.
1862
1863 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
1864 calcAlg-blink-matching-open.
1865 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
1866 (calc-do-alg-entry): Only touch the part of the keymap that varies.
1867 Use the new blink-matching-check-function.
1868
1869 Provide blink-matching support to SMIE.
1870 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
1871 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
1872 (smie-blink-matching-check, smie-blink-matching-open): New functions.
1873
1874 * simple.el (newline): Fix last change to properly remove itself from
1875 the hook.
1876
1877 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * simple.el (newline): Eliminate optimization.
1880 Use post-self-insert-hook to set hard-newline and things before
1881 running post-self-insert-hook.
1882 (blink-matching-check-mismatch): New function.
1883 (blink-matching-check-function): New variable.
1884 (blink-matching-open): Use them.
1885 Skip back forward over prefix chars skipped by forward-sexp.
1886 Don't check if the parens are backslash escaped.
1887 (blink-paren-post-self-insert-function): Check backslash escaping here.
1888
1889 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
1890
1891 * emacs-lisp/package.el (package-menu-mode-map):
1892 Change package-menu-revert bindings to revert-buffer.
1893 (package-menu-mode): Set revert-buffer-function.
1894 (package-menu-revert): Doc fix.
1895
1896 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
1897
1898 * textmodes/ispell.el (ispell-init-process): Use "~/" as
1899 `default-directory' unless using Ispell per-directory personal
1900 dictionaries and not in a mini-buffer under XEmacs.
1901 (kill-buffer-hook): Do not kill ispell process on exit when
1902 `ispell-process-directory' is "~/". (Bug#6143)
1903
1904 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
1905
1906 * simple.el (kill-new): Call interprogram-cut-function with only
1907 one argument.
1908
1909 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
1910 Remove cut buffer from error message.
1911
1912 * term/x-win.el (x-select-text):
1913 * term/pc-win.el (x-selection-value):
1914 * term/ns-win.el (x-selection-value):
1915 * eshell/em-term.el:
1916 * w32-fns.el (x-get-selection-value):
1917 * mouse-sel.el (mouse-sel-set-selection-function):
1918 * frame.el (display-selections-p): Remove cut-buffer in documentation.
1919
1920 * term/x-win.el: Update documentation for x-last-selected-text-*.
1921 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
1922 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
1923 (x-select-text): Remove argument PUSH, update documentation. Remove
1924 cut-buffer code.
1925 (x-selection-value-internal): Was previously x-selection-value.
1926 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
1927 Update documentation, remove cut-buffer code. Call
1928 x-selection-value-internal.
1929 (x-clipboard-yank): Call x-selection-value-internal.
1930 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
1931
1932 * term/pc-win.el (x-last-selected-text):
1933 x-cut-buffer-or-selection-value renamed to x-selection-value
1934 (x-select-text): Remove argument PUSH, update documentation.
1935
1936 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
1937 x-cut-buffer-or-selection-value renamed to x-selection-value
1938 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
1939 (x-select-text): Remove argument PUSH, update documentation.
1940
1941 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
1942
1943 * w32-fns.el (x-last-selected-text):
1944 x-cut-buffer-or-selection-value renamed to x-selection-value.
1945 (x-cut-buffer-max): Remove.
1946 (x-select-text): Remove argument PUSH, update documentation.
1947
1948 * simple.el (interprogram-cut-function): Remove mention of PUSH.
1949
1950 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
1951
1952 * mouse-sel.el (mouse-sel-get-selection-function):
1953 x-cut-buffer-or-selection-value renamed to x-selection-value.
1954 (x-select-text): Remove optional push.
1955
1956 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1957
1958 * simple.el (blink-paren-function): Move from C to here.
1959 (blink-paren-post-self-insert-function): New function.
1960 (post-self-insert-hook): Use it.
1961
1962 * emacs-lisp/pcase.el (pcase-split-memq):
1963 Fix overenthusiastic optimisation.
1964 (pcase-u1): Handle the case of a lambda pred.
1965
1966 2010-08-31 Kenichi Handa <handa@m17n.org>
1967
1968 * international/mule-cmds.el (standard-display-european-internal):
1969 Setup standard-display-table for 8-bit characters by storing 8-bit
1970 characters in the element vector.
1971
1972 * disp-table.el (standard-display-8bit):
1973 Setup standard-display-table for 8-bit characters by storing 8-bit
1974 characters in the element vector.
1975 (standard-display-european): Likewise.
1976
1977 2010-08-31 Masatake YAMATO <yamato@redhat.com>
1978
1979 * textmodes/nroff-mode.el (nroff-view): New command.
1980 (nroff-mode-map): Bind it to C-c C-c.
1981
1982 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 * emacs-lisp/smie.el (smie-down-list): New command.
1985
1986 Remove old indentation and navigation code on octave-mode.
1987 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
1988 smie-down-list rather than add a binding for octave-down-block.
1989 (octave-mark-block, octave-blink-matching-block-open):
1990 Rely on forward-sexp-function.
1991 (octave-fill-paragraph): Don't narrow, so you can use
1992 indent-according-to-mode.
1993 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
1994 (octave-in-block-p, octave-re-search-forward-kw)
1995 (octave-re-search-backward-kw, octave-indent-calculate)
1996 (octave-end-as-array-index-p, octave-block-end-offset)
1997 (octave-scan-blocks, octave-forward-block, octave-backward-block)
1998 (octave-down-block, octave-backward-up-block, octave-up-block)
1999 (octave-before-magic-comment-p, octave-indent-line): Remove.
2000
2001 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
2002
2003 * emacs-lisp/package.el (package--read-archive-file): Just use
2004 `read', to avoid copying an additional string.
2005 (package-menu-mode): Set header-line-format here.
2006 (package-menu-refresh, package-menu-revert): Signal an error if
2007 not in the Package Menu.
2008 (package-menu-package-list): New var.
2009 (package--generate-package-list): Operate on the current buffer;
2010 don't assume that it is *Packages*, since the user may rename it.
2011 Allow persistent package listings and sort keys using
2012 package-menu-package-list and package-menu-package-sort-key.
2013 (package-menu--version-predicate): Fix version calculation.
2014 (package-menu-sort-by-column): Don't select the window.
2015 (package--list-packages): Create the *Packages* buffer.
2016 Set package-menu-package-list-key.
2017 (list-packages): Sorting by status is now the default.
2018 (package-buffer-info): Use match-string-no-properties.
2019 (define-package): Add a &rest argument for future proofing, but
2020 don't use it yet.
2021 (package-install-from-buffer, package-install-buffer-internal):
2022 Merge into a single function, package-install-from-buffer.
2023 (package-install-file): Change caller.
2024
2025 * finder.el: Load finder-inf using `require'.
2026 (finder-list-matches): Sorting by status is now the default.
2027 (finder-compile-keywords): Simpify printing.
2028
2029 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2032 (octave-mode-map): Remove special bindings for forward/backward-block
2033 and octave-backward-up-block. Use smie-close-block.
2034 (octave-continuation-marker-regexp): New var.
2035 (octave-continuation-regexp): Use it.
2036 (octave-operator-table, octave-smie-op-levels)
2037 (octave-operator-regexp, octave-smie-indent-rules): New vars.
2038 (octave-smie-backward-token, octave-smie-forward-token): New funs.
2039 (octave-mode): Use SMIE.
2040 (octave-close-block): Delete.
2041
2042 2010-08-30 Eli Zaretskii <eliz@gnu.org>
2043
2044 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
2045 CLIPBOARD, not in PRIMARY. (Bug#6944)
2046
2047 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
2050 a list of parents.
2051 (smie-indent-column): Allow indirection through variables.
2052
2053 * composite.el (save-buffer-state): Delete, unused.
2054 * font-lock.el (save-buffer-state): Use with-silent-modifications.
2055 (font-lock-default-fontify-region): Use with-syntax-table.
2056 * jit-lock.el (with-buffer-unmodified): Remove.
2057 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
2058
2059 Use `declare' in defmacros.
2060 * window.el (save-selected-window):
2061 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
2062 * progmodes/python.el (def-python-skeleton):
2063 * net/dbus.el (dbus-ignore-errors):
2064 * jka-cmpr-hook.el (with-auto-compression-mode):
2065 * international/mule.el (with-category-table):
2066 * emacs-lisp/timer.el (with-timeout):
2067 * emacs-lisp/lisp-mnt.el (lm-with-file):
2068 * emacs-lisp/eieio.el (with-slots):
2069 * emacs-lisp/easymenu.el (easy-menu-define):
2070 * emacs-lisp/debug.el (debugger-env-macro):
2071 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
2072 (Multiple-value-call, Multiple-value-prog1):
2073 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
2074 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
2075 edebug rule to definition.
2076 * emacs-lisp/lisp-mode.el (save-selected-window)
2077 (with-current-buffer, combine-after-change-calls)
2078 (with-output-to-string, with-temp-file, with-temp-buffer)
2079 (with-temp-message, with-syntax-table, read-if, eval-after-load)
2080 (dolist, dotimes, when, unless):
2081 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2082
2083 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2084
2085 * finder.el: Require `package'.
2086 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
2087 (finder-package-info): Var deleted.
2088 (finder-keywords-hash, finder--builtins-alist): New vars.
2089 (finder-compile-keywords): Compute package--builtins and
2090 finder-keywords-hash instead of finder-keywords-hash, respecting
2091 the "Package" header.
2092 (finder-unknown-keywords, finder-list-matches):
2093 Use finder-keywords-hash and package--list-packages.
2094 (finder-mode): Don't set font-lock-defaults.
2095 (finder-exit): We don't use "*Finder-package*" and "*Finder
2096 Category*" buffers anymore.
2097
2098 * emacs-lisp/package.el (package--builtins-base): Var deleted.
2099 (package--builtins): Set default value to nil.
2100 (package-initialize): Load precomputed value of package--builtins
2101 from finder-inf.el.
2102 (package-alist, package-compute-transaction)
2103 (package-download-transaction): Improve docstring.
2104 (package-read-all-archive-contents): Do not change
2105 package--builtins here.
2106 (list-packages): Make package-list-packages an alias for this.
2107 Sort by status by default.
2108 (package--list-packages): Add optional PACKAGES arg.
2109 (describe-package-1): Use font-lock-face property. For built-in
2110 packages, insert file commentary.
2111 (package--generate-package-list): Rename from
2112 package-list-packages-internal; all callers changed. Add optional
2113 PACKAGES arg. Add alphabetical sort fallbacks.
2114 (package-menu--version-predicate, package-menu--status-predicate)
2115 (package-menu--description-predicate)
2116 (package-menu--name-predicate): New functions.
2117
2118 * info.el (Info-finder-find-node): Search package-alist instead of
2119 finder-package-info.
2120
2121 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2122
2123 * subr.el (version-regexp-alist): Don't use "a" and "b" for
2124 "alpha" and "beta".
2125 (version-to-list): Handle versions like "10.3d".
2126
2127 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2128
2129 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
2130 (macroexp-accumulate): Use `declare'.
2131
2132 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2133
2134 * whitespace.el (whitespace-style): Adjust type declaration.
2135
2136 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
2137
2138 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2139 empty argument to gvfs-copy.
2140
2141 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2142
2143 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
2144 handle new TRASH arg of `delete-file'.
2145
2146 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
2147
2148 * net/tramp.el (tramp-handle-insert-directory): Don't use
2149 `forward-word', its default syntax could be changed.
2150
2151 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2152 Michael Albinus <michael.albinus@gmx.de>
2153
2154 Implement compression for inline methods.
2155
2156 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
2157 (tramp-copy-size-limit): Allow also nil.
2158 (tramp-inline-compress-commands): New defconst.
2159 (tramp-find-inline-compress, tramp-get-inline-compress)
2160 (tramp-get-inline-coding): New defuns.
2161 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
2162 replaced by `tramp-get-inline-coding'.
2163 (tramp-handle-file-local-copy, tramp-handle-write-region)
2164 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
2165
2166 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
2167
2168 Detect ssh 'ControlMaster' argument automatically in some cases.
2169
2170 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
2171 (tramp-default-method): Use it.
2172
2173 2010-08-26 Karel Klíč <kklic@redhat.com>
2174
2175 * net/tramp.el (tramp-file-name-for-operation):
2176 Add file-selinux-context.
2177
2178 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
2179
2180 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
2181
2182 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2183
2184 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
2185 (Bug#6907).
2186
2187 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
2188
2189 * progmodes/js.el: Make indentation more customizable (Bug#6914).
2190 (js-paren-indent-offset, js-square-indent-offset)
2191 (js-curly-indent-offset): New options.
2192 (js--proper-indentation): Use them.
2193
2194 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
2195
2196 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
2197 instead of inspecting font-lock properties (Bug#6916).
2198
2199 2010-08-26 David Reitter <david.reitter@gmail.com>
2200
2201 * server.el (server-visit-files): Run pre-command-hook and
2202 post-command-hook for each buffer while it is current (Bug#6910).
2203 (server-execute): Do not run hooks here.
2204
2205 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
2206
2207 Sync with Tramp 2.1.19.
2208
2209 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2210 (tramp-reporter-dump-variable, tramp-load-report-modules)
2211 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
2212 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
2213
2214 * net/tramp-compat.el (top): Do not autoload
2215 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
2216 only when `start-file-process' is not bound.
2217 (byte-compile-not-obsolete-vars): Define if not bound.
2218 (tramp-compat-funcall): New defmacro.
2219 (tramp-compat-line-beginning-position)
2220 (tramp-compat-line-end-position)
2221 (tramp-compat-temporary-file-directory)
2222 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
2223 (tramp-compat-copy-file, tramp-compat-copy-directory)
2224 (tramp-compat-delete-file, tramp-compat-delete-directory)
2225 (tramp-compat-number-sequence, tramp-compat-process-running-p):
2226 Use it.
2227 (tramp-advice-file-expand-wildcards): Do not use
2228 `tramp-handle-file-remote-p'.
2229 (tramp-compat-make-temp-file): Simplify fallback implementation.
2230 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2231 (tramp-compat-copy-tree): Remove function.
2232 (tramp-compat-delete-file): New defun.
2233 (tramp-compat-delete-directory): Provide implementation for older
2234 Emacsen.
2235 (tramp-compat-file-attributes): Handle only
2236 `wrong-number-of-arguments' error.
2237
2238 * net/tramp-fish.el (tramp-fish-handle-copy-file):
2239 Add PRESERVE_SELINUX_CONTEXT.
2240 (tramp-fish-handle-delete-file): Add TRASH arg.
2241 (tramp-fish-handle-directory-files-and-attributes):
2242 Do not use `tramp-fish-handle-file-attributes.
2243 (tramp-fish-handle-file-local-copy)
2244 (tramp-fish-handle-insert-file-contents)
2245 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
2246
2247 * net/tramp-gvfs.el (top): Require url-util.
2248 (tramp-gvfs-mount-point): Remove.
2249 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
2250 and `set-file-selinux-context'.
2251 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
2252 (tramp-gvfs-handle-file-selinux-context)
2253 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
2254 (with-tramp-dbus-call-method): Format trace message.
2255 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
2256 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2257 Implement backup call, when operation on local files fails.
2258 Use progress reporter. Flush properties of changed files.
2259 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
2260 `tramp-compat-delete-file'.
2261 (tramp-gvfs-handle-expand-file-name): Expand "~/".
2262 (tramp-gvfs-handle-make-directory): Make more traces.
2263 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
2264 (tramp-gvfs-url-file-name): Hexify file name in url.
2265 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2266 into account for the resulting file name.
2267 (tramp-gvfs-handler-askquestion): Preserve current message, in
2268 order to let progress reporter continue afterwards. (Bug#6257)
2269 Return dummy mountpoint, when the answer is "no".
2270 See `tramp-gvfs-maybe-open-connection'.
2271 (tramp-gvfs-handler-mounted-unmounted)
2272 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2273 attribute "default_location". Set "prefix" property.
2274 Handle default-location.
2275 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2276 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2277 exists. Raise an error, if not (due to a corresponding answer
2278 "no" in interactive questions, for example).
2279 Use `tramp-compat-funcall'.
2280
2281 * net/tramp-imap.el (top): Autoload `epg-make-context'.
2282 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2283 (tramp-imap-do-copy-or-rename-file)
2284 (tramp-imap-handle-insert-file-contents)
2285 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2286 (tramp-imap-handle-delete-file): Add TRASH arg.
2287
2288 * net/tramp-smb.el (tramp-smb-handle-copy-file):
2289 Add PRESERVE-SELINUX-CONTEXT.
2290 (tramp-smb-handle-copy-file)
2291 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
2292 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
2293 Use `with-progress-reporter'.
2294 (tramp-smb-handle-delete-file): Add TRASH arg.
2295
2296 * net/tramp.el (tramp-methods): Move hostname to the end in all
2297 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
2298 appropriate.
2299 (tramp-verbose): Describe verbose level 9.
2300 (tramp-completion-function-alist)
2301 (tramp-file-name-regexp, tramp-chunksize)
2302 (tramp-local-coding-commands, tramp-remote-coding-commands)
2303 (with-connection-property, tramp-completion-mode-p)
2304 (tramp-action-process-alive, tramp-action-out-of-band)
2305 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
2306 (tramp-exists-file-name-handler): Fix docstring.
2307 (tramp-remote-process-environment): Use `format' instead of
2308 `concat'. Protect version string by apostroph.
2309 (tramp-shell-prompt-pattern): Do not use a shy group in case of
2310 XEmacs.
2311 (tramp-file-name-regexp-unified)
2312 (tramp-completion-file-name-regexp-unified): On W32 systems, do
2313 not regard the volume letter as remote filename. (Bug#5447)
2314 (tramp-perl-file-attributes)
2315 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2316 (tramp-vc-registered-read-file-names): Read input as
2317 here-document, otherwise the command could exceed maximum length
2318 of command line.
2319 (tramp-file-name-handler-alist): Add `file-selinux-context' and
2320 `set-file-selinux-context'.
2321 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
2322 backtrace functions.
2323 (tramp-error-with-buffer): Don't show the connection buffer when
2324 we are in completion mode.
2325 (tramp-progress-reporter-update, tramp-remote-selinux-p)
2326 (tramp-handle-file-selinux-context)
2327 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
2328 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
2329 New defuns.
2330 (with-progress-reporter): New defmacro.
2331 (tramp-debug-outline-regexp): New defconst.
2332 (top, tramp-rfn-eshadow-setup-minibuffer)
2333 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
2334 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
2335 (tramp-completion-mode-p, tramp-check-for-regexp)
2336 (tramp-open-connection-setup-interactive-shell)
2337 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
2338 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
2339 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
2340 Use `tramp-compat-funcall'.
2341 (tramp-handle-make-symbolic-link): Flush file properties.
2342 (tramp-handle-load, tramp-handle-file-local-copy)
2343 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2344 (tramp-handle-vc-registered, tramp-maybe-send-script)
2345 (tramp-find-shell): Use `with-progress-reporter'.
2346 (tramp-do-file-attributes-with-stat): Add space in format string,
2347 in order to work around a bug in pdksh. Reported by Gilles Pion
2348 <gpion@lfdj.com>.
2349 (tramp-handle-verify-visited-file-modtime): Do not send a command
2350 when the connection is not established.
2351 (tramp-handle-set-file-times): Simplify the check for utc.
2352 (tramp-handle-directory-files-and-attributes)
2353 (tramp-get-remote-path): Use `copy-tree'.
2354 (tramp-completion-handle-file-name-all-completions): Ensure, that
2355 non remote files are still checked. Oops.
2356 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
2357 Handle PRESERVE-SELINUX-CONTEXT.
2358 (tramp-do-copy-or-rename-file): Add progress reporter.
2359 (tramp-do-copy-or-rename-file-directly): Do not use
2360 `tramp-handle-file-remote-p'.
2361 (tramp-do-copy-or-rename-file-out-of-band):
2362 Use `tramp-compat-delete-directory'.
2363 (tramp-do-copy-or-rename-file-out-of-band)
2364 (tramp-compute-multi-hops, tramp-maybe-open-connection):
2365 Use `format-spec-make'.
2366 (tramp-handle-delete-file): Add TRASH arg.
2367 (tramp-handle-dired-uncache): Flush directory cache, not only file
2368 cache.
2369 (tramp-handle-expand-file-name)
2370 (tramp-completion-handle-file-name-all-completions)
2371 (tramp-completion-handle-file-name-completion):
2372 Use `tramp-connectable-p'.
2373 (tramp-handle-start-file-process): Set connection property "vec".
2374 Use it, in order to invalidate file caches. Check only for
2375 `remote-tty' process property.
2376 Implement tty setting. (Bug#4604, Bug#6360)
2377 (tramp-file-name-for-operation): Add `call-process-region' and
2378 `set-file-selinux-context'.
2379 (tramp-find-foreign-file-name-handler)
2380 (tramp-advice-make-auto-save-file-name)
2381 (tramp-set-auto-save-file-modes): Remove superfluous check for
2382 `stringp'. This is done inside `tramp-tramp-file-p'.
2383 (tramp-file-name-handler): Trace 'quit. Catch the error for some
2384 operations when we are in completion mode. This gives the user
2385 the chance to correct the file name in the minibuffer.
2386 (tramp-completion-mode-p): Use `non-essential'.
2387 (tramp-handle-file-name-all-completions): Backward/ XEmacs
2388 compatibility: Use `completion-ignore-case' if
2389 `read-file-name-completion-ignore-case' does not exist.
2390 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
2391 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2392 `tramp-open-shell'.
2393 (tramp-action-password): Hide password prompt before next run.
2394 (tramp-process-actions): Widen connection buffer for the trace.
2395 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2396 process property. Trace stty settings if `tramp-verbose' >= 9.
2397 Apply workaround for IRIX64 bug. Move argument of last
2398 `tramp-send-command' where it belongs to.
2399 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2400 front of `login-args'.
2401 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
2402 on "/dev/null" instead of "/".
2403 (tramp-get-ls-command-with-dired): Make test for "--dired"
2404 stronger.
2405 (tramp-set-auto-save-file-modes): Adapt version check.
2406 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2407 (tramp-handle-process-file): Call the program in a subshell, in
2408 order to preserve working directory.
2409 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
2410 `tramp-remote-sh' from `tramp-methods'.
2411 (tramp-get-ls-command): Make test for "--color=never" stronger.
2412 (tramp-check-for-regexp): Use (forward-line 1).
2413
2414 * net/trampver.el: Update release number.
2415
2416 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2417
2418 * help.el (help-map): Bind `C-h P' to describe-package.
2419
2420 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
2421
2422 * emacs-lisp/package.el (package-refresh-contents): Catch errors
2423 when downloading archives.
2424 (describe-package-1): Add package commentary.
2425 (package-install-button-action): New function.
2426 (package-menu-mode-map): Bind ? to package-menu-describe-package.
2427 (package-menu-view-commentary): Function removed.
2428 (package-list-packages-internal): Hide the `package' package too.
2429
2430 2010-08-25 Kenichi Handa <handa@m17n.org>
2431
2432 * language/misc-lang.el ("Arabic"): New language environment.
2433 Setup composition-function-table for Arabic characters.
2434
2435 * international/fontset.el (setup-default-fontset): Fix typo for
2436 arabic OTF spec (fini->fina).
2437
2438 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
2439
2440 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
2441 on all frames.
2442
2443 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2444
2445 * whitespace.el: Allow cleaning up blanks without blank
2446 visualization (Bug#6651). Adjust help window for
2447 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2448 instead of whitespace-line-column (from EmacsWiki). New version
2449 13.1.
2450 (whitespace-style): Added new value 'face. Adjust docstring.
2451 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
2452 foreground property face.
2453 (whitespace-line-column): Adjust docstring and type declaration.
2454 (whitespace-style-value-list, whitespace-toggle-option-alist)
2455 (whitespace-help-text): Adjust const initialization.
2456 (whitespace-toggle-options, global-whitespace-toggle-options):
2457 Adjust docstring.
2458 (whitespace-display-window, whitespace-interactive-char)
2459 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2460 (whitespace-help-scroll): New fun.
2461
2462 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2463
2464 * emacs-lisp/package.el (list-packages): Alias for
2465 package-list-packages.
2466
2467 2010-08-24 Kevin Ryde <user42@zip.com.au>
2468
2469 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
2470 (Bug#5651).
2471
2472 * progmodes/ruby-mode.el (ruby): Add defgroup.
2473
2474 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2475
2476 * progmodes/python.el: Add Ipython support (Bug#5390).
2477 (python-shell-prompt-alist)
2478 (python-shell-continuation-prompt-alist): New options.
2479 (python--set-prompt-regexp): New function.
2480 (inferior-python-mode, run-python, python-shell): Require
2481 ansi-color. Use python--set-prompt-regexp to set the comint
2482 prompt based on the Python interpreter.
2483 (python--prompt-regexp): New var.
2484 (python-check-comint-prompt)
2485 (python-comint-output-filter-function): Use it.
2486 (run-python): Use a pipe (Bug#5694).
2487
2488 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
2489
2490 * progmodes/python.el (python-send-region): Send a different
2491 Python command if Ipython is in use.
2492 (python-check-version): Use a Python command to find the version.
2493
2494 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2495
2496 * mouse.el (mouse-yank-primary): Avoid setting primary when
2497 deactivating the mark (Bug#6872).
2498
2499 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
2500
2501 * progmodes/python.el (python-block-pairs): Allow use of "finally"
2502 with "else" (Bug#3991).
2503
2504 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
2505
2506 * net/dbus.el: Accept UNIX domain sockets as bus address.
2507 (top): Don't initialize `dbus-registered-objects-table' anymore,
2508 this is done in dbusbind,c.
2509 (dbus-check-event): Adapt test for bus.
2510 (dbus-return-values-table, dbus-unregister-service)
2511 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
2512 Adapt doc string.
2513
2514 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
2515
2516 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
2517
2518 2010-08-22 Juri Linkov <juri@jurta.org>
2519
2520 * simple.el (read-extended-command): New function with the logic
2521 for `completing-read' moved to Elisp from `execute-extended-command'.
2522 Use `function-called-at-point' in `minibuffer-default-add-function'
2523 to get a command name for M-n (bug#5364, bug#5214).
2524
2525 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2526
2527 * startup.el (command-line-1): Issue warning for ignored arguments
2528 --unibyte, etc (Bug#6886).
2529
2530 2010-08-22 Leo <sdl.web@gmail.com>
2531
2532 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
2533 (ignore, bright, dim, keyword): Split list of nicknames before
2534 passing to rcirc-add-or-remove (Bug#6894).
2535
2536 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2537
2538 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2539
2540 2010-08-22 Leo <sdl.web@gmail.com>
2541
2542 Fix buffer-list rename&refresh after killing a buffer in ido.
2543 * ido.el: Revert Óscar's.
2544 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
2545 Remember the buffers at head, rather than their name.
2546 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
2547
2548 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
2549 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
2552 extra backslash added to each line (bug#6890).
2553
2554 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * subr.el (read-key): Don't echo keystrokes (bug#6883).
2557
2558 2010-08-22 Glenn Morris <rgm@gnu.org>
2559
2560 * menu-bar.el (menu-bar-games-menu): Add landmark.
2561
2562 2010-08-22 Glenn Morris <rgm@gnu.org>
2563
2564 * align.el (align-regexp): Make group and spacing arguments
2565 use the interactive defaults when non-interactive. (Bug#6698)
2566
2567 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
2568 expansion, so as not to need sendmail.
2569 (mail-text-start): Remove declaration.
2570 (rmail-retry-failure): Require sendmail.
2571
2572 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2573
2574 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2575
2576 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
2577
2578 * progmodes/flymake.el (flymake-start-syntax-check-process):
2579 Use `start-file-process' in order to let it run also on remote hosts.
2580
2581 2010-08-22 Kenichi Handa <handa@m17n.org>
2582
2583 * files.el: Add `word-wrap' as safe local variable.
2584
2585 2010-08-22 Glenn Morris <rgm@gnu.org>
2586
2587 * woman.el (woman-translate): Case matters. (Bug#6849)
2588
2589 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2590
2591 * simple.el (kill-region): Doc fix (Bug#6787).
2592
2593 2010-08-22 Glenn Morris <rgm@gnu.org>
2594
2595 * calendar/diary-lib.el (diary-header-line-format):
2596 Fit it to the window, not the frame.
2597
2598 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
2599
2600 * subr.el (ignore-errors): Add debug declaration.
2601
2602 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
2603
2604 * whitespace.el (whitespace-color-off): Remove post-command-hook
2605 locally.
2606
2607 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2610
2611 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2612
2613 * cus-edit.el (custom-group-value-create): Add extra newline
2614 before end line (Bug#6876).
2615
2616 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2617
2618 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2619 when extending it. Before killing on the second click, check if
2620 the buffer is the correct one. Doc fix.
2621 (mouse-secondary-save-then-kill): Allow usage without first
2622 calling mouse-start-secondary, by defaulting to point. Don't save
2623 an empty secondary selection. Doc fix.
2624
2625 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2626
2627 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
2628 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2629 New version 13.0.
2630 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2631 Adjust initialization.
2632 (whitespace-bob-marker, whitespace-eob-marker)
2633 (whitespace-buffer-changed): New vars.
2634 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2635 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2636 (whitespace-post-command-hook, whitespace-display-char-on):
2637 Adjust code.
2638 (whitespace-looking-back, whitespace-buffer-changed): New funs.
2639 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2640
2641 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * files.el (locate-file-completion-table): Only list the .el and .elc
2644 extensions if there's no other choice (bug#5955).
2645
2646 * facemenu.el (facemenu-self-insert-data): New var.
2647 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2648 New functions.
2649 (facemenu-add-face): Use them.
2650
2651 * simple.el (blink-matching-open): Obey forward-sexp-function.
2652
2653 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2654
2655 * simple.el (prog-mode-map): New var.
2656 (prog-indent-sexp): New command.
2657
2658 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2659
2660 * progmodes/prolog.el (smie): Require.
2661
2662 * emacs-lisp/smie.el (smie-default-backward-token)
2663 (smie-default-forward-token): Strip properties.
2664 (smie-next-sexp): Be more careful with associative operators.
2665 (smie-forward-sexp-command): Generalize.
2666 (smie-backward-sexp-command): Simplify.
2667 (smie-closer-alist): New var.
2668 (smie-close-block): New command.
2669 (smie-indent-debug-log): New var.
2670 (smie-indent-offset-rule): Add a few more cases.
2671 (smie-indent-column): New function.
2672 (smie-indent-after-keyword): Use it.
2673 (smie-indent-keyword): Use it.
2674 Fix up the opener code's point position.
2675 (smie-indent-comment): Only applies at BOL.
2676 (smie-indent-debug): New command.
2677
2678 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2679 declarations that are useful before running the macro.
2680
2681 2010-08-18 Joakim Verona <joakim@verona.se>
2682
2683 * image.el (imagemagick-types-inhibit): New variable.
2684 (imagemagick-register-types): New function.
2685 * image-mode.el (image-transform-properties): New function.
2686 (image-transform-set-scale, image-transform-fit-to-height)
2687 (image-transform-set-rotation, image-transform-set-resize)
2688 (image-transform-fit-to-width, image-transform-fit-to-height):
2689 New functions.
2690 (image-toggle-display-image): Support image transforms.
2691
2692 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
2693
2694 * image.el (create-animated-image): Don't add heuristic mask to image
2695 (Bug#6839).
2696
2697 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
2698
2699 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2700 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2701
2702 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2705
2706 Font-lock '...' strings, plus various simplifications and fixes.
2707 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2708 (octave-font-lock-close-quotes): New function.
2709 (octave-font-lock-syntactic-keywords): New var.
2710 (octave-mode): Use it. Set beginning-of-defun-function.
2711 (octave-mode-map): Don't override the <foo>-defun commands.
2712 (octave-mode-menu): Pass it directly to easy-menu-define;
2713 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2714 (octave-block-match-alist): Fix up last change so that
2715 octave-close-block uses the more specific keyword.
2716 (info-lookup-mode): Silence byte-compiler.
2717 (octave-beginning-of-defun): Not interactive any more.
2718 Optimize slightly.
2719 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2720 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2721 (octave-completion-at-point-function): Make sure point is within
2722 beg..end.
2723 (octave-reindent-then-newline-and-indent):
2724 Use reindent-then-newline-and-indent.
2725 (octave-add-octave-menu): Remove.
2726
2727 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
2728
2729 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2730 (report-emacs-bug-can-use-xdg-email): New functions.
2731 (report-emacs-bug): Set can-xdg-email to result of
2732 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
2733 \C-cm to report-emacs-bug-insert-to-mailer and add help text
2734 about it.
2735
2736 * net/browse-url.el (browse-url-default-browser): Add cond
2737 for browse-url-xdg-open.
2738 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2739
2740 2010-08-17 Glenn Morris <rgm@gnu.org>
2741
2742 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2743 (c-fontify-recorded-types-and-refs): Define for compiler.
2744 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2745 before use.
2746
2747 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2748 Fix format call.
2749
2750 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
2751
2752 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2753 properties.
2754 (tramp-handle-process-file): Call the program in a subshell, in
2755 order to preserve working directory.
2756 (tramp-action-password): Hide password prompt before next run.
2757 (tramp-process-actions): Widen connection buffer for the trace.
2758
2759 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2760
2761 * net/rcirc.el (rcirc-log-process-buffers): New option.
2762 (rcirc-print): Use it.
2763 (rcirc-generate-log-filename): New function.
2764 (rcirc-log-filename-function): Change default to
2765 rcirc-generate-log-filename (Bug#6828).
2766
2767 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
2768
2769 * simple.el (deactivate-mark): If select-active-regions is `only',
2770 only set selection for temporarily active regions.
2771
2772 * cus-start.el: Change defcustom for select-active-regions.
2773
2774 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2775
2776 * mouse.el (mouse--drag-set-mark-and-point): New function.
2777 (mouse-drag-track): Use LOCATION arg to push-mark.
2778 Use mouse--drag-set-mark-and-point to take click-count into
2779 consideration when updating point and mark (Bug#6840).
2780
2781 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2782
2783 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2784 Give the Ruby rule a lower priority than Gnu (Bug#6778).
2785
2786 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
2787
2788 * font-lock.el (lisp-font-lock-keywords-2):
2789 Add combine-after-change-calls, condition-case-no-debug,
2790 with-demoted-errors, and with-silent-modifications (Bug#6025).
2791
2792 2010-08-14 Kevin Ryde <user42@zip.com.au>
2793
2794 * emacs-lisp/copyright.el (copyright-update-year)
2795 (copyright-update): Temporary switch-to-buffer to ensure the
2796 buffer change being queried is visible (Bug#5394).
2797
2798 2010-08-14 Tom Tromey <tromey@redhat.com>
2799
2800 * progmodes/etags.el (tags-file-name): Mark safe if stringp
2801 (Bug#6733).
2802
2803 2010-08-14 Eli Zaretskii <eliz@gnu.org>
2804
2805 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
2806 MS-DOS. (Bug#6689)
2807
2808 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
2809
2810 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
2811 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2812 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2813 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
2814 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
2815 Call menu-bar-set-tool-bar-position.
2816
2817 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
2820 comment style (bug#6834).
2821 * progmodes/scheme.el (scheme-mode-syntax-table):
2822 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
2823 "b" flag in "' 14b" syntax.
2824
2825 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
2826 for (un)commenting the region and performing completion.
2827 (octave-mode-menu): Use standard commands for help and completion.
2828 (octave-mode-syntax-table): Support %{..%} comments (sort of).
2829 (octave-mode): Use define-derived-mode.
2830 Set completion-at-point-functions and don't set columns.
2831 Don't disable adaptive-fill-regexp.
2832 (octave-describe-major-mode, octave-comment-region)
2833 (octave-uncomment-region, octave-comment-indent)
2834 (octave-indent-for-comment): Remove.
2835 (octave-indent-calculate): Rename from calculate-octave-indent.
2836 (octave-indent-line, octave-fill-paragraph): Update caller.
2837 (octave-initialize-completions): No need to make an alist.
2838 (octave-completion-at-point-function): New function.
2839 (octave-complete-symbol): Use it.
2840 (octave-insert-defun): Use define-skeleton.
2841
2842 * progmodes/octave-mod.el (octave-mode): Set comment-add.
2843 (octave-mode-map): Use comment-dwim (bug#6829).
2844
2845 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
2846
2847 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
2848 indentation of inserted comment.
2849
2850 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
2851
2852 * faces.el (region): Add type gtk that uses gtk colors.
2853
2854 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2855 Handle theme-name change.
2856
2857 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
2858
2859 * progmodes/sql.el: Version 2.5
2860 (sql-product-alist): Add :prompt-cont-regexp property for several
2861 database products.
2862 (sql-prompt-cont-regexp): New variable.
2863 (sql-output-newline-count, sql-output-by-send):
2864 New variables. Record number of newlines in input text.
2865 (sql-send-string): Handle multiple filters and count newlines.
2866 (sql-send-magic-terminator): Count terminator newline.
2867 (sql-interactive-remove-continuation-prompt): Filters output to
2868 remove continuation prompts; one for each newline.
2869 (sql-interactive-mode): Set up new variables, prompt regexp and
2870 output filter.
2871 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
2872 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
2873
2874 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * emacs-lisp/pcase.el: New file.
2877
2878 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
2879
2880 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
2881 as here-document, otherwise the command could exceed maximum
2882 length of command line.
2883 (tramp-handle-vc-registered): Call script accordingly.
2884 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2885
2886 2010-08-10 Kenichi Handa <handa@m17n.org>
2887
2888 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
2889 composable pattern.
2890
2891 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
2892
2893 * emacs-lisp/package.el (package-version-split)
2894 (package--version-first-nonzero, package-version-compare):
2895 Functions removed.
2896 (package-directory-list, package-load-all-descriptors)
2897 (package--built-in, package-activate, define-package)
2898 (package-installed-p, package-compute-transaction)
2899 (package-read-all-archive-contents)
2900 (package--add-to-archive-contents, package-buffer-info)
2901 (package-tar-file-info, package-list-packages-internal):
2902 Use version-to-list and version-list-*.
2903
2904 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2905 Use version-to-list.
2906 (package-upload-buffer-internal): Use version-list-<=.
2907
2908 2010-08-09 Kenichi Handa <handa@m17n.org>
2909
2910 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
2911 composable pattern.
2912
2913 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
2914
2915 * tutorial.el (tutorial--default-keys): C-d is now bound to
2916 delete-forward-char (Bug#6826).
2917
2918 * mouse.el (mouse-drag-track): Remove accidentally-removed check
2919 for `double' value of mouse-1-click-follows-link (Bug#6807).
2920
2921 2010-08-08 Johan Bockgård <bojohan@gnu.org>
2922
2923 * replace.el (replace-highlight): Bind isearch-forward and
2924 isearch-error, ensuring that highlighting is updated if the user
2925 switches the search direction (Bug#6808).
2926
2927 * isearch.el (isearch-lazy-highlight-forward): New var.
2928 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2929 (isearch-lazy-highlight-update): Use it.
2930
2931 2010-08-08 Kenichi Handa <handa@m17n.org>
2932
2933 * international/mule.el (define-charset): Store NAME as :base property.
2934 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
2935 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
2936 current priority. Force using the designation of the specific
2937 charset by adding `charset' text property. Improve the whole algorithm.
2938
2939 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2940
2941 * emulation/pc-select.el (pc-selection-mode-hook)
2942 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
2943 (pc-selection-mode): Fix typos in docstrings.
2944
2945 2010-08-08 Kenichi Handa <handa@m17n.org>
2946
2947 * language/cyrillic.el: Don't add "microsoft-cp1251" to
2948 ctext-non-standard-encodings-alist here.
2949
2950 * international/mule.el (ctext-non-standard-encodings-alist):
2951 Add "koi8-r" and "microsoft-cp1251".
2952 (ctext-standard-encodings): New variable.
2953 (ctext-non-standard-encodings-table): List only elements for
2954 non-standard encodings.
2955 (ctext-pre-write-conversion): Adjust for the above change.
2956 Check ctext-standard-encodings.
2957
2958 * international/mule-conf.el (compound-text): Doc fix.
2959 (ctext-no-compositions): Doc fix.
2960 (compound-text-with-extensions): Doc fix.
2961
2962 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2965
2966 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2967
2968 * progmodes/which-func.el (which-func-format): Split help-echo text
2969 into lines, like other mode-line tooltips.
2970
2971 * server.el (server-start): When using TCP sockets, force IPv4
2972 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
2973
2974 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
2977
2978 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2979
2980 * term.el (term-delimiter-argument-list): Reflow docstring.
2981 (term-read-input-ring, term-write-input-ring, term-send-input)
2982 (term-bol, term-erase-in-display, serial-supported-or-barf):
2983 Fix typos in docstrings.
2984
2985 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
2988
2989 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2990
2991 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
2992
2993 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
2994
2995 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
2996 Fix typo in docstring (bug#6747).
2997
2998 2010-08-08 Leo <sdl.web@gmail.com>
2999
3000 * eshell/esh-io.el (eshell-get-target): Better detection of
3001 read-only file (Bug#6762).
3002
3003 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3004
3005 * align.el (align-default-spacing): Doc fix.
3006 (align-region-heuristic, align-regexp): Fix typos in docstrings.
3007
3008 2010-08-08 Stephen Peters <speters@itasoftware.com>
3009
3010 * calendar/icalendar.el
3011 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
3012 (icalendar--get-weekday-numbers): New.
3013 (icalendar--convert-recurring-to-diary): Handle multiple byday
3014 values in weekly rules. (Bug#6766)
3015
3016 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
3017
3018 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
3019 (icalendar--create-uid, icalendar-export-region)
3020 (icalendar--parse-summary-and-rest): Code formatting.
3021
3022 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3023
3024 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
3025 to italicize headers.
3026 (calc-highlight-selections-with-faces): New variable.
3027 (calc-selected-face, calc-nonselected-face): New faces.
3028
3029 * calc/calccomp.el (math-comp-highlight-string): Use
3030 `calc-highlight-selections-with-faces' to determine how to highlight
3031 sub-formulas.
3032
3033 * calc/calc-sel.el (calc-show-selections): Change message to when
3034 using faces to highlight selections.
3035
3036 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
3037
3038 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
3039 Add SQLite 3 keywords, functions and datatypes.
3040 (sql-interactive-mode): Remove `comint-process-echoes' set to t
3041 (Bug#6686).
3042
3043 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
3044
3045 * simple.el (select-active-regions): Move to keyboard.c.
3046 (deactivate-mark): Used saved-region-selection.
3047 (select-active-region): Function removed.
3048 (activate-mark, set-mark, push-mark-command)
3049 (handle-shift-selection): Don't call it.
3050 (keyboard-quit): Avoid adding the region to the window selection.
3051
3052 * mouse.el (mouse-drag-track): Remove hacks to deal with old
3053 select-active-regions implementation.
3054 (mouse-yank-at-click): Doc fix.
3055
3056 * cus-start.el: Add custom declaration for select-active-regions.
3057
3058 2010-08-07 Eli Zaretskii <eliz@gnu.org>
3059
3060 * simple.el (delete-forward-char): Doc fix.
3061
3062 * tutorial.el (help-with-tutorial): Hack safe file-local variables
3063 after reading the tutorial.
3064
3065 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
3066
3067 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
3068 for the case that a C style comment has its delimiters alone on
3069 their respective lines.
3070
3071 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
3072
3073 * net/tramp.el (tramp-handle-start-file-process): Set connection
3074 property "vec".
3075 (tramp-process-sentinel): Use it for flushing the cache. We
3076 cannot do it via the process buffer, the buffer could be deleted
3077 already when running the sentinel.
3078
3079 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3080
3081 * comint.el (comint-mode): Make directory tracking functions
3082 functional on remote files. (Bug#6764)
3083
3084 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
3085
3086 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
3087
3088 2010-08-05 Eli Zaretskii <eliz@gnu.org>
3089
3090 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
3091 unexec.c => unexcoff.c.
3092
3093 * emacs-lisp/authors.el (authors-fixed-entries): Rename
3094 unexec.c => unexcoff.c.
3095
3096 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
3097
3098 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
3099 cache, not only file cache.
3100 (tramp-process-sentinel): New defun.
3101 (tramp-handle-start-file-process): Use it, in order to invalidate
3102 file caches.
3103
3104 2010-08-03 Leo <sdl.web@gmail.com>
3105
3106 * server.el (server-start): Simplify loop.
3107
3108 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * frame.el (screen-height, screen-width, set-screen-width)
3111 (set-screen-height): Remove ancient compatibility aliases.
3112
3113 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
3114 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
3115
3116 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
3117 that change current buffer.
3118
3119 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3120
3121 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
3122 beginning of the string. Use `string-match-p'. (Bug#6765)
3123
3124 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
3125
3126 * cus-start.el (x-gtk-use-system-tooltips): New variable.
3127
3128 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
3129
3130 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
3131 (package--builtins): Tweak descriptions.
3132 (package-print-package): Upcase descriptions if necessary.
3133 Show all built-in packages in font-lock-builtin-face.
3134 (package-list-packages-internal): Omit "emacs" package.
3135 Show status of built-in packages as "built-in".
3136
3137 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
3138
3139 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
3140 before killing to preserve the primary selection (Bug#6701).
3141
3142 * term/x-win.el (x-select-text): Doc fix.
3143
3144 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
3145
3146 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
3147 The following functions were modified or created:
3148
3149 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
3150 (objc-font-lock-extra-types):
3151 * progmodes/cc-mode.el (c-basic-common-init):
3152 * progmodes/cc-langs.el (c-make-mode-syntax-table)
3153 (c++-make-template-syntax-table)
3154 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
3155 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
3156 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
3157 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
3158 * progmodes/cc-fonts.el (c-make-inverse-face)
3159 (c-basic-matchers-after):
3160 * progmodes/cc-engine.el (c-forward-keyword-clause)
3161 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
3162 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
3163 (c-guess-continued-construct, c-guess-basic-syntax):
3164
3165 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
3166
3167 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
3168
3169 2010-07-31 Eli Zaretskii <eliz@gnu.org>
3170
3171 * files.el (bidi-paragraph-direction): Define safe local values.
3172
3173 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
3174 language-info-alist. Remove outdated FIXME in a comment.
3175
3176 2010-07-31 Alan Mackenzie <acm@muc.de>
3177
3178 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
3179 Auto-fill broken in C/C++ modes.
3180
3181 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
3182
3183 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3184 (menu-bar-showhide-tool-bar-menu-customize-disable)
3185 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3186 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
3187 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
3188 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
3189 make a menu for Options => toolbar that can move it.
3190
3191 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
3192
3193 * emacs-lisp/package-x.el (package--make-rss-entry):
3194 (package-maint-add-news-item, package--update-news)
3195 (package-upload-buffer-internal): New arg ARCHIVE-URL.
3196
3197 * emacs-lisp/package.el (package-archive-url): Rename from
3198 package-archive-id.
3199 (package-install): Doc fix.
3200 (package-download-single, package-download-tar, package-install)
3201 (package-menu-view-commentary): Callers changed.
3202
3203 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
3204
3205 * net/tramp.el (tramp-handle-start-file-process): Check only for
3206 `remote-tty' process property.
3207 (tramp-open-shell): Don't check for tty.
3208 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3209 process property.
3210
3211 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
3212 host.
3213
3214 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
3215
3216 * emacs-lisp/package.el (package-load-list, package-archives)
3217 (package-archive-contents, package-user-dir)
3218 (package-directory-list, package--builtins, package-alist)
3219 (package-activated-list, package-obsolete-alist): Mark as risky.
3220
3221 2010-07-28 Phil Hagelberg <phil@evri.com>
3222
3223 Add support for non-default package repositories.
3224 * emacs-lisp/package.el (package-archive-base): Var deleted.
3225 (package-archives): New variable.
3226 (package-archive-contents): Doc fix.
3227 (package-load-descriptor): Do nothing if descriptor file is missing.
3228 (package--write-file-no-coding): New function.
3229 (package-unpack-single): Use it.
3230 (package-archive-id): New function.
3231 (package-download-single, package-download-tar)
3232 (package-menu-view-commentary): Use it.
3233 (package-installed-p): Make second argument optional.
3234 (package-read-all-archive-contents): New function.
3235 (package-initialize): Use it.
3236 (package-read-archive-contents): Add ARCHIVE argument.
3237 (package--add-to-archive-contents): New function.
3238 (package-install): Don't call package-read-archive-contents.
3239 (package--download-one-archive): Store archive file in a
3240 subdirectory of package-user-dir.
3241 (package-menu-execute): Remove spurious line movement.
3242
3243 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
3244
3245 * cus-start.el (tool-bar-style): Add text-image-horiz.
3246
3247 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * progmodes/gud.el (gud-common-init): Check for remoteness of
3250 `file', and not of `default-directory'.
3251
3252 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3253
3254 * net/tramp.el (tramp-methods): Move hostname to the end in all
3255 ssh `tramp-login-args'.
3256 (tramp-verbose): Describe verbose level 9.
3257 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
3258 (tramp-open-connection-setup-interactive-shell): Trace stty
3259 settings if `tramp-verbose' >= 9.
3260 (tramp-handle-start-file-process): Implement tty setting.
3261 (Bug#4604, Bug#6360)
3262
3263 * net/tramp-cmds.el (tramp-bug): Recommend setting of
3264 `tramp-verbose' to 9.
3265
3266 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
3267
3268 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
3269 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
3270 Remove references to package `lisp-re' (bug#4369).
3271
3272 2010-07-27 Tom Tromey <tromey@redhat.com>
3273
3274 * progmodes/js.el (js-mode):
3275 * progmodes/make-mode.el (makefile-mode):
3276 * progmodes/simula.el (simula-mode):
3277 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
3278
3279 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
3280
3281 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
3282
3283 * time.el (display-time-day-and-date): Remove spurious * in docstring.
3284 (display-time-world-buffer-name, display-time-world-mode-map):
3285 Fix typos in docstrings.
3286
3287 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
3288
3289 * image-mode.el (image-display-size): New function.
3290 (image-forward-hscroll, image-next-line, image-eol, image-eob)
3291 (image-mode-fit-frame): Use it (Bug#6639).
3292
3293 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
3294
3295 * dired.el (dired-buffers-for-dir): Handle list values of
3296 dired-directory (Bug#6636).
3297
3298 2010-07-26 Sam Steingold <sds@gnu.org>
3299
3300 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3301 Do not call `x-get-selection' the second time, reuse the value.
3302
3303 2010-07-26 Daiki Ueno <ueno@unixuser.org>
3304
3305 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
3306 which consist of control chars only. Suggested by Richard Stallman.
3307
3308 2010-07-25 Daiki Ueno <ueno@unixuser.org>
3309
3310 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
3311 exists before passing an error to find-file-not-found-functions
3312 (bug#6723).
3313
3314 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
3315
3316 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
3317 Remove leading nil element, adjust values.
3318 (tetris-shapes, tetris-shape-scores):
3319 Change representation of shapes and remove some redundancy.
3320 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
3321 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
3322 Adjust for working with new representation of shapes.
3323 (tetris-shape-rotations): New function.
3324 (tetris-move-bottom, tetris-move-left, tetris-move-right)
3325 (tetris-rotate-prev, tetris-rotate-next):
3326 Adjust for working with the new version of tetris-test-shape.
3327
3328 2010-07-23 Markus Triska <markus.triska@gmx.at>
3329
3330 * progmodes/ps-mode.el: Use comint (bug#5954).
3331 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
3332 (ps-mode-other-newline): Simplify.
3333 (ps-run-mode): Derive from comint-mode instead of
3334 fundamental-mode, yielding input history etc.
3335 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
3336 (ps-run-send-string): Adapt for comint-mode.
3337 (ps-run-newline): Remove now unneeded function.
3338
3339 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3340
3341 * net/tramp.el (tramp-methods): Move hostname to the end in all
3342 plink `tramp-login-args'.
3343
3344 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3345
3346 * net/tramp.el (tramp-open-shell): New defun.
3347 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3348 Use it.
3349
3350 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3351
3352 * net/tramp.el (tramp-file-name-regexp-unified)
3353 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3354 not regard the volume letter as remote filename. (Bug#5447)
3355
3356 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
3357
3358 * custom.el (custom-declare-variable): Give a clearer error message
3359 when the docstring is missing (bug#6476).
3360
3361 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
3362
3363 * progmodes/sql.el: Version 2.4. Improved Login prompting.
3364 (sql-login-params): New widget definition.
3365 (sql-oracle-login-params, sql-mysql-login-params)
3366 (sql-solid-login-params, sql-sybase-login-params)
3367 (sql-informix-login-params, sql-ingres-login-params)
3368 (sql-ms-login-params, sql-postgres-login-params)
3369 (sql-interbase-login-params, sql-db2-login-params)
3370 (sql-linter-login-params): Use it.
3371 (sql-sqlite-login-params): Use it; Define "database" parameter as
3372 a file name.
3373 (sql-sqlite-program): Change to "sqlite3".
3374 (sql-comint-sqlite): Make sure database name is complete.
3375 (sql-for-each-login): New function.
3376 (sql-connect, sql-save-connection): Use it.
3377 (sql-get-login-ext): New function.
3378 (sql-get-login): Use it.
3379 (sql-make-alternate-buffer-name): Handle :file parameters.
3380
3381 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
3382
3383 * dired.el (dired-no-confirm): Document value t and fix defcustom to
3384 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
3385
3386 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
3387
3388 * dired.el (dired-mode-map): Use command remapping (bug#6632).
3389
3390 2010-07-22 Lawrence Mitchell <wence@gmx.li>
3391
3392 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
3393
3394 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
3395
3396 * net/tramp.el (tramp-get-ls-command)
3397 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
3398 instead of "/".
3399
3400 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
3401
3402 * progmodes/sql.el: Version 2.3.
3403 (sql-connection-alist): Changed keys from symbols to strings;
3404 enhanced the widget definition.
3405 (sql-mode-menu): Added submenu to select connections.
3406 (sql-interactive-mode-menu): Added "Save Connection" item.
3407 (sql-add-product): Fixed menu item.
3408 (sql-get-product-feature): Improved error handling.
3409 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
3410 (sql-make-alternate-buffer-name): Simplified.
3411 (sql-product-interactive): Handle missing product.
3412 (sql-connect): Support string keys, minor improvements.
3413 (sql-save-connection): New function.
3414 (sql-connection-menu-filter): New function.
3415
3416 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3417
3418 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
3419 (tramp-open-connection-setup-interactive-shell): Apply
3420 workaround for IRIX64 bug. Move argument of last
3421 `tramp-send-command' where it belongs to.
3422
3423 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3424
3425 * net/tramp.el (tramp-perl-file-attributes)
3426 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3427 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3428 front of `login-args'.
3429
3430 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
3431
3432 * time.el (display-time-world-mode): Define with `define-derived-mode'.
3433 Set `show-trailing-whitespace' to nil.
3434 (display-time-world-display): Simplify.
3435
3436 2010-07-18 Alan Mackenzie <acm@muc.de>
3437
3438 Enhance `c-file-style' in file/directory local variables.
3439 * progmodes/cc-mode.el (c-count-cfss): New function.
3440 (c-before-hack-hook): Call `c-set-style' differently according to
3441 whether c-file-style was set in file or directory local
3442 variables.
3443
3444 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
3445
3446 * progmodes/sql.el: Version 2.2.
3447 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
3448 defcustom :safe keyword rather than putting safe-local-variable
3449 property.
3450 (sql-password): Use defcustom :risky keyword rather than putting
3451 risky-local-variable property.
3452 (sql-oracle-login-params, sql-sqlite-login-params)
3453 (sql-solid-login-params, sql-sybase-login-params)
3454 (sql-informix-login-params, sql-ingres-login-params)
3455 (sql-ms-login-params, sql-postgres-login-params)
3456 (sql-interbase-login-params, sql-db2-login-params)
3457 (sql-linter-login-params): Add `port' option.
3458 (sql-get-product-feature): Added NO-INDIRECT parameter.
3459 (sql-comint-oracle, sql-comint-sybase)
3460 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
3461 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
3462 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
3463 (sql-comint-linter): Renamed sql-connect-* functions to
3464 sql-comint-*.
3465 (sql-product-alist, sql-mode-menu): Renamed as above and
3466 :sqli-connect-func to :sqli-comint-func.
3467 (sql-connection): New variable.
3468 (sql-interactive-mode): Set it.
3469 (sql-connection-alist): New variable.
3470 (sql-connect): New function.
3471 (sql--alt-buffer-part, sql--alt-if-not-empty)
3472 (sql-make-alternate-buffer-name): Improved alternative buffer name.
3473
3474 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3475
3476 * image-mode.el (image-bookmark-make-record): Do not set context
3477 in an image (Bug#6650).
3478
3479 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
3480
3481 * simple.el (select-active-region): New function.
3482 (push-mark-command, set-mark, activate-mark)
3483 (handle-shift-selection): Use it.
3484 (deactivate-mark): Don't check for size of region.
3485
3486 * mouse.el (mouse-drag-track): Use select-active-region.
3487
3488 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
3489
3490 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
3491 "--dired" stronger.
3492
3493 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
3494
3495 * term/x-win.el (x-select-enable-primary): Change default to nil.
3496 (x-select-enable-clipboard): Add :version keyword.
3497
3498 * mouse.el (mouse-drag-copy-region):
3499 * simple.el (select-active-regions): Likewise.
3500
3501 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
3502
3503 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
3504 (vc-coding-system-for-diff): Use it to decide whether to inherit
3505 from the file the EOL format for reading the diffs of that file.
3506 (Bug#4451)
3507
3508 2010-07-16 Eli Zaretskii <eliz@gnu.org>
3509
3510 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
3511 unibyte, so compressed attachments are not compressed again.
3512
3513 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
3514
3515 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
3516 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
3517 (tramp-find-shell): Simplify setting connection property.
3518 (tramp-get-ls-command): Make test for "--color=never" stronger.
3519
3520 2010-07-15 Simon South <ssouth@member.fsf.org>
3521
3522 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
3523 blocks within record declarations (i.e. variant parts) correctly.
3524
3525 2010-07-15 Simon South <ssouth@member.fsf.org>
3526
3527 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
3528 over literal tokens when parsing so newlines aren't "absorbed" by
3529 single-line comments. Corrects the indentation of case blocks
3530 that have a comment on the first line.
3531
3532 2010-07-14 Karl Fogel <kfogel@red-bean.com>
3533
3534 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
3535 by Drew Adams (Bug#5504).
3536
3537 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
3538
3539 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
3540 now that Unicode is used (Bug#6594).
3541
3542 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
3543
3544 * term/x-win.el (x-select-enable-clipboard): Default to t.
3545 (x-initialize-window-system): Don't overwrite Paste menu item.
3546
3547 * simple.el (select-active-regions): Default to t.
3548 (push-mark-command): Don't overwrite primary with empty string.
3549
3550 * mouse.el: Bind mouse-2 to mouse-yank-primary.
3551 (mouse-drag-copy-region): Default to nil.
3552
3553 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
3554 Cut/Copy/Paste menu bar items.
3555
3556 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3557
3558 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
3559 Patch applied by Karl Fogel.
3560
3561 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
3562 and `bookmark-current-buffer' if they have been already set in
3563 another buffer (e.g gnus-art).
3564
3565 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3566 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3567
3568 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3569
3570 * bookmark.el (bookmark-make-record-default): Allow unneeded
3571 information to be omitted from the record.
3572
3573 Adjust declarations and calls:
3574
3575 * info.el (bookmark-make-record-default): Adjust declaration.
3576 (Info-bookmark-make-record): Adjust call.
3577
3578 * woman.el (bookmark-make-record-default): Adjust declaration.
3579 (woman-bookmark-make-record): Adjust call.
3580
3581 * man.el (bookmark-make-record-default): Adjust declaration.
3582 (Man-bookmark-make-record): Adjust call.
3583
3584 * image-mode.el (bookmark-make-record-default): Adjust declaration.
3585
3586 * doc-view.el (bookmark-make-record-default): Adjust declaration.
3587
3588 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3589
3590 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3591 This is also from Thierry Volpiatto's patch in bug #6444. However,
3592 because it was extraneous to the functional change in that patch,
3593 and causes a re-indendation, I am committing it separately.
3594
3595 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3596
3597 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3598 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3599 Patch applied by Karl Fogel (Bug#6444).
3600
3601 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
3602
3603 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3604
3605 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
3606
3607 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3608 Dempsky; bug#5084). Remove incorrect binding for S-tab.
3609 (ns-alternatives-map): Change S-tab binding to backtab
3610 (bug#6616).
3611
3612 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3613 under ns.
3614
3615 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
3616
3617 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3618 (Bug#5806)
3619
3620 * language/tv-util.el (tai-viet-re): Remove format.
3621
3622 2010-07-12 Kenichi Handa <handa@m17n.org>
3623
3624 * language/hebrew.el: Remove no-byte-compile declaration.
3625 Change coding: tag to utf-8. Register hebrew-shape-gstring in
3626 composition-function-table for 3-character looking back.
3627 (hebrew-font-get-precomposed): New function.
3628 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3629
3630 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
3631
3632 * mouse.el (mouse-drag-track): Handle select-active-regions
3633 (Bug#6612).
3634
3635 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
3636
3637 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3638 empty argument to gvfs-copy.
3639
3640 2010-07-10 Glenn Morris <rgm@gnu.org>
3641
3642 * calendar/calendar.el (calendar-week-end-day): New function.
3643 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3644 Respect calendar-week-start-day. (Bug#6606)
3645 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3646 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3647 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3648 respect calendar-week-start-day.
3649
3650 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
3651
3652 * simple.el (use-region-p): Doc fix (Bug#6607).
3653
3654 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
3655
3656 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3657 regexps for cucumber and ruby.
3658
3659 2010-07-08 Daiki Ueno <ueno@unixuser.org>
3660
3661 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3662 (epa-file-insert-file-contents): Hack to prevent
3663 find-file from opening empty buffer when decryption failed
3664 (bug#6568).
3665
3666 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
3667
3668 * textmodes/ispell.el (ispell-alternate-dictionary):
3669 Use file-readable-p.
3670 Return nil if no word-list is found at default locations.
3671 (ispell-complete-word-dict): Default to nil.
3672 (ispell-command-loop): Use 'word-list' when using lookup-words.
3673 (lookup-words): Use ispell-complete-word-dict or
3674 ispell-alternate-dictionary. Check for word-list availability
3675 and handle errors if needed with better messages (Bug#6539).
3676 (ispell-complete-word): Use ispell-complete-word-dict or
3677 ispell-alternate-dictionary.
3678
3679 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
3680
3681 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3682 builtins (BufferError, BytesWarning, WindowsError; callables
3683 bin, bytearray, bytes, format, memoryview, next, print; __package__).
3684
3685 2010-07-07 Glenn Morris <rgm@gnu.org>
3686
3687 * play/zone.el (top-level): Do not require timer, tabify, or cl.
3688 (zone-shift-left): Ignore intangibility, and any errors from
3689 forward-char.
3690 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
3691 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3692 deleting, and copying text properties.
3693 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3694 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3695 to point-max is hard.
3696 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3697 (zone-fill-out-screen): Ignore intangibility.
3698
3699 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
3700
3701 * menu-bar.el (menu-bar-mode):
3702 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3703 if it has been set.
3704
3705 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3706 word/line selection (Bug#6565).
3707
3708 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
3709
3710 * net/dbus.el (dbus-send-signal): Declare function.
3711
3712 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
3713
3714 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3715 (dbus-register-property): New optional argument EMITS-SIGNAL.
3716 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3717
3718 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
3719
3720 * mouse.el (mouse-drag-overlay): Variable deleted.
3721 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3722 (mouse--remap-link-click-p): New function.
3723 (mouse-drag-track): Handle dragging by using temporary Transient
3724 Mark mode, instead of a special overlay.
3725 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3726 mouse-show-mark.
3727
3728 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3729 deleted.
3730
3731 2010-07-02 Juri Linkov <juri@jurta.org>
3732
3733 * autoinsert.el (auto-insert-alist): Fix readability
3734 by using dotted pair notation for lambda.
3735
3736 2010-07-02 Juri Linkov <juri@jurta.org>
3737
3738 * faces.el (read-face-name): Rename arg `string-describing-default'
3739 to `default'. Doc fix. Display the default value in quotes
3740 in the prompt. With empty input, return the `default' arg,
3741 unless the default value is a string (in which case return nil).
3742 (describe-face): Replace the string `default' arg of `read-face-name'
3743 with the symbol `default'.
3744
3745 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
3746
3747 * emulation/viper-cmd.el (viper-delete-backward-char)
3748 (viper-del-backward-char-in-insert)
3749 (viper-del-backward-char-in-replace, viper-change)
3750 (viper-backward-indent): Replace delete-backward-char with
3751 delete-char (Bug#6552).
3752
3753 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
3754
3755 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3756
3757 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3758
3759 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3760 argument passed to frame-creation-function (Bug#5378).
3761
3762 * faces.el (x-handle-named-frame-geometry)
3763 (x-handle-reverse-video, x-create-frame-with-faces)
3764 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3765 separately consult default-frame-alist. It is now passed as the
3766 PARAMETER argument.
3767
3768 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
3769
3770 * startup.el (command-line): Don't call tool-bar-setup in a
3771 tty-only build.
3772
3773 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3774
3775 * ruler-mode.el (ruler--save-header-line-format): New fun.
3776 (ruler-mode): Use it as a setter function, so as not to overwrite
3777 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3778
3779 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
3780
3781 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
3782 (vc-root-diff, vc-print-root-log, vc-log-incoming)
3783 (vc-log-outgoing): Use it.
3784 (vc-diff-internal): Set diff-vc-backend.
3785
3786 * vc/diff-mode.el (diff-vc-backend): New var.
3787
3788 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
3789
3790 * dynamic-setting.el (font-setting-change-default-font): Remove
3791 call to message.
3792
3793 2010-06-28 Kenichi Handa <handa@m17n.org>
3794
3795 * international/quail.el (quail-insert-kbd-layout): Fix the
3796 showing of untranslated characters.
3797
3798 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
3799
3800 * simple.el (delete-active-region): New option.
3801 (delete-backward-char): Implement in Lisp.
3802 (delete-forward-char): New command.
3803
3804 * mouse.el (mouse-region-delete-keys): Deleted.
3805 (mouse-show-mark): Simplify.
3806
3807 * bindings.el (global-map): Bind delete and DEL, the former to
3808 delete-forward-char.
3809
3810 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
3811
3812 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
3813 (ruby-mode): Bind indent-line-function (Bug#5119).
3814
3815 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
3816
3817 * startup.el (command-line): Recognize "0" X resource value.
3818
3819 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
3820
3821 * startup.el (command-line): Use X resources to set the value of
3822 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
3823
3824 * menu-bar.el (menu-bar-mode):
3825 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
3826 Set init-value to t.
3827
3828 * frame.el (frame-notice-user-settings): Don't change
3829 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
3830 vice versa (Bug#2249).
3831
3832 2010-06-26 Eli Zaretskii <eliz@gnu.org>
3833
3834 * w32-fns.el (w32-convert-standard-filename): Doc fix.
3835
3836 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3837
3838 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
3839 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
3840
3841 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
3842 default directories are expanded (Bug#6143).
3843
3844 2010-06-24 Juri Linkov <juri@jurta.org>
3845
3846 * minibuffer.el (completions-format): Change default from nil to
3847 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
3848
3849 2010-06-24 Juri Linkov <juri@jurta.org>
3850
3851 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
3852 buffer-locally to lambda that re-runs the vc diff command.
3853 (Bug#6447)
3854
3855 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
3856
3857 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
3858 echo area is in use (Bug#3412).
3859
3860 2010-06-22 Glenn Morris <rgm@gnu.org>
3861
3862 * textmodes/texinfmt.el (texinfo-format-region)
3863 (texinfo-raise-lower-sections, texinfo-format-separate-node)
3864 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
3865 (texinfo-format-option, texinfo-noindent):
3866 Use line-beginning-position and line-end-position.
3867
3868 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
3869 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
3870 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
3871 utf-8 characters.
3872
3873 2010-06-21 Karl Fogel <kfogel@red-bean.com>
3874
3875 * play/zone.el (zone-fall-through-ws): Fix next-line ->
3876 forward-line fallout.
3877
3878 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
3879
3880 * mouse.el (mouse-appearance-menu): Add docstring.
3881
3882 * help.el (describe-key): Print up-event using key-description.
3883
3884 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
3885
3886 * net/zeroconf.el (zeroconf-resolve-service)
3887 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
3888 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
3889
3890 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
3891
3892 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
3893
3894 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
3895
3896 Avoid displaying files with a nil state in vc-dir.
3897 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
3898 cases that cause insertion.
3899 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
3900 with a nil state.
3901
3902 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3903
3904 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
3905
3906 2010-06-29 Leo <sdl.web@gmail.com>
3907
3908 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
3909
3910 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3911
3912 * generic-x.el (bat-generic-mode): Fix regexp for command line
3913 switches (Bug#5719).
3914
3915 2010-06-27 Masatake YAMATO <yamato@redhat.com>
3916
3917 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
3918 of nconc to avoid pure storage error (Bug#6239).
3919
3920 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
3921
3922 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3923 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
3924 bindings of bookmark-automatically-show-annotations (Bug#6515).
3925
3926 2010-06-25 Eli Zaretskii <eliz@gnu.org>
3927
3928 * arc-mode.el (archive-zip-extract): Don't quote the file name on
3929 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
3930
3931 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
3932
3933 * comint.el (make-comint, make-comint-in-buffer): Mention return
3934 value in the docstrings. (Bug#6498)
3935
3936 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
3937
3938 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
3939 since it is not present when using some non-default switches.
3940
3941 2010-06-23 Karl Fogel <kfogel@red-bean.com>
3942
3943 * simple.el (compose-mail): Fix doc string to refer to
3944 `compose-mail-user-agent-warnings', instead of to the
3945 nonexistent `compose-mail-check-user-agent'.
3946
3947 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
3948
3949 Fix an indentation bug:
3950
3951 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
3952 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
3953 of existing values.
3954
3955 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
3956 (c-clear->-pair-props-if-match-before): now return t when they've
3957 cleared properties, nil otherwise.
3958 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
3959 by taking account of the existing value.
3960
3961 * progmodes/cc-defs.el
3962 (c-clear-char-property-with-value-function): Fix this to clear the
3963 property rather than overwriting it with nil.
3964
3965 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
3966
3967 * emacs-lisp/package.el (package-print-package): Add link to
3968 package description via describe-package.
3969 (describe-package-1): List package requirements. Add button to
3970 perform installation.
3971 (package-menu-describe-package): New command.
3972
3973 * help-mode.el (help-package): New button type.
3974
3975 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
3976
3977 * emacs-lisp/package.el: Move package-list-packages binding to
3978 menu-bar.el.
3979 (describe-package, describe-package-1, package--dir): New funs.
3980 (package-activate-1): Use package--dir.
3981
3982 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
3983
3984 * help-mode.el (help-package-def): New button type.
3985
3986 * menu-bar.el: Move package-list-packages binding here from
3987 package.el.
3988
3989 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
3990
3991 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
3992
3993 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * emacs-lisp/edebug.el (edebug-read-list):
3996 Phase out old-style backquotes.
3997
3998 2010-06-17 Juri Linkov <juri@jurta.org>
3999
4000 * help-mode.el (help-mode): Set buffer-local variable
4001 revert-buffer-function to help-mode-revert-buffer.
4002 (help-mode-revert-buffer): New function.
4003
4004 * info.el (Info-revert-find-node): Check for major-mode Info-mode
4005 before popping to "*info*" (like in other Info functions).
4006 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
4007 old-history-forward. Pop to old-buffer-name or "*info*" to
4008 recreate the killed buffer. Set Info-history-forward from
4009 old-history-forward.
4010 (Info-breadcrumbs-depth): Add :group and :version.
4011
4012 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
4013
4014 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
4015
4016 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
4017
4018 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
4019 for languages like Portuguese with pt_{BR,PT} and no plain pt.
4020
4021 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
4022
4023 * emacs-lisp/package.el (package-menu-mode-map):
4024 Move initialization into declaration.
4025
4026 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
4027
4028 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
4029
4030 * emacs-lisp/package.el (package-archive-base): Point to
4031 elpa.gnu.org.
4032 (package-enable, package-load-list): New defcustoms.
4033 (package-user-dir, package-directory-list): Turn into defcustoms.
4034 Don't include package-user-dir in package-directory-list.
4035 (package--builtins-base): Don't include Emacs as a "package".
4036 (package-subdirectory-regexp): New var.
4037 (package-load-all-descriptors, package-compute-transaction)
4038 (package-download-transaction): Obey package-load-list.
4039 (package-activate-1): Rename from package-do-activate.
4040 (package-list-packages-internal): Check package-load-list.
4041 (package-load-descriptor, package-generate-autoloads)
4042 (package-unpack, package-unpack-single)
4043 (package--read-archive-file, package-delete): Use
4044 expand-file-name.
4045
4046 * emacs-lisp/package-x.el: New file. Package uploading
4047 functionality split out from package.el.
4048
4049 * startup.el (command-line): Load packages after reading init file.
4050
4051 2010-06-17 Tom Tromey <tromey@redhat.com>
4052
4053 * emacs-lisp/package.el: New file.
4054
4055 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4056
4057 Fix vc-annotate for renamed files when using Git.
4058 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
4059 ls-files. Doe not pass the object as a file name to cat-file, it
4060 is not a file name.
4061 (vc-git-annotate-command): Pass the file name using -- to avoid
4062 ambiguity with the revision.
4063 (vc-git-previous-revision): Pass a relative file name.
4064
4065 2010-06-22 Glenn Morris <rgm@gnu.org>
4066
4067 * progmodes/js.el (js-mode-map): Use standard capitalization and
4068 ellipses for menu entries.
4069
4070 * wid-edit.el (widget-complete): Doc fix.
4071
4072 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
4073
4074 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
4075
4076 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4077
4078 Fix annotating other revisions for renamed files in vc-annotate.
4079 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
4080 VC backend. Use it when non-nil.
4081 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
4082 (Bug#6487)
4083
4084 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
4085 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4086 Do not pass the file name to the 'previous-revision call when we
4087 don't want a file diff. (Bug#6489)
4088
4089 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4090
4091 Fix finding revisions for renamed files in vc-annotate.
4092 * vc/vc.el (vc-find-revision): Add an optional argument for
4093 the VC backend. Use it when non-nil.
4094 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
4095 backend to vc-find-revision. (Bug#6487)
4096
4097 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4098
4099 Fix reading file names in Git annotate buffers.
4100 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
4101 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
4102
4103 2010-06-20 Alan Mackenzie <acm@muc.de>
4104
4105 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
4106 in file local variables, set it first.
4107
4108 2010-06-19 Glenn Morris <rgm@gnu.org>
4109
4110 * descr-text.el (describe-char-unicode-data): Insert separating
4111 space when needed. (Bug#6422)
4112
4113 * progmodes/idlwave.el (idlwave-action-and-binding):
4114 Fix typo in 2009-12-03 change. (Bug#6450)
4115
4116 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
4119 handling for `lambda' (misunderstanding).
4120
4121 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
4122
4123 * calc/calc-poly.el (math-accum-factors): Make sure that
4124 constants aren't distributed after they are factored out.
4125
4126 2010-06-16 Juri Linkov <juri@jurta.org>
4127
4128 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
4129 `list-colors-print'. (Bug#6332)
4130
4131 * subr.el (read-quoted-char): Fix up last change (bug#6290).
4132
4133 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
4136 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
4137
4138 * font-lock.el (font-lock-major-mode): Rename from
4139 font-lock-mode-major-mode to distinguish it from
4140 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
4141 (font-lock-set-defaults):
4142 * font-core.el (font-lock-default-function): Adjust users.
4143 (font-lock-mode): Don't set it at all.
4144
4145 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4146
4147 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
4148
4149 2010-06-16 Glenn Morris <rgm@gnu.org>
4150
4151 * calendar/appt.el (appt-time-msg-list): Doc fix.
4152 (appt-check): Let-bind appt-warn-time.
4153 (appt-add): Make the 3rd argument optional.
4154 Simplify argument names. Doc fix. Check for integer WARNTIME.
4155 Only add WARNTIME to the output list if non-nil.
4156
4157 2010-06-16 Ivan Kanis <apple@kanis.eu>
4158
4159 * calendar/appt.el (appt-check): Let the 3rd element of
4160 appt-time-msg-list specify the warning time.
4161 (appt-add): Add new argument with the warning time. (Bug#5176)
4162
4163 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4164
4165 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
4166 older than version 1.6. (Bug#6361)
4167
4168 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
4169
4170 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
4171 used by cl-do-arglist. (Bug#6408)
4172
4173 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
4174
4175 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
4176 portuguese casechars/not-casechars for missing 'çÇ'.
4177 Suggested by Rolando Pereira (bug#6434).
4178
4179 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
4180
4181 * facemenu.el (list-colors-sort): Doc fix.
4182
4183 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4184
4185 * progmodes/sql.el (sql-connect-mysql): Fix typo.
4186
4187 2010-06-14 Juri Linkov <juri@jurta.org>
4188
4189 Add sort option `list-colors-sort'. (Bug#6332)
4190 * facemenu.el (color-rgb-to-hsv): New function.
4191 (list-colors-sort): New defcustom.
4192 (list-colors-sort-key): New function.
4193 (list-colors-display): Doc fix. Sort list according to the option
4194 `list-colors-sort'.
4195 (list-colors-print): Add HSV values to `help-echo' property of
4196 RGB strings.
4197
4198 2010-06-14 Juri Linkov <juri@jurta.org>
4199
4200 * compare-w.el: Move to the "vc" subdirectory.
4201
4202 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * image-mode.el (image-mode-map): Remap left-char and right-char.
4205
4206 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
4207
4208 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
4209
4210 * term/common-win.el (x-colors): Add all the color names defined
4211 in rgb.txt (Bug#6332).
4212
4213 * facemenu.el (list-colors-print): Don't print extra names if it
4214 will overflow the window width.
4215
4216 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
4217 change (Bug#6343).
4218
4219 2010-06-12 Eli Zaretskii <eliz@gnu.org>
4220
4221 * files.el (make-directory): Doc fix (bug#6396).
4222
4223 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
4224
4225 * net/tramp.el (tramp-remote-process-environment): Protect version
4226 string by apostroph.
4227 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4228 XEmacs.
4229 (tramp-file-name-for-operation): Add `call-process-region'.
4230 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4231
4232 * net/tramp-compat.el (top): Do not autoload
4233 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4234 only when `start-file-process' is not bound.
4235 (tramp-advice-file-expand-wildcards): Do not use
4236 `tramp-handle-file-remote-p'.
4237 (tramp-compat-make-temp-file): Handle the case, that
4238 `make-temp-file' has no third argument EXTENSION.
4239
4240 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
4241
4242 * makefile.w32-in (WINS_BASIC): Include new directory vc.
4243
4244 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
4245
4246 2010-06-11 Juri Linkov <juri@jurta.org>
4247
4248 * finder.el (finder-known-keywords): Add keyword "vc"
4249 for version control.
4250
4251 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
4252 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
4253 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
4254 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
4255
4256 2010-06-11 Juri Linkov <juri@jurta.org>
4257
4258 Move version control related files to the "vc" subdirectory.
4259 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
4260 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
4261 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
4262 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
4263 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
4264 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
4265 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
4266 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
4267 Move files to the "vc" subdirectory.
4268
4269 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
4270
4271 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
4272 (Bug#6367).
4273
4274 2010-06-11 Stephen Eglen <stephen@gnu.org>
4275
4276 * shell.el: Bind `shell-resync-dirs' to M-RET.
4277
4278 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * notifications.el: Move file from lisp/net, because it is
4281 supposed to talk locally to the user.
4282
4283 2010-06-10 Julien Danjou <julien@danjou.info>
4284
4285 * net/notifications.el (notifications-on-action-signal)
4286 (notifications-on-closed-signal): Pass notification id as first
4287 argument to the callback functions. Add docstrings.
4288 (notifications-notify): Fix docstring.
4289
4290 2010-06-10 Glenn Morris <rgm@gnu.org>
4291
4292 * emacs-lisp/authors.el (authors-ignored-files)
4293 (authors-valid-file-names): Add some files.
4294
4295 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
4298 merge conflict, giving preference to the emacs-23 version of the code.
4299
4300 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * emacs-lisp/advice.el (ad-compile-function):
4303 Define warning-suppress-types before we let-bind it (bug#6275).
4304
4305 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
4306 declare it, make it buffer-local and permanent-local (bug#6324).
4307 (vc-resynch-window): Adjust name.
4308 * vc-hooks.el (vc-find-file-hook): Adjust name.
4309
4310 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
4311
4312 * net/notifications.el (notifications-notify): Fix docstring.
4313
4314 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4315
4316 Update to Unicode 6.0.0 beta.
4317 * international/charprop.el: Update copyright.
4318 * international/mule-cmds.el (ucs-names): Update character ranges.
4319 * international/uni-bidi.el:
4320 * international/uni-category.el:
4321 * international/uni-combining.el:
4322 * international/uni-comment.el:
4323 * international/uni-decimal.el:
4324 * international/uni-decomposition.el:
4325 * international/uni-digit.el:
4326 * international/uni-lowercase.el:
4327 * international/uni-mirrored.el:
4328 * international/uni-name.el:
4329 * international/uni-numeric.el:
4330 * international/uni-old-name.el:
4331 * international/uni-titlecase.el:
4332 * international/uni-uppercase.el: Regenerate.
4333
4334 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4335
4336 * emacs-lisp/smie.el (comment-string-strip): Declare function.
4337 (smie-precs-precedence-table): Fix typo in docstring.
4338
4339 * vc-mtn.el (log-edit-extract-headers): Declare function.
4340
4341 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
4342
4343 * net/notifications.el (dbus-register-signal): Declare function.
4344 (notifications-notify): Fix typos and reflow docstring.
4345
4346 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4347
4348 Improve VC create/retrieve tag/branch.
4349 * vc.el (vc-create-tag): Do not read the directory name for VCs
4350 with repository revision granularity. Adjust the tag/branch
4351 prompt. Reset VC properties.
4352 (vc-retrieve-tag): Do not read the directory name for VCs
4353 with repository revision granularity. Reset VC properties.
4354
4355 2010-06-09 Julien Danjou <julien@danjou.info>
4356
4357 * net/notifications.el: New file.
4358
4359 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4360
4361 Add optional support for resetting VC properties.
4362 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
4363 call vc-file-clearprops when true.
4364 (vc-resynch-buffer): Add new optional argument, pass it down.
4365 (vc-resynch-buffers-in-directory): Likewise.
4366
4367 Improve support for special markup in the VC commit message.
4368 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
4369 * vc-hg.el (vc-hg-checkin): Add support for Date:.
4370 * vc-git.el (vc-git-checkin):
4371 * vc-bzr.el (vc-bzr-checkin): Likewise.
4372
4373 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
4376 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
4377
4378 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
4379
4380 * iimage.el: Remove images as soon as the underlying text is modified.
4381 (iimage-modification-hook): New function.
4382 (iimage-mode-buffer): Use it.
4383
4384 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
4387 smie-indent-offset-after. Add :prev case. Make a bit more generic.
4388 (smie-indent-virtual): Remove `virtual' arg. Update callers.
4389 (smie-indent-keyword): Add handling of open-paren keywords.
4390 (smie-indent-comment-continue): Don't assume comment-continue.
4391
4392 2010-06-07 Martin Rudalics <rudalics@gmx.at>
4393
4394 * window.el (pop-to-buffer): Remove the conditional that
4395 compares new-window and old-window, so it will reselect
4396 the selected window unconditionally.
4397 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
4398
4399 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * emacs-lisp/smie.el (smie-indent-offset-after)
4402 (smie-indent-forward-token, smie-indent-backward-token): New functions.
4403 (smie-indent-after-keyword): Use them.
4404 (smie-indent-fixindent): Only applies to the indentation of the BOL.
4405 (smie-indent-keyword): Tweak the black magic.
4406 (smie-indent-comment-continue): Strip comment-continue before use.
4407 (smie-indent-functions): Indent comments before keywords.
4408
4409 2010-06-06 Juri Linkov <juri@jurta.org>
4410
4411 * isearch.el (isearch-lazy-highlight-search): Fix looping
4412 by checking for empty match. This syncs this loop with the
4413 similar loop in `isearch-search'. (Bug#6362)
4414
4415 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
4416
4417 * net/dbus.el (dbus-register-method): Declare function.
4418 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
4419 (dbus-introspect): Doc fix.
4420 (dbus-event-bus-name, dbus-introspect-get-interface)
4421 (dbus-introspect-get-argument): Reflow docstrings.
4422
4423 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
4424
4425 vc-log-incoming/vc-log-outgoing fixes for Git.
4426 * vc-git.el (vc-git-log-view-mode): Fix font lock for
4427 incoming/outgoing logs.
4428 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
4429 instead of vc-git-compute-remote.
4430 (vc-git-compute-remote): Remove.
4431
4432 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
4433
4434 * term/common-win.el (x-colors): Add "dark green" and "dark
4435 turquoise" (Bug#6332).
4436
4437 2010-06-04 Juri Linkov <juri@jurta.org>
4438
4439 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
4440 Instead of setting `replace' to t and replacing the same string
4441 with itself, don't do certain actions when
4442 kill-do-not-save-duplicates is non-nil and string is equal to car
4443 of kill-ring: don't call menu-bar-update-yank-menu, don't push
4444 interprogram-paste strings to kill-ring, and don't push the input
4445 argument `string' to kill-ring.
4446 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
4447
4448 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
4449
4450 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
4451
4452 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
4453
4454 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
4455 (tramp-gvfs-handler-mounted-unmounted)
4456 (tramp-gvfs-connection-mounted-p): Handle default-location.
4457
4458 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
4459 move files to trash.
4460
4461 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
4462
4463 * international/mule-cmds.el (nonascii-insert-offset)
4464 (nonascii-translation-table): Add obsolescence information.
4465
4466 * international/mule.el (make-translation-table-from-vector): Doc fix.
4467
4468 2010-06-03 Glenn Morris <rgm@gnu.org>
4469
4470 * desktop.el (desktop-clear-preserve-buffers):
4471 Add "*Warnings*" buffer. (Bug#6336)
4472
4473 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
4474
4475 vc-log-incoming/vc-log-outgoing improvements for Git.
4476 * vc-git.el (vc-git-log-outgoing): Use the same format as the
4477 short log.
4478 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
4479
4480 Add bindings for vc-log-incoming and vc-log-outgoing.
4481 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
4482 and vc-log-outgoing.
4483 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
4484 and vc-log-outgoing.
4485
4486 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
4487
4488 * net/rcirc.el (rcirc-sort-nicknames): Remove.
4489 (rcirc-handler-366): Always sort nicknames.
4490
4491 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
4492
4493 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
4494
4495 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
4496
4497 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
4498
4499 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4500
4501 * net/rcirc.el (rcirc-sort-nicknames): Change default.
4502 (rcirc-sort-nicknames-join): Avoid setq.
4503
4504 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4505
4506 * net/rcirc.el (rcirc-sort-nicknames): New custom.
4507 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
4508 (rcirc-handler-366): Use them.
4509
4510 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 Split smie-indent-calculate into more manageable chunks.
4513 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
4514 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
4515 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
4516 (smie-indent-exps): Extract from smie-indent-calculate.
4517 (smie-indent-functions): New var.
4518 (smie-indent-functions): Use them.
4519
4520 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4521
4522 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
4523 (smie-indent-calculate): Simplify and cleanup.
4524
4525 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
4526
4527 * net/tramp-gvfs.el (top): Require url-util.
4528 (tramp-gvfs-mount-point): Remove.
4529 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
4530 New defuns.
4531 (with-tramp-dbus-call-method): Format trace message.
4532 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4533 Implement backup call, when operation on local files fails.
4534 Use progress reporter. Flush properties of changed files.
4535 (tramp-gvfs-handle-make-directory): Make more traces.
4536 (tramp-gvfs-url-file-name): Hexify file name in url.
4537 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4538 into account for the resulting file name.
4539 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
4540 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
4541 (tramp-gvfs-handler-mounted-unmounted)
4542 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4543 attribute "default_location". Set "prefix" property.
4544 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4545 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4546 exists. Raise an error, if not (due to a corresponding answer
4547 "no" in interactive questions, for example).
4548
4549 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
4550
4551 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
4552
4553 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
4554
4555 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
4556 right-*. (Bug#6265)
4557
4558 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
4559
4560 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
4561 * vc-git.el (vc-git-compute-remote): New function.
4562 (vc-git-log-outgoing): Use it instead of hard coding a value.
4563 (vc-git-log-incoming): New function.
4564
4565 Improve state updating for VC tag commands.
4566 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
4567 to update the state of all buffers in the directory.
4568
4569 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4570
4571 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4574 `file-directory-p' to the filename part rather than to the whole text.
4575
4576 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4579
4580 2010-05-31 Drew Adams <drew.adams@oracle.com>
4581
4582 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4583
4584 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
4585
4586 * subr.el (momentary-string-display): Just use read-event to read
4587 the exit event (Bug#6238).
4588
4589 2010-05-30 Eli Zaretskii <eliz@gnu.org>
4590
4591 * international/mule.el (define-coding-system): Doc fix (bug#6313).
4592
4593 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4594
4595 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4596 Suggested by Eli Zaretskii <eliz@gnu.org>.
4597
4598 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * minibuffer.el (completion-file-name-table): Don't return a boundary
4601 past the end of `string' (bug#6299).
4602 (completion--file-name-table): Delegate to completion-file-name-table
4603 for the `boundaries' case.
4604
4605 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4606
4607 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4608 movement commands.
4609
4610 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4611 `path-separator', but maintain compatibility with Emacs 20.2.
4612
4613 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4614
4615 * server.el (server-process-filter): Receive parent-id argument
4616 from emacsclient.
4617 (server-create-window-system-frame): New arg. Pass parent-id as
4618 frame parameter.
4619
4620 2010-05-29 Eli Zaretskii <eliz@gnu.org>
4621
4622 Bidi-sensitive word movement with arrow keys.
4623 * subr.el (right-arrow-command, left-arrow-command): Move to
4624 bindings.el.
4625
4626 * bindings.el (right-char, left-char): Move from subr.el and
4627 rename from right-arrow-command and left-arrow-command.
4628 (right-word, left-word): New functions.
4629 (global-map) <right>: Bind to right-char.
4630 (global-map) <left>: Bind to left-char.
4631 (global-map) <C-right>: Bind to right-word.
4632 (global-map) <C-left>: Bind to left-word.
4633
4634 * ls-lisp.el (ls-lisp-classify-file): New function.
4635 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4636 (ls-lisp-classify): Call ls-lisp-classify-file.
4637 (insert-directory): Remove blanks from switches.
4638
4639 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4640
4641 * ansi-color.el: Delete unused escape sequences (Bug#6085).
4642 (ansi-color-drop-regexp): New constant.
4643 (ansi-color-apply, ansi-color-filter-region)
4644 (ansi-color-apply-on-region): Delete unrecognized control sequences.
4645 (ansi-color-apply): Build string list before calling concat.
4646
4647 2010-05-28 Juri Linkov <juri@jurta.org>
4648
4649 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4650 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4651 (Bug#5270)
4652
4653 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
4654
4655 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4656 to ignored backtrace functions.
4657 (with-progress-reporter): Expand docstring.
4658 (tramp-handle-delete-file): Implement TRASH argument.
4659 (tramp-get-remote-trash): New defun.
4660
4661 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
4662
4663 * net/tramp-compat.el (tramp-compat-delete-file): Use
4664 `symbol-value' for backward compatibility.
4665
4666 * net/tramp.el (tramp-handle-make-symbolic-link)
4667 (tramp-handle-load)
4668 (tramp-do-copy-or-rename-file-via-buffer)
4669 (tramp-do-copy-or-rename-file-directly)
4670 (tramp-do-copy-or-rename-file-out-of-band)
4671 (tramp-handle-process-file, tramp-handle-call-process-region)
4672 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4673 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4674 (tramp-delete-temp-file-function): Use `delete-file' instead
4675 of `tramp-compat-delete-file'.
4676
4677 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4678 (tramp-fish-handle-make-symbolic-link)
4679 (tramp-fish-handle-process-file): Use `delete-file' instead
4680 of `tramp-compat-delete-file'.
4681
4682 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4683 `delete-file' instead of `tramp-compat-delete-file'.
4684
4685 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4686 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4687 `tramp-compat-delete-file'.
4688
4689 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4690 `delete-file' instead of `tramp-compat-delete-file'.
4691
4692 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4693 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4694 (tramp-smb-handle-write-region): Use `delete-file' instead of
4695 `tramp-compat-delete-file'.
4696 (tramp-smb-handle-delete-directory): Use 'trash as arg.
4697
4698 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4699
4700 * dired.el (dired-delete-file): New arg TRASH.
4701 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
4702 (dired-do-flagged-delete, dired-do-delete): Use trash.
4703
4704 * speedbar.el (speedbar-item-delete): Allow trashing.
4705
4706 * files.el (delete-directory): New arg TRASH.
4707
4708 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4709 (ange-ftp-rename-remote-to-remote)
4710 (ange-ftp-rename-local-to-remote)
4711 (ange-ftp-rename-remote-to-local, ange-ftp-load)
4712 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4713 `delete-file'.
4714 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4715 allow trashing.
4716
4717 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4718 handle new TRASH arg of `delete-file'.
4719
4720 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4721 (tramp-handle-make-symbolic-link, tramp-handle-load)
4722 (tramp-do-copy-or-rename-file-via-buffer)
4723 (tramp-do-copy-or-rename-file-directly)
4724 (tramp-do-copy-or-rename-file-out-of-band)
4725 (tramp-handle-process-file, tramp-handle-call-process-region)
4726 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4727 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4728 (tramp-delete-temp-file-function): Use null TRASH arg in
4729 tramp-compat-delete-file call.
4730
4731 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4732 (tramp-fish-handle-delete-file)
4733 (tramp-fish-handle-make-symbolic-link)
4734 (tramp-fish-handle-process-file): Use null TRASH arg in
4735 `tramp-compat-delete-file' call.
4736
4737 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4738 arg in `tramp-compat-delete-file' call.
4739
4740 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4741 (tramp-gvfs-handle-write-region): Use null TRASH arg in
4742 `tramp-compat-delete-file' call.
4743
4744 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4745 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4746 `tramp-compat-delete-file' call.
4747
4748 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4749 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4750 (tramp-smb-handle-write-region): Use null TRASH arg in
4751 tramp-compat-delete-file call.
4752 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4753 (tramp-smb-handle-delete-file): Rename arg.
4754
4755 * diff.el (diff-sentinel):
4756 * epg.el (epg--make-temp-file, epg-decrypt-string)
4757 (epg-verify-string, epg-sign-string, epg-encrypt-string):
4758 * jka-compr.el (jka-compr-partial-uncompress)
4759 (jka-compr-call-process, jka-compr-write-region):
4760 * server.el (server-sentinel): Remove optional arg from
4761 delete-file, reverting 2010-05-03 change.
4762
4763 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4764
4765 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4766 font-lock-constant-face, not obsolete font-lock-reference-face.
4767
4768 2010-05-27 Kenichi Handa <handa@m17n.org>
4769
4770 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4771 element of GSTRING is nil.
4772
4773 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * emacs-lisp/smie.el (smie-forward-token-function)
4776 (smie-backward-token-function): New vars.
4777 (smie-backward-sexp, smie-forward-sexp)
4778 (smie-indent-hanging-p, smie-indent-calculate): Use them.
4779 (smie-default-backward-token): Rename from smie-backward-token and
4780 skip comments.
4781 (smie-default-forward-token): Rename from smie-forward-token and
4782 skip comments.
4783 (smie-next-sexp): Handle nil results from next-token.
4784 (smie-indent-calculate): Add a new case for special `fixindent' comments.
4785
4786 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4787
4788 * progmodes/verilog-mode.el (verilog-type-font-keywords):
4789 Use font-lock-constant-face, not obsolete font-lock-reference-face.
4790
4791 2010-05-27 Masatake YAMATO <yamato@redhat.com>
4792
4793 * htmlfontify.el (hfy-face-resolve-face): New function.
4794 (hfy-face-to-style): Use it (Bug#6279).
4795
4796 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
4799 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
4800
4801 2010-05-26 Glenn Morris <rgm@gnu.org>
4802
4803 * emulation/edt.el (edt-load-keys): Use locate-library.
4804
4805 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
4806
4807 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
4808 (log-edit-changelog-entries): Doc fix.
4809 (log-edit-changelog-insert-entries): Args changed.
4810 Rename relative filenames in ChangeLog entries. Delete tabs.
4811 (log-edit-insert-changelog-entries): Reorganize return value of
4812 `log-edit-changelog-entries' to pass filenames to
4813 log-edit-changelog-insert-entries.
4814
4815 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4816
4817 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4818 `image-dired-dired-insert-marked-thumbs' to
4819 `image-dired-dired-toggle-marked-thumbs'.
4820
4821 * image-dired.el: Require cl when compiling.
4822 (image-dired-dired-toggle-marked-thumbs): Rename from
4823 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
4824 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
4825 to 'no-dir. Skip files whose names don't match
4826 `image-file-name-regexp'. When file has a thumbnail overlay,
4827 delete it. (Bug#5270)
4828
4829 2010-05-25 Juri Linkov <juri@jurta.org>
4830
4831 * image-mode.el (image-mode): Add image-after-revert-hook to
4832 after-revert-hook.
4833 (image-after-revert-hook): New function. (Bug#5669)
4834
4835 2010-05-25 Juri Linkov <juri@jurta.org>
4836
4837 * image.el (image-animated-p): When delay between animated images
4838 is 0, set it to 10 (0.1 sec). (Bug#6258)
4839
4840 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4841
4842 * net/tramp.el (tramp-handle-insert-directory): Don't use
4843 `forward-word', its default syntax could be changed.
4844
4845 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
4846
4847 * net/tramp.el (tramp-progress-reporter-update): New defun.
4848 (with-progress-reporter): Use it.
4849 (tramp-process-actions):
4850 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
4851 current message, in order to let progress reporter continue
4852 afterwards. (Bug#6257)
4853
4854 2010-05-25 Glenn Morris <rgm@gnu.org>
4855
4856 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
4857 Add :version.
4858
4859 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
4860
4861 * net/rcirc.el (rcirc-default-user-name): Change to "user".
4862 (rcirc-default-full-name): Change to "unknown".
4863 (rcirc-user-name-history): Add variable.
4864
4865 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
4866 Jonathan Rockway <jon@jrock.us>
4867
4868 * net/rcirc.el (rcirc-server-alist): Add :pass.
4869 (rcirc): When prompting for connection parameters, also prompt for
4870 username and password.
4871 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
4872 value to server when connecting.
4873
4874 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4875
4876 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
4877 (smie-merge-prec2s): Pass the tables as separate args.
4878 (smie-bnf-precedence-table): Adjust call accordingly.
4879 (smie-prec2-levels): Set levels at the end.
4880
4881 Replace Lisp calls to delete-backward-char by delete-char.
4882 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
4883 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
4884 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
4885 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
4886 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
4887 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
4888 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
4889 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
4890 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
4891 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
4892 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
4893 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
4894 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
4895 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
4896 delete-backward-char by calls to delete-char.
4897
4898 2010-05-25 Kenichi Handa <handa@m17n.org>
4899
4900 * language/hebrew.el (hebrew-shape-gstring): New function.
4901 Register it in composition-function-table for all Hebrew combining
4902 characters.
4903
4904 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4905
4906 * epa.el (epa--select-keys): Don't explicitly delete the window since
4907 that can fail (e.g. sole window in frame). Use dedication instead.
4908
4909 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4910
4911 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
4912
4913 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
4914
4915 * image.el (image-refresh): Define as an alias for image-flush.
4916
4917 * image-mode.el (image-toggle-display-image): Caller changed.
4918
4919 2010-05-21 Juri Linkov <juri@jurta.org>
4920
4921 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
4922 Remove "all" from grep-files-aliases. Split grep-files-aliases by
4923 whitespace, call wildcard-to-regexp on substrings and concat them
4924 with "\\|". (Bug#6114)
4925
4926 2010-05-21 Alan Mackenzie <acm@muc.de>
4927
4928 * progmodes/cc-engine.el (c-parse-state-get-strategy):
4929 Replace parameter `here' with `here-' and `here-plus', which sandwich
4930 any pertinent CPP construct.
4931 (c-remove-stale-state-cache-backwards): Fix a bug which happens
4932 when doing (c-parse-state) in a CPP construct: Exclude any "new"
4933 CPP construct from taking part in the scanning.
4934
4935 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
4936
4937 * net/tramp.el (tramp-do-copy-or-rename-file)
4938 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
4939 Tune `with-progress-reporter' messages.
4940 (tramp-handle-vc-registered):
4941 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
4942 (tramp-fish-handle-insert-file-contents)
4943 (tramp-fish-maybe-open-connection):
4944 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4945 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
4946 (tramp-imap-handle-insert-file-contents)
4947 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4948
4949 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * add-log.el (change-log-font-lock-keywords):
4952 Highlight all authors in multi-author entries.
4953
4954 * smerge-mode.el (smerge-refine-ignore-whitespace)
4955 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
4956 Fix typos in docstrings.
4957 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
4958
4959 2010-05-21 Glenn Morris <rgm@gnu.org>
4960
4961 * progmodes/fortran.el (fortran-mode):
4962 * progmodes/f90.el (f90-mode): Derive from prog-mode.
4963
4964 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
4965 having a relative path in src/Makefile.in.
4966
4967 2010-05-20 Kevin Ryde <user42@zip.com.au>
4968
4969 * help-mode.el (help-make-xrefs): For Info node links turn
4970 newlines into spaces. Link node names with newlines are matched
4971 by help-xref-info-regexp and buttonized, this change ensures they
4972 can be followed successfully with RET. (Bug#6206)
4973
4974 2010-05-20 Juri Linkov <juri@jurta.org>
4975
4976 * locate.el (locate): Use pop-to-buffer instead of
4977 switch-to-buffer-other-window. (Bug#6204)
4978
4979 2010-05-20 Juri Linkov <juri@jurta.org>
4980
4981 * replace.el (replace-highlight): Fix lazy-highlighting
4982 for `M-s w str M-% str RET'.
4983
4984 2009-12-15 Masatake YAMATO <yamato@redhat.com>
4985
4986 * isearch.el (isearch-yank-word-or-char): Pull next subword
4987 when `subword-mode' is activated. (Bug#6220)
4988
4989 2010-05-20 Mark A. Hershberger <mah@everybody.org>
4990
4991 * isearch.el (isearch-update-post-hook): New hook.
4992 (isearch-update): Use the new hook. (Bug#6225)
4993
4994 2010-05-20 Juri Linkov <juri@jurta.org>
4995
4996 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
4997 [f1], [help], and (char-to-string help-char) instead of "\C-h".
4998 (Bug#6222)
4999
5000 2010-05-20 Juri Linkov <juri@jurta.org>
5001
5002 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
5003 (Bug#6223)
5004
5005 2010-05-20 Juri Linkov <juri@jurta.org>
5006
5007 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
5008 FILE-NAME to read from the minibuffer when called interactively
5009 with prefix argument instead of using buffer-file-name.
5010 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
5011
5012 * dired.el: Update autoloads.
5013
5014 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
5015
5016 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
5017 nxml-finish-element, for consistency with SGML mode.
5018
5019 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
5020 octave-close-block.
5021
5022 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
5023
5024 * composite.el: Require cl when compiling.
5025 (reference-point-alist, compose-gstring-for-graphic)
5026 (compose-gstring-for-terminal): Fix typos in docstrings.
5027
5028 2010-05-19 Juri Linkov <juri@jurta.org>
5029
5030 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
5031 set-window-parameter.
5032
5033 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5034
5035 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
5036 where appropriate.
5037 (tramp-maybe-open-connection): Use it.
5038
5039 2010-05-19 Eli Zaretskii <eliz@gnu.org>
5040
5041 * simple.el (move-end-of-line): Make sure we are at line beginning
5042 before backing up to end of previous line.
5043
5044 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5045
5046 * password-cache.el (password-cache-remove): Fix docstring.
5047
5048 * net/secrets.el: Autoload the widget functions.
5049 (secrets-search-items, secrets-create-item)
5050 (secrets-get-attributes, secrets-expand-item): Attributes will be
5051 stored on the password database without leading ":", as all other
5052 clients do as well.
5053 (secrets-mode): Fix docstring.
5054 (secrets-show-secrets): Provide it as autoloaded command only when
5055 D-Bus support is available. Check existence of Secret Service API.
5056
5057 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 * indent.el (indent-region): Deactivate region (bug#6200).
5060
5061 2010-05-19 Glenn Morris <rgm@gnu.org>
5062
5063 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
5064
5065 2010-05-19 Kenichi Handa <handa@m17n.org>
5066
5067 * composite.el: Register compose-gstring-for-graphic in
5068 composition-function-table only for combining characters (Mn, Mc, Me).
5069
5070 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
5071
5072 * calc/calc-trail.el (calc-trail-isearch-forward)
5073 (calc-trail-isearch-backward): Ensure that the new window
5074 point is set correctly.
5075
5076 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5077
5078 * subr.el (read-quoted-char): Resolve modifiers after key
5079 remapping (bug#6212).
5080
5081 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
5082
5083 Add visualization code for secrets.
5084 * net/secrets.el (secrets-mode): New major mode.
5085 (secrets-show-secrets, secrets-show-collections)
5086 (secrets-expand-collection, secrets-expand-item)
5087 (secrets-tree-widget-after-toggle-function)
5088 (secrets-tree-widget-show-password): New defuns.
5089
5090 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
5093 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
5094 handled in smie-next-sexp.
5095 (smie-indent-calculate): Provide a starting indentation (so the
5096 recursion is well-founded ;-).
5097
5098 Fix handling of non-associative equal levels.
5099 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
5100 when it's not needed.
5101 (smie-op-left, smie-op-right): New functions.
5102 (smie-next-sexp): New function, extracted from smie-backward-sexp.
5103 Better handle equal levels to distinguish the associative case from
5104 the "multi-keyword construct" case.
5105 (smie-backward-sexp, smie-forward-sexp): Use it.
5106
5107 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
5108
5109 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
5110
5111 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
5112 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
5113
5114 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 Provide a simple generic indentation engine and use it for Prolog.
5117 * emacs-lisp/smie.el: New file.
5118 * progmodes/prolog.el (prolog-smie-op-levels)
5119 (prolog-smie-indent-rules): New var.
5120 (prolog-mode-variables): Use them to configure SMIE.
5121 (prolog-indent-line, prolog-indent-level): Remove.
5122
5123 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5124
5125 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
5126 order before computing the averages.
5127
5128 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
5129
5130 * calc/calc-vec.el (calc-histogram):
5131 (calcFunc-histogram): Allow vectors as inputs.
5132 (math-vector-avg): New function.
5133
5134 * calc/calc-ext.el (math-group-float): Have the number of digits
5135 being grouped depend on the radix (Bug#6189).
5136
5137 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
5138
5139 * version.el (emacs-copyright, emacs-version): Don't define here,
5140 now that emacs.c defines it.
5141
5142 2010-05-15 Eli Zaretskii <eliz@gnu.org>
5143
5144 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
5145 "Describe Language Environment" menu item.
5146
5147 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
5148
5149 Bidi-sensitive movement with arrow keys.
5150 * subr.el (right-arrow-command, left-arrow-command): New functions.
5151
5152 * bindings.el (global-map): Bind them to right and left arrow keys.
5153
5154 Don't override standard definition of convert-standard-filename.
5155 * files.el (convert-standard-filename): Call
5156 w32-convert-standard-filename and dos-convert-standard-filename on
5157 the corresponding systems.
5158
5159 * w32-fns.el (w32-convert-standard-filename): Rename from
5160 convert-standard-filename. Doc fix.
5161
5162 * dos-fns.el (dos-convert-standard-filename): Doc fix.
5163 (convert-standard-filename): Don't defalias.
5164 (register-name-alist, make-register, register-value)
5165 (set-register-value, intdos): Obsolete aliases for the
5166 corresponding dos-* functions and variables.
5167 (dos-intdos): Add a doc string.
5168
5169 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
5170
5171 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
5172 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
5173 (math-compose-tex-func):
5174 * calc/calccomp.el (math-compose-expr):
5175 * calc/calc-ext.el (math-format-flat-expr-fancy):
5176 * calc/calc-store.el (calc-read-var-name):
5177 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
5178
5179 * calc/calc.el (var-π, var-φ, var-γ): New variables.
5180 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
5181 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
5182 (math-standard-units): Add units.
5183
5184 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * progmodes/asm-mode.el (asm-mode):
5187 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
5188
5189 * pcomplete.el (pcomplete-completions-at-point): New function,
5190 extracted from pcomplete-std-complete.
5191 (pcomplete-std-complete): Use it.
5192
5193 2010-05-15 Glenn Morris <rgm@gnu.org>
5194
5195 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5196 Remove references to CVS, RCS and Old directories.
5197
5198 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
5199
5200 * calc/calc-bin.el (math-format-twos-complement): Group digits when
5201 appropriate.
5202
5203 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
5206 (sh-mode-syntax-table): Give it a default value instead.
5207 (sh-header-marker): Make buffer-local.
5208 (sh-mode): Move make-local-variable to the corresponding setq.
5209 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
5210 Use complete-with-action.
5211
5212 * simple.el (prog-mode): New (abstract) major mode.
5213 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
5214 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
5215
5216 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
5217
5218 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
5219 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
5220 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
5221 (sql-make-alternate-buffer-name, sql-placeholders-filter)
5222 (sql-escape-newlines-filter, sql-input-sender)
5223 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
5224
5225 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
5226
5227 Add TeX open-block and close-block keybindings to SGML, and vice versa.
5228
5229 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
5230 latex-open-block and C-c / to latex-close-block.
5231
5232 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
5233 and C-c C-e to sgml-close-tag.
5234
5235 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
5236
5237 * net/tramp.el (with-progress-reporter): Create reporter object
5238 only when the message would be displayed. Handle nested calls.
5239 (tramp-handle-load, tramp-handle-file-local-copy)
5240 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5241 (tramp-maybe-send-script, tramp-find-shell):
5242 Use `with-progress-reporter'.
5243 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
5244 Fix message text.
5245
5246 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5247 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5248 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5249 Use `with-progress-reporter'.
5250
5251 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
5252
5253 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
5254 process everytime when spellchecking from the minibuffer (bug#6143).
5255
5256 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
5259
5260 * dos-fns.el: Add "dos-" prefix for namespace control.
5261 (convert-standard-filename): Define as alias for
5262 dos-convert-standard-filename but only if applicable.
5263
5264 2010-05-12 Alan Mackenzie <acm@muc.de>
5265
5266 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
5267 Push the mark at the start of these functions when appropriate.
5268
5269 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * minibuffer.el (completion-cycle-threshold): New custom var.
5272 (completion--do-completion): Use it.
5273 (minibuffer-complete): Use cycling if appropriate.
5274
5275 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
5276
5277 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
5278 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
5279
5280 2010-05-11 Juri Linkov <juri@jurta.org>
5281
5282 * scroll-all.el (scroll-all-check-to-scroll):
5283 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
5284
5285 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * iimage.el (iimage-mode-map): Move initialization into declaration.
5288 (iimage-mode-buffer): Use with-silent-modifications.
5289 Simplify calling convention. Adjust callers.
5290 (iimage-mode): Don't run hook redundantly.
5291
5292 * minibuffer.el (completion-pcm--pattern->regex):
5293 Fix last change (bug#6160).
5294
5295 2010-05-10 Juri Linkov <juri@jurta.org>
5296
5297 Remove nodes visited during Isearch from the Info history.
5298 * info.el (Info-isearch-initial-history)
5299 (Info-isearch-initial-history-list): New variables.
5300 (Info-isearch-start): Record initial values of
5301 Info-isearch-initial-history and Info-isearch-initial-history-list.
5302 Add Info-isearch-end to isearch-mode-end-hook.
5303 (Info-isearch-end): New function.
5304
5305 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
5306
5307 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
5308 format string, in order to work around a bug in pdksh.
5309 Reported by Gilles Pion <gpion@lfdj.com>.
5310 (tramp-handle-verify-visited-file-modtime): Do not send a command
5311 when the connection is not established.
5312 (tramp-handle-set-file-times): Simplify the check for utc.
5313
5314 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
5315
5316 Fix use of `filter-buffer-substring' (rework previous change).
5317 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
5318 (cua-repeat-replace-region):
5319 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
5320 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5321 (cua-cut-region-to-global-mark): Use it.
5322
5323 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
5324
5325 * progmodes/sql.el: Version 2.1.
5326 (sql-product-alist): Redesign structure of product info.
5327 (sql-product, sql-user, sql-server, sql-database): Safe variables.
5328 (sql-port, sql-port-history): New variables.
5329 (sql-interactive-product): New variable.
5330 (sql-send-terminator): New variable.
5331 (sql-imenu-generic-expression): Add "Types" imenu entry.
5332 (sql-oracle-login-params, sql-sqlite-login-params)
5333 (sql-mysql-login-params, sql-solid-login-params)
5334 (sql-sybase-login-params, sql-informix-login-params)
5335 (sql-ingres-login-params, sql-ms-login-params)
5336 (sql-postgres-login-params, sql-interbase-login-params)
5337 (sql-db2-login-params, sql-linter-login-params)
5338 (sql-oracle-scan-on): New variables.
5339 (sql-mode-map): Add C-c C-i to start interactive mode.
5340 (sql-mode-menu): Update existing menu entries.
5341 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
5342 (sql-mode-oracle-font-lock-keywords)
5343 (sql-mode-postgres-font-lock-keywords)
5344 (sql-mode-ms-font-lock-keywords)
5345 (sql-mode-sybase-font-lock-keywords)
5346 (sql-mode-informix-font-lock-keywords)
5347 (sql-mode-interbase-font-lock-keywords)
5348 (sql-mode-ingres-font-lock-keywords)
5349 (sql-mode-solid-font-lock-keywords)
5350 (sql-mode-mysql-font-lock-keywords)
5351 (sql-mode-sqlite-font-lock-keywords)
5352 (sql-mode-db2-font-lock-keywords)
5353 (sql-mode-linter-font-lock-keywords): Update initialization to
5354 reduce run-time complexity.
5355 (sql-add-product, sql-del-product): New functions.
5356 (sql-set-product-feature, sql-get-product-feature): New functions.
5357 (sql-product-font-lock): Update product API.
5358 (sql-add-product-keywords): New function.
5359 (sql-highlight-product): Update product API.
5360 (sql-help-list-products): New function.
5361 (sql-help): Dynamically lists free and non-free products.
5362 (sql-get-login): Correct bug in handling history and added
5363 prompt for port.
5364 (sql-copy-column): Copy without properties.
5365 (sqli-input-sender): Apply filters to SQLi input.
5366 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
5367 Implement as a filter.
5368 (sql-escape-newlines-filter): Implement as a filter.
5369 (sql-remove-tabs-filter): New function.
5370 (sql-send-magic-terminator): New function.
5371 (sql-send-string): Implement magic terminator.
5372 (sql-send-region): Use `sql-send-string'.
5373 (sql-interactive-mode): Use product API.
5374 (sql-product-interactive): Use product API.
5375 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5376 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5377 (sql-db2, sql-linter): Use `sql-product-interactive'.
5378 (sql-connect): New function.
5379 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
5380 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
5381 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
5382 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
5383 Use `sql-connect'.
5384
5385 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5388 New custom variable.
5389 (completion-pcm--string->pattern): Use it.
5390 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
5391 Make it handle any symbol as `any'.
5392 (completion-pcm--merge-completions): Extract common suffix for the new
5393 `prefix' symbol as well.
5394 (completion-substring--all-completions): Use the new `prefix' symbol.
5395
5396 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
5397
5398 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
5399 not bound.
5400 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5401 (tramp-compat-funcall): New defmacro.
5402 (tramp-compat-line-beginning-position)
5403 (tramp-compat-line-end-position)
5404 (tramp-compat-temporary-file-directory)
5405 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5406 (tramp-compat-copy-file, tramp-compat-copy-directory)
5407 (tramp-compat-delete-file, tramp-compat-delete-directory)
5408 (tramp-compat-number-sequence, tramp-compat-process-running-p)
5409 * net/tramp.el (top, with-progress-reporter)
5410 (tramp-rfn-eshadow-setup-minibuffer)
5411 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5412 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5413 (tramp-completion-mode-p, tramp-check-for-regexp)
5414 (tramp-open-connection-setup-interactive-shell)
5415 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5416 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5417 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
5418 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5419 (tramp-reporter-dump-variable, tramp-load-report-modules)
5420 (tramp-append-tramp-buffers)
5421 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
5422
5423 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5424
5425 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * progmodes/compile.el (compilation-buffer-modtime): Rename from
5428 buffer-modtime. Adjust users.
5429
5430 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5431
5432 * international/mule.el (auto-coding-alist): Only purecopy
5433 car of each item, not the whole list (Bug#6083).
5434
5435 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5436
5437 * progmodes/js.el (js-mode): Make paragraph variables local before
5438 calling c-setup-paragraph-variables (Bug#6071).
5439
5440 2010-05-08 Eli Zaretskii <eliz@gnu.org>
5441
5442 * composite.el (compose-region, reference-point-alist): Fix typos
5443 in the doc strings.
5444
5445 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5446
5447 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
5448 gnuplot's "set" command.
5449
5450 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5451
5452 * abbrev.el (last-abbrev-text): Doc fix.
5453 (abbrev-prefix-mark): Don't escape parenthesis.
5454
5455 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
5456
5457 * composite.el (find-composition): Doc fix.
5458
5459 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5460
5461 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
5462 (sql-oracle-program, sql-sqlite-options)
5463 (sql-query-placeholders-and-send): Doc fixes.
5464 (sql-set-product, sql-interactive-mode): Reflow docstrings.
5465 (sql-imenu-generic-expression, sql-buffer)
5466 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
5467 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
5468 (sql-mode-sybase-font-lock-keywords)
5469 (sql-mode-informix-font-lock-keywords)
5470 (sql-mode-interbase-font-lock-keywords)
5471 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
5472 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
5473 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
5474 (sql-product-feature, sql-highlight-product)
5475 (comint-line-beginning-position, sql-rename-buffer)
5476 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
5477 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
5478 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
5479 Fix typos in docstrings.
5480
5481 2010-05-08 Juri Linkov <juri@jurta.org>
5482
5483 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
5484 property instead of `invisible' and `after-string' (bug#5998).
5485
5486 2010-05-08 Juri Linkov <juri@jurta.org>
5487
5488 * image-mode.el (image-mode-as-text): Fix typo in docstring.
5489
5490 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5491
5492 * filecache.el (file-cache-add-directory-list)
5493 (file-cache-add-directory-recursively): Fix typos in docstrings.
5494
5495 2010-05-08 Kenichi Handa <handa@m17n.org>
5496
5497 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
5498 (gujarati-composable-pattern): Fix typo.
5499
5500 2010-05-08 Kenichi Handa <handa@m17n.org>
5501
5502 * language/indian.el (oriya-composable-pattern)
5503 (tamil-composable-pattern, malayalam-composable-pattern):
5504 Add two-part vowels to "v" (vowel sign).
5505
5506 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5507
5508 * files.el (copy-directory): Handle symlinks (Bug#5982).
5509
5510 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
5511
5512 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
5513 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
5514 (Bug#5846).
5515
5516 2010-05-08 Glenn Morris <rgm@gnu.org>
5517
5518 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
5519
5520 * minibuffer.el (completion-at-point): Doc fix.
5521
5522 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5523
5524 * electric.el (Electric-command-loop): Minor tweak.
5525
5526 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
5527 better with dedicated windows.
5528
5529 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
5530
5531 * Version 23.2 released.
5532
5533 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
5534 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 Highlight vendor specific properties.
5537 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
5538 (css-proprietary-property): New face.
5539 (css-font-lock-keywords): Use them.
5540
5541 2010-05-07 Eli Zaretskii <eliz@gnu.org>
5542
5543 * cus-start.el (all): Add native condition for tool-bar-* symbols.
5544
5545 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5546
5547 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
5548 * files.el (auto-mode-alist): Remove redundant entries.
5549
5550 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
5551 * simple.el (auto-save-mode): Move from files.el.
5552 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
5553
5554 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
5555
5556 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5557
5558 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
5559
5560 * mail/binhex.el (binhex-decode-region-internal)
5561 * mail/uudecode.el (uudecode-decode-region-internal)
5562 * net/dns.el (dns-read-string-name, dns-write, dns-read)
5563 (dns-read-type, dns-query)
5564 * pgg-parse.el (pgg-parse-armor)
5565 * pgg.el (pgg-verify-region)
5566 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
5567 XEmacs.
5568
5569 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5570
5571 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
5572
5573 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5574
5575 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5576 * emulation/cua-base.el (cua-repeat-replace-region):
5577 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5578 (cua-cut-region-to-global-mark):
5579 Remove text properties with `set-text-properties'.
5580
5581 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
5582
5583 * net/tramp.el (top, with-progress-reporter):
5584 Use `symbol-function' inside `funcall'.
5585
5586 * net/tramp-compat.el (tramp-compat-file-attributes)
5587 (tramp-compat-delete-file, tramp-compat-delete-directory):
5588 Handle only `wrong-number-of-arguments' error.
5589
5590 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5591 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5592 inside `funcall'.
5593
5594 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 * minibuffer.el (completion--sreverse, completion--common-suffix):
5597 New functions.
5598 (completion-pcm--merge-completions): Extract common suffix when safe.
5599
5600 * emacs-lisp/easy-mmode.el (define-minor-mode):
5601 Make :variable more flexible.
5602 * files.el (auto-save-mode): Use it to define using define-minor-mode.
5603
5604 2010-05-05 Juri Linkov <juri@jurta.org>
5605
5606 Add `slow' and `history' tags to the desktop data.
5607
5608 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5609 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5610 (Info-finder-find-node): Require `finder.el' to be able
5611 to restore node from the desktop.
5612 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
5613 data `Info-history' and `slow' tag in the assoc list.
5614 (Info-restore-desktop-buffer): Don't restore nodes with the
5615 `slow' tag. Restore `Info-history'.
5616
5617 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
5618
5619 Add FORCE argument to `delete-file'.
5620
5621 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5622 forcing to delete the temporary file.
5623 (ange-ftp-delete-file): Add FORCE arg.
5624 (ange-ftp-rename-remote-to-remote)
5625 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5626 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5627 Force file deletion.
5628
5629 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5630
5631 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5632 (tramp-handle-make-symbolic-link, tramp-handle-load)
5633 (tramp-do-copy-or-rename-file-via-buffer)
5634 (tramp-do-copy-or-rename-file-directly)
5635 (tramp-do-copy-or-rename-file-out-of-band)
5636 (tramp-handle-process-file, tramp-handle-call-process-region)
5637 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5638 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5639 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5640
5641 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5642 (tramp-fish-handle-make-symbolic-link)
5643 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5644
5645 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5646 Use `tramp-compat-delete-file'.
5647
5648 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5649 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5650
5651 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5652 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5653
5654 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5655 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5656 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5657 `tramp-compat-delete-file'.
5658
5659 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 Minor cleanups.
5662 * subr.el (add-minor-mode): Use push.
5663 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5664 * emulation/edt.el (edt-select-mode): Simplify.
5665
5666 Use define-minor-mode in more cases.
5667 * term/tvi970.el (tvi970-set-keypad-mode):
5668 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5669 (normal-erase-is-backspace-mode):
5670 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5671 (set-scroll-bar-mode-1): (Re)move to its sole caller.
5672 (get-scroll-bar-mode): New function.
5673 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5674
5675 Use define-minor-mode for less obvious cases.
5676 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5677 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5678 * international/iso-ascii.el (iso-ascii-mode):
5679 * frame.el (auto-raise-mode, auto-lower-mode):
5680 * composite.el (global-auto-composition-mode): Use define-minor-mode.
5681
5682 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
5683
5684 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5685 in order to see error messages for failed logins.
5686
5687 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
5688
5689 * diff.el (diff-sentinel):
5690
5691 * epg.el (epg--make-temp-file, epg-decrypt-string)
5692 (epg-verify-string, epg-sign-string, epg-encrypt-string):
5693
5694 * jka-compr.el (jka-compr-partial-uncompress)
5695 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5696
5697 * server.el (server-sentinel): Use delete-file's new FORCE arg
5698 (Bug#6070).
5699
5700 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 Use define-minor-mode where applicable.
5703 * view.el (view-mode):
5704 * type-break.el (type-break-query-mode)
5705 (type-break-mode-line-message-mode):
5706 * textmodes/reftex.el (reftex-mode):
5707 * term/vt100.el (vt100-wide-mode):
5708 * tar-mode.el (tar-subfile-mode):
5709 * savehist.el (savehist-mode):
5710 * ibuf-ext.el (ibuffer-auto-mode):
5711 * composite.el (auto-composition-mode):
5712 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5713 Use define-minor-mode.
5714 (vhdl-mode): Use static mode-line format.
5715 (vhdl-mode-line-update): Delete.
5716 (vhdl-create-mode-menu, vhdl-activate-customizations)
5717 (vhdl-hs-minor-mode): Don't bother calling it.
5718
5719 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * simple.el (with-wrapper-hook): Move.
5722 (buffer-substring-filters): Mark obsolete.
5723 (filter-buffer-substring-functions): New variable.
5724 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
5725
5726 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5727 Michael Albinus <michael.albinus@gmx.de>
5728
5729 Implement compression for inline methods.
5730
5731 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5732 (tramp-copy-size-limit): Allow also nil.
5733 (tramp-inline-compress-commands): New defconst.
5734 (tramp-find-inline-compress, tramp-get-inline-compress)
5735 (tramp-get-inline-coding): New defuns.
5736 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5737 replaced by `tramp-get-inline-coding'.
5738 (tramp-handle-file-local-copy, tramp-handle-write-region)
5739 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5740
5741 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5744 Remove unused functions.
5745
5746 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5747 Set find-tag-default-function as a variable rather than a property.
5748
5749 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5750 * progmodes/etags.el (tags-completion-at-point-function):
5751 Remove left over interactive spec. Add autoloading stub.
5752 (complete-tag): Use tags-completion-at-point-function.
5753
5754 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
5755
5756 * minibuffer.el (tags-completion-at-point-function): Fix return value.
5757
5758 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5759
5760 * ido.el (ido-init-completion-maps): Remove C-v binding.
5761 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5762
5763 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5764
5765 * minibuffer.el (tags-completion-at-point-function): New function.
5766 (completion-at-point-functions): Use it.
5767
5768 * progmodes/etags.el (complete-tag): Revert last change.
5769
5770 2010-04-29 Alan Mackenzie <acm@muc.de>
5771
5772 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5773 off-by-one error (in end of macro position).
5774
5775 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5778 firefox is absent. Don't autoload.
5779 (browse-url-galeon-program): Don't autoload.
5780
5781 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
5782
5783 * bindings.el (complete-symbol): Move into minibuffer.el.
5784
5785 * minibuffer.el (complete-tag): Move from etags.el. If tags
5786 completion cannot be performed, return nil instead of signalling
5787 an error.
5788 (completion-at-point): Make it an alias for complete-symbol.
5789 (complete-symbol): Move from bindings.el, and replace with the
5790 body of completion-at-point.
5791
5792 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
5793
5794 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
5795
5796 * net/tramp.el (tramp-remote-selinux-p): New defun.
5797 (tramp-handle-file-selinux-context)
5798 (tramp-handle-set-file-selinux-context): Use it.
5799
5800 2010-04-28 Sam Steingold <sds@gnu.org>
5801
5802 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5803 `safe-local-variable' if the value is a string or a symbol with
5804 the property `bug-reference-url-format'.
5805
5806 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
5807
5808 * progmodes/bug-reference.el (bug-reference-url-format):
5809 Revert 2010-04-27 change due to security risk.
5810
5811 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 Make it possible to locally disable a globally enabled mode.
5814 * simple.el (fundamental-mode): Run fundamental-mode-hook.
5815 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
5816 rather than kill-all-local-variables so it runs fundamental-mode-hook.
5817 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5818 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
5819 that subsequent hooks get a chance to disable it.
5820
5821 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5824 Avoid re-enabling a minor mode after the user turned the minor mode
5825 off if MODE-enable-in-buffers is run twice (typically once from
5826 fundamental-mode's after-change-major-mode-hook and a second time from
5827 run-mode-hook's own after-change-major-mode-hook).
5828
5829 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
5830
5831 2010-04-27 Sam Steingold <sds@gnu.org>
5832
5833 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5834 `safe-local-variable' if the value is a string or a function, as
5835 documented and implemented on 2010-04-02.
5836
5837 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
5838
5839 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
5840 when method is 'kill.
5841
5842 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
5843
5844 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
5845 condition in default directory check.
5846 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
5847 Kill ispell process when killing its associated buffer.
5848
5849 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
5850
5851 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
5852 but we aren't using it.
5853
5854 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
5855
5856 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
5857 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
5858
5859 2010-04-24 Glenn Morris <rgm@gnu.org>
5860
5861 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
5862 Ignore VCS-ignore files, and deleted nextstep preferences files.
5863 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
5864 (authors-ambiguous-files): New list.
5865 (authors-valid-file-names): Add some deleted files.
5866 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
5867 (authors-disambiguate-file-name): New function. (Bug#5501)
5868 (authors-canonical-file-name): Doc fix.
5869 Don't warn about obsolete files.
5870 (authors-canonical-file-name, authors-scan-el):
5871 Use authors-disambiguate-file-name.
5872
5873 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5874 Add autoload cookies.
5875 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
5876 (generated-autoload-file): Set file-local value to "htmlfontify.el".
5877 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
5878 They have definitions / compiler macros in cl.el.
5879 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5880 Replace manual autoloads with generated ones.
5881 (htmlfontify-unload-rgb-file): Remove autoload.
5882 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
5883
5884 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
5887 (byte-compile-setq-default): Optimize for the
5888 single-var case and don't call byte-compile-form in this case to avoid
5889 inf-loop with byte-compile-set-default.
5890
5891 * progmodes/compile.el (compilation-start): Abbreviate default directory.
5892
5893 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
5894
5895 Implement SELINUX backends.
5896
5897 * net/tramp.el (tramp-file-name-handler-alist):
5898 Add `file-selinux-context' and `set-file-selinux-context'.
5899 (tramp-handle-file-selinux-context)
5900 (tramp-handle-set-file-selinux-context): New defuns.
5901 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5902 Handle PRESERVE-SELINUX-CONTEXT.
5903
5904 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5905 Add `file-selinux-context' and `set-file-selinux-context'.
5906 (tramp-gvfs-handle-file-selinux-context)
5907 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5908 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5909
5910 * net/ange-ftp.el (ange-ftp-copy-file):
5911 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5912 * net/tramp-imap.el (tramp-imap-handle-copy-file):
5913 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5914 Add PRESERVE-SELINUX-CONTEXT.
5915
5916 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5917
5918 Synchronize with Tramp repository.
5919
5920 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
5921 (tramp-action-process-alive, tramp-action-out-of-band)
5922 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5923 (tramp-exists-file-name-handler): Fix docstring.
5924 (with-progress-reporter): New defmacro.
5925 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
5926 (tramp-maybe-open-connection): Use it.
5927
5928 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
5929
5930 Detect ssh 'ControlMaster' argument automatically in some cases.
5931
5932 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5933 (tramp-default-method): Use it.
5934
5935 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5936
5937 * net/tramp.el (tramp-handle-copy-file): Add new optional
5938 parameter `preserve-selinux-context'.
5939 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
5940
5941 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5942
5943 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
5944 Ensure, that non remote files are still checked. Oops.
5945
5946 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
5947
5948 Fix Bug#5840.
5949
5950 * icomplete.el (icomplete-completions): Use `non-essential'.
5951
5952 * net/tramp.el (tramp-connectable-p): New defun.
5953 (tramp-handle-expand-file-name)
5954 (tramp-completion-handle-file-name-all-completions)
5955 (tramp-completion-handle-file-name-completion): Use it.
5956
5957 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
5960
5961 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
5962
5963 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
5964
5965 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
5966
5967 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
5968 is present.
5969
5970 * info.el (info-tool-bar-map): Add labels.
5971
5972 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
5973
5974 * cus-edit.el (custom-commands): Add labels for tool bar.
5975 (custom-buffer-create-internal, Custom-mode): Adjust for
5976 labels in custom-commands.
5977
5978 * dynamic-setting.el: Renamed from font-setting.el.
5979
5980 2010-04-21 John Wiegley <jwiegley@gmail.com>
5981
5982 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
5983 toggles the use of virtual buffers.
5984 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
5985 (ido-toggle-virtual-buffers): New function.
5986
5987 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
5988
5989 Use `define-derived-mode'; fix window selection; doc fixes.
5990 * play/tetris.el (tetris, tetris-update-speed-function)
5991 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
5992 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
5993 (tetris-rotate-next, tetris-end-game, tetris-start-game)
5994 (tetris-pause-game): Fix typos in docstrings.
5995 (tetris-mode-map, tetris-null-map):
5996 Move initialization into declaration.
5997 (tetris-mode): Define with `define-derived-mode';
5998 set show-trailing-whitespace to nil.
5999 (tetris): Prefer window already displaying the "*Tetris*" buffer.
6000
6001 2010-04-21 Karel Klíč <kklic@redhat.com>
6002
6003 * files.el (backup-buffer): Handle SELinux context, and return it
6004 if a backup was made by renaming.
6005 (backup-buffer-copy): Set SELinux context to the target file.
6006 (basic-save-buffer): Set SELinux context of the newly written file.
6007 (basic-save-buffer-1): Now it also returns any SELinux context.
6008 (basic-save-buffer-2): Set SELinux context of the newly created file,
6009 and return it.
6010 * net/tramp.el (tramp-file-name-for-operation):
6011 Add file-selinux-context.
6012
6013 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 Make the log-edit comments use RFC822 format throughout.
6016
6017 * vc.el (vc-checkin, vc-modify-change-comment):
6018 Adjust to new vc-start/finish-logentry.
6019 (vc-find-conflicted-file): New command.
6020 (vc-transfer-file): Adjust to new vc-checkin.
6021 (vc-next-action): Improve scoping.
6022
6023 * vc-hg.el (vc-hg-log-edit-mode): Remove.
6024 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
6025
6026 * vc-git.el (vc-git-log-edit-mode): Remove.
6027 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
6028 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
6029
6030 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
6031 (vc-start-logentry): Remove argument `extra'.
6032 (vc-finish-logentry): Remove extra args.
6033
6034 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
6035 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
6036 (vc-bzr-conflicted-files): New function.
6037
6038 * log-edit.el (log-edit-extra-flags)
6039 (log-edit-before-checkin-process): Remove.
6040 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
6041 (log-edit-headers-alist): New var.
6042 (log-edit-header-contents-regexp): New const.
6043 (log-edit-match-to-eoh): New function.
6044 (log-edit-font-lock-keywords): Use them.
6045 (log-edit): Insert a "Summary:" header as default.
6046 (log-edit-mode): Mark font-lock rules as case-insensitive.
6047 (log-edit-done): Cleanup headers.
6048 (log-view-process-buffer): Remove.
6049 (log-edit-extract-headers): New function to replace it.
6050
6051 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
6052
6053 * subr.el (default-direction-reversed): Remove obsolescence info.
6054
6055 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6057 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
6058 windows/frames.
6059
6060 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
6061 I.e. include text after point in the completion region.
6062 Also, return nil when we're not after/in a symbol.
6063
6064 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
6065 default enable-multibyte-characters.
6066
6067 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * international/mule.el: Help the user choose a valid coding-system.
6070 (read-buffer-file-coding-system): New function.
6071 (set-buffer-file-coding-system): Use it. Prompt the user if the
6072 coding-system cannot encode all the chars.
6073
6074 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
6075 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
6076 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
6077 Don't use *vc-bzr-shelve*.
6078
6079 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
6080
6081 Fix the version number for added files.
6082 * vc-hg.el (vc-hg-working-revision): Check if the file is
6083 registered after hg parent fails (Bug#5961).
6084
6085 2010-04-19 Glenn Morris <rgm@gnu.org>
6086
6087 * htmlfontify.el (htmlfontify-buffer)
6088 (htmlfontify-copy-and-link-dir): Autoload entry points.
6089
6090 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
6091
6092 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
6093 name relative to the project root (Bug#5960).
6094
6095 2010-04-19 Glenn Morris <rgm@gnu.org>
6096
6097 * vc-git.el (vc-git-print-log): Doc fix.
6098
6099 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
6100
6101 * ido.el (ido-file-internal): Fix 2009-12-02 change.
6102
6103 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
6104
6105 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
6106 default settings (Bug#5928).
6107
6108 2010-04-19 Glenn Morris <rgm@gnu.org>
6109
6110 * progmodes/fortran.el (fortran-match-and-skip-declaration):
6111 New function.
6112 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
6113
6114 2010-04-19 Kenichi Handa <handa@m17n.org>
6115
6116 * language/indian.el (malayalam-composable-pattern): Fix previous
6117 change (add U+0D4D "SIGN VIRAMA").
6118 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
6119 (tamil-composable-pattern): Fix typo in the regexp.
6120 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
6121 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
6122 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
6123
6124 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6125
6126 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
6127 paragraph-separate (Bug#5821).
6128
6129 2010-04-19 Juri Linkov <juri@jurta.org>
6130
6131 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
6132
6133 * info.el (Info-find-node-2): Comment out code that skips
6134 breadcrumbs line.
6135 (Info-mouse-follow-link): New command.
6136 (Info-link-keymap): New keymap.
6137 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
6138 Return a string with links instead of inserting breadcrumbs
6139 to the Info buffer.
6140 (Info-fontify-node): Comment out code that inserts breadcrumbs.
6141 Instead of putting the `invisible' text property over the Info
6142 header, make an overlay over the Info header with the `invisible'
6143 property and `after-string' set to the string returned by
6144 `Info-breadcrumbs'.
6145
6146 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6147
6148 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
6149 Reported by monkey@sandpframing.com.
6150
6151 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6152
6153 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
6154 (tmm-get-keymap): Add key-binding shortcuts now that they're not
6155 available in the "keyseq cache" any more.
6156
6157 * custom.el (defcustom): Add edebug spec.
6158
6159 2010-04-18 Juri Linkov <juri@jurta.org>
6160
6161 Test for special mode-class in view-buffer instead of view-file (bug#5513).
6162
6163 * view.el (view-file, view-buffer): Move test for special mode-class
6164 from view-file to view-buffer.
6165
6166 * tar-mode.el (tar-extract): Turn if's into one cond
6167 like in arc-mode.el.
6168
6169 2010-04-18 Juri Linkov <juri@jurta.org>
6170
6171 Add 7z archive format support (bug#5475).
6172
6173 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
6174 (archive-7z-extract): New defcustom.
6175 (archive-find-type): Add magic string for 7z.
6176 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
6177 If `stderr-file' is non-nil, use `(t stderr-file)' for the
6178 `buffer' arg of `call-process'.
6179 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
6180 call the function `archive-7z-extract' with the variable
6181 `archive-7z-extract' let-bound to `archive-zip-extract'.
6182 (archive-7z-summarize, archive-7z-extract): New functions.
6183
6184 * international/mule.el (auto-coding-alist):
6185 * files.el (auto-mode-alist): Add 7z file extension.
6186
6187 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * loadup.el: Setup hash-cons for pure data.
6190
6191 Fix duplicate entries in cedet's loaddefs.el files.
6192 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
6193 Should make most file-local generated-autoload-file unnecessary.
6194 (print-readably): Silence warnings.
6195 (autoload-find-destination): Take load-name as an arg to make sure
6196 it's the same as the one that will be in the file.
6197 (autoload-generate-file-autoloads): Adjust to above changes.
6198 Try to make the dataflow a bit simpler.
6199
6200 * cvs-status.el (cvs-refontify): Remove unused.
6201
6202 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
6203
6204 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
6205
6206 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
6207 twos-complement mode.
6208
6209 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
6210
6211 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
6212 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
6213 (calc-inverse): Add "Option" to message, as appropriate.
6214 (calc-hyperbolic): Add "Option" to message, as appropriate.
6215 (calc-option, calc-is-option): New functions.
6216
6217 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
6218 (calc-option-prefix-help): New function.
6219
6220 * calc/calc-misc.el (calc-help): Add "Option" entry.
6221
6222 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
6223 (calc-option-flag): New variable.
6224 (calc-do): Set `calc-option-flag to nil.
6225 (calc-set-mode-line): Add "Opt " as appropriate.
6226
6227 2010-04-16 Juri Linkov <juri@jurta.org>
6228
6229 Move scrolling commands from simple.el to window.el
6230 because their primitives are implemented in window.c.
6231
6232 * simple.el (scroll-error-top-bottom)
6233 (scroll-up-command, scroll-down-command, scroll-up-line)
6234 (scroll-down-line, scroll-other-window-down)
6235 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6236 * window.el (scroll-error-top-bottom)
6237 (scroll-up-command, scroll-down-command, scroll-up-line)
6238 (scroll-down-line, scroll-other-window-down)
6239 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6240 Move from simple.el to window.el because their primitives are
6241 implemented in window.c.
6242
6243 2010-04-16 Juri Linkov <juri@jurta.org>
6244
6245 * isearch.el (isearch-lookup-scroll-key): Check both
6246 `isearch-scroll' and `scroll-command' properties.
6247 (scroll-up, scroll-down): Remove `isearch-scroll' property.
6248
6249 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
6250
6251 * simple.el (scroll-up-command, scroll-down-command)
6252 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
6253
6254 2010-04-15 Juri Linkov <juri@jurta.org>
6255
6256 * simple.el (scroll-up-command, scroll-down-command)
6257 (scroll-up-line, scroll-down-line): Put `scroll-command'
6258 property on the these symbols. Remove them from
6259 `scroll-preserve-screen-position-commands'.
6260
6261 * mwheel.el (mwheel-scroll): Put `scroll-command' and
6262 `isearch-scroll' properties on the `mwheel-scroll' symbol.
6263 Remove it from `scroll-preserve-screen-position-commands'.
6264
6265 * isearch.el (isearch-allow-scroll): Doc fix.
6266
6267 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
6268
6269 * net/tramp.el (tramp-error-with-buffer): Don't show the
6270 connection buffer when we are in completion mode.
6271 (tramp-file-name-handler): Catch the error for some operations
6272 when we are in completion mode. This gives the user the chance to
6273 correct the file name in the minibuffer.
6274
6275 2010-04-15 Glenn Morris <rgm@gnu.org>
6276
6277 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
6278
6279 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
6280
6281 Simplify by using `define-derived-mode'.
6282 * info.el (Info-mode):
6283 * calendar/todo-mode.el (todo-mode):
6284 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
6285 (gomoku-mode-map): Move initialization into declaration.
6286
6287 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
6288
6289 Fix Bug#5840.
6290 * ido.el (ido-file-name-all-completions-1):
6291 * minibuffer.el (minibuffer-completion-help):
6292 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
6293
6294 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * simple.el (non-essential): New var.
6297
6298 Add a new field `location' to bookmarks for non-file bookmarks.
6299 * bookmark.el (bookmark-location): Use the new field, if present.
6300 (bookmark-insert-location): Undo last change, not needed any more.
6301 * man.el (Man-bookmark-make-record):
6302 * woman.el (woman-bookmark-make-record): Add `location' field.
6303
6304 2010-04-14 Juri Linkov <juri@jurta.org>
6305
6306 * simple.el (scroll-error-top-bottom): New defcustom.
6307 (scroll-up-command, scroll-down-command): Use it. Doc fix.
6308
6309 * emulation/pc-select.el (pc-select-override-scroll-error):
6310 Obsolete in favor of `scroll-error-top-bottom'.
6311
6312 2010-04-14 Juri Linkov <juri@jurta.org>
6313
6314 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
6315 `scroll-up-command' and `M-v' to `scroll-down-command'.
6316
6317 * emulation/cua-rect.el (cua--init-rectangles):
6318 * forms.el (forms--change-commands):
6319 * image-mode.el (image-mode-map):
6320 Remap scroll-down-command and scroll-up-command
6321 in addition to scroll-down and scroll-up.
6322
6323 2010-04-14 Juri Linkov <juri@jurta.org>
6324
6325 * mwheel.el (scroll-preserve-screen-position-commands):
6326 Add mwheel-scroll to this list of commands.
6327
6328 * simple.el (scroll-preserve-screen-position-commands):
6329 Add scroll-up-command, scroll-down-command, scroll-up-line,
6330 scroll-down-line to this list of commands.
6331
6332 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6333
6334 * obsolete/complete.el: Move from lisp/complete.el.
6335
6336 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
6337
6338 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
6339 to the minor mode function now turns the mode ON unconditionally.
6340
6341 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * vc-dir.el (vc-dir-kill-line): New command.
6344 (vc-dir-mode-map): Bind it to C-k.
6345
6346 * bookmark.el (bookmark-insert-location): Handle a nil filename.
6347
6348 * woman.el: Add bookmark declarations to silence the compiler.
6349 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
6350 step to compatibility between man and woman bookmarks.
6351 Adjust for Man-default-bookmark-title renaming.
6352 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
6353
6354 * man.el: Add bookmark declarations to silence the compiler.
6355 (Man-name-local-regexp): Make it match NAME as well.
6356 (Man-getpage-in-background): Return the buffer.
6357 (Man-notify-when-ready): Use `case'.
6358 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
6359 Don't hardcode "NAME". Simplify.
6360 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
6361 Rename from Man-bookmark-make-record.
6362 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
6363 we have the actual man-args. Use Man-getpage-in-background rather
6364 than `man' since the arg is already processed. Let bookmark.el do the
6365 window handling. Only wait for the relevant process.
6366 Don't forget to autoload.
6367
6368 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
6369
6370 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6371
6372 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
6373 New functions.
6374 (woman-mode): Setup bookmark support.
6375
6376 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
6377 (man-bookmark-jump): New functions.
6378 (Man-mode): Setup bookmark support.
6379
6380 2010-04-10 Jari Aalto <jari.aalto@cante.net>
6381
6382 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
6383 recognize ssh-keygen prompt (Bug#2817).
6384
6385 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6386
6387 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
6388
6389 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6390
6391 Synchronize with Tramp repository.
6392
6393 * net/tramp.el (tramp-completion-function-alist)
6394 (tramp-file-name-regexp, tramp-chunksize)
6395 (tramp-local-coding-commands, tramp-remote-coding-commands):
6396 Fix docstring.
6397 (tramp-remote-process-environment): Use `format' instead of `concat'.
6398 (tramp-handle-directory-files-and-attributes)
6399 (tramp-get-remote-path): Use `copy-tree'.
6400 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6401 compatibility: Use `completion-ignore-case' if
6402 `read-file-name-completion-ignore-case' does not exist.
6403 (tramp-do-copy-or-rename-file-directly): Do not use
6404 `tramp-handle-file-remote-p'.
6405 (tramp-do-copy-or-rename-file-out-of-band):
6406 Use `tramp-compat-delete-directory'.
6407 (tramp-do-copy-or-rename-file-out-of-band)
6408 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6409 Use `format-spec-make'.
6410 (tramp-find-foreign-file-name-handler)
6411 (tramp-advice-make-auto-save-file-name)
6412 (tramp-set-auto-save-file-modes): Remove superfluous check for
6413 `stringp'. This is done inside `tramp-tramp-file-p'.
6414 (tramp-debug-outline-regexp): New defconst.
6415 (tramp-get-debug-buffer): Use it.
6416 (tramp-check-for-regexp): Use (forward-line 1).
6417 (tramp-set-auto-save-file-modes): Adapt version check.
6418
6419 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
6420 Wrap call of `featurep' for 2nd argument.
6421 (tramp-compat-make-temp-file): Simplify fallback implementation.
6422 (tramp-compat-copy-tree): Remove function.
6423 (tramp-compat-delete-directory): Provide implementation for older
6424 Emacsen.
6425
6426 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
6427 Do not use `tramp-fish-handle-file-attributes.
6428
6429 * net/trampver.el: Update release number.
6430
6431 2010-04-10 Glenn Morris <rgm@gnu.org>
6432
6433 * progmodes/compile.el (compilation-save-buffers-predicate):
6434 Add missing :version tag.
6435
6436 2010-04-09 Sam Steingold <sds@gnu.org>
6437
6438 * progmodes/compile.el (compilation-save-buffers-predicate):
6439 Remove the "autoload" cookie.
6440
6441 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
6442 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
6443 and `bug-reference-prog-mode' can be used in hooks directly.
6444
6445 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
6446
6447 Add --author support to git commit.
6448 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
6449 (vc-git-log-edit-mode): New minor mode.
6450 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
6451 New declarations.
6452
6453 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
6454
6455 * vc-hooks.el, vc-git.el: Improve documentation comments.
6456
6457 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6459 Fix some of the problems in defsubst* (bug#5728).
6460 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
6461 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
6462
6463 2010-04-07 Sam Steingold <sds@gnu.org>
6464
6465 * progmodes/compile.el (compilation-save-buffers-predicate):
6466 New custom variable.
6467 (compile, recompile): Pass it to `save-some-buffers'.
6468
6469 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
6470
6471 * wid-edit.el (widget-choose): Move cursor to the second line of
6472 the buffer (Bug#5695).
6473
6474 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
6475
6476 Add new VC methods: vc-log-incoming and vc-log-outgoing.
6477 * vc.el (vc-print-log-setup-buttons): New function split out from
6478 vc-print-log-internal.
6479 (vc-log-internal-common): New function, a parametrized version of
6480 vc-print-log-internal.
6481 (vc-print-log-internal): Just call vc-log-internal-common with the
6482 right arguments.
6483 (vc-incoming-outgoing-internal):
6484 (vc-log-incoming, vc-log-outgoing): New functions.
6485 (vc-log-view-type): New permanent local variable.
6486
6487 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
6488
6489 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
6490 of the dynamic bound vc-short-log.
6491 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
6492
6493 * vc-git.el (vc-git-log-outgoing): New function.
6494 (vc-git-log-view-mode): Use vc-log-view-type instead
6495 of the dynamic bound vc-short-log.
6496
6497 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
6498 of the dynamic bound vc-short-log. Highlight the tag.
6499 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
6500 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
6501 (vc-hg-incoming-mode): Remove.
6502 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
6503
6504 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
6505
6506 Fix default-directory for vc-root-diff.
6507 * vc.el (vc-root-diff): Bind default-directory to the root
6508 directory for the diff command.
6509
6510 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
6511
6512 * progmodes/verilog-mode.el (verilog-forward-sexp):
6513 (verilog-calc-1): Support "disable fork" and "fork wait" multi
6514 word keywords, suggested by Steve Pearlmutter.
6515 (verilog-pretty-declarations): Support lineup of declarations in
6516 port lists.
6517 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
6518 fix bug for /* / comments.
6519 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
6520 Speed up and simplfy as this is never called with a bound.
6521 (verilog-pretty-declarations): Enhance to line up declarations
6522 inside a parameter list, suggested by Alan Morgan.
6523 (verilog-pretty-expr): Tune assignment regular expression match
6524 string for corner cases; also use markers instead of character
6525 number as indent changes the later.
6526
6527 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
6528
6529 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
6530 as missing keyword.
6531 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
6532 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
6533 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
6534 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
6535 Tennant.
6536 (verilog-keywords):
6537 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
6538 1800-2009 keywords, including "global.".
6539
6540 2010-04-06 John Wiegley <jwiegley@gmail.com>
6541
6542 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
6543 appearing in buffer list (if a live buffer name matched a recentf
6544 file basename). Should use uniquify to offer a real solution.
6545
6546 2010-04-06 John Wiegley <jwiegley@gmail.com>
6547
6548 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
6549 comment to code, and add a :version tag.
6550 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
6551
6552 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
6553
6554 Enable recentf-mode if using virtual buffers.
6555 * ido.el (recentf-list): Declare for byte-compiler.
6556 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
6557 (ido-make-buffer-list): Simplify.
6558 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
6559
6560 2010-04-05 Juri Linkov <juri@jurta.org>
6561
6562 Scrolling commands which scroll a line instead of full screen.
6563 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6564
6565 * simple.el (scroll-up-line, scroll-down-line): New commands.
6566 Put property isearch-scroll=t on them.
6567
6568 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
6569 Remove commands.
6570
6571 2010-04-05 Juri Linkov <juri@jurta.org>
6572
6573 Scrolling commands which do not signal errors at top/bottom.
6574 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6575
6576 * simple.el (scroll-up-command, scroll-down-command): New commands.
6577 Put property isearch-scroll=t on them.
6578
6579 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6580 `scroll-down-command' and [next] from `scroll-up' to
6581 `scroll-up-command'.
6582
6583 * emulation/cua-base.el: Put property CUA=move on
6584 `scroll-up-command' and `scroll-down-command'.
6585 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6586 and `scroll-down-command' to `cua-scroll-down'.
6587
6588 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
6589
6590 * help.el (describe-mode): Return nil.
6591
6592 2010-04-04 John Wiegley <jwiegley@gmail.com>
6593
6594 * ido.el (ido-use-virtual-buffers): New variable to indicate
6595 whether "virtual buffer" support is enabled for IDO.
6596 (ido-virtual): Face used to indicate virtual buffers in the list.
6597 (ido-buffer-internal): If a buffer is chosen, and no such buffer
6598 exists, but a virtual buffer of that name does (which would be why
6599 it was in the list), recreate the buffer by reopening the file.
6600 (ido-make-buffer-list): If virtual buffers are being used, call
6601 `ido-add-virtual-buffers-to-list' before the make list hook.
6602 (ido-virtual-buffers): New variable which contains a copy of the
6603 current contents of the `recentf-list', albeit pared down for the
6604 sake of speed, and with proper faces applied.
6605 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6606 create a list of "virtual buffers" to present to the user in
6607 addition to the currently open set. Note that this logic could
6608 get rather slow if that list is too large. With the default
6609 `recentf-max-saved-items' of 200, there is little speed penalty.
6610
6611 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * font-lock.el: Require CL when compiling.
6614 (font-lock-turn-on-thing-lock): Use `case'.
6615
6616 2010-04-03 Eli Zaretskii <eliz@gnu.org>
6617
6618 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6619 Zaretskii.
6620
6621 2010-04-02 Juri Linkov <juri@jurta.org>
6622
6623 * ehelp.el (electric-help-orig-major-mode):
6624 New buffer-local variable.
6625 (electric-help-mode): Set it to original major-mode. Doc fix.
6626 (with-electric-help): Use `electric-help-orig-major-mode' instead
6627 of (default-value 'major-mode). Doc fix.
6628 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6629
6630 2010-04-02 Sam Steingold <sds@gnu.org>
6631
6632 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6633 `vc-hg-command' with a list of flags.
6634
6635 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6636 Also accept "patch" and "RFE".
6637 (bug-reference-fontify): `bug-reference-url-format' can also be a
6638 function to be able to handle the bug kind.
6639 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6640
6641 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
6642
6643 * tmm.el (tmm-get-keymap): Check with symbolp before passing
6644 value to fboundp, it may not be a symbol.
6645
6646 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6647
6648 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6649
6650 2010-03-31 Juri Linkov <juri@jurta.org>
6651
6652 * simple.el (next-line, previous-line): Re-throw a signal
6653 with `signal' instead of using `ding'.
6654 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6655
6656 2010-03-31 Juri Linkov <juri@jurta.org>
6657
6658 * simple.el (keyboard-escape-quit): Raise deselecting the active
6659 region higher than exiting the minibuffer.
6660 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6661
6662 2010-03-31 Juri Linkov <juri@jurta.org>
6663
6664 * image.el (image-animated-p): Use `image-metadata' instead of
6665 `image-extension-data'. Get GIF extenstion data from metadata
6666 property `extension-data'.
6667
6668 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * simple.el (append-to-buffer): Simplify.
6671
6672 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
6673
6674 * textmodes/artist.el (artist-mode): Fix typo in docstring.
6675 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
6676
6677 2010-03-31 Kenichi Handa <handa@m17n.org>
6678
6679 * language/sinhala.el (composition-function-table): Fix regexp for
6680 the new Unicode specification.
6681
6682 * language/indian.el (devanagari-composable-pattern)
6683 (tamil-composable-pattern, kannada-composable-pattern)
6684 (malayalam-composable-pattern): Adjust for the new Unicode
6685 specification.
6686 (bengali-composable-pattern, gurmukhi-composable-pattern)
6687 (gujarati-composable-pattern, oriya-composable-pattern)
6688 (telugu-composable-pattern): New variables to cope with the new
6689 Unicode specification. Use them in composition-function-table.
6690
6691 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 Make tmm-menubar work for the Buffers menu again (bug#5726).
6694 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6695 vectors rather than cons cells, as used in menu-bar-update-buffers.
6696
6697 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6698
6699 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6700 (js-insert-and-indent): Revert 2009-08-15 change, restoring
6701 electric punctuation for "{}();,:" (Bug#5586).
6702
6703 * mail/sendmail.el (mail-default-directory): Doc fix.
6704
6705 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6706
6707 * mail/sendmail.el (mail-default-directory): Doc fix.
6708
6709 2010-03-31 Eli Zaretskii <eliz@gnu.org>
6710
6711 * subr.el (version-regexp-alist, version-to-list)
6712 (version-list-<, version-list-=, version-list-<=)
6713 (version-list-not-zero, version<, version<=, version=): Doc fix.
6714 (Bug#5744).
6715
6716 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
6717
6718 * vc.el (vc-root-diff): Doc fix.
6719
6720 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6721
6722 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6723
6724 * simple.el (append-to-buffer): Fix last change.
6725
6726 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6727
6728 * simple.el (append-to-buffer): Ensure that point is preserved if
6729 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
6730 (Bug#5749)
6731
6732 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 * files.el (auto-mode-case-fold): Change default to t.
6735
6736 2010-03-30 Juri Linkov <juri@jurta.org>
6737
6738 * dired-x.el (dired-omit-mode): Doc fix.
6739
6740 2010-03-30 Juri Linkov <juri@jurta.org>
6741
6742 * replace.el (occur-accumulate-lines): Move occur-engine related
6743 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6744 to be located after `occur-engine'.
6745
6746 2010-03-30 Juri Linkov <juri@jurta.org>
6747
6748 Make occur handle multi-line matches cleanly with context.
6749 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6750
6751 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6752 (occur-engine): Add local variables `ret', `prev-after-lines',
6753 `prev-lines'. Use more arguments for `occur-context-lines'.
6754 Set first elem of its returned list to `data', and the second elem
6755 to `prev-after-lines'. Don't print the separator line.
6756 In the end, print remaining context after-lines.
6757 (occur-context-lines): Add new arguments `begpt', `endpt',
6758 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
6759 after-lines of the previous match with before-lines of the
6760 current match and not overlap them. Return a list with two
6761 values: the output line and the list of context after-lines.
6762
6763 2010-03-30 Juri Linkov <juri@jurta.org>
6764
6765 * replace.el (occur-accumulate-lines): Fix a bug where the first
6766 context line at the beginning of the buffer was missing.
6767
6768 2010-03-30 Eli Zaretskii <eliz@gnu.org>
6769
6770 * files.el: Make bidi-display-reordering safe variable for boolean
6771 values.
6772
6773 2010-03-29 Phil Hagelberg <phil@evri.com>
6774 Chong Yidong <cyd@stupidchicken.com>
6775
6776 * subr.el: Extend progress reporters to perform "spinning".
6777 (progress-reporter-update, progress-reporter-do-update):
6778 Handle non-numeric value arguments.
6779 (progress-reporter--pulse-characters): New var.
6780
6781 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
6782
6783 * progmodes/compile.el (compilation-start): Fix regexp detection
6784 of initial cd command (Bug#5771).
6785
6786 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
6787
6788 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
6789
6790 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
6791
6792 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
6793 * progmodes/gdb-mi.el: Restore.
6794 * progmodes/gdb-ui.el: Remove.
6795 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
6796
6797 2010-03-25 Glenn Morris <rgm@gnu.org>
6798
6799 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
6800 all dired buffers, even tramp ones. (Bug#5755)
6801
6802 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 Add "union tags" in mpc.el.
6805 * mpc.el: Remove backward compatibility code.
6806 (mpc-browser-tags): Change default.
6807 (mpc--find-memoize-union-tags): New var.
6808 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
6809 (mpc-cmd-find): Handle the case where the playlist does not exist.
6810 Handle union-tags.
6811 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
6812 (mpc-cmd-add): Use mpc-cmd-flush.
6813 (mpc-tagbrowser-tag-name): New fun.
6814 (mpc-tagbrowser-buf): Use it.
6815 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
6816
6817 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6818
6819 Misc cleanup.
6820 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
6821 Use replace-regexp-in-string.
6822 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
6823 (makefile-imake-mode-syntax-table): Move init into defvar.
6824 (makefile-mode): Use define-derived-mode.
6825
6826 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
6827 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
6828 not be present any more.
6829
6830 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6831
6832 * faces.el (set-face-attribute): Fix typo in docstring.
6833 (face-valid-attribute-values): Reflow docstring.
6834
6835 2010-03-24 Glenn Morris <rgm@gnu.org>
6836
6837 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
6838
6839 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
6840
6841 * indent.el (indent-for-tab-command): Doc fix.
6842
6843 2010-03-24 Alan Mackenzie <acm@muc.de>
6844
6845 * progmodes/cc-engine.el (c-remove-stale-state-cache):
6846 Fix off-by-one error. Fixes bug #5747.
6847
6848 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6849
6850 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
6851 (image-dired-read-comment): Doc fix.
6852
6853 * json.el (json-object-type, json-array-type, json-key-type)
6854 (json-false, json-null, json-read-number):
6855 * minibuffer.el (completion-in-region-functions):
6856 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
6857 (cal-tex-cursor-week):
6858 * emacs-lisp/trace.el (trace-function):
6859 * eshell/em-basic.el (eshell/printnl):
6860 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
6861 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
6862 * obsolete/levents.el (allocate-event, event-key, event-object)
6863 (event-point, event-process, event-timestamp, event-to-character)
6864 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
6865 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
6866 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
6867 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
6868 (reftex-highlight-selection): Fix typos in docstrings.
6869
6870 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6871
6872 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
6873
6874 2010-03-24 Glenn Morris <rgm@gnu.org>
6875
6876 * mail/rmail.el (rmail-highlight-face): Restore option deleted
6877 2008-02-13 without comment; mark it obsolete.
6878 (rmail-highlight-headers): Use rmail-highlight-face once more.
6879
6880 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
6881
6882 * woman.el (woman2-process-escapes): Only consume the newline if
6883 the filler character is on a line by itself (Bug#5729).
6884
6885 2010-03-24 Kenichi Handa <handa@m17n.org>
6886
6887 * language/indian.el (devanagari-composable-pattern): Add more
6888 consonants.
6889
6890 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
6891
6892 * net/trampver.el: Update release number.
6893
6894 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
6895
6896 * net/tramp.el (tramp-find-executable):
6897 Use `tramp-get-connection-buffer'. Make the regexp for checking
6898 output of "wc -l" more robust.
6899 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
6900 (tramp-open-connection-setup-interactive-shell): Remove workaround
6901 for OpenSolaris bug, it is not needed anymore.
6902
6903 2010-03-24 Glenn Morris <rgm@gnu.org>
6904
6905 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
6906
6907 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
6908
6909 * files.el (auto-mode-alist): Accept more verilog file patterns.
6910
6911 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6912
6913 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
6914
6915 2010-03-24 Glenn Morris <rgm@gnu.org>
6916
6917 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
6918 log-edit-before-checkin-process.
6919
6920 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
6921
6922 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
6923
6924 * vc-dispatcher.el (vc-start-logentry): Doc fix.
6925 (log-view-process-buffer, log-edit-extra-flags): Declare.
6926
6927 * log-edit.el (log-edit-before-checkin-process): Doc fix.
6928
6929 2010-03-23 Sam Steingold <sds@gnu.org>
6930
6931 Fix bug#5620: recalculate all markers on compilation buffer
6932 modifications, not on file modifications.
6933 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
6934 the buffer modification time, for buffers not associated with files.
6935 (compilation-mode): Create it.
6936 (compilation-filter): Update it.
6937 (compilation-next-error-function): Use it instead of
6938 `visited-file-modtime' for timestamp.
6939
6940 2010-03-23 Juri Linkov <juri@jurta.org>
6941
6942 Implement Occur multi-line matches.
6943 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
6944
6945 * replace.el (occur): Doc fix.
6946 (occur-engine): Set `begpt' to the beginning of the first line.
6947 Set `endpt' to the end of the last match line. At first, count
6948 line numbers between `origpt' and `begpt'. Split out code from
6949 `out-line' variable to new let-bindings `match-prefix' and
6950 `match-str'. In `out-line' add non-numeric prefix to all
6951 non-first lines of multi-line matches. Finally, count lines
6952 between `begpt' and `endpt' and add to `lines'.
6953
6954 2010-03-23 Juri Linkov <juri@jurta.org>
6955
6956 * replace.el (occur-accumulate-lines, occur-engine):
6957 Use `occur-engine-line' instead of duplicate code.
6958 (occur-engine-line): New function created from duplicate code
6959 in `occur-accumulate-lines' and `occur-engine'.
6960
6961 * replace.el (occur-engine-line): Add optional arg `keep-props'.
6962 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
6963
6964 2010-03-23 Juri Linkov <juri@jurta.org>
6965
6966 * finder.el: Remove TODO tasks.
6967
6968 * info.el (Info-finder-find-node): Add node "all"
6969 with all package info. Handle a list of multiple keywords
6970 separated by comma.
6971 (info-finder): In interactive use with a prefix argument,
6972 use `completing-read-multiple' to read a list of keywords
6973 separated by comma.
6974
6975 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 Add a new completion style `substring'.
6978 * minibuffer.el (completion-basic--pattern): New function.
6979 (completion-basic-try-completion, completion-basic-all-completions):
6980 Use it.
6981 (completion-substring--all-completions)
6982 (completion-substring-try-completion)
6983 (completion-substring-all-completions): New functions.
6984 (completion-styles-alist): New style `substring'.
6985
6986 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 Get rid of .elc files after removal of the corresponding .el.
6989 * Makefile.in (compile-clean): New target.
6990 (compile-main): Use it.
6991
6992 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
6993
6994 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
6995 don't do make there. When compiling with separate object dir, there
6996 is no Makefile there.
6997
6998 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
6999
7000 Get rid of the ELCFILES abomination, again.
7001 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7002 (all, compile): Don't call compile-last.
7003 (compile-main): Build the "elcfiles" list dynamically.
7004 (compile-targets): New (internal) target.
7005
7006 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
7007
7008 * Makefile.in (top_srcdir): Define.
7009 (abs_top_builddir): Define.
7010 (srcdir): Don't append `/..'.
7011 (EMACS): Use ${abs_top_builddir}.
7012 (all, compile, compile-always, compile-last): Don't set emacswd.
7013 (update-subdirs, update-authors): Use $(top_srcdir) instead of
7014 $(srcdir).
7015 (lisp): Use $(srcdir) instead of @srcdir@.
7016
7017 2010-03-21 Juri Linkov <juri@jurta.org>
7018
7019 Fix message of multi-line occur regexps and multi-buffer header lines.
7020 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
7021
7022 * replace.el (occur-1): Don't display regexp if it is longer
7023 than window-width. Use `query-replace-descr' to display regexp.
7024 (occur-engine): Don't display regexp in the buffer header for
7025 multi-buffer occur. Display a separate header line with total
7026 match count and regexp for multi-buffer occur.
7027 Use `query-replace-descr' to display regexp.
7028
7029 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
7030
7031 * net/secrets.el: Fix parenthesis.
7032 (secrets-enabled): Fix parenthesis.
7033
7034 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 Use more relative file and directory names.
7037 * Makefile.in (EMACS): Arrange for it to work when we chdir.
7038 (setwins, setwins_almost, setwins_for_subdirs):
7039 Don't `cd'; output relative names.
7040 (all, compile, compile-always, compile-last): Set emacswd.
7041 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
7042 Just cd to the lisp source dir so we can use relative file names.
7043
7044 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
7045
7046 2010-03-20 Glenn Morris <rgm@gnu.org>
7047
7048 * textmodes/rst.el: Use faces for font-lock customization, and make the
7049 old -face variables obsolete.
7050 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
7051 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
7052 (rst-block-face, rst-external-face, rst-definition-face)
7053 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
7054 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
7055 Make obsolete.
7056 (rst-font-lock-keywords-function): Update for above changes.
7057
7058 2010-03-20 Juri Linkov <juri@jurta.org>
7059
7060 * s-region.el:
7061 * obsolete/s-region.el: Move to obsolete.
7062
7063 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
7066
7067 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7068
7069 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
7070
7071 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7072
7073 Add special markup processing for commit logs.
7074 * log-edit.el (log-edit-extra-flags): New variable.
7075 (log-edit): Add new argument MODE. Use that mode when non-nil
7076 instead of the log-view-mode.
7077 (log-view-process-buffer): New function.
7078
7079 * vc.el: Document that the checkin method takes optional
7080 arguments. Document new backend specific method: log-view-mode.
7081 (vc-default-log-edit-mode): New function.
7082 (vc-checkin): Use a backend specific log-view-mode.
7083 Pass extra arguments to the checkin method.
7084 (vc-modify-change-comment): Pass a dummy extra argument.
7085
7086 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
7087 log-edit.
7088 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
7089 (vc-finish-logentry): Process the log buffer before passing it
7090 down. Pass log-edit-extra-flags.
7091
7092 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
7093 command.
7094 (log-edit-extra-flags, log-edit-before-checkin-process):
7095 New declarations.
7096
7097 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
7098 command.
7099 (log-edit-extra-flags, log-edit-before-checkin-process):
7100 New declarations.
7101 (vc-hg-log-edit-mode): New derived mode.
7102
7103 * vc-arch.el (vc-arch-checkin):
7104 * vc-cvs.el (vc-cvs-checkin):
7105 * vc-git.el (vc-git-checkin):
7106 * vc-mtn.el (vc-mtn-checkin):
7107 * vc-rcs.el (vc-rcs-checkin):
7108 * vc-sccs.el (vc-sccs-checkin):
7109 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
7110
7111 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
7114 parent typo).
7115
7116 2010-03-19 Glenn Morris <rgm@gnu.org>
7117
7118 * password-cache.el (password-cache, password-cache-expiry): Autoload.
7119
7120 2010-03-18 Glenn Morris <rgm@gnu.org>
7121
7122 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
7123
7124 * replace.el (query-replace-history): Give it a doc string.
7125 (map-query-replace-regexp): Use query-replace-from-history-variable
7126 and query-replace-to-history-variable.
7127
7128 * mail/hashcash.el (declare-function): Remove duplicate definition.
7129
7130 * mail/emacsbug.el (report-emacs-bug-pretest-address):
7131 Make it an obsolete alias for report-emacs-bug-address.
7132 (message-strip-special-text-properties): Declare.
7133 (report-emacs-bug): Remove test for a pretest bug address.
7134 Combine message-mode-specific code.
7135
7136 * mail/supercite.el: Don't require sendmail.
7137 (mh-in-header-p): Declare rather than using with-no-warnings.
7138 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
7139 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
7140
7141 * calendar/cal-french.el: Convert to utf-8.
7142
7143 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
7144 Emacs scripts.
7145
7146 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
7147
7148 * net/secrets.el (secrets-enabled): New variable. Use it instead
7149 of a subfeature.
7150
7151 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
7152
7153 * net/secrets.el (top): Register the D-Bus signals only when the
7154 service "org.freedesktop.secrets" can be pinged.
7155 Provide subfeature `enabled'.
7156
7157 2010-03-14 Juri Linkov <juri@jurta.org>
7158
7159 Add finder unknown keywords.
7160
7161 * finder.el (finder-unknown-keywords): New function.
7162
7163 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
7164 to create a Finder node with unknown keywords.
7165
7166 2010-03-14 Juri Linkov <juri@jurta.org>
7167
7168 * finder.el (finder-compile-keywords): Replace `princ' with
7169 `prin1' on a list of symbols interned from keyword strings.
7170
7171 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
7172 a comma, then split keywords using a comma and optional whitespace.
7173 Otherwise, split by whitespace.
7174
7175 * complete.el:
7176 * face-remap.el:
7177 * log-view.el:
7178 * net/hmac-def.el:
7179 * net/hmac-md5.el:
7180 * net/netrc.el:
7181 * progmodes/mixal-mode.el: Fix keywords.
7182
7183 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
7184
7185 * Makefile.in (ELCFILES): Add net/secrets.elc.
7186
7187 * net/secrets.el: New file.
7188
7189 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7190
7191 * facemenu.el (list-colors-display, list-colors-print): New arg
7192 callback. Use it to allow selecting colors.
7193
7194 * wid-edit.el (widget-image-insert): Insert image prop even if the
7195 current display is non-graphic.
7196 (widget-field-value-set): New fun.
7197 (editable-field): Use it.
7198 (widget-field-value-get): Clean up unused var.
7199 (widget-color-value-create, widget-color--choose-action):
7200 New funs. Allow using list-colors-display to choose color.
7201
7202 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7203
7204 * cus-edit.el: Resort topmost custom groups.
7205 (custom-buffer-sort-alphabetically): Default to t.
7206 (customize-apropos): Use apropos-parse-pattern.
7207 (custom-search-field): New var.
7208 (custom-buffer-create-internal): Add custom-apropos search field.
7209 (custom-add-parent-links): Don't display parent doc.
7210 (custom-group-value-create): Don't sort top-level custom group.
7211 (custom-magic-value-create): Show visibility button before option name.
7212
7213 (custom-variable-state): New fun, from custom-variable-state-set.
7214 (custom-variable-state-set): Use it.
7215 (custom-group-value-create): Hide options with standard values
7216 using the :hidden-states property. Use progress reporter.
7217
7218 (custom-show): Simplify.
7219 (custom-visibility): Disable images by default.
7220 (custom-variable): New property :hidden-states.
7221 (custom-variable-value-create): Enable images for
7222 custom-visibility widgets. Use :hidden-states property to
7223 determine initial visibility.
7224
7225 * wid-edit.el (widget-image-find): Give images center ascent.
7226 (visibility): Add :on-image and :off-image properties.
7227 (widget-visibility-value-create): Use them.
7228
7229 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7230
7231 * cus-edit.el (processes): Remove from development group.
7232 (oop, hypermedia): Delete group.
7233 (comm): Promote to top-level group.
7234
7235 * net/browse-url.el (browse-url):
7236 * net/xesam.el (xesam):
7237 * net/tramp.el (tramp):
7238 * net/goto-addr.el (goto-address):
7239 * net/ange-ftp.el (ange-ftp): Put in comm group.
7240
7241 * view.el (view): Remove from editing group.
7242
7243 * uniquify.el (uniquify): Put in files group.
7244
7245 * net/browse-url.el (browse-url):
7246 * ps-print.el (postscript): Put in external group.
7247
7248 * cus-edit.el (outlines):
7249 * textmodes/text-mode.el (text-mode-hook):
7250 * textmodes/table.el (table):
7251 * textmodes/picture.el (picture):
7252 * outline.el (outlines): Put in wp group.
7253
7254 * nxml/nxml-mode.el (nxml): Remove from wp group.
7255
7256 * net/tramp-imap.el (tramp-imap): Put in tramp group.
7257
7258 * mail/metamail.el (metamail): Remove from hypermedia group.
7259
7260 * cus-edit.el (abbrev):
7261 * whitespace.el (whitespace):
7262 * vcursor.el (vcursor):
7263 * reveal.el (reveal):
7264 * hl-line.el (hl-line): Put in convenience group.
7265
7266 * epg-config.el (epg): Put in data group.
7267
7268 * emulation/pc-select.el (pc-select): Put in emulations group.
7269
7270 * calculator.el (calculator): Put in applications group.
7271
7272 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7273
7274 Add .dir-locals.el support for file-less buffers.
7275 * files.el (hack-local-variables): Split out code to apply local
7276 variable settings ...
7277 (hack-local-variables-apply): ... here. New function.
7278 (hack-dir-local-variables): Use the default directory for when the
7279 buffer does not have an associated file.
7280 (hack-dir-local-variables-non-file-buffer): New function.
7281 * diff-mode.el (diff-mode):
7282 * vc-annotate.el (vc-annotate-mode):
7283 * vc-dir.el (vc-dir-mode):
7284 * log-edit.el (log-edit-mode):
7285 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
7286
7287 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7288
7289 Add support for shelving snapshots and for showing shelves.
7290 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
7291 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
7292 New functions.
7293 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
7294 (vc-bzr-extra-menu-map): Map them.
7295
7296 2010-03-11 Glenn Morris <rgm@gnu.org>
7297
7298 * cus-edit.el (customize-changed-options-previous-release):
7299 Bump to 23.1.
7300
7301 * image.el (image-animate-max-time): Fix :version tag.
7302
7303 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
7304
7305 * Branch for 23.2.
7306
7307 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7308
7309 * vc-git.el (vc-git-revision-table): Include remote branches.
7310
7311 2010-03-10 Kim F. Storm <storm@cua.dk>
7312
7313 Animated image API.
7314 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
7315
7316 * image.el (image-animate-max-time): New defcustom.
7317 (image-animated-types): New defconst.
7318 (create-animated-image, image-animate-timer)
7319 (image-animate-start, image-animate-stop, image-animate-timeout)
7320 (image-animated-p): New functions.
7321
7322 * image-mode.el (image-toggle-display-image):
7323 Replace `create-image' with `create-animated-image'.
7324
7325 2010-03-09 Miles Bader <miles@gnu.org>
7326
7327 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
7328 instead of "format:"; this ensures that the output is
7329 newline-terminated.
7330
7331 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
7332
7333 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
7334 that all errors are caught, and that the return value is always a
7335 list (Bug#5692).
7336
7337 2010-03-08 Kenichi Handa <handa@m17n.org>
7338
7339 * language/misc-lang.el (windows-1256): New coding system.
7340 (cp1256): New alias of windows-1256 (bug#5690).
7341
7342 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
7343
7344 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
7345 call to rfc822-bad-address. (Bug#5692)
7346
7347 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
7348
7349 * vc-git.el (vc-git-annotate-extract-revision-at-line):
7350 Use vc-git-root as default directory for revision path (Bug#5657).
7351
7352 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
7353
7354 * calculator.el (calculator): Don't bind split-window-keep-point
7355 (Bug#5674).
7356
7357 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * vc-git.el: Re-flow to fit into 80 columns.
7360 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
7361 Remove spurious `quote' element in each case alternative.
7362 (vc-git-show-log-entry): Use prog1.
7363 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
7364
7365 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
7368
7369 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
7370
7371 * macros.el (insert-kbd-macro): Look up keyboard macro using the
7372 definition, not the name (Bug#5481).
7373
7374 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
7375
7376 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
7377 argument with a local variable. (Bug#5670)
7378
7379 2010-03-02 Juri Linkov <juri@jurta.org>
7380
7381 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
7382
7383 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
7384
7385 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
7386 error when FILENAME and NEWNAME are existing remote directories.
7387
7388 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
7389 parameter DIR-FLAG.
7390
7391 2010-03-02 Glenn Morris <rgm@gnu.org>
7392
7393 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
7394 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
7395
7396 2010-03-01 Kenichi Handa <handa@m17n.org>
7397
7398 * language/burmese.el (burmese-composable-pattern): Rename from
7399 myanmar-composable-pattern.
7400
7401 * international/characters.el (script-list):
7402 * international/fontset.el (script-representative-chars):
7403 Change myanmar to burmese.
7404 (otf-script-alist): Likewise.
7405 (setup-default-fontset): Likewise. Re-fix :otf spec.
7406
7407 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
7408
7409 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
7410
7411 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
7412
7413 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
7414
7415 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7416
7417 * net/tramp.el (tramp-handle-write-region): START can be a string.
7418 Take care in the checks. Reported by Dan Davison
7419 <davison@stats.ox.ac.uk>.
7420
7421 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7422
7423 * net/dbus.el (dbus-introspect, dbus-get-property)
7424 (dbus-set-property, dbus-get-all-properties):
7425 Use `dbus-call-method' when noninteractive. (Bug#5645)
7426
7427 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
7428
7429 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
7430 * emacs-lisp/elint.el (elint-add-required-env):
7431 * calendar/icalendar.el (icalendar--add-diary-entry):
7432 * calc/calcalg2.el (math-tracing-integral):
7433 * files.el (recover-session-finish): Use with-current-buffer
7434 instead of save-excursion.
7435
7436 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
7437
7438 Fix in-buffer completion when after-change-functions modify the buffer.
7439 * minibuffer.el (completion--replace): New function.
7440 (completion--do-completion): Use it and use relative movement.
7441
7442 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
7443
7444 * international/fontset.el (setup-default-fontset): Fix :otf spec.
7445
7446 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
7447
7448 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
7449 Allow the characters _<> in the stack entry (Bug#5653).
7450
7451 2010-02-26 Kenichi Handa <handa@m17n.org>
7452
7453 * language/burmese.el: Fix entries in composition-function-table.
7454 (myanmar-composable-pattern): New variable.
7455
7456 * international/fontset.el (setup-default-fontset): Add an entry
7457 for myanmar.
7458
7459 * international/characters.el (script-list): Add Myanmar
7460 Extended-A.
7461
7462 2010-02-26 Glenn Morris <rgm@gnu.org>
7463
7464 * custom.el (custom-initialize-delay): Doc fix.
7465
7466 * mail/sendmail.el (send-mail-function): Autoload the call
7467 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
7468
7469 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
7470
7471 * files.el (hack-local-variables-filter): For eval forms, also
7472 check safe-local-variable-p (Bug#5636).
7473
7474 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
7475
7476 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
7477 setting the modes by `ignore-errors'. It might fail, for example
7478 if the file is not owned by the user but the group.
7479 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
7480
7481 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
7482
7483 * files.el (directory-listing-before-filename-regexp): Use
7484 stricter matching for iso-style dates, to avoid false matches with
7485 date-like filenames (Bug#5597).
7486
7487 * htmlfontify.el (htmlfontify): Doc fix.
7488
7489 * eshell/eshell.el (eshell): Doc fix.
7490
7491 * startup.el (fancy-about-screen): In mode-line, apply
7492 mode-line-buffer-id face only to the buffer name (Bug#5613).
7493
7494 2010-02-20 Kevin Ryde <user42@zip.com.au>
7495
7496 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7497 In `watcom' anchor regexp to start of line, to avoid slowness
7498 (Bug#5599).
7499
7500 2010-02-20 Eli Zaretskii <eliz@gnu.org>
7501
7502 * subr.el (remove-yank-excluded-properties): Explain in a comment
7503 why `category' property is removed.
7504
7505 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
7506
7507 * isearch.el (isearch-update-post-hook, isearch-update): Revert
7508 2010-02-17 change.
7509
7510 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
7511
7512 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
7513 (icalendar--convert-weekly-to-ical)
7514 (icalendar--convert-yearly-to-ical)
7515 (icalendar--convert-block-to-ical)
7516 (icalendar--convert-cyclic-to-ical)
7517 (icalendar--convert-anniversary-to-ical): Take care of time
7518 specifications where hour has 1-digit only (Bug#5549).
7519
7520 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
7521
7522 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
7523 of disassemble output in GDB 7.1.
7524
7525 2010-02-19 Glenn Morris <rgm@gnu.org>
7526
7527 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
7528 property. (Bug#5593)
7529
7530 2010-02-18 Sam Steingold <sds@gnu.org>
7531
7532 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7533
7534 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 Use abbreviated file names in bookmarks (bug#5591).
7537 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
7538 calls to expand-file-name.
7539 (bookmark-relocate): Use abbreviated file names in bookmarks.
7540 (bookmark-load): Use abbreviated file names in messages.
7541
7542 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
7543
7544 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
7545 expand "." and "..". Reported by Thierry Volpiatto
7546 <thierry.volpiatto@gmail.com>.
7547
7548 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
7549
7550 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
7551 permissions of the temporary file to "0600". In case the remote
7552 file has no read permissions for the owner, there might be
7553 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
7554
7555 22010-02-18 Glenn Morris <rgm@gnu.org>
7556
7557 * emacs-lisp/authors.el (authors-renamed-files-alist):
7558 Add entries for INSTALL.CVS.
7559
7560 2010-02-17 Mark A. Hershberger <mah@everybody.org>
7561
7562 * vc-bzr.el: Fix typo in Known Bugs section.
7563
7564 * isearch.el (isearch-update-post-hook): New hook.
7565 (isearch-update): Use the new hook.
7566
7567 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
7568
7569 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7570 Fix errors in copying directories.
7571 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7572 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7573 (tramp-handle-delete-file)
7574 (tramp-handle-dired-recursive-delete-directory)
7575 (tramp-handle-write-region): Flush also the cache for the upper
7576 directory.
7577
7578 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
7579
7580 * simple.el (save-interprogram-paste-before-kill): Doc fix.
7581
7582 * cus-edit.el (hardware): Doc fix.
7583
7584 * man.el (man): Add to external custom group.
7585
7586 * delim-col.el (columns): Move to wp custom group.
7587
7588 * doc-view.el (doc-view): Add to data custom group.
7589
7590 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7591
7592 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7593 by ispell-parse-output (Bug#5575).
7594
7595 2010-02-16 Kenichi Handa <handa@m17n.org>
7596
7597 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7598 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7599 (skkdic-convert): Use `euc-japan' coding system for writing.
7600
7601 2010-02-16 Glenn Morris <rgm@gnu.org>
7602
7603 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7604 tex-main-file before using it. (Bug#5562)
7605
7606 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7609 warnings, since it is annoying for the user to see them each time he
7610 runs the code.
7611
7612 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
7613
7614 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7615 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7616 instead of PROC for caching "first-password-request". Otherwise,
7617 new processes would not profit from passwords already entered.
7618
7619 * net/tramp-cache.el (tramp-dump-connection-properties):
7620 Don't save "first-password-request" property.
7621
7622 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
7623
7624 * outline.el (outline-head-from-level):
7625 * simple.el (with-wrapper-hook):
7626 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7627 (elint-defun, elint-buffer-env, elint-top-form-logged)
7628 (elint-unbound-variable):
7629 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7630 Fix typos in docstrings.
7631
7632 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
7633
7634 * files.el (insert-directory): When WILDCARD-REGEXP and
7635 FULL-DIRECTORY-P are nil, insert the file entry instead of the
7636 whole directory. (Bug#5551)
7637
7638 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
7639 dired's alignment sanity. (Bug#5516)
7640
7641 2010-02-14 Juri Linkov <juri@jurta.org>
7642
7643 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7644 Remove remaining ^H with their preceding chars. (Bug#5566)
7645
7646 2010-02-13 Glenn Morris <rgm@gnu.org>
7647
7648 * simple.el (transpose-subr): Give it a doc-string.
7649
7650 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7651 Doc fixes.
7652
7653 2010-02-12 Juri Linkov <juri@jurta.org>
7654
7655 * arc-mode.el (archive-unique-fname): Make directories for nested
7656 archives. (Bug#5540)
7657
7658 2010-02-12 Juri Linkov <juri@jurta.org>
7659
7660 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
7661
7662 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * subr.el (copy-overlay): Handle deleted overlays.
7665
7666 * man.el (Man-completion-table): Don't signal an error if we can't run
7667 manual-program (bug#4056).
7668
7669 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
7670
7671 * textmodes/artist.el (artist-mt): Fix typos in docstring.
7672
7673 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7674
7675 * info.el (Info-bookmark-jump): Simplify.
7676
7677 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7678 (bookmark-default-handler): Accept new bookmark field `buffer'.
7679
7680 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
7681
7682 * iswitchb.el (iswitchb-completions): Revert last change.
7683
7684 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
7685
7686 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7687 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7688 This prevents file names like "~/" being listed literally.
7689
7690 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
7691
7692 * term/xterm.el (xterm-maybe-set-dark-background-mode):
7693 Remove dead code. (Bug#5546)
7694
7695 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
7696
7697 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7698 correctly (Bug#5548).
7699
7700 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
7701
7702 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7703 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7704
7705 2010-02-08 Kenichi Handa <handa@m17n.org>
7706
7707 * international/mule-util.el (with-coding-priority): Add autoload
7708 cookie for putting `lisp-indent-function'.
7709
7710 2010-02-07 Glenn Morris <rgm@gnu.org>
7711
7712 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7713 Move F2003 named interfaces from keywords-2 to keywords-1, and
7714 use function-name-face rather than constant-face.
7715 Simplify "abstract interface" regexp.
7716
7717 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
7718
7719 * eshell/esh-util.el (eshell-file-attributes): New optional arg
7720 ID-FORMAT. Pass it to `file-attributes'.
7721
7722 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7723
7724 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
7725
7726 * faces.el (set-face-attribute): Allow calling
7727 internal-set-lisp-face-attribute with 'unspecified family and
7728 foundry argument (Bug#5536).
7729
7730 2010-02-07 Glenn Morris <rgm@gnu.org>
7731
7732 * progmodes/f90.el (f90-font-lock-keywords-2)
7733 (f90-looking-at-type-like, f90-looking-at-program-block-end):
7734 Handle F2003 named interfaces.
7735
7736 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
7737
7738 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7739 beg and end before calling c-get-state-before-change-functions.
7740
7741 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
7742
7743 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7744
7745 2010-02-05 Juri Linkov <juri@jurta.org>
7746
7747 * doc-view.el (doc-view-mode):
7748 * image-mode.el (image-mode): Put property mode-class=special.
7749 (Bug#4896)
7750
7751 2010-02-05 Mark A. Hershberger <mah@everybody.org>
7752
7753 * vc-svn.el (vc-svn-revision-table): New function.
7754
7755 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
7756
7757 * net/ange-ftp.el (ange-ftp-insert-directory):
7758 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7759 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7760 Handle also directories. (Bug#5478)
7761
7762 2010-02-05 Glenn Morris <rgm@gnu.org>
7763
7764 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7765
7766 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
7767
7768 * startup.el (command-line-1): Convert options beginning with a
7769 single dash as well (Bug#5519).
7770
7771 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
7772
7773 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7774 * minibuffer.el (completion-initials-expand): Only check the presence
7775 of delims *within* the boundaries, since otherwise the / delim is
7776 always found for files.
7777
7778 Fix up various corner case problems.
7779 * doc-view.el (doc-view-last-page-number): New function.
7780 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7781 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7782 (doc-view-kill-proc): Avoid inf-loop in freak cases.
7783 (doc-view-reconvert-doc): Use the new recursive delete-directory.
7784 (doc-view-convert-current-doc): Don't create the resolution.el file
7785 here any more.
7786 (doc-view-pdf/ps->png): Do it here instead.
7787 (doc-view-already-converted-p): Check that resolution.el is present.
7788 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
7789 windows that are not yet showing images.
7790
7791 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
7792
7793 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
7794 `dired-uncache' for every elemnt which is an absolute file name.
7795
7796 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
7797 directory, handle its directory component.
7798 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
7799 function is called permanently and creates noise, otherwise.
7800
7801 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7802 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7803 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
7804
7805 2010-02-04 David Burger <dburger@google.com> (tiny change)
7806
7807 * macros.el (apply-macro-to-region-lines):
7808 Minor simplification. (Bug#5485)
7809
7810 2010-02-04 Glenn Morris <rgm@gnu.org>
7811
7812 * mail/rmail.el (rmail-show-message-1): Handle malformed
7813 quoted-printable text. (Bug#5441)
7814
7815 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
7816
7817 * simple.el (visual-line-mode): Capitalize lighter.
7818
7819 2010-02-03 John Wiegley <jwiegley@gmail.com>
7820
7821 * iswitchb.el (iswitchb-completions): Add bookmark files to the
7822 list of files considered for "virtual buffer" completions.
7823
7824 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
7825
7826 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
7827 also in case of (and (not full) (not wildcard)). This is needed
7828 when dired is called with a list of files, which are not in
7829 `default-directory'. (Bug#5478)
7830
7831 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
7834
7835 2010-02-02 Juri Linkov <juri@jurta.org>
7836
7837 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
7838 from unidiff to allow function-line after @@.
7839
7840 2010-02-02 Juri Linkov <juri@jurta.org>
7841
7842 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
7843 '(RCS SCCS) with inverted condition.
7844
7845 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
7846
7847 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
7848 messages.
7849
7850 2010-02-01 Juri Linkov <juri@jurta.org>
7851
7852 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
7853 compare with "pkunzip" and "pkzip" instead of only "pkzip".
7854 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
7855 only when (car archive-zip-extract) is "unzip". (Bug#5475)
7856
7857 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
7860 (doc-view-revert-buffer): New command.
7861 (doc-view-mode-map): Use it.
7862
7863 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
7864
7865 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
7866 pending merge is detected.
7867
7868 2010-01-31 Juri Linkov <juri@jurta.org>
7869
7870 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
7871 beginning of interactive spec like all other grep commands do.
7872 Put "all" in front of "gz". (Bug#5260)
7873
7874 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
7875
7876 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
7877
7878 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
7879
7880 * dirtrack.el (dirtrack): Warn instead of signalling error if the
7881 regexp is incorrect (Bug#5476).
7882
7883 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
7884
7885 * net/tramp.el (tramp-handle-insert-directory): Handle also
7886 symlinks, when FILENAME is not in `default-directory'.
7887
7888 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
7889
7890 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
7891 FILE is not in `default-directory'. (Bug#5478)
7892
7893 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
7894 of SWITCHES. Handle the case, FILENAME is not in
7895 `default-directory'. (Bug#5478)
7896 (tramp-register-file-name-handlers): Add safe-magic property.
7897
7898 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
7899
7900 * arc-mode.el (archive-zip-extract): Quote the argument passed to
7901 unzip (Bug#5475).
7902
7903 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
7904
7905 * progmodes/flymake.el (flymake-allowed-file-name-masks)
7906 (flymake-master-make-header-init): Add other C++ filename masks.
7907 (flymake-find-possible-master-files)
7908 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
7909
7910 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
7911
7912 Fix some busybox annoyances.
7913
7914 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
7915 not responding." string.
7916 (tramp-open-connection-setup-interactive-shell): Dump stty
7917 settings. Enable "neveropen" arg for all `tramp-send-command'
7918 calls. Handle "=" in variable values properly.
7919 (tramp-find-inline-encoding): Raise an error, when no encoding is
7920 found.
7921 (tramp-wait-for-output): Check, whether PROC buffer is available.
7922 Remove spurious " ^H" sequences, sent by busybox.
7923 (tramp-get-ls-command): Suppress coloring, if possible.
7924
7925 2010-01-28 Glenn Morris <rgm@gnu.org>
7926
7927 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
7928
7929 * log-edit.el (log-edit-strip-single-file-name): Add missing
7930 :safe, :group, and :version tags.
7931
7932 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
7933
7934 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
7935 buffers. (Bug#5477)
7936
7937 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
7938
7939 * files.el (delete-directory): Handle moving to trash without
7940 first doing recursion (Bug#5436).
7941
7942 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
7943
7944 * vc-hooks.el (vc-path): Mark as obsolete.
7945
7946 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
7947
7948 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
7949 names too.
7950
7951 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
7952 for the short log.
7953 (vc-bzr-log-view-mode): Adjust regexp for the above change.
7954
7955 2010-01-25 Mark A. Hershberger <mah@everybody.org>
7956
7957 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
7958
7959 * vc-bzr.el (vc-bzr-revision-table): New function.
7960
7961 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
7962
7963 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
7964 diff-index command. This requires at least git-1.5.5. (Bug#1589).
7965
7966 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
7967
7968 Remove support for adding --signoff on commit.
7969 Future support will use an incompatible generic mechanism.
7970 * vc-git.el (vc-git-add-signoff): Remove variable.
7971 (vc-git-toggle-signoff): Remove function.
7972 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
7973
7974 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
7975 from xterm-set-background-mode. Return t if the background mode
7976 was set.
7977 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7978 earlier, call it again in case the background mode has changed.
7979
7980 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
7981
7982 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7983 (Bug#3541).
7984
7985 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
7986
7987 * emacs-lisp/assoc.el (aelement): Doc fix.
7988 (aput, adelete, amake): Use lexical-let (Bug#5450).
7989
7990 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
7991
7992 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7993 is the same as subprogram call, not declaration. (Bug#5435).
7994
7995 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
7996
7997 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7998 (tramp-smb-maybe-open-connection): Use it.
7999
8000 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
8001
8002 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
8003
8004 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
8007 just because we see "encoding: 8bit".
8008 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
8009
8010 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
8011
8012 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
8013
8014 2010-01-22 Eli Zaretskii <eliz@gnu.org>
8015
8016 * jka-compr.el (jka-compr-load): If load-file is not in
8017 load-history, try its file-truename version. (bug#5447)
8018
8019 2010-01-21 Alan Mackenzie <acm@muc.de>
8020
8021 Fix a situation where deletion of a cpp construct throws an error.
8022 * progmodes/cc-engine.el (c-invalidate-state-cache):
8023 Before invoking c-with-all-but-one-cpps-commented-out, check that the
8024 special cpp construct is still in the buffer.
8025 (c-parse-state): Record the special cpp with markers, not numbers.
8026
8027 2010-01-21 Kenichi Handa <handa@m17n.org>
8028
8029 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
8030 process last-command-event, as it is now decoded first (Bug#5380).
8031
8032 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
8033
8034 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
8035
8036 2010-01-20 Glenn Morris <rgm@gnu.org>
8037
8038 * indent.el (tab-always-indent): Fix custom-type.
8039
8040 2010-01-19 Alan Mackenzie <acm@muc.de>
8041
8042 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
8043 buffer throws "args out of range".
8044 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
8045 playing the role of delimiter.
8046
8047 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
8048
8049 * progmodes/ada-mode.el: Fix bug#5400.
8050 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
8051 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
8052 changed. Delete RECURSIVE parameter; never used. Improve doc string.
8053 Improve comments in "is" portion. Handle null procedure declaration.
8054 (ada-move-to-end): Improve doc string.
8055
8056 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
8057
8058 * ido.el (ido-cur-list): Initialize to nil.
8059 Remove obsolete information from commentary.
8060 (ido-choice-list): Initialize to nil.
8061 (ido-get-bufname): Reject minibuffers.
8062 (ido-make-buffer-list): If "default" is a nonexistent
8063 buffer, ignore it, as per the function's comment.
8064 (ido-kill-buffer-internal): New function.
8065 (ido-kill-buffer-at-head): Use it.
8066 (ido-visit-buffer): Likewise.
8067
8068 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
8069
8070 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
8071
8072 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
8073
8074 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
8075 Fix typos in chart titles.
8076
8077 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
8078 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
8079 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
8080 (describe-class, eieio-describe-generic, describe-generic):
8081 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
8082 (eieio-speedbar-expand):
8083 * emulation/viper-cmd.el (viper-exec-form-in-vi)
8084 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
8085 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
8086 (viper-del-backward-char-in-replace, viper-backward-indent)
8087 (viper-brac-function, viper-register-to-point, viper-submit-report):
8088 * net/tramp.el (tramp-remote-coding-commands):
8089 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
8090 Fix typos in docstrings.
8091
8092 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
8093
8094 * mail/sendmail.el (mail-yank-original): Set the mark if the
8095 specified function for yanking does not do it.
8096
8097 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
8098
8099 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
8100
8101 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
8102 resyncing a directory.
8103
8104 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
8105
8106 * progmodes/ada-mode.el: Fix bug#1920.
8107 (ada-ident-re): Delete ., allow multibyte characters.
8108 (ada-goto-label-re): New; matches goto labels.
8109 (ada-block-label-re): New; matches block labels.
8110 (ada-label-re): New; matches both.
8111 (ada-named-block-re): Deleted; callers changed to use
8112 `ada-block-label-re' instead.
8113 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
8114 Use `ada-block-label-re'.
8115 (ada-indent-on-previous-lines): Improve handling of goto labels.
8116 (ada-get-indent-block-start): Special-case block label.
8117 (ada-get-indent-label): Split into `ada-indent-block-label' and
8118 `ada-indent-goto-label'.
8119 (ada-goto-stmt-start, ada-goto-next-non-ws):
8120 Optionally ignore goto labels.
8121 (ada-goto-next-word): Simplify.
8122 (ada-indent-newline-indent-conditional): Insert newline before
8123 trying to fix indentation; doc fix.
8124
8125 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
8126
8127 * calc/calc.el (calc-command-flags): Give it an initial value.
8128
8129 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
8130
8131 * files.el (minibuffer-with-setup-hook):
8132 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
8133 (artist-key-draw-continously, artist-key-do-continously-continously)
8134 (artist-key-set-point-continously, artist-mouse-draw-continously):
8135 Fix typos in docstrings.
8136
8137 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
8138
8139 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
8140 return t (Bug#3898).
8141
8142 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
8143
8144 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
8145 can parse the output of the external commands (Bug#5279).
8146
8147 2010-01-16 Jari Aalto <jari.aalto@cante.net>
8148
8149 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
8150
8151 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
8152
8153 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
8154
8155 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
8156
8157 * startup.el (command-line): Remove unused --icon-type arg.
8158 Handle --display arg, passing it to command-line-1 (Bug#5392).
8159
8160 2010-01-16 Mario Lang <mlang@delysid.org>
8161
8162 * emacs-lisp/chart.el (chart-translate-namezone):
8163 * textmodes/artist.el (artist-compute-popup-menu-table):
8164 Remove duplicated words in doc-strings.
8165
8166 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
8167
8168 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
8169 to mairix-search to suppress threading (Bug#5342).
8170
8171 2010-01-15 Kenichi Handa <handa@m17n.org>
8172
8173 * international/mule-cmds.el (canonicalize-coding-system-name):
8174 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
8175
8176 2010-01-15 Glenn Morris <rgm@gnu.org>
8177
8178 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
8179
8180 * wid-edit.el (widget-keymap): Doc fix.
8181
8182 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
8183 former seems to be more widely accepted by various svn versions.
8184
8185 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8186
8187 * find-cmd.el (find-constituents):
8188 * vc-arch.el (vc-arch-root):
8189 * window.el (window-body-height, pop-up-frames):
8190 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
8191 * progmodes/ada-stmt.el (ada-if):
8192 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
8193 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
8194 (ispell-encoding8-command, ispell-aspell-supports-utf8)
8195 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
8196
8197 * progmodes/flymake.el (flymake-post-syntax-check):
8198 Fix typo in error message.
8199
8200 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8201
8202 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
8203 which is always a string. (Bug#5313)
8204
8205 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8206
8207 * progmodes/ada-xref.el (ada-default-prj-properties):
8208 Simplify previous change.
8209
8210 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8211
8212 * progmodes/ada-xref.el (ada-default-prj-properties):
8213 Default ada_project_path to $ADA_PROJECT_PATH.
8214
8215 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8216
8217 * progmodes/ada-mode.el (ada-create-keymap):
8218 Override `narrow-to-defun' with `ada-narrow-to-defun'.
8219
8220 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8221
8222 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
8223 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
8224 (ada-get-current-indent, ada-imenu-generic-expression)
8225 (ada-which-function): Check for it.
8226
8227 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8228
8229 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
8230 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
8231
8232 2010-01-14 Glenn Morris <rgm@gnu.org>
8233
8234 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
8235
8236 2010-01-14 Kenichi Handa <handa@m17n.org>
8237
8238 * composite.el (auto-composition-mode): Make it a buffer local
8239 variable (permanent-local).
8240 (auto-composition-function): Set the default value to
8241 auto-compose-chars.
8242 (auto-composition-mode): Make it a simple function, not a minor mode.
8243 (global-auto-composition-mode): Likewise.
8244 (turn-on-auto-composition-if-enabled): Delete it.
8245
8246 2010-01-13 Karl Fogel <kfogel@red-bean.com>
8247
8248 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
8249
8250 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
8251
8252 * files.el (copy-directory): Compute target for recursive
8253 directories with identical names. (Bug#5343)
8254
8255 2010-01-12 Glenn Morris <rgm@gnu.org>
8256
8257 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
8258 it to bug-gnu-emacs rather than emacs-pretest-bug.
8259
8260 2010-01-11 Sam Steingold <sds@gnu.org>
8261
8262 * imenu.el (imenu-default-create-index-function): Detect infinite
8263 loops caused by imenu-prev-index-position-function.
8264
8265 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8266
8267 * htmlfontify.el (htmlfontify-load-rgb-file)
8268 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
8269 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
8270 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
8271 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
8272 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
8273 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
8274 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
8275 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
8276 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
8277 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
8278 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
8279 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
8280 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
8281 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
8282 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
8283 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
8284 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
8285 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
8286 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
8287 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
8288 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
8289 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
8290 backslash-quoting from parentheses, etc.
8291
8292 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
8293
8294 * progmodes/js.el: Autoload javascript-mode alias.
8295
8296 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
8299 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
8300 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
8301 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
8302 Fix typos in docstrings.
8303 (ffap-url-regexp): Doc fix.
8304 (ffap-at-mouse): Fix typo in message.
8305
8306 2010-01-11 Glenn Morris <rgm@gnu.org>
8307
8308 * version.el (emacs-copyright): Set copyright year to 2010.
8309
8310 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
8311
8312 * format.el (format-annotate-function): Only set
8313 write-region-post-annotation-function after running to-fn so as not to
8314 affect nested write-region calls (bug#5273).
8315
8316 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
8317
8318 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
8319 wisent/python.el.
8320
8321 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8322
8323 * man.el (Man-goto-section): Signal error if the section is not
8324 found (Bug#5317).
8325
8326 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
8327
8328 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
8329 URLs with a leading triple slash in the file: scheme. (Bug#5345)
8330
8331 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8332
8333 * progmodes/compile.el: Don't treat compile-command as safe if
8334 compilation-read-command might be nil (Bug#4218).
8335
8336 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
8337
8338 * startup.el (command-line-1): Use orig-argi to check for ignored X and
8339 NS options.
8340
8341 2010-01-08 Kenichi Handa <handa@m17n.org>
8342
8343 * international/fontset.el (build-default-fontset-data):
8344 Exclude characters in scripts kana, hangul, han, or cjk-misc.
8345
8346 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
8347
8348 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
8349 to `create-file-buffer' as it expects, not just a buffer name.
8350 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
8351 to help uniquify. (Bug#3224)
8352
8353 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
8354
8355 * font-setting.el (font-setting-change-default-font): Use user-spec
8356 instead of name.
8357
8358 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
8359
8360 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
8361
8362 2010-01-05 Tom Tromey <tromey@redhat.com>
8363
8364 * progmodes/python.el (python-font-lock-keywords):
8365 Handle qualified decorators (Bug#881).
8366
8367 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8368
8369 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
8370 in a lightweight checkout.
8371
8372 2010-01-05 Kenichi Handa <handa@m17n.org>
8373
8374 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
8375
8376 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8377
8378 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
8379
8380 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
8381
8382 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
8383 checkouts. (Bug#618)
8384 (vc-bzr-log-view-mode): Also highlight the author.
8385 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
8386 (vc-bzr-shelve-menu-map):
8387 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
8388 (vc-bzr-shelve-apply): Make prompt more explicit.
8389
8390 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
8391
8392 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
8393 They are valid characters in URL paths (rfc3986), and at least
8394 Firefox does not understand the encoded version (Bug#3166).
8395
8396 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
8397
8398 * progmodes/octave-mod.el (octave-end-keywords)
8399 (octave-block-begin-or-end-regexp, octave-block-match-alist):
8400 Add "end" keyword (Bug#3061).
8401 (octave-end-as-array-index-p): New function.
8402 (calculate-octave-indent): Use it.
8403
8404 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8405
8406 * bookmark.el: Consistently put the text property on the bookmark name.
8407 (bookmark-bmenu-marks-width): Bump back to 2, to include
8408 annotation marks.
8409 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
8410 property on the bookmark name, instead of not putting it at all.
8411 (bookmark-bmenu-list): Fix where we put the text property.
8412
8413 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8414
8415 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
8416 for showing buffer modified state (as added in the previous change).
8417
8418 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8419
8420 * bookmark.el: Show modified state of bookmark buffer more accurately.
8421 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
8422 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
8423 (with-buffer-modified-unmodified): New macro.
8424 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
8425 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
8426 Use new macro to preserve the buffer modified state.
8427
8428 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8429
8430 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
8431 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
8432 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
8433 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
8434 (bookmark-bmenu-rename, bookmark-bmenu-locate)
8435 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
8436 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
8437
8438 2010-01-02 Eli Zaretskii <eliz@gnu.org>
8439
8440 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8441 Make the lines in the generated doc string shorter. (Bug#4668)
8442
8443 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
8444
8445 * net/rcirc.el: Add follow-link binding (Bug#4738).
8446
8447 2010-01-02 Eli Zaretskii <eliz@gnu.org>
8448
8449 * Makefile.in (bzr-update): Rename from cvs-update.
8450 (cvs-update): New target for backward compatibility.
8451
8452 * makefile.w32-in (bzr-update): Rename from cvs-update.
8453 (cvs-update): New target for backward compatibility.
8454
8455 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8456
8457 * bookmark.el: Remove gratuitous gratitude.
8458
8459 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8460
8461 * bookmark.el (bookmark-bmenu-any-marks): New function.
8462 (bookmark-bmenu-save): Clear buffer modification if no marks.
8463
8464 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8465
8466 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
8467 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
8468 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
8469 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
8470
8471 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
8472 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
8473 To: emacs-devel {_AT_} gnu.org
8474 Subject: bookmark.el bug report
8475 Date: Mon, 28 Dec 2009 14:19:16 +0800
8476 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
8477
8478 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8479
8480 * bookmark.el: Improvements suggested by Drew Adams:
8481 (bookmark-bmenu-ensure-position): New name for
8482 `bookmark-bmenu-check-position'. Just ensure the position,
8483 don't return any meaningful value.
8484 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
8485 New constants.
8486
8487 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
8488
8489 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
8490 (bookmark-yank-point, bookmark-bmenu-check-position):
8491 Fix typos in docstrings.
8492 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
8493 (bookmark-name-from-full-record, bookmark-get-position)
8494 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
8495 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
8496 Remove useless quoting of parenthesis, etc. in docstrings.
8497
8498 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
8499 (ediff-append-custom-diff): Fix typo in error message.
8500 (ediff-meta-mark-equal-files): Fix typos in messages.
8501
8502 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
8503
8504 * net/imap-hash.el (imap-hash-make): Doc fix.
8505 (imap-hash-test): Fix typo in error message; reflow docstring.
8506 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
8507 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
8508 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
8509 Fix typos in docstrings.
8510 (imap-hash-open-connection): Fix typo in error message.
8511
8512 * play/gomoku.el (gomoku): Fix typos in docstring.
8513
8514 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
8515 (gdb-jsonify-buffer): Fix typos in docstring.
8516 (gdb-goto-breakpoint): Fix typo in error message.
8517 ("Display Other Windows"): Fix typo in help message.
8518 (gdb-speedbar-expand-node): Fix typo in question.
8519
8520 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
8521 (idlwave-html-system-help-location, idlwave-html-help-location)
8522 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
8523 (idlwave-help-browser-generic-args, idlwave-help-directory)
8524 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
8525 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
8526 (idlwave-online-help, idlwave-help-html-link)
8527 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
8528 Fix typos in docstrings.
8529 (idlwave-help-with-source, idlwave-help-find-routine-definition):
8530 Reflow docstrings.
8531 (idlwave-help-assistant-start): Fix typo in error message.
8532
8533 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
8534 (octave-electric-space): Fix typos in docstrings.
8535
8536 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
8537
8538 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
8539
8540 2010-01-01 Juri Linkov <juri@jurta.org>
8541
8542 * comint.el (comint-input-ring-size): Make it a defcustom and
8543 increase the default to 500 (Bug#5148).
8544
8545 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
8546
8547 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
8548 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
8549 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
8550
8551 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
8552
8553 Show working revision correctly for mercurial.
8554 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
8555 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
8556
8557 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
8558
8559 Declare some functions for the byte-compiler.
8560 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
8561 (speedbar-timer-fn, speedbar-change-expand-button-char)
8562 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
8563
8564 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
8565
8566 This changeset reverts GDB Graphical Interface to use annotations.
8567 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
8568
8569 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
8570
8571 Make vc-dir work on subdirectories of the bzr root.
8572 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
8573 file names relative to it.
8574 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8575 relative directory to vc-bzr-after-dir-status.
8576
8577 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
8578
8579 * font-lock.el (font-lock-refresh-defaults): New function, which
8580 can be used to let font-lock react to external changes in
8581 variables like font-lock-defaults and keywords.
8582 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8583
8584 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
8585
8586 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8587
8588 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8589
8590 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
8591
8592 Supersede color.diff settings in git log (bug#5211).
8593
8594 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8595 escape chars in its output when the user has color.diff set to `always'.
8596 This fix works on git 1.4.2 and newer (released on 2006-08-13).
8597
8598 2009-12-26 Kevin Ryde <user42@zip.com.au>
8599
8600 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8601 node. Keep previous "Index" name to work with past coreutils too.
8602
8603 * man.el (man): Revise docstring a bit to show -a and -l as
8604 examples. Add -k description since support for it has otherwise
8605 been a secret. (Further to bug#3717.)
8606 (Man-bgproc-sentinel): When "-k foo" produces no output show error
8607 "no matches" rather than "Can't find manpage", as the latter reads
8608 like -k was interpreted as a page name, which is not so. (Bug#5431)
8609
8610 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
8611
8612 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8613 switches. Check also for //SUBDIRED// line.
8614
8615 2009-12-25 Kenichi Handa <handa@m17n.org>
8616
8617 * language/indian.el (devanagari-composable-pattern): Fixed to
8618 handle ZWNJ and ZWJ. Use it in composition-function-table for
8619 Devanagari.
8620 (malayalam-composable-pattern): Fix previous change.
8621
8622 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8623
8624 * ps-print.el (ps-face-attributes): It was not returning the
8625 attribute face for faces specified as string. Reported by harven
8626 <harven@free.fr>. (Bug#5254)
8627 (ps-print-version): New version 7.3.5.
8628
8629 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
8630
8631 * calendar/icalendar.el (icalendar--convert-tz-offset):
8632 Fix timezone names.
8633 (icalendar--convert-tz-offset): Fix the "last-day-problem".
8634 (icalendar--add-diary-entry): Remove the trailing blank that
8635 diary-make-entry inserts.
8636
8637 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
8638
8639 Make `file-expand-wildcards' work for remote files.
8640
8641 * files.el (file-expand-wildcards): In case of remote files, check
8642 only local file name part for wildcards. Provide feature 'files
8643 and subfeature 'remote-wildcards. (Bug#5198)
8644
8645 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8646 if there is already an established connection.
8647 (tramp-advice-file-expand-wildcards): Remove it.
8648
8649 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8650 (tramp-advice-file-expand-wildcards): Move from tramp.el.
8651 Activate advice for older GNU Emacs versions. (Bug#5237)
8652
8653 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
8654
8655 Some doc fixes (more needed).
8656
8657 * find-cmd.el (find-constituents): Reflow docstring.
8658 (find-cmd, find-prune, find-command): Fix typos in docstrings.
8659 (find-generic): Doc fix.
8660
8661 2009-12-17 Juri Linkov <juri@jurta.org>
8662
8663 Fix regression from 23.1 to allow multiple modes in Local Variables.
8664
8665 * files.el (hack-local-variables-filter): While ignoring duplicates,
8666 don't take `mode' into account.
8667 (hack-local-variables-filter, hack-dir-local-variables):
8668 Don't remove duplicate `mode' from local-variables-alist (like `eval').
8669
8670 2009-12-17 Juri Linkov <juri@jurta.org>
8671
8672 Make `dired-diff' safer. (Bug#5225)
8673
8674 * dired-aux.el (dired-diff): Signal an error when `file' equals to
8675 `current' or when `file' is a directory of the `current' file.
8676
8677 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
8678
8679 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8680 unconditionally preloaded files.
8681
8682 2009-12-16 Juri Linkov <juri@jurta.org>
8683
8684 Revert to old 23.1 logic of using the file at the mark as default.
8685 * dired-aux.el (dired-diff): Use the file at the mark as default
8686 if it's not the same as the current file, and the target dir is
8687 the current dir or the mark is active. Add the current file
8688 as the arg of `dired-dwim-target-defaults'. Use the default file
8689 in the prompt. (Bug#5225)
8690
8691 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
8692
8693 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8694 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8695 (tramp-check-for-regexp): Check also, when an echoing shell stops
8696 to echo sent commands.
8697
8698 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
8699
8700 * Makefile.in: Revert last change (Bug#5191).
8701
8702 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
8703
8704 * vc-hg.el (vc-hg-print-log): Fix argument order.
8705 (vc-hg-working-revision): Make sure the command is executed in a
8706 known environment so that we can parse the output. (Bug#4417)
8707
8708 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
8709
8710 * progmodes/python.el (python-symbol-completions): Remove text
8711 properties from symbol string before calling python-send-receive.
8712
8713 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
8714
8715 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8716 when there are values for both file and line. (Bug#5060)
8717
8718 2009-12-14 Juri Linkov <juri@jurta.org>
8719
8720 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8721 whitespace after the file name of the first line of unified format,
8722 because git-diff doesn't output whitespace and file modification time
8723 after the file name.
8724
8725 2009-12-14 David Kastrup <dak@gnu.org>
8726
8727 * info.el (Info-hide-cookies-node): Before hiding a cookie,
8728 check if it already has the `display' property added by
8729 `Info-display-images-node', and not put the `invisible' property
8730 in this case.
8731
8732 2009-12-13 Glenn Morris <rgm@gnu.org>
8733
8734 * mail/emacsbug.el (message-sort-headers): Define for compiler.
8735 (report-emacs-bug): In message-mode, sort manually before storing
8736 original report text. (Bug#5178)
8737 Remove superfluous save-excursion.
8738
8739 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
8740
8741 * net/dbus.el (dbus-property-handler): Filter lambda forms out
8742 when responding to "GetAll" properties.
8743
8744 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
8745
8746 * simple.el (compose-mail): Remove mail-setup-with-from from
8747 customization checks.
8748
8749 2009-12-12 Eli Zaretskii <eliz@gnu.org>
8750
8751 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8752 RAR archives created on Unix systems.
8753
8754 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8757 the varalias that was accidentally removed by the 2009-11-19 change
8758 (bug#5186).
8759
8760 2009-12-12 Kenichi Handa <handa@m17n.org>
8761
8762 * language/indian.el (indian-compose-regexp): New function.
8763 (malayalam-composable-pattern): Fix the pattern.
8764 (composition-function-table): Set malayalam-composable-pattern for
8765 Malayalam characters.
8766
8767 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
8768
8769 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8770 rather than down-mouse-1, based on follow-link conventions.
8771
8772 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8773 are compiled.
8774
8775 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
8776
8777 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8778 (verilog-vmm-statement-re, verilog-ovm-statement-re)
8779 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8780 (verilog-leap-to-head, verilog-backward-token):
8781 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
8782
8783 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
8784
8785 * progmodes/verilog-mode.el (verilog-auto-lineup)
8786 (verilog-nameable-item-re): Cleanup user-visible spelling and
8787 documentation errors. One reported by Gary Delp.
8788 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
8789 (verilog-read-decls): Fix AUTOWIRE with types declared in a
8790 package, bug195. Reported by Pierre-David Pfister.
8791
8792 2009-12-11 Glenn Morris <rgm@gnu.org>
8793
8794 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
8795
8796 * mail/emacsbug.el: No longer require sendmail.
8797 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
8798 (report-emacs-bug-orig-text): Doc fix.
8799 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
8800 New local variables, to adapt to different mail-user-agents.
8801 (report-emacs-bug): Fix test for a gnu.org address.
8802 Use overlays for emphasis, since font-lock defeats 'face property.
8803 Pretest bugs also end up at the newsgroup these days.
8804 Stop message-mode stripping text properties.
8805 Set and use the new buffer-local variables.
8806 (report-emacs-bug-hook): Add doc-string.
8807 Remove some unnecessary save-excursions and simplify.
8808 Use the appropriate hook and send-command.
8809
8810 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
8811 capitalization of some menu entries.
8812
8813 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8814
8815 * whitespace.el (whitespace-display-char-on):
8816 Ensure `buffer-display-table' is unique when two or more windows are
8817 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
8818 New version 12.1.
8819
8820 2009-12-10 Eli Zaretskii <eliz@gnu.org>
8821
8822 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
8823 characters in the Attribute field.
8824
8825 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
8826
8827 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
8828
8829 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
8832 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8833 Disregard autoload-excludes.
8834 (update-directory-autoloads): Obey autoload-excludes here instead.
8835 But don't store its contents in no-autoloads and remove entries that
8836 refer to excludes files.
8837
8838 2009-12-10 Glenn Morris <rgm@gnu.org>
8839
8840 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
8841 (expand-mail-aliases): Define for compiler.
8842
8843 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
8844 Define for compiler.
8845
8846 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
8847 appropriate for the mail-user-agent in use.
8848
8849 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
8850
8851 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8852
8853 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
8854
8855 Fix short log parsing and fontification.
8856 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8857 Fix fontification for the [merge] label.
8858
8859 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
8860
8861 Drop some properties to avoid surprises (bug#5002).
8862 * htmlfontify.el (hfy-ignored-properties): New defcustom.
8863 (hfy-fontify-buffer): Use it.
8864
8865 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 Minor cleanup.
8868 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8869 Adjust all callers.
8870 (ffap-locate-file): Remove unused arg `dir-ok' and make other
8871 args compulsory. Adjust callers.
8872 (ffap-gopher-at-point): Remove unused var `name'.
8873
8874 Get rid of the ELCFILES abomination.
8875 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8876 (compile-elcfiles): New phony target.
8877 (compile-main): Compute ELCFILES dynamically.
8878 (compile-clean): New target to remove left-over elc files.
8879 (compile, all): Use it.
8880
8881 2009-12-09 Kenichi Handa <handa@etlken>
8882
8883 * international/mule-diag.el: Require help-mode instead of help-fns.
8884
8885 2009-12-09 Kenichi Handa <handa@m17n.org>
8886
8887 * international/mule-cmds.el (ucs-names): Supply sufficiently
8888 fine ranges instead of pre-calculating accurate ranges.
8889 Iterate with bigger gc-cons-threshold.
8890
8891 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
8892
8893 Add support for stashing a snapshot of the current tree.
8894 * vc-git.el (vc-git-stash-snapshot): New function.
8895 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8896
8897 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
8898
8899 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8900 instead of `(beginning|end)-of-line'.
8901
8902 2009-12-08 Glenn Morris <rgm@gnu.org>
8903
8904 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8905
8906 * Makefile.in (ELCFILES): Regenerate.
8907
8908 2009-12-07 Juri Linkov <juri@jurta.org>
8909
8910 Don't lazy-highlight the comint output in history Isearch mode.
8911
8912 * comint.el (comint-history-isearch-search): Instead of
8913 `comint-line-beginning-position', use `comint-after-pmark-p'
8914 to check if point if before the process mark, and go to
8915 `process-mark' in this case.
8916
8917 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * textmodes/tex-mode.el (latex-complete)
8920 (latex-indent-or-complete): Remove.
8921 (latex-mode): Set completion-at-point-functions instead.
8922
8923 Provide a standard completion command and hook it into TAB.
8924 * minibuffer.el (completion-at-point-functions): New var.
8925 (completion-at-point): New command.
8926 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8927 * progmodes/python.el (python-mode-map): Use completion-at-point.
8928 (python-completion-at-point): Rename from python-partial-symbol and
8929 adjust for use in completion-at-point-functions.
8930 (python-mode): Setup completion-at-point for Python completion.
8931 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8932 extracted from lisp-complete-symbol.
8933 (lisp-complete-symbol): Use it.
8934 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8935 setup completion-at-point for Elisp completion.
8936 (emacs-lisp-mode-map, lisp-interaction-mode-map):
8937 Use completion-at-point.
8938 * ielm.el (ielm-map): Use completion-at-point.
8939 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8940 * progmodes/sym-comp.el: Move to...
8941 * obsolete/sym-comp.el: Move from progmodes.
8942
8943 2009-12-07 Eli Zaretskii <eliz@gnu.org>
8944
8945 Prevent save-buffer in Rmail buffers from using the coding-system
8946 of the current message, and from clobbering the encoding mnemonics
8947 in the mode line (Bug#4623).
8948
8949 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8950 flag, too.
8951 (rmail-message-encoding): New variable.
8952 (rmail-write-region-annotate): Record the encoding of the current
8953 message in rmail-message-encoding.
8954 (rmail-after-save-hook): New function, restores the encoding of
8955 the current message after the message collection is saved.
8956
8957 2009-12-07 Juri Linkov <juri@jurta.org>
8958
8959 * progmodes/grep.el (grep-read-files): Use `completing-read'
8960 instead of `read-string'. Set its `collection' arg to
8961 `read-file-name-internal'. (Bug#4301)
8962
8963 2009-12-07 Juri Linkov <juri@jurta.org>
8964
8965 Correctly restore original Isearch point. (Bug#4994)
8966
8967 * isearch.el (isearch-mode): Move `isearch-push-state' after
8968 `(run-hooks 'isearch-mode-hook)'.
8969 (isearch-cancel): When `isearch-push-state-function' is defined,
8970 let-bind `isearch-cmds' to the first state (the last element of
8971 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8972 function and restores the original point). Otherwise, move point
8973 to `isearch-opoint'.
8974
8975 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8978 chars that don't have names, so the table can be built much faster at
8979 run-time.
8980
8981 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
8982
8983 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8984 change. Suggested by David Kastrup.
8985
8986 * simple.el (compose-mail): Check for incompatibilities and warn.
8987 (compose-mail-user-agent-warnings): New option.
8988
8989 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8990
8991 Support showing a single log entry from vc-annotate.
8992 * vc.el (print-log): Add a new argument: START-REVISION.
8993 (vc-print-log-internal): Add a new optional argument and
8994 pass it to the backend.
8995 (vc-print-log, vc-print-root-log): Adjust callers.
8996 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8997 buffer already displays the requested log entry, use it.
8998 Otherwise display only the log entry in question.
8999 * vc-svn.el (vc-svn-print-log):
9000 * vc-mtn.el (vc-mtn-print-log):
9001 * vc-hg.el (vc-hg-state):
9002 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
9003 (vc-git-show-log-entry): Return t on success.
9004 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
9005 (vc-bzr-show-log-entry): Return t on success.
9006 * vc-rcs.el (vc-rcs-print-log):
9007 * vc-sccs.el (vc-sccs-print-log):
9008 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
9009
9010 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9011
9012 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
9013 Add menus to the meta mode. (Bug#5043)
9014
9015 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
9016
9017 * ediff-init.el (ediff-event-key): Use event-to-character instead of
9018 event-key.
9019
9020 * ediff.el (ediff-buffers-internal): Add unwind-protect.
9021
9022 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
9023
9024 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
9025 Berbain <raphael.berbain@gmail.com>.
9026
9027 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
9028 characters.
9029 (tramp-initial-end-of-output): New defconst.
9030 (tramp-methods, tramp-find-shell)
9031 (tramp-open-connection-setup-interactive-shell)
9032 (tramp-maybe-open-connection): Use it.
9033 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
9034 existence of `#' and `$'.
9035
9036 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
9037 `tramp-initial-end-of-output'.
9038
9039 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9040
9041 Get the background mode from the terminal for xterm, and set
9042 faces accordingly.
9043 * term/xterm.el (xterm-set-background-mode): New function.
9044 (terminal-init-xterm): Use it in case xterm supports background
9045 color queries. Recompute faces after getting the background
9046 color.
9047
9048 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
9049
9050 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
9051 number comment back on its own line, for easier parsing.
9052
9053 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 Make it work for non-file buffers (bug#5102).
9056 * doc-view.el (doc-view-current-cache-dir):
9057 Use doc-view-buffer-file-name rather than buffer-file-name.
9058 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
9059
9060 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
9061
9062 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
9063 author field is too short.
9064
9065 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
9066
9067 * vc-git.el (vc-git-print-log): Handle a limit argument.
9068 Display the short log in graph form and with labels.
9069 (vc-git-log-view-mode): Handle labels.
9070
9071 Make vc-revert change VC state from 'added to 'unregistered.
9072 * vc-git.el (vc-git-revert): Call git reset first.
9073
9074 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9075
9076 * net/newst-backend.el, net/newst-plainview.el:
9077 * net/newst-reader.el, net/newst-ticker.el:
9078 * net/newst-treeview.el, net/newsticker.el:
9079 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
9080
9081 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9082
9083 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
9084
9085 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
9086 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
9087 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
9088 Update annotation regexp.
9089
9090 * simple.el (beginning-of-visual-line): Constrain to field
9091 boundaries (Bug#5106).
9092
9093 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9094
9095 * xml.el (xml-substitute-numeric-entities): Move
9096 newsticker--decode-numeric-entities in newst-backend.el to
9097 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9098 * net/newst-backend.el (newsticker--parse-generic-feed)
9099 (newsticker--parse-generic-items)
9100 (newsticker--decode-numeric-entities): Move
9101 newsticker--decode-numeric-entities in newst-backend.el to
9102 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9103
9104 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
9105
9106 * progmodes/js.el (js--js-not): Add null to the list of values.
9107
9108 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9109
9110 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
9111
9112 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9113
9114 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
9115 delimiter if it is at the end of the current line.
9116 (bibtex-generate-url-list): Fix docstring.
9117
9118 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9119
9120 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
9121 minibuffer's content with itself.
9122 Fold the confirm-after-completion case into the `confirm' case.
9123 (completion-pcm-word-delimiters): Add : and / to the delimiters.
9124
9125 2009-12-06 Kevin Ryde <user42@zip.com.au>
9126
9127 * ffap.el (ffap-rfc-path): Make this a defcustom since
9128 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
9129
9130 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
9131 manuals, similar to existing setup for help-mode. (Bug#3913.)
9132
9133 2009-12-05 Juri Linkov <juri@jurta.org>
9134
9135 Save and restore dired buffer's point positions too. (Bug#4880)
9136
9137 * dired.el (dired-save-positions): Return in the first element
9138 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
9139 Doc fix.
9140 (dired-restore-positions): First restore buffer's position.
9141 While restoring window's positions, check if window still displays
9142 the original buffer.
9143
9144 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
9145
9146 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
9147 if possible.
9148
9149 * shell.el (shell): Require ansi-color (Bug#5113).
9150
9151 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
9152
9153 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
9154
9155 2009-12-05 Alan Mackenzie <acm@muc.de>
9156
9157 * progmodes/cc-mode.el (c-before-hack-hook)
9158 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
9159 `c-file-style' to work again. This reversion restores the current
9160 software to its state in Emacs 23.1. (Bug#4146)
9161
9162 2009-12-05 Kevin Ryde <user42@zip.com.au>
9163
9164 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
9165 comment-start-skip to comment-end-skip as comment (Bug#4781).
9166
9167 2009-12-05 Juri Linkov <juri@jurta.org>
9168
9169 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
9170 for virtual nodes. (Bug#4147)
9171 (Info-find-node-2): Set `Info-current-node-virtual' to nil
9172 when moving from a virtual node.
9173 (Info-mode-menu): Add `Info-virtual-index' to the menu.
9174 (Info-mode): Add `Info-virtual-index' to the docstring.
9175
9176 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9177
9178 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
9179 track of the buffer position of the end of a BibTeX entry as this
9180 position may change during reformatting.
9181 (bibtex-format-entry): Remove whitespace before processing
9182 numerical fields so that we recognize the latter properly.
9183 (bibtex-reformat): Do not use push which changes the global value
9184 of bibtex-entry-format.
9185 (bibtex-field-braces-alist, bibtex-field-strings-alist)
9186 (bibtex-field-re-init): Replace only space characters by regexp
9187 for whitespace.
9188 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
9189 (bibtex-initialize): Also update bibtex-strings.
9190 (bibtex-kill-field): Preserve white space at end of entry.
9191 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
9192 Update bibtex-reference-keys.
9193
9194 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * minibuffer.el (completion-pcm--merge-try): Also consider placing
9197 point after a star, if that's the only place where modifications can
9198 make progress.
9199
9200 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
9201
9202 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
9203 in docstrings.
9204
9205 2009-12-04 Juri Linkov <juri@jurta.org>
9206
9207 * proced.el (proced): Call `(proced-update t)' to update process
9208 information instead of only running proced-post-display-hook.
9209 (proced-send-signal): Add a leading space to the buffer name
9210 " *Marked Processes*" to make this buffer ephemeral.
9211
9212 2009-12-04 Juri Linkov <juri@jurta.org>
9213
9214 * dired.el (dired-auto-revert-buffer): New defcustom.
9215 (dired-internal-noselect): Use it.
9216
9217 2009-12-04 Juri Linkov <juri@jurta.org>
9218
9219 Change roles of modes and functions in image-mode.el (Bug#5062).
9220
9221 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
9222 in `auto-mode-alist'.
9223 (image-mode-previous-major-mode): New variable.
9224 (image-minor-mode-map): Rename from `image-mode-text-map'.
9225 (image-mode): Move graceful error-handling code from
9226 `image-minor-mode' to here. On errors call `image-mode-as-text'.
9227 (image-minor-mode): Remove all image-handling code.
9228 Replace `image-mode-text-map' with `image-minor-mode-map'.
9229 Check for `image-type' in mode-line format string.
9230 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
9231 (image-mode-as-text): New function with most code from
9232 `image-mode-maybe'.
9233 (image-toggle-display-text): Move code that removes image
9234 properties from `image-toggle-display' to here.
9235 (image-toggle-display-image): New function with code that adds
9236 image properties copied from `image-toggle-display'.
9237 (image-toggle-display): Remove most code with leaving only code
9238 that toggles between `image-mode-as-text' and `image-mode'.
9239
9240 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
9241
9242 * net/newst-treeview.el
9243 (newsticker--treeview-list-highlight-start): Restored call to
9244 save-excursion: Selected item was stuck.
9245 (newsticker--treeview-list-select): New.
9246 (newsticker--treeview-item-show-text)
9247 (newsticker--treeview-item-show)
9248 (newsticker--treeview-item-update): Use new
9249 newsticker-treeview-item-mode.
9250 (newsticker-treeview-update): Keep current item.
9251 (newsticker-treeview-next-new-or-immortal-item): Doc change.
9252 (newsticker--treeview-first-feed): Doc change.
9253 (newsticker-treeview-list-menu)
9254 (newsticker-treeview-item-menu): Added menu entries.
9255 (newsticker-treeview-item-mode): New.
9256
9257 * net/newst-backend.el (newsticker-customize): Delete other
9258 windows.
9259
9260 2009-12-04 Sam Steingold <sds@gnu.org>
9261
9262 * log-view.el (log-view-mode-map): "q" calls quit-window,
9263 like in all the other non-self-insert buffers.
9264
9265 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 Minor cleanup.
9268 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
9269 key decoding rather than do it manually via last-input-event +
9270 ascii-character.
9271 (term-exec): Use delete-and-extract-region.
9272 (term-handle-ansi-terminal-messages): Remove unused var `end'.
9273 (term-process-pager): Remove unused var `i'.
9274 (term-dynamic-simple-complete): Make obsolete.
9275 (serial-update-config-menu): Remove unused vars `y' and `str'.
9276 (term-update-mode-line): Remove unused var `temp'.
9277
9278 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9279
9280 Limit the number of log entries displayed by default.
9281 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
9282 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
9283 using a prefix argument.
9284
9285 2009-12-03 Glenn Morris <rgm@gnu.org>
9286
9287 * progmodes/idlwave.el (class): Restore still useful declaration.
9288
9289 2009-12-03 Alan Mackenzie <acm@muc.de>
9290
9291 Enhance `c-parse-state' to run efficiently in "brace deserts".
9292
9293 * progmodes/cc-mode.el (c-basic-common-init):
9294 Call c-state-cache-init.
9295 (c-neutralize-syntax-in-and-mark-CPP): Rename from
9296 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
9297 placing `category' properties value 'c-cpp-delimiter at its boundaries.
9298
9299 * progmodes/cc-langs.el (c-before-font-lock-function):
9300 c-extend-and-neutralize-syntax-in-CPP has been renamed
9301 c-neutralize-syntax-in-and-mark-CPP.
9302
9303 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
9304 with `category' properties now, not `syntax-table' ones.
9305
9306 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
9307 enhanced (but slower) version of c-end-of-macro that won't land
9308 inside a literal or on another awkward character.
9309 (c-state-cache-too-far, c-state-cache-start)
9310 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
9311 (c-state-nonlit-pos-cache-limit, c-state-point-min)
9312 (c-state-point-min-lit-type, c-state-point-min-lit-start)
9313 (c-state-min-scan-pos, c-state-brace-pair-desert)
9314 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
9315 buffer local variables.
9316 (c-state-literal-at, c-state-lit-beg)
9317 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
9318 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
9319 (c-state-cache-top-paren, c-state-cache-after-top-paren)
9320 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
9321 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
9322 (c-renarrow-state-cache)
9323 (c-append-lower-brace-pair-to-state-cache)
9324 (c-state-push-any-brace-pair, c-append-to-state-cache)
9325 (c-remove-stale-state-cache)
9326 (c-remove-stale-state-cache-backwards, c-state-cache-init)
9327 (c-invalidate-state-cache-1, c-parse-state-1)
9328 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
9329 (c-parse-state): Enhance and refactor.
9330 (c-debug-parse-state): Amend to deal with all the new variables.
9331
9332 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
9333 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
9334 modify to use category text properties rather than syntax-table ones.
9335 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
9336 to switch off/on the syntactic paren property of C++ template
9337 delimiters using the category property.
9338 (c-with-<->-as-parens-suppressed): Macro to invoke code with
9339 template delims suppressed.
9340 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
9341 New constant/macros which apply category properties to the start
9342 and end of preprocessor constructs.
9343 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
9344 "comment out" the syntactic value of characters in preprocessor
9345 constructs.
9346 (c-with-cpps-commented-out)
9347 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
9348 with characters in all or all but one preprocessor constructs
9349 "commented out".
9350
9351 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9352
9353 * proced.el (proced-filter-alist): Use regexp-quote.
9354
9355 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
9356
9357 Cleanup.
9358 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
9359 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
9360 arguments. Expand `default-directory'.
9361
9362 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
9363 the benefit of returning an expanded localname.
9364 (tramp-tramp-file-p): Handle the case NAME is not a string.
9365
9366 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9367
9368 Add support for bzr shelve/unshelve.
9369 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9370 (vc-bzr-extra-menu-map): New variables.
9371 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
9372 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
9373 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
9374 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
9375 (vc-bzr-dir-extra-headers): Display shelves.
9376
9377 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
9378
9379 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * textmodes/bibtex.el (bibtex-complete-internal):
9382 Use completion-in-region.
9383 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
9384
9385 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9386
9387 Support applying stashes. Improve UI.
9388 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
9389 (vc-git-stash-apply, vc-git-stash-pop)
9390 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
9391 (vc-git-stash-menu): New functions.
9392 (vc-git-stash-menu-map): New variable.
9393 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
9394
9395 2009-12-03 Glenn Morris <rgm@gnu.org>
9396
9397 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
9398 (vc-print-log-internal): Fix previous change.
9399 (vc-revert): Correct pluralization.
9400
9401 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * progmodes/make-mode.el (makefile-special-targets-list): No need for
9404 it to be an alist any more.
9405 (makefile-complete): Use completion-in-region.
9406
9407 * progmodes/octave-mod.el (octave-complete-symbol):
9408 Use completion-in-region.
9409
9410 Misc cleanup.
9411 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
9412 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
9413 (idlwave-complete-class): Don't quote lambda.
9414 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
9415 (idlwave-mode-map): Move initialization into declaration.
9416 (idlwave-action-and-binding): Use backquotes.
9417 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
9418 Simplify.
9419 (idlwave-is-pointer-dereference): Remove unused var `pos'.
9420 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
9421 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
9422 `parts', and `all-parts'.
9423 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
9424 (idlwave-convert-xml-system-routine-info): Remove unused string
9425 `version-string'.
9426 (idlwave-display-user-catalog-widget): Use dolist.
9427 (idlwave-scanning-lib): Declare dynamically-scoped var.
9428 (idlwave-scan-library-catalogs): Remove unused var `flags'.
9429 (completion-highlight-first-word-only): Declare to silence bytecomp.
9430 (idlwave-popup-select): Tighten scope of `resp'.
9431 (idlwave-find-struct-tag): Remove unused var `beg'.
9432 (idlwave-after-load-rinfo-hook): Declare.
9433 (idlwave-sintern-class-info): Remove unused var `taglist'.
9434 (idlwave-find-class-definition): Remove unused var `list'.
9435 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
9436 (idlwave-what-module-find-class): Remove unused var `classes'.
9437
9438 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
9439
9440 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
9441
9442 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
9445 buffers visited. Remove redundant current-buffer-saving.
9446
9447 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9448
9449 Use completion-in-buffer and remove uses of dynamic scoping.
9450 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
9451 (pascal-buffer-to-use, pascal-flag): Don't declare.
9452 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
9453 (pascal-get-completion-decl, pascal-keyword-completion):
9454 Add `pascal-str' argument, save-excursion,
9455 return the found completions, and don't filter with pascal-pred.
9456 (pascal-completion-cache): New var.
9457 (pascal-completion): Don't switch buffer any more (it was never
9458 necessary). Don't save-excursion any more (it's done by the called
9459 subroutines). Use a cache to avoid redundant computations.
9460 Use complete-with-action rather than pascal-completion-response and
9461 let it apply the predicate as well.
9462 (pascal-complete-word): Use completion-in-buffer when
9463 pascal-toggle-completions is nil.
9464 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
9465 not used any more.
9466 (pascal-comp-defun): Don't change buffer any more.
9467 Use complete-with-action rather than pascal-completion-response and
9468 let it apply the predicate as well.
9469 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
9470 when neded.
9471
9472 2009-12-02 Kenichi Handa <handa@m17n.org>
9473
9474 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
9475 shape for all Indic scripts.
9476
9477 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9478
9479 Use completion-in-buffer.
9480 * wid-edit.el (widget-field-text-end): New function.
9481 (widget-field-value-get): Use it.
9482 (widget-string-complete, widget-file-complete)
9483 (widget-color-complete): Use it and completion-in-region.
9484 (widget-complete): Don't narrow the buffer.
9485
9486 2009-12-02 Glenn Morris <rgm@gnu.org>
9487
9488 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
9489 (rmail-select-summary): Use rmail-pop-to-buffer.
9490 * mail/rmailsum.el: Replace all pop-to-buffer calls with
9491 rmail-pop-to-buffer, to prevent horizontal splits.
9492
9493 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
9494 save-excursion with save-current-buffer.
9495 Widen before searching. (Bug#5093)
9496 (diary-list-sexp-entries): Remove superfluous save-excursion.
9497
9498 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
9499
9500 * woman.el (woman-make-bufname): Handle man-pages with "." in the
9501 name. (Bug#5038)
9502
9503 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
9504
9505 * ido.el (ido-file-internal): Handle filenames at point that do
9506 not have a directory part. (Bug#5049)
9507
9508 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
9509
9510 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
9511 (mpc-songs-jump-to, mpc-resume): Doc fixes.
9512
9513 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
9514
9515 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
9516 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
9517 any more.
9518
9519 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * comint.el (comint-insert-input): Ignore clicks to the right of
9522 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
9523
9524 * vc.el (vc-print-log-internal): Don't wait for the process to
9525 terminate before setting up the major mode.
9526
9527 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
9528 in case.
9529
9530 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
9531 the last element.
9532
9533 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
9534
9535 2009-12-01 Glenn Morris <rgm@gnu.org>
9536
9537 * window.el (window--display-buffer-2): Fix previous changes.
9538
9539 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
9540
9541 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
9542
9543 2009-12-01 Glenn Morris <rgm@gnu.org>
9544
9545 * Makefile.in (ELCFILES): Add mpc.elc.
9546
9547 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * mpc.el: New file.
9550
9551 2009-12-01 Glenn Morris <rgm@gnu.org>
9552
9553 * window.el (window-to-use): Define for compiler.
9554
9555 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
9556 consistent with others (no final period).
9557
9558 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
9559 (rmail-mime-show): Downcase the encoding. (Bug#5070)
9560
9561 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
9562
9563 Make vc-print-log buttons work.
9564 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
9565
9566 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
9567
9568 * savehist.el (savehist-autosave-interval): Allow setting to nil
9569 through customize. (Bug#5056)
9570
9571 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
9572
9573 Fix references to jit-lock properties.
9574 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9575 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9576 (perl-font-lock-special-syntactic-constructs):
9577 Quote jit-lock-defer-multiline property.
9578
9579 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
9580
9581 * vc-git.el (vc-git-registered): Call vc-git-root only once.
9582
9583 2009-11-30 Juri Linkov <juri@jurta.org>
9584
9585 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9586 value `buffer' of `multi-isearch-next-buffer-current-function'.
9587 Use `(current-buffer)' when `buffer' is nil.
9588 (multi-isearch-next-buffer-from-list): Don't fallback to
9589 `(current-buffer)' when `buffer' is nil. (Bug#4947)
9590
9591 2009-11-30 Juri Linkov <juri@jurta.org>
9592
9593 * misearch.el (multi-isearch-read-buffers): Move canonicalization
9594 of buffers with `get-buffer' to `multi-isearch-buffers'.
9595 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9596 Canonicalize BUFFERS with `get-buffer'. Doc fix.
9597 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9598 FILES with `expand-file-name' converting relative file names
9599 to absolute. Doc fix. (Bug#4727)
9600
9601 2009-11-30 Juri Linkov <juri@jurta.org>
9602
9603 * misearch.el (multi-isearch-read-buffers)
9604 (multi-isearch-read-matching-buffers): New functions.
9605 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9606 Use them in the `interactive' spec. Doc fix.
9607 (multi-isearch-read-files, multi-isearch-read-matching-files):
9608 New functions.
9609 (multi-isearch-files, multi-isearch-files-regexp):
9610 Use them in the `interactive' spec. Doc fix. (Bug#4725)
9611
9612 2009-11-30 Juri Linkov <juri@jurta.org>
9613
9614 * doc-view.el (doc-view-continuous):
9615 Rename from `doc-view-continuous-mode'.
9616 (doc-view-menu): Move "Toggle display" to the top.
9617 Add submenu "Continuous" with radio buttons "Off"/"On"
9618 and "Save as Default".
9619 (doc-view-scroll-up-or-next-page)
9620 (doc-view-scroll-down-or-previous-page)
9621 (doc-view-next-line-or-next-page)
9622 (doc-view-previous-line-or-previous-page): Rename
9623 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
9624
9625 2009-11-30 Juri Linkov <juri@jurta.org>
9626
9627 * comint.el (comint-mode-map): Rebind `M-r' from
9628 `comint-previous-matching-input' to
9629 `comint-history-isearch-backward-regexp'.
9630 Unbind `M-s' to allow global key binding `M-s'.
9631 Add menu items for `comint-history-isearch-backward' and
9632 `comint-history-isearch-backward-regexp'. (Bug#3746)
9633
9634 2009-11-30 Juri Linkov <juri@jurta.org>
9635
9636 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9637 For def=recenter, replace `recenter' with `recenter-top-bottom'
9638 that is called with `this-command' and `last-command' let-bound
9639 to `recenter-top-bottom'. When the last `def' was not `recenter',
9640 set `recenter-last-op' to nil. (Bug#4981)
9641
9642 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 Minor cleanup and simplification.
9645 * filecache.el (file-cache-add-directory)
9646 (file-cache-add-directory-recursively)
9647 (file-cache-add-from-file-cache-buffer)
9648 (file-cache-delete-file-regexp, file-cache-delete-directory)
9649 (file-cache-files-matching-internal, file-cache-display): Use dolist.
9650 (file-cache-temp-minibuffer-message): Delete function.
9651 (file-cache-minibuffer-complete): Use minibuffer-message instead.
9652
9653 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9654 Don't signal an error when bumping into EOB in tr, s, or y.
9655
9656 2009-11-29 Juri Linkov <juri@jurta.org>
9657
9658 * startup.el (fancy-about-text): Fix wording of Guided Tour.
9659 (Bug#4960)
9660
9661 * descr-text.el (describe-char-unidata-list): Use lowercase name
9662 for "Unicode name" like in other tags.
9663
9664 2009-11-29 Juri Linkov <juri@jurta.org>
9665
9666 * ediff-util.el (ediff-minibuffer-with-setup-hook):
9667 New compatibility macro.
9668 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9669
9670 2009-11-29 Juri Linkov <juri@jurta.org>
9671
9672 Add defcustom to define the cycling order of `recenter-top-bottom'.
9673 (Bug#4981)
9674
9675 * window.el (recenter-last-op): Doc fix.
9676 (recenter-positions): New defcustom.
9677 (recenter-top-bottom): Rewrite to use `recenter-positions'.
9678 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9679
9680 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
9681
9682 Improve integration of Tramp and ange-ftp in eshell.
9683
9684 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9685 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
9686 (eshell/sudo): Flatten args. Let-bind `default-directory'.
9687
9688 * eshell/esh-util.el (top): Require also Tramp when compiling.
9689 (eshell-directory-files-and-attributes): Check for FTP remote
9690 connection.
9691 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9692 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9693 (eshell-file-attributes): Handle ".". Return `entry'.
9694
9695 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9696 (ange-ftp-directory-files-and-attributes)
9697 (ange-ftp-real-directory-files-and-attributes): New defuns.
9698
9699 * net/tramp.el (tramp-maybe-open-connection): Open the remote
9700 shell with "exec" when possible. This prevents trailing prompts
9701 in `start-file-process'.
9702
9703 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9705 Try and remove assumptions about point-min==1.
9706 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9707 (rng-compute-mode-line-string): Show the validation percentage in
9708 terms of the narrowed text, not the widened text.
9709 (rng-do-some-validation): Don't catch internal errors when debugging.
9710 (rng-first-error): Simplify.
9711 (rng-after-change-function): Remove work around. AFAIK the bug has
9712 been fixed a while ago.
9713
9714 * image-mode.el (image-minor-mode): Exit more gracefully when the image
9715 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9716
9717 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9718
9719 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9720 `cd' doesn't always do it for us (bug#5067).
9721
9722 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9723 on 2009-10-25 as part of some other change (bug#5067).
9724
9725 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9726
9727 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9728 `suspicious'.
9729 (byte-compile-warnings): Use byte-compile-warning-types.
9730 (byte-compile-save-excursion): Warn about use of set-buffer right
9731 after save-excursion.
9732
9733 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9734 the excursion as well.
9735
9736 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
9737
9738 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9739 providing a Tramp related implementation of "su" and "sudo".
9740 (eshell-unix-initialize): Add "su" and "sudo".
9741
9742 2009-11-27 Daiki Ueno <ueno@unixuser.org>
9743
9744 * net/socks.el (socks-send-command): Convert binary request to
9745 unibyte before sending. This fixes mishandling of some port
9746 numbers such as 129.
9747
9748 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * help.el (describe-bindings-internal): Remove `interactive'.
9751
9752 * man.el (Man-completion-table): Trim a terminating "(".
9753 Remove the space between name page a section.
9754 Add the command's description on the `help-echo' property.
9755 Remove `process-connection-type' binding since it's unused by
9756 call-process.
9757 Provide completion for the "<section> <name>" format as well.
9758 (Man-default-man-entry): Remove spurious var shadowing the argument.
9759
9760 2009-11-26 Kevin Ryde <user42@zip.com.au>
9761
9762 * log-view.el: Add "Keywords: tools", since its other keywords
9763 aren't in finder-known-keywords, and following vc.el.
9764
9765 * sha1.el (sha1-string-external): default-directory "/" in case
9766 otherwise non-existent. process-connection-type pipe for touch of
9767 efficiency recommended by elisp manual. (An aside in Bug#3911.)
9768
9769 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 Misc coding convention cleanups.
9772 * htmlfontify.el (hfy-init-kludge-hook): Rename from
9773 hfy-init-kludge-hooks.
9774 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9775 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9776 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9777 and push.
9778 (hfy-slant, hfy-weight): Use tables rather than code.
9779 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9780 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9781 (hfy-face-attr-for-class): Initialize `face-spec' directly.
9782 (hfy-face-to-css): Remove `nconc' with single arg.
9783 (hfy-p-to-face-lennart): Use `or'.
9784 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
9785 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
9786 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
9787 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
9788 (hfy-force-fontification): Use run-hooks.
9789
9790 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
9791
9792 Various minor fixes.
9793 * htmlfontify.el (hfy-default-header): Add toggle_invis since
9794 Javascript belongs in the header, not the body.
9795 (hfy-javascript): Remove.
9796 (hfy-fontify-buffer): Don't insert it any more.
9797 (hfy-face-at): Handle (face0 face1 face2) style face properties.
9798 Fix bug in invis handling when there were no invis props in a chunk.
9799
9800 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
9801
9802 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
9803
9804 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
9805
9806 * finder.el (finder-mode-map): Add a menu.
9807
9808 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
9809
9810 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
9811 "unsigned" structs.
9812
9813 (verilog-leap-to-head, verilog-backward-token): Handle "disable
9814 fork" statement better.
9815
9816 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
9817
9818 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
9819 (verilog-delete-auto, verilog-delete-empty-auto-pair)
9820 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
9821 Reported by Clay Douglass.
9822
9823 (verilog-auto-inst, verilog-auto-star-safe)
9824 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
9825 Fix removing "// Interfaces" when saving .* expansions. Reported by
9826 Pierre-David Pfister.
9827
9828 2009-11-26 Glenn Morris <rgm@gnu.org>
9829
9830 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9831 the scope.
9832
9833 2009-11-25 Johan Bockgård <bojohan@gnu.org>
9834
9835 * vc-annotate.el (vc-annotate-revision-previous-to-line):
9836 Really use previous revision.
9837
9838 2009-11-25 Kevin Ryde <user42@zip.com.au>
9839
9840 * man.el (Man-completion-table): default-directory "/" in case
9841 doesn't otherwise exist. process-environment COLUMNS=999 so as
9842 not to truncate long names. process-connection-type pipe to avoid
9843 any chance of hitting the pseudo-tty TIOCGWINSZ.
9844 (man): completion-ignore-case t for friendliness and since man
9845 itself is case-insensitive on the command line.
9846 Further to Bug#3717.
9847
9848 * arc-mode.el: Add "Keywords: files", so the details in its
9849 commentary can be reached from finder-by-keyword.
9850 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
9851 editing mode, but it's comms related and sgml-mode.el has "comm"
9852 on that basis too.
9853 * textmodes/bibtex-style.el: Add "Keywords: tex".
9854 * international/isearch-x.el, international/ja-dic-cnv.el:
9855 * international/ja-dic-utl.el, international/kkc.el:
9856 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9857
9858 2009-11-25 Juri Linkov <juri@jurta.org>
9859
9860 * man.el (Man-completion-table): Modify regexp to include
9861 section names to completion strings. (Bug#3717)
9862
9863 2009-11-25 Juri Linkov <juri@jurta.org>
9864
9865 Search recursively in gzipped files. (Bug#4982)
9866
9867 * progmodes/grep.el (grep-highlight-matches): Add new options
9868 `always' and `auto'. Doc fix.
9869 (grep-process-setup): Check `grep-highlight-matches' for
9870 `auto-detect' to determine the need to compute grep defaults.
9871 Move Windows/DOS specific --colors settings handling
9872 to `grep-compute-defaults'. Check `grep-highlight-matches'
9873 to get the value of "--color=".
9874 (grep-compute-defaults): Compute `grep-highlight-matches' when it
9875 has the value `auto-detect'. Move Windows/DOS specific settings
9876 from `grep-process-setup'.
9877 (zrgrep): New command with alias `rzgrep'.
9878
9879 2009-11-25 Juri Linkov <juri@jurta.org>
9880
9881 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9882 to nil instead of switching off view-mode. (Bug#4896)
9883
9884 2009-11-25 Juri Linkov <juri@jurta.org>
9885
9886 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
9887
9888 * mwheel.el (mwheel-scroll-up-function)
9889 (mwheel-scroll-down-function): New defvars.
9890 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9891 `scroll-up', and `mwheel-scroll-down-function' instead of
9892 `scroll-down'.
9893
9894 * doc-view.el (doc-view-scroll-up-or-next-page)
9895 (doc-view-scroll-down-or-previous-page): Add optional ARG.
9896 Use this ARG in the call to image-scroll-up/image-scroll-down.
9897 Change `interactive' spec to "P". Goto next/previous page only
9898 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9899 SPC/DEL case). Doc fix.
9900 (doc-view-next-line-or-next-page)
9901 (doc-view-previous-line-or-previous-page): Rename arg to ARG
9902 for consistency.
9903 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9904 `doc-view-scroll-up-or-next-page', and buffer-local
9905 `mwheel-scroll-down-function' to
9906 `doc-view-scroll-down-or-previous-page'.
9907
9908 2009-11-25 Juri Linkov <juri@jurta.org>
9909
9910 Provide additional default values (directories at other Dired
9911 windows) via M-n in the minibuffer of some Dired commands.
9912
9913 * dired-aux.el (dired-diff, dired-compare-directories)
9914 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9915 `minibuffer-default' in `minibuffer-with-setup-hook'.
9916 (dired-dwim-target-directory): Find a window that displays Dired
9917 buffer instead of failing when the next window is not Dired.
9918 Use `get-window-with-predicate' to find for the next Dired window.
9919 (dired-dwim-target-defaults): New function.
9920
9921 * ediff-util.el (ediff-read-file-name):
9922 Use `dired-dwim-target-defaults' to set `minibuffer-default'
9923 in `minibuffer-with-setup-hook'.
9924
9925 2009-11-25 Juri Linkov <juri@jurta.org>
9926
9927 Provide additional default values (file name at point or at the
9928 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
9929
9930 * minibuffer.el (read-file-name-defaults): New function.
9931 (read-file-name): Reset `minibuffer-default' to nil when
9932 it duplicates initial input `insdef'.
9933 Bind `minibuffer-default-add-function' to lambda that
9934 calls `read-file-name-defaults' in `minibuffer-selected-window'.
9935 (minibuffer-insert-file-name-at-point): New command.
9936
9937 * files.el (file-name-at-point-functions): New defcustom.
9938 (find-file-default): Remove defvar.
9939 (find-file-read-args): Don't use `find-file-default'.
9940 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9941 to `read-file-name'.
9942 (find-file-literally): Use `read-file-name' with
9943 `confirm-nonexistent-file-or-buffer'.
9944
9945 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9946
9947 * dired.el (dired-read-dir-and-switches):
9948 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9949 to `read-file-name'.
9950 (dired-file-name-at-point): New function.
9951 (dired-mode): Add hook `dired-file-name-at-point' to
9952 `file-name-at-point-functions'.
9953
9954 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9955
9956 Really make the *Completions* window soft-dedicated (bug#5030).
9957 * window.el (window--display-buffer-2): Add `dedicated' argument.
9958 (display-buffer): Pass it when needed so the dedicated flag is set
9959 after calling set-window-buffer, which would otherwise reset it.
9960
9961 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * progmodes/meta-mode.el (meta-complete-symbol):
9964 * progmodes/etags.el (complete-tag):
9965 * mail/mailabbrev.el (mail-abbrev-complete-alias):
9966 Use completion-in-region.
9967
9968 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9969 (dabbrev-completion): Use completion-in-region.
9970 (dabbrev--abbrev-at-point): Simplify regexp.
9971
9972 * abbrev.el (abbrev--before-point): Use word-motion functions
9973 if :regexp is not specified (bug#5031).
9974
9975 * subr.el (string-prefix-p): New function.
9976
9977 * man.el (Man-completion-cache): New var.
9978 (Man-completion-table): Use it.
9979
9980 * vc.el (vc-print-log-internal): Make `limit' optional for better
9981 compatibility (e.g. with vc-annotate.el).
9982
9983 2009-11-24 Kevin Ryde <user42@zip.com.au>
9984
9985 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9986 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
9987
9988 * emacs-lisp/elint.el (elint-add-required-env): Better error message
9989 when .el source file not found or other error.
9990
9991 2009-11-24 Markus Triska <markus.triska@gmx.at>
9992
9993 * linum.el (linum-update-window): Ignore intangible (bug#4996).
9994
9995 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 Handle the [back] button properly (bug#4979).
9998 * descr-text.el (describe-text-properties): Add a `buffer' argument.
9999 Use help-setup-xref, help-buffer, and with-help-window.
10000 (describe-char): Add `buffer' argument.
10001 Pass proper command to help-setup-xref. Don't meddle with
10002 help-xref-stack-item directly.
10003 (describe-text-category): Use with-help-window and help-buffer.
10004
10005 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
10006 for the displayed buffer (bug#4887).
10007
10008 * man.el (Man-completion-table): New function.
10009 (man): Use it.
10010
10011 2009-11-24 David Reitter <david.reitter@gmail.com>
10012
10013 * vc-git.el (vc-git-registered): Use checkout directory (where
10014 .git is) rather than the file's directory and a relative path spec
10015 to work around a bug in git.
10016
10017 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
10018
10019 Improve handling of processes on remote hosts.
10020
10021 * eshell/esh-util.el (eshell-path-env): New defvar.
10022 (eshell-parse-colon-path): New defun.
10023 (eshell-file-attributes): Use `eshell-parse-colon-path'.
10024
10025 * eshell/esh-ext.el (eshell-search-path):
10026 Use `eshell-parse-colon-path'.
10027 (eshell-remote-command): Remove argument HANDLER.
10028 (eshell-external-command): Check for FTP remote connection.
10029
10030 * eshell/esh-proc.el (eshell-gather-process-output):
10031 Use `file-truename', in order to start also symlinked files.
10032 Apply `start-file-process' instead of `start-process'.
10033 Shorten `command' to the local file name part.
10034
10035 * eshell/em-cmpl.el (eshell-complete-commands-list):
10036 Use `eshell-parse-colon-path'.
10037
10038 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
10039
10040 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
10041 to `eshell-directory-change-hook'.
10042
10043 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
10044
10045 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
10046 because it could be enabled automatically if view-read-only is non-nil.
10047
10048 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
10049
10050 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
10051 made on 2009-11-22.
10052
10053 2009-11-24 Glenn Morris <rgm@gnu.org>
10054
10055 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
10056 deleted variable bookmark-bmenu-bookmark-column.
10057
10058 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10059
10060 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
10061
10062 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
10063
10064 * net/browse-url.el (browse-url-filename-alist): On Windows, add
10065 two slashes to the "file:" prefix.
10066 (browse-url-file-url): De-munge Cygwin filenames before passing
10067 them to Windows browser.
10068 (browse-url-default-windows-browser): Use call-process.
10069
10070 2009-11-23 Juri Linkov <juri@jurta.org>
10071
10072 Implement DocView Continuous mode. (Bug#4896)
10073 * doc-view.el (doc-view-continuous-mode): New defcustom.
10074 (doc-view-mode-map): Bind C-n/<down> to
10075 `doc-view-next-line-or-next-page', C-p/<up> to
10076 `doc-view-previous-line-or-previous-page'.
10077 (doc-view-next-line-or-next-page)
10078 (doc-view-previous-line-or-previous-page): New commands.
10079
10080 2009-11-23 Juri Linkov <juri@jurta.org>
10081
10082 Implement Isearch in comint input history. (Bug#3746)
10083 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
10084 `isearch-mode-hook'.
10085 (comint-history-isearch): New defcustom.
10086 (comint-history-isearch-backward)
10087 (comint-history-isearch-backward-regexp): New commands.
10088 (comint-history-isearch-message-overlay): New buffer-local variable.
10089 (comint-history-isearch-setup, comint-history-isearch-end)
10090 (comint-goto-input, comint-history-isearch-search)
10091 (comint-history-isearch-message, comint-history-isearch-wrap)
10092 (comint-history-isearch-push-state)
10093 (comint-history-isearch-pop-state): New functions.
10094
10095 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
10096
10097 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
10098 return.
10099 (tramp-handle-make-symbolic-link)
10100 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
10101 Quote file names.
10102 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
10103 (tramp-handle-process-file): Use it.
10104
10105 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
10106
10107 * window.el (move-to-window-line-last-op): Remove.
10108 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
10109
10110 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10111
10112 Make M-r mirror the new cycling behavior of C-l.
10113 * window.el (move-to-window-line-last-op): New var.
10114 (move-to-window-line-top-bottom): New command.
10115 (global-map): Bind M-r move-to-window-line-top-bottom.
10116
10117 2009-11-23 Sven Joachim <svenjoac@gmx.de>
10118
10119 * dired-x.el (dired-guess-shell-alist-default):
10120 Support xz format. (Bug#4953)
10121
10122 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
10123
10124 * emulation/viper-cmd.el: Use viper-last-command-char instead of
10125 last-command-char/last-command-event.
10126 (viper-prefix-arg-value): Do correct conversion of event-char for
10127 XEmacs.
10128
10129 * emulation/viper-util.el, emulation/viper.el:
10130 Use viper-last-command-char instead of
10131 last-command-char/last-command-event.
10132
10133 * ediff-init.el, ediff-mult.el, ediff-util.el:
10134 Replace last-command-char and last-command-event
10135 with (ediff-last-command-char) everywhere.
10136
10137 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
10138 created in fundamental mode.
10139
10140 * ediff.el (ediff-version): Revert the change of interactive-p to
10141 called-interactively-p.
10142
10143 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
10144
10145 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
10146 generation from word-movement command names.
10147
10148 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
10149
10150 * cus-start.el (all): Add native condition for font-use-system-font.
10151
10152 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
10153
10154 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
10155 Correct the patch from 2009-11-18. (Bug#3910)
10156
10157 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
10158
10159 * progmodes/subword.el: Rename from lisp/subword.el.
10160
10161 * subword.el: Rename to progmodes/subword.el.
10162
10163 * Makefile.in (ELCFILES): Adapt to subword.el move.
10164
10165 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10166 Stefan Monnier <monnier@iro.umontreal.ca>
10167
10168 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
10169 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
10170 (bookmark-bmenu-show-filenames): Use push.
10171 (bookmark-bmenu-hide-filenames): Use local var instead of
10172 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
10173 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
10174 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
10175 filenames now that the bookmark names are always available.
10176
10177 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
10180 (bookmark-search-pattern): Move and leave unbound.
10181 (bookmark-bmenu-mode-map): Change binding.
10182 (bookmark-read-search-input): Simplify.
10183 Don't use text-char-description. Don't error on non-char events.
10184 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
10185 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
10186 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
10187 Use a local var for the timer.
10188 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
10189 (i.e. bookmark-bmenu-search).
10190
10191 2009-11-21 Glenn Morris <rgm@gnu.org>
10192
10193 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
10194
10195 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
10196
10197 * net/browse-url.el (browse-url-default-windows-browser):
10198 Use cygstart for cygwin.
10199
10200 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
10201
10202 * bookmark.el: Formatting and doc fixes only:
10203 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
10204 (bookmark-bmenu-search): Wrap to fit within 80 columns.
10205 Minor grammar and punctuation fixes in doc string.
10206 (bookmark-read-search-input): Adjust to fit within 80 columns.
10207
10208 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10209
10210 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
10211 (c-backward-into-nomenclature): Adapt to subword renaming.
10212
10213 * subword.el (subword-forward, subword-backward, subword-mark)
10214 (subword-kill, subword-backward-kill, subword-transpose)
10215 (subword-downcase, subword-upcase, subword-capitalize)
10216 (subword-forward-internal, subword-backward-internal):
10217 Rename from forward-subword, backward-subword, mark-subword,
10218 kill-subword, backward-kill-subword, transpose-subwords,
10219 downcase-subword, upcase-subword, capitalize-subword,
10220 forward-subword-internal, backward-subword-internal.
10221
10222 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10223
10224 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
10225 New options.
10226 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
10227 New vars.
10228 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
10229 (bookmark-bmenu-filter-alist-by-regexp)
10230 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
10231 (bookmark-bmenu-search): New command.
10232 (bookmark-bmenu-mode-map): Bind it.
10233
10234 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10235
10236 * progmodes/cc-cmds.el: declare-functioned forward-subword and
10237 backward-subword to quit the byte-compiler.
10238
10239 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
10240
10241 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
10242
10243 * progmodes/cc-cmds.el (c-update-modeline)
10244 (c-forward-into-nomenclature, c-backward-into-nomenclature):
10245 Refer to subword.el functions instead of cc-subword.el.
10246
10247 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
10248 subword.el functions instead of cc-subword.el.
10249
10250 * progmodes/cc-subword.el: Rename to subword.el.
10251 * subword.el: Rename from progmodes/cc-subword.el.
10252 (subword-mode-map): Rename from c-subword-mode-map.
10253 (subword-mode): Rename from c-subword-mode.
10254 (global-subword-mode): New global minor mode.
10255 (forward-subword): Rename from c-forward-subword.
10256 (backward-subword): Rename from c-backward-subword.
10257 (mark-subword): Rename from c-mark-subword.
10258 (kill-subword): Rename from c-kill-subword.
10259 (backward-kill-subword): Rename from c-backward-kill-subword.
10260 (transpose-subwords): Rename from c-tranpose-subword.
10261 (downcase-subword): Rename from c-downcase-subword.
10262 (capitalize-subword): Rename from c-capitalize-subword.
10263 (forward-subword-internal): Rename from c-forward-subword-internal.
10264 (backward-subword-internal): Rename from c-backward-subword-internal.
10265
10266 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
10267
10268 * vc.el (vc-deduce-fileset): Allow non-state changing operations
10269 from a dired buffer.
10270 (vc-dired-deduce-fileset): New function.
10271 (vc-root-diff, vc-print-root-log): Use it.
10272
10273 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
10274 nil LIMIT argument to vc-print-log-internal.
10275
10276 2009-11-20 Glenn Morris <rgm@gnu.org>
10277
10278 * Makefile.in (ELCFILES): Regenerate.
10279
10280 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
10281
10282 * calc/calc.el (calc-set-mode-line):
10283 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10284 (math-format-number): Rename `math-format-complement-signed' to
10285 `math-format-twos-complement'.
10286
10287 * calc/calc-bin.el (math-format-twos-complement): Rename from
10288 math-format-complement-signed.
10289 (calc-radix): Rename `calc-complement-signed-mode' to
10290 `calc-twos-complement-mode'.
10291 (calc-octal-radix, calc-hex-radix): Add an argument for
10292 two's complement.
10293
10294 * calc/calc-embed.el (calc-embedded-mode-vars):
10295 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10296
10297 * calc/calc-ext.el (calc-init-extensions):
10298 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10299 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
10300
10301 * calc/calc-units.el (math-build-units-table-buffer):
10302 Let `calc-twos-complement-mode' be nil.
10303
10304 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
10305 entries.
10306
10307 * calc/calc-vec.el (calcFunc-vunpack):
10308 * calc/calc-aent.el (calc-do-calc-eval):
10309 * calc/calc-forms.el (math-format-date):
10310 * calc/calc-graph.el (calc-graph-plot):
10311 * calc/calc-math.el (math-use-emacs-fn):
10312 * calc/calccomp.el (math-compose-expr):
10313 Let `calc-twos-complement-mode' be nil.
10314
10315 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
10318 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
10319 * minibuffer.el (completion-in-region-functions): New hook.
10320 (completion-in-region): New function.
10321 * emacs-lisp/lisp.el (lisp-complete-symbol):
10322 * pcomplete.el (pcomplete-std-complete): Use it.
10323
10324 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10325
10326 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
10327 (latex-complete-alist): New vars.
10328 (latex-string-prefix-p, latex-complete-bibtex-keys)
10329 (latex-complete-envnames, latex-complete-refkeys)
10330 (latex-complete-data): New functions.
10331 (latex-complete, latex-indent-or-complete): New commands.
10332
10333 * window.el (display-buffer-mark-dedicated): New var.
10334 (display-buffer): Obey it.
10335 * minibuffer.el (minibuffer-completion-help): Use it.
10336
10337 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
10338
10339 * filecache.el (file-cache-add-file): Use push and cons.
10340 (file-cache-delete-file-regexp): Use push.
10341 (file-cache-complete): Use completion-in-region.
10342
10343 * simple.el (with-wrapper-hook): Fix thinko.
10344
10345 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
10346 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
10347 Use with-current-buffer and string-to-number.
10348 (hfy-fallback-colour-values): Use assoc-string.
10349 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
10350 (hfy-face-at): Remove unused var `found-face'.
10351 (hfy-compile-stylesheet): Remove unused var `css'.
10352 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
10353 and `orig-buffer'.
10354 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
10355 Use with-current-buffer.
10356 (hfy-text-p): Use expand-file-name and fewer setq.
10357
10358 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
10359
10360 * htmlfontify.el, hfy-cmap.el: New files.
10361
10362 2009-11-19 Juri Linkov <juri@jurta.org>
10363
10364 * minibuffer.el (completions-format): New defcustom.
10365 (completion--insert-strings): Implement vertical format.
10366
10367 * simple.el (switch-to-completions): Move point to the first
10368 completion when point was at the beginning of the buffer.
10369
10370 2009-11-19 Juri Linkov <juri@jurta.org>
10371
10372 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
10373
10374 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
10375
10376 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
10377
10378 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
10379 (mail-signature): Change default to t.
10380 (mail-from-style): Deprecate `system-default' value.
10381 (mail-insert-from-field): For default value of mail-from-style,
10382 default to `angles' unless `angles' needs quoting and `parens'
10383 does not.
10384 (mail-citation-prefix-regexp): Use citation regexp from
10385 message-mode.
10386
10387 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
10388
10389 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10390 Set variables for computing the prompt for reading password.
10391
10392 2009-11-19 Glenn Morris <rgm@gnu.org>
10393
10394 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
10395
10396 * textmodes/flyspell.el (sgml-lexical-context): Declare.
10397
10398 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
10399 (newsticker-treeview-listwindow-height): Fix custom type.
10400
10401 2009-11-19 Kenichi Handa <handa@m17n.org>
10402
10403 * descr-text.el (describe-char-padded-string): Compose with TAB
10404 only if there's a font for CH.
10405 (describe-char): Fix the condition for detecting a trivial composition.
10406
10407 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
10408
10409 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
10410 more accurate version of the regexp. (Bug#3910)
10411
10412 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
10413
10414 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
10415
10416 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
10417
10418 * font-setting.el (font-use-system-font): Declare for byte-compiler.
10419 (font-setting-change-default-font): Fix typo in docstring.
10420
10421 2009-11-18 Alan Mackenzie <acm@muc.de>
10422
10423 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
10424
10425 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
10426
10427 * font-setting.el (font-use-system-font): Move ...
10428
10429 * cus-start.el (all): ... to here.
10430
10431 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
10432
10433 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
10434 Don't set `ad-return-value' if `ad-do-it' doesn't.
10435
10436 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
10437 modification time.
10438
10439 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
10440
10441 * menu-bar.el: Put "Use system font" in Option-menu.
10442 (menu-bar-options-save): Add font-use-system-font.
10443
10444 * loadup.el: If feature system-font-setting or font-render-setting is
10445 there, load font-setting.
10446
10447 * Makefile.in (ELCFILES): Add font-settings.el.
10448 * font-setting.el: New file.
10449
10450 2009-11-17 Glenn Morris <rgm@gnu.org>
10451
10452 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
10453
10454 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
10455 Preserve point in the list buffer. (Bug#4939)
10456 Use point-at-eol.
10457 (newsticker--treeview-list-update-highlight)
10458 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
10459
10460 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
10461
10462 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
10463 Remove.
10464
10465 * calc/calc-ext.el (calc-init-extensions): Remove references to
10466 symclip.
10467
10468 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
10469
10470 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
10471 * calc/calc-help.el (calc-b-prefix-help): Remove references to
10472 `calc-symclip'.
10473
10474 2009-11-16 Kevin Ryde <user42@zip.com.au>
10475
10476 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
10477 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
10478
10479 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
10480 (lm-keywords-list): Allow comma-only separator like "foo,bar".
10481 Ignore trailing spaces by omit-nulls to split-string (fixing
10482 regression from Emacs 21 due to the incompatible split-string
10483 change). (Bug #4928.)
10484
10485 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
10486
10487 * vc.el (vc-log-show-limit): Default to 2000.
10488 (vc-print-log-internal): Insert buttons to request more entries
10489 when limiting the output.
10490
10491 * vc-sccs.el (vc-sccs-print-log):
10492 * vc-rcs.el (vc-rcs-print-log):
10493 * vc-cvs.el (vc-cvs-print-log):
10494 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
10495 LIMIT is non-nil.
10496
10497 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
10498
10499 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
10500 error when `tramp-gvfs-dbus-event-vector' is set.
10501 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
10502
10503 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10504
10505 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
10506
10507 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
10508
10509 * net/dbus.el (dbus-unregister-service): New defun.
10510 (dbus-register-property): Register the handlers of
10511 "org.freedesktop.DBus.Properties" for SERVICE.
10512 (dbus-property-handler): Fix docstring.
10513
10514 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10515
10516 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
10517 Quote doc string reference in defvaralias as it is not in special form.
10518 (byte-compile-output-docform): Doc fix.
10519
10520 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
10521
10522 * calc/calc.el (math-2-word-size, math-half-2-word-size)
10523 (calc-complement-signed-mode): New variables.
10524 (calc-set-mode-line): Add indicator for twos-complements.
10525 (math-format-number): Format twos-complement notation.
10526
10527 * calc/calc-bin.el (calc-word-size): Reset the variables
10528 `math-2-word-size' and `math-half-2-word-size'.
10529 (math-format-complement-signed, math-symclip, calcFunc-symclip)
10530 (calc-symclip): New functions.
10531
10532 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
10533
10534 * calc/calc-embed.el (calc-embedded-mode-vars):
10535 Add `calc-complement-signed-mode' to the list of modes.
10536
10537 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
10538 (calc-b-oper-keys): Add `calc-symclip' to list.
10539
10540 * calc/calc-ext.el (math-read-number-fancy): Read complement
10541 signed numbers.
10542 (calc-init-extensions): Add binding for `calc-symclip'.
10543 Add autoload for `calcFunc-symclip' and `calc-symclip'.
10544
10545 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
10546 `calc-symclip'.
10547 (calc-modes-menu): Add item for twos complement mode.
10548
10549 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
10550
10551 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10552
10553 * register.el (jump-to-register, insert-register): Handle Semantic
10554 tags. From commented-out advice in semantic/senator.el.
10555
10556 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
10557
10558 * vc.el (vc-log-show-limit): New variable.
10559 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
10560 when using a prefix argument.
10561 (vc-print-log-internal): Add new argument LIMIT.
10562
10563 * vc-svn.el (vc-svn-print-log):
10564 * vc-mtn.el (vc-mtn-print-log):
10565 * vc-hg.el (vc-hg-print-log):
10566 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
10567 pass it to the log command when set. Make the BUFFER argument
10568 non-optional.
10569
10570 * vc-sccs.el (vc-sccs-print-log):
10571 * vc-rcs.el (vc-rcs-print-log):
10572 * vc-git.el (vc-git-print-log):
10573 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10574 ignore it. Make the BUFFER argument non-optional
10575
10576 * bindings.el (mode-line-buffer-identification): Do not purecopy.
10577
10578 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10579
10580 * dired.el (dired-mode-map): Move encryption items to "Operate"
10581 menu (Bug#4703).
10582
10583 * strokes.el (strokes-update-window-configuration): Make strokes
10584 buffer current before erasing (Bug#4906).
10585
10586 2009-11-15 Juri Linkov <juri@jurta.org>
10587
10588 * simple.el (set-mark-default-inactive): Add :type, :group
10589 and :version. (Bug#4876)
10590
10591 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
10592
10593 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10594 (archive-unique-fname): ... here. (Bug#4929)
10595
10596 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10599 with a real fix.
10600
10601 * novice.el (disabled-command-function): Add useful args.
10602 Setup the help buffer so that [back] works.
10603 Remove redundant call to help-mode.
10604 (disabled-command-function): Use `case'.
10605 (en/disable-command): New function extracted from enable-command.
10606 (enable-command, disable-command): Use it.
10607
10608 2009-11-14 Glenn Morris <rgm@gnu.org>
10609
10610 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10611 constants. (Bug#4913)
10612
10613 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10614
10615 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
10616
10617 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10618 defined in C that have no doc-strings. (Bug#1063)
10619
10620 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
10621
10622 * cus-edit.el (data, files):
10623 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
10624
10625 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
10626
10627 * simple.el (shell-command): Doc fix (Bug#4891).
10628
10629 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10630
10631 2009-11-14 Glenn Morris <rgm@gnu.org>
10632
10633 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10634 statements for vc-diff, emerge-quit, and rmail-cease-edit.
10635 If they are already loaded, eval-after-load will do the right thing.
10636
10637 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10638 compiling.
10639
10640 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10641
10642 * simple.el (x-selection-owner-p): Declare.
10643 (read-mail-command): Use custom radio type rather than choice.
10644 (completion-no-auto-exit): Doc fix.
10645
10646 * custom.el (defgroup):
10647 * epg-config.el (epg): Doc fixes.
10648
10649 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
10650
10651 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10652 * international/ccl.el (define-ccl-program): Do not purecopy the
10653 docstring, defconst does it anyway.
10654
10655 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10656
10657 * add-log.el (add-change-log-entry): Avoid displaying the changelog
10658 a second time.
10659
10660 * x-dnd.el (x-dnd-maybe-call-test-function):
10661 * window.el (split-window-vertically):
10662 * whitespace.el (whitespace-help-on):
10663 * vc-rcs.el (vc-rcs-consult-headers):
10664 * userlock.el (ask-user-about-lock-help)
10665 (ask-user-about-supersession-help):
10666 * type-break.el (type-break-force-mode-line-update):
10667 * time-stamp.el (time-stamp-conv-warn):
10668 * terminal.el (te-set-output-log, te-more-break, te-filter)
10669 (te-sentinel, terminal-emulator):
10670 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10671 (term-write-input-ring, term-check-source, term-start-output-log):
10672 (term-display-buffer-line, term-dynamic-list-completions):
10673 (term-ansi-make-term, serial-term):
10674 * subr.el (selective-display):
10675 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10676 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10677 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10678 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10679 (speedbar-remove-localized-speedbar-support)
10680 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10681 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10682 (speedbar-buffers-line-directory):
10683 * simple.el (shell-command-on-region, append-to-buffer)
10684 (prepend-to-buffer):
10685 * shadowfile.el (shadow-save-todo-file):
10686 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10687 (scroll-bar-maybe-set-window-start):
10688 * sb-image.el (speedbar-image-dump):
10689 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10690 (load-save-place-alist-from-file):
10691 * ps-samp.el (ps-print-message-from-summary):
10692 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10693 (ps-background-image, ps-begin-job, ps-do-despool):
10694 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10695 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10696 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10697 (pr-call-process, pr-file-list, pr-interface-save):
10698 * novice.el (disabled-command-function)
10699 (enable-command, disable-command):
10700 * mouse.el (mouse-buffer-menu-alist):
10701 * mouse-copy.el (mouse-kill-preserving-secondary):
10702 * macros.el (kbd-macro-query):
10703 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10704 * informat.el (batch-info-validate):
10705 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10706 * hippie-exp.el (try-expand-dabbrev-visible):
10707 * help-mode.el (help-make-xrefs):
10708 * help-fns.el (describe-variable):
10709 * generic-x.el (bat-generic-mode-run-as-comint):
10710 * finder.el (finder-mouse-select):
10711 * find-dired.el (find-dired-sentinel):
10712 * filesets.el (filesets-file-close):
10713 * files.el (list-directory):
10714 * faces.el (list-faces-display, describe-face):
10715 * facemenu.el (list-colors-display):
10716 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10717 * epg.el (epg--process-filter, epg-cancel):
10718 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10719 (epa--read-signature-type):
10720 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10721 (emerge-file-names):
10722 * ehelp.el (electric-helpify):
10723 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10724 * ediff-vers.el (rcs-ediff-view-revision):
10725 * ediff-util.el (ediff-setup):
10726 * ediff-mult.el (ediff-append-custom-diff):
10727 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10728 (ediff-wordify):
10729 * echistory.el (Electric-command-history-redo-expression):
10730 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10731 * disp-table.el (describe-display-table):
10732 * dired.el (dired-find-buffer-nocreate):
10733 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10734 * dabbrev.el (dabbrev--same-major-mode-p):
10735 * chistory.el (list-command-history):
10736 * apropos.el (apropos-documentation):
10737 * allout.el (allout-obtain-passphrase):
10738 (allout-copy-exposed-to-buffer):
10739 (allout-verify-passphrase): Use with-current-buffer.
10740
10741 2009-11-13 Glenn Morris <rgm@gnu.org>
10742
10743 * Makefile.in (ELCFILES): Regenerate.
10744
10745 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
10746
10747 * net/dbus.el (dbus-registered-objects-table): Rename from
10748 `dbus-registered-functions-table', because it contains also properties.
10749 (dbus-unregister-object): Unregister also properties.
10750 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10751 Use a timeout of 500 msec, in order to not block.
10752 (dbus-register-property, dbus-property-handler): New defuns.
10753
10754 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * simple.el (minibuffer-default-add-completions): Drop deprecated
10757 4th arg.
10758
10759 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
10760
10761 * textmodes/artist.el (artist-mouse-choose-operation):
10762 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10763 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10764 (artist-compute-up-event-key): New function.
10765 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10766
10767 2009-11-13 Kenichi Handa <handa@m17n.org>
10768
10769 * language/japan-util.el: Make sure that the value of jisx0208
10770 property is jisx0208 character.
10771
10772 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
10773
10774 * international/mule.el (auto-coding-regexp-alist): Only purecopy
10775 car or each item, not the whole list.
10776
10777 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
10778
10779 * minibuffer.el (minibuffer-completion-help):
10780 Use minibuffer-hide-completions.
10781
10782 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
10783
10784 * dired.el (dired-save-positions, dired-restore-positions): New funs.
10785 (dired-revert): Use them (bug#4880).
10786
10787 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10788
10789 * tooltip.el (tooltip-frame-parameters): Undo previous change.
10790
10791 2009-11-12 Juri Linkov <juri@jurta.org>
10792
10793 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10794 New functions.
10795 (find-file-literally-at-point): Alias of `ffap-literally'.
10796
10797 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10798
10799 * textmodes/ispell.el (ispell-skip-region-alist):
10800 * textmodes/css-mode.el (auto-mode-alist):
10801 * progmodes/compile.el (auto-mode-alist):
10802 * international/mule.el (ctext-non-standard-encodings-alist)
10803 (ctext-non-standard-encodings-regexp):
10804 * simple.el (shell-command-switch, text-read-only):
10805 * replace.el (occur-mode-map):
10806 * paths.el (rmail-file-name):
10807 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10808 * find-file.el (ff-special-constructs):
10809 * files.el (file-name-handler-alist):
10810 * composite.el: Purecopy strings.
10811
10812 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10813
10814 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10815
10816 * widget.el (define-widget): Purecopy the docstring.
10817 * international/mule-cmds.el (charset): Do not purecopy the
10818 docstring here, define-widget does it.
10819
10820 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10821 * textmodes/bibtex-style.el (auto-mode-alist):
10822 * progmodes/inf-lisp.el (inferior-lisp-prompt):
10823 * progmodes/compile.el (compile-command):
10824 * language/korea-util.el (default-korean-keyboard):
10825 * international/mule-conf.el (file-coding-system-alist):
10826 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10827 * tooltip.el (tooltip-frame-parameters):
10828 * newcomment.el (comment-end, comment-padding):
10829 * dired.el (dired-trivial-filenames):
10830 * comint.el (comint-file-name-prefix): Purecopy initial values.
10831
10832 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
10833
10834 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10835 (tramp-advice-minibuffer-electric-tilde): Unload advices via
10836 `tramp-unload'.
10837 (tramp-advice-make-auto-save-file-name)
10838 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10839 after removing the advice.
10840
10841 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10842
10843 * progmodes/grep.el (grep-regexp-alist):
10844 * international/mule-cmds.el (iso-2022-control-alist):
10845 * emacs-lisp/timer.el (timer-duration-words):
10846 * subr.el (version-separator, version-regexp-alist):
10847 * minibuffer.el (completion-styles-alist):
10848 * faces.el (face-attribute-name-alist, list-faces-sample-text):
10849 Change defvars to defconsts.
10850
10851 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10852 * loadup.el ("international/mule-conf"): Load the byte compiled version.
10853 * international/mule-conf.el: Allow to be byte compiled.
10854
10855 * international/mule.el (define-charset): Purecopy props.
10856 (load-with-code-conversion): Purecopy doc string and file name.
10857 (put-charset-property): Purecopy strings.
10858 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10859
10860 * international/mule-cmds.el (register-input-method): Purecopy arguments.
10861 (define-char-code-property): Correctly purecopy the table.
10862
10863 * international/ccl.el (define-ccl-program): Purecopy the docstring.
10864
10865 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10866
10867 * subr.el (add-hook): Purecopy strings.
10868 (eval-after-load): Purecopy load-history-regexp and the form.
10869
10870 * custom.el (custom-declare-group): Purecopy load-file-name.
10871
10872 * subr.el (menu-bar-separator): New defconst.
10873 * net/eudc.el (eudc-tools-menu):
10874 * international/mule-cmds.el (set-coding-system-map)
10875 (mule-menu-keymap):
10876 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10877 * vc-hooks.el (vc-menu-map):
10878 * replace.el (occur-mode-map):
10879 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10880 (menu-bar-edit-menu, menu-bar-goto-menu)
10881 (menu-bar-custom-menu, menu-bar-showhide-menu)
10882 (menu-bar-options-menu, menu-bar-tools-menu)
10883 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10884 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10885 (menu-bar-help-menu):
10886 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10887 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10888
10889 * term/x-win.el (x-gtk-stock-map):
10890 * progmodes/vera-mode.el (auto-mode-alist):
10891 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10892 (inferior-lisp-program, inferior-lisp-load-command):
10893 * progmodes/hideshow.el (hs-special-modes-alist):
10894 * progmodes/gud.el (same-window-regexps):
10895 * progmodes/grep.el (grep-program, find-program, xargs-program):
10896 * net/telnet.el (same-window-regexps):
10897 * net/rlogin.el (same-window-regexps):
10898 * language/ethiopic.el (font-ccl-encoder-alist):
10899 * vc-sccs.el (vc-sccs-master-templates):
10900 * vc-rcs.el (vc-rcs-master-templates):
10901 * subr.el (cl-assertion-failed):
10902 * simple.el (next-error-overlay-arrow-position):
10903 * lpr.el (lpr-command):
10904 * locate.el (locate-ls-subdir-switches):
10905 * info.el (same-window-regexps, info)
10906 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10907 * image-mode.el (image-mode, auto-mode-alist):
10908 * hippie-exp.el (hippie-expand-ignore-buffers):
10909 * format.el (format-alist):
10910 * find-dired.el (find-ls-subdir-switches, find-grep-options)
10911 (find-name-arg):
10912 * facemenu.el (facemenu-keybindings):
10913 * dired.el (dired-listing-switches, dired-chown-program):
10914 * diff.el (diff-switches, diff-command):
10915 * cus-edit.el (same-window-regexps):
10916 * bindings.el (mode-line-mule-info)
10917 (mode-line-buffer-identification): Purecopy strings.
10918
10919 2009-11-11 Juri Linkov <juri@jurta.org>
10920
10921 * simple.el (dired-get-filename) <declare-function>:
10922 Tell the byte-compiler about dired-get-filename.
10923 (shell-command): In Dired mode, get filename from the current line
10924 as the default value.
10925
10926 2009-11-10 Glenn Morris <rgm@gnu.org>
10927
10928 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10929 * calendar/holidays.el, progmodes/cperl-mode.el:
10930 Update x-popup-menu declarations.
10931
10932 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10933 (list-load-path-shadows): Use dolist.
10934 (list-load-path-shadows): Use with-current-buffer.
10935
10936 2009-11-10 Juri Linkov <juri@jurta.org>
10937
10938 * minibuffer.el (read-file-name): Support a list of default values
10939 in `default-filename'. Use the first file name where only one
10940 element is required. Doc fix.
10941
10942 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
10943
10944 * net/dbus.el (dbus-unregister-object): Release service, if no
10945 other method is registered for it.
10946
10947 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
10948
10949 * bookmark.el (bookmark-completing-read): Sort bookmark names if
10950 bookmark-sort-flag is non-nil (Bug#4653).
10951
10952 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10953
10954 * emulation/cua-base.el: Add CUA property to some CC mode commands
10955 (Bug#4100).
10956
10957 2009-11-08 Kevin Ryde <user42@zip.com.au>
10958
10959 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10960 at end of sentence (Bug#4818).
10961
10962 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
10963
10964 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10965 Handle "see declaration of" MSFT statements (Bug#4100).
10966
10967 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
10968
10969 * net/tramp.el (tramp-advice-make-auto-save-file-name)
10970 (tramp-advice-file-expand-wildcards): Unload via
10971 `ad-remove-advice'.
10972
10973 * net/trampver.el: Update release number.
10974
10975 2009-11-08 Kevin Ryde <user42@zip.com.au>
10976
10977 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10978 `ad-do-it'.
10979
10980 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
10981
10982 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10983 in order to keep context in SELinux.
10984
10985 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10986
10987 * dired-aux.el (dired-query): Place cursor in echo area and allow
10988 C-g.
10989
10990 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10991 menu item if not on a directory (Bug#4701).
10992
10993 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
10994
10995 Sync with Tramp 2.1.17.
10996
10997 * net/tramp.el (tramp-handle-copy-directory): Don't use
10998 `file-remote-p' (due to compatibility).
10999
11000 * net/tramp-compat.el (tramp-compat-copy-directory)
11001 (tramp-compat-delete-directory): New defuns.
11002
11003 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
11004 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
11005 `tramp-compat-delete-directory'.
11006
11007 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11008 (tramp-smb-handle-delete-directory): Use
11009 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
11010
11011 * net/trampver.el: Update release number.
11012
11013 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
11014
11015 * tar-mode.el (tar-copy): Call write-region on the right buffer
11016 (Bug#4857).
11017
11018 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
11019 by hand, if necessary (Bug#4878).
11020
11021 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
11022
11023 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
11024 align size column (Bug#4839).
11025
11026 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
11027 statement.
11028
11029 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11030
11031 * progmodes/ld-script.el (auto-mode-alist):
11032 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
11033
11034 * cus-face.el (custom-declare-face): Purecopy face spec.
11035
11036 2009-11-06 Kenichi Handa <handa@m17n.org>
11037
11038 * international/uni-bidi.el: Re-generated.
11039 * international/uni-category.el: Re-generated.
11040 * international/uni-combining.el: Re-generated.
11041 * international/uni-mirrored.el: Re-generated.
11042
11043 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11044
11045 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
11046 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
11047 (tex-start-options, slitex-run-command, latex-run-command)
11048 (tex-run-command, tex-directory):
11049 * textmodes/ispell.el (ispell-html-skip-alists)
11050 (ispell-tex-skip-alists, ispell-tex-skip-alists):
11051 * textmodes/fill.el (adaptive-fill-first-line-regexp):
11052 (adaptive-fill-regexp):
11053 * textmodes/dns-mode.el (auto-mode-alist):
11054 * progmodes/python.el (interpreter-mode-alist):
11055 * progmodes/etags.el (tags-compression-info-list):
11056 * progmodes/etags.el (tags-file-name):
11057 * net/browse-url.el (browse-url-galeon-program)
11058 (browse-url-firefox-program):
11059 * mail/sendmail.el (mail-signature-file)
11060 (mail-citation-prefix-regexp):
11061 * international/mule-conf.el (eight-bit):
11062 * international/latexenc.el (latex-inputenc-coding-alist):
11063 * international/fontset.el (x-pixel-size-width-font-regexp):
11064 * emacs-lisp/warnings.el (warning-type-format):
11065 * emacs-lisp/trace.el (trace-buffer):
11066 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
11067 (emacs-lisp-mode-map):
11068 * calendar/holidays.el (holiday-solar-holidays)
11069 (holiday-bahai-holidays, holiday-islamic-holidays)
11070 (holiday-christian-holidays, holiday-hebrew-holidays)
11071 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
11072 (hebrew-holidays-1, holiday-oriental-holidays)
11073 (holiday-general-holidays):
11074 * x-dnd.el (x-dnd-known-types):
11075 * tool-bar.el (tool-bar):
11076 * startup.el (site-run-file):
11077 * shell.el (shell-dumb-shell-regexp):
11078 * rfn-eshadow.el (file-name-shadow-tty-properties)
11079 (file-name-shadow-properties):
11080 * paths.el (remote-shell-program, news-directory):
11081 * mouse.el ([C-down-mouse-3]):
11082 * menu-bar.el (menu-bar-tools-menu):
11083 * jka-cmpr-hook.el (jka-compr-load-suffixes)
11084 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
11085 (jka-compr-compression-info-list):
11086 * isearch.el (search-whitespace-regexp):
11087 * image-file.el (image-file-name-extensions):
11088 * find-dired.el (find-ls-option):
11089 * files.el (directory-listing-before-filename-regexp)
11090 (directory-free-space-args, insert-directory-program)
11091 (list-directory-brief-switches, magic-fallback-mode-alist)
11092 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
11093 (automount-dir-prefix):
11094 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
11095 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
11096 (face-font-registry-alternatives, face-font-registry-alternatives)
11097 (face-font-family-alternatives):
11098 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
11099 (facemenu-foreground-menu, facemenu-face-menu):
11100 * epa-hook.el (epa-file-name-regexp):
11101 * dnd.el (dnd-protocol-alist):
11102 * textmodes/rst.el (auto-mode-alist):
11103 * button.el (default-button): Purecopy strings.
11104
11105 2009-11-06 Glenn Morris <rgm@gnu.org>
11106
11107 * Makefile.in (ELCFILES): Update.
11108
11109 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
11112 * emacs-lisp/levents.el: Move to obsolete/levents.el.
11113
11114 * nxml/xsd-regexp.el (xsdre-gen-categories):
11115 * nxml/xmltok.el (xmltok-parse-entity):
11116 * nxml/rng-parse.el (rng-parse-validate-file):
11117 * nxml/rng-maint.el (rng-format-manual)
11118 (rng-manual-output-force-new-line):
11119 * nxml/rng-loc.el (rng-save-schema-location-1):
11120 * nxml/rng-cmpct.el (rng-c-parse-file):
11121 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
11122 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
11123
11124 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
11125
11126 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
11127 Remove extra save-excursions and make-variable-buffer-local's.
11128 Suggested by Stefan Monnier.
11129
11130 (verilog-getopt-file, verilog-module-inside-filename-p)
11131 (verilog-set-define): Merge GNU 1.35 and repair changes from
11132 switching to using with-current-buffer.
11133
11134 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
11135 being treated as a number and confusing AUTORESET.
11136 Reported by Dan Dever.
11137
11138 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
11139 Add verilog-auto-ignore-concat to fix backward compatibility with
11140 older verilog-modes. Reported by Dan Katz.
11141
11142 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
11143 containing closing anchors "...$".
11144
11145 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
11146 Reported by Wade Smith.
11147
11148 (verilog-batch-execute-func): Comment on function usage.
11149
11150 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
11151
11152 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
11153 for labels.
11154
11155 (verilog-label-re, verilog-calc-1): Support proper indent of named
11156 asserts.
11157
11158 (verilog-backward-token, verilog-basic-complete-re)
11159 (verilog-beg-of-statement, verilog-indent-re): Support proper
11160 indent of the assert statement at the beginning of a block of text.
11161
11162 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
11163 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
11164 tokens as begins.
11165
11166 2009-11-05 Glenn Morris <rgm@gnu.org>
11167
11168 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
11169 Emacs 19. (Bug#1531)
11170 (byte-compile-fix-header): Update for the above change.
11171 Drop test for epoch::version.
11172
11173 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
11174 * cus-dep.el (custom-make-dependencies):
11175 * finder.el (finder-compile-keywords):
11176 Use autoload-rubric's feature argument.
11177
11178 * calendar/diary-lib.el (top-level): Make load behave more like require.
11179
11180 * vc-git.el (vc-git-stash-map): Move definition before use.
11181
11182 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
11183
11184 * custom.el (custom-declare-group): Purecopy standard-value.
11185 (custom-declare-group): Purecopy custom-prefix.
11186
11187 * international/mule.el (load-with-code-conversion):
11188 Call do-after-load-evaluation unconditionally.
11189
11190 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
11191
11192 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11193
11194 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
11195
11196 2009-11-04 Glenn Morris <rgm@gnu.org>
11197
11198 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
11199 (byte-compile-compatibility): Remove option.
11200 (byte-compile-close-variables, byte-compile-fix-header)
11201 (byte-compile-insert-header, byte-compile-output-docform)
11202 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
11203 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
11204 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
11205 (byte-compile-insert, byte-compile-defun):
11206 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
11207 (byte-defop-compiler19): Remove.
11208 Without byte-compile-compatibility, the 'emacs19-opcode property is not
11209 used by anything. Replace all calls with byte-defop-compiler.
11210
11211 2009-11-04 Juri Linkov <juri@jurta.org>
11212
11213 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
11214 (menu-bar-options-menu): Don't quote the `prop' arg of
11215 `menu-bar-make-mm-toggle'.
11216
11217 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
11218
11219 * calendar/calendar.el (cal-loaddefs):
11220 * calendar/diary-lib.el (diary-loaddefs):
11221 * calendar/holidays.el (hol-loaddefs):
11222 * eshell/esh-module.el (esh-groups): Load rather than require.
11223
11224 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * calendar/todo-mode.el (todo-add-category): Don't hardcode
11227 point-min==1.
11228 (todo-top-priorities): Only display-buffer when called interactively.
11229 (todo-item-start): Don't save excursion point.
11230 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
11231 (todo-insert-item-here, todo-file-item, todo-remove-item):
11232 Adjust uses of todo-item-start and todo-item-end.
11233
11234 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
11235 (autoload-rubric): Don't use any more.
11236
11237 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
11238 and only put a prop if it is non-nil.
11239
11240 2009-11-03 Juri Linkov <juri@jurta.org>
11241
11242 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
11243 (menu-bar-options-menu): Fix list quoting (Bug#4429).
11244
11245 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
11246 and "Menu" to make top-level menu item visually one unit (like
11247 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
11248 multi-word menu items). Fix :help string for quit-window.
11249
11250 2009-11-03 Glenn Morris <rgm@gnu.org>
11251
11252 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
11253 (byte-compile-file-form-define-abbrev-table)
11254 (byte-compile-file-form-custom-declare-variable)
11255 (byte-compile-variable-ref, byte-compile-defvar):
11256 Whether or not a warning is enabled should only affect whether we issue
11257 the warning, not whether or not we collect the relevant data.
11258 Eg warnings can be turned on and off throughout the course of a file.
11259
11260 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
11261 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
11262
11263 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
11266 * play/mpuz.el (mpuz-create-buffer):
11267 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
11268 (lm-print-y,s,noise, lm-print-w0, lm-init):
11269 * play/gomoku.el (gomoku-prompt-for-move):
11270 * play/fortune.el (fortune-in-buffer):
11271 * play/dissociate.el (dissociated-press):
11272 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
11273 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
11274 * mail/supercite.el (sc-eref-show):
11275 * mail/smtpmail.el (smtpmail-send-it):
11276 * mail/rmailsum.el (rmail-summary-next-labeled-message)
11277 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
11278 (rmail-summary-undelete-many, rmail-summary-rmail-update)
11279 (rmail-summary-goto-msg, rmail-summary-expunge)
11280 (rmail-summary-get-new-mail, rmail-summary-search-backward)
11281 (rmail-summary-add-label, rmail-summary-output-menu)
11282 (rmail-summary-output-body):
11283 * mail/rfc822.el (rfc822-addresses):
11284 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
11285 * mail/mailpost.el (post-mail-send-it):
11286 * mail/hashcash.el (hashcash-generate-payment):
11287 * mail/feedmail.el (feedmail-run-the-queue)
11288 (feedmail-queue-send-edit-prompt-help-first)
11289 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
11290 (feedmail-deduce-address-list):
11291 * eshell/esh-ext.el (eshell-remote-command):
11292 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
11293 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
11294 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
11295 (viper-save-string-in-file, viper-valid-marker):
11296 * emulation/viper-keym.el (viper-toggle-key):
11297 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
11298 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
11299 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
11300 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11301 (viper-exec-form-in-emacs, viper-brac-function):
11302 * emulation/viper.el (viper-delocalize-var):
11303 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
11304 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
11305 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
11306 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
11307 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
11308 * emulation/edt.el (edt-electric-helpify):
11309 * emulation/cua-rect.el (cua--rectangle-aux-replace):
11310 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
11311 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
11312 (cua-indent-to-global-mark-column):
11313 * calendar/diary-lib.el (calendar-mark-1):
11314 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
11315 Use with-current-buffer.
11316 * emulation/viper.el (viper-delocalize-var): Use dolist.
11317
11318 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
11319
11320 * comint.el (comint-replace-by-expanded-history-before-point):
11321 Replace !! with the previous input string literally (Bug#1795).
11322
11323 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
11324
11325 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
11326 to be made up of whitespace.
11327
11328 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
11329
11330 * minibuffer.el (read-file-name): Don't use file dialogs for
11331 remote directories (Bug#99).
11332
11333 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
11334
11335 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
11336
11337 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
11338
11339 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
11340 instead of deleting the window or frame.
11341
11342 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11343
11344 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
11345 Support face colors.
11346
11347 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
11348 New function. Support face colors (Bug#1168).
11349 (tex-common-initialization): Use it.
11350
11351 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
11352 mode allows it (Bug#1168).
11353
11354 2009-10-31 Juri Linkov <juri@jurta.org>
11355
11356 * facemenu.el (list-colors-display): Don't mark buffer as
11357 modified (Bug#3948).
11358
11359 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11360
11361 * international/mule-diag.el (list-character-sets-1): Minor
11362 message fix (Bug#3526).
11363
11364 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
11365 face property (Bug#4834).
11366 (etags-list-tags, etags-tags-apropos-additional)
11367 (etags-tags-apropos, tags-select-tags-table): Add follow-link
11368 property.
11369
11370 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
11371 items.
11372
11373 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
11374
11375 * textmodes/two-column.el (2C-split):
11376 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
11377 * textmodes/tex-mode.el (tex-set-buffer-directory):
11378 * textmodes/spell.el (spell-region, spell-string):
11379 * textmodes/reftex.el (reftex-erase-buffer):
11380 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
11381 * textmodes/reftex-toc.el (reftex-toc-promote-action):
11382 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
11383 (reftex-select-item):
11384 * textmodes/reftex-ref.el (reftex-label-info-update)
11385 (reftex-offer-label-menu):
11386 * textmodes/reftex-index.el (reftex-index-change-entry)
11387 (reftex-index-phrases-info):
11388 * textmodes/reftex-global.el (reftex-create-tags-file)
11389 (reftex-save-all-document-buffers, reftex-ensure-write-access):
11390 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
11391 (reftex-view-crossref-from-bibtex):
11392 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
11393 (reftex-extract-bib-entries-from-thebibliography)
11394 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
11395 * textmodes/refbib.el (r2b-capitalize-title):
11396 (r2b-convert-buffer, r2b-help):
11397 * textmodes/page-ext.el (pages-directory)
11398 (pages-directory-goto-with-mouse):
11399 * textmodes/bibtex.el (bibtex-validate-globally):
11400 * textmodes/bib-mode.el (bib-capitalize-title):
11401 * textmodes/artist.el (artist-clear-buffer, artist-system):
11402 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
11403 (local-set-scheme-interaction-buffer, xscheme-process-filter)
11404 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
11405 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
11406 (xscheme-send-control-g-interrupt, xscheme-start-process)
11407 (xscheme-process-sentinel, xscheme-cd):
11408 * progmodes/verilog-mode.el (verilog-read-always-signals)
11409 (verilog-set-define, verilog-getopt-file)
11410 (verilog-module-inside-filename-p):
11411 * progmodes/sh-script.el:
11412 * progmodes/python.el (python-pdbtrack-get-source-buffer)
11413 (python-pdbtrack-grub-for-buffer, python-execute-file):
11414 * progmodes/octave-inf.el (inferior-octave):
11415 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11416 (idlwave-shell-compile-helper-routines, idlwave-set-local)
11417 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
11418 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
11419 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
11420 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
11421 (idlwave-shell-filter, idlwave-shell-examine-highlight)
11422 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
11423 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
11424 (idlwave-shell-examine-display, idlwave-shell-run-region)
11425 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
11426 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
11427 * progmodes/idlw-help.el (idlwave-help-get-special-help)
11428 (idlwave-help-get-help-buffer):
11429 * progmodes/gud.el (gud-basic-call, gud-find-class)
11430 (gud-tooltip-activate-mouse-motions-if-enabled):
11431 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11432 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
11433 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
11434 (ebrowse-tags-next-file):
11435 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
11436 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
11437 (ebnf-eps-finish-and-write):
11438 * progmodes/cpp.el (cpp-edit-save):
11439 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
11440 * progmodes/cc-defs.el (c-emacs-features):
11441 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
11442 (antlr-directory-dependencies):
11443 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
11444 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
11445 (ada-find-any-references, ada-make-filename-from-adaname)
11446 (ada-make-body-gnatstub):
11447 * obsolete/rnews.el (news-list-news-groups):
11448 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
11449 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
11450 * net/rcirc.el (rcirc-debug):
11451 * net/newst-treeview.el (newsticker--treeview-list-add-item)
11452 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
11453 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
11454 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
11455 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
11456 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
11457 (newsticker--treeview-list-clear-highlight)
11458 (newsticker--treeview-list-update-highlight)
11459 (newsticker--treeview-list-highlight-start)
11460 (newsticker--treeview-tree-update-highlight)
11461 (newsticker--treeview-get-selected-item)
11462 (newsticker-treeview-mark-list-items-old)
11463 (newsticker--treeview-set-current-node):
11464 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11465 * net/newst-backend.el (newsticker--get-news-by-funcall)
11466 (newsticker--get-news-by-wget, newsticker--image-get)
11467 (newsticker--image-sentinel):
11468 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
11469 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
11470 (eudc-ph-close-session):
11471 * net/eudc.el (eudc-save-options):
11472 * language/thai-word.el (thai-update-word-table):
11473 * language/japan-util.el (japanese-string-conversion):
11474 * international/titdic-cnv.el (tsang-quick-converter)
11475 (ziranma-converter, ctlau-converter):
11476 * international/mule-cmds.el (describe-language-environment):
11477 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
11478 (skkdic-convert-postfix, skkdic-convert-prefix):
11479 (skkdic-convert-okuri-nasi, skkdic-convert):
11480 * emacs-lisp/re-builder.el (reb-update-overlays):
11481 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
11482 * emacs-lisp/gulp.el (gulp-send-requests):
11483 * emacs-lisp/find-gc.el (trace-call-tree):
11484 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
11485 (eieio-describe-generic):
11486 * emacs-lisp/eieio-base.el (eieio-persistent-read):
11487 * emacs-lisp/edebug.el (edebug-outside-excursion):
11488 * emacs-lisp/debug.el (debugger-make-xrefs):
11489 * emacs-lisp/cust-print.el (custom-prin1-to-string):
11490 * emacs-lisp/chart.el (chart-new-buffer):
11491 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
11492 Use with-current-buffer.
11493 * textmodes/artist.el (artist-system): Don't call
11494 copy-sequence on a fresh string.
11495 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
11496
11497 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
11498
11499 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
11500 is no item to edit. (Bug#4820)
11501 (todo-top-priorities): Restore point and restore narrowing in Todo
11502 buffer. (Bug#4820)
11503
11504 2009-10-31 Glenn Morris <rgm@gnu.org>
11505
11506 * net/ange-ftp.el (top-level): Don't require dired when compiling.
11507 (comint-last-output-start, comint-last-input-start)
11508 (comint-last-input-end): Don't defvar when compiling.
11509 (ange-ftp-process-file): Use bound-and-true-p.
11510
11511 * pcmpl-rpm.el (top-level): Move provide statement to end.
11512 (pcmpl-rpm): Remove unused custom group.
11513
11514 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
11515
11516 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
11517
11518 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
11519 (byte-compile-warnings): Add `constants' as an option.
11520 (byte-compile-callargs-warn, byte-compile-arglist-warn)
11521 (display-call-tree): Update for byte-compile-fdefinition possibly
11522 returning `(macro lambda ...)'. (Bug#4778)
11523 (byte-compile-variable-ref, byte-compile-setq-default):
11524 Respect `constants' member of byte-compile-warnings.
11525
11526 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11527
11528 * vc-bzr.el (vc-bzr-revision-keywords): New var.
11529 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
11530 to "submit:".
11531
11532 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
11533
11534 * textmodes/ispell.el (ispell-skip-region-alist):
11535 * international/mule-conf.el (eight-bit):
11536 * international/fontset.el (font-encoding-alist):
11537 * startup.el (pure-space-overflow-message):
11538 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
11539 * paths.el (gnus-nntp-service, rmail-spool-directory)
11540 (term-file-prefix):
11541 * files.el (save-some-buffers-action-alist):
11542 * cmuscheme.el (same-window-buffer-names):
11543 * ielm.el (same-window-buffer-names):
11544 * shell.el (same-window-buffer-names):
11545 * mail/sendmail.el (same-window-buffer-names):
11546 * progmodes/inf-lisp.el (same-window-buffer-names):
11547 * bindings.el (mode-line-client)
11548 (mode-line-column-line-number-mode-map):
11549 * language/tibetan.el (tibetan-precomposition-rule-regexp)
11550 (tibetan-precomposed-regexp): Purecopy string arguments.
11551
11552 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
11555 (calcDigit-nondigit):
11556 * calc/calc-yank.el (calc-copy-to-buffer):
11557 * calc/calc-units.el (calc-invalidate-units-table):
11558 * calc/calc-trail.el (calc-trail-yank):
11559 * calc/calc-store.el (calc-insert-variables):
11560 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
11561 * calc/calc-prog.el (calc-read-parse-table):
11562 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
11563 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
11564 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
11565 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
11566 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
11567 (calc-graph-name, calc-graph-find-command, calc-graph-view)
11568 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
11569 * calc/calc-ext.el (calc-realign):
11570 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11571 (calc-embedded-finish-edit, calc-embedded-make-info)
11572 (calc-embedded-finish-command, calc-embedded-stack-change):
11573 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11574
11575 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11576 shell-dynamic-complete-filename in preference to
11577 comint-dynamic-complete-filename.
11578
11579 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11580 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11581 Don't consider whether the display supports colors.
11582 (bookmark-import-new-list): Use dolist.
11583 (bookmark-bmenu-mode-map): Move initialization into declaration.
11584 (bookmark-bmenu-list): Use dolist, simplify.
11585 (bookmark-show-all-annotations): Use save-selected-window and dolist.
11586 (menu-bar-final-items): Use push.
11587
11588 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11589
11590 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11591 it works on remote files.
11592 (vc-hg-diff): Don't pass any `--cwd' argument.
11593
11594 2009-10-27 Kevin Ryde <user42@zip.com.au>
11595
11596 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11597 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11598 (Further to Bug#3921).
11599
11600 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
11601
11602 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11603 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11604 calling `tramp-imap-put-file'. Add file size to the call.
11605 (tramp-imap-get-file-entries): Compute also user name, file size,
11606 and date.
11607 (tramp-imap-handle-insert-directory): Insert uid and gid.
11608 (tramp-imap-handle-file-attributes): Transform uid and gid
11609 according to `id-format'.
11610 (tramp-imap-put-file): New optional parameter SIZE. Encode file
11611 size in header X-Size.
11612
11613 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
11614
11615 * simple.el (transpose-subr): Give clearer error when the mark
11616 is not set. (Bug#4807)
11617
11618 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
11619
11620 * net/tramp.el (tramp-perl-file-truename): New defconst.
11621 Perl code contributed by yary <not.com@gmail.com> (tiny change).
11622 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11623 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11624 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11625
11626 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11627 Ignore `dired-call-process'.
11628 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11629
11630 2009-10-26 Julian Scheid <julians37@gmail.com>
11631
11632 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11633 (tramp-get-remote-readlink): New defun.
11634 (tramp-handle-file-truename): Use it.
11635 (tramp-handle-file-exists-p): Check file-attributes cache, assume
11636 file exists if cache value present.
11637 (tramp-check-cached-permissions): New defun.
11638 (tramp-handle-file-readable-p): Use it.
11639 (tramp-handle-file-writable-p): Likewise.
11640 (tramp-handle-file-executable-p): Likewise.
11641 (tramp-handle-file-name-all-completions): Try using Perl to get
11642 partial completions. When perl not available, combine `cd' and
11643 `ls' into single remote operation and use shell expansion to get
11644 partial remote directory contents. Set `file-exists-p' cache for
11645 directory and any files returned by ls. Change cache handling to
11646 support partial directory contents. Use error message emitted by
11647 remote `cd' or Perl code for local tramp-error.
11648 (tramp-do-copy-or-rename-file-directly): Avoid separate
11649 tramp-send-command-and-check call.
11650 (tramp-handle-process-file): Merge three remote ops into one.
11651 Do not flush all caches when `process-file-side-effects' is set.
11652 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11653 file-attributes shows uid/gid to be set already.
11654
11655 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
11656
11657 * textmodes/tex-mode.el (tex-dvi-view-command)
11658 (tex-show-queue-command, tex-open-quote):
11659 * progmodes/ruby-mode.el (auto-mode-alist)
11660 (interpreter-mode-alist): Purecopy strings.
11661
11662 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11663
11664 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11665 string for the hook, keymap and abbrev table.
11666
11667 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11668
11669 * x-dnd.el (x-dnd-xdnd-to-action):
11670 * startup.el (fancy-startup-text, fancy-about-text): Change to
11671 defconst from defvar.
11672
11673 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11674
11675 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11676 Purecopy initialization strings.
11677
11678 * mail/sendmail.el (mail-header-separator)
11679 (mail-personal-alias-file):
11680 * mail/rmail.el (rmail-default-dont-reply-to-names)
11681 (rmail-ignored-headers, rmail-retry-ignored-headers)
11682 (rmail-highlighted-headers, rmail-secondary-file-directory)
11683 (rmail-secondary-file-regexp):
11684 * files.el (null-device, file-name-invalid-regexp)
11685 (locate-dominating-stop-dir-regexp)
11686 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11687 (interpreter-mode-alist): Use mapcar instead of mapc.
11688
11689 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11690
11691 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11692 (completion-ignored-extensions):
11693 (debug-ignored-errors): Purecopy strings.
11694
11695 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11698 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11699 (pcomplete--here): Use push.
11700
11701 * subr.el (all-completions): Declare the 4th arg obsolete.
11702
11703 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 * pcomplete.el (pcomplete-unquote-argument-function): New var.
11706 (pcomplete-unquote-argument): New function.
11707 (pcomplete--common-suffix): Always pay attention to case.
11708 (pcomplete--table-subvert): Quote and unquote the text.
11709 (pcomplete--common-quoted-suffix): New function.
11710 (pcomplete-std-complete): Use it and pcomplete-begin.
11711
11712 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11713 we're inside a dedicated or minibuffer window.
11714
11715 2009-10-24 Karl Fogel <kfogel@red-bean.com>
11716
11717 * bookmark.el: Update documentation, especially documentation
11718 of `bookmark-alist' and of the bookmark file format.
11719 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
11720
11721 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
11722
11723 * mail/emacsbug.el (report-emacs-bug): Clarify that the
11724 keybindings apply to the mail buffer (Bug#4003). Shrink help
11725 window to buffer.
11726
11727 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11728 (global-whitespace-mode, global-whitespace-newline-mode)
11729 (whitespace-toggle-options, global-whitespace-toggle-options):
11730 Doc fix (Bug#3660).
11731
11732 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11733 of xmltok-start before the end tag was inserted (Bug#2840).
11734
11735 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11736 patterns that are preceded by an open-paren (Bug#1320).
11737
11738 2009-10-24 Sven Joachim <svenjoac@gmx.de>
11739
11740 * files.el (delete-directory): Delete symlinks to directories with
11741 delete-file (Bug#4739).
11742
11743 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
11744
11745 * vc.el (vc-backend-for-registration): Rename from
11746 vc-get-backend-for-registration. Update callers.
11747
11748 * international/mule-cmds.el (set-language-info-alist):
11749 Purecopy lang-env.
11750 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11751 (charset): Purecopy the name.
11752 (define-char-code-property): Purecopy string arguments.
11753
11754 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11755 Purecopy string arguments.
11756
11757 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11758 * ediff-hook.el (menu-bar-ediff-menu):
11759 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11760 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11761
11762 2009-10-24 Glenn Morris <rgm@gnu.org>
11763
11764 * comint.el (comint-dynamic-list-completions):
11765 * term.el (term-dynamic-list-completions): Use choose-completion rather
11766 than obsolete alias mouse-choose-completion.
11767
11768 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11769 file-cache-choose-completion.
11770 (file-cache-choose-completion): Handle an optional event argument.
11771 (file-cache-mouse-choose-completion): Make it an obsolete alias.
11772
11773 * progmodes/octave-mod.el (octave-complete-symbol):
11774 Use choose-completion if mouse-choose-completion is ever removed.
11775
11776 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11777 use.
11778
11779 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11780 compiler.
11781
11782 * vc-hooks.el (vc-responsible-backend): Fix declaration.
11783
11784 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11787 Ignore `pred' now that we receive one.
11788 Handle test-completion specially.
11789
11790 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11791
11792 * vc.el (vc-responsible-backend): Throw an error if not backend is
11793 found. Remove the REGISTER argument. Move the code dealing with
11794 REGISTER ...
11795 (vc-get-backend-for-registration): ... here. New function.
11796 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11797 of vc-responsible-backend, pass the file name instead of the
11798 directory name.
11799
11800 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11803 New funs.
11804 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
11805 (pcomplete-comint-setup): Don't modify a global var via
11806 accidental side-effects.
11807 (pcomplete-shell-setup): Adjust call accordingly.
11808 (pcomplete-parse-comint-arguments): Use push.
11809
11810 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
11811
11812 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11813 Allow uncapitalized info node names (Bug#3921).
11814
11815 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11816 to the DEBUG file (Bug#3781).
11817
11818 2009-10-23 Jari Aalto <jari.aalto@cante.net>
11819
11820 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11821 dictionary entry (Bug#4579).
11822
11823 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
11824
11825 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11826 from `rfn-eshadow-update-overlay-hook' when unloading.
11827 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11828 "rsyncc". Adjust doc string.
11829 (tramp-temp-buffer-file-name): New buffer-local defvar.
11830 (tramp-handle-insert-file-contents, tramp-handle-write-region):
11831 Keep temporary file when indicated by method ("rsync" and
11832 "rsyncc").
11833 (tramp-handle-write-region): Handle APPEND.
11834 (tramp-delete-temp-file-function): New defun. Added to
11835 `kill-buffer-hook'.
11836
11837 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
11838
11839 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11840
11841 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11842
11843 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11844 (color-name-rgb-alist, tty-standard-colors)
11845 (tty-color-mode-alist): Change to defconst.
11846
11847 * simple.el (mark-inactive): Purecopy message.
11848
11849 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11850 (global-map, yank-menu):
11851 * textmodes/ispell.el (ispell-menu-map):
11852 * net/eudc.el (eudc-tools-menu):
11853 * international/mule-cmds.el (describe-language-environment-map)
11854 (setup-language-environment-map, set-coding-system-map)
11855 (mule-menu-keymap):
11856 * vc-hooks.el (vc-menu-entry, vc-menu-map):
11857 * replace.el (occur-mode-map):
11858 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11859
11860 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
11861
11862 * calc/calc.el (math-read-number, math-read-number-simple): Use
11863 `save-match-data'.
11864
11865 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11866
11867 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11868 rather than fiddling with global-map bindings, since it should only
11869 affect per-terminal settings.
11870 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11871
11872 * minibuffer.el (completion-table-with-terminator): Allow to specify
11873 the terminator-regexp.
11874
11875 * simple.el (switch-to-completions): Look for *Completions* in other
11876 frames as well.
11877
11878 * pcomplete.el: Allow the use of completion-tables.
11879 (pcomplete-std-complete): New command.
11880 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11881 (pcomplete--here): Use a function for `form' rather than an expression,
11882 so it can be byte-compiled.
11883 (pcomplete-here, pcomplete-here*): Adjust accordingly.
11884 Add edebug declaration.
11885 (pcomplete-show-completions): Remove unused var `curbuf'.
11886 (pcomplete-do-complete, pcomplete-stub):
11887 Don't assume `completions' is a list of strings any more.
11888
11889 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
11890
11891 * find-dired.el (find-name-arg): Fix typo in docstring.
11892
11893 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11896 (pcmpl-linux-fs-types): Same, and update to new modules layout.
11897
11898 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11899 pcomplete-entries.
11900
11901 * comint.el (comint-read-input-ring, comint-write-input-ring)
11902 (comint-substitute-in-file-name)
11903 (comint-dynamic-complete-as-filename)
11904 (comint-dynamic-simple-complete)
11905 (comint-dynamic-list-filename-completions)
11906 (comint-dynamic-list-completions)
11907 (comint-redirect-results-list-from-process): Minor simplifications.
11908
11909 2009-10-21 Kevin Ryde <user42@zip.com.au>
11910
11911 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11912 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11913 the first form. And insert a blank line after ";;; Code" since
11914 that's usual style. (Bug#4612)
11915
11916 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11917
11918 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * minibuffer.el (completion-table-with-terminator): Properly implement
11921 boundaries, in case `terminator' appears in the suffix.
11922 (completion--embedded-envvar-table): Don't return boundaries if
11923 there's no valid completion. Simplify.
11924 (completion-file-name-table): New completion table extracted from
11925 completion--file-name-table.
11926 (completion--file-name-table): Use it.
11927 (read-file-name-predicate): Declare obsolete.
11928 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11929 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11930 completion-file-name-table, and use the `pred' argument.
11931 * files.el (locate-file-completion-table): Use the `pred' arg rather
11932 than read-file-name-predicate.
11933 (abbreviate-file-name): Use \` rather than ^ for BOS.
11934
11935 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
11936
11937 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11938 vc-responsible-backend to register, it causes problems.
11939
11940 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11943
11944 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
11945
11946 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11947 (tramp-smb-handle-file-attributes): Use it.
11948 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11949 (tramp-smb-handle-insert-directory): Use `mapc' rather than
11950 `mapcar'. Use `tramp-smb-get-stat-capability'.
11951 Add `dired-filename' text properties.
11952 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11953 (tramp-smb-maybe-open-connection): Simplify check for smbclient
11954 version.
11955
11956 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * subr.el (read-key-delay): Reduce to 0.01.
11959 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11960 (bug#4751).
11961
11962 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11963
11964 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11965
11966 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11967 (Info-menu): Remove unused vars `last' and `completions'.
11968 (Info-index-nodes): Remove unused var `node'.
11969
11970 * info.el (Info-complete-menu-item): Use complete-with-action.
11971
11972 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
11973
11974 Make vc-annotate work through copies and renames.
11975 * vc-annotate.el (vc-annotate-extract-revision-at-line):
11976 Return the file name too.
11977 (vc-annotate-revision-at-line)
11978 (vc-annotate-find-revision-at-line)
11979 (vc-annotate-revision-previous-to-line)
11980 (vc-annotate-show-log-revision-at-line): Update to get the file
11981 name from vc-annotate-extract-revision-at-line.
11982 (vc-annotate-show-diff-revision-at-line-internal): Change the
11983 argument to mean whether to show a file diff or not. Get the file
11984 name from vc-annotate-extract-revision-at-line.
11985 (vc-annotate-show-diff-revision-at-line):
11986 Update vc-annotate-show-diff-revision-at-line call.
11987 (vc-annotate-warp-revision): Add an optional file argument.
11988
11989 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11990 (vc-git-annotate-extract-revision-at-line): Also return the file
11991 name if found.
11992
11993 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11994 command. Remove unused code.
11995 (vc-hg-annotate-re): Update to match --follow output.
11996 (vc-hg-annotate-extract-revision-at-line): Also return the file
11997 name if found.
11998
11999 * vc.el: Update annotate-extract-revision-at-line documentation.
12000
12001 2009-10-18 Kevin Ryde <user42@zip.com.au>
12002
12003 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
12004 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
12005
12006 * net/browse-url.el (browse-url): Identify alist with "consp and
12007 not functionp" and let all other things go down the `apply' leg,
12008 as suggested by Stefan. (Further to bug#4531.)
12009
12010 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
12011
12012 * minibuffer.el (read-file-name): Check for repeat before putting
12013 a default argument in file-name-history (Bug#4657).
12014
12015 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
12016 read syntax (Bug#4737).
12017
12018 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
12019
12020 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12021
12022 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
12023 (html-tag-alist, html-tag-help): Add descriptions for undocumented
12024 entries and make note of obsolete tags.
12025
12026 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
12029
12030 2009-10-18 Glenn Morris <rgm@gnu.org>
12031
12032 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
12033 grep, so that binary files (eg international/uni-bidi.el) can match.
12034 Remove test for "UnicodeData" files, since it is hopefully unnecessary
12035 now, and in any case the file header format has changed.
12036
12037 2009-10-17 Glenn Morris <rgm@gnu.org>
12038
12039 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
12040 (flyspell-get-word, flyspell-large-region)
12041 (flyspell-auto-correct-previous-word): Doc/error message fixes.
12042
12043 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
12044
12045 * Makefile.in (ELCFILES): Add ede/shell.
12046
12047 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
12048
12049 * term/common-win.el (x-colors): Purecopy it.
12050
12051 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
12054 permissive for when the buffer is empty.
12055 (tar-header-block-tokenize): Decode the username and groupname.
12056 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
12057
12058 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12059
12060 * international/mule-cmds.el (select-safe-coding-system): If the file
12061 has a coding cookie, use it regardless of any other setting (bug#4712).
12062
12063 2009-10-17 Glenn Morris <rgm@gnu.org>
12064
12065 * foldout.el (foldout-mouse-swallow-events):
12066 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
12067
12068 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
12069 (dired-keep-marker-copy, dired-keep-marker-hardlink)
12070 (dired-keep-marker-symlink, dired-dwim-target)
12071 (dired-copy-preserve-time): Do not autoload these defcustoms.
12072
12073 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
12074 messages from messing up the file coding. (Bug#4623)
12075
12076 2009-10-17 Jari Aalto <jari.aalto@cante.net>
12077
12078 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
12079 if no match is found for the current dictionary. (Bug#4578)
12080
12081 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
12082 optional, since that is how it is documented, and this is often called
12083 with a nil argument. (Bug#4577)
12084 (flyspell-external-point-words, flyspell-auto-correct-word)
12085 (flyspell-correct-word-before-point, flyspell-word-search-forward)
12086 (flyspell-word-search-backward): Remove nil argument in calls to
12087 flyspell-get-word, since it is not needed now.
12088
12089 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
12090
12091 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
12092
12093 2009-10-16 Glenn Morris <rgm@gnu.org>
12094
12095 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
12096
12097 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12098
12099 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
12100 (ange-ftp-file-size): New function.
12101 (ange-ftp-file-attributes): Use it.
12102
12103 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
12104
12105 * net/tramp-smb.el (tramp-smb-version): New defvar.
12106 (tramp-smb-maybe-open-connection): Use it, in order to avoid
12107 repeated checks.
12108
12109 2009-10-16 Glenn Morris <rgm@gnu.org>
12110
12111 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
12112 Maybe copy some custom properties from old to new name. (Bug#4706)
12113
12114 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
12115
12116 * subr.el (error, sit-for, start-process-shell-command)
12117 (start-file-process-shell-command): Set the calling convention
12118 after the function definition.
12119
12120 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * subr.el (error, sit-for, start-process-shell-command)
12123 (start-file-process-shell-command): Use the new
12124 set-advertised-calling-convention feature.
12125
12126 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
12127
12128 * international/ucs-normalize.el (ucs-normalize-version):
12129 Change to 1.2.
12130 (check-range): Adjust for Unicode 5.2.
12131
12132 2009-10-15 Juri Linkov <juri@jurta.org>
12133
12134 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
12135 to the `menu-item' format.
12136
12137 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
12138
12139 * net/tramp.el (tramp-replace-environment-variables): Do not fail
12140 if the environment variable does not exist.
12141
12142 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12143 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
12144 parameter.
12145 (tramp-smb-handle-add-name-to-file)
12146 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12147 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12148 (tramp-smb-handle-file-attributes)
12149 (tramp-smb-do-file-attributes-with-stat)
12150 (tramp-smb-handle-file-local-copy)
12151 (tramp-smb-handle-insert-directory)
12152 (tramp-smb-handle-make-directory)
12153 (tramp-smb-handle-make-directory-internal)
12154 (tramp-smb-handle-make-symbolic-link)
12155 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
12156 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
12157 (tramp-smb-maybe-open-connection): Apply the changed parameters.
12158 (tramp-smb-read-file-entry): Read Disk names in compressed format.
12159 Handle long file names.
12160 (tramp-smb-get-cifs-capabilities): Check, whether the connection
12161 process is running.
12162 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
12163 Read share names with "-g" option.
12164
12165 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
12166
12167 * net/rcirc.el (rcirc-view-log-file): New command.
12168 (rcirc-track-minor-mode-map): Remove C-c ` binding.
12169 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
12170 specified.
12171
12172 2009-10-15 Glenn Morris <rgm@gnu.org>
12173
12174 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
12175 from the second command-line argument.
12176 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
12177 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
12178 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
12179 w32-batch-update-autoloads.
12180 * emacs-lisp/autoload.el (autoload-make-program): New variable.
12181 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
12182
12183 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
12184 the headers cannot be located. Simplify, subtracting superflous
12185 save-excursions.
12186
12187 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 Replace completion-base-size by completion-base-position to fix bugs
12190 such as (bug#4699).
12191 * simple.el (completion-base-position): New var.
12192 (completion-base-size): Mark as obsolete.
12193 (choose-completion): Make it work for mouse events as well.
12194 Pass the new base-position to choose-completion-string.
12195 (choose-completion-guess-base-position): New function, extracted from
12196 choose-completion-delete-max-match.
12197 (choose-completion-delete-max-match): Use it. Make obsolete.
12198 (choose-completion-string): Use the new base-position info.
12199 (completion-root-regexp): Delete.
12200 (completion-setup-function): Preserve completion-base-position.
12201 Eliminate obsolete base-size manipulation.
12202 * minibuffer.el (display-completion-list): Don't mess with base-size.
12203 (minibuffer-completion-help): Set completion-base-position instead.
12204 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
12205 choose-completion.
12206 * textmodes/bibtex.el (bibtex-complete):
12207 * emacs-lisp/crm.el (crm--choose-completion-string):
12208 Adjust to new calling convention.
12209 * complete.el (partial-completion-mode): Use minibufferp to avoid
12210 bumping into incompatible change to choose-completion-string-functions.
12211 * ido.el (ido-choose-completion-string): Make its calling convention
12212 more permissive.
12213 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
12214 base-size manipulation.
12215 (comint-dynamic-list-input-ring): Use dotimes and push.
12216 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
12217 fundamental-mode. Use `or'.
12218
12219 2009-10-14 Juri Linkov <juri@jurta.org>
12220
12221 * misearch.el (multi-isearch-next-buffer-from-list)
12222 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
12223
12224 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * Makefile.in (compile-onefile): Load `bytecomp' rather than
12227 `bytecomp.el'.
12228
12229 * minibuffer.el (completion-pcm--merge-completions): Make sure the
12230 string we return is all made up of text from the completions rather
12231 than part from the completions and part from the input (bug#4219).
12232
12233 * ido.el (ido-everywhere): Use define-minor-mode.
12234
12235 * buff-menu.el (list-buffers, ctl-x-map):
12236 Mark the entry points with ;;;###autoload cookies.
12237
12238 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
12239
12240 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
12241 correctly in the detached head case.
12242 (vc-git-print-log): Remove unused binding.
12243
12244 * vc.el (vc-responsible-backend): When a directory is passed for
12245 for registration create a VC repository if no backend is
12246 responsible for the directory argument.
12247 (vc-deduce-fileset): Tell vc-responsible-backend to register.
12248
12249 * vc.el: Move comments about RCS and SCCS ...
12250 * vc-rcs.el:
12251 * vc-sccs.el: ... here, respectively.
12252
12253 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12254
12255 * minibuffer.el (completion--file-name-table): Return nil if there's
12256 no file completion, even if substitute-in-file-name changed
12257 the string (bug#4708).
12258
12259 2009-10-13 Juri Linkov <juri@jurta.org>
12260
12261 * files-x.el (read-file-local-variable-value): Don't filter out
12262 minor modes from mode name completion (bug#4664).
12263
12264 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12265
12266 * international/mule-cmds.el (ucs-names): Remove exclusion of
12267 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
12268
12269 2009-10-13 Kenichi Handa <handa@m17n.org>
12270
12271 * international/uni-name.el: Regenerated.
12272
12273 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12274
12275 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
12276 should be automatically buffer-local, but isn't.)
12277
12278 2009-10-12 Sam Steingold <sds@gnu.org>
12279
12280 * progmodes/compile.el (compilation-next-error-function): Fix the
12281 timestamps if the buffer has been visited before.
12282 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
12283 non-anchored patterns, like the perl one (bug#3928).
12284
12285 2009-10-12 Glenn Morris <rgm@gnu.org>
12286
12287 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
12288 Let-bind `size'.
12289
12290 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
12291
12292 * proced.el (proced-unload-function): New function.
12293
12294 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
12295 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
12296 Doc fix.
12297
12298 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
12299
12300 2009-10-11 Juri Linkov <juri@jurta.org>
12301
12302 * files-x.el (read-file-local-variable-value):
12303 Provide default value only for bound variables (bug#4664).
12304
12305 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
12306
12307 * net/tramp.el (tramp-local-host-p): Function shall return nil for
12308 connection methods like smb.
12309
12310 * net/tramp-cache.el (tramp-flush-connection-property): The hash
12311 can be empty.
12312
12313 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12314 (tramp-smb-file-name-handler-alist): Add handlers for
12315 `add-name-to-file', `make-symbolic-link'.
12316 (tramp-smb-handle-add-name-to-file)
12317 (tramp-smb-do-file-attributes-with-stat)
12318 (tramp-smb-handle-make-symbolic-link)
12319 (tramp-smb-get-cifs-capabilities): New defuns.
12320 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12321 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12322 (tramp-smb-handle-file-local-copy)
12323 (tramp-smb-handle-make-directory-internal)
12324 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
12325 The file name syntax depends on cifs capabilities.
12326 (tramp-smb-handle-file-attributes):
12327 Call `tramp-smb-do-file-attributes-with-stat' if possible.
12328 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
12329 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
12330
12331 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
12332
12333 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
12334 (eieio-defclass): Apply deftype handler and setf-method properties
12335 directly.
12336 (eieio-add-new-slot): Avoid union function from cl library.
12337 (eieio--typep): New function.
12338 (eieio-perform-slot-validation): Use it.
12339
12340 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12341
12342 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
12343 Update documentation to refer to the variables documented in r1.135.
12344 (Bug#4188)
12345
12346 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12347
12348 * bookmark.el (Info-suffix-list): Remove this unused variable.
12349 (bookmark-current-point): Remove this obsolete variable.
12350 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
12351 Adjust for removal of bookmark-current-point.
12352
12353 (bookmarks-already-loaded, bookmark-current-buffer)
12354 (bookmark-yank-point): Document. (Bug#4188)
12355
12356 2009-10-10 Glenn Morris <rgm@gnu.org>
12357
12358 * frame.el (frame-height): Doc fix.
12359
12360 * calendar/calendar.el (calendar-split-width-threshold): New option.
12361 (calendar-basic-setup): Use calendar-split-width-threshold.
12362
12363 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
12364
12365 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
12366 Ideographic Supplement" range (U+1F200..U+1F2FF).
12367
12368 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12369
12370 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
12371 since the list will have been rebuilt anyway. (Bug#4349)
12372
12373 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12374
12375 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
12376 (bookmark-bmenu-execute-deletions): Don't save here, as
12377 bookmark-delete will now do so if necessary.
12378 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
12379 (Bug#4348)
12380
12381 2009-10-09 Glenn Morris <rgm@gnu.org>
12382
12383 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
12384
12385 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12386
12387 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
12388 (bookmark-jump-other-window): Just invoke bookmark-jump with new
12389 argument now, so the two function's behaviors will match. (Bug#3645)
12390
12391 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
12392
12393 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
12394 (tramp-file-name-real-host, tramp-file-name-port):
12395 Apply `save-match-data'.
12396
12397 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
12398 case both directories are remote.
12399 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
12400 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
12401
12402 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12403
12404 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
12405
12406 2009-10-07 Glenn Morris <rgm@gnu.org>
12407
12408 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
12409 of concat.
12410
12411 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * files-x.el (read-file-local-variable): Include some
12414 non-user-variables in the completion table (bug#4664).
12415
12416 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
12417
12418 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
12419 message.
12420
12421 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12422 (tramp-smb-file-name-handler-alist): Add handler for
12423 `copy-directory', `expand-file-name', `set-file-modes'.
12424 (tramp-smb-handle-copy-directory)
12425 (tramp-smb-handle-expand-file-name)
12426 (tramp-smb-handle-set-file-modes): New defuns.
12427 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
12428 (tramp-smb-handle-file-attributes): Simplify check for retrieving
12429 entry.
12430 (tramp-smb-handle-insert-directory): Don't flush the cache.
12431 (tramp-smb-maybe-open-connection): Check for samba client and
12432 server versions.
12433
12434 2009-10-07 Eli Zaretskii <eliz@gnu.org>
12435
12436 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
12437 to not error out of search for "^lisp=" fails.
12438
12439 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12440
12441 * makefile.w32-in (WINS_UPDATES): New macro.
12442 (custom-deps, finder-data, autoloads): Use it.
12443
12444 2009-10-07 Glenn Morris <rgm@gnu.org>
12445
12446 * Makefile.in (autoloads): Revert previous change.
12447 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
12448 the list of preloaded files passed on the command-line, get
12449 it from src/Makefile.
12450
12451 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
12452 show the original buffer rather than a random one.
12453
12454 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
12455
12456 * help.el (describe-no-warranty): Place point in a slightly better
12457 position in the GPLv3 text.
12458
12459 2009-10-06 Sam Steingold <sds@gnu.org>
12460
12461 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
12462 the comm attribute is present before calling regexp-quote.
12463
12464 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
12465
12466 * play/animate.el (animate-string): For good effect, make sure
12467 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
12468
12469 * play/animate.el (animate-sequence, animate-birthday-present):
12470 * misc.el (butterfly): Don't set `indent-tabs-mode'.
12471
12472 2009-10-06 Glenn Morris <rgm@gnu.org>
12473
12474 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
12475
12476 * emacs-lisp/autoload.el (autoload-excludes): New variable.
12477 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
12478 (batch-update-autoloads): Process a string value of autoload-excludes,
12479 set during the build process.
12480 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
12481
12482 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
12483 inside with-parsed... macro so that `v' is defined.
12484
12485 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
12486 * progmodes/fortran.el (fortran-end-of-block)
12487 (fortran-beginning-of-block):
12488 Also push mark in the macro case.
12489
12490 * emerge.el (emerge-show-file-name):
12491 * calc/calc.el (calc-quit):
12492 * calc/calc-misc.el (calc-big-or-small):
12493 * calc/calc-graph.el (calc-graph-view):
12494 * calc/calc-ext.el (calc-reset):
12495 * calendar/calendar.el (calendar-basic-setup):
12496 Use window-full-height-p.
12497
12498 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
12499 header we don't understand, don't insert another. (Bug#4624)
12500 If changing mime charset, insert the new one in the right place.
12501
12502 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
12503
12504 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
12505 (cal-tex-cursor-month): Correctly increment the end date for diary and
12506 holiday listing. (Bug#4626)
12507
12508 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12509
12510 * help-fns.el (describe-function-1): Don't burp if the function is not
12511 a symbol.
12512
12513 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
12514
12515 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
12516 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
12517 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
12518 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
12519
12520 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
12521 (eieio-default-superclass): Reflow docstrings.
12522 (this, class-option-assoc, defclass, eieio-class-un-autoload)
12523 (eieio-unbind-method-implementations, defmethod)
12524 (eieio-validate-slot-value, eieio-validate-class-slot-value)
12525 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
12526 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
12527 (eieio-slot-originating-class-p, eieio-slot-name-index)
12528 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
12529 (constructor, initialize-instance, no-next-method, object-print)
12530 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
12531 Fix typos in docstrings.
12532 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
12533 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
12534 (next-method-p): Doc fixes.
12535 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
12536 Fix typos in error messages.
12537 (eieio-defmethod): Fix typo in description of generic method.
12538
12539 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
12540 (eieio-persistent-save-interactive, slot-missing):
12541 Fix typos in docstrings.
12542 (eieio-instance-inheritor-slot-boundp): Doc fix.
12543
12544 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
12545 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
12546
12547 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
12548 (eieio-custom-object-apply-reset):
12549 Fix typos in docstrings and error messages.
12550
12551 * emacs-lisp/eieio-datadebug.el (data-debug-show):
12552 Fix typo in docstring.
12553
12554 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12555 (eieio-browse-tree): Doc fix.
12556 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12557 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12558 Fix typos in docstrings.
12559
12560 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12561 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12562 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12563 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12564 Reflow docstrings.
12565
12566 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
12567
12568 * vc-hg.el (log-view-vc-backend): Declare for compiler.
12569 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12570 Set log-view-vc-backend so that diff can work.
12571
12572 * log-view.el (log-view-diff): Use vc-diff-internal instead of
12573 vc-version-diff.
12574 (vc-diff-internal): Autoload this instead of vc-version-diff.
12575
12576 2009-10-05 Eli Zaretskii <eliz@gnu.org>
12577
12578 * simple.el (eval-expression): Doc fix.
12579
12580 * progmodes/cwarn.el (cwarn-mode): Doc fix.
12581
12582 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
12583
12584 * files.el (directory-files-no-dot-files-regexp): New defconst.
12585 (delete-directory): Use it.
12586 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
12587
12588 * net/tramp.el (tramp-verbose): Fix docstring.
12589 (tramp-methods): Add recursive option to `tramp-copy-args'.
12590 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
12591 "scp1_old", "scp2_old", "rsync", "rsyncc".
12592 (tramp-default-method): Check also for `auth-source-user-or-password'.
12593 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12594 Add handler for `copy-directory'.
12595 (tramp-handle-copy-directory): New defun.
12596 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12597 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12598 Optimize sent command.
12599
12600 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12603 window if necessary.
12604
12605 * calendar/calendar.el (calendar-basic-setup): Don't call
12606 switch-to-buffer in a dedicated window.
12607
12608 2009-10-05 Karl Fogel <kfogel@red-bean.com>
12609
12610 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12611 don't do anything related to relocating, just return nil.
12612 (bookmark-error-no-filename): New error.
12613 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12614 bookmark has no file. Don't even attempt to handle things that
12615 are not files; the whole point of custom handlers is to keep that
12616 knowledge elsewhere anyway. Tighten some comments.
12617 (bookmark-file-or-variation-thereof): Remove now-unused function.
12618 (bookmark-location): Doc string fix.
12619 (Bug#4250)
12620
12621 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12622
12623 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12624 don't use a file dialog, because they usually don't know how to read
12625 a directory target from the user. (Bug#4230)
12626 Also, make sure the prompt can display directories as well as files.
12627
12628 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12629
12630 * bookmark.el (bookmark-set, bookmark-buffer-name):
12631 Improve doc strings. (Bug#1193)
12632
12633 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12634
12635 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12636 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12637 (bookmark-get-annotation, bookmark-set-annotation)
12638 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12639 (bookmark-set-position, bookmark-get-front-context-string)
12640 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12641 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12642 (bookmark-jump-other-window, bookmark-handle-bookmark)
12643 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12644 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12645 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12646 Improve doc strings to say whether bookmark can be a string or
12647 a record or both, and make other consistency and clarity fixes.
12648 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12649 (bookmark-default-annotation-text, bookmark-yank-word)
12650 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12651 (bookmark-import-new-list, bookmark-maybe-rename)
12652 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12653 (bookmark-bmenu-bookmark): Give these doc strings.
12654 (bookmark-bmenu-check-position): Give this a doc string, but also
12655 add a FIXME comment about how the function may be pointless.
12656 (bookmark-default-handler): Rework doc string and change a
12657 parameter name, to clarify that this takes a bookmark record
12658 not a bookmark name.
12659 (bookmark-set): Change a parameter name to indicate its meaning,
12660 and improve the doc string a bit.
12661 (Bug#4188)
12662
12663 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12664
12665 * bookmark.el (bookmark-alist): Document the new `handler' element
12666 in the param alist.
12667 (bookmark-make-record-function): Adjust documentation for above.
12668 (Bug#4193)
12669
12670 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12671
12672 * info.el (Info-bookmark-make-record): Document this function.
12673 (Info-bookmark-jump): Document with a doc string, not just a comment.
12674 (Bug#4203)
12675
12676 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
12677
12678 * files.el (copy-directory): New defun.
12679
12680 * dired-aux.el (dired-copy-file-recursive): Use it.
12681
12682 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
12683
12684 * files-x.el (modify-dir-local-variable)
12685 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12686 docstrings.
12687
12688 * recentf.el (recentf-unload-function): New function.
12689
12690 2009-10-04 Glenn Morris <rgm@gnu.org>
12691
12692 * window.el (window-full-height-p): Add doc string.
12693
12694 2009-10-04 Martin Rudalics <rudalics@gmx.at>
12695
12696 * window.el (window-full-height-p): New function. (Bug#4543)
12697
12698 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
12699
12700 * vc.el: Remove commented out code.
12701 (vc-derived-from-dir-mode): Remove, unused.
12702 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12703
12704 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
12705
12706 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12707 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
12708 there could be recursive loading when `default-directory' is a
12709 remote file name. (Bug#4614)
12710
12711 2009-10-03 Glenn Morris <rgm@gnu.org>
12712
12713 * calendar/calendar.el (calendar-basic-setup): Handle the case where
12714 the frame is wide.
12715 (calendar-generate-window): Test for shrinkability rather than width.
12716
12717 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12718 reusing existing buffers, in case we happen to visit two files with the
12719 same basename. (Bug#4593)
12720
12721 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12722
12723 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12724 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12725 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12726 subdirs of cedet as well.
12727 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12728
12729 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12730
12731 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12732 Obey advertised-signature-table.
12733
12734 * help-fns.el (help-function-arglist): Don't check
12735 advertised-signature-table.
12736 (describe-function-1): Do it here instead so it also applies to subrs.
12737
12738 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
12739
12740 * simple.el (start-file-process): Say in the doc-string, that file
12741 handlers might not support pty association, if PROGRAM is nil.
12742
12743 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12744 HOST and USER are strings. They are nil, when there are
12745 incomplete entries in ~/.netrc, for example.
12746 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
12747 root directory ("device busy" error otherwise).
12748
12749 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12750 Flush file properties of created directory.
12751
12752 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12753
12754 * makefile.w32-in (WINS_BASIC): Remove cedet.
12755 (WINS_CEDET): Add cedet.
12756 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12757
12758 2009-10-02 Kevin Ryde <user42@zip.com.au>
12759
12760 * net/browse-url.el (browse-url): Pass any symbol in
12761 browse-url-browser-function to `apply', since if you've mistakenly put
12762 an unbound symbol then the error is clearer. (Bug#4531)
12763
12764 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12765
12766 * allout.el (allout-init, allout-back-to-current-heading)
12767 (allout-beginning-of-current-entry, allout-ascend-to-depth)
12768 (allout-ascend, allout-up-current-level, allout-end-of-level)
12769 (allout-previous-visible-heading, allout-forward-current-level)
12770 (allout-backward-current-level, allout-show-children):
12771 * apropos.el (apropos-describe-plist):
12772 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12773 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12774 * completion.el (add-completion, add-permanent-completion):
12775 * descr-text.el (describe-text-category, describe-char):
12776 * desktop.el (desktop-lazy-abort):
12777 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12778 * dired.el (dired-build-subdir-alist):
12779 * ediff.el (ediff-version):
12780 * elide-head.el (elide-head, elide-head-show):
12781 * emerge.el (emerge-version):
12782 * env.el (getenv):
12783 * face-remap.el (variable-pitch-mode):
12784 * faces.el (describe-face):
12785 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12786 (dired-at-point):
12787 * files.el (find-file-existing, auto-save-mode):
12788 * font-lock.el (font-lock-fontify-buffer):
12789 * help-fns.el (describe-function, describe-variable)
12790 (describe-syntax, describe-categories):
12791 * help.el (view-lossage, describe-bindings, describe-key)
12792 (describe-mode):
12793 * hexl.el (hexl-current-address):
12794 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12795 * info.el (Info-goto-emacs-key-command-node):
12796 * log-edit.el (log-edit-insert-cvs-template)
12797 (log-edit-insert-cvs-rcstemplate):
12798 * menu-bar.el (menu-bar-mode):
12799 * mouse.el (mouse-appearance-menu):
12800 * newcomment.el (comment-indent-new-line):
12801 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12802 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12803 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12804 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12805 * recentf.el (recentf-mode):
12806 * savehist.el (savehist-mode, savehist-save):
12807 * shadowfile.el (shadow-copy-files):
12808 * simple.el (kill-ring-save, next-line, previous-line)
12809 (normal-erase-is-backspace-mode):
12810 * strokes.el (strokes-update-window-configuration)
12811 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12812 (strokes-xpm-for-stroke):
12813 * time.el (emacs-uptime, emacs-init-time):
12814 * tutorial.el (tutorial--describe-nonstandard-key)
12815 (tutorial--detailed-help):
12816 * type-break.el (type-break-mode)
12817 (type-break-mode-line-message-mode, type-break-query-mode)
12818 (type-break-guesstimate-keystroke-threshold):
12819 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12820 * version.el (emacs-version):
12821 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12822 * winner.el (winner-mode):
12823 * calendar/timeclock.el (timeclock-in, timeclock-out)
12824 (timeclock-status-string, timeclock-change)
12825 (timeclock-workday-remaining-string)
12826 (timeclock-workday-elapsed-string)
12827 (timeclock-when-to-leave-string):
12828 * calendar/todo-mode.el (todo-add-category):
12829 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12830 * emacs-lisp/autoload.el (update-file-autoloads):
12831 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12832 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12833 (checkdoc-message-text, checkdoc-defun):
12834 * emacs-lisp/debug.el (debugger-list-functions):
12835 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12836 * emacs-lisp/eieio-opt.el (eieio-describe-class)
12837 (eieio-describe-generic):
12838 * emacs-lisp/lisp-mnt.el (lm-synopsis):
12839 * emacs-lisp/shadow.el (list-load-path-shadows):
12840 * emulation/cua-base.el (cua-mode):
12841 * emulation/edt.el (edt-set-scroll-margins):
12842 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12843 (tpu-toggle-regexp, tpu-toggle-search-direction)
12844 (tpu-toggle-rectangle, tpu-toggle-control-keys):
12845 * emulation/tpu-extras.el (tpu-set-scroll-margins):
12846 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12847 (viper-set-parsing-style-toggling-macro)
12848 (viper-set-emacs-state-searchstyle-macros):
12849 * emulation/viper.el (viper-set-hooks):
12850 * eshell/esh-mode.el (eshell-truncate-buffer):
12851 * international/mule-cmds.el (prefer-coding-system)
12852 (describe-input-method, describe-language-environment):
12853 * international/mule-diag.el (list-character-sets)
12854 (describe-character-set, describe-coding-system)
12855 (describe-fontset, list-fontsets, list-input-methods):
12856 * mail/sendmail.el (mail-signature):
12857 * net/ange-ftp.el (ange-ftp-copy-file):
12858 * net/browse-url.el (browse-url):
12859 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12860 * net/quickurl.el (quickurl-add-url):
12861 * net/rcirc.el (names, topic):
12862 * net/xesam.el (xesam-mode):
12863 * play/5x5.el (5x5-new-game):
12864 * play/yow.el (apropos-zippy):
12865 * progmodes/ada-mode.el (ada-mode-version):
12866 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12867 (f90-end-of-block)
12868 (f90-beginning-of-block):
12869 * progmodes/fortran.el (fortran-end-of-block)
12870 (fortran-beginning-of-block):
12871 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12872 * progmodes/python.el (python-describe-symbol, python-shell):
12873 * term/ns-win.el (ns-print-buffer):
12874 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12875 * textmodes/flyspell.el (flyspell-mode-on):
12876 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12877 (pages-directory-for-addresses):
12878 * textmodes/table.el (table-recognize-cell)
12879 (table-query-dimension, table-generate-source)
12880 (table-insert-sequence, table--warn-incompatibility):
12881 * textmodes/tex-mode.el (tex-validate-buffer):
12882 * textmodes/texinfmt.el (texinfmt-version)
12883 (texinfo-format-buffer):
12884 Use `called-interactively-p' instead of `interactive-p'.
12885
12886 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12887
12888 * image-mode.el (image-toggle-display):
12889 * emacs-lisp/elp.el (elp-instrument-function):
12890 * emacs-lisp/advice.el (ad-make-advised-definition):
12891 * emacs-lisp/easy-mmode.el (define-minor-mode):
12892 * net/browse-url.el (browse-url-maybe-new-window):
12893 * progmodes/sh-script.el (sh-learn-buffer-indent):
12894 Pass new argument 'any to `called-interactively-p'.
12895
12896 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12897
12898 * international/uni-bidi.el:
12899 * international/uni-category.el:
12900 * international/uni-combining.el:
12901 * international/uni-comment.el:
12902 * international/uni-decimal.el:
12903 * international/uni-decomposition.el:
12904 * international/uni-digit.el:
12905 * international/uni-lowercase.el:
12906 * international/uni-mirrored.el:
12907 * international/uni-name.el:
12908 * international/uni-numeric.el:
12909 * international/uni-old-name.el:
12910 * international/uni-titlecase.el:
12911 * international/uni-uppercase.el:
12912 Regenerate from Unicode 5.2.0 data.
12913
12914 2009-10-01 Glenn Morris <rgm@gnu.org>
12915
12916 * Makefile.in (ELCFILES): Regenerate.
12917
12918 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * subr.el (interactive-p): Mark obsolete.
12921 (called-interactively-p): Make the optional-ness of `kind' obsolete.
12922 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12923 advertised-signature-table for subroutines as well.
12924
12925 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12926 (set-advertised-calling-convention): New function.
12927 (make-obsolete, define-obsolete-function-alias)
12928 (make-obsolete-variable, define-obsolete-variable-alias):
12929 Make the optional-ness of `when' obsolete.
12930 (define-obsolete-face-alias): Make `when' non-optional.
12931 * help-fns.el (help-function-arglist):
12932 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12933 Use advertised-signature-table.
12934
12935 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
12936
12937 * files.el (delete-directory): New defun. The original function
12938 in fileio.c has been renamed to `delete-directory-internal'.
12939
12940 * dired.el (dired-delete-file): Call `delete-directory' with
12941 RECURSIVE parameter.
12942
12943 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12944 parameter RECURSIVE. Implementation is missing.
12945
12946 * net/tramp.el (tramp-handle-make-directory): Flush upper
12947 directory's file properties.
12948 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12949 (tramp-handle-dired-recursive-delete-directory): Flush directory
12950 properties after the remove command only.
12951
12952 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12953 Handle optional parameter RECURSIVE.
12954
12955 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12956 Handle optional parameter RECURSIVE.
12957
12958 * net/tramp-smb.el (tramp-smb-errors): Add error message for
12959 connection timeout.
12960 (tramp-smb-handle-delete-directory): Handle optional parameter
12961 RECURSIVE.
12962
12963 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12966 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12967 (byte-compile-defmacro): Use backquotes.
12968
12969 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12970
12971 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12972 has no associated file.
12973 (vc-resynch-buffer): Use vc-dir-buffers.
12974
12975 2009-10-01 Glenn Morris <rgm@gnu.org>
12976
12977 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12978 (chart-file-count):
12979 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12980 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12981 * emacs-lisp/eieio-opt.el (eieio-describe-class):
12982 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12983 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12984 (eieio-copy-parents-into-subclass, make-instance, class-children)
12985 (eieio-generic-form):
12986
12987 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12988 match-data. (Bug#4555).
12989
12990 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12991 rather than parsing it as a regexp. This relaxes the layout
12992 requirements and makes errors easier to detect.
12993 (check-declare-verify): Check file is regular.
12994 (check-declare-directory): Doc fix.
12995 * subr.el (declare-function): Doc fix.
12996
12997 * ibuffer.el (ibuffer-format-qualifier):
12998 * isearch.el (hi-lock-regexp-okay):
12999 * calc/calc.el (math-zerop):
13000 * mail/uce.el (rmail-msgbeg, rmail-msgend):
13001 * term/w32-win.el (setup-default-fontset, set-fontset-font):
13002 Remove unused declarations.
13003
13004 2009-09-30 Glenn Morris <rgm@gnu.org>
13005
13006 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
13007
13008 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
13009 filename is not a string.
13010
13011 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
13012
13013 * files.el (safe-local-eval-forms): Fix typo.
13014
13015 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13016
13017 * vc-hooks.el (vc-dir-buffers): New var.
13018 (vc-state-refresh): New function.
13019 (vc-state): Use it.
13020 (vc-after-save): Always ask the backend to recompute the new state.
13021 Always call vc-dir if necessary, using vc-dir-buffers.
13022 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
13023 Use vc-dir-buffers.
13024 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
13025 (vc-dir-prepare-status-buffer, vc-dir-update)
13026 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
13027 Don't call expand-file-name on default-directory.
13028
13029 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13030
13031 * speedbar.el (speedbar-item-delete):
13032 * calc/calc-prog.el (calc-kbd-if):
13033 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
13034
13035 * epa.el (epa-key-list-mode-map):
13036 * hi-lock.el (hi-lock-menu): Fix typos in menus.
13037
13038 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
13039 (hs-show-hook): Fix typo in docstring.
13040
13041 2009-09-29 Glenn Morris <rgm@gnu.org>
13042
13043 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
13044 file-name-nondirectory call preventing location of cedet files.
13045 (check-declare-verify): Use literal search rather than re-search.
13046 Add basic defmethod and defclass, and define-overloadable-function.
13047
13048 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13049 Use tramp-compat-file-attributes rather than nonexistent
13050 tramp-compat-handle-file-attributes.
13051
13052 * Makefile.in (lisptagsfiles4): New.
13053 (AUTOGENEL): Add cedet loaddefs files.
13054 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
13055 (update-elclist, compile-always, backup-compiled-files)
13056 (bootstrap-clean): Add yet another directory level.
13057 (update-elclist): Use LC_COLLATE rather than COLLATE.
13058 (ELCFILES): Update, via `make update-elclist'.
13059
13060 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13061
13062 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
13063 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
13064 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
13065
13066 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
13067
13068 * Makefile.in (lisptagsfiles3): Define.
13069 (TAGS, TAGS-LISP): Use it.
13070 (update-elclist): Add third directory level to look for elc files.
13071 (compile-always): Likewise.
13072 (backup-compiled-files): Likewise.
13073 (bootstrap-clean): Likewise.
13074 (ELCFILES): Update.
13075
13076 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
13077
13078 * Makefile.in (ELCFILES): Add CEDET files.
13079
13080 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
13081
13082 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
13083
13084 * net/tramp.el (top): Require tramp-imap.
13085
13086 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13087 Use `tramp-compat-handle-file-attributes'.
13088
13089 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
13090
13091 * net/tramp-imap.el: New package.
13092
13093 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13094
13095 * whitespace.el (whitespace-trailing-regexp)
13096 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
13097 Fix doc string.
13098
13099 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
13100
13101 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
13102 menu.
13103
13104 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
13105 menu-bar-ediff-menu.
13106
13107 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
13108 define-overloadable-function.
13109
13110 * progmodes/autoconf.el: Provide autoconf as well, so that this
13111 file can be `require'd.
13112
13113 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
13114
13115 * emacs-lisp/autoload.el (generated-autoload-feature)
13116 (generated-autoload-load-name): New vars.
13117 (autoload-rubric, autoload-generate-file-autoloads): Use them.
13118 (make-autoload): Recognize define-overloadable-function and
13119 defclass forms (for EIEIO).
13120
13121 * Makefile.in (update-subdirs): Exclude cedet directory.
13122
13123 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
13124
13125 * term/ns-win.el: Don't set the region face background. (Bug#4381)
13126
13127 * faces.el: Default light-background background for region face to
13128 ns_selection_color under NS.
13129
13130 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
13131
13132 * net/imap-hash.el: New library, see NEWS.
13133
13134 * Makefile.in (ELCFILES): Add imap-hash.el.
13135
13136 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
13137
13138 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
13139 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
13140 * help-macro.el (make-help-screen): Avoid using an ambiguous function
13141 definition where the docstring could be taken for the return value.
13142
13143 2009-09-26 Glenn Morris <rgm@gnu.org>
13144
13145 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
13146 Add option to only show images below a certain size.
13147 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
13148 save-excursion calls.
13149
13150 2009-09-26 Eli Zaretskii <eliz@gnu.org>
13151
13152 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
13153 subdirectories) and eieio.
13154
13155 2009-09-26 Alan Mackenzie <acm@muc.de>
13156
13157 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
13158 buggy bracketing. (Bug#4289)
13159
13160 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
13161 character constants (as case labels). (Bug#4289)
13162
13163 2009-09-25 Juri Linkov <juri@jurta.org>
13164
13165 * files.el (safe-local-eval-forms): Allow time-stamp in
13166 before-save-hook (Bug#4554).
13167
13168 2009-09-25 Drew Adams <drew.adams@oracle.com>
13169
13170 * menu-bar.el (list-buffers-directory): Doc fix.
13171
13172 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
13173
13174 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
13175 Try and avoid copying twice the same paragraph.
13176 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
13177 Remove save-excursion.
13178 (log-edit-changelog-entry): Do it here instead.
13179
13180 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
13181
13182 * bs.el (bs--get-file-name): Use `list-buffers-directory'
13183 when available, instead of hardcoding mode names. Doc fix.
13184
13185 * menu-bar.el (list-buffers-directory): Add docstring.
13186 Make automatically buffer-local.
13187
13188 * dired.el (dired-mode):
13189 * files.el (cd-absolute):
13190 * pcvs.el (cvs-temp-buffer):
13191 * pcvs-util.el (cvs-get-buffer-create):
13192 * shell.el (shell-mode):
13193 * vc-dir.el (vc-dir-mode):
13194 Don't make `list-buffers-directory' buffer local.
13195
13196 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
13197
13198 * comint.el (comint-exec, comint-run, make-comint):
13199 Doc fixes (Bug#4542).
13200
13201 2009-09-25 Glenn Morris <rgm@gnu.org>
13202
13203 * mail/rmailmm.el (rmail-mime): New custom group.
13204 Move all defcustoms in this file into this group.
13205 (rmail-mime-media-type-handlers-alist): Revert previous change.
13206 (rmail-mime-show-images): New option.
13207 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
13208 references to it, since it wasn't actually used for anything.
13209 (rmail-mime-insert-image): New function.
13210 (rmail-mime-image): Use rmail-mime-insert-image.
13211 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
13212 obey the value of `rmail-mime-show-images' option. Print the size of
13213 attachments.
13214
13215 2009-09-25 David Engster <deng@randomsample.de>
13216
13217 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
13218
13219 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13220
13221 * whitespace.el: Does not highlight trailing spaces While point is
13222 at end of line. Does not highligt spaces at beginning of buffer
13223 while point is at beginning of buffer. Does not highlight spaces
13224 at end of buffer while point is at end of buffer. (Bug#4177)
13225 New version 12.0.
13226 (whitespace-display-mappings): Adjust initialization.
13227 (whitespace-point, whitespace-font-lock-refontify): New vars.
13228 (whitespace-color-on, whitespace-color-off): Adjust code.
13229 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
13230 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
13231 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
13232
13233 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
13234
13235 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
13236
13237 * textmodes/sgml-mode.el: Remove xml-mode alias.
13238
13239 * files.el (auto-mode-alist, conf-mode-maybe)
13240 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
13241
13242 2009-09-24 Alan Mackenzie <acm@muc.de>
13243
13244 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
13245 c-forward-conditionals, but it doesn't move point and doesn't set
13246 the mark.
13247 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
13248 (c-down-conditional-with-else, c-backward-conditional)
13249 (c-forward-conditional): Refactor to use c-scan-conditionals.
13250
13251 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13252
13253 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13254 (help-default-arg-highlight): Remove.
13255 (help-highlight-arg): New function.
13256 (help-do-arg-highlight): Use it.
13257 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
13258
13259 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * term.el (term-set-scroll-region, term-handle-ansi-escape):
13262 Undo last change, which didn't fix the problem and introduced others.
13263
13264 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
13265
13266 * progmodes/gdb-mi.el: Don't require speedbar.
13267 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13268
13269 2009-09-24 Glenn Morris <rgm@gnu.org>
13270
13271 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13272
13273 * term/ns-win.el (ns-reg-to-script): Define for compiler.
13274
13275 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13276 there is no newline after the final mime boundary. (Bug#4539)
13277 Move markers on insertion so that any buttons inserted don't end up in
13278 the next part of a multipart message.
13279 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
13280 (rmail-mime-bulk-handler): Optionally handle images.
13281 (rmail-mime-image): New button action.
13282 (rmail-mime-image-handler): New function.
13283 (rmail-mime-mode): New mode.
13284 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
13285
13286 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
13289 than just dropping elements from it (bug#4504).
13290
13291 * term.el (term-set-scroll-region): Don't move cursor any more.
13292 (term-handle-ansi-escape): Call term-goto here instead.
13293 Suggested by Ivan Kanis <apple@kanis.eu>.
13294
13295 * term.el: Require CL.
13296 (term-ansi-reset): New function.
13297 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
13298 (term-handle-colors-array): Simplify.
13299
13300 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13301
13302 * allout.el (allout-overlay-interior-modification-handler)
13303 (allout-obtain-passphrase):
13304 * epa-file.el (epa-file-write-region):
13305 * ps-print.el (ps-begin-job):
13306 * vc-hooks.el (vc-toggle-read-only):
13307 * vc-rcs.el (vc-rcs-rollback):
13308 * vc-sccs.el (vc-sccs-rollback):
13309 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
13310 (vc-version-diff, vc-revert, vc-rollback):
13311 * wdired.el (wdired-check-kill-buffer):
13312 * emacs-lisp/authors.el (authors):
13313 * net/socks.el (socks-open-connection):
13314 * net/zeroconf.el (zeroconf-service-add-hook):
13315 * obsolete/vc-mcvs.el (vc-mcvs-register):
13316 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
13317 (gdb-select-frame):
13318 * progmodes/grep.el (lgrep, rgrep):
13319 * progmodes/idlw-help.el (idlwave-help-check-locations)
13320 (idlwave-help-html-link, idlwave-help-assistant-open-link):
13321 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13322 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
13323 (reftex-toc-rename-label): Fix typos in error messages.
13324
13325 * dired-aux.el (dired-do-shell-command): Reflow docstring.
13326 (dired-copy-how-to-fn): Doc fix.
13327 (dired-files-attributes, dired-read-shell-command):
13328 Fix typos in docstrings.
13329
13330 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
13331 (dired-x-find-file-other-window): Reflow docstrings.
13332 (dired-omit-marker-char, dired-read-shell-command)
13333 (dired-x-submit-report): Fix typos in docstrings.
13334
13335 * shell.el (shell-mode-hook):
13336 * view.el (View-scroll-line-forward):
13337 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
13338 Fix typos in docstrings.
13339
13340 * net/dig.el (dig-invoke): Fix typo in docstring.
13341 (query-dig): Reflow docstring.
13342
13343 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
13344 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
13345 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
13346 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
13347 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
13348 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
13349 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
13350 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
13351 (idlwave-completion-map, idlwave-current-indent)
13352 (idlwave-custom-ampersand-surround, idlwave-customize)
13353 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
13354 (idlwave-define-abbrev, idlwave-determine-class-special)
13355 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
13356 (idlwave-end-block-reg, idlwave-end-of-statement)
13357 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
13358 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
13359 (idlwave-explicit-class-listed, idlwave-file-header)
13360 (idlwave-fill-paragraph, idlwave-find-class-definition)
13361 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
13362 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
13363 (idlwave-in-quote, idlwave-indent-action-table)
13364 (idlwave-indent-expand-table, idlwave-indent-line)
13365 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
13366 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
13367 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
13368 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
13369 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
13370 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
13371 (idlwave-outlawed-buffers, idlwave-popup-select)
13372 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
13373 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
13374 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
13375 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
13376 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
13377 (idlwave-statement-type, idlwave-struct-skip)
13378 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
13379 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
13380 (idlwave-what-module-find-class): Fix typos in docstrings.
13381 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
13382 (idlwave-calculate-cont-indent, idlwave-expand-equal)
13383 (idlwave-find-module, idlwave-find-structure-definition)
13384 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
13385 (idlwave-list-load-path-shadows, idlwave-next-statement)
13386 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
13387 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
13388 (idlwave-template): Reflow docstrings.
13389
13390 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
13391 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
13392 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
13393 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
13394 (idlwave-shell-display-line, idlwave-shell-display-wframe)
13395 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
13396 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
13397 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
13398 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
13399 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
13400 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
13401 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
13402 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
13403 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
13404 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
13405 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
13406 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
13407 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
13408 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
13409 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
13410 Fix typos in docstrings.
13411 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
13412 (idlwave-shell-hide-output, idlwave-shell-mode)
13413 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
13414 Reflow docstrings.
13415
13416 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
13417
13418 2009-09-24 Ivan Kanis <apple@kanis.eu>
13419
13420 * term.el (term-bold-attribute): New var.
13421 (term-handle-colors-array): Use it.
13422
13423 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
13424
13425 * progmodes/gdb-mi.el (gdb-version): New variable.
13426 (gdb-non-stop-handler): Set gdb-version.
13427 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
13428 Condition "--thread" option on gdb-version.
13429 (gdb-invalidate-threads): Remove unused argument.
13430
13431 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13432
13433 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
13434 to looking-back to avoid ridiculous slow down in large files (bug#4511).
13435
13436 2009-09-23 Glenn Morris <rgm@gnu.org>
13437
13438 * mail/rmail.el (rmail-reply): Don't try to add a References header when
13439 replying to mail without References or Message-Id. (Bug#4525)
13440
13441 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
13442
13443 * term/ns-win.el (ns-reg-to-script): New variable.
13444
13445 2009-09-23 Daiki Ueno <ueno@unixuser.org>
13446
13447 * epg.el (epg-wait-for-status): Preserve existing 'error results.
13448
13449 2009-09-22 Sam Steingold <sds@gnu.org>
13450
13451 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
13452 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
13453 to 1 because hg returns status 1 when nothing is found.
13454 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
13455
13456 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
13457
13458 * textmodes/fill.el: Convert to utf-8 encoding.
13459 (fill-french-nobreak-p): Remove redundant » and « inherited from our
13460 pre-Unicode days.
13461
13462 * add-log.el (change-log-fill-forward-paragraph): New function.
13463 (change-log-mode): Use it so fill-region DTRT.
13464 Set fill-indent-according-to-mode here rather than in
13465 change-log-fill-paragraph.
13466 (change-log-fill-paragraph): Remove.
13467
13468 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
13469
13470 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
13471 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
13472
13473 2009-09-22 Glenn Morris <rgm@gnu.org>
13474
13475 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
13476 the scroll-bar scroll the calendar window rather than the buffer.
13477
13478 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
13479 commands that move point (as opposed to scrolling).
13480
13481 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
13482
13483 * emacs-lisp/elint.el (elint): New custom group.
13484 (elint-log-buffer): Make it a defcustom.
13485 (elint-scan-preloaded, elint-ignored-warnings)
13486 (elint-directory-skip-re): New options.
13487 (elint-builtin-variables): Doc fix.
13488 (elint-preloaded-env): New variable.
13489 (elint-unknown-builtin-args): Add an entry for encode-time.
13490 (elint-extra-errors): Make it a variable rather than a constant.
13491 (elint-preloaded-skip-re): New constant.
13492 (elint-directory): Skip files matching elint-directory-skip-re.
13493 (elint-features): New variable, local to linted buffers.
13494 (elint-update-env): Initialize elint-features. Possibly add
13495 elint-preloaded-env to the buffer's environment.
13496 (elint-get-top-forms): Bind elint-current-pos, for log messages.
13497 Skip quoted forms.
13498 (elint-init-form): New function, extracted from elint-init-env.
13499 Make non-list forms a warning rather than an error.
13500 Add the mode-map for define-derived-mode. Handle define-minor-mode,
13501 easy-menu-define, put that adds an error-condition, and provide.
13502 When requiring cl, also require cl-macs. Really require cl, to handle
13503 some cl macros. Store required libraries in the list elint-features,
13504 so as not to re-load them. Treat cc-require like require.
13505 (elint-init-env): Call elint-init-form to do the work.
13506 Handle eval-and-compile and such like.
13507 (elint-add-required-env): Do not clear messages.
13508 (elint-special-forms): Add handlers for function, defalias, if, when,
13509 unless, and, or.
13510 (elint-form): Add optional argument to ignore elint-special-forms,
13511 useful to prevent recursive calls from handlers. Doc fix.
13512 Respect elint-ignored-warnings.
13513 (elint-form): Respect elint-ignored-warnings.
13514 (elint-bound-variable, elint-bound-function): New variables.
13515 (elint-unbound-variable): Respect elint-bound-variable.
13516 (elint-get-args): Respect elint-bound-function.
13517 (elint-check-cond-form): Add some simple handling for (f)boundp and
13518 featurep tests.
13519 (elint-check-defalias-form): New handler.
13520 (elint-check-let-form): Make an empty let a warning rather than an
13521 error.
13522 (elint-check-setq-form): Make an empty setq a warning rather than an
13523 error. Respect elint-ignored-warnings.
13524 (elint-check-defvar-form): Accept null doc-strings.
13525 (elint-check-conditional-form): New handler. Does some simple-minded
13526 checking of featurep and (f)boundp tests.
13527 (elint-put-function-args): New function.
13528 (elint-initialize): Use elint-scan-doc-file rather than
13529 elint-find-builtin-variables. Use elint-put-function-args.
13530 Possibly scan preloaded-file-list.
13531 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
13532 extend to handle functions as well.
13533
13534 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
13535
13536 * linum.el (linum-delete-overlays, linum-update-window):
13537 Do not modify the right margin. (Bug#3971)
13538
13539 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
13540
13541 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
13542 nxml-mode instead of xml-mode.
13543
13544 2009-09-21 Kevin Ryde <user42@zip.com.au>
13545
13546 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
13547
13548 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * net/dig.el (dig-mode): Use define-derived-mode.
13551
13552 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
13553
13554 * vc-dispatcher.el (vc-do-command): Return the process object in
13555 the asynchronous case. Use when instead of if. Do not run
13556 vc-exec-after to display a message if not enabled. (Bug#4463)
13557
13558 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13559 properties to the stash strings.
13560 (vc-git-stash-list): Return a list of strings.
13561 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13562 (vc-git-stash-show-at-point): New functions.
13563 (vc-git-stash-map): New keymap.
13564
13565 * register.el (ctl-x-r-map): Define the keys here instead of
13566 using autoload.
13567
13568 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
13569
13570 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13571 list, to workaround performance problem (bug#4485).
13572
13573 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
13574
13575 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13576
13577 2009-09-20 Daiki Ueno <ueno@unixuser.org>
13578
13579 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13580 Document that this option is not recommended to use.
13581
13582 2009-09-19 Glenn Morris <rgm@gnu.org>
13583
13584 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13585 variable `var'.
13586
13587 * calc/calc-alg.el (var):
13588 * calc/calcalg2.el (var): Define for compiler.
13589
13590 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
13591
13592 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13593 Doc fix (Bug#3932).
13594
13595 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13596
13597 * time-stamp.el (time-stamp-month-dd-yyyy)
13598 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13599 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13600 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13601 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13602 Remove functions that have been obsolete since 1995 (Bug#4436).
13603
13604 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13605 indent buffer only if called interactively (Bug#4452).
13606
13607 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
13608 Eli Zaretskii <eliz@gnu.org>
13609
13610 This fixes bug#4197 (merged to bug#865, though not identical).
13611 * server.el (server-auth-dir): Add docstring note about FAT32.
13612 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13613 but warn against using them.
13614
13615 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
13616
13617 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13618 older GDB where there is no has_more field.
13619
13620 2009-09-19 Glenn Morris <rgm@gnu.org>
13621
13622 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13623
13624 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
13625
13626 * files.el (auto-mode-alist): Change default for XML files to nXML
13627 mode (Bug#4169).
13628
13629 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
13630
13631 * server.el (server-ensure-safe-dir): Pass 'integer
13632 to `file-attributes', as suggested.
13633
13634 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
13635
13636 * dired-aux.el (dired-query-alist): Remove spurious backslash.
13637 (dired-query): Use read-key.
13638
13639 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
13640
13641 * cus-start.el (ns-use-qd-smoothing): Remove.
13642
13643 2009-09-18 Glenn Morris <rgm@gnu.org>
13644
13645 * allout.el (top-level): Remove unnecessary progn.
13646
13647 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13648
13649 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13650 definition of abbrev table.
13651
13652 * speedbar.el (speedbar-track-mouse):
13653 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13654 * net/eudc.el (eudc-expand-inline):
13655 * net/newst-backend.el (newsticker--cache-read-feed):
13656 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13657 condition-case handlers.
13658
13659 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
13660
13661 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13662 (gdb-var-list): Add an element for has_more field.
13663 (gdb-non-stop-handler): Enable pretty printing for STL containers.
13664 (gdb-var-create-handler, gdb-var-list-children-handler-1)
13665 (gdb-var-update-handler-1): Parse output of dynamic variable
13666 objects (STL containers).
13667 (gdb-var-delete-1): Pass var1 as an explicit second argument.
13668 (gdb-get-field): Delete alias. Use bindat-get-field directly.
13669
13670 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13671 gdb-var-list.
13672 (gud-speedbar-buttons): Make node expandable if expression "has more"
13673 children.
13674
13675 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
13676
13677 * startup.el (emacs-quick-startup): Remove variable and all uses.
13678 (command-line): Set `inhibit-x-resources' instead.
13679 (command-line-1): Use `inhibit-x-resources' instead.
13680
13681 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
13682
13683 * subr.el: Fix last change to avoid using the `unless' macro,
13684 which breaks bootstrapping.
13685
13686 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13689 extended definitions, in case we reload subr.el after having
13690 loaded CL.
13691 (eval-next-after-load): Mark as obsolete.
13692
13693 2009-09-17 Juri Linkov <juri@jurta.org>
13694
13695 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13696 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13697 (menu-bar-showhide-menu, menu-bar-tools-menu)
13698 (menu-bar-describe-menu, menu-bar-help-menu)
13699 (minibuffer-local-completion-map, minibuffer-local-map):
13700 Fix list quoting.
13701
13702 2009-09-17 Glenn Morris <rgm@gnu.org>
13703
13704 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13705 arguments, whether or not it has a handler.
13706
13707 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13708
13709 * simple.el (hard-newline): Give it a doc-string.
13710
13711 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13712 (lisp-mode-syntax-table): Give them doc-strings.
13713
13714 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
13715
13716 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13717 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13718 (menu-bar-options-menu, menu-bar-showhide-menu)
13719 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13720 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13721 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13722 (menu-bar-options-menu, menu-bar-tools-menu)
13723 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13724 (menu-bar-help-menu):
13725 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13726 string arguments.
13727
13728 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13729 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13730 calls for the menu names and :help.
13731
13732 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * mouse.el (minor-mode-menu-from-indicator): Pay attention
13735 to :minor-mode-function (bug#4455).
13736
13737 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13738
13739 * startup.el (command-line): Initialize the window-system after
13740 processing the command-line.
13741
13742 * textmodes/page.el (what-page): Make sure we don't inf-loop if
13743 page-delimiter matches the empty string.
13744
13745 2009-09-16 Glenn Morris <rgm@gnu.org>
13746
13747 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13748 byte-compile-not-obsolete-var. It's a list now.
13749 (byte-compile-not-obsolete-funcs): New variable.
13750 (byte-compile-warn-obsolete): Don't warn about functions if they are in
13751 byte-compile-not-obsolete-funcs.
13752 (byte-compile-variable-ref, byte-compile-defvar): Update for
13753 byte-compile-not-obsolete-vars name-change and list nature.
13754 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13755 and variables behind (f)boundp tests.
13756 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13757
13758 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13759
13760 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13761
13762 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13765 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13766 Don't autoload.
13767
13768 2009-09-15 Stephen Eglen <stephen@gnu.org>
13769
13770 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13771 the virtual-buffers, use the name of the buffer specified by
13772 find-file-noselect, as the match may be a symlink. (This was a
13773 problem if the target and the symlink had different names.)
13774
13775 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13778
13779 * desktop.el (desktop-path): Check user-emacs-directory.
13780
13781 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13782
13783 * loadup.el: Use after-load-functions to GC after loading each file.
13784 Remove the explicit GC calls that used to be sprinkled around.
13785
13786 * subr.el (after-load-functions): New hook.
13787 (do-after-load-evaluation): Run it. Use string-match-p to detect
13788 `obsolete' packages, rather than painfully extracting the relevant
13789 directory name.
13790
13791 2009-09-15 Glenn Morris <rgm@gnu.org>
13792
13793 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13794 free variable `doc'.
13795
13796 * dired.el (dired-mode-map): Add menu entry for async shell command.
13797
13798 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13799 variables, also consider the .elc files, since the .el files are
13800 normally gzipped (subsequent code locates the .el.gz from the .elc).
13801
13802 * calc/calc-prog.el (arglist): Define for compiler.
13803
13804 * calendar/diary-lib.el (diary-display-function): Change the default to
13805 fancy display.
13806 (body): Define for compiler.
13807
13808 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13809 (byte-compile-file-form, byte-compile-lambda)
13810 (byte-compile-top-level-body, byte-compile-form)
13811 (byte-compile-variable-ref, byte-compile-setq)
13812 (byte-compile-setq-default, byte-compile-body)
13813 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13814 (batch-byte-compile): Give some more local variables with common names
13815 a "bytecomp-" prefix to avoid masking warnings about free variables.
13816
13817 * startup.el (command-line-1): Give local variables with common names a
13818 distinguishing prefix, so as not to hide free variable warnings during
13819 bootstrap.
13820
13821 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13822 clever and add a suffix to make a unique name, just let the user decide
13823 whether or not to overwrite it. If the input is a directory, write the
13824 default filename to that directory. (Bug#4388)
13825 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13826 is a filename-as-a-directory.
13827
13828 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13829
13830 * textmodes/page.el (what-page): Don't move to beginning of line.
13831 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13832
13833 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13834
13835 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13836
13837 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
13838
13839 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13840 * help.el (help-for-help-internal): Add purecopy calls for text.
13841
13842 * vc.el (top): print-log method now takes an optional SHORTLOG
13843 argument. Add a new method: root.
13844 (vc-root-diff, vc-print-root-log): New functions.
13845 (vc-log-short-style): New variable.
13846 (vc-print-log-internal): Add support for showing short logs.
13847
13848 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13849 vc-print-root-log and vc-print-root-diff.
13850
13851 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13852 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13853 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13854 short logs.
13855
13856 * vc-cvs.el (vc-cvs-print-log):
13857 * vc-mtn.el (vc-mtn-print-log):
13858 * vc-rcs.el (vc-rcs-print-log):
13859 * vc-sccs.el (vc-sccs-print-log):
13860 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13861 that is ignored for now.
13862
13863 * vc-mtn.el (vc-mtn-annotate-command):
13864 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13865
13866 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13869 to function-key-map, and give them ascii-character property.
13870 * term/x-win.el (x-alternatives-map):
13871 * term/ns-win.el (ns-alternatives-map):
13872 * term/internal.el (msdos-key-remapping-map):
13873 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13874
13875 2009-09-14 Glenn Morris <rgm@gnu.org>
13876
13877 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13878 temp-buffers (2009-09-12).
13879
13880 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13881
13882 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13883 the new read-key function.
13884
13885 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13886
13887 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13888 is defined (Bug#4405).
13889
13890 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
13891
13892 * recentf.el (recentf-cleanup): Use a hash table to find
13893 duplicates (Bug#4407).
13894
13895 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
13896
13897 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13898 kp-0 to ascii equivalents (Bug#4325).
13899
13900 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13901
13902 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13903
13904 * eshell/em-hist.el:
13905 * eshell/em-dirs.el (eshell-complete-user-reference):
13906 Declare pcomplete functions and variables to avoid compiler warnings.
13907
13908 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
13909
13910 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13911 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13912 * eshell/em-alias.el (eshell-aliases-file):
13913 * eshell/em-hist.el (eshell-history-file-name):
13914 Use expand-file-name instead of concat to make file names (Bug#4308).
13915
13916 2009-09-13 Glenn Morris <rgm@gnu.org>
13917
13918 * ediff-merg.el (ediff-do-merge):
13919 * filesets.el (filesets-run-cmd):
13920 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13921 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13922 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13923 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13924 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13925 Replace empty `let's with `progn'.
13926
13927 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13928
13929 * mail/sendmail.el (send-mail-function):
13930 * tooltip.el (tooltip-mode):
13931 * simple.el (transient-mark-mode):
13932 * rfn-eshadow.el (file-name-shadow-mode):
13933 * frame.el (blink-cursor-mode):
13934 * font-core.el (global-font-lock-mode):
13935 * files.el (temporary-file-directory)
13936 (small-temporary-file-directory, auto-save-file-name-transforms):
13937 * epa-hook.el (auto-encryption-mode):
13938 * composite.el (global-auto-composition-mode):
13939 Use custom-initialize-delay.
13940 * startup.el (command-line): Don't explicitly call
13941 custom-reevaluate-setting for all the above vars.
13942 * custom.el (custom-initialize-safe-set)
13943 (custom-initialize-safe-default): Delete.
13944
13945 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13946
13947 * term/x-win.el (x-initialize-window-system):
13948 * term/w32-win.el (w32-initialize-window-system):
13949 * term/ns-win.el (ns-initialize-window-system): Don't call
13950 mouse-wheel-mode since it's enabled globally by default already.
13951
13952 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13953 actually define the variable, but only silences the byte-compiler.
13954 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13955 before looking it up.
13956 (mouse-wheel-scroll-amount): Also reset the bindings if this value
13957 is changed.
13958
13959 2009-09-12 Glenn Morris <rgm@gnu.org>
13960
13961 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13962 1000.
13963 (elint-add-required-env): Don't beep on error.
13964 (elint-forms): In case of error, return ENV unchanged.
13965 (elint-init-env): Skip non-list forms.
13966 (elint-log): Handle unknown file positions.
13967
13968 2009-09-12 Daiki Ueno <ueno@unixuser.org>
13969
13970 * epg.el (epg-make-context): Add autoload cookie.
13971 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13972 (epg-decrypt-string, epg-start-verify, epg-verify-file)
13973 (epg-verify-string, epg-start-sign, epg-sign-file)
13974 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13975 (epg-encrypt-string, epg-start-export-keys)
13976 (epg-export-keys-to-file, epg-export-keys-to-string)
13977 (epg-start-import-keys, epg-import-keys-from-file)
13978 (epg-import-keys-from-string, epg-start-receive-keys)
13979 (epg-receive-keys, epg-import-keys-from-server)
13980 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13981 (epg-sign-keys, epg-start-generate-key)
13982 (epg-generate-key-from-file, epg-generate-key-from-string):
13983 Remove autoload cookie.
13984
13985 2009-09-12 Eli Zaretskii <eliz@gnu.org>
13986
13987 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13988 reevaluation of trash-directory.
13989
13990 * mwheel.el: Fix last change.
13991 (mouse-wheel-mode): New defvar.
13992 (mouse-wheel-mode): Remove autoload cookie.
13993
13994 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * mwheel.el (mwheel-installed-bindings): New var.
13997 (mouse-wheel-mode): Use it, so as to make sure we really remove all
13998 the bindings we set last time. Use custom-initialize-delay.
13999 * loadup.el: Load mwheel after term/*-win.el.
14000 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
14001 and mouse-wheel-up-event now that their first evaluation is done
14002 sufficiently late to be correct.
14003
14004 * startup.el (tutorial-directory): Make it a defcustom.
14005 Use custom-initialize-delay rather than eval-at-startup to set it.
14006 * image.el (image-load-path): Make it a defcustom.
14007 Use custom-initialize-delay rather than eval-at-startup to set it.
14008 * subr.el (eval-at-startup): Remove.
14009 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
14010
14011 * subr.el (do-after-load-evaluation): Warn the user after loading an
14012 obsolete package.
14013
14014 2009-09-12 Glenn Morris <rgm@gnu.org>
14015
14016 * proced.el (proced-mark-alt): Remove alias.
14017 (proced-mode-map): Remove proced-mark-alt.
14018
14019 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
14020 Elint file and directory. Remove initialization entry.
14021
14022 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
14023 commands.
14024 (elint-current-buffer): Set mode-line-process.
14025 (elint-init-env): Handle define-derived-mode.
14026 Fix declare-function with unspecified arglist. Guard against odd
14027 defalias statements (eg iso-insert's 8859-1-map).
14028 (elint-add-required-env): Use a temp buffer.
14029 (elint-form): Just print the function/macro name, not the whole form.
14030 Return env unchanged if we fail to parse a macro.
14031 (elint-forms): Guard against parse errors.
14032 (elint-output): New function, to handle batch mode.
14033 (elint-log-message): Add optional argument. Use elint-output.
14034 (elint-set-mode-line): New function.
14035
14036 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
14037
14038 * emacs-lisp/elp.el (elp-not-profilable): Add more
14039 functions (Bug#4233).
14040
14041 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
14042
14043 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
14044 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
14045
14046 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14047
14048 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
14049 (gdb-var-list-children): Use json parsing.
14050
14051 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
14052
14053 * progmodes/js.el (js--proper-indentation): Handle the case where
14054 char-before is null. Reported by Deniz Dogan.
14055
14056 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14057
14058 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
14059
14060 2009-09-11 Daiki Ueno <ueno@unixuser.org>
14061
14062 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
14063 (epg-digest-algorithm-alist): Add SHA224.
14064 (epg-context-set-passphrase-callback)
14065 (epg-context-set-progress-callback): Add description about
14066 callback function.
14067
14068 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14069
14070 * custom.el (custom-delayed-init-variables): New var.
14071 (custom-initialize-delay): New function.
14072 * startup.el (command-line): "Re"evaluate all vars in
14073 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
14074 explicitly any more.
14075 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
14076 to avoid creating a ~/.emacs.d at build-time (bug#4347).
14077
14078 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
14079
14080 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14081
14082 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
14083 (gdb-var-update-handler): Use json parsing.
14084
14085 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14086
14087 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
14088 decode annotated text, regardless of language environment. (Bug#2741)
14089
14090 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14091
14092 * Makefile.in (autoloads): Make rmail.el writable as well.
14093
14094 2009-09-11 Glenn Morris <rgm@gnu.org>
14095
14096 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
14097 loaddefs.el.
14098 * dired.el: Regenerate with extracted autoloads.
14099 * Makefile.in (autoloads): Make dired.el writable.
14100
14101 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
14102 * ibuffer.el: Regenerate with extracted autoloads.
14103 * Makefile.in (autoloads): Make ibuffer.el writable.
14104
14105 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
14106 * version.el (emacs-copyright, emacs-major-version)
14107 (emacs-minor-version): Reformat doc-strings for make-docfile.
14108
14109 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
14110 functions and variables, since they must be stuff specific to some other
14111 platform.
14112 (apropos-print): Make mouse-click message less specific about button.
14113
14114 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
14115 that records where a macro was defined.
14116 * help-fns.el (describe-function-1): Mention if a function has a
14117 compiler-macro.
14118 * help-mode.el (help-function-cmacro): New button.
14119
14120 * locate.el (top-level): Always require dired.
14121 (locate-mode-map): Initialize inside the defvar.
14122
14123 * net/ange-ftp.el (dired-compress-file): Declare.
14124 (ange-ftp-dired-compress-file): Add doc string.
14125
14126 * term/ns-win.el (x-display-name, x-setup-function-keys):
14127 Unify doc-strings with X versions.
14128
14129 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14130
14131 * emulation/crisp.el (crisp-mode-map): Move initialization
14132 into declaration.
14133 (crisp-mode): Use define-minor-mode.
14134
14135 * progmodes/xscheme.el (xscheme-evaluation-commands):
14136 Put a :advertised-binding property rather than using
14137 advertised-xscheme-send-previous-expression.
14138 (advertised-xscheme-send-previous-expression): Declare obsolete.
14139 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
14140 `advertised-undo'.
14141 (crisp-mode): Add corresponding bindings to
14142 undo's :advertised-binding instead.
14143 * dired.el (dired-mode-map): Put a :advertised-binding property rather
14144 than using dired-advertised-find-file.
14145 (dired-advertised-find-file):
14146 * simple.el (advertised-undo):
14147 * wid-edit.el (advertised-widget-backward): Declare obsolete.
14148 (widget-keymap): Put a :advertised-binding property rather
14149 than using advertised-widget-backward.
14150 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
14151 than using advertised-undo.
14152 * tutorial.el (tutorial--default-keys): Adjust accordingly.
14153
14154 2009-09-10 Simon South <ssouth@slowcomputing.org>
14155
14156 * progmodes/delphi.el (delphi-tab): Indent region when Transient
14157 Mark mode is enabled and region is active; otherwise indent or
14158 insert TAB as usual.
14159 (delphi-mode): Update description of TAB-key binding.
14160
14161 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
14162
14163 * subr.el (define-key-rebound-commands): Mark obsolete.
14164 * startup.el (precompute-menubar-bindings): Remove.
14165 (normal-top-level): Remove obsolete code that tried to precompute
14166 menubar bindings.
14167 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
14168 define-key-rebound-commands and precompute-menubar-bindings.
14169
14170 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
14171
14172 * net/imap.el (imap-interactive-login): Better messages.
14173 (imap-open): Fix bug with renamed buffer on reconnect.
14174 (imap-authenticate): Add buffer-local imap-last-authenticator variable
14175 for easier debugging and cleaner code. On successful (guessed based on
14176 server capabilities) secondary authentication, set imap-state
14177 correctly.
14178 (imap-last-authenticator): Define imap-last-authenticator as a variable
14179 to avoid warnings.
14180
14181 2009-09-10 Glenn Morris <rgm@gnu.org>
14182
14183 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
14184
14185 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
14186 (byte-compile-file-form-autoload): Don't warn about unknown functions
14187 where the autoload statement comes after the use.
14188 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
14189 that any handlers inside the body (eg require) are in turn respected.
14190
14191 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
14192 effects.
14193
14194 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
14195 and syntax and abbrev tables basic docs, if they don't have any.
14196
14197 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
14198
14199 * international/mule-cmds.el (top-level): Require cl when compiling.
14200 (view-hello-file): Use default-value rather than
14201 default-enable-multibyte-characters.
14202
14203 * progmodes/fortran.el: Move all safe and risky properties into the
14204 defcustoms.
14205
14206 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
14207 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
14208 * mail/undigest.el:
14209 Put autoloads in rmail.el rather than loaddefs.el.
14210 * mail/rmail.el: Regenerate with extracted autoloads.
14211
14212 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
14213 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
14214
14215 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
14216
14217 Reported in thread for Bug#4375.
14218 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
14219 "-data-evaluate-expression" instead of print.
14220 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
14221 (gdb-tooltip-print): Parse output from above MI command.
14222 (gdb): Revert 2009-08-11 change. User should detach inferior
14223 manually.
14224
14225 Remove the word "separate" from IO functions as inferior
14226 output is now never displayed in the GUD buffer.
14227
14228 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
14229
14230 * startup.el (command-line-normalize-file-name): On Windows and
14231 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
14232
14233 2009-09-10 Juri Linkov <juri@jurta.org>
14234
14235 * isearch.el (isearch-text-char-description): Propertize escape
14236 character sequences with the `escape-glyph' face. (Bug#4344)
14237
14238 * simple.el (shell-command): Set asynchronous process filter to
14239 `comint-output-filter'. (Bug#4343)
14240
14241 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
14242 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
14243 the list. Move "asm" to the bottom.
14244 (grep-find-ignored-directories): Add `choice' with nil value
14245 to empty the list easily.
14246 (grep-find-ignored-files): New option.
14247 (grep-files-history): Set to nil by default instead of '("ch" "el").
14248 (grep-compute-defaults): Add "<X>" to `grep-template'.
14249 (grep-read-files): Bind new local variables `default-alias' and
14250 `default-extension'. Use a list of default values for the file prompt.
14251 (lgrep): Add `--exclude=' command line options composed from
14252 `grep-find-ignored-files'.
14253 (rgrep): Add `-name' command line options composed from
14254 `grep-find-ignored-files'. (Bug#4301)
14255
14256 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14259 (bug#4368).
14260
14261 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
14262
14263 * calendar/time-date.el (autoload):
14264 Expand define-obsolete-function-alias into defalias and make-obsolete
14265 for old Emacsen that Gnus supports.
14266 (with-no-warnings): Define it for old Emacsen.
14267 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14268 is available.
14269 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14270 float-time is available; suppress compile warning for time-to-seconds.
14271
14272 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
14273
14274 * net/imap.el (imap-message-map): Docstring fix.
14275
14276 2009-09-09 Glenn Morris <rgm@gnu.org>
14277
14278 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14279 line numbers too. (Bug#4374)
14280
14281 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
14282
14283 * smerge-mode.el (smerge-remove-props, smerge-refine):
14284 Use with-silent-modifications (bug#4342).
14285
14286 * subr.el (with-silent-modifications): New macro.
14287
14288 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
14289
14290 * files.el (top-level): Require `cl' when compiling.
14291
14292 2009-09-07 Glenn Morris <rgm@gnu.org>
14293
14294 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
14295
14296 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
14297 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
14298
14299 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
14300
14301 * vc-git.el (vc-git-annotate-command): Use separator to parse
14302 arguments correctly.
14303
14304 2009-09-06 Eli Zaretskii <eliz@gnu.org>
14305
14306 * proced.el (proced-mode): Doc fix.
14307
14308 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
14309
14310 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
14311 lstat fails.
14312 (tramp-do-file-attributes-with-ls): Check for file existence at
14313 remote end.
14314 (tramp-do-file-attributes-with-stat): Likewise.
14315 (tramp-convert-file-attributes): Return nil when attr is nil.
14316
14317 2009-09-05 Glenn Morris <rgm@gnu.org>
14318
14319 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
14320 properties to this button.
14321 (diary-fancy-display): Don't extend the button to the final newline.
14322 (diary-fancy-display-mode): Continue to define "q" as a local key.
14323
14324 * calendar/cal-china.el (holiday-chinese): Make it slightly more
14325 efficient.
14326
14327 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
14328
14329 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
14330 (byte-compile-dest-file-function): New option.
14331 (byte-compile-dest-file): Doc fix.
14332 Obey byte-compile-dest-file-function.
14333 (byte-compile-cl-file-p): New function.
14334 (byte-compile-eval): Only suppress noruntime warnings about cl functions
14335 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
14336 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
14337 than for file being previously loaded.
14338 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
14339 (byte-compile-file-form-require): Handle the case where requiring a file
14340 indirectly causes CL to be loaded.
14341
14342 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14343
14344 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
14345 before killing the old buffer, since by the time `kill-buffer' is
14346 run so many buffer variables have been set to nil that it may not
14347 behave as expected. (Bug#4061)
14348
14349 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14350
14351 * files.el (find-alternate-file): If the old buffer is modified
14352 and visiting a file, behave similarly to `kill-buffer' when
14353 killing it, thus reverting to the pre-1.878 behavior; see
14354 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
14355 for discussion. Also, consult `buffer-file-name' as a variable
14356 not as a function, for consistency with the rest of the code.
14357
14358 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
14359
14360 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
14361 also when adding a new directory.
14362
14363 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
14364 defun.
14365
14366 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14367
14368 * files.el (locate-file-completion-table): Make it provide boundary
14369 information, so partial-completion works better.
14370
14371 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
14372
14373 * mail/footnote.el (Footnote-text-under-cursor):
14374 Check footnote-text-marker-alist before using it (bug#4324).
14375
14376 2009-09-04 Glenn Morris <rgm@gnu.org>
14377
14378 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
14379 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
14380 * play/solitaire.el, play/tetris.el:
14381 Remove leading * from defcustom and defface docs.
14382
14383 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
14384 necessary.
14385 (diary-fancy-overriding-map): New variable.
14386 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
14387 Use view-mode.
14388
14389 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
14390 goto-line.
14391
14392 2009-09-03 Glenn Morris <rgm@gnu.org>
14393
14394 * arc-mode.el (archive-mode):
14395 * dos-fns.el (set-default-process-coding-system):
14396 * man.el (Man-getpage-in-background):
14397 * menu-bar.el (menu-bar-describe-menu):
14398 * server.el (server-process-filter):
14399 * startup.el (command-line):
14400 * tar-mode.el (tar-header-block-tokenize, tar-extract):
14401 * w32-fns.el (set-default-process-coding-system):
14402 * x-dnd.el (x-dnd-handle-file-name):
14403 * international/mule-cmds.el (mule-menu-keymap)
14404 (set-default-coding-systems, language-info-alist, set-language-info)
14405 (set-language-environment, standard-display-european-internal)
14406 (set-locale-environment):
14407 * international/mule-diag.el (mule-diag):
14408 * mail/emacsbug.el (report-emacs-bug):
14409 * mail/rmail.el (rmail-mode):
14410 * mail/sendmail.el (mail-setup):
14411 Use default-value rather than default-enable-multibyte-characters.
14412
14413 * progmodes/f90.el: Move all safe properties into the defcustoms.
14414 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
14415
14416 * calendar/appt.el (appt-check):
14417 * calendar/diary-lib.el (diary-set-header, diary-live-p)
14418 (diary-check-diary-file, diary-list-entries)
14419 (diary-include-other-diary-files, diary-simple-display)
14420 (diary-fancy-display, diary-print-entries)
14421 (diary-mark-included-diary-files, diary-make-entry):
14422 Don't call substitute-in-file-name on diary-file.
14423
14424 2009-09-03 Eduard Wiebe <usenet@pusto.de>
14425 Stefan Monnier <monnier@iro.umontreal.ca>
14426
14427 * mail/footnote.el (footnote-prefix): Make it a defcustom.
14428 (footnote-mode-map): Move initialization into the declaration.
14429 (footnote-minor-mode-map): Define it rather than changing global-map.
14430 (footnote-mode): Use define-minor-mode.
14431
14432 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
14433
14434 * net/tramp.el (tramp-handle-file-attributes-with-ls)
14435 (tramp-do-file-attributes-with-perl)
14436 (tramp-do-file-attributes-with-stat): Rename from
14437 `tramp-handle-file-attributes-with-*'.
14438 (tramp-handle-file-attributes): Use them.
14439 (tramp-do-directory-files-and-attributes-with-perl)
14440 (tramp-do-directory-files-and-attributes-with-stat): Rename from
14441 `tramp-handle-directory-files-and-attributes-with-*'.
14442 (tramp-handle-directory-files-and-attributes): Use them.
14443 (tramp-method-out-of-band-p): Additional parameter SIZE.
14444 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
14445 (tramp-handle-write-region): Use it.
14446 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
14447 (tramp-handle-vc-registered): Check, whether the first run did
14448 return files to be tested.
14449 (tramp-advice-make-auto-save-file-name): Do not call directly
14450 `tramp-handle-make-auto-save-file-name', because this would bypass
14451 the locking mechanism.
14452
14453 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
14454 (file-remote-p, process-file, start-file-process, set-file-times)
14455 (tramp-compat-file-attributes): Compatibility functions shall not
14456 call directly `tramp-handle-*', because this would bypass the
14457 locking mechanism.
14458 (tramp-compat-number-sequence): New defun.
14459
14460 2009-09-02 Glenn Morris <rgm@gnu.org>
14461
14462 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
14463 alias for float-time.
14464 (time-to-number-of-days): In Emacs, use float-time.
14465 * net/newst-backend.el (time-add): Suppress warnings from compat
14466 function.
14467 * time.el (emacs-uptime, emacs-init-time):
14468 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
14469 Use float-time rather than time-to-seconds.
14470
14471 * minibuffer.el (completion-initials-expand): Fix typo.
14472
14473 * faces.el (modeline, modeline-inactive, modeline-highlight)
14474 (modeline-buffer-id):
14475 * info.el (info-menu-5): Mark these face aliases as obsolete.
14476
14477 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14478
14479 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
14480 space ...
14481 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
14482 no "--thread" option.
14483 (gdb-stopped): Don't print "Switched to thread" message when it is
14484 unchanged.
14485
14486 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
14487
14488 * minibuffer.el (completion-try-completion)
14489 (completion-all-completions): Remove ill-defined (and
14490 mistakenly installed and luckily never used nor documented)
14491 `completion-styles' property.
14492 (completion-initials-expand, completion-initials-all-completions)
14493 (completion-initials-try-completion): New functions.
14494 (completion-styles-alist): Add doc to each entry.
14495 Add new `initials' entry.
14496
14497 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14498
14499 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
14500 MI command -var-evaluate-expression.
14501 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
14502 and tweak for case of string child.
14503 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
14504
14505 2009-09-01 Glenn Morris <rgm@gnu.org>
14506
14507 * add-log.el (change-log-date-face, change-log-name-face)
14508 (change-log-email-face, change-log-file-face, change-log-list-face)
14509 (change-log-conditionals-face, change-log-function-face)
14510 (change-log-acknowledgement-face):
14511 * cus-edit.el (custom-invalid-face, custom-rogue-face)
14512 (custom-modified-face, custom-set-face, custom-changed-face)
14513 (custom-saved-face, custom-button-face, custom-button-pressed-face)
14514 (custom-documentation-face, custom-state-face, custom-comment-face)
14515 (custom-comment-tag-face, custom-variable-tag-face)
14516 (custom-variable-button-face, custom-face-tag-face)
14517 (custom-group-tag-face-1, custom-group-tag-face):
14518 * diff-mode.el (diff-header-face, diff-file-header-face)
14519 (diff-index-face, diff-hunk-header-face, diff-removed-face)
14520 (diff-added-face, diff-changed-face, diff-function-face)
14521 (diff-context-face, diff-nonexistent-face):
14522 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
14523 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
14524 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
14525 (Info-title-4-face):
14526 * isearch.el (isearch-lazy-highlight-face):
14527 * log-view.el (log-view-file-face, log-view-message-face):
14528 * paren.el (show-paren-match-face, show-paren-mismatch-face):
14529 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
14530 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
14531 (cvs-msg-face):
14532 * smerge-mode.el (smerge-mine-face, smerge-other-face)
14533 (smerge-base-face, smerge-markers-face):
14534 * wid-edit.el (widget-documentation-face, widget-button-face)
14535 (widget-field-face, widget-single-line-field-face)
14536 (widget-inactive-face, widget-button-pressed-face):
14537 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
14538 (woman-addition-face):
14539 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
14540 (eshell-ls-executable-face, eshell-ls-readonly-face)
14541 (eshell-ls-unreadable-face, eshell-ls-special-face)
14542 (eshell-ls-missing-face, eshell-ls-archive-face)
14543 (eshell-ls-backup-face, eshell-ls-product-face)
14544 (eshell-ls-clutter-face):
14545 * eshell/em-prompt.el (eshell-prompt-face):
14546 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
14547 * obsolete/old-whitespace.el (whitespace-highlight-face):
14548 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
14549 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
14550 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
14551 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14552 (antlr-font-lock-literal-face):
14553 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14554 (ebrowse-root-class-face, ebrowse-file-name-face)
14555 (ebrowse-default-face, ebrowse-member-attribute-face)
14556 (ebrowse-member-class-face, ebrowse-progress-face):
14557 * progmodes/make-mode.el (makefile-space-face):
14558 * progmodes/sh-script.el (sh-heredoc-face):
14559 * textmodes/flyspell.el (flyspell-incorrect-face)
14560 (flyspell-duplicate-face):
14561 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14562 * textmodes/texinfo.el (texinfo-heading-face):
14563 Mark face aliases with "-face" suffix as obsolete.
14564
14565 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14566 compiler.
14567
14568 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14569 (eudc-bob-sound-menu): Use defvar rather than defconst, since
14570 easy-menu-define wants to modify these.
14571
14572 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14573
14574 * net/browse-url.el (browse-url-file-url):
14575 * term/internal.el (dos-codepage-setup):
14576 Use default-value rather than default-enable-multibyte-characters.
14577
14578 * progmodes/etags.el (etags-goto-tag-location):
14579 * progmodes/flymake.el (flymake-highlight-line)
14580 (flymake-goto-file-and-line, flymake-goto-line):
14581 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14582 (gdb-goto-breakpoint):
14583 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14584 * progmodes/python.el (python-find-function)
14585 (python-pdbtrack-track-stack-file):
14586 * progmodes/verilog-mode.el (verilog-surelint-off):
14587 * term/ns-win.el (ns-open-file-select-line):
14588 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14589 Use forward-line rather than goto-line.
14590
14591 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14592 * textmodes/reftex-index.el (reftex-display-index):
14593 * textmodes/reftex-ref.el (reftex-offer-label-menu):
14594 * textmodes/reftex-toc.el (reftex-toc):
14595 Remove unnecessary bindings of default-major-mode (all are followed by
14596 major-mode check and possible mode switch).
14597
14598 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14599
14600 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14601 Handle watchpoints (bug#4282).
14602 (def-gdb-thread-buffer-command): Enable thread to be selected by
14603 clicking without selecting threads buffer first.
14604 (gdb-current-context-command): Use selected frame so that "up",
14605 "down" etc work in the GUD buffer.
14606 (gdb-update): Find selected frame before rendering stack buffer.
14607 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14608
14609 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
14610
14611 * progmodes/sym-comp.el (displayed-completions): Remove.
14612 (symbol-complete): Use minibuffer-complete.
14613
14614 2009-08-31 Glenn Morris <rgm@gnu.org>
14615
14616 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14617
14618 * apropos.el (apropos-symbols-internal):
14619 Handle (obsolete) face aliases.
14620
14621 * faces.el (describe-face): Adjust the output format to be more like
14622 describe-variable, and to mention (obsolete) face aliases.
14623 Adjust the whitespace so that help-setup-xref works.
14624
14625 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14626 * calendar/diary-lib.el (diary-button-face):
14627 Mark these face aliases as obsolete.
14628
14629 * calendar/calendar.el (calendar-today): Doc fix.
14630
14631 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14632
14633 * progmodes/gdb-mi.el (gdb-control-all-threads)
14634 (gdb-control-current-thread): Force tool bar update.
14635 (gdb-non-stop-handler): New function.
14636 (gdb-init-1): Use it to test if non-stop mode is supported.
14637 Remove unused gdbmi buffer type.
14638
14639 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14640
14641 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14642 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
14643
14644 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
14645
14646 * comint.el (comint-exec-1): Check command is non-null first.
14647 Part of gdb-mi.el change (2009-08-28).
14648
14649 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14650
14651 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14652
14653 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
14654
14655 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14656 instead of `dolist' to avoid a recursive require when bootstrapping.
14657
14658 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14659
14660 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14661
14662 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14663
14664 * net/imap.el (imap-send-command): Simplify.
14665 (imap-wait-for-tag): point-max -> buffer-size.
14666
14667 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14668
14669 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14670 with constant argument.
14671
14672 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14673
14674 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14675
14676 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14677 Change default, since most of our files don't have a history.
14678 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14679 the user.
14680
14681 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14682 Add comint-run.
14683
14684 * calc/calc.el: Improve commenting convention.
14685 (calc-digit-map, toplevel): Simplify.
14686
14687 * comint.el (comint-insert-input): Be careful to only set point if we
14688 don't delegate to some other command.
14689
14690 * proced.el (proced-signal-list): Make it an alist.
14691 (proced-grammar-alist): Capitalize names.
14692 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14693 Disable undo manually and make it read-only.
14694 Use completion-annotate-function.
14695
14696 * minibuffer.el (minibuffer-message): If the current buffer is not
14697 a minibuffer, insert the message in the echo area rather than at the
14698 end of the buffer.
14699 (completion-annotate-function): New variable.
14700 (minibuffer-completion-help): Use it.
14701 (completion--embedded-envvar-table): Environment vars are
14702 always case-sensitive.
14703
14704 2009-08-30 Glenn Morris <rgm@gnu.org>
14705
14706 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14707 from fortran-current-defun.
14708 (fortran-beginning-of-subprogram): Be more precise about finding the
14709 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
14710 (fortran-end-of-subprogram): Simplify.
14711 (fortran-current-defun): Use fortran-start-prog-re.
14712
14713 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
14714
14715 * subr.el (do-after-load-evaluation): Simplify.
14716
14717 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
14718
14719 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14720
14721 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
14722 (vc-rcs-print-log): Use it.
14723
14724 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14725
14726 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14727
14728 * paths.el (abbrev-file-name): Move to abbrev.el.
14729 * abbrev.el (abbrev-file-name): Move from paths.el.
14730 Obey user-emacs-directory.
14731 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14732 user-emacs-directory.
14733 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14734 abbrev-file-name and calc-settings-file any more.
14735 * startup.el (command-line): Recompute abbrev-file-name and
14736 abbreviated-home-dir.
14737 (normal-no-mouse-startup-screen): Improve the generic code and get rid
14738 of the special code for when C-h bindings haven't been changed.
14739 (display-startup-echo-area-message): Use with-current-buffer.
14740 (command-line-1): Use a list of strings, rather than a list of lists
14741 of strings for longopts.
14742
14743 * files.el (get-free-disk-space): Use / for default-directory.
14744
14745 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14746 Use with-current-buffer.
14747
14748 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14749 Recognize immutable variables like most-positive-fixnum.
14750 (byte-compile-setq-default): Check and warn if trying to assign
14751 to an immutable variable, or a non-variable.
14752
14753 * progmodes/cc-vars.el (c-comment-continuation-stars):
14754 * progmodes/cc-engine.el (c-looking-at-bos):
14755 * progmodes/cc-cmds.el (c-toggle-auto-state)
14756 (c-forward-into-nomenclature, c-backward-into-nomenclature)
14757 (c-comment-line-break-function): Add version of obsolescence.
14758
14759 2009-08-28 Juri Linkov <juri@jurta.org>
14760
14761 * files.el (magic-fallback-mode-alist): Add ZIP magic number
14762 associated with `archive-mode'.
14763
14764 * image.el (image-type-header-regexps): Use only JPEG magic number
14765 to determine JPEG images, and don't use `image-jpeg-p' because
14766 Emacs can display non-JFIF non-Exif JPEG images.
14767
14768 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14769
14770 * arc-mode.el (archive-mode):
14771 * emacs-lisp/re-builder.el (re-builder-unload-function):
14772 Protect against the default value of `major-mode' being nil.
14773
14774 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14775
14776 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14777 Fix typos in docstrings.
14778
14779 * progmodes/js.el (js--macro-decl-re): Doc fix.
14780 (js--plain-method-re, js--split-name): Refloc docstring.
14781 (js--class-styles, js--make-merged-item, js--splice-into-items):
14782 Fix typos in docstrings; reflow docstrings.
14783 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14784 (js--variable-decl-matcher, js--inside-pitem-p)
14785 (js--parse-state-at-point, js--get-all-known-symbols)
14786 (js--symbol-history, js-find-symbol, js--js-references)
14787 (js--moz-interactor, js--js-encode-value, js--read-tab):
14788 Fix typos in docstrings.
14789
14790 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14791
14792 * textmodes/reftex.el (reftex-get-file-buffer-force):
14793 * progmodes/verilog-mode.el (verilog-batch-execute-func):
14794 * emulation/viper.el (viper-go-away, viper-set-hooks):
14795 * emacs-lisp/re-builder.el (re-builder-unload-function):
14796 * emacs-lisp/bytecomp.el (byte-compile-file):
14797 * ses.el (ses-unload-function):
14798 * hexl.el (hexl-find-file):
14799 * files.el (normal-mode):
14800 * ehelp.el (with-electric-help):
14801 * autoinsert.el (auto-insert-alist):
14802 * arc-mode.el (archive-mode):
14803 Use (default-value 'major-mode) instead of default-major-mode.
14804
14805 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14806 * international/mule.el (load-with-code-conversion):
14807 * emacs-lisp/debug.el (debug):
14808 * ediff-vers.el (ediff-rcs-get-output-buffer):
14809 * dired.el (dired-internal-noselect): Don't let-bind
14810 default-major-mode around code that doesn't use it.
14811 E.g. buffer creation via get-buffer-create doesn't use it.
14812
14813 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
14814
14815 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14816 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14817 when writing the temp file. Otherwise, epa-file gets confused.
14818 (tramp-register-file-name-handlers): Make it a defun. Move also
14819 `epa-file-handler' to the front of `file-name-handler-alist'.
14820
14821 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14822
14823 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14824 start right after a ^M.
14825 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14826 (tramp-completion-file-name-regexp-separate)
14827 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14828 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14829 Don't modify last-coding-system-used by accident.
14830 (tramp-completion-file-name-handler): Apply the checks here,
14831 instead during registration.
14832 (tramp-register-file-name-handlers): Renamed from
14833 `tramp-register-file-name-handler'. Register both
14834 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14835 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
14836
14837 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
14838
14839 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14840 Remove variable ...
14841 (gdb-init-1, gdb-display-separate-io-buffer)
14842 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14843 references to it.
14844 (gdb-inferior-io-mode): Use make-comint-in-buffer.
14845 (gdb-inferior-filter): Use comint-output-filter to stop
14846 echoing and remove ^M characters.
14847
14848 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14849
14850 * emulation/viper-init.el (viper-restore-cursor-type):
14851 * emulation/cua-base.el (cua--update-indications):
14852 Replace default-cursor-type with (default-value 'cursor-type).
14853
14854 * mail/sendmail.el (mail-recover-1):
14855 * international/mule-diag.el (describe-current-coding-system-briefly)
14856 (describe-current-coding-system):
14857 * international/mule-cmds.el (select-safe-coding-system)
14858 (select-message-coding-system)
14859 (set-language-environment-coding-systems, set-locale-environment):
14860 * hexl.el (hexl-insert-multibyte-char):
14861 * dos-w32.el (find-buffer-file-type-coding-system):
14862 * simple.el (what-cursor-position):
14863 Replace uses of default-buffer-file-coding-system
14864 with (default-value 'buffer-file-coding-system).
14865
14866 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14867 Replace uses of default-cursor-in-non-selected-windows
14868 with (default-value 'cursor-in-non-selected-windows).
14869 Use with-current-buffer.
14870
14871 * mail/feedmail.el: Use CL macros.
14872 (feedmail-run-the-queue, feedmail-send-it-immediately):
14873 * dos-w32.el (find-buffer-file-type): Replace uses of
14874 default-buffer-file-type with (default-value 'buffer-file-type).
14875
14876 2009-08-28 Glenn Morris <rgm@gnu.org>
14877
14878 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14879 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14880 Use default-value of major-mode rather than default-major-mode.
14881
14882 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14883
14884 * Makefile.in (update-elcfiles): Report left over elc files.
14885
14886 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14887 expand-file-name and with-current-buffer.
14888 (mail-get-names, mail-directory): Use with-current-buffer.
14889
14890 * vc.el (vc-read-revision): New function.
14891 (vc-version-diff, vc-merge): Use it.
14892
14893 2009-08-27 Sam Steingold <sds@gnu.org>
14894
14895 * simple.el (kill-do-not-save-duplicates): New user option.
14896 (kill-new): When it is non-nil, and the new string is the same as
14897 the latest kill, set replace to t to avoid duplicates in kill-ring.
14898
14899 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
14900
14901 * net/tramp.el (tramp-handle-process-file): Do not flush all
14902 caches when `process-file-side-effects' is set.
14903 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14904 instead of `tramp-find-file-exists-command'.
14905 Unset `process-file-side-effects'.
14906
14907 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
14908
14909 * net/tramp.el (tramp-methods): New method "rsyncc".
14910 (top): Add completion function for "rsyncc".
14911 (tramp-message-show-message): New defvar.
14912 (tramp-message, tramp-error): Use it.
14913 (tramp-do-copy-or-rename-file-directly): Extend check for direct
14914 remote copying.
14915 (tramp-do-copy-or-rename-file-out-of-band): Handle new
14916 `tramp-methods' entry `copy-env' of "rsyncc".
14917 (tramp-vc-registered-read-file-names): New defconst.
14918 (tramp-vc-registered-file-names): New defvar.
14919 (tramp-handle-vc-registered): Implement optimization strategy.
14920 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14921 (tramp-vc-file-name-handler): New defun.
14922 (tramp-get-ls-command, tramp-get-test-command)
14923 (tramp-get-file-exists-command, tramp-get-remote-ln)
14924 (tramp-get-remote-perl, tramp-get-remote-stat)
14925 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14926
14927 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14928 (tramp-cache-inhibit-cache): Extend doc string. It allows also
14929 timestamps.
14930 (tramp-get-file-property): Check for timestamps in
14931 `tramp-cache-inhibit-cache'.
14932 (tramp-set-file-property): Write timestamp.
14933
14934 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14935
14936 * language/japan-util.el (japanese-symbol-table): Add entries for
14937 cp932-2-byte.
14938
14939 * international/characters.el: Add category `j' to cp932-2-byte.
14940
14941 2009-08-27 Kenichi Handa <handa@m17n.org>
14942
14943 * international/fontset.el (build-default-fontset-data): New macro.
14944 (setup-default-fontset): Use build-default-fontset-data for CJK,
14945 tibetan, ethiopic, and ipa.
14946
14947 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14948
14949 * cus-start.el (default-major-mode): Customize `major-mode' instead.
14950 (enable-multibyte-characters): Not customizable any more.
14951
14952 * subr.el (default-mode-line-format, default-header-line-format)
14953 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14954 (default-direction-reversed, default-truncate-lines)
14955 (default-left-margin, default-tab-width, default-case-fold-search)
14956 (default-left-margin-width, default-right-margin-width)
14957 (default-left-fringe-width, default-right-fringe-width)
14958 (default-fringes-outside-margins, default-scroll-bar-width)
14959 (default-vertical-scroll-bar, default-indicate-empty-lines)
14960 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14961 (default-fringe-cursor-alist, default-scroll-up-aggressively)
14962 (default-scroll-down-aggressively, default-fill-column)
14963 (default-cursor-type, default-buffer-file-type)
14964 (default-cursor-in-non-selected-windows)
14965 (default-buffer-file-coding-system, default-major-mode)
14966 (default-enable-multibyte-characters): Mark as obsolete.
14967
14968 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
14969
14970 * vc-dir.el (vc-dir-update): Remove debug helper.
14971
14972 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14973
14974 2009-08-26 Sam Steingold <sds@gnu.org>
14975
14976 * simple.el (save-interprogram-paste-before-kill): New user option.
14977 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14978 save the interprogram-paste into kill-ring before overriding it
14979 with the Emacs kill.
14980
14981 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14982
14983 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14984 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14985 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14986 and move to vc-rcs.el.
14987 (vc-default-next-revision): Rename to vc-rcs-next-revision and
14988 move to vc-rcs.el.
14989 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14990 (vc-rcs-update-changelog): Remove.
14991 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14992 and move to vc-rcs.el.
14993
14994 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14995 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14996 renaming.
14997 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14998 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14999 vc.el, renamed to be RCS specific.
15000
15001 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
15002 New functions.
15003 (vc-cvs-update-changelog): Move here from vc.el.
15004
15005 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
15006 New functions.
15007
15008 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
15009
15010 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
15011
15012 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15013
15014 * vc-git.el (vc-git-register): Use "git add" for directories.
15015 (vc-git-stash, vc-git-stash-show): New functions.
15016 (vc-git-extra-menu-map): Bind them.
15017
15018 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
15019 directory correctly in case the item is a directory itself.
15020
15021 * vc.el: Document the desired behavior for reverted files in the
15022 `added' state.
15023 (vc-default-prettify-state-info): Remove function, unused.
15024
15025 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
15026
15027 2009-08-26 Glenn Morris <rgm@gnu.org>
15028
15029 * bindings.el (standard-mode-line-format): Reposition dashes in
15030 which-func entry. (Bug#4217)
15031
15032 * files.el (enable-local-variables, enable-local-eval)
15033 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
15034 the defcustoms.
15035 (auto-mode-alist, ignored-local-variables)
15036 (save-some-buffers-action-alist): Move risky declarations to the
15037 definitions.
15038 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
15039 (font-lock-defaults, format-alist, imenu--index-alist)
15040 (imenu-generic-expression, input-method-alist, minor-mode-alist)
15041 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
15042 (mode-line-modified, mode-line-mule-info, mode-line-position)
15043 (mode-line-process, mode-line-remote, outline-level)
15044 (parse-time-rules, rmail-output-file-alist)
15045 (special-display-buffer-names, vc-mode):
15046 Move risky declarations to the relevant files.
15047 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
15048 (mode-line-modified, mode-line-process, mode-line-position)
15049 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
15050 * font-core.el (font-lock-defaults):
15051 * format.el (format-alist):
15052 * vc-hooks.el (vc-mode):
15053 * window.el (special-display-buffer-names):
15054 * international/mule-cmds.el (input-method-alist):
15055 Define riskiness here (dumped file) rather than in files.el.
15056 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
15057 * imenu.el (imenu-generic-expression, imenu--index-alist):
15058 * outline.el (outline-level):
15059 * time.el (display-time-string):
15060 * calendar/parse-time.el (parse-time-rules):
15061 * mail/rmailout.el (rmail-output-file-alist):
15062 Autoload riskiness here, rather than placing in files.el.
15063
15064 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
15065
15066 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
15067
15068 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
15069
15070 * simple.el (process-file-side-effects): New defvar.
15071
15072 * dired-aux.el (dired-show-file-type):
15073 * vc.el (vc-diff-internal):
15074 * vc-arch.el (vc-arch-diff):
15075 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
15076 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
15077 * vc-git.el (vc-git-registered, vc-git-working-revision)
15078 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
15079 (vc-git--empty-db-p):
15080 * vc-hooks.el (vc-user-login-name):
15081 * vc-svn.el (vc-svn-registered, vc-svn-state)
15082 (vc-svn-dir-extra-headers, vc-svn-find-revision):
15083 * progmodes/grep.el (grep-probe): Let-bind
15084 `process-file-side-effects' with nil.
15085
15086 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
15087
15088 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
15089 daemon. Replace ping by checking for running service for bluez
15090 and zeroconf. (Bug#4239)
15091
15092 2009-08-25 Kevin Ryde <user42@zip.com.au>
15093
15094 * net/dig.el (dig): Add autoload cookie.
15095
15096 2009-08-25 Glenn Morris <rgm@gnu.org>
15097
15098 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
15099 load-history for absolute file-names.
15100 (byte-compile-file-form-require): Warn about use of the cl package.
15101
15102 * format.el (format-alist): Doc fix.
15103
15104 * play/bubbles.el (top-level): Don't require cl at run-time.
15105
15106 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
15107 run-time cl).
15108
15109 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
15110
15111 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
15112 from cl package.
15113 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
15114
15115 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
15116
15117 * calc/calc-alg.el (math-trig-rewrite)
15118 (math-hyperbolic-trig-rewrite): New functions.
15119 (calc-simplify): Simplify trig functions when asked.
15120
15121 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15122
15123 * diff-mode.el (diff-find-source-location): Avoid goto-line.
15124
15125 2009-08-24 Kenichi Handa <handa@m17n.org>
15126
15127 * language/ind-util.el (mapthread): Delete it.
15128 (combinatorial): New function.
15129 (indian--puthash-cv): Use combinatorial instead of mapthread.
15130
15131 2009-08-22 Kevin Ryde <user42@zip.com.au>
15132
15133 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
15134 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
15135 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
15136 Clarify docstring that the value is strings not symbols.
15137 (checkdoc-list-of-strings-p): New function.
15138
15139 2009-08-22 Glenn Morris <rgm@gnu.org>
15140
15141 * files.el (auto-mode-alist):
15142 * hippie-exp.el (he-concat-directory-file-name):
15143 * lpr.el (lpr-windows-system, printer-name):
15144 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
15145 * ps-print.el (ps-windows-system):
15146 * startup.el (command-line):
15147 * emulation/viper-ex.el (viper-glob-function):
15148 * international/mule-cmds.el (set-language-environment-coding-systems):
15149 * net/ange-ftp.el (ange-ftp-write-region):
15150 * obsolete/fast-lock.el (fast-lock-cache-name):
15151 Remove code for defunct system-types emx, macos, mswindows, next-mach,
15152 unisoft-unix, vax-vms, win32, w32.
15153
15154 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
15155 given name if the pattern is not more specific.
15156
15157 * calendar/lunar.el (lunar-phase-names): New option.
15158 (lunar-phase): Doc fix.
15159 (lunar-cycles-per-year): New constant.
15160 (lunar-index): New function.
15161 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
15162 (lunar-phase-name): Use lunar-phase-names.
15163 (calendar-lunar-phases): Use format.
15164 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
15165
15166 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
15167 Copy imenu-example--name-and-position function here for own use.
15168 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
15169
15170 * bs.el (bs--redisplay):
15171 * cus-edit.el (custom-redraw):
15172 * ibuffer.el (ibuffer-bury-buffer):
15173 * server.el (server-goto-line-column):
15174 * startup.el (command-line-1):
15175 * strokes.el (strokes-xpm-for-stroke):
15176 * term.el (term-display-buffer-line):
15177 * view.el (View-goto-line):
15178 * calc/calc.el (calc-do, calc-trail-buffer):
15179 * play/gamegrid.el (gamegrid-add-score-insecure):
15180 * progmodes/ada-mode.el (ada-compile-goto-error):
15181 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
15182 (ebrowse-select-1st-to-9nth):
15183 * progmodes/cperl-mode.el (cperl-time-fontification):
15184 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
15185 * progmodes/gud.el (gud-display-line):
15186 (idlwave-shell-display-line):
15187 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
15188 * progmodes/make-mode.el (makefile-browser-toggle):
15189 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
15190 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
15191 * textmodes/picture.el (picture-draw-rectangle):
15192 * textmodes/reftex-index.el (reftex-index-goto-letter):
15193 (reftex-select-jump-to-previous):
15194 * textmodes/reftex-sel.el (reftex-find-start-point)
15195 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
15196 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
15197 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
15198 * textmodes/tex-mode.el (tex-compilation-parse-errors):
15199 * textmodes/two-column.el (2C-associated-buffer):
15200 Use forward-line rather than goto-line.
15201
15202 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
15203 goto-line.
15204
15205 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
15206 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
15207 (quick-check-list-to-regexp): Declare.
15208
15209 * progmodes/make-mode.el (makefile-browser-insert-selection):
15210 Use goto-char rather than goto-line.
15211
15212 * progmodes/prolog.el (compilation-error-regexp-alist)
15213 (compilation-forget-errors): Declare.
15214
15215 2009-08-22 Juri Linkov <juri@jurta.org>
15216
15217 * progmodes/grep.el (lgrep, rgrep): At the beginning
15218 set `dir' to `default-directory' unless `dir' is a non-nil
15219 readable directory. (Bug#4052)
15220 (lgrep, rgrep): Change a weird way to report an error
15221 from using `read-string' to using `error'.
15222 Instead of using interactive arguments in the function body,
15223 add new argument `confirm'.
15224
15225 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15226
15227 * textmodes/remember.el (remember-buffer):
15228 * progmodes/cperl-mode.el (cperl-vc-header-alist):
15229 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
15230 (icalendar-extract-ical-from-buffer):
15231 * net/newst-treeview.el (newsticker-groups-filename):
15232 * net/newst-backend.el (newsticker-cache-filename):
15233 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
15234 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
15235 (speedbar-add-ignored-path-regexp, speedbar-line-path)
15236 (speedbar-buffers-line-path, speedbar-path-line)
15237 (speedbar-buffers-line-path):
15238 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
15239 (epg-sign-keys):
15240 * epa.el (epa-display-verify-result):
15241 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
15242
15243 2009-08-21 Glenn Morris <rgm@gnu.org>
15244
15245 * progmodes/js.el (inferior-moz-process): Fix declaration.
15246
15247 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15248
15249 * obsolete/rnewspost.el (news-mail-reply):
15250 Use goto-char rather than goto-line.
15251
15252 * term/ns-win.el (ns-open-file-select-line):
15253 Use line-beginning-position rather than goto-line.
15254
15255 * apropos.el (apropos-command):
15256 * ehelp.el (electric-helpify):
15257 * printing.el (pr-show-setup):
15258 * strokes.el (strokes-help):
15259 * tutorial.el (tutorial--describe-nonstandard-key)
15260 (tutorial--detailed-help):
15261 * woman.el (woman-mini-help, woman-display-extended-fonts):
15262 * calc/calc-help.el (calc-describe-key):
15263 * emulation/edt.el (edt-electric-helpify):
15264 * international/mule-diag.el (mule-diag):
15265 * play/yow.el (apropos-zippy):
15266 * progmodes/python.el (python-describe-symbol):
15267 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15268 * textmodes/table.el (*table--cell-describe-mode)
15269 (*table--cell-describe-bindings):
15270 Use help-print-return-message rather than the now obsolete alias.
15271
15272 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15273 (calendar-cursor-to-visible-date):
15274 * play/5x5.el (5x5-position-cursor):
15275 * play/decipher.el (decipher):
15276 * play/gomoku.el (gomoku-goto-xy):
15277 * play/landmark.el (lm-goto-xy):
15278 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15279 (mpuz-paint-digit):
15280 Use forward-line, not goto-line.
15281
15282 * mail/rmail.el (rmail-obsolete): Delete custom group.
15283 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
15284 (rmail-remote-password, rmail-remote-password-required):
15285 Remove unneeded :set-after and :set properties.
15286
15287 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
15288
15289 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
15290
15291 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
15292
15293 * loadup.el: Remove leftover macos code.
15294
15295 * vc-git.el (vc-git-annotate-command): Run asynchronously.
15296 Explicitly pass the date format to git blame so that user local
15297 so that the output format can be parsed.
15298
15299 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
15300
15301 * net/dbus.el (top): Don't check for (getenv
15302 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
15303
15304 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
15305
15306 * log-edit.el (log-edit-strip-single-file-name): New var.
15307 (log-edit-insert-changelog): Use it. Bug#3571
15308
15309 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15310
15311 * subr.el (read-passwd): Use read-key so keypad keys work as well.
15312 Bug#3287
15313
15314 * help.el (help-print-return-message): Rename from
15315 print-help-return-message.
15316
15317 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
15318 cvs-mode-map parent hack.
15319 (log-view-mode): Derive from special-mode.
15320
15321 * linum.el (linum-mode): window-size-change-functions is redundant.
15322 Adapt to new window-configuration-change-hook behavior.
15323 (linum-after-size, linum-after-config): Remove.
15324
15325 * imenu.el (imenu-example--name-and-position)
15326 (imenu-example--lisp-extract-index-name)
15327 (imenu-example--create-lisp-index, imenu-example--create-c-index):
15328 Mark as obsolete.
15329
15330 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
15331 (inferior-prolog-mode): Use it.
15332 (inferior-prolog-load-file): Reset list of errors.
15333
15334 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15335
15336 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
15337
15338 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
15339
15340 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
15341
15342 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
15343 is running already.
15344
15345 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15346
15347 * subr.el (listify-key-sequence-1): Use normal syntax since those
15348 integers are nowadays always represented by the same (positive) number
15349 on all platforms.
15350 (read-key-empty-map): New const.
15351 (read-key-delay): New var.
15352 (read-key): New function.
15353 (force-mode-line-update): Use with-current-buffer.
15354 (locate-user-emacs-file): Don't forget to abbreviate the file name.
15355 (start-process-shell-command, start-file-process-shell-command):
15356 Discourage the use of command-args.
15357
15358 2009-08-19 Glenn Morris <rgm@gnu.org>
15359
15360 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
15361
15362 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15363
15364 * simple.el (choose-completion-string): Don't rely on
15365 minibuffer-completing-file-name and ad-hoc checks to decide whether
15366 to continue completion or not.
15367
15368 * minibuffer.el (minibuffer-hide-completions): New function.
15369 (completion--do-completion): Use it.
15370 (completions-annotations): New face.
15371 (completion--insert-strings): Use it.
15372 (completion-pcm--delim-wild-regex): Add docstring.
15373 (completion-pcm--string->pattern): Add support for 0-width delimiters
15374 in completion-pcm--delim-wild-regex.
15375
15376 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
15377
15378 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
15379 Remove unused var `buffer-modified-p'.
15380
15381 * minibuffer.el (completion--do-completion): Move point for the #b001
15382 case as well (bug#4176).
15383 (minibuffer-complete, minibuffer-complete-word): Don't move point.
15384
15385 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
15386
15387 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
15388 and :session buses.
15389
15390 2009-08-18 Kenichi Handa <handa@m17n.org>
15391
15392 * international/ucs-normalize.el (ucs-normalize-version):
15393 Change to 1.1.
15394 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
15395 (utf-8-hfs): Make it perform normalization on encoding too.
15396
15397 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
15398 (sentence-end-without-space): Delete duplicated chars.
15399 (sentence-end-base): Likewise.
15400
15401 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
15402 (html-mode): Delete duplicated chars from sentence-end-base.
15403
15404 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
15405 (texinfo-mode): Delete duplicated chars from sentence-end-base.
15406
15407 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
15408
15409 * files.el (hack-one-local-variable): If the mode function is for
15410 a minor mode, pass it an argument (Bug#4148).
15411
15412 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
15413
15414 * net/tramp.el (tramp-register-completion-file-name-handler):
15415 Check also for (member 'partial-completion completion-styles).
15416
15417 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15418
15419 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
15420 abbrev (Bug#3943).
15421
15422 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
15423
15424 * progmodes/cperl-mode.el: Merge upstream 6.2.
15425 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
15426 (cperl-forward-re): Check cperl-brace-recursing.
15427 (cperl-highlight-charclass): New function.
15428 (cperl-find-pods-heres): Use it.
15429 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
15430 (cperl-beautify-regexp-piece): Fix column calculation.
15431 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
15432 (cperl-beautify-level): Don't process entire regexp.
15433 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
15434 calling man.
15435 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
15436 (cperl-init-faces): Build a list in the normal way.
15437
15438 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15439
15440 * calendar/parse-time.el (parse-time-string-chars): Save match
15441 data.
15442
15443 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
15444
15445 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
15446 (sql-product): Use it.
15447 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
15448 (sql-set-product): Add completion.
15449 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
15450 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
15451 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
15452 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
15453 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
15454 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
15455 (sql-highlight-db2-keywords): Remove.
15456 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
15457 (sql-highlight-product): Use derived-mode-p.
15458 (sql-set-sqli-buffer): Use with-current-buffer.
15459 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
15460 Simplify.
15461
15462 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
15463
15464 * term.el: Fix commenting convention, turn comments into docstrings.
15465
15466 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
15467
15468 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
15469
15470 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
15471
15472 * calendar/parse-time.el (parse-time-string-chars): Compute using
15473 character classes, to handle non-ascii characters (Bug#3190).
15474
15475 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15476
15477 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
15478 another heredoc if the user adds another < (Bug#3226).
15479
15480 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
15481 Don't initialize based on window-system (Bug#4124).
15482
15483 * facemenu.el (facemenu-read-color): Use a completion function
15484 that accepts any defined color, such as RGB triplets (Bug#3677).
15485
15486 * files.el (get-free-disk-space): Change fallback default
15487 directory to /. Expand DIR argument before switching to fallback.
15488 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
15489
15490 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15491
15492 * files.el (load-library): Doc fix.
15493
15494 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
15495
15496 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
15497 (viper-if-string): Redefine C-s in the minibuffer to insert the last
15498 incremental search string.
15499
15500 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
15501 XEmacs.
15502
15503 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
15504 (ediff-merge-region-is-non-clash)
15505 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
15506 Also check if the job is really a merge job.
15507
15508 * ediff.el (ediff-current-file): New function.
15509
15510 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15511
15512 * progmodes/js.el: Edit docstrings throughout to follow Emacs
15513 conventions.
15514 (js-insert-and-indent): Delete function.
15515 (js-mode-map): Don't bind keys to js-insert-and-indent.
15516 (js-beginning-of-defun): Rename from js--beginning-of-defun.
15517 (js-end-of-defun): Rename from js--end-of-defun.
15518 (js-auto-indent-flag): Delete variable.
15519
15520 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
15521
15522 * progmodes/js.el: Remove proclaim statement.
15523 Defvar which-func-imenu-joiner-function to silence compiler.
15524
15525 * files.el (auto-mode-alist): Use js-mode for .js files.
15526
15527 * progmodes/js2-mode.el: Remove file.
15528
15529 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
15530
15531 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
15532
15533 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
15534
15535 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
15536 Karl Landstrom <karl.landstrom@brgeight.se>
15537
15538 * progmodes/js.el: New file.
15539
15540 2009-08-14 Mark A. Hershberger <mah@everybody.org>
15541
15542 * timezone.el (timezone-parse-date): Add ability to understand ISO
15543 basic format (minimal separators) dates in addition to the
15544 already-supported extended format dates.
15545
15546 2009-08-14 Eli Zaretskii <eliz@gnu.org>
15547
15548 * international/ucs-normalize.el: Add a `coding' file variable.
15549
15550 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15551
15552 2009-08-14 Sam Steingold <sds@gnu.org>
15553
15554 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15555
15556 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
15557
15558 * faces.el (help-argument-name): Define it here instead of
15559 help-fns.el, because in daemon mode help-fns.el may be loaded when
15560 faces are still uninitialized (Bug#1078).
15561
15562 * help-fns.el (help-argument-name): Move defface to faces.el.
15563
15564 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
15565
15566 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15567 create buffer with a pty but no process so that GDB can make the
15568 inferior the controlling process.
15569
15570 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
15571
15572 * international/ucs-normalize.el: New file.
15573
15574 2009-08-13 Richard Stallman <rms@gnu.org>
15575
15576 * mail/rmail.el (rmail-get-attr-names):
15577 Accept an attribute header that is too short.
15578
15579 * mail/rmail.el (rmail-forget-messages):
15580 Ignore nil elt in rmail-message-vector. Use dotimes.
15581
15582 * progmodes/compile.el (compilation-goto-locus):
15583 Use next-error-move-function.
15584
15585 * simple.el (next-error-move-function): New variable.
15586
15587 2009-08-12 Juri Linkov <juri@jurta.org>
15588
15589 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15590 always non-nil. (Bug#4052)
15591
15592 * replace.el (read-regexp): Return empty string when
15593 `default-value' is nil.
15594 (keep-lines-read-args): Don't use empty string as the
15595 default value for `read-regexp'. (Bug#2495)
15596
15597 2009-08-12 Juri Linkov <juri@jurta.org>
15598
15599 * international/mule-cmds.el (ucs-insert): Change arguments
15600 from `arg' to `character', `count', `inherit' to be the same
15601 as in `insert-char'. Doc fix. (Bug#4039)
15602
15603 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15604
15605 2009-08-12 Juri Linkov <juri@jurta.org>
15606
15607 * files-x.el: New file.
15608
15609 * files.el: Move code that deals with adding/deleting
15610 file/directory-local variables to files-x.el.
15611
15612 * Makefile.in (ELCFILES): Add files-x.elc.
15613
15614 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
15615
15616 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15617 to use `goto-line'.
15618 (gdb-place-breakpoints, gdb-get-location): Rewritten without
15619 `goto-line'.
15620 (gdb-invalidate-disassembly): Do not refresh upon receiving
15621 'update signal. Instead, update all disassembly buffers only after
15622 threads list.
15623 (gdb): Send -target-detach when buffer is killed (Bug#3794).
15624 (gdb-starting): Moved -data-list-register-names...
15625 (gdb-stopped): ...here so it's sent when first thread stops.
15626 (gdb-registers-handler-custom): Do nothing if register names are
15627 unknown yet.
15628
15629 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15630 from `gdb-mi.el' to avoid extra tangling.
15631
15632 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15633 change which breaks `gud-def' definitions used in `gdb'.
15634 (gdb-update-gud-running): No extra fuss for updating frame number.
15635
15636 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
15637
15638 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15639 (describe-language-environment-map, setup-language-environment-map)
15640 (set-coding-system-map): Move initialization into declaration.
15641 (set-language-info-alist): Last arg to define-key-after can be skipped.
15642
15643 * international/quail.el (quail-completion-1): Simplify.
15644 (quail-define-rules): Use slightly more compact code.
15645 (quail-insert-decode-map): Propertize keys, compact columns.
15646
15647 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15648 Add goto-line.
15649
15650 2009-08-10 Miles Bader <miles@gnu.org>
15651
15652 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15653 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15654 (js2-instance-member, js2-private-member, js2-private-function-call)
15655 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15656 (js2-magic-paren, js2-external-variable):
15657 Remove "-face" suffix from face names.
15658 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15659 (js2-highlight-undeclared-vars, js2-peek-token)
15660 (js2-parse-function-params, js2-mode-show-errors)
15661 (js2-mode-show-warnings, js2-make-magic-delimiter)
15662 (js2-mode-highlight-magic-parens): Update to use new face names.
15663
15664 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
15665
15666 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15667 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
15668
15669 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
15670
15671 * subr.el: Provide hashtable-print-readable.
15672
15673 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15674 hs-c-like-adjust-block-beginning.
15675 (hs-hide-block-at-point): Stop hiding at the beginning of
15676 hs-block-end-regexp (Bug#700).
15677
15678 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
15679
15680 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15681 a macro.
15682 (gdb-registers-handler-custom): Do not fail when register names
15683 are unavailable.
15684
15685 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15686
15687 * progmodes/gdb-mi.el (gdb-control-all-threads)
15688 (gdb-control-current-thread): Interactive setters for
15689 `gdb-gud-control-all-threads' to use in menu.
15690 (gdb-show-run-p): Show «Go» when process is not active.
15691 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
15692 gud/thread.xpm and gud/all.xpm.
15693
15694 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
15695
15696 * net/net-utils.el (net-utils-font-lock-keywords): New var.
15697 (nslookup-font-lock-keywords): Make it a variable.
15698 (net-utils-mode): New mode for viewing diagnostic network output.
15699 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15700 (net-utils-run-simple): New function.
15701 (ifconfig, iwconfig, netstat, arp, route): Use it.
15702
15703 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15704
15705 * progmodes/gdb-mi.el (gdb-read-memory-custom)
15706 (gdb-memory-set-address, def-gdb-set-positive-number)
15707 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15708 after changing settings.
15709 (gdb-invalidate-disassembly): Update when first shown.
15710 (gdb-edit-locals-value): Fixed.
15711 (gdb-registers-handler-custom): Print registers in right order and
15712 allow changing register values (only for current thread yet).
15713 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15714 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15715 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15716 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15717 info in mode name.
15718 (gdb-registers-mode-map): TAB to switch to locals.
15719
15720 2009-08-08 Eli Zaretskii <eliz@gnu.org>
15721
15722 * mail/rmail.el (rmail-add-mbox-headers)
15723 (rmail-set-message-counters-counter): Search for
15724 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
15725
15726 2009-08-08 Glenn Morris <rgm@gnu.org>
15727
15728 * Makefile.in (ELCFILES): Update.
15729
15730 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15731
15732 * mail/sendmail.el (mail-yank-original): Set
15733 buffer-file-coding-system from the one used by the message whose
15734 text is yanked.
15735
15736 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15737 to "windows" when "pgnuplot" is used.
15738 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15739 call accept-process-output if "pgnuplot" is used.
15740 (calc-graph-init): Don't send -display and -geometry to
15741 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
15742 running "pgnuplot -V" with shell-command-to-string.
15743
15744 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15745 the default.
15746
15747 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15748
15749 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15750 org/org-latex.elc.
15751
15752 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
15753
15754 * vc-dispatcher.el (vc-resynch-window): Update comment.
15755
15756 * term.el (term-handle-ansi-escape): Add comments with the
15757 terminfo capabilities implemented.
15758
15759 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
15760
15761 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15762 (gdb-var-create-handler): Rewritten using JSON parser.
15763 (gdb-propertize-header): Moved earlier.
15764 (gdb-set-header): Removed to avoid duplication.
15765 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15766 Refresh disassembly buffers only after threads list have been
15767 update.
15768 (gdb-threads-header, gdb-registers-header): Per-buffer header line
15769 variables.
15770
15771 2009-08-04 Juri Linkov <juri@jurta.org>
15772
15773 * files.el: Commands to add/delete file/directory-local variables.
15774 (read-file-local-variable, read-file-local-variable-value)
15775 (read-file-local-variable-mode, modify-file-local-variable)
15776 (modify-file-local-variable-prop-line)
15777 (modify-dir-local-variable): New functions.
15778 (add-file-local-variable, delete-file-local-variable)
15779 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15780 (add-dir-local-variable, delete-dir-local-variable)
15781 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15782 (copy-dir-locals-to-file-locals-prop-line): New commands.
15783
15784 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
15785
15786 * abbrev.el (insert-abbrev-table-description): Prettify output.
15787 Suggested by Karl Chen.
15788
15789 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
15790
15791 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15792 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15793 (gdb-overlay-arrow-position, gdb-thread-position)
15794 (gdb-disassembly-position): Declare variables.
15795 (gdb-wait-for-pending): Function now.
15796 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15797 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15798 compilation goes smoothly.
15799 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15800 (gdb-non-stop-setting): New customization setting which replaces
15801 `gdb-non-stop' so changing it doesn't break active GDB session.
15802 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15803 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15804 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15805 (gdb-show-threads-by-default): New customization options.
15806 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15807 routines.
15808 (gdb-get-buffer-create): Send buffers update signal when they are
15809 created.
15810 (gdb-invalidate-locals, gdb-invalidate-registers)
15811 (gdb-invalidate-breakpoints)
15812 (gdb-invalidate-threads, gdb-invalidate-disassembly)
15813 (gdb-invalidate-memory): Accept update signal.
15814 (gdb-current-context-command): Use --frame option.
15815 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15816 Implement `gdb-frame-number' selection logic.
15817 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15818 whether to show GUD toolbar buttons.
15819 (gdb-thread-exited): Unselect current thread when it exits.
15820 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15821 (gdb-mark-line): Routine which sets overlay arrow or inverses
15822 video on fringeless displays.
15823 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15824 to build aligned columns of data in GDB buffers and set text
15825 properties line-by-line.
15826 (gdb-invalidate-breakpoints)
15827 (gdb-breakpoints-list-handler-custom)
15828 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15829 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15830 (gdb-registers-handler-custom): Align data columns.
15831 (gdb-locals-handler-custom): Now prints data like in variable
15832 declarations.
15833 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15834 Removed confusing buttons.
15835 (gdb-invalidate-threads): Append --frame.
15836 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15837 between breakpoints/threads buffers.
15838 (gdb-set-window-buffer): Now can ignore dedicated windows.
15839 (gdb-propertize-header): Use `gdb-set-window-buffer'.
15840 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15841 (def-gdb-thread-buffer-gud-command): Replaces
15842 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15843 for fine thread control.
15844 (gdb-preempt-existing-or-display-buffer): New function used to
15845 display bound buffers without breaking window layout.
15846 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15847 (gdb-select-frame): New version of `gdb-frames-select' which now
15848 sets `gdb-frame-number' so commands may use --frame option instead
15849 of inner debugger state.
15850 (gdb-frame-handler): Do not set `gdb-frame-number'.
15851 (gdb-threads-mode-map): Select threads with mouse.
15852
15853 * progmodes/gud.el (gdb-gud-context-call): Declare function to
15854 avoid compilation warning.
15855 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15856 `gdb-show-stop-p`.
15857
15858 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15859 Argument `key' renamed to `buffer-type'.
15860 (gdb-current-context-buffer-name): Do not add thread info to
15861 buffer name when no thread is selected.
15862 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15863 command (bug 3794).
15864 (gdb-thread-selected): Handle `=thread-selected' notification.
15865 (gdb-wait-for-pending): New macro to deal with congestion problems.
15866 (gdb-breakpoints-list-handler-custom): Don't fail on pending
15867 breakpoints.
15868 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15869 This fixes problem similar to one described in bug 3947.
15870 (gud-menu-map): More menu items.
15871 (gdb-init-1): Reset `gdb-thread-number' to nil.
15872
15873 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15874 non-stop settings.
15875
15876 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15877 (gdb-current-context-command): Do not append --thread if
15878 `gdb-thread-number' is nil.
15879 (gdb-running-threads-count, gdb-stopped-threads-count): New
15880 variables.
15881 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15882 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15883 customization options.
15884 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15885 GUD commands.
15886 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15887 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15888 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15889 set `gdb-thread-number' and update `gud-running' properly.
15890 (gdb-running): Update threads list when new threads appear.
15891 (gdb-stopped): Support non-stop operation and new thread switching
15892 logic.
15893 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15894 (gdb-json-partial-output): New set of JSON routines.
15895 (def-gdb-auto-update-trigger): New `signal-list' optional
15896 argument.
15897 (gdb-thread-list-handler-custom): Update `gud-running',
15898 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15899 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15900 (gdb-continue-thread, gdb-step-thread): New commands for fine
15901 thread execution control.
15902 (gud-menu-map): New menu items to switch non-stop options.
15903 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15904 (gdb-send): Mimic RET properly (bug 3794).
15905
15906 * progmodes/gdb-mi.el (gdb-rules-name-maker)
15907 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15908 gdb-buffer-rules.
15909 (def-gdb-auto-update-handler): New nopreserve optional argument.
15910 (gdb-stack-list-frames-custom): Print stack from top to bottom.
15911
15912 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15913 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15914 (gdb-parent-mode): New mode to derive other GDB modes from.
15915 (gdb-display-disassembly-for-thread)
15916 (gdb-frame-disassembly-for-thread): New commands for threads
15917 buffer.
15918
15919 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15920 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15921 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15922 (gdb-update): We now store all GDB buffers in a list so that they
15923 can be updated by traversing a list instead of calling invalidate
15924 triggers explicitly.
15925 (def-gdb-trigger-and-handler): New macro to define trigger-handler
15926 pair for GDB buffer.
15927 (gdb-stack-buffer-name): Add thread information.
15928 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15929 handle pending triggers.
15930 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15931 (def-gdb-thread-buffer-simple-command)
15932 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15933 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15934 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15935 New commands which show buffers bound to thread.
15936 (gdb-stack-list-locals-regexp): Removed unused regexp.
15937
15938 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15939 (gdb-locals-buffer-name, gdb-registers-buffer-name)
15940 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15941 to (gud-comint-buffer) in *-buffer-name functions
15942 because (gdb-get-target-string) already does that.
15943 (gdb-locals-handler-custom, gdb-registers-handler-custom)
15944 (gdb-changed-registers-handler): Rewritten without regexps.
15945
15946 * progmodes/gdb-mi.el: Basic thread selection support.
15947 (gdb-thread-number): New variable.
15948 (gdb-current-context-command): New macro which adds --thread
15949 option to command.
15950 (gdb-threads-mode-map): Select thread with SPC.
15951 (gdb-thread-list-handler-custom): Mark current thread with overlay
15952 arrow. Synchronize GDB thread and Emacs thread.
15953 (gdb-select-thread): New command which selects current thread.
15954 (gdb-invalidate-frames, gdb-invalidate-locals)
15955 (gdb-invalidate-registers): Use --thread option.
15956
15957 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
15958
15959 * net/tramp.el (top): Make check for tramp-gvfs loading more
15960 robust. (Bug#3977)
15961 (tramp-handle-insert-file-contents): `unwind-protect' must be
15962 inside `with-parsed-tramp-file-name'.
15963
15964 * net/tramp-gvfs.el (top): Remove superfluous message when loading
15965 fails.
15966
15967 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
15968
15969 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15970 directory if CLASSPATH is not set.
15971
15972 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
15973
15974 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15975 New defconst.
15976 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
15977
15978 2009-08-02 Kevin Ryde <user42@zip.com.au>
15979
15980 * net/newst-backend.el (newsticker--raw-url-list-defaults):
15981 Update freshmeat link. Delete newsforge.com as it seems gone.
15982
15983 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15984
15985 * select.el (x-set-selection): Doc fix (Bug#4021).
15986
15987 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15988
15989 * help-fns.el (describe-variable): Treat list return values from
15990 dir-locals-find-file properly (Bug#4005).
15991
15992 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
15993
15994 * net/tramp.el (tramp-debug-message): Print also microseconds.
15995
15996 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
15997
15998 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15999 or END is non-nil.
16000 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
16001 (tramp-get-debug-buffer): Change `outline-regexp' according to new
16002 format.
16003
16004 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
16005 (tramp-get-file-property): Use it.
16006
16007 * autorevert.el (auto-revert-handler): Allow
16008 `auto-revert-tail-mode' for remote files.
16009
16010 2009-08-02 Jason Rumney <jasonr@gnu.org>
16011
16012 * minibuffer.el (read-file-name): Treat confirm options to
16013 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
16014
16015 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16016
16017 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
16018 (font-lock-variable-name-face, font-lock-constant-face): Darken
16019 the colors for light backgrounds.
16020
16021 2009-08-01 Eli Zaretskii <eliz@gnu.org>
16022
16023 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
16024 month names. (Bug#3987)
16025
16026 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
16027
16028 * simple.el (line-move-finish): Pass whole number to
16029 line-move-to-column.
16030 (line-move-visual): Perform hscroll to the recorded position.
16031
16032 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
16033
16034 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
16035
16036 2009-07-29 Alan Mackenzie <acm@muc.de>
16037
16038 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
16039
16040 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
16041
16042 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
16043 (gdb-place-breakpoints): Use full path when setting breakpoints.
16044
16045 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
16046
16047 * calc/calc.el (calc-mode-map): Add keybinding for
16048 `calc-transpose-lines'.
16049
16050 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
16051
16052 * calc/calc-misc.el (calc-transpose-lines): New function.
16053
16054 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
16055
16056 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
16057 Simplify check for out-of-band methods.
16058 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
16059 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
16060
16061 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
16062
16063 * vc-git.el (vc-git-checkin): Fix typo.
16064
16065 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
16066
16067 * progmodes/js2-mode.el: New file.
16068
16069 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
16070
16071 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
16072 (gud-menu-map): Adjust tooltip accordingly.
16073
16074 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
16075
16076 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
16077 (vc-bzr-log-view-mode): Adjust log-view-file-re.
16078
16079 * add-log.el (change-log-mode-map): Add a menu.
16080
16081 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
16082
16083 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
16084 function returns nil.
16085 (dbus-handle-event): Handle special return value :ignore.
16086 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
16087
16088 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
16089
16090 * view.el (view-mode-enable): Don't define Helper-return-blurb if
16091 it's not needed.
16092
16093 2009-07-25 Eli Zaretskii <eliz@gnu.org>
16094
16095 Fix Bug#3888:
16096
16097 * w32-vars.el (x-select-enable-clipboard): Doc fix.
16098
16099 * term/pc-win.el (x-display-name, x-colors)
16100 (x-select-enable-clipboard, x-select-text): Doc fix.
16101
16102 * term/common-win.el (x-display-name, x-colors): Doc fix.
16103
16104 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
16105 (xw-defined-colors): Doc fix.
16106
16107 * w32-fns.el (x-select-text, x-setup-function-keys)
16108 (x-get-selection, x-set-selection): Doc fix.
16109
16110 * term/x-win.el (x-select-text, x-setup-function-keys)
16111 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
16112
16113 * select.el (x-set-selection): Doc fix.
16114
16115 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
16116
16117 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
16118 instead of "IsNSSSupportAvailable". Avahi ought to work also when
16119 "IsNSSSupportAvailable" method is not available. Reported by
16120 Steve Youngs <steve@sxemacs.org>.
16121
16122 2009-07-24 Kenichi Handa <handa@m17n.org>
16123
16124 * international/characters.el: Fix setting of category ?C, ?|, ?K,
16125 and ?H. Fix setting of case for Latin Extended and Greek Extended.
16126 (build-unicode-category-table): Fix range checks.
16127
16128 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
16129
16130 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
16131 the buffer we try to sync is current when calling
16132 vc-resynch-buffer.
16133
16134 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
16135 not show up to date files.
16136
16137 2009-07-24 Glenn Morris <rgm@gnu.org>
16138
16139 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
16140 Add autoload cookies. If necessary, initialize.
16141 (elint-log): Handle non-file buffers.
16142 (elint-initialize): Add optional argument to reinitialize.
16143 (elint-find-builtin-variables): Save excursion.
16144
16145 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
16146
16147 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
16148 for Lint.
16149
16150 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
16151
16152 * vc.el (vc-print-log-internal): New function, split out from ...
16153 (vc-print-log): ... here.
16154 (vc-dir-move-to-goal-column): Declare.
16155
16156 * vc-git.el (vc-git-add-signoff): New variable.
16157 (vc-git-checkin): Use it.
16158 (vc-git-toggle-signoff): New function.
16159 (vc-git-extra-menu-map): Bind it to menu.
16160 (vc-git--run-command-string): Accept a nil FILE argument.
16161 (vc-git-stash-list): New function.
16162 (vc-git-dir-extra-headers): Use it.
16163
16164 2009-07-23 Glenn Morris <rgm@gnu.org>
16165
16166 * help-fns.el (describe-variable): Describe ignored and risky local
16167 variables in a similar way to that in which we describe safe ones.
16168
16169 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
16170 (byte-compile-output-file-form, byte-compile-output-docform)
16171 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
16172 Give some more local variables with common names a "bytecomp-" prefix,
16173 so as not to shadow things during compilation.
16174 * emacs-lisp/cl-macs.el (load-time-value)
16175 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
16176 `outbuffer' to `bytecomp-outbuffer'.
16177
16178 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
16179 since the next two variables cover them automatically now.
16180 (elint-builtin-variables, elint-autoloaded-variables): New.
16181 (elint-unknown-builtin-args): Remove all members, since they can be
16182 parsed automatically now.
16183 (elint-extra-errors): New.
16184 (elint-env-add-env, elint-env-add-macro): Use cadr.
16185 (elint-current-buffer): Use or. Change final message.
16186 (elint-get-top-forms): Use line-end-position.
16187 (elint-init-env): Use cadr. Handle autoload, declare-function,
16188 and defalias.
16189 (elint-add-required-env): Doc fix. Use or. Standardize error.
16190 (regexp-assoc): Remove unused function.
16191 (elint-top-form): Set elint-current-pos, to record the start of the
16192 top-level form, for compilation-mode.
16193 (elint-form): Trap errors in macro expansion. Use dolist.
16194 (elint-unbound-variable): Use elint-builtin-variables and
16195 elint-autoloaded-variables.
16196 (elint-get-args): Use cadr, or.
16197 (elint-check-cond-form): Use dolist, cadr.
16198 (elint-check-condition-case-form): Doc fix. Use cadr.
16199 Use elint-extra-errors.
16200 (elint-log): New function.
16201 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
16202 Distinguish errors and warnings.
16203 (elint-log-message): Use with-current-buffer. Inhibit read-only.
16204 Use a bytecomp-style format.
16205 (elint-clear-log): Preserve default-directory. Inhibit read-only.
16206 (elint-get-log-buffer): Use compilation mode. Disable undo.
16207 Don't truncate lines.
16208 (elint-initialize): Set builtin and autoloaded variable lists.
16209 Only process elint-unknown-builtin-args if non-nil.
16210 (elint-find-builtin-variables, elint-find-autoloaded-variables):
16211 New functions.
16212 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
16213
16214 2009-07-22 Kevin Ryde <user42@zip.com.au>
16215
16216 * net/newst-backend.el (newsticker--parse-atom-1.0)
16217 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
16218 (newsticker--parse-rss-1.0):
16219 * progmodes/idlwave.el (idlwave-mode):
16220 * progmodes/idlw-shell.el (idlwave-shell-mode):
16221 * progmodes/vera-mode.el (vera-mode):
16222 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
16223 * progmodes/vhdl-mode.el (vhdl-mode):
16224 * textmodes/table.el (table-generate-source)
16225 (table--warn-incompatibility):
16226 Hyperlink urls in docstrings with URL `...'.
16227
16228 2009-07-22 Glenn Morris <rgm@gnu.org>
16229
16230 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
16231 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
16232 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
16233 Remove leading * from defcustom docs.
16234
16235 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
16236
16237 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
16238 defcustom doc.
16239 (list-load-path-shadows): Optionally, just return shadows as a string.
16240
16241 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
16242
16243 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
16244
16245 * mail/rmailedit.el (rmail-edit-mode): Use
16246 auto-save-include-big-deletions.
16247
16248 * mail/rmail.el (rmail-variables): Use
16249 auto-save-include-big-deletions.
16250
16251 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16252 changes.
16253
16254 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
16255
16256 * calc/calc.el (calc-undo-length): New variable.
16257 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16258
16259 2009-07-21 Richard Stallman <rms@gnu.org>
16260
16261 * files.el (auto-save-mode): Handle buffer-save-size = -2
16262 for toggling mode.
16263
16264 2009-07-21 Glenn Morris <rgm@gnu.org>
16265
16266 * textmodes/ispell.el (ispell-looking-back): Update declaration.
16267
16268 * calendar/todo-mode.el (calendar-current-date): Update declaration.
16269
16270 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16271 silence compiler. Instead...
16272 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16273 (ps-print-ensure-fontified): Update for above function name changes.
16274
16275 * printing.el (pr-mh-get-msg-num, pr-mh-show)
16276 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16277 silence compiler. Instead...
16278 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16279 (mh-show-buffer): Only define for compiler.
16280 (pr-mh-current-message): Update for above function name changes.
16281
16282 * files.el (abort-if-file-too-large): Explicitly pass `filename'
16283 as an argument.
16284 (find-file-noselect, insert-file-1): Update for above change.
16285
16286 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
16287
16288 * mail/mailclient.el (mailclient-send-it): Fix message.
16289
16290 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
16291 (edebug-eval): Check cl-debug-env is bound.
16292 (print-level, print-circle): Don't redefine built-in variables.
16293
16294 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
16295 (custom-print-vectors): Remove old comments from doc.
16296
16297 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
16298 (emerge-version): Make the variable an obsolete alias for the
16299 emacs-version variable. Make the function obsolete.
16300 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
16301 Emerge options, rather than merging in into the main Options menu.
16302 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
16303 and auto advance modes. Disable edit/fast items when not relevant.
16304
16305 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
16306
16307 * term/vt420.el (terminal-init-vt420): Fix typo.
16308
16309 2009-07-20 Sam Steingold <sds@gnu.org>
16310
16311 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
16312 variable (removed from compile.el on 2004-03-11).
16313
16314 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
16315
16316 * files.el (hack-local-variables-filter): Fix last change.
16317
16318 2009-07-19 Juri Linkov <juri@jurta.org>
16319
16320 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
16321 (dir-local-variables-alist): New buffer-local variable.
16322 (hack-local-variables-filter): If variable is not dir-local,
16323 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
16324 because file-local overrides dir-local.
16325 (c-postprocess-file-styles) <declare-function>:
16326 Remove obsolete declaration.
16327 (hack-dir-local-variables): Add dir-local variable/value pair to
16328 `dir-local-variables-alist' and remove duplicates. Doc fix.
16329
16330 * help-fns.el (describe-variable): Add information about
16331 file-local and dir-local variables.
16332
16333 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
16334
16335 * files.el (hack-local-variables-filter): Rewrite.
16336
16337 2009-07-19 Glenn Morris <rgm@gnu.org>
16338
16339 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
16340 Silence compiler by only defining on XEmacs.
16341
16342 * international/mule.el (auto-coding-regexp-alist): Only match
16343 BABYL... at the start of buffer, not of lines. (Bug#3790)
16344
16345 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
16346 non-calendar buffers (Bug#3862). Restore "not on a date" message.
16347 (cal-menu-context-mouse-menu): Doc fix.
16348
16349 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
16350
16351 * simple.el (mail-user-agent): Doc fix. Set :version tag.
16352
16353 2009-07-18 Juri Linkov <juri@jurta.org>
16354
16355 * info.el: Virtual Info keyword finder.
16356 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
16357 (Info-finder-file): New variable.
16358 (Info-finder-find-file): New function.
16359 (finder-known-keywords, finder-package-info)
16360 (find-library-name, lm-commentary): Use defvar and
16361 declare-function to silence compiler warnings.
16362 (Info-finder-find-node): New function.
16363 (info-finder): New command.
16364
16365 * subr.el (process-kill-buffer-query-function): New function.
16366 (add-hook)<kill-buffer-query-functions>: Add hook
16367 `process-kill-buffer-query-function'.
16368
16369 2009-07-18 Alan Mackenzie <acm@muc.de>
16370
16371 * progmodes/cc-mode.el (c-before-hack-hook)
16372 (c-postprocess-file-styles): Give invocation of `c-set-style'
16373 DONT-OVERRIDE parameter of t. Already set style variables will
16374 thus not be overridden by style settings given by `c-file-syle'.
16375
16376 * files.el (hack-local-variables-filter): Remove entries with
16377 duplicate keys from `file-local-variables-alist'.
16378
16379 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16380
16381 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
16382 x-set-selection if display-selections-p returns nil for the
16383 current frame.
16384
16385 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
16386
16387 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
16388
16389 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16390
16391 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
16392 Accept nil in addition to a regexp.
16393 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
16394 Accept nil in addition to a regexp.
16395 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
16396 buffers that have an associated file. Handle nil values of
16397 desktop-buffers-not-to-save and desktop-files-not-to-save.
16398 (Bug#3833)
16399
16400 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16401 (x-disown-selection-internal): New functions.
16402
16403 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
16404
16405 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
16406 warning.
16407 (gdb-breakpoints-header): Move forward to avoid compiler warning.
16408 (gdb-make-header-line-mouse-map): Remove duplicate definition.
16409
16410 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
16411
16412 * simple.el (set-mark): Revert last change.
16413
16414 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
16415
16416 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
16417 rendering of pngs is not possible instead of messaging a long
16418 description.
16419
16420 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
16421
16422 * w32-fns.el (x-selection-owner-p): New function.
16423
16424 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
16425 (mouse-yank-at-click, mouse-yank-primary): If
16426 select-active-regions is non-nil, deactivate the mark before
16427 insertion.
16428
16429 * simple.el (deactivate-mark, set-mark): Only save selection if we
16430 own it.
16431
16432 2009-07-17 Kenichi Handa <handa@m17n.org>
16433
16434 * case-table.el (describe-buffer-case-table): Fix for the case
16435 that KEY is a cons.
16436
16437 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
16438
16439 * vc-rcs.el (vc-rcs-find-file-hook):
16440 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
16441
16442 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
16443
16444 * net/tramp.el (tramp-wait-for-output): Handle the case when
16445 commands do not return a newline but a null byte before the shell
16446 prompt. (Bug#3858)
16447
16448 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16449
16450 * term/ns-win.el (ns-set-alpha): Don't declare.
16451 (ns-set-background-alpha): Remove function.
16452
16453 2009-07-16 Kevin Ryde <user42@zip.com.au>
16454
16455 * emacs-lisp/copyright.el (copyright-update): Save match-data across
16456 y-or-n-p, for safety.
16457
16458 2009-07-16 Richard Stallman <rms@gnu.org>
16459
16460 * files.el (auto-save-mode): If buffer-saved-size is -2,
16461 don't clobber it.
16462
16463 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
16464 (rmail-retry-ignored-headers): Add more uninteresting fields.
16465
16466 2009-07-15 Jari Aalto <jari.aalto@cante.net>
16467
16468 * net/rcirc.el (rcirc): Use history variables.
16469 (rcirc-server-name-history, rcirc-nick-name-history)
16470 (rcirc-server-port-history): New variables.
16471
16472 2009-07-15 Kenichi Handa <handa@m17n.org>
16473
16474 * international/mule-cmds.el (set-language-environment-charset):
16475 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
16476 ignore them.
16477
16478 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
16479 Delete unibyte-display.
16480
16481 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16482
16483 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
16484
16485 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16486
16487 * simple.el (deactivate-mark): Optional argument FORCE.
16488 (set-mark): Use deactivate-mark.
16489
16490 * info.el (Info-search): No need to check transient-mark-mode
16491 before calling deactivate-mark.
16492
16493 * select.el (x-set-selection): Doc fix.
16494 (x-valid-simple-selection-p): Allow buffer values.
16495 (xselect--selection-bounds): Handle buffer values. Suggested by
16496 David De La Harpe Golden.
16497
16498 * mouse.el (mouse-set-region, mouse-drag-track): Call
16499 copy-region-as-kill before setting the mark, to let
16500 select-active-regions work.
16501
16502 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
16503
16504 * simple.el (deactivate-mark): If select-active-regions is
16505 non-nil, copy the selection data into a string.
16506 (activate-mark): If select-active-regions is non-nil, set the
16507 selection to the current buffer.
16508 (set-mark): Update selection if select-active-regions is non-nil.
16509
16510 * select.el (x-valid-simple-selection-p): Allow buffer values.
16511
16512 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
16513
16514 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
16515 and more featureful message-mode.
16516
16517 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
16518
16519 * select.el (x-set-selection): Doc fix.
16520 (x-valid-simple-selection-p): Disallow selection data consisting
16521 of a list or cons of integers, since that is not used.
16522 (xselect--selection-bounds, xselect--int-to-cons): New functions.
16523 (xselect-convert-to-string, xselect-convert-to-length)
16524 (xselect-convert-to-filename, xselect-convert-to-charpos)
16525 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
16526
16527 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
16528
16529 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
16530 output in -break-info command (Emacs bug #3794).
16531
16532 2009-07-14 Glenn Morris <rgm@gnu.org>
16533
16534 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
16535 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
16536 (edebug-print-length, edebug-print-level, edebug-print-circle)
16537 (edebug-sit-for-seconds, edebug-view-outside)
16538 (edebug-bounce-point, edebug-set-global-break-condition)
16539 (edebug-Go-nonstop-mode, edebug-trace-mode)
16540 (edebug-Trace-fast-mode, edebug-continue-mode)
16541 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
16542 (edebug-visit-eval-list): Doc fixes.
16543
16544 * subr.el (def-edebug-spec): Doc fix.
16545
16546 2009-07-14 Kenichi Handa <handa@m17n.org>
16547
16548 * international/characters.el: Fix setting of category ?C.
16549
16550 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
16551
16552 * term/ns-win.el (x-select-font): defalias x-select-font to
16553 ns-popup-font-panel instead of generate-fontset-menu.
16554
16555 2009-07-12 Eli Zaretskii <eliz@gnu.org>
16556
16557 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
16558
16559 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
16560
16561 * arc-mode.el (archive-find-type): Allow for a PK00 string before
16562 the PK\003\004 header (Bug#3770).
16563
16564 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
16565
16566 * pcomplete.el (pcomplete-comint-setup): Check for
16567 shell-dynamic-complete-filename too.
16568
16569 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
16570
16571 * simple.el (temporary-goal-column): Change the value for
16572 line-move-visual to a cons cell.
16573 (line-move-visual): Record or set the window hscroll, if
16574 necessary (Bug#3494).
16575 (line-move-1): Handle cons value of temporary-goal-column.
16576
16577 2009-07-11 Kenichi Handa <handa@m17n.org>
16578
16579 * international/mule-diag.el (describe-character-set): Don't show
16580 width.
16581
16582 2009-07-10 Sam Steingold <sds@gnu.org>
16583
16584 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16585 Omake sometimes indents the errors it prints, so allow all
16586 regexps to start with spaces.
16587
16588 2009-07-10 Eli Zaretskii <eliz@gnu.org>
16589
16590 * cus-edit.el (customize-changed-options-previous-release):
16591 Bump value to 22.1. (Bug#3804)
16592
16593 2009-07-08 Sam Steingold <sds@gnu.org>
16594
16595 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16596 to be a cons cell (test . ignored-directory) to selectively ignore
16597 some directories depending on the location of the search.
16598
16599 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
16600
16601 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16602 remote user is root, on the local host.
16603 (tramp-local-host-p): Either the local user or the remote user
16604 must be root. (Bug#3771)
16605
16606 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16607
16608 * progmodes/gdb-mi.el (gdb): Remove description of
16609 gdb-use-separate-io-buffer.
16610 (menu): Don't allow toggling of or enable
16611 gdb-use-separate-io-buffer from menubar.
16612
16613 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16614
16615 * mail/unrmail.el (unrmail): Make sure the message ends with two
16616 newlines (Bug#3769).
16617
16618 2009-07-08 Glenn Morris <rgm@gnu.org>
16619
16620 * calendar/calendar.el (calendar-current-date): Rework previous change.
16621
16622 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
16623
16624 * calendar/calendar.el (calendar-current-date):
16625 Add an optional argument giving an offset from today.
16626
16627 2009-07-08 Glenn Morris <rgm@gnu.org>
16628
16629 * tutorial.el (tutorial--describe-nonstandard-key):
16630 Adjust the message for when a key has been unbound.
16631 (help-with-tutorial): Hide the arch-tag.
16632
16633 2009-07-08 Kenichi Handa <handa@m17n.org>
16634
16635 * international/fontset.el (setup-default-fontset): For each
16636 script, append (not set) font-specs.
16637
16638 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16639 docstring.
16640
16641 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16642
16643 * progmodes/gdb-mi.el (gdb-init-1): Move sending
16644 -data-list-register-names to ...
16645 (gdb-starting): ... here because GDB 7.0 requires execution to
16646 have started when using this MI command.
16647 (gdb-set-header): New function to distinguish select and
16648 unselected tabs in gdb buffers.
16649 (gdb-propertize-header): New macro that uses gdb-set-header.
16650 (gdb-breakpoints-header, gdb-locals-header): Use it.
16651 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16652
16653 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
16654
16655 * Makefile.in (ELCFILES): Remove fadr.elc.
16656
16657 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
16658
16659 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16660 may contain frame information, so `string-match' should be used.
16661 (gdb-update): Disassembly is invalidated through
16662 `gdb-get-selected-frame'.
16663 (gdb-pad-string): New function to pad string with spaces.
16664 (gdb-invalidate-disassembly): Invalidate only if the buffer
16665 exists.
16666 (gdb-disassembly-handler-custom): Column alignment.
16667 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16668 placing new ones.
16669 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16670 end of line, too.
16671 (gdb-frame-handler): Match convention to for disassembly buffer
16672 mode name.
16673 (gdb-stack-list-frames-handler): Rewritten without regexps.
16674 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16675 not highlight breakpoints without line information.
16676 (gdb-input): Add trailing newline to command.
16677
16678 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16679 buffer properly.
16680 (gdb-breakpoints-list-handler-custom): Replacement for
16681 `gdb-break-list-handler'. Using real parser instead of regexps
16682 now.
16683 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16684 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16685 to place breakpoints.
16686 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16687 functions.
16688 (gdb-disassembly-handler-custom): Show overlay arrow.
16689 (gdb-disassembly-place-breakpoints): Show breakpoints in
16690 disassembly buffer.
16691 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16692 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16693 instead of parsing breakpoints buffer. Fixed old menu references
16694 in `gud-menu-map'.
16695
16696 * fadr.el: Remove.
16697
16698 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16699 (gdb-memory-address): New variable which holds top address of
16700 memory page shown in memory buffer.
16701 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16702 customization variables.
16703 New functions:
16704 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16705 display the memory buffer.
16706 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16707 buffer display parameters.
16708 (def-gdb-memory-format, gdb-memory-format-binary)
16709 (gdb-memory-format-octal, gdb-memory-format-unsigned)
16710 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16711 Functions for setting memory buffer format.
16712 (gdb-memory-unit-word, gdb-memory-unit-halfword)
16713 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16714 unit size used in memory buffer.
16715 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16716 to next/previous page of memory buffer.
16717 Now using (bindat-get-field) instead of fadr functions.
16718
16719 2009-07-07 Sam Steingold <sds@gnu.org>
16720
16721 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16722 non-top-level files.
16723
16724 2009-07-07 Kenichi Handa <handa@m17n.org>
16725
16726 * international/mule-cmds.el (reset-language-environment): Put
16727 the highset priority to the charset iso-8859-1.
16728
16729 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16730
16731 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16732 to the end of the line when locating the block (Bug#700).
16733
16734 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
16735
16736 * net/tramp.el (tramp-handle-write-region): Flush file properties
16737 in case of short track.
16738
16739 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
16740
16741 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16742 Coded custom representation of verilog error regular expressions
16743 to work with Emacs-22's new format.
16744 (verilog-error-regexp-xemacs-alist): Coded custom representation
16745 of verilog error regular expressions to work with XEmacs format.
16746 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16747 error recognition into XEmacs.
16748 (verilog-error-regexp-add-emacs): Hook routine to install verilog
16749 error recognition into Emacs-22.
16750
16751 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16752
16753 * woman.el: Remove stand-alone closing parentheses.
16754 (woman-file-name, woman2-format-paragraphs)
16755 (woman-leave-blank-lines): Code cleanup.
16756 (woman-use-own-frame): Change default to nil.
16757 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16758 defaults to inherit from default faces.
16759 (woman2-process-escapes): Consume the newline after a stand-alone
16760 filler character (Bug#3651).
16761
16762 2009-07-06 Glenn Morris <rgm@gnu.org>
16763
16764 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16765 (top-level): Move provide to the end.
16766 (ffap): Remove defunct URL from custom group.
16767
16768 * subr.el (eval-after-load): Doc fix.
16769
16770 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
16771
16772 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16773 `calc-embedded-word' is called twice.
16774
16775 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16776
16777 * files.el (find-alternate-file-other-window, find-alternate-file):
16778 Obey confirm-nonexistent-file-or-buffer.
16779
16780 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
16781
16782 * dired-aux.el (dired-show-file-type): Handle remote files.
16783
16784 2009-07-05 Jari Aalto <jari.aalto@cante.net>
16785
16786 * desktop.el (desktop-globals-to-save):
16787 Add file-name-history (Bug#2750).
16788
16789 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
16790
16791 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16792
16793 2009-07-04 Johan Bockgård <bojohan@gnu.org>
16794
16795 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16796 property on entire argument since this is what eshell-lisp-command
16797 expects.
16798
16799 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
16800
16801 * net/tramp-gvfs.el (tramp-gvfs-methods)
16802 (tramp-gvfs-zeroconf-domain)
16803 (tramp-bluez-discover-devices-timeout): Add version flag.
16804 (tramp-gvfs-handler-mounted-unmounted)
16805 (tramp-gvfs-connection-mounted-p): Polish handling of
16806 incompatibilities between GVFS 0.2 and 1.0.
16807
16808 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
16809
16810 * cus-start.el (all): Add make-pointer-invisible.
16811
16812 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
16813
16814 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16815 formatted correctly.
16816
16817 2009-07-02 Juri Linkov <juri@jurta.org>
16818
16819 * info.el: Virtual Info files and nodes.
16820 (Info-virtual-files, Info-virtual-nodes): New variables.
16821 (Info-current-node-virtual): New variable.
16822 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16823 New functions.
16824 (Info-file-supports-index-cookies): Use Info-virtual-file-p
16825 to check for a virtual file instead of checking a fixed list
16826 of node names.
16827 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16828 instead of ad-hoc processing of "dir" and (apropos history toc).
16829 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16830 instead of ad-hoc processing of "dir" and (apropos history toc).
16831 Reread a file when moving from a virtual node.
16832 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16833 (Info-directory-toc-nodes, Info-directory-find-file)
16834 (Info-directory-find-node): New functions.
16835 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16836 (Info-history): Move part of code to
16837 `Info-history-find-node'.
16838 (Info-history-toc-nodes, Info-history-find-file)
16839 (Info-history-find-node): New functions.
16840 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16841 (Info-toc): Move part of code to `Info-toc-find-node'.
16842 (Info-toc-find-node): New function.
16843 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
16844 the current Info file name to references because now the node
16845 "*TOC*" belongs to the same Info manual.
16846 (Info-toc-build): Rename from `Info-build-toc'.
16847 (Info-toc-nodes): Rename input argument `file' to `filename'.
16848 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16849 instead of ad-hoc processing of ("dir" apropos history toc).
16850 (Info-index-nodes): Use Info-virtual-file-p
16851 to check for a virtual file instead of checking a fixed list
16852 of node names.
16853 (Info-index-node): Add check for `Info-current-node-virtual'.
16854 Raise `save-match-data' higher up the tree to contain
16855 `search-forward' too (bug fix).
16856 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16857 (Info-virtual-index-nodes): New variable.
16858 (Info-virtual-index-find-node, Info-virtual-index): New functions.
16859 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16860 (Info-apropos-file, Info-apropos-nodes): New variables.
16861 (Info-apropos-toc-nodes, Info-apropos-find-file)
16862 (Info-apropos-find-node, Info-apropos-matches): New functions.
16863 (info-apropos): Move part of code to `Info-apropos-find-node' and
16864 `Info-apropos-matches'.
16865 (Info-mode-map): Bind "I" to `Info-virtual-index'.
16866 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16867 for a virtual file instead of checking a fixed list of node names.
16868
16869 * simple.el (async-shell-command): New command.
16870
16871 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16872
16873 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16874 instead of `mount-info'.
16875
16876 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
16877
16878 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16879 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16880
16881 2009-07-02 Kenichi Handa <handa@m17n.org>
16882
16883 * international/mule.el (set-keyboard-coding-system): Force *-unix
16884 coding-system to avoid eol conversion.
16885
16886 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
16887
16888 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16889 Add handler for `process-file', `shell-command' and
16890 `start-file-process'.
16891 (tramp-gvfs-handle-shell-command)
16892 (tramp-gvfs-handle-start-file-process)
16893 (tramp-gvfs-handle-process-file): New defuns.
16894 (tramp-synce-list-devices): Simplify check for existence of property.
16895
16896 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
16897
16898 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16899
16900 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
16901
16902 * language/korean.el (set-language-info-alist): Add korean-cp949,
16903 cp949 to spec.
16904
16905 2009-07-01 Kenichi Handa <handa@m17n.org>
16906
16907 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16908
16909 * international/encoded-kb.el: Deleted.
16910
16911 * international/mule.el (set-keyboard-coding-system): Perform the
16912 necessary setup here instead of calling encoded-kbd-setup-display.
16913
16914 2009-07-01 Glenn Morris <rgm@gnu.org>
16915
16916 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16917
16918 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
16919
16920 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
16921
16922 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
16923
16924 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16925 Handle also the 'rename case, when setting file modes. (Bug#3712)
16926 (tramp-default-file-modes): Remove execute permissions.
16927
16928 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16929 (top): Add a default for "synce" in `tramp-default-user-alist'.
16930 Add completion function for "synce" method.
16931 (tramp-hal-service, tramp-hal-path-manager)
16932 (tramp-hal-interface-manager, tramp-hal-interface-device):
16933 New defconst.
16934 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16935 (tramp-synce-list-devices, tramp-synce-parse-device-names):
16936 New defuns.
16937
16938 * net/trampver.el: Update release number.
16939
16940 2009-06-30 Kenichi Handa <handa@m17n.org>
16941
16942 * international/fontset.el (setup-default-fontset): Add CJK fonts
16943 for symbols and the other miscellaneous characters.
16944
16945 * language/korea-util.el (setup-korean-environment-internal):
16946 Make char-width-table suitable for Korean environments.
16947 (exit-korean-environment): Cancel above.
16948
16949 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16950 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16951 setup-function to make char-width-table suitable for respective
16952 environments, and an exit-function to cancel that.
16953
16954 * language/japan-util.el (setup-japanese-environment-internal):
16955 Call use-cjk-char-width-table with arg `ja_JP'.
16956
16957 * international/characters.el (cjk-char-width-table): Delete it.
16958 (cjk-char-width-table-list): New variable.
16959 (use-cjk-char-width-table): New arg local-name.
16960 (use-default-char-width-table): Fix for the case that Emacs is
16961 already using the default char-width-table.
16962
16963 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
16964
16965 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16966 modes mandatory. (Bug#3712)
16967
16968 2009-06-29 Alan Mackenzie <acm@muc.de>
16969
16970 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16971 correction between the visible width of TABs and their number of bytes.
16972
16973 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
16974
16975 * server.el (server-buffer-done): Prevent kill-buffer from
16976 prompting by clearing the buffer modification flag (Bug#3696).
16977
16978 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
16979
16980 * progmodes/verilog-mode.el (verilog-beg-of-statement)
16981 (verilog-endcomment-reason-re): Support unique case and priority case.
16982 (verilog-basic-complete-re): Support localparam lineup.
16983 (verilog-beg-of-statement-1): Fix for robustness, unique case.
16984 (verilog-set-auto-endcomments): Fix for unique case, always_comb
16985 commenting.
16986 (verilog-leap-to-case-head): Now support *nested* unique &
16987 priority case statements.
16988 (verilog-auto-lineup): Make just declarations the default (as it
16989 had been).
16990 (verilog-leap-to-case-head): Support priority/unique case statements.
16991 (verilog-auto-lineup): Rework to give users radio buttons to
16992 select the various styles of automatic lineup.
16993 (verilog-error-regexp-alist): Rework to support the XEmacs style
16994 of error regular expressions from compilers, lint tools &
16995 simulators. Note that GNU Emacs has made it impossible for a mode
16996 to load such things.
16997 (electric-verilog-terminate-line, verilog-indent-declaration)
16998 (verilog-auto-wiure): Rework for radio button selection of
16999 auto-lineup selection of specification of auto lineup.
17000 (verilog-beg-of-statement-1): Redesign to support proper operation
17001 in additional code, based on testing with auto-lineup.
17002 (verilog-calculate-indent, assignments & declarations)
17003 (verilog-backward-token): Enhance to support auto-lineup of
17004 assignments & declarations.
17005 (verilog-in-directive-p, verilog-at-struct-p): New function for
17006 easy test of whether we are.
17007 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
17008 to support safe execution at almost anyline.
17009 (verilog-calc-1): Properly support indenting deep inside generate
17010 blocks.
17011 (verilog-init-font): Remove definition & use of verilog-init-font,
17012 as it is redundant with font-lock-defaults.
17013 (verilog-mode): Alter the definition of verilog-font-lock-defaults
17014 to avoid circular calls if syntax-ppss is a function (as is the
17015 case now in 22.x GNU Emacs) as that function would sometimes call
17016 itself, leading to (nearly) infinite recursion.
17017 (verilog-ovm-begin-re, verilog-ovm-end-re)
17018 (verilog-ovm-statement-re, verilog-leap-to-head)
17019 (verilog-backward-token): Add support for OVM macros. Some are
17020 complete statements, and others open and close scopes like begin
17021 and end.
17022 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
17023 (verilog-defun-level-generate-only-re): Really fix the defun-list
17024 compilation issue.
17025 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
17026 coverpoint, constraint and cross statements.
17027 (verilog-defun-level-list, verilog-generate-defun-level-list)
17028 (verilog-all-defun-level-list): Redo these specifications - it is
17029 too hard to support eval-when compile aggregation of lists also
17030 built at when-compile time.
17031 (verilog-defun-level-list): Place defconsts of variables used in
17032 building regular expressions which are built in eval-when-compile
17033 bodies in the same eval-when-compile body to facilitate compile
17034 without load.
17035 (verilog-beg-block-re-ordered): Support indenting
17036 virtual/protected tasks and functions.
17037 (verilog-defun-level-list, verilog-in-generate-region-p)
17038 (verilog-backward-ws&directives, verilog-calc-1): Speed up
17039 indentation of some module items (generate items).
17040 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
17041 across virtual/protected tasks and functions.
17042
17043 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
17044
17045 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
17046 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
17047 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
17048 in concatenations. Reported by Yishay Belkind.
17049 (verilog-auto-ascii-enum): Support one-hot state machines in
17050 AUTOASCIIENUM. Suggested by Lloyd Gomez.
17051 (verilog-auto-inst, verilog-auto-inst-port): Include interface
17052 modport in AUTOINST and add vl-modport for users. Reported by
17053 David Rogoff.
17054 (verilog-auto-inout-module, verilog-auto-inst)
17055 (verilog-decls-get-interfaces, verilog-insert-definition)
17056 (verilog-insert-one-definition, verilog-read-decls)
17057 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
17058 (verilog-sig-modport, verilog-signals-combine-bus)
17059 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
17060 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
17061 Suggested by David Rogoff.
17062 (verilog-repair-open-comma): Fix non-insertion of comma when
17063 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
17064 (verilog-make-width-expression): Simplify [A-1:0] expression
17065 widths to just {A{1'b0}}.
17066 (verilog-mode): Cleanup checkdoc warnings.
17067 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
17068 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
17069 inputs/outputs or data type. Suggested by Vasu Kandadi.
17070 (next-error-last-buffer): Fix byte-compiler warning.
17071 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
17072 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
17073 or shell command text during AUTO expansion. Suggested by Tad Truex.
17074 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
17075 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
17076 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
17077 in AUTOINOUT. Reported by Matthew Lovell.
17078 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
17079 causing use of <= assignments. Reported by Alex Reed.
17080 (verilog-read-decls): Fix triand, trior, wand, wor to be
17081 recognized by AUTOWIRE. Reported by Spencer Isaacson.
17082 (verilog-extended-complete-re): Support import "DPI-C" functions.
17083 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
17084 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
17085 (verilog-insert-date, verilog-insert-year)
17086 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
17087 Windows systems. Reported by Michael Potts.
17088 (verilog-read-module-name): Fix AUTOINST when the child module
17089 declaration's name is a tick define. Reported by Elliot Mednick.
17090 (verilog-read-decls): Fix V2K parameter bit subscripts getting
17091 passed to next parameter's definition. Reported by Bruce T.
17092 (verilog-read-decls): Fix detecting "parameter int" when using
17093 AUTOINSTPARAM. Reported by Bruce T.
17094 (verilog-goto-defun): Fix goto not finding modules unless first
17095 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
17096 (verilog-mode): Expand -f flag arguments on entry to mode so
17097 verilog-goto-defun will work. Reported by Lawrence Butcher.
17098 (verilog-getopt): Expand environment variables in -f file
17099 arguments. Suggested by Lawrence Butcher.
17100 (verilog-set-define): Fix "Symbol's value as variable is void"
17101 when reading enumerations.
17102 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
17103 Suggested by Stephen Peltan.
17104 (verilog-read-defines): Fix reading of enumerations in include
17105 files. Reported by Steve Peltan.
17106
17107 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17108
17109 * files.el (trash-directory): Fix defcustom type.
17110
17111 2009-06-28 Juri Linkov <juri@jurta.org>
17112
17113 * help-fns.el (describe-function-1): Correctly locate adviced
17114 functions in hyperlink (Bug#2438).
17115
17116 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
17117
17118 * files.el (trash-directory): Change default to nil.
17119 (move-file-to-trash): If trash-directory is nil and
17120 system-move-file-to-trash is unbound, perform freedesktop-style
17121 trashing.
17122
17123 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17124
17125 * files.el (move-file-to-trash): Add freedesktop trash
17126 support (Bug#973).
17127
17128 2009-06-28 Glenn Morris <rgm@gnu.org>
17129
17130 * autorevert.el (global-auto-revert-non-file-buffers)
17131 (global-auto-revert-mode): Doc fixes.
17132
17133 2009-06-27 Johan Bockgård <bojohan@gnu.org>
17134
17135 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
17136
17137 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
17138
17139 * faces.el (x-handle-named-frame-geometry): Ensure that we have
17140 opened an X connection before calling x-get-resource (Bug#3194).
17141
17142 * play/doctor.el: Remove reference to obsolete website.
17143 (make-doctor-variables): Correct grammar mistake (Bug#2633).
17144
17145 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
17146
17147 Remove find-file-not-found-hook VC method. (Bug#2757)
17148 * vc-hooks.el (vc-file-not-found-hook)
17149 (vc-default-find-file-not-found-hook): Remove functions.
17150 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
17151 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
17152 * vc.el:
17153 * vc-hg.el:
17154 * vc-git.el: Do not mention find-file-not-found-hook VC method.
17155
17156 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
17157
17158 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
17159 compatibility function for `looking-back'.
17160
17161 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
17162 Use `ispell-looking-back'.
17163
17164 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
17165
17166 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
17167 rather than `filename'.
17168
17169 2009-06-23 Miles Bader <miles@gnu.org>
17170
17171 * face-remap.el (text-scale-set): New function.
17172
17173 2009-06-23 Glenn Morris <rgm@gnu.org>
17174
17175 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
17176
17177 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
17178
17179 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
17180
17181 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
17182
17183 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
17184 Simplify Persian conditionals.
17185
17186 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
17187 variable `filename'.
17188
17189 * comint.el (comint-insert-input): Doc fix.
17190
17191 * Makefile.in (ELCFILES): Fix typo in previous change.
17192
17193 2009-06-23 Miles Bader <miles@gnu.org>
17194
17195 * cus-start.el: Add entry for `recenter-redisplay'.
17196
17197 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17198
17199 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
17200 Add an optional argument for the backend, use it instead of
17201 calling vc-backend.
17202 (vc-mode-line): Add an optional argument for the backend.
17203 Pass the backend to vc-state and vc-working-revision. Move code for
17204 special handling for vc-state being a buffer to ...
17205
17206 * vc-rcs.el (vc-rcs-find-file-hook):
17207 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
17208
17209 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
17210 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
17211 vc-stay-local-p and vc-mode-line calls.
17212
17213 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
17214 (vc-cvs-diff, vc-cvs-annotate-command)
17215 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
17216 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
17217 vc-mode-line calls.
17218
17219 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
17220 direct comparison.
17221 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
17222 backend when calling vc-mode-line.
17223 (vc-register): Do not create a closure for calling the vc register
17224 function, call it directly.
17225
17226 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17227
17228 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
17229 to make it obvious item can be clicked.
17230
17231 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
17232
17233 2009-06-23 Kenichi Handa <handa@m17n.org>
17234
17235 * language/korea-util.el (korean-key-bindings): Change the binding
17236 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
17237 same command.
17238
17239 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
17240
17241 Sync with Tramp 2.1.16.
17242
17243 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
17244
17245 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
17246 when a loading of a package fails. Completion function for rsync
17247 is `tramp-completion-function-alist-ssh'.
17248 (all): Replace all calls of `split-string' and
17249 `tramp-split-string' by `tramp-compat-split-string'.
17250 (tramp-default-method): Use `tramp-compat-process-running-p'.
17251 (tramp-default-proxies-alist): Allow also Lisp forms.
17252 (tramp-remote-path): Add choice "Private Directories".
17253 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17254 (tramp-domain-regexp): Allow also "-", "_" and ".".
17255 (tramp-end-of-output): Remove newlines, and add "$" at the end.
17256 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17257 (tramp-debug-message): Insert header line in debug buffer.
17258 (tramp-handle-directory-files-and-attributes-with-stat):
17259 Care about filenames with spaces, or starting with "-".
17260 (tramp-handle-dired-uncache): New defun.
17261 (tramp-handle-insert-directory): Don't flush the directory from
17262 cache, this is handled by `dired-uncache' now.
17263 (tramp-handle-insert-file-contents): Improve error handling.
17264 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17265 Quote `tramp-end-of-output'.
17266 (tramp-action-password): Improve trace message.
17267 (tramp-check-for-regexp): Both echoes must be present, before removing.
17268 (tramp-open-connection-setup-interactive-shell): Trace coding system.
17269 (tramp-compute-multi-hops): Eval cons cells of
17270 `tramp-default-proxies-alist'.
17271 (tramp-maybe-open-connection): Use the same command pattern for
17272 first hop and further hops.
17273 (tramp-wait-for-output): Remove handling of newlines.
17274 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17275 (tramp-split-string): Remove function. It is handled in
17276 tramp-compat now.
17277
17278 * net/tramp-cmds.el (tramp-bug):
17279 Recommend `tramp-cleanup-all-connections' in the bug mail.
17280
17281 * net/tramp-compat.el (tramp-compat-split-string)
17282 (tramp-compat-process-running-p): New defuns.
17283
17284 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
17285 for `dired-uncache'.
17286
17287 * net/tramp-gvfs.el: New package.
17288
17289 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17290 Add handler for `dired-uncache'.
17291 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
17292
17293 * net/trampver.el: Update release number. Make version check fit
17294 for SXEmacs 22.
17295
17296 2009-06-22 Jim Meyering <meyering@redhat.com>
17297
17298 Automatically handle .xz suffix (XZ-compressed files), too.
17299 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
17300 XZ is the successor to LZMA: <http://tukaani.org/xz/>
17301
17302 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
17303 Nick Roberts <nickrob@snap.net.nz>
17304
17305 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
17306 repository (http://sphinx.net.ru/hg/gdb-mi/).
17307
17308 2009-06-22 Glenn Morris <rgm@gnu.org>
17309
17310 * files.el (dir-locals-collect-mode-variables): Allow for any number of
17311 `mode' and `eval' entries. (Bug#3430)
17312
17313 * Makefile.in (ELCFILES): Add fadr.elc.
17314
17315 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
17316 differing behavior of \n and ^ in strings. (Bug#3385)
17317
17318 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
17319
17320 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
17321 property.
17322 (lisp-indent-function): Make it a defcustom.
17323
17324 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
17325
17326 * progmodes/gdb-ui.el: Replace with ...
17327 * progmodes/gdb-mi.el: ... this file.
17328 * progmodes/gud.el: Modify for gdb-mi.el.
17329
17330 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
17331
17332 * fadr.el: New file.
17333
17334 See ChangeLog.14 for earlier changes.
17335
17336 ;; Local Variables:
17337 ;; coding: utf-8
17338 ;; End:
17339
17340 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
17341
17342 This file is part of GNU Emacs.
17343
17344 GNU Emacs is free software: you can redistribute it and/or modify
17345 it under the terms of the GNU General Public License as published by
17346 the Free Software Foundation, either version 3 of the License, or
17347 (at your option) any later version.
17348
17349 GNU Emacs is distributed in the hope that it will be useful,
17350 but WITHOUT ANY WARRANTY; without even the implied warranty of
17351 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17352 GNU General Public License for more details.
17353
17354 You should have received a copy of the GNU General Public License
17355 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.