]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from mainline.
[gnu-emacs] / lisp / ChangeLog
1 2011-01-13 Kim F. Storm <storm@cua.dk>
2
3 * ido.el (ido-may-cache-directory): Move "too-big" check later.
4 (ido-next-match, ido-prev-match): Fix stray reordering of matching
5 items when cycling through the matches.
6
7 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
8
9 * dired-x.el (dired-omit-verbose): New defcustom that allows
10 disabling the omit messages.
11 (dired-omit-expunge): Use it.
12
13 2011-01-13 Christian Ohler <ohler@gnu.org>
14
15 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
16
17 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
18
19 * font-lock.el (font-lock-verbose): Default to nil.
20
21 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
22
23 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
24 (compose-mail): New arg RETURN-ACTION.
25 (compose-mail-other-window, compose-mail-other-frame): Likewise.
26
27 * mail/sendmail.el (mail-return-action): New var.
28 (mail-mode): Make it buffer-local.
29 (mail-bury): Obey it. Move special Rmail window handling to
30 rmail-mail-return.
31 (mail, mail-setup): New arg RETURN-ACTION.
32 (sendmail-user-agent-compose): Move from simple.el.
33
34 * mail/rmail.el (rmail-mail-return): New function.
35 (rmail-start-mail): Pass it to compose-mail.
36
37 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
38
39 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
40 menus. Add menu item for customize-themes.
41
42 * cus-theme.el (customize-themes):
43 * emacs-lisp/package.el (package--list-packages): Use
44 switch-to-buffer.
45
46 2011-01-11 Johan Bockgård <bojohan@gnu.org>
47
48 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
49
50 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * progmodes/prolog.el: Fix up coding convention and such.
53 (prolog-indent-width): Use the same default as in
54 previous prolog.el rather than tab-width which depends on which buffer
55 is current when the file is loaded.
56 (prolog-electric-newline-flag): Only enable if electric-indent-mode
57 is not available.
58 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
59 (prolog-known-systems): Remove.
60 (prolog-mode-syntax-table, prolog-inferior-mode-map):
61 Move initialization into declaration.
62 (prolog-mode-map): Move initialization into declaration.
63 Remove system-specific mode-map vars, since they referred to the same
64 keymap anyway.
65 (prolog-mode-variables): Obey the user's preference w.r.t
66 adaptive-fill-mode. Prefer symbol-value to `eval'.
67 (prolog-mode-keybindings-edit): Add compatibility bindings.
68 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
69 (mercury-mode-map): New var.
70 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
71 (prolog-ensure-process, prolog-process-insert-string)
72 (prolog-consult-compile): Use with-current-buffer.
73 (prolog-guess-fill-prefix): Simplify data flow.
74 (prolog-replace-in-string): New function to use instead of
75 replace-in-string.
76 (prolog-enable-sicstus-sd): Don't abuse `eval'.
77 (prolog-uncomment-region): Use `uncomment-region' when available.
78 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
79 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
80 of int-to-char and char-to-int.
81 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
82
83 2011-01-11 Stefan Bruda <stefan@bruda.ca>
84
85 * progmodes/prolog.el: Replace by a whole new file.
86
87 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * subr.el (eval-after-load): Fix timing for features (bug#7769).
90 (declare-function, undefined, insert-for-yank)
91 (replace-regexp-in-string): Follow checkdoc's recommendations.
92
93 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
96 refreshing the diary buffer.
97
98 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
99
100 * allout.el: Add 2011 to the file copyright.
101 (allout-encrypt-string): Prevent encryption from adding an extra
102 newline at the end of the topic body.
103 (allout-version): Increment to 2.3.
104
105 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
106
107 * net/dbus.el (dbus-unregister-service): Complete doc.
108 Fix call of dbus-error signal.
109 (dbus-register-property): Use `dont-register' keyword.
110
111 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
112
113 * net/dbus.el (dbus-unregister-service): Translate returned
114 integer into a symbol.
115 (dbus-register-property): Use `dbus-register-service' to do the
116 name registration.
117
118 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
119
120 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
121 Suggested by Joakim Verona.
122
123 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
124
125 * wid-edit.el (visibility): Replace :on-image and :off-image
126 widget properties with :on-glyph and :off-glyph, for consistency
127 with the `visibility' widget.
128 (widget-toggle-value-create, widget-visibility-value-create):
129 Merge into a single function `widget-toggle-value-create'.
130
131 * cus-edit.el (custom-variable-value-create, custom-visibility)
132 (custom-face-edit-value-create, custom-face-value-create):
133 Replace :on-image and :off-image widget properties with :on-glyph and
134 :off-glyph, for consistency with the `visibility' widget.
135
136 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
137
138 * net/ldap.el (ldap-search-internal): Don't use eval.
139
140 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
141
142 * subr.el (read-char-choice): Use read-key.
143
144 * custom.el (custom-safe-themes): Rename from
145 custom-safe-theme-files. Add :risky tag.
146 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
147 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
148
149 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
150
151 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
152 from Search and add a label to Undo.
153
154 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
155 inappropriate buttons and adding :vert-only tags.
156
157 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
158 removal of Help tool-bar button. Remove Undo button for space.
159
160 * info.el (info-tool-bar-map): Add :vert-only tags.
161
162 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
163
164 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
165 image backend support. Either of them is fine.
166
167 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
168
169 * subr.el (y-or-n-p): Doc fix.
170
171 * custom.el (custom-safe-theme-files): New defcustom.
172 (custom-theme-load-confirm): New function.
173 (load-theme): Load theme using `load', confirming with
174 custom-theme-load-confirm if necessary.
175
176 * subr.el (read-char-choice): New function, factored out from
177 dired-query and hack-local-variables-confirm.
178
179 * dired-aux.el (dired-query):
180 * files.el (hack-local-variables-confirm): Use it.
181
182 * dired-aux.el (dired-compress-file):
183 * files.el (abort-if-file-too-large, find-alternate-file)
184 (set-visited-file-name, write-file, backup-buffer)
185 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
186 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
187 Use new format string args for y-or-n-p and yes-or-no-p.
188
189 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
190
191 * progmodes/compile.el (compilation-error-regexp-alist-alist)
192 [gcc-include]: Tighten file name match, add match for column
193 number. (Bug#7806)
194 [gnu]: Remove unused group.
195
196 2011-01-08 Glenn Morris <rgm@gnu.org>
197
198 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
199
200 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
201
202 2011-01-07 Sam Steingold <sds@gnu.org>
203
204 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
205 the `explicit-shell-file-name' because that is the
206 non-interactive shell.
207
208 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
209
210 * subr.el (y-or-n-p): Accept format string args.
211
212 2011-01-07 Glenn Morris <rgm@gnu.org>
213
214 * Makefile.in (EMACSOPT): Add --no-site-lisp.
215
216 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
217
218 * allout.el (allout-back-to-current-heading): Ensure return to
219 the visible containing topic, rather than a collapsed one.
220 (allout-view-change-hook): Remove hook that was deprecated long ago.
221 (allout-exposure-change-hook): Remove documentation remarks
222 concerning removed allout-view-change-hook.
223 (allout-flag-region): Remove invocation of and documentation
224 remarks concerning allout-view-change-hook.
225
226 2011-01-06 Glenn Morris <rgm@gnu.org>
227
228 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
229 (vc-bzr-annotate-extract-revision-at-line):
230 Handle authors with embedded spaces. (Bug#7792)
231
232 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
233
234 * doc-view.el (doc-view-image-width): New variable.
235 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
236 backend for PNG images, and do dynamic rescaling instead of
237 reconverting the whole doc.
238
239 2011-01-05 Glenn Morris <rgm@gnu.org>
240
241 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
242
243 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
244
245 * allout.el: Reconcile with changes in line movement behavior for
246 long text lines that cross more than a single physical window
247 line, ie when truncate-lines is nil.
248 (allout-next-visible-heading): Provide for change in line-move
249 behavior on long lines when truncate-lines is nil. In that case,
250 line-move can wind up on the same textual line when it moves to
251 the next window line, and moving to the bullet position after the
252 move yields zero advancement. Add logic to detect and compensate
253 for the lack of progress.
254 (allout-current-topic-collapsed-p): move-end-of-line respect for
255 field boundaries is different when operating with body lines
256 shorter than window width versus ones greater than window width,
257 which can yield false negatives in this function. Avoid
258 difference by applying move-end-of-line while field-text-motion is
259 inhibited.
260
261 2011-01-04 Glenn Morris <rgm@gnu.org>
262
263 * textmodes/rst.el (rst-compile-toolsets):
264 Add pdf and s5 to option alist.
265
266 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
267
268 * net/dbus.el (dbus-register-property): Add optional parameter
269 dont-register-service. Updated docstring accordingly.
270
271 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
272
273 * textmodes/rst.el (rst-compile-pdf-preview)
274 (rst-compile-slides-preview): Remove extra line.
275
276 2011-01-04 Glenn Morris <rgm@gnu.org>
277
278 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
279 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
280 default to `prog' without a .py extension.
281 (rst-compile-pdf-preview, rst-compile-slides-preview):
282 Use program names from rst-compile-toolsets, rather than hard-coding.
283 (rst-portable-mark-active-p): Fix presumed typo.
284
285 2011-01-02 Eli Zaretskii <eliz@gnu.org>
286
287 * term/w32-win.el (dynamic-library-alist): Set up correctly for
288 libpng versions both before and after 1.4.0. (Bug#7716)
289
290 2011-01-02 Eli Zaretskii <eliz@gnu.org>
291
292 * time.el (display-time-mode): Mention display-time-interval in
293 the doc string. (Bug#7713)
294
295 2011-01-02 Kenichi Handa <handa@m17n.org>
296
297 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
298 condition-case and return an error message string if something
299 goes wrong.
300 (rmail-show-mime): Adjust for the above change. Insert the
301 header by rmail-mime-insert-header.
302
303 2011-01-02 Kenichi Handa <handa@m17n.org>
304
305 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
306 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
307 (rmail-mime-mbox-buffer)
308 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
309 (rmail-mime-entity): Argument changed. All codes handling an
310 entity object are changed.
311 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
312 the above change.
313 (rmail-mime-entity-children, rmail-mime-entity-handler)
314 (rmail-mime-entity-tagline): New functions.
315 (rmail-mime-message-p): New function.
316 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
317 (rmail-mime-entity-segment, rmail-mime-next-item)
318 (rmail-mime-previous-item, rmail-mime-shown-mode)
319 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
320 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
321 (rmail-mime-insert-tagline, rmail-mime-insert-header):
322 New functions.
323 (rmail-mime-text-handler): Call rmail-mime-insert-text.
324 (rmail-mime-insert-decoded-text): New function.
325 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
326 (rmail-mime-insert-image): Argument changed. Caller changed.
327 (rmail-mime-image): Call rmail-mime-toggle-hidden.
328 (rmail-mime-set-bulk-data): New funciton.
329 (rmail-mime-insert-bulk): Argument changed.
330 (rmail-mime-multipart-handler): Return t.
331 (rmail-mime-process-multipart): Argument changed.
332 Handle "multipart/alternative" here.
333 (rmail-mime-process): Argument changed.
334 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
335 (rmail-mime-insert): Argument changed. Handle raw display mode.
336 (rmail-mime): Argument changed. Handle toggling of raw display
337 mode.
338 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
339 rmail-mime-view-buffer.
340 (rmail-insert-mime-forwarded-message): Likewise.
341 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
342
343 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
344 non-nil, handle the header in rmail-show-mime-function.
345
346 2011-01-02 Leo <sdl.web@gmail.com>
347
348 * help-fns.el (describe-variable): Fix previous change.
349
350 2011-01-02 Juri Linkov <juri@jurta.org>
351
352 * isearch.el (isearch-lazy-highlight-error): New variable.
353 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
354 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
355 to the current value of `isearch-error' (Bug#7468).
356
357 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
358
359 * help-fns.el (describe-variable): Don't emit trailing whitespace
360 (Bug#7511).
361
362 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
363
364 * textmodes/rst.el (rst-compile-pdf-preview)
365 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
366
367 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
368
369 * emulation/edt-mapper.el: Override mapping of function keys so
370 that the later call to read-key-sequence works.
371
372 2011-01-02 Eli Zaretskii <eliz@gnu.org>
373
374 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
375 Unix EOLs. (Bug#7589)
376
377 2011-01-02 Leo <sdl.web@gmail.com>
378
379 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
380 if point is not behind eshell-last-output-end (Bug#7585).
381
382 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * files.el (file-local-variables-alist):
385 Make permanent-local (bug#7767).
386
387 2011-01-02 Glenn Morris <rgm@gnu.org>
388
389 * version.el (emacs-copyright): Set short copyright year to 2011.
390
391 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
392
393 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
394 an existing temp buffer. (Bug#7746)
395
396 2011-01-02 Glenn Morris <rgm@gnu.org>
397
398 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
399 multiple addresses. (Bug#7760)
400
401 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
402
403 * allout.el (allout-auto-fill): Do not infinitely recurse - use
404 do-auto-fill if everything points back to allout-auto-fill.
405 (allout-mode-deactivate-hook): Declare obsolete, in favor of
406 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
407
408 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
409
410 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
411 and "scpx".
412
413 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
414
415 * doc-view.el (doc-view-set-doc-type): New function refactored
416 from doc-view-mode.
417 (doc-view-fallback-mode): New function.
418 (doc-view-mode): Use it.
419 (doc-view-mode-maybe): New function that checks if doc-view-mode
420 can be used and falls back to the next best mode otherwise.
421
422 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
423 DVI, OpenDocument, and MS Office files.
424
425 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
426
427 * emacs-lisp/rx.el (rx-syntax): Fix typo.
428
429 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
430
431 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
432 on a copy of auto-mode-alist, because that deletes with side
433 effects.
434
435 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
436
437 * doc-view.el (doc-view-mode, doc-view-toggle-display):
438 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
439 fallback instead of hard coding fundamental mode.
440
441 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
442
443 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
444 Office) files also for searching.
445
446 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
447
448 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
449 Office) files. Not yet enabled via auto-mode-list.
450 (doc-view-unoconv-program): New custom variable.
451 (doc-view-mode-p): Handle new odf document type.
452 (doc-view-odf->pdf): New conversion function.
453 (doc-view-convert-current-doc): Call it for odf files.
454 (doc-view-mode): Recognize newly supported file extensions.
455
456 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
457
458 * net/tramp.el (tramp-default-method-alist)
459 (tramp-default-user-alist)
460 (tramp-local-host-regexp, tramp-prefix-domain-format)
461 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
462
463 * net/tramp-ftp.el:
464 * net/tramp-gvfs.el:
465 * net/tramp-gw.el:
466 * net/tramp-imap.el:
467 * net/tramp-sh.el:
468 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
469 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
470
471 2010-12-29 Karl Fogel <kfogel@red-bean.com>
472
473 * saveplace.el (save-place-alist-to-file): Save list sorted and
474 pretty-printed, so that it is mergeable by line-based text merging,
475 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
476
477 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
478
479 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
480 (allout-mode): Argument "toggle" => "force".
481 Refine the docstring.
482 Remove special provisions for reactivation, besides the 'force'
483 argument.
484 Consolidate layout provisions coce directly into the activation
485 condition branch, now that we've removed those provisions.
486 (allout-unload-function): Explicitly activate the mode before
487 deactivating, if it's initially deactivated.
488 (allout-set-buffer-multibyte): Properly prevent byte-compiler
489 warnings for version of function used only where
490 set-buffer-multibyte is unavailable.
491
492 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
493
494 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
495 are handled by the menu-bar entries. As before, don't use
496 :visibile to avoid changing the tool-bar.
497
498 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
499
500 * net/secrets.el (secrets-delete-alias): New defun.
501
502 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
503
504 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
505 methods, otherwise ~/.ssh/config would be ignored.
506
507 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * emacs-lisp/rx.el: Make it a superset of sregex.
510 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
511 of args, add `regex' alias.
512 (rx-info): Add arg to distinguish head and standalone forms.
513 (rx-check, rx-form): Pass the corresponding arg.
514 (rx-**): Simplify.
515 (rx-repeat): Make it work for any number of args.
516 (rx-syntax): Make it accept syntax chars as is.
517 * obsolete/sregex.el: Move from emacs-lisp/.
518 * emacs-lisp/re-builder.el: Remove sregex support.
519 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
520
521 2010-12-25 Eli Zaretskii <eliz@gnu.org>
522
523 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
524 PRIMARY first, then the clipboard. (Bug#7699)
525
526 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
529 print-number-table.
530
531 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
532
533 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
534 .emacs.elc (Bug#7530).
535
536 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
537 image spec (Bug#7480).
538
539 2010-12-21 Daiki Ueno <ueno@unixuser.org>
540
541 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
542 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
543 Move from lisp/.
544
545 2010-12-20 Leo <sdl.web@gmail.com>
546
547 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
548 always be performed (Bug#7680).
549
550 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
551
552 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
553 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
554 mouse-region-match.
555
556 * color.el: Move from gnus/.
557
558 * vc/diff.el (diff-better-file-name): Function deleted.
559 abbreviating file names causes problems with shell-quote-argument.
560 (diff-no-select): Just use expand-file-name.
561
562 * tool-bar.el (tool-bar--image-expression): New function.
563 (tool-bar-local-item, tool-bar--image-exp): Use it.
564 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
565 Use :enable instead of :visible to avoid changing the tool-bar
566 configuration unnecessarily.
567
568 * info.el (info-tool-bar-map): Add separators.
569
570 2010-12-17 Ken Brown <kbrown@cornell.edu>
571
572 * loadup.el: Use version numbers in Cygwin build.
573
574 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
575
576 * ido.el (ido-file-internal): Ask for confirmation before
577 overwriting an existing file (Bug#1238).
578
579 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
580
581 * tool-bar.el (tool-bar-setup): Add separators.
582
583 * menu-bar.el (featurep): Use menu-bar-separator.
584
585 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
586
587 Migrate allout encryption provisions from pgg to epg.
588
589 * allout.el (allout-toggle-current-subtree-encryption)
590 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
591 defaulting policy and other changes. Change fetch-pass to keymode-cue,
592 for simpler universal argument interpretation.
593 (allout-toggle-subtree-encryption): Adjust docstring to describe
594 changed encryption provisions. Change fetch-pass to keymode-cue, for
595 simpler universal argument interpretation. Remove provisions for
596 handling key type and identity - they'll all be within
597 allout-encrypt-string or epg/epg or even contained all the way in gpg.
598 (allout-encrypt-string): Include keymode-cue, for optionally prompting
599 for keypair recipients (universal argument > 1) and, in addition,
600 associating the specified recipients with the outline (universal
601 argument > 4) using a file local variable setting for
602 'epa-file-encrypt-to'.
603 Require epa, for recipients handling.
604 Change how regexp filtering elements are named.
605 Describe the problem with caching of incorrect symmetric-decryption
606 keys.
607 Use the epa-passphrase-callback-function, in case the user is using
608 GnuPG v1.
609 Support saving of the selected keypair recipients when invoked with a
610 keymode-cue > 4.
611 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
612 Require 'epa.
613 Establish epg-context with armoring and default epg-protocol.
614 Remove all passphrase cache, verification, and hinting code.
615 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
616 No longer used, delete.
617 (allout-mode): Adjust docstring to describe changed encryption
618 provisions. Describe the problem with caching of incorrect
619 symmetric-decryption keys.
620 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
621 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
622 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
623 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
624 Obsolete, remove.
625
626 2010-12-16 Daiki Ueno <ueno@unixuser.org>
627
628 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
629 key selection prompt; make 'silent as default (Bug#7487).
630
631 2010-12-16 Leo <sdl.web@gmail.com>
632
633 * eshell/eshell.el (eshell-directory-name):
634 Use locate-user-emacs-file (Bug#7578).
635
636 2010-12-15 Glenn Morris <rgm@gnu.org>
637
638 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
639
640 2010-12-15 Jari Aalto <jari.aalto@cante.net>
641 Scott Evans <gse@antisleep.com>
642
643 * rect.el (rectange--default-line-number-format)
644 (rectangle-number-line-callback): New functions.
645 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
646
647 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
648
649 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
650 Delete unused variables.
651 (move-to-column-force): Remove function obsolete since 21.2.
652
653 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
654
655 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
656 (tramp-handle-insert-file-contents): Do not set permanent-local
657 property.
658
659 * net/tramp-cache.el (tramp-persistency-file-name):
660 Use `locate-user-emacs-file' if fboundp.
661
662 * net/tramp-sh.el (tramp-methods): Add "ksu".
663 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
664 method list.
665
666 2010-12-14 Glenn Morris <rgm@gnu.org>
667
668 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
669 (find-tag-marker-ring): Declare.
670 (js-find-symbol): Require etags.
671
672 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
673 Require mail-utils.
674 (mail-alias-file): Don't autoload. Doc fix.
675 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
676 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
677 Mark as obsolete, and risky.
678 (mail-setup): Simplify.
679
680 * mail/mailalias.el (build-mail-aliases): Make it interactive.
681 * mail/sendmail.el (build-mail-aliases): Update autoload.
682
683 * dired.el (dired-trivial-filenames, dired-chown-program)
684 (dired-auto-revert-buffer): Remove autoload cookies.
685 * mail/sendmail.el (mail-recover-1): Require 'dired.
686
687 * dired.el (dired-subdir-switches, dired-chown-program)
688 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
689 Make into defcustoms.
690 (dired-chown-program): Simplify initialization.
691
692 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
693
694 2010-12-13 Romain Francoise <romain@orebokech.com>
695
696 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
697
698 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
699
700 * net/netrc.el (netrc-point-at-eol): Remove the unused
701 netrc-point-at-old and netrc-bound-and-true-p bindings.
702 (netrc-parse): Cache the netrc contents.
703
704 2010-12-13 Eli Zaretskii <eliz@gnu.org>
705
706 * subr.el (posn-col-row): Evaluate header-line-format in the
707 context of the POSITION window's buffer.
708
709 2010-12-13 Glenn Morris <rgm@gnu.org>
710
711 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
712 (with-silent-modifications): Doc fixes.
713
714 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
715
716 * net/tramp.el (tramp-action-password, tramp-process-actions):
717 Revert previous from. Use `save-restriction'.
718
719 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
720
721 * calendar/diary-lib.el (diary-list-sexp-entries):
722 Handle case of no newline at end of file. (Bug#7536)
723
724 2010-12-13 Glenn Morris <rgm@gnu.org>
725
726 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
727
728 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
729
730 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
731 (tramp-process-actions): Do not widen.
732
733 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
734 Protect buffer-modified value. (Bug#7557)
735
736 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
737
738 * log-edit.el (log-edit-changelog-entries):
739 Regexp quote filename. (Bug#7505)
740
741 2010-12-13 Tom Breton <tehom@panix.com>
742
743 * cus-edit.el (custom-save-all):
744 Bind print-length and print-level to nil. (Bug#7581)
745
746 2010-12-13 Glenn Morris <rgm@gnu.org>
747
748 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
749 Run hooks to update menu contents. (Bug#7586)
750
751 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
752 file names, for the sake of MS Windows. (Bug#7588)
753
754 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
757 empty lines without a leading space.
758
759 2010-12-13 Leo <sdl.web@gmail.com>
760
761 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
762 while mapping over marks (Bug#6810).
763
764 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
765
766 * image-dired.el (image-dired-db-file)
767 (image-dired-temp-image-file, image-dired-gallery-dir)
768 (image-dired-temp-rotate-image-file): Set default values relative
769 to image-dired-dir (Bug#7518).
770
771 2010-12-13 Lawrence Mitchell <wence@gmx.li>
772
773 * format.el (format-decode-run-method): Pass args FROM and TO, not
774 point-min and point-max, to shell-command-on-region (Bug#7488).
775
776 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
777
778 * frame.el (blink-cursor-mode): Make default t for ns.
779
780 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
781
782 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
783
784 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
785
786 * comint.el (comint-dynamic-list-input-ring)
787 (comint-dynamic-complete-filename)
788 (comint-replace-by-expanded-filename)
789 (comint-dynamic-simple-complete)
790 (comint-dynamic-list-filename-completions)
791 (comint-dynamic-list-completions): Doc fix (Bug#7499).
792
793 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
794 Doc fix (Bug#7471).
795
796 2010-12-13 Martin Rudalics <rudalics@gmx.at>
797
798 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
799 (Bug#7533).
800
801 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
802
803 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
804 (Bug#7491).
805
806 2010-12-13 Eli Zaretskii <eliz@gnu.org>
807
808 * files.el (file-relative-name): Handle UNC file names on
809 DOS/Windows. (Bug#4674)
810
811 2010-12-13 Daiki Ueno <ueno@unixuser.org>
812
813 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
814 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
815 (epg-context-set-passphrase-callback): Mention that the callback
816 is not called when used with GnuPG 2.x.
817
818 2010-12-13 Glenn Morris <rgm@gnu.org>
819
820 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
821 Ensure ps-footer-font-size-internal is initialized.
822 Call ps-get-page-dimensions before trying to use ps-font-for-text.
823
824 2010-12-13 Kenichi Handa <handa@m17n.org>
825
826 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
827 within condition-case.
828 (rmail-show-mime): Don't use condition-case.
829 (rmail-search-mime-message): New function.
830 (rmail-search-mime-message-function): Set to
831 rmail-search-mime-message.
832
833 2010-12-13 Leo <sdl.web@gmail.com>
834
835 * ido.el (ido-common-initialization): New function. (bug#3274)
836 (ido-mode): Use it.
837 (ido-completing-read): Call it.
838
839 2010-12-12 Karl Fogel <kfogel@red-bean.com>
840
841 * bookmark.el (bookmark-name-from-full-record): Rename back to
842 this original name from `bookmark-name-from-record' reverting part
843 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
844 As Drew Adams pointed out, there was no reason to cause churn for
845 third-party callers.
846
847 2010-12-12 Alan Mackenzie <acm@muc.de>
848
849 * progmodes/cc-engine.el (c-forward-type): Before scanning a
850 template arglist, check that the current language supports this.
851
852 2010-12-11 Glenn Morris <rgm@gnu.org>
853
854 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
855 state of the file matches. (Bug#7544)
856 (vc-bzr-register, vc-bzr-checkin)
857 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
858 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
859
860 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
861
862 2010-12-11 Karel Klíč <kklic@redhat.com>
863
864 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
865
866 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 Derive from prog-mode, use derived-mode-p, and fix up various
869 minor style issues in lisp/progmodes.
870
871 * progmodes/vhdl-mode.el (vhdl-mode):
872 * progmodes/verilog-mode.el (verilog-mode):
873 * progmodes/vera-mode.el (vera-mode):
874 * progmodes/sql.el (sql-mode):
875 * progmodes/scheme.el (scheme-mode):
876 * progmodes/perl-mode.el (perl-mode):
877 * progmodes/octave-inf.el (inferior-octave-mode):
878 * progmodes/autoconf.el (autoconf-mode):
879 * progmodes/m4-mode.el (m4-mode):
880 * progmodes/inf-lisp.el (inferior-lisp-mode):
881 * progmodes/idlwave.el (idlwave-mode):
882 * progmodes/icon.el (icon-mode):
883 * progmodes/idlw-help.el (idlwave-help-mode):
884 * progmodes/dcl-mode.el (dcl-mode):
885 * progmodes/idlw-shell.el (idlwave-shell-mode):
886 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
887 (ebrowse-member-mode, ebrowse-electric-position-mode):
888 Use define-derived-mode.
889
890 * progmodes/xscheme.el (exit-scheme-interaction-mode)
891 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
892 (xscheme-debugger-mode-p, xscheme-send-string-1):
893 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
894 (tcl-load-file, tcl-restart-with-file):
895 * progmodes/ps-mode.el (ps-run-running):
896 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
897 * progmodes/js.el (js--get-all-known-symbols):
898 * progmodes/inf-lisp.el (inferior-lisp-proc):
899 * progmodes/idlwave.el (idlwave-beginning-of-statement)
900 (idlwave-template, idlwave-update-buffer-routine-info)
901 (idlwave-update-current-buffer-info)
902 (idlwave-get-routine-info-from-buffers, idlwave-choose)
903 (idlwave-scan-class-info, idlwave-fix-keywords)
904 (idlwave-list-buffer-load-path-shadows):
905 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
906 (idlwave-toolbar-remove):
907 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
908 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
909 (idlwave-shell-menu-def):
910 * progmodes/idlw-complete-structtag.el
911 (idlwave-prepare-structure-tag-completion):
912 * progmodes/gud.el (gud-set-buffer):
913 * progmodes/f90.el (f90-backslash-not-special):
914 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
915
916 * progmodes/xscheme.el (xscheme-start)
917 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
918 * progmodes/which-func.el (which-function):
919 * progmodes/vhdl-mode.el (vhdl-set-style):
920 * progmodes/verilog-mode.el (verilog-set-compile-command)
921 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
922 (verilog-set-define, verilog-auto-reeval-locals):
923 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
924 * progmodes/simula.el (simula-mode):
925 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
926 * progmodes/python.el (python-check, python-mode):
927 * progmodes/prolog.el (prolog-mode-variables):
928 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
929 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
930 * progmodes/delphi.el (delphi-mode):
931 * progmodes/cc-styles.el (c-setup-paragraph-variables):
932 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
933 (c-font-lock-init): Move make-local-variable to their setq.
934
935 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
936 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
937 make-local-hook.
938 * progmodes/sh-script.el (sh-require-final-newline): Remove.
939 (sh-set-shell): Don't set require-final-newline since it's already done
940 by prog-mode.
941 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
942 since we never set it.
943 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
944 Use read-string and standard prompt.
945 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
946 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
947 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
948 (meta-common-mode-map): Rename from meta-mode-map.
949 Remove C-m binding, which is a user preference, not mode specific.
950 (meta-common-mode): New major mode; replace meta-common-initialization.
951 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
952 around with font-lock.
953 * progmodes/etags.el (select-tags-table-mode):
954 Derive from special-mode.
955 * progmodes/octave-mod.el (octave-mode):
956 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
957 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
958 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
959 Let define-derived-mode do its job.
960 * progmodes/cpp.el (cpp-edit-mode-map):
961 Move initialization into declaration.
962 (cpp-edit-mode): Use define-derived-mode.
963 (cpp-edit-load): Use derived-mode-p.
964 * progmodes/mixal-mode.el (mixal-mode):
965 * progmodes/f90.el (f90-mode):
966 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
967 require-final-newline since prog-mode does it already.
968 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
969 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
970 * progmodes/antlr-mode.el: Require cc-mode upfront.
971 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
972 the declaration.
973 (antlr-directory-dependencies, antlr-show-makefile-rules):
974 Use derived-mode-p.
975 (antlr-language-option): Don't assume point-min==1.
976 (antlr-mode): Use define-derived-mode.
977 * progmodes/ada-mode.el: Use derived-mode-p.
978 (ada-mode): Use define-derived-mode.
979 Use hack-local-variables-hook.
980
981 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
984 (texinfo-mode): Don't disable adaptive-fill-mode.
985 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
986 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
987 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
988 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
989 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
990 (texinfo-insert-@quotation, texinfo-insert-@samp)
991 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
992 (texinfo-insert-@uref): Use define-skeleton.
993 (texinfo-insert-@-with-arg): Delete.
994
995 2010-12-10 Eli Zaretskii <eliz@gnu.org>
996
997 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
998 nil, do quote archive member names. (Bug#6144)
999
1000 2010-12-10 Glenn Morris <rgm@gnu.org>
1001
1002 * files.el (diff-no-select): Declare.
1003
1004 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1005 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1006
1007 * comint.el (comint-input-ring-file-name): Doc fix.
1008
1009 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1010
1011 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1012 New functions.
1013 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1014 Use them instead of `nil' and `>', respectively.
1015 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1016 instead of `nil'.
1017 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1018 and menu-bar-positive-p instead of `nil' and `>', respectively.
1019 (Bug#1077)
1020
1021 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1022
1023 * whitespace.el (whitespace-newline-mode): Code fix.
1024
1025 2010-12-09 Glenn Morris <rgm@gnu.org>
1026
1027 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1028 Rename functions without commas, update callers.
1029
1030 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1031
1032 * whitespace.el (whitespace-cleanup-region):
1033 Clean up spaces before tabs. (Bug#7582)
1034
1035 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1036
1037 * bookmark.el: Adjust parameter names and doc strings to resolve
1038 confusion over whether "bookmark" meant a bookmark name or a
1039 bookmark record. Along the way, shorten one function's name for
1040 similar reasons. (Issue #7548)
1041 (bookmark-name-from-record): New name for
1042 `bookmark-name-from-full-record'. All callers changed.
1043 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1044 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1045 (bookmark-get-annotation, bookmark-set-annotation)
1046 (bookmark-get-filename, bookmark-set-filename)
1047 (bookmark-get-position, bookmark-set-position)
1048 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1049 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1050 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1051 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1052 Rename `bookmark' parameter to `bookmark-name-or-record', to
1053 clearly show its role, and shorten or adjust doc strings accordingly.
1054 (bookmark-set-name): Same, and pass the parameter directly to
1055 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1056 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1057 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1058 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1059 and in some cases shorten doc string accordingly.
1060 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1061 and `new-name', and adjust an internal variable to avoid confusion.
1062 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1063 parameter in doc string.
1064
1065 2010-12-08 Glenn Morris <rgm@gnu.org>
1066
1067 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1068 from gdb's history file. (Bug#7575)
1069
1070 * mail/emacsbug.el (report-emacs-bug):
1071 Try to handle some other mail clients.
1072
1073 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1076 Use string-prefix-p.
1077 (file-name-version-regexp): New var.
1078 (file-name-sans-versions):
1079 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1080 (jka-compr-get-compression-info): Use dolist.
1081 (jka-compr-compression-info-list): Don't bother specifying
1082 version/backup regexps.
1083
1084 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1085
1086 * simple.el (just-one-space): Make argument n default to 1 if
1087 omitted.
1088
1089 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * electric.el (electric-indent-post-self-insert-function):
1092 Delete trailing newlines even if we don't reindent.
1093
1094 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * minibuffer.el (completion-at-point): Remove the `arg'.
1097 * bindings.el (complete-symbol): Move back from minibuffer.el.
1098
1099 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1100
1101 * simple.el (just-one-space): Delete newlines for negative arg.
1102
1103 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1106 (ansi-color-filter-apply): Simplify.
1107 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1108
1109 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1110
1111 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1112
1113 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1114
1115 * dired.el (dired-use-ls-dired): Set default to a special
1116 "unspecified" value.
1117 (dired-insert-directory): When called the first time, check
1118 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1119
1120 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1121
1122 * replace.el: Add "collect" feature to occur.
1123 (occur-collect-regexp-history): New var.
1124 (occur-read-primary-args): Return a replace string for nlines,
1125 if needed.
1126 (occur): Extend the meaning of nlines.
1127
1128 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1131 (which-func-update-1): Distinguish symbols from strings.
1132 (which-function): Stay within 80 columns.
1133
1134 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1137
1138 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1139 Improve docstring.
1140 (comment-style): Use comment-styles's docs to describe values.
1141
1142 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1143
1144 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1145 and ns-show-prefs (Bug#7535).
1146
1147 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1148 bindings (Bug#7535).
1149
1150 2010-12-03 Glenn Morris <rgm@gnu.org>
1151
1152 * nxml/nxml-mode.el: Require rng-nxml.
1153 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1154 Remove declarations.
1155
1156 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1157 * nxml/rng-nxml.el, nxml/rng-valid.el:
1158 Remove leading `*' from defcustom docs.
1159
1160 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1161 (normal-top-level-add-to-load-path, tty-handle-args):
1162 Convert comments to basic doc-strings.
1163
1164 * net/browse-url.el (browse-url-url-at-point)
1165 (browse-url-default-browser): Remove autoload cookies.
1166
1167 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1168 Remove more undefined cl functions.
1169
1170 * vc/diff.el (diff-sentinel): Make new arguments optional.
1171 * ibuf-ext.el (diff-sentinel): Update declaration.
1172
1173 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1174
1175 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1176 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1177 (epg-context-set-passphrase-callback): Mention that the callback
1178 is not called when used with GnuPG 2.x.
1179
1180 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1181
1182 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1183 (tramp-file-name-port): Check also for `tramp-default-port'.
1184 (tramp-get-connection-name): New defun.
1185 (tramp-get-connection-process): Use it.
1186 (tramp-debug-message): Extend function exclude list.
1187 (tramp-drop-volume-letter): Fix doc string.
1188
1189 * net/tramp-cmds.el: Remove solved todo item.
1190
1191 * net/tramp-efs.el:
1192 * net/tramp-ftp.el:
1193 * net/tramp-gvfs.el:
1194 * net/tramp-gw.el:
1195 * net/tramp-imap.el:
1196 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1197 and `tramp-default-user-alist', respectively.
1198
1199 * net/tramp-gw.el (tramp-gw-open-connection):
1200 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1201
1202 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1203 `tramp-file-name-port'.
1204
1205 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1206 and "psftp". Exchange "%k" marker with options.
1207 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1208 Compute size of link target.
1209 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1210 `tramp-current-*' up due to gateway methods. Optimze computing of
1211 copy arguments. Use `tramp-get-connection-name' and
1212 `tramp-get-connection-buffer'. Improve debug messages.
1213 (tramp-compute-multi-hops): Remove port determination.
1214 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1215
1216 * net/trampver.el: Update release number.
1217
1218 2010-12-02 Glenn Morris <rgm@gnu.org>
1219
1220 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1221 Avoid infinite loop over windows. (Bug#7492)
1222
1223 * progmodes/flymake.el (flymake-check-file-limit):
1224 Allow nil to mean "no limit".
1225 (flymake-check-patch-master-file-buffer): Update for above change.
1226 Allow a .tex file-name extension to be optional.
1227 (flymake-master-tex-init): Also match \include statements.
1228
1229 2010-11-30 Sam Steingold <sds@gnu.org>
1230
1231 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1232 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1233 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1234 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1235 define-derived-mode').
1236 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1237 users who want to call `nxml-parent-document-set'.
1238
1239 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1240
1241 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1242 stand-alone lines, since that is handled by log-edit-match-to-eoh
1243 (Bug#6465).
1244
1245 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1246
1247 * dired.el (dired-get-filename): Replace backslashes with slashes
1248 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1249 * locate.el (locate-default-make-command-line): Don't consider
1250 drive letter and root directory part of
1251 `directory-listing-before-filename-regexp'. (Bug#7308)
1252 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1253
1254 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1257 of :smie-open/close-alist.
1258 (smie-next-sexp): Make it accept a "start token" as argument.
1259 (smie-indent-keyword): Be careful not to misidentify tokens that span
1260 more than one line, as empty lines. Add argument `token'.
1261
1262 2010-11-27 Kenichi Handa <handa@m17n.org>
1263
1264 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1265 multipart subtypes, insert all as usual.
1266
1267 * mail/rmail.el: Require rfc2047.
1268
1269 2010-11-27 Kenichi Handa <handa@m17n.org>
1270
1271 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1272 (rmail-mime-entity-disposition)
1273 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1274 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1275 (rmail-mime-save): Handle the case that the button's `data' is a
1276 MIME entity.
1277 (rmail-mime-insert-text): New function.
1278 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1279 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1280 (rmail-mime-insert-bulk): New function mostly copied from the old
1281 rmail-mime-bulk-handler.
1282 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1283 (rmail-mime-process-multipart): New function mostly copied from
1284 the old rmail-mime-multipart-handler.
1285 (rmail-mime-show): Just call rmail-mime-process.
1286 (rmail-mime-process): New function mostly copied from the old
1287 rmail-mime-show.
1288 (rmail-mime-insert-multipart, rmail-mime-parse)
1289 (rmail-mime-insert, rmail-show-mime)
1290 (rmail-insert-mime-forwarded-message)
1291 (rmail-insert-mime-resent-message): New functions.
1292 (rmail-insert-mime-forwarded-message-function): Set to
1293 rmail-insert-mime-forwarded-message.
1294 (rmail-insert-mime-resent-message-function): Set to
1295 rmail-insert-mime-resent-message.
1296
1297 * mail/rmailsum.el: Require rfc2047.
1298 (rmail-header-summary): Handle multiline Subject: field.
1299 (rmail-summary-line-decoder): Change the default to
1300 rfc2047-decode-string.
1301
1302 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1303 (rmail-mime-feature): Change the default to `rmailmm'.
1304 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1305 (rmail-display-labels): Likewise.
1306 (rmail-show-message-1): Check rmail-enable-mime, and use
1307 rmail-show-mime-function for a MIME message. Decode the headers
1308 according to RFC2047.
1309
1310 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * progmodes/which-func.el (which-func-imenu-joiner-function):
1313 Return a string, as expected.
1314 (which-function-mode): Make sure we stop any previous timer before
1315 starting a new one.
1316
1317 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1318
1319 * net/tramp.el (tramp-default-method-alist)
1320 (tramp-default-user-alist, tramp-default-proxies-alist):
1321 Adapt custom options type. (Bug#7445)
1322
1323 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1324
1325 * progmodes/python.el: Add Ipython support (Bug#5390).
1326 (python-shell-prompt-alist)
1327 (python-shell-continuation-prompt-alist): New options.
1328 (python--set-prompt-regexp): New function.
1329 (inferior-python-mode, run-python, python-shell):
1330 Require ansi-color. Use python--set-prompt-regexp to set the comint
1331 prompt based on the Python interpreter.
1332 (python--prompt-regexp): New var.
1333 (python-check-comint-prompt)
1334 (python-comint-output-filter-function): Use it.
1335 (run-python): Use a pipe (Bug#5694).
1336
1337 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1338
1339 * progmodes/python.el (run-python): Doc fix.
1340 (python-keep-current-directory-in-path): New var (Bug#7454).
1341
1342 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1343
1344 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1345 Prompt user before actually printing.
1346
1347 2010-11-27 Glenn Morris <rgm@gnu.org>
1348
1349 * startup.el (package-enable-at-startup, package-initialize):
1350 Remove unnecessary declarations.
1351
1352 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1353
1354 * international/characters.el (glyphless-char-display-control):
1355 Exclude newline and TAB from the c0-control group.
1356
1357 2010-11-27 Glenn Morris <rgm@gnu.org>
1358
1359 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1360 (expand-mail-aliases): Remove unnecessary autoload.
1361
1362 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1363
1364 * shell.el (shell-dir-cookie-re): Move definition before use.
1365
1366 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1367 Replace undefined CL functions.
1368
1369 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1370
1371 * simple.el (prog-mode): Set bidi-paragraph-direction to
1372 left-to-right.
1373
1374 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1375
1376 2010-11-26 Glenn Morris <rgm@gnu.org>
1377
1378 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1379 diary-outlook-formats can be sensitive to calendar-date-style.
1380 (diary-outlook-formats): Simplify the default setting.
1381 (diary-from-outlook-internal): Pass subject and body as arguments.
1382 Use dolist rather than dotimes. Don't save the diary buffer.
1383 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1384 Pass subject and body as explicit arguments to the -internal function.
1385
1386 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1387
1388 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1389 parsing them. This makes mailto:...?subject=foo\nbar work.
1390
1391 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * vc/diff.el (diff): Fix last change.
1394
1395 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1398 (pcase--dontcare-upats): New var.
1399 (pcase-let, pcase-let*): Generate better code.
1400 Accept the same bodies as `let'.
1401 (pcase-dolist): New macro.
1402 (pcase--trivial-upat-p): New helper function.
1403 (pcase--expand): Strip leading "(let nil" if any.
1404
1405 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1406
1407 * mail/mailclient.el (browse-url): Require.
1408 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1409 use the external browser function to send the mail (bug#7469).
1410
1411 * net/browse-url.el (browse-url-browser-function): Revert the
1412 default back to the previous value, since the new value broke
1413 mailclient.el.
1414 (browse-url-mailto-function): New variable for mailto: URLs.
1415 (browse-url): Use the new variable for mailto: URLs.
1416
1417 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1418
1419 * eshell/esh-cmd.el (eshell-parse-command):
1420 * eshell/esh-arg.el (eshell-parse-arguments):
1421 * eshell/em-script.el (eshell-source-file):
1422 Use with-silent-modifications.
1423
1424 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1425
1426 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1427 for a merge location.
1428
1429 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1430 (vc-bzr-merge-branch): Always prompt.
1431 (vc-bzr-async-command): Use the full branch filename.
1432
1433 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * shell.el (shell): Use current-buffer by default if it's already
1436 a shell mode buffer and its process is dead.
1437 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1438
1439 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1440
1441 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1442 Mention that the keywords should be comma separated.
1443
1444 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1445
1446 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1447 Accept optional prefix arg meaning to prompt for a command.
1448 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1449 prefix arg meaning to prompt for a command.
1450 (vc-pull): Alias for vc-update.
1451
1452 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1453 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1454 (vc-bzr-merge-branch): New functions, implementing merge-branch
1455 and pull operations.
1456
1457 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * Makefile.in: Fix up last merge.
1460
1461 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1462 (diff-sentinel): Get them as arguments instead.
1463 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1464 (diff-file-local-copy, diff-better-file-name): New funs.
1465 (diff-no-select): Rename from diff-into-buffer.
1466 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1467 Prefer closures to buffer-local variables.
1468 (diff): Adjust accordingly.
1469 (diff-buffer-with-file): Move from files.el.
1470 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1471 (diff-buffer-internal): Remove.
1472 (diff-buffer-buffer): Remove.
1473 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1474 the buffer name used, and so as not to mess up windows and frames.
1475
1476 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1477
1478 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1479 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1480 (diff-buffer-with-file): Use it.
1481 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1482 (diff): Use it.
1483
1484 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1485
1486 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1487 \ref's or \pageref's value as default instead of initial input.
1488
1489 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1490
1491 * files.el (backup-by-copying-when-mismatch): The default value is
1492 now t.
1493
1494 * startup.el (normal-top-level):
1495 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1496 `backup-by-copying-when-mismatch'.
1497
1498 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1499
1500 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1501
1502 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1503
1504 * progmodes/python.el (python-font-lock-keywords):
1505 Highlight top-level augmented assignments (Bug#6445).
1506
1507 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1508
1509 * term/ns-win.el (ns-right-control-modifier)
1510 (ns-right-command-modifier): Defvar them.
1511
1512 * cus-start.el (all): Add ns-right-control-modifier and
1513 ns-right-command-modifier (Bug#7458).
1514
1515 2010-11-20 Glenn Morris <rgm@gnu.org>
1516
1517 * emacs-lisp/authors.el (authors-ignored-files)
1518 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1519
1520 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1521
1522 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1523 (report-emacs-bug-parse-query-results)
1524 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1525 keywords used for querying the bug database to show them in the
1526 existing bugs buffer.
1527
1528 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1529
1530 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1531
1532 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1533
1534 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1535
1536 * international/characters.el (glyphless-char-display-control):
1537 Make it a defcustom, with update-glyphless-char-display as its
1538 :set attribute.
1539 (top level): Don't call update-glyphless-char-display.
1540
1541 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1542
1543 Sync with Tramp 2.2.0.
1544
1545 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1546 `file-remote-p' (due to compatibility).
1547
1548 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1549 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1550
1551 * net/trampver.el: Update release number.
1552
1553 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1554
1555 * faces.el (glyphless-char): Define value for `pc'.
1556
1557 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1558
1559 Implemented a bug querying mechanism.
1560 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1561 (report-emacs-bug-create-existing-bugs-buffer)
1562 (report-emacs-bug-parse-query-results)
1563 (report-emacs-bug-query-existing-bugs): New functions.
1564
1565 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1566
1567 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1568 a \ref{} or \pageref{} macro, then use its value as initial input.
1569
1570 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1571
1572 * calc/calc-units.el (math-build-units-table-buffer):
1573 calc/README: Mention that the TeX specific units won't use the
1574 `tex' prefix in TeX mode.
1575 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1576 prefix for units in TeX mode.
1577
1578 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * simple.el (kill-new, kill-append, kill-region):
1581 * comint.el (comint-kill-region): Make the yank-handler argument
1582 obsolete.
1583
1584 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1587 that are both openers (resp. closers) and something else.
1588 (smie-grammar): Loosen definition of valid values.
1589 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1590 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1591 (smie-indent-after-keyword): Adjust users.
1592 (smie-indent-keyword): Don't indent empty lines.
1593
1594 * vc-hg.el (vc-hg-program): New var.
1595 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1596 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1597
1598 2010-11-18 Glenn Morris <rgm@gnu.org>
1599
1600 * emacs-lisp/autoload.el (autoload-find-destination): The function
1601 coding-system-eol-type may return non-numeric values. (Bug#7414)
1602
1603 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1604
1605 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1606
1607 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1608
1609 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1610
1611 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1612
1613 * textmodes/picture.el (picture-mouse-set-point): Don't use
1614 posn-col-row; explicitly compute the motion based on the posn at
1615 the window-start (Bug#7390).
1616
1617 2010-11-18 Glenn Morris <rgm@gnu.org>
1618
1619 * novice.el (disabled-command-function):
1620 Fix 2009-11-15 change. (Bug#7384)
1621
1622 2010-11-18 Glenn Morris <rgm@gnu.org>
1623
1624 * calendar/calendar.el (diary-iso-date-forms): Make elements
1625 mutually exclusive. (Bug#7377)
1626
1627 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1630 when filling the remaining "unconstrained" values.
1631
1632 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1635 safety predicate.
1636
1637 * files.el (safe-local-variable-p): Gracefully handle errors.
1638
1639 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1640 Use smie-indent-virtual when indenting relative to an opener.
1641 (smie-rule-separator): Use smie-rule-parent.
1642 (smie-indent-keyword): Consult rules, even for openers at bol.
1643 (smie-indent-comment-close): Try to align closer's content.
1644
1645 2010-11-18 Glenn Morris <rgm@gnu.org>
1646
1647 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1648
1649 2010-11-18 Glenn Morris <rgm@gnu.org>
1650
1651 * printing.el (pr-menu-bind): Doc fix.
1652
1653 * speedbar.el (speedbar-toggle-images): Doc fix.
1654
1655 * progmodes/python.el (python-shell): Doc fix.
1656
1657 * wid-edit.el (widget-field-use-before-change)
1658 (widget-use-overlay-change): Doc fixes.
1659
1660 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1661
1662 Minor cleanup to improve style.
1663 * textmodes/rst.el (rst-update-section): Use point-marker.
1664 (rst-get-decoration): Eliminate unneeded assignment.
1665 (rst-promote-region, rst-straighten-decorations)
1666 (rst-section-tree, rst-adjust): Use point-marker.
1667 (rst-toc-mode-mouse-goto): Avoid setq.
1668 (rst-shift-region-guts, rst-shift-region-left)
1669 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1670 (rst-convert-bullets-to-enumeration): Use copy-marker.
1671
1672 * minibuffer.el (completion-fail-discreetly): New var.
1673 (completion--do-completion): Use it.
1674
1675 * electric.el (electric-pair-pairs): New var.
1676 (electric-pair-post-self-insert-function): Use it.
1677 (electric-layout-post-self-insert-function): Don't insert a before
1678 newline unless it's actually needed.
1679
1680 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * progmodes/python.el (run-python): Explain why we remove the current
1683 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1684
1685 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1686
1687 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1690 (octave-mode-map): Don't bind ;, SPC, and LF.
1691 (octave-auto-indent, octave-auto-newline): Remove.
1692 (electric-layout-rules): Declare.
1693 (octave-mode): Set electric-layout-rules.
1694 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1695 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1696 (octave-electric-space): Remove.
1697
1698 * electric.el (electric-layout-mode): New minor mode.
1699 (electric--after-char-pos): New function.
1700 (electric-indent-post-self-insert-function): Use it.
1701 (electric-layout-rules): New var.
1702 (electric-layout-post-self-insert-function): New function.
1703 (electric-indent-mode): Make them interact better.
1704
1705 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1706
1707 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1708 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1709 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1710
1711 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1712
1713 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1714 Make sure to check inside the word (Bug#6761).
1715
1716 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1717
1718 * startup.el (command-line): If the cursorColor resource is set,
1719 change the cursor face-spec (Bug#7392).
1720
1721 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1722
1723 The main features of the following allout.el changes are:
1724 - implement user customization for the allout key bindings
1725 - add a customization control by which the user can inhibit use of
1726 a trailing Ctrl-H, so by default it's reserved for use with
1727 describe-prefix-bindings
1728 - adapt to new version of called-interactively-p, while
1729 maintaining backwards compatibility with old version
1730 - fix hotspot navigation so i works properly with meta-modified keys
1731
1732 * allout.el (allout-keybindings, allout-bind-keys)
1733 (allout-keybindings-binding, allout-prefixed-keybindings)
1734 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1735 (allout-keybindings-list, allout-mode-map-adjustments)
1736 (allout-setup-mode-map): Establish allout-mode keymaps as user
1737 customizable settings, and also establish a customizable setting which
1738 regulates whether or not a trailing control-h is reserved for use with
1739 describe-prefix-bindings - and inhibit it by default, so that control-h
1740 *is* reserved for describe-prefix-bindings unless the user changes it.
1741
1742 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1743 and accurately between modified and unmodified events, and handle
1744 modified events more comprehensively.
1745
1746 * allout.el (allout-substring-no-properties):
1747 Alias to use or provide version of `substring-no-properties'.
1748 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1749
1750 * allout.el (allout-next-single-char-property-change):
1751 Alias to use or provide version of `next-single-char-property-change'.
1752 (allout-annotate-hidden, allout-hide-by-annotation):
1753 Use `allout-next-single-char-property-change'.
1754
1755 * allout.el (allout-select-safe-coding-system):
1756 Alias to use or provide version of `select-safe-coding-system'.
1757 (allout-toggle-subtree-encryption):
1758 Use `allout-select-safe-coding-system'.
1759
1760 * allout.el (allout-set-buffer-multibyte):
1761 Alias to use or provide version of `set-buffer-multibyte'.
1762 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1763
1764 * allout.el (allout-called-interactively-p): Macro for using the
1765 different versions of called-interactively-p identically, depending on
1766 the subroutine's argument signature.
1767 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1768 Use `(interactive "p")' instead of `(called-interactively-p)'.
1769
1770 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1771 (allout-previous-visible-heading, allout-forward-current-level)
1772 (allout-backward-current-level, allout-show-children):
1773 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1774
1775 * allout.el (allout-before-change-handler):
1776 Exempt edits to the (overlaid) character after the allout outline
1777 bullet from edit confirmation prompt.
1778
1779 * allout.el (allout-add-resumptions):
1780 Ensure that it respects correct buffer for keybindings.
1781
1782 * allout.el (allout-beginning-of-line):
1783 Use `allout-previous-single-char-property-change' alias for the sake of
1784 diverse compatibility.
1785
1786 * allout.el (allout-end-of-line):
1787 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1788
1789 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1790
1791 * frame.el (frame-notice-user-settings): Don't clobber other
1792 user-set parameters when calling face-set-after-frame-default in
1793 response to background-color parameter (Bug#7373).
1794
1795 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1796
1797 * international/characters.el (glyphless-char-display-control):
1798 Rename from glyphless-char-control; all users changed. Doc fix.
1799 Signal an error if display method is not one of the recognized
1800 symbols.
1801
1802 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1803
1804 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1805 (tramp-compat-line-end-position): Remove them.
1806
1807 * net/tramp.el (tramp-parse-rhosts-group)
1808 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1809 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1810 (tramp-parse-netrc-group, tramp-parse-putty-group)
1811 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1812 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1813 (tramp-sh-handle-file-selinux-context)
1814 (tramp-sh-handle-file-name-all-completions)
1815 (tramp-sh-handle-insert-directory)
1816 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1817 (tramp-wait-for-output, tramp-send-command-and-read)
1818 * net/tramp-smb.el (tramp-smb-read-file-entry)
1819 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1820
1821 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1822 `point-at-bol'.
1823 (tramp-remote-coding-commands): Add an alternative using "base64
1824 -d -i". This is needed for older base64 versions from GNU
1825 coreutils. Reported by Klaus Reichl
1826 <Klaus.Reichl@thalesgroup.com>.
1827
1828 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1829
1830 * simple.el (count-words-region): New function.
1831
1832 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * shell.el (shell-dir-cookie-re): New custom variable.
1835 (shell-dir-cookie-watcher): New function.
1836
1837 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1838 and compilation-mode (bug#7350).
1839
1840 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1841 highlight when one of them is empty.
1842
1843 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1844 trailing space.
1845 (skeleton-newline): New function.
1846 (skeleton-internal-1): Use it.
1847
1848 * simple.el (open-line): `newline' may strip trailing space.
1849
1850 2010-11-12 Kevin Ryde <user42@zip.com.au>
1851
1852 * international/mule-cmds.el (princ-list): Use mapc.
1853
1854 2010-11-12 Glenn Morris <rgm@gnu.org>
1855
1856 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1857 Use it to replace all instances of "*Compile-Log*"
1858
1859 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1862 indentation specs.
1863
1864 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * progmodes/modula2.el: Use SMIE and skeleton.
1867 (m2-mode-syntax-table): (*..*) can be nested.
1868 Add //...\n. Fix paren syntax.
1869 (m2-mode-map): Remove LF and TAB bindings.
1870 (m2-indent): Add safety property.
1871 (m2-smie-grammar): New var.
1872 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1873 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1874 (m2-mode): Use define-derived-mode.
1875 (m2-newline, m2-tab): Remove.
1876 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1877 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1878 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1879 (m2-import): Use define-skeleton.
1880
1881 2010-11-11 Glenn Morris <rgm@gnu.org>
1882
1883 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1884
1885 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1886 (ls-lisp-verbosity): Add custom :set-after property.
1887 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1888 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1889 (ls-lisp-insert-directory): Update caller.
1890 (ls-lisp-set-options): New function.
1891 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1892 Doc fix.
1893
1894 * play/landmark.el (lm-prompt-for-move):
1895 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1896
1897 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1898
1899 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1900 (idlwave-study-twins): Prefix dynamic local variable `name'.
1901 (idlwave-routine-twin-compare): Update for above change.
1902
1903 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1904 Prefix dynamic local variables `name', `kwd', and `link'.
1905 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1906 * progmodes/idlw-complete-structtag.el
1907 (idlwave-complete-structure-tag-help):
1908 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1909 (idlwave-complete-sysvar-tag-help)
1910 (idlwave-complete-class-structure-tag-help):
1911 Update for above name changes.
1912
1913 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1914
1915 * net/browse-url.el (browse-url-browser-function): Change the
1916 default to use `browse-url-mail' on mailto: URLs.
1917
1918 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1919
1920 * emacs-lisp/package.el (package-read-all-archive-contents):
1921 Reset package-archive-contents to nil before re-reading.
1922
1923 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1924
1925 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1926 already found as misspellings by (flyspell-large-region), just
1927 do highlighting (bug#7322).
1928
1929 2010-11-10 Glenn Morris <rgm@gnu.org>
1930
1931 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1932
1933 * emulation/edt.el (edt-with-position): New macro.
1934 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1935 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1936 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1937
1938 * emulation/tpu-extras.el (tpu-with-position): New macro.
1939 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1940
1941 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1942
1943 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1944 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1945 (texinfo-master-menu, texinfo-insert-node-lines)
1946 (texinfo-multiple-files-update):
1947 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1948 Use line-beginning-position.
1949
1950 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1951 No recent Emacs supports system-type `emx'.
1952
1953 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1954 (ada-command-separator, ada-default-prj-properties)
1955 (ada-find-any-references): Update for above name change.
1956
1957 * dirtrack.el (dirtrack-directory-function)
1958 (dirtrack-canonicalize-function):
1959 * filecache.el (file-cache-completion-ignore-case)
1960 (file-cache-case-fold-search, file-cache-ignore-case):
1961 * term.el (serial-port-is-file-p): Cosmetic change.
1962
1963 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1964 Remove non-existent `windows-95' system-type.
1965 * dired.el (dired-chown-program): Remove non-existent `linux'
1966 system-type.
1967
1968 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1969 (ping-program-options): Remove non-existent `linux' system-type.
1970
1971 * startup.el (package-initialize): Update declaration.
1972
1973 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1974 (ls-lisp-handle-switches): Use time-less-p.
1975 (ls-lisp-format-time): Use float-time.
1976
1977 * textmodes/remember.el (remember-time-to-seconds): Remove.
1978 (remember-store-in-mailbox): Use float-time.
1979
1980 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1981
1982 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1983 never a real function.
1984 (with-no-warnings): Remove compat stub, now unused.
1985 (time-less-p): Doc fix.
1986 (time-to-number-of-days): Simplify.
1987
1988 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1989 Remove.
1990 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1991 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1992 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1993 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1994 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1995
1996 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1997 (eshell-shuffle-files, eshell-shorthand-tar-command)
1998 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1999 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2000 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2001 Prefix dynamic local variable `matches'.
2002
2003 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2004 Prefix dynamic local variable `skeleton'.
2005
2006 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2007
2008 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2009 in mail buffer; make yank-action always a command that yanks original
2010 buffer.
2011
2012 2010-11-09 Glenn Morris <rgm@gnu.org>
2013
2014 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2015
2016 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2019 completion field (bug#7211).
2020
2021 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2022 Fix handling of backslash escapes.
2023 (python-quote-syntax): Adjust accordingly.
2024
2025 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2026
2027 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2028 (vc-mtn-workfile-branch): Adjust to new output format.
2029
2030 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2032 * international/mule-cmds.el (princ-list): Mark as obsolete.
2033
2034 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * emacs-lisp/smie.el: New package.
2037
2038 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2039
2040 * files.el (backup-by-copying-when-mismatch):
2041 Set `permanent-local' property.
2042
2043 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2044 `permanent-local' property for `backup-by-copying-when-mismatch'.
2045
2046 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2047
2048 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2049
2050 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2051
2052 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2053 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2054 AUTOINOUT for SV style multidimensional arrays, bug294.
2055 Reported by Eric Mastromarchi.
2056 (verilog-preprocess): Use with-current-buffer and
2057 font-lock-fontify-buffer to cleanup style issues.
2058
2059 2010-11-09 Glenn Morris <rgm@gnu.org>
2060
2061 * locate.el (locate, locate-mode): Doc fixes.
2062
2063 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2064
2065 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2066 user for confirmation.
2067 (server-force-stop): Use it.
2068 (server-start): Use server-force-stop for kill-emacs-hook, to
2069 avoid user interaction while killing Emacs.
2070
2071 2010-11-09 Glenn Morris <rgm@gnu.org>
2072
2073 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2074 (meta-indent-line): Simplify.
2075
2076 * vc/emerge.el (emerge-line-number-in-buf):
2077 * textmodes/ispell.el (ispell-region):
2078 * textmodes/fill.el (current-fill-column):
2079 * progmodes/xscheme.el (xscheme-send-current-line):
2080 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2081 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2082 * progmodes/sh-script.el (sh-handle-prev-do):
2083 * progmodes/meta-mode.el (meta-indent-line):
2084 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2085 (idlwave-in-quote):
2086 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2087 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2088 * progmodes/fortran.el (fortran-looking-at-if-then):
2089 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2090 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2091 (cperl-find-pods-heres):
2092 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2093 * net/quickurl.el (quickurl-list-insert):
2094 * net/ldap.el (ldap-search-internal):
2095 * net/eudc.el (eudc-expand-inline):
2096 * mail/sendmail.el (sendmail-send-it):
2097 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2098 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2099 (viper-brac-function):
2100 * calc/calc-yank.el (calc-do-grab-region):
2101 * calc/calc-keypd.el (calc-keypad-press):
2102 * term.el (term-move-columns, term-insert-spaces):
2103 * speedbar.el (speedbar-highlight-one-tag-line):
2104 * simple.el (current-word):
2105 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2106 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2107 (Info-scroll-down):
2108 * hippie-exp.el (he-line-beg):
2109 * epa.el (epa--marked-keys):
2110 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2111 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2112 (dired-relist-entry):
2113 * buff-menu.el (Buffer-menu-buffer):
2114 * array.el (current-line):
2115 * allout.el (allout-resolve-xref)
2116 (allout-latex-verbatim-quote-curr-line):
2117 Replace yet more uses of end-of-line etc with line-end-position, etc.
2118
2119 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2122 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2123 (checkdoc-syntax-table): Initialize in the declaration.
2124 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2125 the mode on unconditionally.
2126
2127 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2128 (extent-end-position, extent-start-position): Remove setf method for
2129 non-existing functions (bug#7319).
2130
2131 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2134 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2135 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2136 (smie-prec2->grammar): Rename from smie-prec2-levels.
2137 (smie-grammar): Rename from smie-op-levels.
2138 (smie-indent--hanging-p): Rename from smie-hanging-p.
2139 (smie-rule-hanging-p): New alias.
2140 (smie-indent--bolp): Rename from smie-bolp.
2141 (smie-indent--hanging-p): New alias.
2142 (smie--token): New dynamically bound variable.
2143 (smie-indent--parent): New function.
2144 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2145 (smie-rule-next-p): Rename from smie-next-p.
2146 (smie-rule-prev-p): Rename from smie-prev-p.
2147 (smie-rule-sibling-p, smie-rule-parent)
2148 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2149 (smie-rule-separator-outdent): New var.
2150 (smie-indent--rule): Merge with smie-indent--column.
2151 (smie-indent-forward-token, smie-indent-backward-token):
2152 Also recognize close parens.
2153 (smie-indent-keyword): Don't use smie-indent--column any more.
2154 (smie-indent-after-keyword): Ignore closers by default.
2155 (smie-indent-line): Use with-demoted-errors.
2156 * progmodes/octave-mod.el (octave-smie-grammar):
2157 Rename from octave-smie-op-levels.
2158 (octave-smie-rules): Adjust to new behavior.
2159 * progmodes/prolog.el (prolog-smie-grammar):
2160 Rename from prolog-smie-op-levels.
2161
2162 2010-11-07 Glenn Morris <rgm@gnu.org>
2163
2164 * eshell/esh-util.el (subst-char-in-string)
2165 (directory-files-and-attributes): These compatibility definitions are
2166 not needed on any version of Emacs since at least 21.4.
2167
2168 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2169 (verilog-get-end-of-line): Remove.
2170 (verilog-within-string, verilog-re-search-forward-substr)
2171 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2172 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2173 Use point-at-bol, point-at-eol.
2174 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2175 Remove.
2176 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2177 (electric-pascal-terminate-line, pascal-set-auto-comments)
2178 (pascal-indent-paramlist, pascal-indent-declaration)
2179 (pascal-get-lineup-indent, pascal-func-completion)
2180 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2181 Use point-at-bol, point-at-eol.
2182 * progmodes/flymake.el (flymake-line-beginning-position)
2183 (flymake-line-end-position): Remove.
2184 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2185 * eshell/esh-util.el (line-end-position, line-beginning-position):
2186 Remove compat definitions.
2187
2188 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2189 Use end-of-line N.
2190 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2191 Use line-end-position.
2192
2193 * emacs-lisp/chart.el (chart-zap-chars):
2194 * play/decipher.el (decipher-set-map):
2195 * progmodes/ada-mode.el (ada-get-current-indent)
2196 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2197 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2198 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2199 (ada-get-all-references):
2200 * progmodes/cperl-mode.el (cperl-electric-paren)
2201 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2202 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2203 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2204 (cperl-word-at-point-hard):
2205 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2206 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2207 (idlwave-shell-display-line):
2208 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2209 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2210 * progmodes/js.el (js--re-search-forward-inner)
2211 (js--re-search-backward-inner):
2212 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2213 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2214 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2215 * textmodes/flyspell.el (flyspell-process-localwords):
2216 * textmodes/ispell.el (ispell-buffer-local-parsing)
2217 (ispell-buffer-local-dict, ispell-buffer-local-words):
2218 Use point-at-bol and point-at-eol.
2219
2220 * speedbar.el (speedbar-generic-item-info)
2221 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2222 (speedbar-add-indicator, speedbar-check-vc-this-line)
2223 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2224 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2225 Replace more uses of end-of-line etc with line-end-position.
2226
2227 2010-11-06 Glenn Morris <rgm@gnu.org>
2228
2229 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2230 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2231 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2232 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2233 (texinfo-multiple-files-update):
2234 * textmodes/table.el (table--probe-cell-left-up)
2235 (table--probe-cell-right-bottom):
2236 * textmodes/picture.el (picture-tab-search):
2237 * textmodes/page-ext.el (pages-copy-header-and-position)
2238 (pages-directory-for-addresses):
2239 * progmodes/vera-mode.el (vera-get-offset):
2240 * progmodes/simula.el (simula-calculate-indent):
2241 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2242 * progmodes/prolog.el (end-of-prolog-clause):
2243 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2244 * progmodes/icon.el (indent-icon-exp):
2245 * progmodes/etags.el (tag-re-match-p):
2246 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2247 * progmodes/ebnf2ps.el (ebnf-begin-file):
2248 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2249 (dcl-save-local-variable):
2250 * play/life.el (life-setup):
2251 * play/gametree.el (gametree-looking-at-ply):
2252 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2253 * mail/sendmail.el (mail-mode-auto-fill):
2254 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2255 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2256 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2257 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2258 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2259 * type-break.el (type-break-file-keystroke-count):
2260 * term.el (term-replace-by-expanded-history-before-point)
2261 (term-skip-prompt, term-extract-string):
2262 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2263 (speedbar-contract-line, speedbar-toggle-line-expansion)
2264 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2265 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2266 * sort.el (sort-skip-fields):
2267 * skeleton.el (skeleton-internal-list):
2268 * simple.el (line-move-finish, line-move-to-column):
2269 * shell.el (shell-forward-command):
2270 * misc.el (copy-from-above-command):
2271 * makesum.el (double-column):
2272 * ebuff-menu.el (electric-buffer-update-highlight):
2273 * dired.el (dired-move-to-end-of-filename):
2274 * dframe.el (dframe-popup-kludge):
2275 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2276 * arc-mode.el (archive-get-lineno):
2277 Use line-end-position and line-beginning-position.
2278
2279 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2280 (idlwave-study-twins): Prefix dynamic local `class'.
2281 (idlwave-routine-twin-compare): Update for above name change.
2282
2283 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2284 Use boundp tests to silence compiler. Update for changed name of
2285 bytecomp-filename variable.
2286
2287 * emulation/viper-cmd.el (viper-read-string-with-history):
2288 Prefix dynamic local `initial'.
2289 (viper-minibuffer-standard-hook): Update for above name change.
2290
2291 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2292 (elint-init-form): Update for above name change.
2293
2294 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2295 local variables `cbeg' and `cend' a prefix.
2296 (mail-extr-voodoo): Update for above name change.
2297
2298 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2299 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2300 (reftex-toc-promote-action): Doc fix.
2301
2302 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2303 `prompt', `data' a prefix.
2304 (reftex-select-post-command-hook, reftex-select-callback)
2305 (reftex-select-mouse-accept, reftex-select-read-cite):
2306 Update for above name changes.
2307
2308 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2309 `refstyle' to reftex-refstyle.
2310 (reftex-offer-label-menu): Update for above name change.
2311 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2312 `refstyle' name change.
2313
2314 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2315 with with-current-buffer.
2316 (diff, template): Give dynamic local variables a prefix.
2317 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2318 (emerge-line-number-in-buf): Update for above name change.
2319 (emerge-combine-versions-internal): Rename local `template' to
2320 emerge-combine-template.
2321 (emerge-combine-versions-edit): Update for above name change.
2322
2323 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2324
2325 * textmodes/reftex-cite.el
2326 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2327 entries with whitespace after \bibitem.
2328 (reftex-create-bibtex-file): Match entries containing numbers and
2329 symbol constituents. Make sure that entries with whitespace at
2330 various places are found.
2331
2332 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2333
2334 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2335
2336 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2337
2338 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2339
2340 2010-11-05 Glenn Morris <rgm@gnu.org>
2341
2342 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2343 (woman2-roff-buffer): Give local variable `request' a prefix.
2344 (woman0-macro): Rename argument `request' in the same way.
2345 (woman-request): New name for `request' dynamic variable.
2346 (woman-unquote, woman-forward-arg): Update for above name change.
2347 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2348 (woman1-unquote): New name for `unquote' dynamic variable.
2349 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2350 (woman-translations): Rename from `translations'. No longer global.
2351 (woman2-tr, woman-translate): Update for above name change.
2352 (woman-translate): Check for bound variable.
2353 (woman2-roff-buffer): Give local variable `translations' a prefix.
2354
2355 * play/doctor.el: Give all local variables a prefix. Update callers.
2356 (doc$, doctor-put-meaning): Use backquote.
2357
2358 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2359 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2360
2361 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2362 variables bytes, ptr, op a prefix.
2363 (disassemble-offset): Update for above change.
2364
2365 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2366
2367 * emacs-lisp/package.el (package-unpack): Remove no-op.
2368 (package--builtins, package--dir): Doc fix.
2369 (package-activate-1, package-activate, package-install)
2370 (package-compute-transaction): Fix error message.
2371 (package-delete): Use delete-directory. Omit system packages.
2372 (package-initialize): Set package-alist to nil first.
2373 (package-menu-mark-delete, package-menu-mark-install): Don't add
2374 symbols that are inconsistent with the package state.
2375 (package-menu-execute): Perform deletions and installations as
2376 single batch operations.
2377
2378 2010-11-03 Glenn Morris <rgm@gnu.org>
2379
2380 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2381 (props): Remove unnecessary declaration.
2382
2383 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2384 set-process-query-on-exit-flag.
2385
2386 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2387 (reftex-toc-do-promote): Remove unused local `mpos'.
2388 (reftex-toc-restore-region): Make `mpos' local to this function.
2389
2390 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2391
2392 * play/landmark.el (lm-losing-threshold): Correct spelling.
2393 (lm-human-plays): Use new name.
2394
2395 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2396 (gomoku-human-plays): Use new name.
2397
2398 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2399 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2400 (gomoku-score-trans-table, gomoku-winning-threshold)
2401 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2402
2403 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2404
2405 * emacs-lisp/package.el: Don't put built-in packages in
2406 package-alist, to avoid loading inefficiencies.
2407 (package-built-in-p): Make VERSION optional, and treat it as a
2408 minimum acceptable version.
2409 (package-activate): Search separately for built-in packages.
2410 Emit a warning if a dependency fails.
2411 (define-package): Handle most common case, where there is no
2412 obsolete package, first.
2413 (package-compute-transaction): Print required version in error.
2414 (package--initialized): New variable.
2415 (list-packages): Use it.
2416 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2417 built-in packages in packages-alist; keep it separate.
2418 Set package--initialized.
2419 (describe-package): Avoid activating packages as a side-effect.
2420 Search separately for built-in packages.
2421 (describe-package-1): Handle the case where an elpa package is
2422 simultaneously built-in and available/installed.
2423 (package-installed-p, package--generate-package-list):
2424 Search separately for built-in packages.
2425 (package-load-descriptor): Doc fix.
2426
2427 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2430 Handle __DATA__ and __END__.
2431
2432 2010-11-02 Noah Friedman <friedman@splode.com>
2433
2434 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2435 nil, do not ask to recompile files that are not already compiled,
2436 and do not recompile them.
2437
2438 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2439
2440 * emacs-lisp/package.el (package-initialize): Ensure that
2441 obsoleted built-in packages are not in package-activated-list
2442 during activation.
2443 (describe-package-1): Make the "installed" status override
2444 "built-in".
2445
2446 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2447
2448 * subr.el (version-separator, version-regexp-alist): Remove '*'
2449 from docstring.
2450 (version-list-<=, version<=, version=): Doc fix.
2451
2452 2010-11-01 Kenichi Handa <handa@m17n.org>
2453
2454 * faces.el (glyphless-char): Inherit underline for tty.
2455
2456 2010-11-01 Kenichi Handa <handa@m17n.org>
2457
2458 Implement various display methods for glyphless characters.
2459
2460 * international/characters.el (char-acronym-table): New variable.
2461 (glyphless-char-control): New variable.
2462 (update-glyphless-char-display): New funciton.
2463
2464 * faces.el (glyphless-char): New face.
2465
2466 2010-11-01 Glenn Morris <rgm@gnu.org>
2467
2468 * calendar/holidays.el (general-holidays, oriental-holidays)
2469 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2470 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2471 the definitions of their targets.
2472
2473 * emacs-lisp/smie.el (smie): New custom group.
2474 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2475
2476 * faces.el (xw-defined-colors, x-setup-function-keys):
2477 * mouse-sel.el (x-select-text):
2478 * term/w32console.el (x-setup-function-keys): Update declarations.
2479
2480 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2481
2482 * textmodes/ispell.el (comment-add): Declare.
2483
2484 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2485 Declare.
2486
2487 * info.el (finder-keywords-hash, package-alist): Declare.
2488
2489 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2490
2491 * finder.el (finder-compile-keywords): Don't use intern-soft,
2492 since package names may not yet exist in the obarray.
2493
2494 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2495
2496 * vc/vc-arch.el (vc-arch-checkin):
2497 * vc/vc-cvs.el (vc-cvs-checkin):
2498 * vc/vc-mtn.el (vc-mtn-checkin):
2499 * vc/vc-rcs.el (vc-rcs-checkin):
2500 * vc/vc-sccs.el (vc-sccs-checkin):
2501 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2502 since 2010-04-21 commit by Stefan Monnier.
2503
2504 2010-11-01 Glenn Morris <rgm@gnu.org>
2505
2506 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2507
2508 * startup.el (package-enable-at-startup, package-initialize):
2509 Silence compiler.
2510
2511 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2512 Silence compiler.
2513
2514 2010-10-31 Julien Danjou <julien@danjou.info>
2515
2516 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2517 (byte-recompile-directory):
2518 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2519 Use `byte-recompile-file'.
2520
2521 2010-10-31 Glenn Morris <rgm@gnu.org>
2522
2523 * cus-start.el: Handle standard values via a keyword.
2524 Only set version property if specified.
2525 (cursor-in-non-selected-windows, menu-bar-mode)
2526 (tool-bar-mode, show-trailing-whitespace):
2527 Do not specify standard values.
2528 (transient-mark-mode, temporary-file-directory): Use :standard.
2529
2530 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2531
2532 * term/x-win.el (x-get-selection-value): New function that gets
2533 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2534
2535 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2538 preserve owner and group when editing files. (Bug#7289)
2539
2540 2010-10-31 Glenn Morris <rgm@gnu.org>
2541
2542 * speedbar.el (speedbar-mode):
2543 * play/fortune.el (fortune-in-buffer, fortune):
2544 * play/gomoku.el (gomoku-mode):
2545 * play/landmark.el (lm-mode):
2546 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2547 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2548
2549 * select.el (x-selection): Mark it as an obsolete alias.
2550
2551 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2552
2553 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2554 major-mode (bug#7284).
2555
2556 2010-10-31 Glenn Morris <rgm@gnu.org>
2557
2558 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2559 rather than just an unused variable that inherits from the real one.
2560
2561 2010-10-31 Alan Mackenzie <acm@muc.de>
2562
2563 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2564 This fixes bug #7185.
2565
2566 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2567
2568 * startup.el (command-line): Search for package directories, and
2569 don't load package.el if none are found.
2570
2571 * emacs-lisp/package.el (describe-package, list-packages):
2572 Call package-initialize if it has not been called yet.
2573
2574 2010-10-30 Alan Mackenzie <acm@muc.de>
2575
2576 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2577 which fontifies the tail of an enum.
2578 (c-basic-matchers-after): Insert a call to the above new function.
2579 This fixes bug #7264.
2580
2581 2010-10-30 Glenn Morris <rgm@gnu.org>
2582
2583 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2584 tool-bar-mode, transient-mark-mode. (Bug#7306)
2585 Include the :set property in the dumped Emacs.
2586
2587 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 SMIE: change indent rules format, improve smie-setup.
2590 * emacs-lisp/smie.el (smie-precs-precedence-table)
2591 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2592 Mark them pure so the tables gets built at compile time.
2593 (smie-bnf-precedence-table): Store the closer-alist in the table.
2594 (smie-prec2-levels): Preserve the closer-alist.
2595 (smie-blink-matching-open): Be more forgiving in case of indentation.
2596 (smie-hanging-p): Rename from smie-indent--hanging-p.
2597 (smie-bolp): Rename from smie-indent--bolp.
2598 (smie--parent, smie--after): New dynamic vars.
2599 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2600 (smie-indent-rules): Remove.
2601 (smie-indent--offset-rule): Remove fun.
2602 (smie-rules-function): New var.
2603 (smie-indent--rule): New fun.
2604 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2605 (smie-indent-exps): Use it.
2606 (smie-setup): Setup paren blinking; add keyword args for token
2607 functions; extract closer-alist from op-levels.
2608 (smie-indent-debug-log): Remove var.
2609 (smie-indent-debug): Remove fun.
2610 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2611 (prolog-smie-rules): New fun to replace it.
2612 (prolog-mode-variables): Simplify.
2613 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2614 it's setup automatically.
2615 (octave-smie-indent-rules): Remove.
2616 (octave-smie-rules): New fun to replace it.
2617 (octave-mode): Simplify.
2618
2619 2010-10-29 Glenn Morris <rgm@gnu.org>
2620
2621 * files.el (temporary-file-directory): Remove (already defined in C).
2622 * cus-start.el: Add temporary-file-directory.
2623
2624 * abbrev.el (abbrev-mode):
2625 * composite.el (auto-composition-mode):
2626 * menu-bar.el (menu-bar-mode):
2627 * simple.el (transient-mark-mode):
2628 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2629 that they do not define the associated variables twice.
2630 * simple.el (transient-mark-mode): Remove defvar.
2631 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2632 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2633 Handle multiple groups, and also custom-delayed-init-variables.
2634 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2635
2636 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2639 (pcase-if): Add one minor optimization.
2640 (pcase-split-equal): Rename from pcase-split-eq.
2641 (pcase-split-member): Rename from pcase-split-memq.
2642 (pcase-u1): Add strings to the member optimization.
2643 Add `guard' variant of predicates.
2644 (pcase-q1): Add string patterns.
2645
2646 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2649
2650 2010-10-28 Glenn Morris <rgm@gnu.org>
2651
2652 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2653 Move menu-bar related settings to ../menu-bar.el.
2654 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2655 Move ns-specific settings here from term/ns-win.el.
2656
2657 * simple.el (x-selection-owner-p): Remove unused declaration.
2658
2659 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 * minibuffer.el (completion-cycling): New var (bug#7266).
2662 (minibuffer-complete, completion--do-completion):
2663 Use completion--flush-all-sorted-completions.
2664 (minibuffer-complete): Only cycle if completion-cycling is set.
2665 (completion--flush-all-sorted-completions): Unset completion-cycling.
2666 (minibuffer-force-complete): Set completion-cycling.
2667 (completion-all-sorted-completions): Move declaration before first use.
2668
2669 2010-10-28 Leo <sdl.web@gmail.com>
2670
2671 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2672 which changes the order of matches seen by users (bug#7231).
2673
2674 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2675
2676 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2677 Don't confuse -omega as "-o mega".
2678
2679 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2680
2681 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2682 (log-edit-author): New dynamic var.
2683 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2684 to return the author if different from committer.
2685 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2686
2687 * play/landmark.el: Adjust commenting convention.
2688 (lm-nil-score): Rename from nil-score.
2689 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2690 (OOOOscore): Move into a let in lm-score-trans-table.
2691 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2692
2693 * electric.el (electric-indent-chars): Autoload.
2694 * progmodes/octave-mod.el (octave-mode):
2695 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2696 (ruby-mode-abbrev-table): Merge initialization and declaration.
2697
2698 2010-10-27 Glenn Morris <rgm@gnu.org>
2699
2700 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2701 variable.
2702
2703 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2704
2705 * term/ns-win.el: Restore require of cl when compiling.
2706 (menu-bar-final-items): Remove non-existent `windows' menu.
2707 (ns-handle-nxopen): Optionally handle the temp-case.
2708 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2709 (ns-insert-file, ns-find-file): Use `pop'.
2710
2711 2010-10-26 Glenn Morris <rgm@gnu.org>
2712
2713 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2714
2715 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2716
2717 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2718 global map.
2719 * term/common-win.el (x-setup-function-keys): Remove most of the
2720 keymappings. Comment on the remaining ones.
2721
2722 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2723
2724 * server.el (server-port): New option. (Bug#854)
2725 (server-start): Use server-port.
2726
2727 2010-10-26 Glenn Morris <rgm@gnu.org>
2728
2729 * term/ns-win.el (ns-version-string): Remove unused declaration.
2730 (ns-invocation-args): Change to x-invocation-args.
2731 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2732 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2733 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2734 Use x-invocation-args instead of ns-invocation-args.
2735 (ns-initialize-window-system, handle-args-function-alist):
2736 Use x-handle-args instead of ns-handle-args.
2737 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2738 * startup.el (command-line-ns-option-alist): Replace
2739 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2740 ns-handle-iconic with the x- equivalents.
2741
2742 * term/common-win.el (x-select-enable-clipboard):
2743 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2744
2745 * term/ns-win.el: No need to require cl when compiling.
2746 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2747 (xw-defined-colors): Use the common-win definitions.
2748 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2749 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2750 * term/common-win.el (x-select-text, x-alternatives-map)
2751 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2752 * loadup.el [ns]: Load common-win.
2753
2754 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2755
2756 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2757 recipients; expand mail aliases (Bug#7280).
2758
2759 2010-10-25 Glenn Morris <rgm@gnu.org>
2760
2761 * term/common-win.el (x-handle-switch): Simplify with pop.
2762 Optionally handle numeric switches.
2763 (x-handle-numeric-switch): Just call x-handle-switch.
2764 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2765 (x-handle-name-switch, x-handle-display, x-handle-args):
2766 Simplify with pop.
2767
2768 * term/ns-win.el: Do not require easymenu.
2769 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2770 <spell>: Move adjustments to menu-bar.el.
2771 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2772 <separator-undo, spell>: Move ns-win's adjustments here.
2773 * loadup.el [ns]: Do not load easymenu.
2774
2775 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2776
2777 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2778 Delete (Bug#7222).
2779
2780 * startup.el (fancy-startup-tail): Instead of using inline images,
2781 refer to image files from etc/.
2782
2783 * wid-edit.el (checkbox): Likewise.
2784 (widget-image-find): Center image specs.
2785
2786 2010-10-24 Glenn Morris <rgm@gnu.org>
2787
2788 * term/ns-win.el (x-select-text): Doc fix.
2789 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2790 (x-select-text): Move to term/common-win.
2791 * term/w32-win.el (xw-defined-colors): Move to common-win.
2792 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2793 (x-setup-function-keys, x-select-text): Move to common-win.
2794 * term/common-win.el (x-select-text, x-alternatives-map)
2795 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2796 definitions here.
2797
2798 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2799
2800 * net/mairix.el (mairix-searches-mode-map):
2801 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2802
2803 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2804
2805 * verilog-mode.el (verilog-directive-re): Make this variable
2806 auto-built for efficiency of execution and updating.
2807 (verilog-extended-complete-re): Support 'pure' fucntion & task
2808 declarations (these have no bodies).
2809 (verilog-beg-of-statement): General cleanup to enable support of
2810 'pure' fucntion & task declarations (these have no bodies).
2811 These efforts together fix Verilog bug210 from veripool; which was also
2812 noticed by Steve Pearlmutter.
2813 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2814 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2815 Support `elsif. Reported by Shankar Giri.
2816 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2817 attribute handling for lining up declarations and assignments.
2818 (verilog-beg-of-statement-1): Fix issue where continued declaration
2819 is indented differently if it is after a begin..end clock.
2820 (verilog-in-attribute-p, verilog-skip-backward-comments)
2821 (verilog-skip-forward-comment-p): Support proper treatment of
2822 attributes by indent code. Reported by Jeff Steele.
2823 (verilog-in-directive-p): Fix comment to correctly describe function.
2824 (verilog-backward-up-list, verilog-in-struct-region-p)
2825 (verilog-backward-token, verilog-in-struct-p)
2826 (verilog-in-coverage-p, verilog-do-indent)
2827 (verilog-pretty-declarations): Use verilog-backward-up-list as
2828 wrapper around backward-up-list inorder to properly skip comments.
2829 Reported by David Rogoff.
2830 (verilog-property-re, verilog-endcomment-reason-re)
2831 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2832 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2833 of if). Reported by Max Bjurling and
2834 (verilog-calc-1): Fix for clocking block in modport
2835 declaration. Reported by Brian Hunter.
2836
2837 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2838
2839 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2840 (verilog-gate-keywords, verilog-read-sub-decls)
2841 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2842 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2843 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2844 (verilog-read-decls): Fix spaces in V2K module parameters causing
2845 mis-identification as interfaces, bug287.
2846 (verilog-read-decls): Fix not treating "parameter string" as a
2847 parameter in AUTOINSTPARAM.
2848 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2849 treating `elsif similar to `endif inside AUTOSENSE.
2850 (verilog-do-indent): Implement correct automatic or static task or
2851 function end comment highlight. Reported by Steve Pearlmutter.
2852 (verilog-font-lock-keywords-2): Fix highlighting of single
2853 character pins, bug264. Reported by Michael Laajanen.
2854 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2855 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2856 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2857 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2858 (verilog-pretty-expr): Fix interactive arguments, bug272.
2859 Reported by Mark Johnson.
2860 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2861 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2862 bug269. Suggested by Gary Delp.
2863 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2864 (verilog-preprocessor, verilog-set-compile-command):
2865 Create verilog-preprocess and verilog-preprocessor to show
2866 preprocessed output.
2867 (verilog-get-beg-of-line, verilog-get-end-of-line)
2868 (verilog-modi-file-or-buffer, verilog-modi-name)
2869 (verilog-modi-point, verilog-within-string): Move defmacro's
2870 before first use to avoid warning. Reported by Steve Pearlmutter.
2871 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2872 (verilog-colorize-region, verilog-highlight-buffer)
2873 (verilog-highlight-includes, verilog-highlight-modules)
2874 (verilog-highlight-region, verilog-mode): Rename colorize to
2875 highlight to match other packages. Disable module highlighting,
2876 as received speed complaints, reenable for experimentation only
2877 using new verilog-highlight-modules.
2878 (verilog-read-decls): Fix regexp stack overflow in very large
2879 AUTO_TEMPLATEs, bug250.
2880 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2881 (verilog-scan): Create verilog-save-buffer-state to standardize
2882 making insignificant changes that shouldn't call hooks.
2883 (verilog-save-no-change-functions, verilog-save-scan-cache)
2884 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2885 Create verilog-save-no-change-functions to wrap verilog-scan
2886 preservation, and fix to work with nested preserved calls.
2887 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2888 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2889 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2890 (verilog-submit-bug-report): Update variable list to be complete.
2891 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2892 breaking on-the-fly font-locking.
2893 (verilog-colorize-buffer, verilog-colorize-include-files)
2894 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2895 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2896 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2897 AUTOINST cell instance name, middle mouse button now finds-file on
2898 it. Suggested by Brad Dobbie.
2899 (verilog-alw-get-temps, verilog-auto-reset)
2900 (verilog-auto-sense-sigs, verilog-read-always-signals)
2901 (verilog-read-always-signals-recurse): Fix loop indexes being
2902 AUTORESET. AUTORESET now assumes any variables in the
2903 initialization section of a for() should be ignored.
2904 Reported by Dan Dever.
2905 (verilog-error-font-lock-keywords)
2906 (verilog-error-regexp-emacs-alist)
2907 (verilog-error-regexp-xemacs-alist): Fix error detection of
2908 Cadence HAL, reported by David Asher. Repair drift between the
2909 three similar error variables.
2910 (verilog-modi-lookup, verilog-modi-lookup-cache)
2911 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2912 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2913 Fix slow verilog-auto expansion on very large files.
2914 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2915 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2916 "{1*2{...". Broke in last revision.
2917 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2918 submodule connections with replications "{#{a},#{b}}".
2919
2920 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2921
2922 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2923 Fix typo in docstring.
2924
2925 2010-10-24 Kenichi Handa <handa@m17n.org>
2926
2927 * face-remap.el (text-scale-adjust): Call read-event with a proper
2928 prompt.
2929
2930 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2931
2932 * emacs-lisp/unsafep.el: Don't mark functions that display
2933 messages as safe. Suggested by Johan Bockgård.
2934
2935 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2938 Turn comments into docstrings.
2939
2940 * minibuffer.el (completion--replace): Move point where it belongs
2941 when there's a common suffix (bug#7215).
2942
2943 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2944
2945 Merge read-color and facemenu-read-color (Bug#7242).
2946
2947 * faces.el (read-color): Use the completion code from
2948 facemenu-read-color. Require match in completion. Doc fix.
2949
2950 * facemenu.el (facemenu-read-color): Alias for read-color.
2951 (facemenu-set-foreground, facemenu-set-background):
2952 Use read-color.
2953
2954 * frame.el (set-background-color, set-foreground-color)
2955 (set-cursor-color, set-mouse-color, set-border-color):
2956 Use read-color.
2957
2958 2010-10-24 Leo <sdl.web@gmail.com>
2959
2960 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2961 argument of delete-file and delete-directory (Bug#7011).
2962
2963 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2964
2965 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2966 button-buffer-map.
2967
2968 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2969
2970 * emacs-lisp/package.el (package--generate-package-list): Make the
2971 *Packages* buffer read-only.
2972
2973 2010-10-24 Alan Mackenzie <acm@muc.de>
2974
2975 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2976 result of `c-beginning-of-decl-1' between invocations of a lambda
2977 function (Bug #7265).
2978
2979 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2980
2981 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2982 executable is not available on the system (Bug#7268).
2983
2984 2010-10-24 Glenn Morris <rgm@gnu.org>
2985
2986 * select.el (selection-coding-system, next-selection-coding-system):
2987 Sync doc with C versions.
2988
2989 * w32-vars.el (x-select-enable-clipboard):
2990 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2991 * term/common-win.el (x-select-enable-clipboard): Move here.
2992
2993 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2994 definition of C variable.
2995
2996 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2997 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2998 Don't redefine things that are defined in C.
2999 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3000 (show-trailing-whitespace, auto-hscroll-mode)
3001 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3002 Set up the appropriate custom properties.
3003
3004 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3005
3006 Bind "C-c ]" to ...
3007 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3008 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3009 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3010 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3011
3012 2010-10-23 Glenn Morris <rgm@gnu.org>
3013
3014 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3015 say what it was.
3016
3017 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3018 Sync docs with C version.
3019
3020 * term/ns-win.el (xw-defined-colors):
3021 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3022
3023 * term/pc-win.el (x-select-enable-clipboard):
3024 * term/x-win.el (x-select-enable-clipboard):
3025 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3026
3027 * comint.el (comint-password-prompt-regexp): Make it less vague.
3028 Bump version.
3029
3030 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3031
3032 * help.el (finder-by-keyword): Remove unnecessary autoload.
3033
3034 2010-10-22 Glenn Morris <rgm@gnu.org>
3035
3036 * loadup.el: Unconditionally load float-sup.
3037 * paren.el (show-paren-delay):
3038 * emacs-lisp/float-sup.el:
3039 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3040 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3041 (lazy-lock-stealth-verbose): Assume float support.
3042 * ps-print.el: Assume float support on Emacs.
3043 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3044 Remove non-float branch.
3045
3046 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3047 src/Makefile no longer being pre-processed.
3048
3049 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * emacs-lisp/find-func.el (find-library): Use test-completion.
3052
3053 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3054
3055 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3056
3057 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3058
3059 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3060 space in stat format string.
3061 (tramp-send-command): Unset $PS1 when using here documents, in
3062 order not to get several prompts.
3063 (tramp-get-inline-coding): Return `nil' in case of errors.
3064
3065 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3066
3067 * hexl.el (hexl-mode, hexl-mode-exit):
3068 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3069 (hexl-revert-buffer-function): New function.
3070 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3071
3072 2010-10-19 Alan Mackenzie <acm@muc.de>
3073
3074 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3075 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3076 that these keywords aren't wrongly matched as identifiers.
3077
3078 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3079 setting of c-new-BEG and c-new-END from c-before-change to
3080 c-after-change. (Bug#7181)
3081
3082 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3083
3084 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3085 Don't mark as safe.
3086
3087 * custom.el (custom-theme-set-variables): Likewise.
3088 (load-theme): Add custom-theme-set-faces and
3089 custom-theme-set-variables to safe-functions while loading.
3090 (custom-enabled-themes): Mark as risky.
3091
3092 2010-10-18 Julien Danjou <julien@danjou.info>
3093
3094 * bindings.el: Remove end dashes in default mode-line-format.
3095
3096 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3097
3098 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3099 to delete-forward-char.
3100
3101 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3102 deletechar, and hence delete-forward-char.
3103
3104 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * repeat.el (repeat): Use read-key (bug#6256).
3107
3108 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3109
3110 * emacs-lisp/unsafep.el: Don't mark functions that display
3111 messages as safe. Suggested by Johan Bockgård.
3112
3113 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * minibuffer.el (completion--replace): Move point where it belongs
3116 when there's a common suffix (bug#7215).
3117
3118 2010-10-19 Kenichi Handa <handa@m17n.org>
3119
3120 * international/characters.el: Add category '|' (word breakable)
3121 to fullwidth characters.
3122
3123 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3124
3125 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3126 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3127 order to make stat results a float. Patch by Andreas Schwab
3128 <schwab@linux-m68k.org>.
3129
3130 2010-10-18 Julien Danjou <julien@danjou.info>
3131
3132 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3133 hidden by `make-pointer-invisible'.
3134
3135 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * files.el (locate-file-completion-table): Strip non-matching elements
3138 before checking length of list (bug#7238).
3139
3140 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3141
3142 * custom.el (custom-theme-set-variables): Mark as a safe function.
3143 (load-theme): Check forms using unsafep.
3144
3145 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3146
3147 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3148
3149 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3150 Fix aspell data file searching (bug#7230).
3151
3152 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3153
3154 * cus-theme.el (custom-theme--migrate-settings): New var.
3155 (customize-create-theme): Allow editing the `user' theme.
3156 (custom-theme-add-variable, custom-theme-add-var-1)
3157 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3158 to the front of each variable or face widget.
3159 (custom-theme-write): Save theme settings in the correct order.
3160 Optionally, remove saved settings from user customizations.
3161 (custom-theme-write-variables, custom-theme-write-faces):
3162 Save only the checked widgets.
3163 (customize-themes): Add a link for migrating custom settings.
3164
3165 * custom.el (custom-declare-theme, provide-theme):
3166 Use custom-theme-name-valid-p.
3167 (custom-theme-name-valid-p): Remove checks that are now
3168 unnecessary since themes no longer obey load-path.
3169
3170 * cus-edit.el (custom-variable-value-create): For the simple
3171 style, hide documentation string when hidden.
3172
3173 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3174
3175 * cus-edit.el (custom-variable, custom-face): Combine the
3176 :inhibit-magic and :display-style properties into a single
3177 :custom-style property.
3178 (custom-toggle-hide-variable, custom-toggle-hide-face):
3179 New functions. If hiding an edited value, save it to :shown-value.
3180 (custom-variable-value-create, custom-face-value-create): Use them.
3181 (custom-magic-reset): Allow magic property to be unset.
3182
3183 * custom.el: Custom themes no longer use load-path.
3184 (custom-theme-load-path): New option. Change built-in theme
3185 directory to etc/.
3186 (custom-enabled-themes): Add custom-theme-load-path dependency.
3187 (custom-theme--load-path): New function.
3188 (load-theme, custom-available-themes): Use it.
3189
3190 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3191 (customize-themes): Link to custom-theme-load-path variable.
3192 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3193 :custom-style property.
3194
3195 * themes/*.el: Moved to etc/.
3196
3197 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3198
3199 * textmodes/reftex-cite.el
3200 (reftex-extract-bib-entries-from-thebibliography): Do not move
3201 point when searching for \bibitem entries. Match entries with
3202 spaces or tabs in front of arguments.
3203
3204 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3205
3206 * cus-theme.el (customize-create-theme): Delete overlays after
3207 erasing. If given a THEME arg, display only the faces of that arg
3208 instead of custom-theme--listed-faces.
3209 (custom-theme-variable-menu, custom-theme-variable-action)
3210 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3211 (custom-theme-add-variable, custom-theme-add-face): Apply value
3212 from the theme settings, instead of the current value.
3213 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3214 (custom-theme-visit-theme): Allow calling outside theme buffers.
3215 (custom-theme-merge-theme): Don't enable the theme when merging.
3216 (custom-theme-write-variables, custom-theme-write-faces): Use the
3217 :shown-value properties to save buffer values, not global ones.
3218 (customize-themes): Display a warning about user customizations.
3219
3220 * cus-edit.el (custom-variable-value-create)
3221 (custom-face-value-create): Obey new special properties
3222 :shown-value and :inhibit-magic.
3223
3224 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3225
3226 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3227 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3228 <dale@codefu.org>.
3229
3230 2010-10-14 Kenichi Handa <handa@m17n.org>
3231
3232 * mail/rmail.el (rmail-show-message-1): Catch an error of
3233 base64-decode-region and just show an error message (bug#7165).
3234
3235 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3236 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3237 a font-spec (bug#7197).
3238
3239 2010-10-14 Glenn Morris <rgm@gnu.org>
3240
3241 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3242
3243 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3244
3245 * international/mule.el (define-coding-system):
3246 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3247 * composite.el (compose-region): Fix typo in docstring.
3248
3249 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3250
3251 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3252 only after checking the theme-face property.
3253
3254 * faces.el (face-spec-reset-face): Reset all attributes in one
3255 single call to set-face-attribute.
3256 (face-spec-match-p): Make it a defsubst.
3257 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3258 (x-create-frame-with-faces, tty-create-frame-with-faces)
3259 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3260 frame-set-background-mode, since they are recomputed immediately
3261 afterwards in face-set-after-frame-default.
3262 (face-set-after-frame-default): Minor optimization.
3263 (cursor): Provide non-trivial defface spec.
3264
3265 * custom.el (custom-theme-recalc-face): Simplify.
3266
3267 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3268
3269 * calc/calc-alg.el (math-var): Rename from `var'.
3270 (math-is-polynomial, math-is-poly-rec): Replace `var'
3271 with `math-var'.
3272
3273 * calc/calcalg2.el (math-var): Rename from `var'.
3274 (calcFunc-table, math-scan-for-limits): Replace `var'
3275 with `math-var'.
3276
3277 2010-10-13 Glenn Morris <rgm@gnu.org>
3278
3279 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3280
3281 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3282
3283 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3284
3285 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3286
3287 * net/tls.el (tls-program): Remove spurious %s from openssl.
3288 (tls-starttls-switches): Remove starttls hack.
3289 (open-tls-stream): Ditto.
3290 (tls-find-starttls-argument): Ditto.
3291
3292 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3293
3294 * image.el (image-library-alist): Declare as obsolete alias.
3295 (image-type-available-p): Use `dynamic-library-alist'.
3296
3297 * term/w32-win.el (dynamic-library-alist):
3298 Use instead of `image-library-alist'.
3299
3300 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3301
3302 * subr.el (last): Make it faster. (Bug#7174)
3303
3304 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3305
3306 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3307
3308 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3309
3310 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3311 (describe-theme-1): Extract doc from unloaded themes.
3312
3313 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3314
3315 * themes/tango-theme.el:
3316 * themes/tango-dark-theme.el:
3317 * themes/wheatgrass-theme.el: New files.
3318
3319 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3320
3321 * cus-theme.el (describe-theme, customize-themes)
3322 (custom-theme-save): New commands.
3323 (custom-new-theme-mode-map): Bind C-x C-s.
3324 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3325 (customize-create-theme): New optional arg THEME.
3326 (custom-theme-revert): Use it.
3327 (custom-theme-visit-theme): Remove dead code.
3328 (custom-theme-merge-theme): Use custom-available-themes.
3329 (custom-theme-write): Make interactive.
3330 (custom-theme-write): Use custom-theme-name-valid-p.
3331 (describe-theme-1, custom-theme-choose-revert)
3332 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3333 New funs.
3334 (custom-theme-allow-multiple-selections): New option.
3335 (custom-theme-choose-mode): New major mode.
3336
3337 * custom.el (custom-theme-set-variables): Remove dead code.
3338 Obey custom--inhibit-theme-enable.
3339 (custom--inhibit-theme-enable): New var.
3340 (provide-theme): Obey it.
3341 (load-theme): Replace load with manual read/eval, in order to
3342 check for correctness. Use custom-theme-name-valid-p.
3343 (custom-theme-name-valid-p): New function.
3344 (custom-available-themes): Use it.
3345
3346 * cus-edit.el (custom--initialize-widget-variables): New function.
3347 (Custom-mode): Use it.
3348
3349 * cus-face.el (custom-theme-set-faces): Remove dead code.
3350 Obey custom--inhibit-theme-enable.
3351
3352 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3353
3354 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3355
3356 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3357
3358 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3359
3360 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3361 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3362 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3363
3364 * cus-start.el (all): ns-right-alternate-modifier is new.
3365
3366 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * emacs-lisp/lisp.el (lisp-completion-at-point):
3369 Use emacs-lisp-mode-syntax-table for the whole function.
3370
3371 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3372
3373 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3374 instead of font-lock-mode before adding keywords.
3375 Remove hi-lock-mode off code. Remove inhibit hack.
3376 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3377 non-nil; removed hook inhibit hack.
3378
3379 2010-10-12 Glenn Morris <rgm@gnu.org>
3380
3381 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3382 (load-path-shadows-find): ... to this.
3383 (list-load-path-shadows): Update for above change.
3384
3385 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3386
3387 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3388
3389 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3390 Fix comment for declare-function.
3391
3392 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3393
3394 * custom.el (custom-fix-face-spec): New function; code moved from
3395 custom-face-edit-fix-value.
3396 (custom-push-theme): Use it when checking if a face has been
3397 changed outside customize.
3398 (custom-available-themes): New function.
3399 (load-theme): Use it.
3400
3401 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3402
3403 * custom.el (custom-push-theme): Cleanup (use cond).
3404 (disable-theme): Recompute the saved-face property.
3405 (custom-theme-recalc-face): Follow face alias before setting prop.
3406
3407 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3408 New variables, containing checkbox images.
3409
3410 * startup.el (fancy-startup-tail):
3411 * wid-edit.el (checkbox): Use them.
3412
3413 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3414
3415 * shell.el (shell-mode-map):
3416 * progmodes/modula2.el (m2-mode-map):
3417 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3418 * play/mpuz.el (mpuz-mode-map):
3419 * play/landmark.el (lm-mode-map):
3420 * play/decipher.el (decipher-mode-map):
3421 * play/5x5.el (5x5-mode-map):
3422 * net/telnet.el (telnet-mode-map):
3423 * net/quickurl.el (quickurl-list-mode-map):
3424 * net/mairix.el (mairix-searches-mode-map):
3425 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3426 * net/dig.el (dig-mode-map):
3427 * mail/mspools.el (mspools-mode-map):
3428 * hexl.el (hexl-mode-map):
3429 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3430 (wordstar-C-o-map, wordstar-C-q-map):
3431 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3432 * emacs-lisp/chart.el (chart-map):
3433 * edmacro.el (edmacro-mode-map):
3434 * erc/erc-list.el (erc-list-menu-mode-map):
3435 * array.el (array-mode-map): Declare and define in one step.
3436
3437 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3438
3439 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3440
3441 * epa.el (epa-passphrase-callback-function): Display filename
3442 passed as the 3rd arg.
3443 * epa-file.el (epa-file-passphrase-callback-function):
3444 Pass filename to epa-passphrase-callback-function.
3445
3446 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3447
3448 * cus-edit.el (custom-face-widget-to-spec)
3449 (custom-face-get-current-spec, custom-face-state): New functions.
3450 (custom-face-set, custom-face-mark-to-save)
3451 (custom-face-value-create, custom-face-state-set): Use them.
3452
3453 * cus-theme.el (custom-theme--listed-faces): New var.
3454 (customize-create-theme): Use *Custom Theme* as the buffer name.
3455 Set revert-buffer-function. Optional arg BUFFER. Insert all
3456 faces listed in custom-theme--listed-faces.
3457 (custom-theme-revert): New function.
3458 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3459 bottom of the list.
3460 (custom-theme-write): Prompt for theme name if empty.
3461 (custom-theme-write-variables): Use dolist.
3462 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3463
3464 2010-10-09 Alan Mackenzie <acm@muc.de>
3465
3466 Enhance fontification of declarators to take account of the
3467 presence/absence of "typedef".
3468
3469 * cc-engine.el (c-forward-type): New &optional param
3470 "brace-block-too".
3471 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3472 presence of either or both of a "struct"-like keyword and "typedef".
3473
3474 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3475 fontification of declarators which follow a "}".
3476 (c-font-lock-declarations): Fontify declarators according to the
3477 presence/absence of "typedef".
3478
3479 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3480 for "typedef".
3481 (c-typedef-decl-key): New lang variable built from
3482 c-typedef-decl-kwds.
3483
3484 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3485
3486 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3487 since that's too annoying. Move the filter groups commands to
3488 TAB/backtab.
3489
3490 * epa.el (epa-passphrase-callback-function): Say what we're
3491 querying the password for.
3492
3493 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3494 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3495
3496 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3497
3498 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3499 (custom-magic-value-create): Pad button tags with spaces.
3500 (custom-face-edit): New variable.
3501 (custom-face-value-create): Determine whether to use the usual
3502 face editor here, instead of using custom-face-selected.
3503 Pass face defaults to custom-face-edit widget.
3504 (custom-face-selected, custom-display-unselected): Delete widgets.
3505 (custom-display-unselected-match): Function removed.
3506 (custom-face-set, custom-face-mark-to-save):
3507 Accept custom-face-edit widgets as the direct widget child.
3508
3509 * wid-edit.el (widget--completing-widget): New var.
3510 (widget-default-complete): Bind it when doing completion.
3511 (widget-string-complete, widget-file-complete): Use it.
3512
3513 2010-10-09 Glenn Morris <rgm@gnu.org>
3514
3515 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3516 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3517 (holiday-hebrew-misc): Small simplifications.
3518
3519 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3520
3521 * net/browse-url.el: Don't require thingatpt, term, dired,
3522 executable, or w3-auto when compiling.
3523 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3524 Declare.
3525 (browse-url-text-emacs): Require term.
3526
3527 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3528
3529 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3530
3531 2010-10-08 Glenn Morris <rgm@gnu.org>
3532
3533 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3534
3535 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3536 (shadows-compare-text-p): Make it an obsolete alias for...
3537 (load-path-shadows-compare-text): ... new name.
3538 (find-emacs-lisp-shadows): Update for above name change.
3539 (load-path-shadows-same-file-or-nonexistent): New name for the old
3540 shadow-same-file-or-nonexistent.
3541
3542 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3543
3544 * minibuffer.el (completion--some, completion--do-completion)
3545 (minibuffer-complete-and-exit, minibuffer-completion-help)
3546 (completion-basic-try-completion)
3547 (completion-basic-all-completions)
3548 (completion-pcm--find-all-completions): Use lexical-let to
3549 avoid some false matches in variable completion (Bug#7056)
3550
3551 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3552
3553 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3554
3555 2010-10-08 Leo <sdl.web@gmail.com>
3556
3557 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3558 return non-nil if the file exists (Bug#7090).
3559
3560 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3561
3562 * minibuffer.el (completion--replace):
3563 Better preserve markers (bug#7138).
3564
3565 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3566
3567 * server.el (server-process-filter): Doc fix.
3568
3569 2010-10-08 Drew Adams <drew.adams@oracle.com>
3570
3571 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3572
3573 2010-10-08 Glenn Morris <rgm@gnu.org>
3574
3575 * vc/ediff-wind.el (ediff-setup-control-frame):
3576 * vc/ediff-ptch.el (ediff-default-backup-extension):
3577 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3578 (ediff-exec-process): Remove system-types emx, windows-95.
3579
3580 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3581
3582 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3583
3584 * cus-edit.el (custom-variable, custom-face): Doc fix.
3585 (custom-face-edit): Add value-create attribute.
3586 (custom-face-edit-value-create)
3587 (custom-face-edit-value-visibility-action): New functions.
3588 Hide unused face attributes by default, and add a visibility toggle.
3589 (custom-face-edit-deactivate): Show empty values with shadow face.
3590 (custom-face-selected): Only use this for face specs with default
3591 attributes.
3592 (custom-face-value-create): Cleanup.
3593
3594 * wid-edit.el (widget-checklist-value-create): Use dolist.
3595 (widget-checklist-match-find): Make second arg optional.
3596
3597 2010-10-07 Glenn Morris <rgm@gnu.org>
3598
3599 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3600 Prefix things.
3601
3602 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3603 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3604 load-path-shadows-mode, update references.
3605 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3606 Rename variable and button.
3607 (list-load-path-shadows): Update button caller.
3608
3609 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3610
3611 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3612 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3613 (smie-merge-prec2s): Handle those new entries.
3614 (smie-prec2-levels): Only set precedence to nil for actual
3615 openers/closers.
3616 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3617 that is now unnecessary.
3618
3619 2010-10-07 Miles Bader <miles@gnu.org>
3620
3621 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3622
3623 2010-10-07 Glenn Morris <rgm@gnu.org>
3624
3625 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3626 (mail-position-on-field): Remove declarations.
3627 (mail-position-on-field): Autoload it.
3628 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3629 and mail-header-end. Don't require sendmail.
3630
3631 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3632 (shadow-mode): New mode.
3633 (shadow-find-file): New button.
3634 (list-load-path-shadows): Use shadow-mode and buttons.
3635
3636 * iimage.el (iimage-version): Remove.
3637 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3638 Turn into defcustoms.
3639 (iimage-mode-map): Give it a doc string.
3640
3641 * calendar/appt.el (appt-activate): Give a warning rather than an error
3642 if there is no diary-file.
3643
3644 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3645
3646 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3647 Use `tramp-handle-find-backup-file-name'.
3648
3649 2010-10-06 Glenn Morris <rgm@gnu.org>
3650
3651 * font-core.el (font-lock-defaults-alist): Remove variable.
3652 (font-lock-mode): Doc fix.
3653 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3654 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3655 (font-lock-set-defaults): Doc fix.
3656 Do not consult font-lock-defaults-alist.
3657
3658 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3659
3660 * emacs-lisp/cl.el: No longer provide cl-19.
3661
3662 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3663
3664 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3665 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3666 New defuns, taken from tramp-smb.el.
3667 (tramp-coding-system-change-eol-conversion)
3668 (tramp-set-process-query-on-exit-flag): Remove.
3669
3670 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3671 (tramp-compat-coding-system-change-eol-conversion)
3672 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3673 from tramp.el.
3674
3675 * net/tramp-gvfs.el:
3676 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3677 by `tramp-compat-set-process-query-on-exit-flag'.
3678
3679 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3680 Use `tramp-handle-directory-files-and-attributes',
3681 `tramp-handle-file-exists-p' and
3682 `tramp-handle-file-newer-than-file-p'.
3683 (tramp-imap-handle-file-exists-p)
3684 (tramp-imap-handle-file-executable-p)
3685 (tramp-imap-handle-file-readable-p)
3686 (tramp-imap-handle-directory-files-and-attributes)
3687 (tramp-imap-handle-file-newer-than-file-p): Remove.
3688
3689 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3690 by `tramp-compat-set-process-query-on-exit-flag' and
3691 `tramp-coding-system-change-eol-conversion' by
3692 `tramp-compat-coding-system-change-eol-conversion'.
3693
3694 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3695 Use `tramp-handle-directory-files-and-attributes',
3696 `tramp-handle-file-exists-p' and
3697 `tramp-handle-file-newer-than-file-p'.
3698 (tramp-smb-handle-directory-files-and-attributes)
3699 (tramp-smb-handle-file-exists-p)
3700 (tramp-smb-handle-file-newer-than-file-p): Remove.
3701 (tramp-smb-maybe-open-connection):
3702 Replace `tramp-set-process-query-on-exit-flag' by
3703 `tramp-compat-set-process-query-on-exit-flag'.
3704
3705 2010-10-05 Glenn Morris <rgm@gnu.org>
3706
3707 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3708
3709 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3710
3711 Continue reorganization of load dependencies. (Bug#7156)
3712
3713 * net/tramp.el (tramp-handle-file-local-copy-hook)
3714 (tramp-delete-temp-file-function): Move down.
3715 (tramp-exists-file-name-handler): Move up.
3716 (tramp-register-file-name-handlers): Simplify autoload.
3717 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3718 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3719 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3720 (tramp-handle-file-name-completion)
3721 (tramp-handle-file-name-directory)
3722 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3723 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3724 (tramp-handle-find-backup-file-name)
3725 (tramp-handle-insert-file-contents, tramp-handle-load)
3726 (tramp-handle-substitute-in-file-name)
3727 (tramp-handle-unhandled-file-name-directory)
3728 (tramp-mode-string-to-int, tramp-local-host-p)
3729 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3730
3731 * net/tramp-gvfs.el (top):
3732 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3733
3734 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3735 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3736
3737 2010-10-04 Glenn Morris <rgm@gnu.org>
3738
3739 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3740 (appt-activate): Give status messages.
3741
3742 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3743
3744 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3745 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3746 `gnutls-negotiate' (formerly `starttls-negotiate').
3747 Remove trivial wrapper `starttls-open-stream'.
3748
3749 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3750
3751 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3752 log-outgoing commands.
3753 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3754 to create a buffer local revert-buffer-function variable.
3755 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3756 revert-buffer-function lambda.
3757
3758 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3759
3760 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3761 `gnutls-boot'. Make TYPE the only required parameter.
3762 Allow TRUSTFILES and KEYFILES to be lists.
3763 (open-ssl-stream): Use it.
3764
3765 2010-10-03 Glenn Morris <rgm@gnu.org>
3766
3767 * subr.el (directory-sep-char): Remove obsolete variable.
3768 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3769 it is "necessary".
3770
3771 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3772 * vc/vc.el (vc-static-header-alist): Doc fix.
3773 * vc/vc-cvs.el (vc-cvs-header):
3774 * vc/vc-rcs.el (vc-rcs-header):
3775 * vc/vc-sccs.el (vc-sccs-header):
3776 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3777 * obsolete/vc-mcvs.el (vc-mcvs-header):
3778 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3779 on XEmacs.
3780
3781 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3782
3783 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3784 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3785
3786 2010-10-03 Glenn Morris <rgm@gnu.org>
3787
3788 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3789
3790 * textmodes/rst.el (rst-font-lock-keywords-function):
3791 Drop Emacs 20 code.
3792
3793 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3794
3795 * printing.el: Drop Emacs 20 code.
3796
3797 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3798 without having used appt.el already).
3799
3800 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3801 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3802 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3803 XEmacs.
3804 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3805 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3806
3807 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3808 (charset-width, find-charset-region, chars-in-region, forward-point)
3809 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3810 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3811 Remove compatibility cruft (none of these are used by ps*.el).
3812
3813 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3814
3815 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3816
3817 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3818
3819 * server.el (server-process-filter, server-return-error):
3820 Give emacsclient time to shut down after receiving an error string.
3821
3822 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3823
3824 * files.el (remote-file-name-inhibit-cache): New defcustom.
3825
3826 * time.el (display-time-file-nonempty-p):
3827 Use `remote-file-name-inhibit-cache'.
3828
3829 * net/tramp.el (tramp-completion-reread-directory-timeout):
3830 Fix docstring.
3831
3832 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3833 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3834 `remote-file-name-inhibit-cache'. Check also for an integer
3835 value. Add/increase counter when `tramp-verbose' >= 10.
3836 (tramp-set-file-property): Add/increase counter when
3837 `tramp-verbose' >= 10.
3838
3839 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3840 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3841 (tramp-bug): Set tramp-autoload cookie. Report all interned
3842 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3843 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3844 characters only in strings.
3845
3846 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3847 to backward compatibility.
3848
3849 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3850 (tramp-handle-file-name-all-completions)
3851 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3852 (tramp-open-connection-setup-interactive-shell):
3853 Call `tramp-cleanup-connection' directly.
3854
3855 2010-10-02 Glenn Morris <rgm@gnu.org>
3856
3857 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3858
3859 * subr.el (char-bytes): Remove obsolete function.
3860
3861 * isearch.el (isearch-return-char): Remove obsolete function.
3862
3863 * mouse.el: No longer provide mldrag.
3864 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3865 Remove obsolete aliases.
3866
3867 * comint.el (comint-kill-output): Remove obsolete alias.
3868
3869 * composite.el (decompose-composite-char): Remove obsolete function.
3870 * ps-def.el (decompose-composite-char): Remove unused function.
3871
3872 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3873
3874 * outline.el (outline-visible): Remove obsolete function.
3875
3876 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3877 * faces.el (internal-find-face, internal-get-face)
3878 (frame-update-faces, frame-update-face-colors)
3879 (x-frob-font-weight, x-frob-font-slant)
3880 (internal-frob-font-weight, internal-frob-font-slant)
3881 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3882 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3883 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3884 since Emacs 21.1.
3885 * emulation/viper-util.el (viper-get-face):
3886 * obsolete/lucid.el (find-face, get-face): Use facep.
3887 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3888 Remove unused functions.
3889 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3890
3891 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3892 delete tempfile if interrupted during compilation.
3893
3894 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3895
3896 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3897 gnutls-cli.
3898 (tls-program): Add --insecure to be consistent with the defaults from
3899 openssl s_client. Now all three commands are insecure.
3900
3901 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3902
3903 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3904 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3905 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3906
3907 2010-10-01 Glenn Morris <rgm@gnu.org>
3908
3909 * obsolete/sc.el: Remove file.
3910
3911 * files.el (temporary-file-directory): On darwin, also try
3912 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3913
3914 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3915
3916 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3917 Let's not break compatibility gratuitously, shall we?
3918
3919 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3920
3921 * net/tls.el (tls-starttls-switches): New variable.
3922 (tls-find-starttls-argument): Use it.
3923 (open-tls-stream): Ditto.
3924
3925 * net/netrc.el (netrc-credentials): Return the value of the "default"
3926 entry.
3927 (netrc-machine): Ditto.
3928
3929 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3930
3931 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3932
3933 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3934
3935 * server.el (server-start): Don't write pid to the authentication file.
3936 (server-create-tty-frame): Don't send pid.
3937 (server-process-filter): Send pid at the start of every connection.
3938
3939 2010-09-30 Glenn Morris <rgm@gnu.org>
3940
3941 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3942 (show-all-diary-entries): Remove obsolete function aliases.
3943
3944 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3945 Remove options, obsolete since 22.1.
3946 (appt-display-format, appt-display-message):
3947 Remove backwards-compatibility code.
3948 (appt-check): No longer check appt-issue-message.
3949 (appt-make-list): No longer autoload it. Doc fix. No longer
3950 activate the package.
3951
3952 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3953
3954 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3955 (starttls-negotiate): Just call boot, and let the handshake be
3956 triggered from the read loop.
3957
3958 2010-09-29 Glenn Morris <rgm@gnu.org>
3959
3960 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3961 not displaying the diary.
3962 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3963 * calendar/appt.el (appt-check): No longer need to kill diary.
3964
3965 * calendar/diary-lib.el (diary-list-entries): Move the
3966 "Preparing..." message entirely here.
3967 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3968 messages to diary-list-entries.
3969 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3970 diary-display-function.
3971
3972 * calendar/diary-lib.el (diary-include-other-diary-files):
3973 Trap some recursive includes.
3974
3975 * calendar/appt.el (appt-activate): Check diary file.
3976
3977 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3978
3979 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3980 construction.
3981
3982 * calendar/time-date.el: No need to require cl for Emacs 21.
3983
3984 2010-09-28 Glenn Morris <rgm@gnu.org>
3985
3986 * calendar/appt.el (appt-check): Minor simplification.
3987
3988 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3989
3990 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3991 citation prefix.
3992
3993 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3994
3995 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3996 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3997
3998 2010-09-27 Kenichi Handa <handa@m17n.org>
3999
4000 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4001 "ustar" format.
4002
4003 2010-09-27 Kenichi Handa <handa@m17n.org>
4004
4005 * international/mule.el (define-coding-system): Docstring fixed.
4006
4007 * international/mule-diag.el (describe-character-set): Use princ
4008 with proper print-length and print-level instead of insert.
4009
4010 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4011
4012 * window.el (walk-windows): Doc fix (bug#7105).
4013
4014 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * emacs-lisp/float-sup.el (e): Remove.
4017
4018 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4019
4020 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4021 variable.
4022 (starttls-negotiate): Use it.
4023
4024 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4025
4026 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4027 back.
4028
4029 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4032
4033 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4034
4035 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4036
4037 * net/netrc.el (netrc-store-data): New function.
4038
4039 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4040
4041 * net/gnutls.el: GnuTLS glue code to set up a connection.
4042
4043 2010-09-25 Julien Danjou <julien@danjou.info>
4044
4045 * notifications.el: Call dbus-register-signal only if it is bound.
4046
4047 2010-09-25 Glenn Morris <rgm@gnu.org>
4048
4049 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4050 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4051 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4052 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4053 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4054 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4055 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4056 * eshell/esh-util.el, eshell/esh-var.el:
4057 Remove leading `*' from docs of faces and defcustoms.
4058
4059 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4060
4061 * eshell/em-ls.el (eshell-ls-archive-regexp):
4062 * eshell/esh-util.el (eshell-tar-regexp):
4063 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4064 * info.el (Info-suffix-list):
4065 * international/mule.el (auto-coding-alist):
4066 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4067 * progmodes/etags.el (tags-compression-info-list):
4068 Support xz compression.
4069
4070 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4071
4072 * files.el (get-free-disk-space): Don't assume the "df" output
4073 columns line up (Bug#6995).
4074
4075 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4076
4077 * finder.el (finder-unknown-keywords):
4078 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4079 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4080
4081 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4082
4083 * server.el (server-start): Revert part of 2010-08-08 change. Using
4084 address 127.0.0.1 for local host is now done in Fmake_network_process.
4085
4086 2010-09-24 Glenn Morris <rgm@gnu.org>
4087
4088 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4089 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4090 * textmodes/css-mode.el, textmodes/dns-mode.el:
4091 Move autoloaded auto-mode-alist entries to files.el.
4092 * files.el (auto-mode-alist): Move entries here.
4093
4094 2010-09-23 Glenn Morris <rgm@gnu.org>
4095
4096 * isearch.el (isearch-lazy-highlight-cleanup)
4097 (isearch-lazy-highlight-initial-delay)
4098 (isearch-lazy-highlight-interval)
4099 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4100 * net/net-utils.el (ipconfig-program-options):
4101 Move aliases to options before the associated definitions.
4102
4103 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * newcomment.el (comment-normalize-vars): Better test validity of
4106 comment-end-skip.
4107
4108 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4111 (float-e): New name for `e'.
4112 (degrees-to-radians, radians-to-degrees):
4113 * calendar/solar.el (solar-longitude):
4114 * calculator.el (calculator-registers, calculator-funcall):
4115 * textmodes/artist.el (artist-spray-random-points):
4116 * play/bubbles.el (bubbles--initialize-images): Use new names.
4117
4118 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4119
4120 Update to CEDET 1.0's version of EIEIO.
4121
4122 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4123 New function.
4124 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4125 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4126 (class-precedence-list): If class is nil, return nil.
4127 (eieio-generic-call): If class of first input arg is nil, don't
4128 look up static methods, and do check for primary methods.
4129 (initialize-instance): See if the default needs to be evaluated
4130 during the constructor.
4131 (eieio-perform-slot-validation-for-default): Don't do the check
4132 for values that will eventually be evaluated.
4133 (eieio-eval-default-p): New function.
4134 (eieio-default-eval-maybe): Use it.
4135
4136 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4137
4138 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4139 method-invocation-order.
4140 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4141 (eieio-class-precedence-dfs): Compute class precedence list using
4142 dfs algorithm.
4143 (eieio-class-precedence-bfs): Compute class precedence list using
4144 bfs algorithm.
4145 (eieio-class-precedence-c3): Compute class precedence list using
4146 c3 algorithm.
4147 (class-precedence-list): New function.
4148 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4149 (inconsistent-class-hierarchy): New error symbol.
4150 (call-next-method): Stow the replacement argument list for future
4151 call-next-method invocations.
4152
4153 2010-09-23 Glenn Morris <rgm@gnu.org>
4154
4155 * calendar/appt.el (appt-check): If not displaying the diary,
4156 use (diary 1) to only get the entries we need.
4157 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4158 that it is in day order. (Bug#7019)
4159
4160 * calendar/appt.el (appt-check): Rather than showing the diary,
4161 just turn off invisible display, and only if needed.
4162
4163 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4164
4165 2010-09-23 Glenn Morris <rgm@gnu.org>
4166
4167 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4168 (byte-compile-defvar, byte-compile-cl-warn):
4169 Start warnings with lower-case, like the majority.
4170
4171 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4172
4173 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4174
4175 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4176 * files.el (auto-mode-alist): Move ld-script entries here, further down
4177 the list.
4178
4179 * vc/add-log.el: Don't require timezone when compiling.
4180 (timezone-make-date-sortable): Autoload it.
4181 (change-log-sortable-date-at): Don't require timezone.
4182 Use `ignore-errors'.
4183
4184 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4185 Move alias before definition, so it does not need autoloading.
4186
4187 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4188 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4189 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4190 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4191 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4192 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4193 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4194 * textmodes/tex-mode.el, textmodes/two-column.el:
4195 Remove leading `*' from docs of defcustoms etc.
4196
4197 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4198
4199 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4200
4201 2010-09-22 Dan Christensen <jdc@uwo.ca>
4202
4203 * calendar/time-date.el (date-to-time): Try using parse-time-string
4204 first before using the slower timezone-make-date-arpa-standard.
4205
4206 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4207
4208 * calendar/time-date.el (format-seconds): Comment fix.
4209
4210 2010-09-22 Glenn Morris <rgm@gnu.org>
4211
4212 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4213 is not automatically buffer-local.
4214
4215 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4218 (smie-indent-comment): Be more careful with comment-start-skip.
4219 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4220 (smie-indent-functions): Use them.
4221
4222 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4223
4224 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4225
4226 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4227
4228 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4229 tool-bar-position. Don't modify frame parameters here.
4230 (menu-bar-options-save): Add tool-bar-position.
4231
4232 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4233
4234 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * textmodes/reftex-parse.el (reftex-what-macro)
4237 (reftex-context-substring): Let-bind forward-sexp-function to nil
4238 since we don't need/want to treat \begin...\end as a block (bug#7053).
4239
4240 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4241
4242 * simple.el (blink-matching-open): Use syntax-class.
4243
4244 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4245 Set invisibility spec for pascal's outline mode.
4246 (pascal-outline-change): Clean up calling convention.
4247 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4248
4249 * progmodes/prolog.el (prolog-smie-forward-token)
4250 (prolog-smie-backward-token): New functions.
4251 (prolog-mode-variables): Use them to parse "!," correctly.
4252 Set up smie-blink-matching for ".".
4253
4254 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4255 and `end'.
4256 (ispell-region, ispell-process-line): Update users.
4257
4258 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4259 point-min==1.
4260
4261 * textmodes/ispell.el: Fix commenting convention.
4262 (ispell-parse-output): Simplify, use push.
4263 (ispell-region): Use match-string-no-properties.
4264 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4265 (ispell-minor-mode): Use define-minor-mode.
4266 (ispell-message): Remove unused var `skip-regexp'.
4267 (ispell-add-per-file-word-list): Use dynamic let-binding.
4268 Try and use the proper comment marker.
4269
4270 * mail/sendmail.el: Fix commenting convention.
4271 (sendmail-send-it): Use line-beginning-position.
4272
4273 * help-fns.el (describe-variable): Add original value, if applicable.
4274
4275 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4276
4277 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4278
4279 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4280
4281 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4284 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4285 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4286 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4287 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4288 something like "." can also be a closer.
4289 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4290 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4291 Rename internal functions to use "--". Update callers.
4292
4293 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4294
4295 * fringe.el (fringe-styles): New var.
4296 (fringe-mode, fringe-query-style): Use it.
4297
4298 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4299
4300 * progmodes/sql.el: Version 2.8
4301 (sql-login-params): Update widget structure; changes still needed.
4302 (sql-product-alist): Add :list-all and :list-table features for
4303 SQLite, Postgres and MySQL products.
4304 (sql-redirect): Handle default value.
4305 (sql-execute, sql-execute-feature): New functions.
4306 (sql-read-table-name): New function.
4307 (sql-list-all, sql-list-table): New functions. User API.
4308 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4309 for above functions.
4310 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4311 for above functions.
4312 (sql-postgres-login-params): Add user and database defaults.
4313 (sql-buffer-live-p): Bug fix.
4314 (sql-product-history): New variable.
4315 (sql-read-product): New function. Use it.
4316 (sql-set-product, sql-product-interactive): Use it.
4317 (sql-connection-history): New variable.
4318 (sql-read-connection): New function. Use it.
4319 (sql-connect): New function.
4320 (sql-for-each-login): Redesign function interface.
4321 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4322 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4323 (sql-comint): Check for program. Existing live buffer.
4324 (sql-comint-postgres): Add port parameter.
4325
4326 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * emacs-lisp/warnings.el: Fix commenting convention.
4329 (display-warning): Use special mode and make the buffer read-only.
4330
4331 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4332
4333 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4334 empty string when it follows a repeated or optional pattern.
4335
4336 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4339 (indent-region): Use indent-according-to-mode.
4340
4341 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4342
4343 * fringe.el (fringe-mode): Doc fix.
4344
4345 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4346
4347 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4348 refreshing the preview buffer.
4349
4350 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4353 (latex-syntax-propertize-rules): New consts; replace
4354 tex-font-lock-syntactic-keywords.
4355 (tex-env-mark, latex-env-before-change): New functions.
4356 (latex-electric-env-pair-mode): New minor mode.
4357 (tex-font-lock-verb): Change arguments; do move point.
4358 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4359 representation as a form of comment.
4360 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4361 (doctex-syntax-propertize-rules): New const; replaces
4362 doctex-font-lock-syntactic-keywords.
4363 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4364
4365 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4366 (fortran-make-syntax-propertize-function): New function; replaces
4367 fortran-font-lock-syntactic-keywords.
4368 (fortran-mode): Use it.
4369 (fortran-line-length): Use it. Improve interactive spec.
4370
4371 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4372 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4373 when adding surrounding \(..\).
4374
4375 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4376
4377 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4380 Use with-current-buffer.
4381
4382 * isearch.el (isearch-face): Rename from `isearch'.
4383 (isearch-highlight): Use new name.
4384
4385 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4386
4387 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4388 5, for `half' width fringes. (Bug#6933)
4389
4390 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4393 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4394
4395 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4396
4397 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4398
4399 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4400 in calculating new frame position. Add more space between new and
4401 parent on the left (Bug#7048).
4402
4403 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4404
4405 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4406 defmacro.
4407
4408 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4409
4410 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4411
4412 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4413 obsolete alias for x-selection-value.
4414
4415 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4416
4417 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4418
4419 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4420 cookie.
4421
4422 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4423
4424 * net/tramp-compat.el (tramp-compat-with-temp-message)
4425 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4426 (tramp-compat-process-put): New defuns.
4427
4428 * net/tramp.el (top):
4429 * net/tramp-gvfs.el (top):
4430 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4431
4432 * net/tramp.el (tramp-progress-reporter-update):
4433 Use `tramp-compat-funcall'.
4434
4435 * net/tramp.el (tramp-process-actions):
4436 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4437 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4438 (tramp-get-remote-stat, tramp-get-remote-readlink):
4439 Use `tramp-compat-with-temp-message'.
4440
4441 * net/tramp-sh.el (top): Require 'cl.
4442 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4443 (tramp-open-connection-setup-interactive-shell):
4444 Use `tramp-compat-process-put'.
4445
4446 2010-09-15 Alan Mackenzie <acm@muc.de>
4447
4448 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4449 indentation.
4450 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4451
4452 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4453
4454 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4455 `lexical' for warnings related to lexical scoping.
4456 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4457 global vars which don't have a prefix and could hence affect lexical
4458 scoping in unrelated files.
4459
4460 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4461
4462 * net/imap.el: Revert back to version
4463 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4464 seem problematic.
4465
4466 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4467
4468 * obsolete/old-whitespace.el (whitespace-unload-function):
4469 Explicitly pass `obarray' to `unintern' to avoid a warning.
4470
4471 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4472
4473 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4474 Add `when' argument. Update callers.
4475
4476 * subr.el (unintern): Declare the obarray arg mandatory.
4477
4478 2010-09-14 Glenn Morris <rgm@gnu.org>
4479
4480 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4481 Doc fixes.
4482
4483 * calendar/diary-lib.el (diary-included-files): New variable.
4484 (diary-list-entries): Maybe initialize diary-included-files.
4485 (diary-include-other-diary-files): Append to diary-included-files.
4486 * calendar/appt.el (appt-update-list): Also check the members of
4487 diary-included-files. (Bug#6999)
4488 (appt-check): Doc fix.
4489
4490 2010-09-14 David Reitter <david.reitter@gmail.com>
4491
4492 * simple.el (line-move-visual): Do not truncate goal column to
4493 integer size. (Bug#7020)
4494
4495 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4496
4497 * repeat.el (repeat): Allow repeating when the last event is a click.
4498 Suggested by Drew Adams (bug#6256).
4499
4500 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4501
4502 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4503 Replace setting HGRCPATH to "" by some less invasive --config options.
4504
4505 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * font-lock.el (font-lock-beginning-of-syntax-function):
4508 Mark as obsolete.
4509
4510 2010-09-14 Glenn Morris <rgm@gnu.org>
4511
4512 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4513 and tool-bar modes. (Bug#6211)
4514 (menu-bar-mode): Move setting of standard-value after the
4515 minor-mode definition, otherwise it seems to have no effect.
4516
4517 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4518
4519 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4520 Fix typo. (Bug#6976)
4521
4522 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4523
4524 * whitespace.el: Allow cleaning up blanks without blank
4525 visualization (Bug#6651). Adjust help window for
4526 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4527 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4528 (whitespace-style): Add new value 'face. Adjust docstring.
4529 (whitespace-space, whitespace-hspace, whitespace-tab):
4530 Adjust foreground property face.
4531 (whitespace-line-column): Adjust docstring and type declaration.
4532 (whitespace-style-value-list, whitespace-toggle-option-alist)
4533 (whitespace-help-text): Adjust const initialization.
4534 (whitespace-toggle-options, global-whitespace-toggle-options):
4535 Adjust docstring.
4536 (whitespace-display-window, whitespace-interactive-char)
4537 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4538 (whitespace-help-scroll): New fun.
4539
4540 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4541
4542 * calendar/time-date.el (format-seconds): Comment fix.
4543
4544 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4545
4546 * progmodes/sql.el: Version 2.7.
4547 (sql-buffer-live-p): Improve detection.
4548 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4549 (sql-set-sqli-buffer): Use it.
4550 (sql-product-interactive): Run `sql-set-sqli-hook'.
4551 (sql-rename-buffer): Code cleanup.
4552 (sql-redirect, sql-redirect-value): New functions. More to come.
4553
4554 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4555
4556 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.
4557 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4558 (TRAMP_SRC): New macro.
4559 ($(lisp)/net/tramp-loaddefs.el): New target.
4560
4561 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4562
4563 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4564
4565 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4566
4567 * net/tramp.el (top): Don't show loading message. Require just
4568 'tramp-compat, everything else is required there.
4569 Use `ignore-errors' where appropriate.
4570 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4571 (tramp-terminal-type, tramp-end-of-output)
4572 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4573 (tramp-completion-function-alist-ssh)
4574 (tramp-completion-function-alist-telnet)
4575 (tramp-completion-function-alist-su)
4576 (tramp-completion-function-alist-putty, tramp-remote-path)
4577 (tramp-remote-process-environment, tramp-sh-extra-args)
4578 (tramp-actions-before-shell, tramp-uudecode)
4579 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4580 (tramp-perl-file-attributes)
4581 (tramp-perl-directory-files-and-attributes)
4582 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4583 (tramp-perl-encode, tramp-perl-decode)
4584 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4585 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4586 (tramp-handle-make-symbolic-link, tramp-handle-load)
4587 (tramp-handle-file-name-as-directory)
4588 (tramp-handle-file-name-directory)
4589 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4590 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4591 (tramp-do-file-attributes-with-ls)
4592 (tramp-do-file-attributes-with-perl)
4593 (tramp-do-file-attributes-with-stat)
4594 (tramp-handle-set-visited-file-modtime)
4595 (tramp-handle-verify-visited-file-modtime)
4596 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4597 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4598 (tramp-handle-file-selinux-context)
4599 (tramp-handle-set-file-selinux-context)
4600 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4601 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4602 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4603 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4604 (tramp-handle-file-ownership-preserved-p)
4605 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4606 (tramp-handle-directory-files-and-attributes)
4607 (tramp-do-directory-files-and-attributes-with-perl)
4608 (tramp-do-directory-files-and-attributes-with-stat)
4609 (tramp-handle-file-name-all-completions)
4610 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4611 (tramp-handle-copy-file, tramp-handle-copy-directory)
4612 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4613 (tramp-do-copy-or-rename-file-via-buffer)
4614 (tramp-do-copy-or-rename-file-directly)
4615 (tramp-do-copy-or-rename-file-out-of-band)
4616 (tramp-handle-make-directory, tramp-handle-delete-directory)
4617 (tramp-handle-delete-file)
4618 (tramp-handle-dired-recursive-delete-directory)
4619 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4620 (tramp-handle-insert-directory)
4621 (tramp-handle-unhandled-file-name-directory)
4622 (tramp-handle-expand-file-name)
4623 (tramp-handle-substitute-in-file-name)
4624 (tramp-handle-executable-find, tramp-process-sentinel)
4625 (tramp-handle-start-file-process, tramp-handle-process-file)
4626 (tramp-handle-call-process-region, tramp-handle-shell-command)
4627 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4628 (tramp-handle-insert-file-contents)
4629 (tramp-handle-insert-file-contents-literally)
4630 (tramp-handle-find-backup-file-name)
4631 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4632 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4633 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4634 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4635 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4636 (tramp-find-file-exists-command, tramp-open-shell)
4637 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4638 (tramp-open-connection-setup-interactive-shell)
4639 (tramp-local-coding-commands, tramp-remote-coding-commands)
4640 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4641 (tramp-inline-compress-commands, tramp-find-inline-compress)
4642 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4643 (tramp-send-command, tramp-wait-for-output)
4644 (tramp-send-command-and-check, tramp-barf-unless-okay)
4645 (tramp-send-command-and-read, tramp-mode-string-to-int)
4646 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4647 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4648 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4649 (tramp-method-out-of-band-p, tramp-local-host-p)
4650 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4651 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4652 (tramp-get-test-command, tramp-get-test-nt-command)
4653 (tramp-get-file-exists-command, tramp-get-remote-ln)
4654 (tramp-get-remote-perl, tramp-get-remote-stat)
4655 (tramp-get-remote-readlink, tramp-get-remote-trash)
4656 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4657 (tramp-get-local-uid, tramp-get-local-gid)
4658 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4659 tramp-sh.el.
4660 (tramp-methods, tramp-default-method-alist)
4661 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4662 Move initialization to tramp-sh.el.
4663 (tramp-temp-name-prefix): Make it a defconst.
4664 (tramp-dissect-file-name): Don't check anymore for multi-hop
4665 methods.
4666 (tramp-debug-outline-regexp): Add a docstring.
4667 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4668 (tramp-get-debug-buffer): Use it.
4669
4670 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4671 initialization forms.
4672 (tramp-set-connection-property): Don't protect `tramp-message'
4673 call, it isn't necessary any longer.
4674 (tramp-dump-connection-properties): Use `ignore-errors'.
4675
4676 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4677 'password-cache and 'auth-source.
4678
4679 * net/tramp-gvfs.el (top):
4680 * net/tramp-smb.el (top): Require 'tramp-sh.
4681
4682 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4683
4684 * net/tramp-sh.el: New file, derived from tramp.el.
4685 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4686 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4687 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4688 Use `ignore-errors' where appropriate.
4689 (tramp-sh-file-name-handler-alist): Rename from
4690 `tramp-file-name-handler-alist'.
4691 (tramp-send-command-and-check): Return t or nil. Remove all
4692 `zerop' checks, where called.
4693 (tramp-handle-set-file-modes)
4694 (tramp-do-copy-or-rename-file-directly)
4695 (tramp-handle-delete-directory, tramp-handle-delete-file)
4696 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4697 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4698 (tramp-get-remote-ln): Set tramp-autoload cookie.
4699
4700 * net/tramp-fish.el: Remove file.
4701
4702 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4703
4704 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4705 buffer-file-name to avoid file-locking. (Bug#7026)
4706
4707 2010-09-13 Julien Danjou <julien@danjou.info>
4708
4709 * notifications.el (notifications-notify): Add support for
4710 image-path and sound-name.
4711 (notifications-specification-version): Add this variable.
4712
4713 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4716
4717 2010-09-12 Leo <sdl.web@gmail.com>
4718
4719 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4720 (rcirc-completion-start): New variables.
4721 (rcirc-nick-completions): Rename to rcirc-completions.
4722 (rcirc-nick-completion-start-offset): Delete.
4723 (rcirc-completion-at-point): New function for constructing
4724 completion data for both nicks and irc commands. Add to
4725 completion-at-point-functions in rcirc mode.
4726 (rcirc-complete): Rename from rcirc-nick-complete; use
4727 rcirc-completion-at-point.
4728 (defun-rcirc-command): Update rcirc-client-commands.
4729
4730 2010-09-11 Glenn Morris <rgm@gnu.org>
4731
4732 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4733 atomically, to avoid parallel build errors. (Bug#4196)
4734
4735 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4736
4737 * progmodes/sql.el: Version 2.6
4738 (sql-dialect): Synonym for "sql-product".
4739 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4740 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4741 Set "sql-buffer" to buffer name not buffer object so multiple sql
4742 interactive buffers work properly. Reverts misguided changes in
4743 earlier work.
4744 (sql-comint): Make sure different buffer name is used if "*SQL*"
4745 buffer is for a different product.
4746 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4747 login param.
4748 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4749 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4750 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4751 Accept new buffer name or prompt for one.
4752 (sql-port): Default to zero.
4753 (sql-comint-mysql): Handle "sql-port" as a numeric.
4754 (sql-port-history): Delete unused variable.
4755 (sql-get-login): Default "sql-port" to a number.
4756 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4757 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4758 "sqlite3" executables.
4759 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4760 (sql-buffer-live-p): New function.
4761 (sql-mode-menu, sql-send-string): Use it.
4762 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4763 syntax pattern.
4764 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4765 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4766
4767 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4768
4769 * net/netrc.el (netrc-credentials): New convenience function.
4770
4771 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4772
4773 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4774 to replace texinfo-font-lock-syntactic-keywords.
4775 (texinfo-mode): Use it.
4776
4777 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4778 Use syntax-propertize-function.
4779
4780 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4781 replace sgml-font-lock-syntactic-keywords.
4782 (sgml-mode): Use it.
4783
4784 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4785 since we don't use it.
4786
4787 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4788
4789 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4790 if available.
4791 (vhdl-fontify-buffer): Adjust.
4792
4793 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4794 replace tcl-font-lock-syntactic-keywords.
4795 (tcl-mode): Use it.
4796
4797 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4798 replace simula-font-lock-syntactic-keywords.
4799 (simula-mode): Use it.
4800
4801 * progmodes/sh-script.el (sh-st-symbol): Remove.
4802 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4803 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4804 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4805 (sh-font-lock-paren): Set syntax-multiline.
4806 (sh-font-lock-syntactic-keywords): Remove.
4807 (sh-syntax-propertize-function): New function to replace it.
4808 (sh-mode): Use it.
4809
4810 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4811 Define while compiling.
4812 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4813 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4814 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4815 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4816 (ruby-here-doc-end-syntax): Only define when
4817 syntax-propertize is not available.
4818 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4819 New functions.
4820 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4821 (electric-indent-chars): Silence bytecompiler.
4822 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4823 electric-indent-chars.
4824
4825 * progmodes/python.el (python-syntax-propertize-function): New var to
4826 replace python-font-lock-syntactic-keywords.
4827 (python-mode): Use it.
4828 (python-quote-syntax): Simplify and adjust to new use.
4829
4830 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4831 replace perl-font-lock-syntactic-keywords.
4832 (perl-syntax-propertize-special-constructs): New fun to replace
4833 perl-font-lock-special-syntactic-constructs.
4834 (perl-font-lock-syntactic-face-function): New fun.
4835 (perl-mode): Use it.
4836
4837 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4838 to replace octave-font-lock-close-quotes.
4839 (octave-syntax-propertize-function): New function to replace
4840 octave-font-lock-syntactic-keywords.
4841 (octave-mode): Use it.
4842
4843 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4844 replaces mixal-font-lock-syntactic-keywords.
4845 (mixal-mode): Use it.
4846
4847 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4848 New var; replaces makefile-font-lock-syntactic-keywords.
4849 (makefile-mode): Use it.
4850 (makefile-imake-mode): Adjust.
4851
4852 * progmodes/js.el (js--regexp-literal): Define while compiling.
4853 (js-syntax-propertize-function): New var; replaces
4854 js-font-lock-syntactic-keywords.
4855 (js-mode): Use it.
4856
4857 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4858 replaces gdb-script-font-lock-syntactic-keywords.
4859 (gdb-script-mode): Use it.
4860
4861 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4862 (fortran--font-lock-syntactic-keywords): New var.
4863 (fortran-line-length): Update syntax-propertize-function and
4864 fortran--font-lock-syntactic-keywords.
4865
4866 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4867
4868 * progmodes/cfengine.el (cfengine-mode):
4869 Use syntax-propertize-function.
4870 (cfengine-font-lock-syntactic-keywords): Remove.
4871
4872 * progmodes/autoconf.el (autoconf-mode):
4873 Use syntax-propertize-function.
4874 (autoconf-font-lock-syntactic-keywords): Remove.
4875
4876 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4877 (ada-after-change-function, ada-initialize-syntax-table-properties)
4878 (ada-handle-syntax-table-properties): Only define when
4879 syntax-propertize is not available.
4880 (ada-mode): Use syntax-propertize-function.
4881
4882 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4883 (font-lock-fontify-syntactic-keywords-region): Move handling of
4884 font-lock-syntactically-fontified to...
4885 (font-lock-default-fontify-region): ...here.
4886 Let syntax-propertize-function take precedence.
4887 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4888
4889 * emacs-lisp/syntax.el (syntax-propertize-function)
4890 (syntax-propertize-chunk-size, syntax-propertize--done)
4891 (syntax-propertize-extend-region-functions): New vars.
4892 (syntax-propertize-wholelines, syntax-propertize-multiline)
4893 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4894 (syntax-propertize): New functions.
4895 (syntax-propertize-rules): New macro.
4896 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4897 (syntax-ppss): Call syntax-propertize.
4898
4899 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4900
4901 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4902
4903 * textmodes/ispell.el (ispell-init-process): Improve comments.
4904 XEmacs compatibility changes regarding (add-hook) 'local option
4905 and (set-process-query-on-exit-flag).
4906
4907 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4908
4909 * net/tramp-cache.el (tramp-parse-connection-properties):
4910 Set tramp-autoload cookie.
4911
4912 2010-09-09 Glenn Morris <rgm@gnu.org>
4913
4914 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4915 (imagemagick-register-types): Doc fix.
4916
4917 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4918
4919 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4920
4921 * progmodes/js.el (require): Require is already "eval-and-compile".
4922 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4923 (js--re-search-backward): Use js--re-search-forward.
4924
4925 * progmodes/fortran.el (fortran-line-length): Don't recompute
4926 syntactic keywords redundantly a second time.
4927
4928 * progmodes/ada-mode.el: Replace "(set '" with setq.
4929 (ada-mode): Simplify.
4930 (ada-create-case-exception, ada-adjust-case-interactive)
4931 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4932 (ada-search-ignore-string-comment, ada-move-to-start)
4933 (ada-move-to-end): Use with-syntax-table.
4934
4935 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4936 (font-lock-unfontify-region, font-lock-default-fontify-region):
4937 Update usage correspondingly.
4938 (font-lock-fontify-syntactic-keywords-region):
4939 Set parse-sexp-lookup-properties buffer-locally here.
4940 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4941
4942 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4943
4944 2010-09-08 Glenn Morris <rgm@gnu.org>
4945
4946 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4947 Error if not compiled with -DBYTE_CODE_METER.
4948
4949 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4950 Ignore dir-locals-file.
4951
4952 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4953
4954 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4955 Not a const.
4956 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4957 for the `gnu' messages.
4958 (compilation-set-skip-threshold): New command.
4959 (compilation-start): Use \' rather than $.
4960 (compilation-forget-errors): Use clrhash.
4961
4962 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4963
4964 * textmodes/ispell.el (ispell-valid-dictionary-list):
4965 Simplify logic.
4966
4967 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4968
4969 Migrate to Tramp 2.2. Rearrange load dependencies.
4970 (Bug#1529, Bug#5448, Bug#5705)
4971
4972 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4973 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4974 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4975
4976 * net/tramp.el (top): Remove all other tramp-* loads except
4977 tramp-compat.el. Remove all changes to tramp-unload-hook for
4978 other tramp-* packages. Rearrange defun order. Change calls of
4979 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4980 `tramp-compat-octal-to-decimal' to new function names.
4981 (tramp-terminal-type, tramp-initial-end-of-output)
4982 (tramp-methods, tramp-foreign-file-name-handler-alist)
4983 (tramp-tramp-file-p, tramp-completion-mode-p)
4984 (tramp-send-command-and-check, tramp-get-remote-path)
4985 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4986 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4987 (with-file-property, with-connection-property): Move to
4988 tramp-cache.el.
4989 (tramp-local-call-process, tramp-decimal-to-octal)
4990 (tramp-octal-to-decimal): Move to tramp-compat.el.
4991 (tramp-handle-shell-command): Do not require 'shell.
4992 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4993 symbols.
4994 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4995
4996 * net/tramp-cache.el (top): Require 'tramp. Add to
4997 `tramp-unload-hook'.
4998 (tramp-cache-data, tramp-get-file-property)
4999 (tramp-set-file-property, tramp-flush-file-property)
5000 (tramp-flush-directory-property, tramp-get-connection-property)
5001 (tramp-set-connection-property, tramp-flush-connection-property)
5002 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5003 cookie.
5004 (with-file-property, with-connection-property): New defuns, moved
5005 from tramp.el.
5006 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5007 macro.
5008
5009 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5010 (tramp-version): Set tramp-autoload cookie.
5011
5012 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5013 changes to tramp-unload-hook for other tramp-* packages. Add to
5014 `tramp-unload-hook'.
5015 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5016 (tramp-compat-call-process): New defuns, moved from tramp.el.
5017
5018 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5019 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5020 Add to `tramp-unload-hook'. Change call of
5021 `tramp-compat-decimal-to-octal' to new function name.
5022 (tramp-fish-method): Make it a defconst.
5023 (tramp-fish-file-name-p): Make it a defsubst.
5024 (tramp-fish-method, tramp-fish-file-name-handler)
5025 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5026
5027 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5028 `tramp-foreign-file-name-handler-alist'. Add to
5029 `tramp-unload-hook'.
5030 (tramp-ftp-method): Make it a defconst.
5031 (tramp-ftp-file-name-p): Make it a defsubst.
5032 (tramp-ftp-method, tramp-ftp-file-name-handler)
5033 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5034
5035 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5036 `tramp-foreign-file-name-handler-alist'. Add to
5037 `tramp-unload-hook'. Change checks, whether package can be
5038 loaded.
5039 (tramp-gvfs-file-name-p): Make it a defsubst.
5040 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5041 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5042 (tramp-gvfs-handle-file-directory-p): New defun.
5043 (tramp-gvfs-file-name-handler-alist): Use it.
5044
5045 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5046 `tramp-foreign-file-name-handler-alist'. Add to
5047 `tramp-unload-hook'.
5048 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5049 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5050 defconst.
5051 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5052 (tramp-gw-open-connection): Set tramp-autoload cookie.
5053
5054 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5055 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5056 Add to `tramp-unload-hook'. Change checks, whether package can be
5057 loaded.
5058 (tramp-imap-file-name-p): Make it a defsubst.
5059 (tramp-imap-method, tramp-imaps-method)
5060 (tramp-imap-file-name-handler)
5061 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5062
5063 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5064 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5065 Add to `tramp-unload-hook'. Change checks, whether package can be
5066 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5067 function name.
5068 (tramp-smb-tunnel-method): Make it a defconst.
5069 (tramp-smb-file-name-p): Make it a defsubst.
5070 (tramp-smb-method, tramp-smb-file-name-handler)
5071 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5072
5073 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5074 (tramp-uuencode-region): Set tramp-autoload cookie.
5075
5076 * net/trampver.el (top) Add to `tramp-unload-hook'.
5077 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5078 cookie. Update release number.
5079
5080 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5081
5082 * textmodes/ispell.el (ispell-start-process): Make sure original
5083 arg list is properly initialized (Bug#6993, Bug#6994).
5084
5085 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5086
5087 * files.el (directory-abbrev-alist): Use \` as default regexp.
5088
5089 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5090 chars like - or ] (bug#6984).
5091 (rx-any-condense-range): Explode 2-char ranges.
5092
5093 2010-09-06 Glenn Morris <rgm@gnu.org>
5094
5095 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5096
5097 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * textmodes/bibtex.el:
5100 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5101
5102 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5103
5104 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5105 since no callers use it.
5106 (imap-message-get): Ditto.
5107 (imap-message-put): Ditto.
5108 (imap-mailbox-map): Ditto.
5109 (imap-mailbox-put): Ditto.
5110 (imap-mailbox-get): Ditto.
5111 (imap-mailbox-get): Revert last change for this function.
5112
5113 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5114
5115 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5116 callers to use `imap-fetch' instead. According to the comments, this
5117 should be safe, since all other IMAP clients use the 1:* syntax.
5118 (imap-enable-exchange-bug-workaround): Remove.
5119 (imap-debug): Remove -- doesn't seem very useful.
5120
5121 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5122
5123 * net/imap.el (imap-log): New convenience function used throughout
5124 instead of repeating the same code all over the place.
5125
5126 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5127
5128 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5129 when mouse-drag-copy-region is non-nil (Bug#6956).
5130
5131 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5132
5133 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5134 Improve regexps (Bug#6987).
5135 (dired-sort-toggle): Search more robustly for -t flag.
5136
5137 * files.el (get-free-disk-space): Search more robustly for
5138 "available" column. Suggested by Ehud Karni
5139 <ehud@unix.mvs.co.il>.
5140
5141 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5142
5143 * international/uni-bidi.el:
5144 * international/uni-category.el:
5145 * international/uni-combining.el:
5146 * international/uni-decimal.el:
5147 * international/uni-mirrored.el:
5148 * international/uni-name.el: Regenerate.
5149
5150 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5151
5152 * electric.el (electric-indent-post-self-insert-function):
5153 Don't reindent with a sloppy indentation function.
5154
5155 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5156 border case in change-log-mode.
5157
5158 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5159
5160 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5161 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5162 Recognize leading tab in gcc-include regexp. Ignore names with
5163 leading "from" or "in" in gnu regexp (Bug#6937).
5164
5165 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5168 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5169 (ispell-start-process): Avoid setq and simplify logic.
5170 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5171 (kill-buffer-hook): Don't use it globally with code that uses
5172 expand-file-name since that may call kill-buffer via
5173 code_conversion_restore.
5174
5175 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5176
5177 * emacs-lisp/package.el (package-directory-list): Only call
5178 file-name-nondirectory on a string.
5179
5180 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5181
5182 * emacs-lisp/package.el (package--download-one-archive):
5183 Ensure that archive-contents is valid before saving it.
5184 (package-activate-1, package-mark-obsolete, define-package)
5185 (package-compute-transaction, package-list-maybe-add): Use push.
5186
5187 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 Use SMIE's blink-paren for octave-mode.
5190 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5191 Backslashes do not escape single-quotes, single-quotes do.
5192 (octave-block-else-regexp, octave-block-end-regexp)
5193 (octave-block-match-alist): Remove.
5194 (octave-smie-bnf-table): New var, with old content.
5195 (octave-smie-op-levels): Use it.
5196 (octave-smie-closer-alist): New var.
5197 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5198 (octave-blink-matching-block-open): Remove.
5199 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5200 (octave-electric-space): Let self-insert-command run expand-abbrev and
5201 blink parens.
5202
5203 * electric.el (electricity): New group.
5204 (electric-indent-chars): New var.
5205 (electric-indent-post-self-insert-function): New fun.
5206 (electric-indent-mode): New minor mode.
5207 (electric-pair-skip-self): New custom.
5208 (electric-pair-post-self-insert-function): New function.
5209 (electric-pair-mode): New minor mode.
5210
5211 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5212 calcAlg-blink-matching-open.
5213 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5214 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5215 Use the new blink-matching-check-function.
5216
5217 Provide blink-matching support to SMIE.
5218 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5219 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5220 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5221
5222 * simple.el (newline): Fix last change to properly remove itself from
5223 the hook.
5224
5225 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 * simple.el (newline): Eliminate optimization.
5228 Use post-self-insert-hook to set hard-newline and things before
5229 running post-self-insert-hook.
5230 (blink-matching-check-mismatch): New function.
5231 (blink-matching-check-function): New variable.
5232 (blink-matching-open): Use them.
5233 Skip back forward over prefix chars skipped by forward-sexp.
5234 Don't check if the parens are backslash escaped.
5235 (blink-paren-post-self-insert-function): Check backslash escaping here.
5236
5237 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5238
5239 * emacs-lisp/package.el (package-menu-mode-map):
5240 Change package-menu-revert bindings to revert-buffer.
5241 (package-menu-mode): Set revert-buffer-function.
5242 (package-menu-revert): Doc fix.
5243
5244 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5245
5246 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5247 `default-directory' unless using Ispell per-directory personal
5248 dictionaries and not in a mini-buffer under XEmacs.
5249 (kill-buffer-hook): Do not kill ispell process on exit when
5250 `ispell-process-directory' is "~/". (Bug#6143)
5251
5252 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5253
5254 * simple.el (kill-new): Call interprogram-cut-function with only
5255 one argument.
5256
5257 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5258 Remove cut buffer from error message.
5259
5260 * term/x-win.el (x-select-text):
5261 * term/pc-win.el (x-selection-value):
5262 * term/ns-win.el (x-selection-value):
5263 * eshell/em-term.el:
5264 * w32-fns.el (x-get-selection-value):
5265 * mouse-sel.el (mouse-sel-set-selection-function):
5266 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5267
5268 * term/x-win.el: Update documentation for x-last-selected-text-*.
5269 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5270 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5271 (x-select-text): Remove argument PUSH, update documentation.
5272 Remove cut-buffer code.
5273 (x-selection-value-internal): Was previously x-selection-value.
5274 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5275 Update documentation, remove cut-buffer code.
5276 Call x-selection-value-internal.
5277 (x-clipboard-yank): Call x-selection-value-internal.
5278 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5279
5280 * term/pc-win.el (x-last-selected-text):
5281 x-cut-buffer-or-selection-value renamed to x-selection-value
5282 (x-select-text): Remove argument PUSH, update documentation.
5283
5284 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5285 x-cut-buffer-or-selection-value renamed to x-selection-value
5286 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5287 (x-select-text): Remove argument PUSH, update documentation.
5288
5289 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5290
5291 * w32-fns.el (x-last-selected-text):
5292 x-cut-buffer-or-selection-value renamed to x-selection-value.
5293 (x-cut-buffer-max): Remove.
5294 (x-select-text): Remove argument PUSH, update documentation.
5295
5296 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5297
5298 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5299
5300 * mouse-sel.el (mouse-sel-get-selection-function):
5301 x-cut-buffer-or-selection-value renamed to x-selection-value.
5302 (x-select-text): Remove optional push.
5303
5304 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * simple.el (blink-paren-function): Move from C to here.
5307 (blink-paren-post-self-insert-function): New function.
5308 (post-self-insert-hook): Use it.
5309
5310 * emacs-lisp/pcase.el (pcase-split-memq):
5311 Fix overenthusiastic optimisation.
5312 (pcase-u1): Handle the case of a lambda pred.
5313
5314 2010-08-31 Kenichi Handa <handa@m17n.org>
5315
5316 * international/mule-cmds.el (standard-display-european-internal):
5317 Setup standard-display-table for 8-bit characters by storing 8-bit
5318 characters in the element vector.
5319
5320 * disp-table.el (standard-display-8bit):
5321 Setup standard-display-table for 8-bit characters by storing 8-bit
5322 characters in the element vector.
5323 (standard-display-european): Likewise.
5324
5325 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5326
5327 * textmodes/nroff-mode.el (nroff-view): New command.
5328 (nroff-mode-map): Bind it to C-c C-c.
5329
5330 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5331
5332 * emacs-lisp/smie.el (smie-down-list): New command.
5333
5334 Remove old indentation and navigation code on octave-mode.
5335 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5336 smie-down-list rather than add a binding for octave-down-block.
5337 (octave-mark-block, octave-blink-matching-block-open):
5338 Rely on forward-sexp-function.
5339 (octave-fill-paragraph): Don't narrow, so you can use
5340 indent-according-to-mode.
5341 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5342 (octave-in-block-p, octave-re-search-forward-kw)
5343 (octave-re-search-backward-kw, octave-indent-calculate)
5344 (octave-end-as-array-index-p, octave-block-end-offset)
5345 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5346 (octave-down-block, octave-backward-up-block, octave-up-block)
5347 (octave-before-magic-comment-p, octave-indent-line): Remove.
5348
5349 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5350
5351 * emacs-lisp/package.el (package--read-archive-file): Just use
5352 `read', to avoid copying an additional string.
5353 (package-menu-mode): Set header-line-format here.
5354 (package-menu-refresh, package-menu-revert): Signal an error if
5355 not in the Package Menu.
5356 (package-menu-package-list): New var.
5357 (package--generate-package-list): Operate on the current buffer;
5358 don't assume that it is *Packages*, since the user may rename it.
5359 Allow persistent package listings and sort keys using
5360 package-menu-package-list and package-menu-package-sort-key.
5361 (package-menu--version-predicate): Fix version calculation.
5362 (package-menu-sort-by-column): Don't select the window.
5363 (package--list-packages): Create the *Packages* buffer.
5364 Set package-menu-package-list-key.
5365 (list-packages): Sorting by status is now the default.
5366 (package-buffer-info): Use match-string-no-properties.
5367 (define-package): Add a &rest argument for future proofing, but
5368 don't use it yet.
5369 (package-install-from-buffer, package-install-buffer-internal):
5370 Merge into a single function, package-install-from-buffer.
5371 (package-install-file): Change caller.
5372
5373 * finder.el: Load finder-inf using `require'.
5374 (finder-list-matches): Sorting by status is now the default.
5375 (finder-compile-keywords): Simpify printing.
5376
5377 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5380 (octave-mode-map): Remove special bindings for forward/backward-block
5381 and octave-backward-up-block. Use smie-close-block.
5382 (octave-continuation-marker-regexp): New var.
5383 (octave-continuation-regexp): Use it.
5384 (octave-operator-table, octave-smie-op-levels)
5385 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5386 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5387 (octave-mode): Use SMIE.
5388 (octave-close-block): Delete.
5389
5390 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5391
5392 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5393 CLIPBOARD, not in PRIMARY. (Bug#6944)
5394
5395 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5396
5397 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5398 a list of parents.
5399 (smie-indent-column): Allow indirection through variables.
5400
5401 * composite.el (save-buffer-state): Delete, unused.
5402 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5403 (font-lock-default-fontify-region): Use with-syntax-table.
5404 * jit-lock.el (with-buffer-unmodified): Remove.
5405 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5406
5407 Use `declare' in defmacros.
5408 * window.el (save-selected-window):
5409 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5410 * progmodes/python.el (def-python-skeleton):
5411 * net/dbus.el (dbus-ignore-errors):
5412 * jka-cmpr-hook.el (with-auto-compression-mode):
5413 * international/mule.el (with-category-table):
5414 * emacs-lisp/timer.el (with-timeout):
5415 * emacs-lisp/lisp-mnt.el (lm-with-file):
5416 * emacs-lisp/eieio.el (with-slots):
5417 * emacs-lisp/easymenu.el (easy-menu-define):
5418 * emacs-lisp/debug.el (debugger-env-macro):
5419 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5420 (Multiple-value-call, Multiple-value-prog1):
5421 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5422 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5423 edebug rule to definition.
5424 * emacs-lisp/lisp-mode.el (save-selected-window)
5425 (with-current-buffer, combine-after-change-calls)
5426 (with-output-to-string, with-temp-file, with-temp-buffer)
5427 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5428 (dolist, dotimes, when, unless):
5429 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5430
5431 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5432
5433 * finder.el: Require `package'.
5434 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5435 (finder-package-info): Var deleted.
5436 (finder-keywords-hash, finder--builtins-alist): New vars.
5437 (finder-compile-keywords): Compute package--builtins and
5438 finder-keywords-hash instead of finder-keywords-hash, respecting
5439 the "Package" header.
5440 (finder-unknown-keywords, finder-list-matches):
5441 Use finder-keywords-hash and package--list-packages.
5442 (finder-mode): Don't set font-lock-defaults.
5443 (finder-exit): We don't use "*Finder-package*" and "*Finder
5444 Category*" buffers anymore.
5445
5446 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5447 (package--builtins): Set default value to nil.
5448 (package-initialize): Load precomputed value of package--builtins
5449 from finder-inf.el.
5450 (package-alist, package-compute-transaction)
5451 (package-download-transaction): Improve docstring.
5452 (package-read-all-archive-contents): Do not change
5453 package--builtins here.
5454 (list-packages): Make package-list-packages an alias for this.
5455 Sort by status by default.
5456 (package--list-packages): Add optional PACKAGES arg.
5457 (describe-package-1): Use font-lock-face property. For built-in
5458 packages, insert file commentary.
5459 (package--generate-package-list): Rename from
5460 package-list-packages-internal; all callers changed. Add optional
5461 PACKAGES arg. Add alphabetical sort fallbacks.
5462 (package-menu--version-predicate, package-menu--status-predicate)
5463 (package-menu--description-predicate)
5464 (package-menu--name-predicate): New functions.
5465
5466 * info.el (Info-finder-find-node): Search package-alist instead of
5467 finder-package-info.
5468
5469 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5470
5471 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5472 "alpha" and "beta".
5473 (version-to-list): Handle versions like "10.3d".
5474
5475 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5476
5477 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5478 (macroexp-accumulate): Use `declare'.
5479
5480 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5481
5482 * whitespace.el (whitespace-style): Adjust type declaration.
5483
5484 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5485
5486 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5487 empty argument to gvfs-copy.
5488
5489 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5490
5491 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5492 handle new TRASH arg of `delete-file'.
5493
5494 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5495
5496 * net/tramp.el (tramp-handle-insert-directory): Don't use
5497 `forward-word', its default syntax could be changed.
5498
5499 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5500 Michael Albinus <michael.albinus@gmx.de>
5501
5502 Implement compression for inline methods.
5503
5504 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5505 (tramp-copy-size-limit): Allow also nil.
5506 (tramp-inline-compress-commands): New defconst.
5507 (tramp-find-inline-compress, tramp-get-inline-compress)
5508 (tramp-get-inline-coding): New defuns.
5509 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5510 replaced by `tramp-get-inline-coding'.
5511 (tramp-handle-file-local-copy, tramp-handle-write-region)
5512 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5513
5514 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5515
5516 Detect ssh 'ControlMaster' argument automatically in some cases.
5517
5518 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5519 (tramp-default-method): Use it.
5520
5521 2010-08-26 Karel Klíč <kklic@redhat.com>
5522
5523 * net/tramp.el (tramp-file-name-for-operation):
5524 Add file-selinux-context.
5525
5526 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5527
5528 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5529
5530 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5531
5532 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5533 (Bug#6907).
5534
5535 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5536
5537 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5538 (js-paren-indent-offset, js-square-indent-offset)
5539 (js-curly-indent-offset): New options.
5540 (js--proper-indentation): Use them.
5541
5542 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5543
5544 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5545 instead of inspecting font-lock properties (Bug#6916).
5546
5547 2010-08-26 David Reitter <david.reitter@gmail.com>
5548
5549 * server.el (server-visit-files): Run pre-command-hook and
5550 post-command-hook for each buffer while it is current (Bug#6910).
5551 (server-execute): Do not run hooks here.
5552
5553 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5554
5555 Sync with Tramp 2.1.19.
5556
5557 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5558 (tramp-reporter-dump-variable, tramp-load-report-modules)
5559 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5560 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5561
5562 * net/tramp-compat.el (top): Do not autoload
5563 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5564 only when `start-file-process' is not bound.
5565 (byte-compile-not-obsolete-vars): Define if not bound.
5566 (tramp-compat-funcall): New defmacro.
5567 (tramp-compat-line-beginning-position)
5568 (tramp-compat-line-end-position)
5569 (tramp-compat-temporary-file-directory)
5570 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5571 (tramp-compat-copy-file, tramp-compat-copy-directory)
5572 (tramp-compat-delete-file, tramp-compat-delete-directory)
5573 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5574 Use it.
5575 (tramp-advice-file-expand-wildcards): Do not use
5576 `tramp-handle-file-remote-p'.
5577 (tramp-compat-make-temp-file): Simplify fallback implementation.
5578 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5579 (tramp-compat-copy-tree): Remove function.
5580 (tramp-compat-delete-file): New defun.
5581 (tramp-compat-delete-directory): Provide implementation for older
5582 Emacsen.
5583 (tramp-compat-file-attributes): Handle only
5584 `wrong-number-of-arguments' error.
5585
5586 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5587 Add PRESERVE_SELINUX_CONTEXT.
5588 (tramp-fish-handle-delete-file): Add TRASH arg.
5589 (tramp-fish-handle-directory-files-and-attributes):
5590 Do not use `tramp-fish-handle-file-attributes.
5591 (tramp-fish-handle-file-local-copy)
5592 (tramp-fish-handle-insert-file-contents)
5593 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5594
5595 * net/tramp-gvfs.el (top): Require url-util.
5596 (tramp-gvfs-mount-point): Remove.
5597 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5598 and `set-file-selinux-context'.
5599 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5600 (tramp-gvfs-handle-file-selinux-context)
5601 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5602 (with-tramp-dbus-call-method): Format trace message.
5603 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5604 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5605 Implement backup call, when operation on local files fails.
5606 Use progress reporter. Flush properties of changed files.
5607 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5608 Use `tramp-compat-delete-file'.
5609 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5610 (tramp-gvfs-handle-make-directory): Make more traces.
5611 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5612 (tramp-gvfs-url-file-name): Hexify file name in url.
5613 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5614 into account for the resulting file name.
5615 (tramp-gvfs-handler-askquestion): Preserve current message, in
5616 order to let progress reporter continue afterwards. (Bug#6257)
5617 Return dummy mountpoint, when the answer is "no".
5618 See `tramp-gvfs-maybe-open-connection'.
5619 (tramp-gvfs-handler-mounted-unmounted)
5620 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5621 attribute "default_location". Set "prefix" property.
5622 Handle default-location.
5623 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5624 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5625 exists. Raise an error, if not (due to a corresponding answer
5626 "no" in interactive questions, for example).
5627 Use `tramp-compat-funcall'.
5628
5629 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5630 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5631 (tramp-imap-do-copy-or-rename-file)
5632 (tramp-imap-handle-insert-file-contents)
5633 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5634 (tramp-imap-handle-delete-file): Add TRASH arg.
5635
5636 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5637 Add PRESERVE-SELINUX-CONTEXT.
5638 (tramp-smb-handle-copy-file)
5639 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5640 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5641 Use `with-progress-reporter'.
5642 (tramp-smb-handle-delete-file): Add TRASH arg.
5643
5644 * net/tramp.el (tramp-methods): Move hostname to the end in all
5645 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5646 appropriate.
5647 (tramp-verbose): Describe verbose level 9.
5648 (tramp-completion-function-alist)
5649 (tramp-file-name-regexp, tramp-chunksize)
5650 (tramp-local-coding-commands, tramp-remote-coding-commands)
5651 (with-connection-property, tramp-completion-mode-p)
5652 (tramp-action-process-alive, tramp-action-out-of-band)
5653 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5654 (tramp-exists-file-name-handler): Fix docstring.
5655 (tramp-remote-process-environment): Use `format' instead of
5656 `concat'. Protect version string by apostroph.
5657 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5658 XEmacs.
5659 (tramp-file-name-regexp-unified)
5660 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5661 not regard the volume letter as remote filename. (Bug#5447)
5662 (tramp-perl-file-attributes)
5663 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5664 (tramp-vc-registered-read-file-names): Read input as
5665 here-document, otherwise the command could exceed maximum length
5666 of command line.
5667 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5668 `set-file-selinux-context'.
5669 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5670 backtrace functions.
5671 (tramp-error-with-buffer): Don't show the connection buffer when
5672 we are in completion mode.
5673 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5674 (tramp-handle-file-selinux-context)
5675 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5676 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5677 New defuns.
5678 (with-progress-reporter): New defmacro.
5679 (tramp-debug-outline-regexp): New defconst.
5680 (top, tramp-rfn-eshadow-setup-minibuffer)
5681 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5682 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5683 (tramp-completion-mode-p, tramp-check-for-regexp)
5684 (tramp-open-connection-setup-interactive-shell)
5685 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5686 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5687 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5688 Use `tramp-compat-funcall'.
5689 (tramp-handle-make-symbolic-link): Flush file properties.
5690 (tramp-handle-load, tramp-handle-file-local-copy)
5691 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5692 (tramp-handle-vc-registered, tramp-maybe-send-script)
5693 (tramp-find-shell): Use `with-progress-reporter'.
5694 (tramp-do-file-attributes-with-stat): Add space in format string,
5695 in order to work around a bug in pdksh. Reported by Gilles Pion
5696 <gpion@lfdj.com>.
5697 (tramp-handle-verify-visited-file-modtime): Do not send a command
5698 when the connection is not established.
5699 (tramp-handle-set-file-times): Simplify the check for utc.
5700 (tramp-handle-directory-files-and-attributes)
5701 (tramp-get-remote-path): Use `copy-tree'.
5702 (tramp-completion-handle-file-name-all-completions): Ensure, that
5703 non remote files are still checked. Oops.
5704 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5705 Handle PRESERVE-SELINUX-CONTEXT.
5706 (tramp-do-copy-or-rename-file): Add progress reporter.
5707 (tramp-do-copy-or-rename-file-directly): Do not use
5708 `tramp-handle-file-remote-p'.
5709 (tramp-do-copy-or-rename-file-out-of-band):
5710 Use `tramp-compat-delete-directory'.
5711 (tramp-do-copy-or-rename-file-out-of-band)
5712 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5713 Use `format-spec-make'.
5714 (tramp-handle-delete-file): Add TRASH arg.
5715 (tramp-handle-dired-uncache): Flush directory cache, not only file
5716 cache.
5717 (tramp-handle-expand-file-name)
5718 (tramp-completion-handle-file-name-all-completions)
5719 (tramp-completion-handle-file-name-completion):
5720 Use `tramp-connectable-p'.
5721 (tramp-handle-start-file-process): Set connection property "vec".
5722 Use it, in order to invalidate file caches. Check only for
5723 `remote-tty' process property.
5724 Implement tty setting. (Bug#4604, Bug#6360)
5725 (tramp-file-name-for-operation): Add `call-process-region' and
5726 `set-file-selinux-context'.
5727 (tramp-find-foreign-file-name-handler)
5728 (tramp-advice-make-auto-save-file-name)
5729 (tramp-set-auto-save-file-modes): Remove superfluous check for
5730 `stringp'. This is done inside `tramp-tramp-file-p'.
5731 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5732 operations when we are in completion mode. This gives the user
5733 the chance to correct the file name in the minibuffer.
5734 (tramp-completion-mode-p): Use `non-essential'.
5735 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5736 compatibility: Use `completion-ignore-case' if
5737 `read-file-name-completion-ignore-case' does not exist.
5738 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5739 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5740 `tramp-open-shell'.
5741 (tramp-action-password): Hide password prompt before next run.
5742 (tramp-process-actions): Widen connection buffer for the trace.
5743 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5744 process property. Trace stty settings if `tramp-verbose' >= 9.
5745 Apply workaround for IRIX64 bug. Move argument of last
5746 `tramp-send-command' where it belongs to.
5747 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5748 front of `login-args'.
5749 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5750 on "/dev/null" instead of "/".
5751 (tramp-get-ls-command-with-dired): Make test for "--dired"
5752 stronger.
5753 (tramp-set-auto-save-file-modes): Adapt version check.
5754 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5755 (tramp-handle-process-file): Call the program in a subshell, in
5756 order to preserve working directory.
5757 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5758 `tramp-remote-sh' from `tramp-methods'.
5759 (tramp-get-ls-command): Make test for "--color=never" stronger.
5760 (tramp-check-for-regexp): Use (forward-line 1).
5761
5762 * net/trampver.el: Update release number.
5763
5764 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5765
5766 * help.el (help-map): Bind `C-h P' to describe-package.
5767
5768 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5769
5770 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5771 when downloading archives.
5772 (describe-package-1): Add package commentary.
5773 (package-install-button-action): New function.
5774 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5775 (package-menu-view-commentary): Function removed.
5776 (package-list-packages-internal): Hide the `package' package too.
5777
5778 2010-08-25 Kenichi Handa <handa@m17n.org>
5779
5780 * language/misc-lang.el ("Arabic"): New language environment.
5781 Setup composition-function-table for Arabic characters.
5782
5783 * international/fontset.el (setup-default-fontset): Fix typo for
5784 arabic OTF spec (fini->fina).
5785
5786 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5787
5788 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5789 on all frames.
5790
5791 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5792
5793 * whitespace.el: Allow cleaning up blanks without blank
5794 visualization (Bug#6651). Adjust help window for
5795 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5796 instead of whitespace-line-column (from EmacsWiki). New version
5797 13.1.
5798 (whitespace-style): Add new value 'face. Adjust docstring.
5799 (whitespace-space, whitespace-hspace, whitespace-tab):
5800 Adjust foreground property face.
5801 (whitespace-line-column): Adjust docstring and type declaration.
5802 (whitespace-style-value-list, whitespace-toggle-option-alist)
5803 (whitespace-help-text): Adjust const initialization.
5804 (whitespace-toggle-options, global-whitespace-toggle-options):
5805 Adjust docstring.
5806 (whitespace-display-window, whitespace-interactive-char)
5807 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5808 (whitespace-help-scroll): New fun.
5809
5810 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5811
5812 * emacs-lisp/package.el (list-packages): Alias for
5813 package-list-packages.
5814
5815 2010-08-24 Kevin Ryde <user42@zip.com.au>
5816
5817 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5818 (Bug#5651).
5819
5820 * progmodes/ruby-mode.el (ruby): Add defgroup.
5821
5822 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5823
5824 * progmodes/python.el: Add Ipython support (Bug#5390).
5825 (python-shell-prompt-alist)
5826 (python-shell-continuation-prompt-alist): New options.
5827 (python--set-prompt-regexp): New function.
5828 (inferior-python-mode, run-python, python-shell):
5829 Require ansi-color. Use python--set-prompt-regexp to set the comint
5830 prompt based on the Python interpreter.
5831 (python--prompt-regexp): New var.
5832 (python-check-comint-prompt)
5833 (python-comint-output-filter-function): Use it.
5834 (run-python): Use a pipe (Bug#5694).
5835
5836 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5837
5838 * progmodes/python.el (python-send-region): Send a different
5839 Python command if Ipython is in use.
5840 (python-check-version): Use a Python command to find the version.
5841
5842 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5843
5844 * mouse.el (mouse-yank-primary): Avoid setting primary when
5845 deactivating the mark (Bug#6872).
5846
5847 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5848
5849 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5850 with "else" (Bug#3991).
5851
5852 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5853
5854 * net/dbus.el: Accept UNIX domain sockets as bus address.
5855 (top): Don't initialize `dbus-registered-objects-table' anymore,
5856 this is done in dbusbind,c.
5857 (dbus-check-event): Adapt test for bus.
5858 (dbus-return-values-table, dbus-unregister-service)
5859 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5860 Adapt doc string.
5861
5862 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5863
5864 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5865
5866 2010-08-22 Juri Linkov <juri@jurta.org>
5867
5868 * simple.el (read-extended-command): New function with the logic
5869 for `completing-read' moved to Elisp from `execute-extended-command'.
5870 Use `function-called-at-point' in `minibuffer-default-add-function'
5871 to get a command name for M-n (bug#5364, bug#5214).
5872
5873 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5874
5875 * startup.el (command-line-1): Issue warning for ignored arguments
5876 --unibyte, etc (Bug#6886).
5877
5878 2010-08-22 Leo <sdl.web@gmail.com>
5879
5880 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5881 (ignore, bright, dim, keyword): Split list of nicknames before
5882 passing to rcirc-add-or-remove (Bug#6894).
5883
5884 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5885
5886 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5887
5888 2010-08-22 Leo <sdl.web@gmail.com>
5889
5890 Fix buffer-list rename&refresh after killing a buffer in ido.
5891 * ido.el: Revert Óscar's.
5892 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5893 Remember the buffers at head, rather than their name.
5894 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5895
5896 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5897 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5900 extra backslash added to each line (bug#6890).
5901
5902 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5905
5906 2010-08-22 Glenn Morris <rgm@gnu.org>
5907
5908 * menu-bar.el (menu-bar-games-menu): Add landmark.
5909
5910 2010-08-22 Glenn Morris <rgm@gnu.org>
5911
5912 * align.el (align-regexp): Make group and spacing arguments
5913 use the interactive defaults when non-interactive. (Bug#6698)
5914
5915 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5916 expansion, so as not to need sendmail.
5917 (mail-text-start): Remove declaration.
5918 (rmail-retry-failure): Require sendmail.
5919
5920 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5921
5922 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5923
5924 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5925
5926 * progmodes/flymake.el (flymake-start-syntax-check-process):
5927 Use `start-file-process' in order to let it run also on remote hosts.
5928
5929 2010-08-22 Kenichi Handa <handa@m17n.org>
5930
5931 * files.el: Add `word-wrap' as safe local variable.
5932
5933 2010-08-22 Glenn Morris <rgm@gnu.org>
5934
5935 * woman.el (woman-translate): Case matters. (Bug#6849)
5936
5937 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5938
5939 * simple.el (kill-region): Doc fix (Bug#6787).
5940
5941 2010-08-22 Glenn Morris <rgm@gnu.org>
5942
5943 * calendar/diary-lib.el (diary-header-line-format):
5944 Fit it to the window, not the frame.
5945
5946 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5947
5948 * subr.el (ignore-errors): Add debug declaration.
5949
5950 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5951
5952 * whitespace.el (whitespace-color-off): Remove post-command-hook
5953 locally.
5954
5955 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5958
5959 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5960
5961 * cus-edit.el (custom-group-value-create): Add extra newline
5962 before end line (Bug#6876).
5963
5964 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5965
5966 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5967 when extending it. Before killing on the second click, check if
5968 the buffer is the correct one. Doc fix.
5969 (mouse-secondary-save-then-kill): Allow usage without first
5970 calling mouse-start-secondary, by defaulting to point. Don't save
5971 an empty secondary selection. Doc fix.
5972
5973 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5974
5975 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5976 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5977 New version 13.0.
5978 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5979 Adjust initialization.
5980 (whitespace-bob-marker, whitespace-eob-marker)
5981 (whitespace-buffer-changed): New vars.
5982 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5983 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5984 (whitespace-post-command-hook, whitespace-display-char-on):
5985 Adjust code.
5986 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5987 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5988
5989 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * files.el (locate-file-completion-table): Only list the .el and .elc
5992 extensions if there's no other choice (bug#5955).
5993
5994 * facemenu.el (facemenu-self-insert-data): New var.
5995 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5996 New functions.
5997 (facemenu-add-face): Use them.
5998
5999 * simple.el (blink-matching-open): Obey forward-sexp-function.
6000
6001 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6002
6003 * simple.el (prog-mode-map): New var.
6004 (prog-indent-sexp): New command.
6005
6006 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6007
6008 * progmodes/prolog.el (smie): Require.
6009
6010 * emacs-lisp/smie.el (smie-default-backward-token)
6011 (smie-default-forward-token): Strip properties.
6012 (smie-next-sexp): Be more careful with associative operators.
6013 (smie-forward-sexp-command): Generalize.
6014 (smie-backward-sexp-command): Simplify.
6015 (smie-closer-alist): New var.
6016 (smie-close-block): New command.
6017 (smie-indent-debug-log): New var.
6018 (smie-indent-offset-rule): Add a few more cases.
6019 (smie-indent-column): New function.
6020 (smie-indent-after-keyword): Use it.
6021 (smie-indent-keyword): Use it.
6022 Fix up the opener code's point position.
6023 (smie-indent-comment): Only applies at BOL.
6024 (smie-indent-debug): New command.
6025
6026 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6027 declarations that are useful before running the macro.
6028
6029 2010-08-18 Joakim Verona <joakim@verona.se>
6030
6031 * image.el (imagemagick-types-inhibit): New variable.
6032 (imagemagick-register-types): New function.
6033 * image-mode.el (image-transform-properties): New function.
6034 (image-transform-set-scale, image-transform-fit-to-height)
6035 (image-transform-set-rotation, image-transform-set-resize)
6036 (image-transform-fit-to-width, image-transform-fit-to-height):
6037 New functions.
6038 (image-toggle-display-image): Support image transforms.
6039
6040 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6041
6042 * image.el (create-animated-image): Don't add heuristic mask to image
6043 (Bug#6839).
6044
6045 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6046
6047 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6048 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6049
6050 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6051
6052 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6053
6054 Font-lock '...' strings, plus various simplifications and fixes.
6055 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6056 (octave-font-lock-close-quotes): New function.
6057 (octave-font-lock-syntactic-keywords): New var.
6058 (octave-mode): Use it. Set beginning-of-defun-function.
6059 (octave-mode-map): Don't override the <foo>-defun commands.
6060 (octave-mode-menu): Pass it directly to easy-menu-define;
6061 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6062 (octave-block-match-alist): Fix up last change so that
6063 octave-close-block uses the more specific keyword.
6064 (info-lookup-mode): Silence byte-compiler.
6065 (octave-beginning-of-defun): Not interactive any more.
6066 Optimize slightly.
6067 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6068 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6069 (octave-completion-at-point-function): Make sure point is within
6070 beg..end.
6071 (octave-reindent-then-newline-and-indent):
6072 Use reindent-then-newline-and-indent.
6073 (octave-add-octave-menu): Remove.
6074
6075 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6076
6077 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6078 (report-emacs-bug-can-use-xdg-email): New functions.
6079 (report-emacs-bug): Set can-xdg-email to result of
6080 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6081 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6082 about it.
6083
6084 * net/browse-url.el (browse-url-default-browser): Add cond
6085 for browse-url-xdg-open.
6086 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6087
6088 2010-08-17 Glenn Morris <rgm@gnu.org>
6089
6090 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6091 (c-fontify-recorded-types-and-refs): Define for compiler.
6092 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6093 before use.
6094
6095 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6096 Fix format call.
6097
6098 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6099
6100 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6101 properties.
6102 (tramp-handle-process-file): Call the program in a subshell, in
6103 order to preserve working directory.
6104 (tramp-action-password): Hide password prompt before next run.
6105 (tramp-process-actions): Widen connection buffer for the trace.
6106
6107 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6108
6109 * net/rcirc.el (rcirc-log-process-buffers): New option.
6110 (rcirc-print): Use it.
6111 (rcirc-generate-log-filename): New function.
6112 (rcirc-log-filename-function): Change default to
6113 rcirc-generate-log-filename (Bug#6828).
6114
6115 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6116
6117 * simple.el (deactivate-mark): If select-active-regions is `only',
6118 only set selection for temporarily active regions.
6119
6120 * cus-start.el: Change defcustom for select-active-regions.
6121
6122 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6123
6124 * mouse.el (mouse--drag-set-mark-and-point): New function.
6125 (mouse-drag-track): Use LOCATION arg to push-mark.
6126 Use mouse--drag-set-mark-and-point to take click-count into
6127 consideration when updating point and mark (Bug#6840).
6128
6129 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6130
6131 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6132 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6133
6134 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6135
6136 * font-lock.el (lisp-font-lock-keywords-2):
6137 Add combine-after-change-calls, condition-case-no-debug,
6138 with-demoted-errors, and with-silent-modifications (Bug#6025).
6139
6140 2010-08-14 Kevin Ryde <user42@zip.com.au>
6141
6142 * emacs-lisp/copyright.el (copyright-update-year)
6143 (copyright-update): Temporary switch-to-buffer to ensure the
6144 buffer change being queried is visible (Bug#5394).
6145
6146 2010-08-14 Tom Tromey <tromey@redhat.com>
6147
6148 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6149 (Bug#6733).
6150
6151 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6152
6153 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6154 MS-DOS. (Bug#6689)
6155
6156 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6157
6158 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6159 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6160 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6161 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6162 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6163 Call menu-bar-set-tool-bar-position.
6164
6165 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6166
6167 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6168 comment style (bug#6834).
6169 * progmodes/scheme.el (scheme-mode-syntax-table):
6170 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6171 "b" flag in "' 14b" syntax.
6172
6173 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6174 for (un)commenting the region and performing completion.
6175 (octave-mode-menu): Use standard commands for help and completion.
6176 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6177 (octave-mode): Use define-derived-mode.
6178 Set completion-at-point-functions and don't set columns.
6179 Don't disable adaptive-fill-regexp.
6180 (octave-describe-major-mode, octave-comment-region)
6181 (octave-uncomment-region, octave-comment-indent)
6182 (octave-indent-for-comment): Remove.
6183 (octave-indent-calculate): Rename from calculate-octave-indent.
6184 (octave-indent-line, octave-fill-paragraph): Update caller.
6185 (octave-initialize-completions): No need to make an alist.
6186 (octave-completion-at-point-function): New function.
6187 (octave-complete-symbol): Use it.
6188 (octave-insert-defun): Use define-skeleton.
6189
6190 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6191 (octave-mode-map): Use comment-dwim (bug#6829).
6192
6193 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6194
6195 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6196 indentation of inserted comment.
6197
6198 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6199
6200 * faces.el (region): Add type gtk that uses gtk colors.
6201
6202 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6203 Handle theme-name change.
6204
6205 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6206
6207 * progmodes/sql.el: Version 2.5
6208 (sql-product-alist): Add :prompt-cont-regexp property for several
6209 database products.
6210 (sql-prompt-cont-regexp): New variable.
6211 (sql-output-newline-count, sql-output-by-send):
6212 New variables. Record number of newlines in input text.
6213 (sql-send-string): Handle multiple filters and count newlines.
6214 (sql-send-magic-terminator): Count terminator newline.
6215 (sql-interactive-remove-continuation-prompt): Filters output to
6216 remove continuation prompts; one for each newline.
6217 (sql-interactive-mode): Set up new variables, prompt regexp and
6218 output filter.
6219 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6220 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6221
6222 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 * emacs-lisp/pcase.el: New file.
6225
6226 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6227
6228 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6229 as here-document, otherwise the command could exceed maximum
6230 length of command line.
6231 (tramp-handle-vc-registered): Call script accordingly.
6232 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6233
6234 2010-08-10 Kenichi Handa <handa@m17n.org>
6235
6236 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6237 composable pattern.
6238
6239 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6240
6241 * emacs-lisp/package.el (package-version-split)
6242 (package--version-first-nonzero, package-version-compare):
6243 Functions removed.
6244 (package-directory-list, package-load-all-descriptors)
6245 (package--built-in, package-activate, define-package)
6246 (package-installed-p, package-compute-transaction)
6247 (package-read-all-archive-contents)
6248 (package--add-to-archive-contents, package-buffer-info)
6249 (package-tar-file-info, package-list-packages-internal):
6250 Use version-to-list and version-list-*.
6251
6252 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6253 Use version-to-list.
6254 (package-upload-buffer-internal): Use version-list-<=.
6255
6256 2010-08-09 Kenichi Handa <handa@m17n.org>
6257
6258 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6259 composable pattern.
6260
6261 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6262
6263 * tutorial.el (tutorial--default-keys): C-d is now bound to
6264 delete-forward-char (Bug#6826).
6265
6266 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6267 for `double' value of mouse-1-click-follows-link (Bug#6807).
6268
6269 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6270
6271 * replace.el (replace-highlight): Bind isearch-forward and
6272 isearch-error, ensuring that highlighting is updated if the user
6273 switches the search direction (Bug#6808).
6274
6275 * isearch.el (isearch-lazy-highlight-forward): New var.
6276 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6277 (isearch-lazy-highlight-update): Use it.
6278
6279 2010-08-08 Kenichi Handa <handa@m17n.org>
6280
6281 * international/mule.el (define-charset): Store NAME as :base property.
6282 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6283 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6284 current priority. Force using the designation of the specific
6285 charset by adding `charset' text property. Improve the whole algorithm.
6286
6287 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6288
6289 * emulation/pc-select.el (pc-selection-mode-hook)
6290 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6291 (pc-selection-mode): Fix typos in docstrings.
6292
6293 2010-08-08 Kenichi Handa <handa@m17n.org>
6294
6295 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6296 ctext-non-standard-encodings-alist here.
6297
6298 * international/mule.el (ctext-non-standard-encodings-alist):
6299 Add "koi8-r" and "microsoft-cp1251".
6300 (ctext-standard-encodings): New variable.
6301 (ctext-non-standard-encodings-table): List only elements for
6302 non-standard encodings.
6303 (ctext-pre-write-conversion): Adjust for the above change.
6304 Check ctext-standard-encodings.
6305
6306 * international/mule-conf.el (compound-text): Doc fix.
6307 (ctext-no-compositions): Doc fix.
6308 (compound-text-with-extensions): Doc fix.
6309
6310 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6313
6314 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6315
6316 * progmodes/which-func.el (which-func-format): Split help-echo text
6317 into lines, like other mode-line tooltips.
6318
6319 * server.el (server-start): When using TCP sockets, force IPv4
6320 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6321
6322 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6325
6326 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6327
6328 * term.el (term-delimiter-argument-list): Reflow docstring.
6329 (term-read-input-ring, term-write-input-ring, term-send-input)
6330 (term-bol, term-erase-in-display, serial-supported-or-barf):
6331 Fix typos in docstrings.
6332
6333 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6336
6337 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6338
6339 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6340
6341 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6342
6343 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6344 Fix typo in docstring (bug#6747).
6345
6346 2010-08-08 Leo <sdl.web@gmail.com>
6347
6348 * eshell/esh-io.el (eshell-get-target): Better detection of
6349 read-only file (Bug#6762).
6350
6351 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6352
6353 * align.el (align-default-spacing): Doc fix.
6354 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6355
6356 2010-08-08 Stephen Peters <speters@itasoftware.com>
6357
6358 * calendar/icalendar.el
6359 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6360 (icalendar--get-weekday-numbers): New.
6361 (icalendar--convert-recurring-to-diary): Handle multiple byday
6362 values in weekly rules. (Bug#6766)
6363
6364 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6365
6366 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6367 (icalendar--create-uid, icalendar-export-region)
6368 (icalendar--parse-summary-and-rest): Code formatting.
6369
6370 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6371
6372 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6373 to italicize headers.
6374 (calc-highlight-selections-with-faces): New variable.
6375 (calc-selected-face, calc-nonselected-face): New faces.
6376
6377 * calc/calccomp.el (math-comp-highlight-string): Use
6378 `calc-highlight-selections-with-faces' to determine how to highlight
6379 sub-formulas.
6380
6381 * calc/calc-sel.el (calc-show-selections): Change message to when
6382 using faces to highlight selections.
6383
6384 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6385
6386 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6387 Add SQLite 3 keywords, functions and datatypes.
6388 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6389 (Bug#6686).
6390
6391 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6392
6393 * simple.el (select-active-regions): Move to keyboard.c.
6394 (deactivate-mark): Used saved-region-selection.
6395 (select-active-region): Function removed.
6396 (activate-mark, set-mark, push-mark-command)
6397 (handle-shift-selection): Don't call it.
6398 (keyboard-quit): Avoid adding the region to the window selection.
6399
6400 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6401 select-active-regions implementation.
6402 (mouse-yank-at-click): Doc fix.
6403
6404 * cus-start.el: Add custom declaration for select-active-regions.
6405
6406 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6407
6408 * simple.el (delete-forward-char): Doc fix.
6409
6410 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6411 after reading the tutorial.
6412
6413 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6414
6415 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6416 Fix for the case that a C style comment has its delimiters alone on
6417 their respective lines.
6418
6419 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6420
6421 * net/tramp.el (tramp-handle-start-file-process): Set connection
6422 property "vec".
6423 (tramp-process-sentinel): Use it for flushing the cache.
6424 We cannot do it via the process buffer, the buffer could be deleted
6425 already when running the sentinel.
6426
6427 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6428
6429 * comint.el (comint-mode): Make directory tracking functions
6430 functional on remote files. (Bug#6764)
6431
6432 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6433
6434 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6435
6436 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6437
6438 * emacs-lisp/find-gc.el (find-gc-source-files):
6439 Rename unexec.c => unexcoff.c.
6440
6441 * emacs-lisp/authors.el (authors-fixed-entries):
6442 Rename unexec.c => unexcoff.c.
6443
6444 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6445
6446 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6447 cache, not only file cache.
6448 (tramp-process-sentinel): New defun.
6449 (tramp-handle-start-file-process): Use it, in order to invalidate
6450 file caches.
6451
6452 2010-08-03 Leo <sdl.web@gmail.com>
6453
6454 * server.el (server-start): Simplify loop.
6455
6456 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * frame.el (screen-height, screen-width, set-screen-width)
6459 (set-screen-height): Remove ancient compatibility aliases.
6460
6461 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6462 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6463
6464 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6465 that change current buffer.
6466
6467 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6468
6469 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6470 beginning of the string. Use `string-match-p'. (Bug#6765)
6471
6472 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6473
6474 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6475
6476 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6477
6478 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6479 (package--builtins): Tweak descriptions.
6480 (package-print-package): Upcase descriptions if necessary.
6481 Show all built-in packages in font-lock-builtin-face.
6482 (package-list-packages-internal): Omit "emacs" package.
6483 Show status of built-in packages as "built-in".
6484
6485 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6486
6487 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6488 before killing to preserve the primary selection (Bug#6701).
6489
6490 * term/x-win.el (x-select-text): Doc fix.
6491
6492 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6493
6494 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6495 (objc-font-lock-extra-types):
6496 * progmodes/cc-mode.el (c-basic-common-init):
6497 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6498 (c++-make-template-syntax-table)
6499 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6500 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6501 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6502 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6503 * progmodes/cc-fonts.el (c-make-inverse-face)
6504 (c-basic-matchers-after):
6505 * progmodes/cc-engine.el (c-forward-keyword-clause)
6506 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6507 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6508 (c-guess-continued-construct, c-guess-basic-syntax):
6509 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6510 The above functions were modified or created.
6511
6512 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6513
6514 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6515
6516 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6517
6518 * files.el (bidi-paragraph-direction): Define safe local values.
6519
6520 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6521 language-info-alist. Remove outdated FIXME in a comment.
6522
6523 2010-07-31 Alan Mackenzie <acm@muc.de>
6524
6525 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6526 Auto-fill broken in C/C++ modes.
6527
6528 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6529
6530 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6531 (menu-bar-showhide-tool-bar-menu-customize-disable)
6532 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6533 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6534 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6535 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6536 make a menu for Options => toolbar that can move it.
6537
6538 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6539
6540 * emacs-lisp/package-x.el (package--make-rss-entry):
6541 (package-maint-add-news-item, package--update-news)
6542 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6543
6544 * emacs-lisp/package.el (package-archive-url): Rename from
6545 package-archive-id.
6546 (package-install): Doc fix.
6547 (package-download-single, package-download-tar, package-install)
6548 (package-menu-view-commentary): Callers changed.
6549
6550 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * net/tramp.el (tramp-handle-start-file-process): Check only for
6553 `remote-tty' process property.
6554 (tramp-open-shell): Don't check for tty.
6555 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6556 process property.
6557
6558 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6559 host.
6560
6561 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6562
6563 * emacs-lisp/package.el (package-load-list, package-archives)
6564 (package-archive-contents, package-user-dir)
6565 (package-directory-list, package--builtins, package-alist)
6566 (package-activated-list, package-obsolete-alist): Mark as risky.
6567
6568 2010-07-28 Phil Hagelberg <phil@evri.com>
6569
6570 Add support for non-default package repositories.
6571 * emacs-lisp/package.el (package-archive-base): Var deleted.
6572 (package-archives): New variable.
6573 (package-archive-contents): Doc fix.
6574 (package-load-descriptor): Do nothing if descriptor file is missing.
6575 (package--write-file-no-coding): New function.
6576 (package-unpack-single): Use it.
6577 (package-archive-id): New function.
6578 (package-download-single, package-download-tar)
6579 (package-menu-view-commentary): Use it.
6580 (package-installed-p): Make second argument optional.
6581 (package-read-all-archive-contents): New function.
6582 (package-initialize): Use it.
6583 (package-read-archive-contents): Add ARCHIVE argument.
6584 (package--add-to-archive-contents): New function.
6585 (package-install): Don't call package-read-archive-contents.
6586 (package--download-one-archive): Store archive file in a
6587 subdirectory of package-user-dir.
6588 (package-menu-execute): Remove spurious line movement.
6589
6590 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6591
6592 * cus-start.el (tool-bar-style): Add text-image-horiz.
6593
6594 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6595
6596 * progmodes/gud.el (gud-common-init): Check for remoteness of
6597 `file', and not of `default-directory'.
6598
6599 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6600
6601 * net/tramp.el (tramp-methods): Move hostname to the end in all
6602 ssh `tramp-login-args'.
6603 (tramp-verbose): Describe verbose level 9.
6604 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6605 (tramp-open-connection-setup-interactive-shell): Trace stty
6606 settings if `tramp-verbose' >= 9.
6607 (tramp-handle-start-file-process): Implement tty setting.
6608 (Bug#4604, Bug#6360)
6609
6610 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6611 `tramp-verbose' to 9.
6612
6613 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6614
6615 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6616 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6617 Remove references to package `lisp-re' (bug#4369).
6618
6619 2010-07-27 Tom Tromey <tromey@redhat.com>
6620
6621 * progmodes/js.el (js-mode):
6622 * progmodes/make-mode.el (makefile-mode):
6623 * progmodes/simula.el (simula-mode):
6624 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6625
6626 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6627
6628 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6629
6630 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6631 (display-time-world-buffer-name, display-time-world-mode-map):
6632 Fix typos in docstrings.
6633
6634 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6635
6636 * image-mode.el (image-display-size): New function.
6637 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6638 (image-mode-fit-frame): Use it (Bug#6639).
6639
6640 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6641
6642 * dired.el (dired-buffers-for-dir): Handle list values of
6643 dired-directory (Bug#6636).
6644
6645 2010-07-26 Sam Steingold <sds@gnu.org>
6646
6647 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6648 Do not call `x-get-selection' the second time, reuse the value.
6649
6650 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6651
6652 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6653 which consist of control chars only. Suggested by Richard Stallman.
6654
6655 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6656
6657 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6658 exists before passing an error to find-file-not-found-functions
6659 (bug#6723).
6660
6661 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6662
6663 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6664 Remove leading nil element, adjust values.
6665 (tetris-shapes, tetris-shape-scores):
6666 Change representation of shapes and remove some redundancy.
6667 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6668 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6669 Adjust for working with new representation of shapes.
6670 (tetris-shape-rotations): New function.
6671 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6672 (tetris-rotate-prev, tetris-rotate-next):
6673 Adjust for working with the new version of tetris-test-shape.
6674
6675 2010-07-23 Markus Triska <markus.triska@gmx.at>
6676
6677 * progmodes/ps-mode.el: Use comint (bug#5954).
6678 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6679 (ps-mode-other-newline): Simplify.
6680 (ps-run-mode): Derive from comint-mode instead of
6681 fundamental-mode, yielding input history etc.
6682 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6683 (ps-run-send-string): Adapt for comint-mode.
6684 (ps-run-newline): Remove now unneeded function.
6685
6686 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6687
6688 * net/tramp.el (tramp-methods): Move hostname to the end in all
6689 plink `tramp-login-args'.
6690
6691 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6692
6693 * net/tramp.el (tramp-open-shell): New defun.
6694 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6695 Use it.
6696
6697 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6698
6699 * net/tramp.el (tramp-file-name-regexp-unified)
6700 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6701 not regard the volume letter as remote filename. (Bug#5447)
6702
6703 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6704
6705 * custom.el (custom-declare-variable): Give a clearer error message
6706 when the docstring is missing (bug#6476).
6707
6708 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6709
6710 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6711 (sql-login-params): New widget definition.
6712 (sql-oracle-login-params, sql-mysql-login-params)
6713 (sql-solid-login-params, sql-sybase-login-params)
6714 (sql-informix-login-params, sql-ingres-login-params)
6715 (sql-ms-login-params, sql-postgres-login-params)
6716 (sql-interbase-login-params, sql-db2-login-params)
6717 (sql-linter-login-params): Use it.
6718 (sql-sqlite-login-params): Use it; Define "database" parameter as
6719 a file name.
6720 (sql-sqlite-program): Change to "sqlite3".
6721 (sql-comint-sqlite): Make sure database name is complete.
6722 (sql-for-each-login): New function.
6723 (sql-connect, sql-save-connection): Use it.
6724 (sql-get-login-ext): New function.
6725 (sql-get-login): Use it.
6726 (sql-make-alternate-buffer-name): Handle :file parameters.
6727
6728 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6729
6730 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6731 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6732
6733 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6734
6735 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6736
6737 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6738
6739 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6740
6741 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6742
6743 * net/tramp.el (tramp-get-ls-command)
6744 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6745 instead of "/".
6746
6747 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6748
6749 * progmodes/sql.el: Version 2.3.
6750 (sql-connection-alist): Change keys from symbols to strings;
6751 enhanced the widget definition.
6752 (sql-mode-menu): Add submenu to select connections.
6753 (sql-interactive-mode-menu): Add "Save Connection" item.
6754 (sql-add-product): Fix menu item.
6755 (sql-get-product-feature): Improved error handling.
6756 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6757 (sql-make-alternate-buffer-name): Simplified.
6758 (sql-product-interactive): Handle missing product.
6759 (sql-connect): Support string keys, minor improvements.
6760 (sql-save-connection): New function.
6761 (sql-connection-menu-filter): New function.
6762
6763 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6764
6765 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6766 (tramp-open-connection-setup-interactive-shell):
6767 Apply workaround for IRIX64 bug. Move argument of last
6768 `tramp-send-command' where it belongs to.
6769
6770 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6771
6772 * net/tramp.el (tramp-perl-file-attributes)
6773 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6774 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6775 front of `login-args'.
6776
6777 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6778
6779 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6780 Set `show-trailing-whitespace' to nil.
6781 (display-time-world-display): Simplify.
6782
6783 2010-07-18 Alan Mackenzie <acm@muc.de>
6784
6785 Enhance `c-file-style' in file/directory local variables.
6786 * progmodes/cc-mode.el (c-count-cfss): New function.
6787 (c-before-hack-hook): Call `c-set-style' differently according to
6788 whether c-file-style was set in file or directory local
6789 variables.
6790
6791 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6792
6793 * progmodes/sql.el: Version 2.2.
6794 (sql-product, sql-user, sql-database, sql-server, sql-port):
6795 Use defcustom :safe keyword rather than putting safe-local-variable
6796 property.
6797 (sql-password): Use defcustom :risky keyword rather than putting
6798 risky-local-variable property.
6799 (sql-oracle-login-params, sql-sqlite-login-params)
6800 (sql-solid-login-params, sql-sybase-login-params)
6801 (sql-informix-login-params, sql-ingres-login-params)
6802 (sql-ms-login-params, sql-postgres-login-params)
6803 (sql-interbase-login-params, sql-db2-login-params)
6804 (sql-linter-login-params): Add `port' option.
6805 (sql-get-product-feature): Add NO-INDIRECT parameter.
6806 (sql-comint-oracle, sql-comint-sybase)
6807 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6808 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6809 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6810 (sql-comint-linter): Rename sql-connect-* functions to
6811 sql-comint-*.
6812 (sql-product-alist, sql-mode-menu): Rename as above and
6813 :sqli-connect-func to :sqli-comint-func.
6814 (sql-connection): New variable.
6815 (sql-interactive-mode): Set it.
6816 (sql-connection-alist): New variable.
6817 (sql-connect): New function.
6818 (sql--alt-buffer-part, sql--alt-if-not-empty)
6819 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6820
6821 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6822
6823 * image-mode.el (image-bookmark-make-record): Do not set context
6824 in an image (Bug#6650).
6825
6826 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6827
6828 * simple.el (select-active-region): New function.
6829 (push-mark-command, set-mark, activate-mark)
6830 (handle-shift-selection): Use it.
6831 (deactivate-mark): Don't check for size of region.
6832
6833 * mouse.el (mouse-drag-track): Use select-active-region.
6834
6835 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6836
6837 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6838 "--dired" stronger.
6839
6840 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6841
6842 * term/x-win.el (x-select-enable-primary): Change default to nil.
6843 (x-select-enable-clipboard): Add :version keyword.
6844
6845 * mouse.el (mouse-drag-copy-region):
6846 * simple.el (select-active-regions): Likewise.
6847
6848 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6849
6850 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6851 (vc-coding-system-for-diff): Use it to decide whether to inherit
6852 from the file the EOL format for reading the diffs of that file.
6853 (Bug#4451)
6854
6855 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6856
6857 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6858 unibyte, so compressed attachments are not compressed again.
6859
6860 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6861
6862 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6863 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6864 (tramp-find-shell): Simplify setting connection property.
6865 (tramp-get-ls-command): Make test for "--color=never" stronger.
6866
6867 2010-07-15 Simon South <ssouth@member.fsf.org>
6868
6869 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6870 blocks within record declarations (i.e. variant parts) correctly.
6871
6872 2010-07-15 Simon South <ssouth@member.fsf.org>
6873
6874 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6875 over literal tokens when parsing so newlines aren't "absorbed" by
6876 single-line comments. Corrects the indentation of case blocks
6877 that have a comment on the first line.
6878
6879 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6880
6881 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6882 by Drew Adams (Bug#5504).
6883
6884 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6885
6886 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6887 now that Unicode is used (Bug#6594).
6888
6889 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6890
6891 * term/x-win.el (x-select-enable-clipboard): Default to t.
6892 (x-initialize-window-system): Don't overwrite Paste menu item.
6893
6894 * simple.el (select-active-regions): Default to t.
6895 (push-mark-command): Don't overwrite primary with empty string.
6896
6897 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6898 (mouse-drag-copy-region): Default to nil.
6899
6900 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6901 Cut/Copy/Paste menu bar items.
6902
6903 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6904
6905 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6906 Patch applied by Karl Fogel.
6907
6908 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6909 and `bookmark-current-buffer' if they have been already set in
6910 another buffer (e.g gnus-art).
6911
6912 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6913 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6914
6915 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6916
6917 * bookmark.el (bookmark-make-record-default): Allow unneeded
6918 information to be omitted from the record.
6919
6920 Adjust declarations and calls:
6921
6922 * info.el (bookmark-make-record-default): Adjust declaration.
6923 (Info-bookmark-make-record): Adjust call.
6924
6925 * woman.el (bookmark-make-record-default): Adjust declaration.
6926 (woman-bookmark-make-record): Adjust call.
6927
6928 * man.el (bookmark-make-record-default): Adjust declaration.
6929 (Man-bookmark-make-record): Adjust call.
6930
6931 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6932
6933 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6934
6935 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6936
6937 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6938 This is also from Thierry Volpiatto's patch in bug #6444. However,
6939 because it was extraneous to the functional change in that patch,
6940 and causes a re-indendation, I am committing it separately.
6941
6942 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6943
6944 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6945 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6946 Patch applied by Karl Fogel (Bug#6444).
6947
6948 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6949
6950 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6951
6952 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6953
6954 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6955 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6956 (ns-alternatives-map): Change S-tab binding to backtab
6957 (bug#6616).
6958
6959 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6960 under ns.
6961
6962 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6963
6964 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6965 (Bug#5806)
6966
6967 * language/tv-util.el (tai-viet-re): Remove format.
6968
6969 2010-07-12 Kenichi Handa <handa@m17n.org>
6970
6971 * language/hebrew.el: Remove no-byte-compile declaration.
6972 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6973 composition-function-table for 3-character looking back.
6974 (hebrew-font-get-precomposed): New function.
6975 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6976
6977 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6978
6979 * mouse.el (mouse-drag-track): Handle select-active-regions
6980 (Bug#6612).
6981
6982 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6983
6984 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6985 empty argument to gvfs-copy.
6986
6987 2010-07-10 Glenn Morris <rgm@gnu.org>
6988
6989 * calendar/calendar.el (calendar-week-end-day): New function.
6990 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6991 Respect calendar-week-start-day. (Bug#6606)
6992 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6993 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6994 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6995 respect calendar-week-start-day.
6996
6997 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6998
6999 * simple.el (use-region-p): Doc fix (Bug#6607).
7000
7001 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7002
7003 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7004 Add regexps for cucumber and ruby.
7005
7006 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7007
7008 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7009 (epa-file-insert-file-contents): Hack to prevent
7010 find-file from opening empty buffer when decryption failed
7011 (bug#6568).
7012
7013 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7014
7015 * textmodes/ispell.el (ispell-alternate-dictionary):
7016 Use file-readable-p.
7017 Return nil if no word-list is found at default locations.
7018 (ispell-complete-word-dict): Default to nil.
7019 (ispell-command-loop): Use 'word-list' when using lookup-words.
7020 (lookup-words): Use ispell-complete-word-dict or
7021 ispell-alternate-dictionary. Check for word-list availability
7022 and handle errors if needed with better messages (Bug#6539).
7023 (ispell-complete-word): Use ispell-complete-word-dict or
7024 ispell-alternate-dictionary.
7025
7026 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7027
7028 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7029 builtins (BufferError, BytesWarning, WindowsError; callables
7030 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7031
7032 2010-07-07 Glenn Morris <rgm@gnu.org>
7033
7034 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7035 (zone-shift-left): Ignore intangibility, and any errors from
7036 forward-char.
7037 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7038 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7039 deleting, and copying text properties.
7040 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7041 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7042 to point-max is hard.
7043 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7044 (zone-fill-out-screen): Ignore intangibility.
7045
7046 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7047
7048 * menu-bar.el (menu-bar-mode):
7049 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7050 if it has been set.
7051
7052 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7053 word/line selection (Bug#6565).
7054
7055 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7056
7057 * net/dbus.el (dbus-send-signal): Declare function.
7058
7059 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7060
7061 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7062 (dbus-register-property): New optional argument EMITS-SIGNAL.
7063 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7064
7065 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7066
7067 * mouse.el (mouse-drag-overlay): Variable deleted.
7068 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7069 (mouse--remap-link-click-p): New function.
7070 (mouse-drag-track): Handle dragging by using temporary Transient
7071 Mark mode, instead of a special overlay.
7072 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7073 mouse-show-mark.
7074
7075 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7076 deleted.
7077
7078 2010-07-02 Juri Linkov <juri@jurta.org>
7079
7080 * autoinsert.el (auto-insert-alist): Fix readability
7081 by using dotted pair notation for lambda.
7082
7083 2010-07-02 Juri Linkov <juri@jurta.org>
7084
7085 * faces.el (read-face-name): Rename arg `string-describing-default'
7086 to `default'. Doc fix. Display the default value in quotes
7087 in the prompt. With empty input, return the `default' arg,
7088 unless the default value is a string (in which case return nil).
7089 (describe-face): Replace the string `default' arg of `read-face-name'
7090 with the symbol `default'.
7091
7092 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7093
7094 * emulation/viper-cmd.el (viper-delete-backward-char)
7095 (viper-del-backward-char-in-insert)
7096 (viper-del-backward-char-in-replace, viper-change)
7097 (viper-backward-indent): Replace delete-backward-char with
7098 delete-char (Bug#6552).
7099
7100 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7101
7102 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7103
7104 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7105
7106 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7107 argument passed to frame-creation-function (Bug#5378).
7108
7109 * faces.el (x-handle-named-frame-geometry)
7110 (x-handle-reverse-video, x-create-frame-with-faces)
7111 (face-set-after-frame-default, tty-create-frame-with-faces):
7112 Don't separately consult default-frame-alist. It is now passed as the
7113 PARAMETER argument.
7114
7115 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7116
7117 * startup.el (command-line): Don't call tool-bar-setup in a
7118 tty-only build.
7119
7120 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7121
7122 * ruler-mode.el (ruler--save-header-line-format): New fun.
7123 (ruler-mode): Use it as a setter function, so as not to overwrite
7124 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7125
7126 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7127
7128 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7129 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7130 (vc-log-outgoing): Use it.
7131 (vc-diff-internal): Set diff-vc-backend.
7132
7133 * vc/diff-mode.el (diff-vc-backend): New var.
7134
7135 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7136
7137 * dynamic-setting.el (font-setting-change-default-font):
7138 Remove call to message.
7139
7140 2010-06-28 Kenichi Handa <handa@m17n.org>
7141
7142 * international/quail.el (quail-insert-kbd-layout): Fix the
7143 showing of untranslated characters.
7144
7145 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7146
7147 * simple.el (delete-active-region): New option.
7148 (delete-backward-char): Implement in Lisp.
7149 (delete-forward-char): New command.
7150
7151 * mouse.el (mouse-region-delete-keys): Deleted.
7152 (mouse-show-mark): Simplify.
7153
7154 * bindings.el (global-map): Bind delete and DEL, the former to
7155 delete-forward-char.
7156
7157 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7158
7159 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7160 (ruby-mode): Bind indent-line-function (Bug#5119).
7161
7162 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7163
7164 * startup.el (command-line): Recognize "0" X resource value.
7165
7166 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7167
7168 * startup.el (command-line): Use X resources to set the value of
7169 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7170
7171 * menu-bar.el (menu-bar-mode):
7172 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7173 Set init-value to t.
7174
7175 * frame.el (frame-notice-user-settings): Don't change
7176 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7177 vice versa (Bug#2249).
7178
7179 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7180
7181 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7182
7183 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7184
7185 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7186 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7187
7188 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7189 default directories are expanded (Bug#6143).
7190
7191 2010-06-24 Juri Linkov <juri@jurta.org>
7192
7193 * minibuffer.el (completions-format): Change default from nil to
7194 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7195
7196 2010-06-24 Juri Linkov <juri@jurta.org>
7197
7198 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7199 buffer-locally to lambda that re-runs the vc diff command.
7200 (Bug#6447)
7201
7202 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7203
7204 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7205 echo area is in use (Bug#3412).
7206
7207 2010-06-22 Glenn Morris <rgm@gnu.org>
7208
7209 * textmodes/texinfmt.el (texinfo-format-region)
7210 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7211 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7212 (texinfo-format-option, texinfo-noindent):
7213 Use line-beginning-position and line-end-position.
7214
7215 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7216 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7217 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7218 utf-8 characters.
7219
7220 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7221
7222 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7223 forward-line fallout.
7224
7225 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7226
7227 * mouse.el (mouse-appearance-menu): Add docstring.
7228
7229 * help.el (describe-key): Print up-event using key-description.
7230
7231 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7232
7233 * net/zeroconf.el (zeroconf-resolve-service)
7234 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7235 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7236
7237 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7238
7239 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7240
7241 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7242
7243 Avoid displaying files with a nil state in vc-dir.
7244 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7245 cases that cause insertion.
7246 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7247 with a nil state.
7248
7249 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7250
7251 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7252
7253 2010-06-29 Leo <sdl.web@gmail.com>
7254
7255 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7256
7257 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7258
7259 * generic-x.el (bat-generic-mode): Fix regexp for command line
7260 switches (Bug#5719).
7261
7262 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7263
7264 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7265 of nconc to avoid pure storage error (Bug#6239).
7266
7267 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7268
7269 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7270 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7271 bindings of bookmark-automatically-show-annotations (Bug#6515).
7272
7273 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7274
7275 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7276 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7277
7278 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7279
7280 * comint.el (make-comint, make-comint-in-buffer): Mention return
7281 value in the docstrings. (Bug#6498)
7282
7283 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7284
7285 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7286 since it is not present when using some non-default switches.
7287
7288 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7289
7290 * simple.el (compose-mail): Fix doc string to refer to
7291 `compose-mail-user-agent-warnings', instead of to the
7292 nonexistent `compose-mail-check-user-agent'.
7293
7294 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7295
7296 Fix an indentation bug:
7297
7298 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7299 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7300 of existing values.
7301
7302 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7303 (c-clear->-pair-props-if-match-before): now return t when they've
7304 cleared properties, nil otherwise.
7305 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7306 by taking account of the existing value.
7307
7308 * progmodes/cc-defs.el
7309 (c-clear-char-property-with-value-function): Fix this to clear the
7310 property rather than overwriting it with nil.
7311
7312 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7313
7314 * emacs-lisp/package.el (package-print-package): Add link to
7315 package description via describe-package.
7316 (describe-package-1): List package requirements. Add button to
7317 perform installation.
7318 (package-menu-describe-package): New command.
7319
7320 * help-mode.el (help-package): New button type.
7321
7322 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7323
7324 * emacs-lisp/package.el: Move package-list-packages binding to
7325 menu-bar.el.
7326 (describe-package, describe-package-1, package--dir): New funs.
7327 (package-activate-1): Use package--dir.
7328
7329 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7330
7331 * help-mode.el (help-package-def): New button type.
7332
7333 * menu-bar.el: Move package-list-packages binding here from
7334 package.el.
7335
7336 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7337
7338 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7339
7340 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * emacs-lisp/edebug.el (edebug-read-list):
7343 Phase out old-style backquotes.
7344
7345 2010-06-17 Juri Linkov <juri@jurta.org>
7346
7347 * help-mode.el (help-mode): Set buffer-local variable
7348 revert-buffer-function to help-mode-revert-buffer.
7349 (help-mode-revert-buffer): New function.
7350
7351 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7352 before popping to "*info*" (like in other Info functions).
7353 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7354 old-history-forward. Pop to old-buffer-name or "*info*" to
7355 recreate the killed buffer. Set Info-history-forward from
7356 old-history-forward.
7357 (Info-breadcrumbs-depth): Add :group and :version.
7358
7359 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7360
7361 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7362
7363 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7364
7365 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7366 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7367
7368 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7369
7370 * emacs-lisp/package.el (package-menu-mode-map):
7371 Move initialization into declaration.
7372
7373 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7374
7375 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7376
7377 * emacs-lisp/package.el (package-archive-base): Point to
7378 elpa.gnu.org.
7379 (package-enable, package-load-list): New defcustoms.
7380 (package-user-dir, package-directory-list): Turn into defcustoms.
7381 Don't include package-user-dir in package-directory-list.
7382 (package--builtins-base): Don't include Emacs as a "package".
7383 (package-subdirectory-regexp): New var.
7384 (package-load-all-descriptors, package-compute-transaction)
7385 (package-download-transaction): Obey package-load-list.
7386 (package-activate-1): Rename from package-do-activate.
7387 (package-list-packages-internal): Check package-load-list.
7388 (package-load-descriptor, package-generate-autoloads)
7389 (package-unpack, package-unpack-single)
7390 (package--read-archive-file, package-delete):
7391 Use expand-file-name.
7392
7393 * emacs-lisp/package-x.el: New file. Package uploading
7394 functionality split out from package.el.
7395
7396 * startup.el (command-line): Load packages after reading init file.
7397
7398 2010-06-17 Tom Tromey <tromey@redhat.com>
7399
7400 * emacs-lisp/package.el: New file.
7401
7402 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7403
7404 Fix vc-annotate for renamed files when using Git.
7405 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7406 ls-files. Doe not pass the object as a file name to cat-file, it
7407 is not a file name.
7408 (vc-git-annotate-command): Pass the file name using -- to avoid
7409 ambiguity with the revision.
7410 (vc-git-previous-revision): Pass a relative file name.
7411
7412 2010-06-22 Glenn Morris <rgm@gnu.org>
7413
7414 * progmodes/js.el (js-mode-map): Use standard capitalization and
7415 ellipses for menu entries.
7416
7417 * wid-edit.el (widget-complete): Doc fix.
7418
7419 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7420
7421 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7422
7423 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7424
7425 Fix annotating other revisions for renamed files in vc-annotate.
7426 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7427 VC backend. Use it when non-nil.
7428 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7429 (Bug#6487).
7430
7431 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7432 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7433 Do not pass the file name to the 'previous-revision call when we
7434 don't want a file diff. (Bug#6489)
7435
7436 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7437
7438 Fix finding revisions for renamed files in vc-annotate.
7439 * vc/vc.el (vc-find-revision): Add an optional argument for
7440 the VC backend. Use it when non-nil.
7441 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7442 backend to vc-find-revision. (Bug#6487)
7443
7444 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7445
7446 Fix reading file names in Git annotate buffers.
7447 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7448 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7449
7450 2010-06-20 Alan Mackenzie <acm@muc.de>
7451
7452 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7453 in file local variables, set it first.
7454
7455 2010-06-19 Glenn Morris <rgm@gnu.org>
7456
7457 * descr-text.el (describe-char-unicode-data): Insert separating
7458 space when needed. (Bug#6422)
7459
7460 * progmodes/idlwave.el (idlwave-action-and-binding):
7461 Fix typo in 2009-12-03 change. (Bug#6450)
7462
7463 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7466 handling for `lambda' (misunderstanding).
7467
7468 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7469
7470 * calc/calc-poly.el (math-accum-factors): Make sure that
7471 constants aren't distributed after they are factored out.
7472
7473 2010-06-16 Juri Linkov <juri@jurta.org>
7474
7475 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7476 `list-colors-print'. (Bug#6332)
7477
7478 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7479
7480 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7483 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7484
7485 * font-lock.el (font-lock-major-mode): Rename from
7486 font-lock-mode-major-mode to distinguish it from
7487 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7488 (font-lock-set-defaults):
7489 * font-core.el (font-lock-default-function): Adjust users.
7490 (font-lock-mode): Don't set it at all.
7491
7492 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7493
7494 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7495
7496 2010-06-16 Glenn Morris <rgm@gnu.org>
7497
7498 * calendar/appt.el (appt-time-msg-list): Doc fix.
7499 (appt-check): Let-bind appt-warn-time.
7500 (appt-add): Make the 3rd argument optional.
7501 Simplify argument names. Doc fix. Check for integer WARNTIME.
7502 Only add WARNTIME to the output list if non-nil.
7503
7504 2010-06-16 Ivan Kanis <apple@kanis.eu>
7505
7506 * calendar/appt.el (appt-check): Let the 3rd element of
7507 appt-time-msg-list specify the warning time.
7508 (appt-add): Add new argument with the warning time. (Bug#5176)
7509
7510 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7511
7512 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7513 older than version 1.6. (Bug#6361)
7514
7515 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7516
7517 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7518 used by cl-do-arglist. (Bug#6408)
7519
7520 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7521
7522 * textmodes/ispell.el (ispell-dictionary-base-alist):
7523 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7524 Suggested by Rolando Pereira (bug#6434).
7525
7526 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7527
7528 * facemenu.el (list-colors-sort): Doc fix.
7529
7530 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7531
7532 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7533
7534 2010-06-14 Juri Linkov <juri@jurta.org>
7535
7536 Add sort option `list-colors-sort'. (Bug#6332)
7537 * facemenu.el (color-rgb-to-hsv): New function.
7538 (list-colors-sort): New defcustom.
7539 (list-colors-sort-key): New function.
7540 (list-colors-display): Doc fix. Sort list according to the option
7541 `list-colors-sort'.
7542 (list-colors-print): Add HSV values to `help-echo' property of
7543 RGB strings.
7544
7545 2010-06-14 Juri Linkov <juri@jurta.org>
7546
7547 * compare-w.el: Move to the "vc" subdirectory.
7548
7549 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7550
7551 * image-mode.el (image-mode-map): Remap left-char and right-char.
7552
7553 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7554
7555 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7556
7557 * term/common-win.el (x-colors): Add all the color names defined
7558 in rgb.txt (Bug#6332).
7559
7560 * facemenu.el (list-colors-print): Don't print extra names if it
7561 will overflow the window width.
7562
7563 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7564 change (Bug#6343).
7565
7566 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7567
7568 * files.el (make-directory): Doc fix (bug#6396).
7569
7570 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7571
7572 * net/tramp.el (tramp-remote-process-environment): Protect version
7573 string by apostroph.
7574 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7575 XEmacs.
7576 (tramp-file-name-for-operation): Add `call-process-region'.
7577 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7578
7579 * net/tramp-compat.el (top): Do not autoload
7580 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7581 only when `start-file-process' is not bound.
7582 (tramp-advice-file-expand-wildcards): Do not use
7583 `tramp-handle-file-remote-p'.
7584 (tramp-compat-make-temp-file): Handle the case, that
7585 `make-temp-file' has no third argument EXTENSION.
7586
7587 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7588
7589 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7590
7591 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7592
7593 2010-06-11 Juri Linkov <juri@jurta.org>
7594
7595 * finder.el (finder-known-keywords): Add keyword "vc"
7596 for version control.
7597
7598 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7599 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7600 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7601 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7602
7603 2010-06-11 Juri Linkov <juri@jurta.org>
7604
7605 Move version control related files to the "vc" subdirectory.
7606 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7607 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7608 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7609 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7610 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7611 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7612 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7613 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7614 Move files to the "vc" subdirectory.
7615
7616 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7617
7618 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7619 (Bug#6367).
7620
7621 2010-06-11 Stephen Eglen <stephen@gnu.org>
7622
7623 * shell.el: Bind `shell-resync-dirs' to M-RET.
7624
7625 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7626
7627 * notifications.el: Move file from lisp/net, because it is
7628 supposed to talk locally to the user.
7629
7630 2010-06-10 Julien Danjou <julien@danjou.info>
7631
7632 * net/notifications.el (notifications-on-action-signal)
7633 (notifications-on-closed-signal): Pass notification id as first
7634 argument to the callback functions. Add docstrings.
7635 (notifications-notify): Fix docstring.
7636
7637 2010-06-10 Glenn Morris <rgm@gnu.org>
7638
7639 * emacs-lisp/authors.el (authors-ignored-files)
7640 (authors-valid-file-names): Add some files.
7641
7642 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7645 merge conflict, giving preference to the emacs-23 version of the code.
7646
7647 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7648
7649 * emacs-lisp/advice.el (ad-compile-function):
7650 Define warning-suppress-types before we let-bind it (bug#6275).
7651
7652 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7653 declare it, make it buffer-local and permanent-local (bug#6324).
7654 (vc-resynch-window): Adjust name.
7655 * vc-hooks.el (vc-find-file-hook): Adjust name.
7656
7657 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * net/notifications.el (notifications-notify): Fix docstring.
7660
7661 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7662
7663 Update to Unicode 6.0.0 beta.
7664 * international/charprop.el: Update copyright.
7665 * international/mule-cmds.el (ucs-names): Update character ranges.
7666 * international/uni-bidi.el:
7667 * international/uni-category.el:
7668 * international/uni-combining.el:
7669 * international/uni-comment.el:
7670 * international/uni-decimal.el:
7671 * international/uni-decomposition.el:
7672 * international/uni-digit.el:
7673 * international/uni-lowercase.el:
7674 * international/uni-mirrored.el:
7675 * international/uni-name.el:
7676 * international/uni-numeric.el:
7677 * international/uni-old-name.el:
7678 * international/uni-titlecase.el:
7679 * international/uni-uppercase.el: Regenerate.
7680
7681 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7682
7683 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7684 (smie-precs-precedence-table): Fix typo in docstring.
7685
7686 * vc-mtn.el (log-edit-extract-headers): Declare function.
7687
7688 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7689
7690 * net/notifications.el (dbus-register-signal): Declare function.
7691 (notifications-notify): Fix typos and reflow docstring.
7692
7693 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7694
7695 Improve VC create/retrieve tag/branch.
7696 * vc.el (vc-create-tag): Do not read the directory name for VCs
7697 with repository revision granularity. Adjust the tag/branch
7698 prompt. Reset VC properties.
7699 (vc-retrieve-tag): Do not read the directory name for VCs
7700 with repository revision granularity. Reset VC properties.
7701
7702 2010-06-09 Julien Danjou <julien@danjou.info>
7703
7704 * net/notifications.el: New file.
7705
7706 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7707
7708 Add optional support for resetting VC properties.
7709 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7710 call vc-file-clearprops when true.
7711 (vc-resynch-buffer): Add new optional argument, pass it down.
7712 (vc-resynch-buffers-in-directory): Likewise.
7713
7714 Improve support for special markup in the VC commit message.
7715 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7716 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7717 * vc-git.el (vc-git-checkin):
7718 * vc-bzr.el (vc-bzr-checkin): Likewise.
7719
7720 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7723 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7724
7725 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7726
7727 * iimage.el: Remove images as soon as the underlying text is modified.
7728 (iimage-modification-hook): New function.
7729 (iimage-mode-buffer): Use it.
7730
7731 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7734 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7735 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7736 (smie-indent-keyword): Add handling of open-paren keywords.
7737 (smie-indent-comment-continue): Don't assume comment-continue.
7738
7739 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7740
7741 * window.el (pop-to-buffer): Remove the conditional that
7742 compares new-window and old-window, so it will reselect
7743 the selected window unconditionally.
7744 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7745
7746 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * emacs-lisp/smie.el (smie-indent-offset-after)
7749 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7750 (smie-indent-after-keyword): Use them.
7751 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7752 (smie-indent-keyword): Tweak the black magic.
7753 (smie-indent-comment-continue): Strip comment-continue before use.
7754 (smie-indent-functions): Indent comments before keywords.
7755
7756 2010-06-06 Juri Linkov <juri@jurta.org>
7757
7758 * isearch.el (isearch-lazy-highlight-search): Fix looping
7759 by checking for empty match. This syncs this loop with the
7760 similar loop in `isearch-search'. (Bug#6362)
7761
7762 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7763
7764 * net/dbus.el (dbus-register-method): Declare function.
7765 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7766 (dbus-introspect): Doc fix.
7767 (dbus-event-bus-name, dbus-introspect-get-interface)
7768 (dbus-introspect-get-argument): Reflow docstrings.
7769
7770 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7771
7772 vc-log-incoming/vc-log-outgoing fixes for Git.
7773 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7774 incoming/outgoing logs.
7775 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7776 instead of vc-git-compute-remote.
7777 (vc-git-compute-remote): Remove.
7778
7779 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7780
7781 * term/common-win.el (x-colors): Add "dark green" and "dark
7782 turquoise" (Bug#6332).
7783
7784 2010-06-04 Juri Linkov <juri@jurta.org>
7785
7786 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7787 Instead of setting `replace' to t and replacing the same string
7788 with itself, don't do certain actions when
7789 kill-do-not-save-duplicates is non-nil and string is equal to car
7790 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7791 interprogram-paste strings to kill-ring, and don't push the input
7792 argument `string' to kill-ring.
7793 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7794
7795 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7796
7797 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7798
7799 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7800
7801 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7802 (tramp-gvfs-handler-mounted-unmounted)
7803 (tramp-gvfs-connection-mounted-p): Handle default-location.
7804
7805 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7806 move files to trash.
7807
7808 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7809
7810 * international/mule-cmds.el (nonascii-insert-offset)
7811 (nonascii-translation-table): Add obsolescence information.
7812
7813 * international/mule.el (make-translation-table-from-vector): Doc fix.
7814
7815 2010-06-03 Glenn Morris <rgm@gnu.org>
7816
7817 * desktop.el (desktop-clear-preserve-buffers):
7818 Add "*Warnings*" buffer. (Bug#6336)
7819
7820 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7821
7822 vc-log-incoming/vc-log-outgoing improvements for Git.
7823 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7824 short log.
7825 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7826
7827 Add bindings for vc-log-incoming and vc-log-outgoing.
7828 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7829 and vc-log-outgoing.
7830 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7831 and vc-log-outgoing.
7832
7833 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7834
7835 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7836 (rcirc-handler-366): Always sort nicknames.
7837
7838 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7839
7840 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7841
7842 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7843
7844 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7845
7846 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7847
7848 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7849 (rcirc-sort-nicknames-join): Avoid setq.
7850
7851 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7852
7853 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7854 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7855 (rcirc-handler-366): Use them.
7856
7857 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 Split smie-indent-calculate into more manageable chunks.
7860 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7861 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7862 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7863 (smie-indent-exps): Extract from smie-indent-calculate.
7864 (smie-indent-functions): New var.
7865 (smie-indent-functions): Use them.
7866
7867 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7870 (smie-indent-calculate): Simplify and cleanup.
7871
7872 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7873
7874 * net/tramp-gvfs.el (top): Require url-util.
7875 (tramp-gvfs-mount-point): Remove.
7876 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7877 New defuns.
7878 (with-tramp-dbus-call-method): Format trace message.
7879 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7880 Implement backup call, when operation on local files fails.
7881 Use progress reporter. Flush properties of changed files.
7882 (tramp-gvfs-handle-make-directory): Make more traces.
7883 (tramp-gvfs-url-file-name): Hexify file name in url.
7884 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7885 into account for the resulting file name.
7886 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7887 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7888 (tramp-gvfs-handler-mounted-unmounted)
7889 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7890 attribute "default_location". Set "prefix" property.
7891 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7892 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7893 exists. Raise an error, if not (due to a corresponding answer
7894 "no" in interactive questions, for example).
7895
7896 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7897
7898 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7899
7900 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7901
7902 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7903 right-*. (Bug#6265)
7904
7905 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7906
7907 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7908 * vc-git.el (vc-git-compute-remote): New function.
7909 (vc-git-log-outgoing): Use it instead of hard coding a value.
7910 (vc-git-log-incoming): New function.
7911
7912 Improve state updating for VC tag commands.
7913 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7914 to update the state of all buffers in the directory.
7915
7916 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7917
7918 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7919
7920 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7921 `file-directory-p' to the filename part rather than to the whole text.
7922
7923 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7926
7927 2010-05-31 Drew Adams <drew.adams@oracle.com>
7928
7929 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7930
7931 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7932
7933 * subr.el (momentary-string-display): Just use read-event to read
7934 the exit event (Bug#6238).
7935
7936 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7937
7938 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7939
7940 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7941
7942 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7943 Suggested by Eli Zaretskii <eliz@gnu.org>.
7944
7945 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * minibuffer.el (completion-file-name-table): Don't return a boundary
7948 past the end of `string' (bug#6299).
7949 (completion--file-name-table): Delegate to completion-file-name-table
7950 for the `boundaries' case.
7951
7952 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7953
7954 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7955 movement commands.
7956
7957 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7958 `path-separator', but maintain compatibility with Emacs 20.2.
7959
7960 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7961
7962 * server.el (server-process-filter): Receive parent-id argument
7963 from emacsclient.
7964 (server-create-window-system-frame): New arg. Pass parent-id as
7965 frame parameter.
7966
7967 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7968
7969 Bidi-sensitive word movement with arrow keys.
7970 * subr.el (right-arrow-command, left-arrow-command): Move to
7971 bindings.el.
7972
7973 * bindings.el (right-char, left-char): Move from subr.el and
7974 rename from right-arrow-command and left-arrow-command.
7975 (right-word, left-word): New functions.
7976 (global-map) <right>: Bind to right-char.
7977 (global-map) <left>: Bind to left-char.
7978 (global-map) <C-right>: Bind to right-word.
7979 (global-map) <C-left>: Bind to left-word.
7980
7981 * ls-lisp.el (ls-lisp-classify-file): New function.
7982 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7983 (ls-lisp-classify): Call ls-lisp-classify-file.
7984 (insert-directory): Remove blanks from switches.
7985
7986 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7987
7988 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7989 (ansi-color-drop-regexp): New constant.
7990 (ansi-color-apply, ansi-color-filter-region)
7991 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7992 (ansi-color-apply): Build string list before calling concat.
7993
7994 2010-05-28 Juri Linkov <juri@jurta.org>
7995
7996 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7997 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7998 (Bug#5270)
7999
8000 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8001
8002 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8003 to ignored backtrace functions.
8004 (with-progress-reporter): Expand docstring.
8005 (tramp-handle-delete-file): Implement TRASH argument.
8006 (tramp-get-remote-trash): New defun.
8007
8008 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8009
8010 * net/tramp-compat.el (tramp-compat-delete-file):
8011 Use `symbol-value' for backward compatibility.
8012
8013 * net/tramp.el (tramp-handle-make-symbolic-link)
8014 (tramp-handle-load)
8015 (tramp-do-copy-or-rename-file-via-buffer)
8016 (tramp-do-copy-or-rename-file-directly)
8017 (tramp-do-copy-or-rename-file-out-of-band)
8018 (tramp-handle-process-file, tramp-handle-call-process-region)
8019 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8020 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8021 (tramp-delete-temp-file-function): Use `delete-file' instead
8022 of `tramp-compat-delete-file'.
8023
8024 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8025 (tramp-fish-handle-make-symbolic-link)
8026 (tramp-fish-handle-process-file): Use `delete-file' instead
8027 of `tramp-compat-delete-file'.
8028
8029 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8030 Use `delete-file' instead of `tramp-compat-delete-file'.
8031
8032 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8033 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8034 `tramp-compat-delete-file'.
8035
8036 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8037 Use `delete-file' instead of `tramp-compat-delete-file'.
8038
8039 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8040 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8041 (tramp-smb-handle-write-region): Use `delete-file' instead of
8042 `tramp-compat-delete-file'.
8043 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8044
8045 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8046
8047 * dired.el (dired-delete-file): New arg TRASH.
8048 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8049 (dired-do-flagged-delete, dired-do-delete): Use trash.
8050
8051 * speedbar.el (speedbar-item-delete): Allow trashing.
8052
8053 * files.el (delete-directory): New arg TRASH.
8054
8055 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8056 (ange-ftp-rename-remote-to-remote)
8057 (ange-ftp-rename-local-to-remote)
8058 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8059 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8060 `delete-file'.
8061 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8062 allow trashing.
8063
8064 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8065 handle new TRASH arg of `delete-file'.
8066
8067 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8068 (tramp-handle-make-symbolic-link, tramp-handle-load)
8069 (tramp-do-copy-or-rename-file-via-buffer)
8070 (tramp-do-copy-or-rename-file-directly)
8071 (tramp-do-copy-or-rename-file-out-of-band)
8072 (tramp-handle-process-file, tramp-handle-call-process-region)
8073 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8074 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8075 (tramp-delete-temp-file-function): Use null TRASH arg in
8076 tramp-compat-delete-file call.
8077
8078 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8079 (tramp-fish-handle-delete-file)
8080 (tramp-fish-handle-make-symbolic-link)
8081 (tramp-fish-handle-process-file): Use null TRASH arg in
8082 `tramp-compat-delete-file' call.
8083
8084 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8085 arg in `tramp-compat-delete-file' call.
8086
8087 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8088 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8089 `tramp-compat-delete-file' call.
8090
8091 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8092 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8093 `tramp-compat-delete-file' call.
8094
8095 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8096 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8097 (tramp-smb-handle-write-region): Use null TRASH arg in
8098 tramp-compat-delete-file call.
8099 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8100 (tramp-smb-handle-delete-file): Rename arg.
8101
8102 * diff.el (diff-sentinel):
8103 * epg.el (epg--make-temp-file, epg-decrypt-string)
8104 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8105 * jka-compr.el (jka-compr-partial-uncompress)
8106 (jka-compr-call-process, jka-compr-write-region):
8107 * server.el (server-sentinel): Remove optional arg from
8108 delete-file, reverting 2010-05-03 change.
8109
8110 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8111
8112 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8113 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8114
8115 2010-05-27 Kenichi Handa <handa@m17n.org>
8116
8117 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8118 element of GSTRING is nil.
8119
8120 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * emacs-lisp/smie.el (smie-forward-token-function)
8123 (smie-backward-token-function): New vars.
8124 (smie-backward-sexp, smie-forward-sexp)
8125 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8126 (smie-default-backward-token): Rename from smie-backward-token and
8127 skip comments.
8128 (smie-default-forward-token): Rename from smie-forward-token and
8129 skip comments.
8130 (smie-next-sexp): Handle nil results from next-token.
8131 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8132
8133 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8134
8135 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8136 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8137
8138 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8139
8140 * htmlfontify.el (hfy-face-resolve-face): New function.
8141 (hfy-face-to-style): Use it (Bug#6279).
8142
8143 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8146 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8147
8148 2010-05-26 Glenn Morris <rgm@gnu.org>
8149
8150 * emulation/edt.el (edt-load-keys): Use locate-library.
8151
8152 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8153
8154 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8155 (log-edit-changelog-entries): Doc fix.
8156 (log-edit-changelog-insert-entries): Args changed.
8157 Rename relative filenames in ChangeLog entries. Delete tabs.
8158 (log-edit-insert-changelog-entries): Reorganize return value of
8159 `log-edit-changelog-entries' to pass filenames to
8160 log-edit-changelog-insert-entries.
8161
8162 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8163
8164 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8165 `image-dired-dired-insert-marked-thumbs' to
8166 `image-dired-dired-toggle-marked-thumbs'.
8167
8168 * image-dired.el: Require cl when compiling.
8169 (image-dired-dired-toggle-marked-thumbs): Rename from
8170 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8171 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8172 to 'no-dir. Skip files whose names don't match
8173 `image-file-name-regexp'. When file has a thumbnail overlay,
8174 delete it. (Bug#5270)
8175
8176 2010-05-25 Juri Linkov <juri@jurta.org>
8177
8178 * image-mode.el (image-mode): Add image-after-revert-hook to
8179 after-revert-hook.
8180 (image-after-revert-hook): New function. (Bug#5669)
8181
8182 2010-05-25 Juri Linkov <juri@jurta.org>
8183
8184 * image.el (image-animated-p): When delay between animated images
8185 is 0, set it to 10 (0.1 sec). (Bug#6258)
8186
8187 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8188
8189 * net/tramp.el (tramp-handle-insert-directory): Don't use
8190 `forward-word', its default syntax could be changed.
8191
8192 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8193
8194 * net/tramp.el (tramp-progress-reporter-update): New defun.
8195 (with-progress-reporter): Use it.
8196 (tramp-process-actions):
8197 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8198 Preserve current message, in order to let progress reporter continue
8199 afterwards. (Bug#6257)
8200
8201 2010-05-25 Glenn Morris <rgm@gnu.org>
8202
8203 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8204 Add :version.
8205
8206 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8207
8208 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8209 (rcirc-default-full-name): Change to "unknown".
8210 (rcirc-user-name-history): Add variable.
8211
8212 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8213 Jonathan Rockway <jon@jrock.us>
8214
8215 * net/rcirc.el (rcirc-server-alist): Add :pass.
8216 (rcirc): When prompting for connection parameters, also prompt for
8217 username and password.
8218 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8219 value to server when connecting.
8220
8221 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8224 (smie-merge-prec2s): Pass the tables as separate args.
8225 (smie-bnf-precedence-table): Adjust call accordingly.
8226 (smie-prec2-levels): Set levels at the end.
8227
8228 Replace Lisp calls to delete-backward-char by delete-char.
8229 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8230 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8231 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8232 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8233 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8234 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8235 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8236 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8237 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8238 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8239 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8240 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8241 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8242 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8243 delete-backward-char by calls to delete-char.
8244
8245 2010-05-25 Kenichi Handa <handa@m17n.org>
8246
8247 * language/hebrew.el (hebrew-shape-gstring): New function.
8248 Register it in composition-function-table for all Hebrew combining
8249 characters.
8250
8251 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * epa.el (epa--select-keys): Don't explicitly delete the window since
8254 that can fail (e.g. sole window in frame). Use dedication instead.
8255
8256 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8257
8258 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8259
8260 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8261
8262 * image.el (image-refresh): Define as an alias for image-flush.
8263
8264 * image-mode.el (image-toggle-display-image): Caller changed.
8265
8266 2010-05-21 Juri Linkov <juri@jurta.org>
8267
8268 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8269 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8270 whitespace, call wildcard-to-regexp on substrings and concat them
8271 with "\\|". (Bug#6114)
8272
8273 2010-05-21 Alan Mackenzie <acm@muc.de>
8274
8275 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8276 Replace parameter `here' with `here-' and `here-plus', which sandwich
8277 any pertinent CPP construct.
8278 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8279 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8280 CPP construct from taking part in the scanning.
8281
8282 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8283
8284 * net/tramp.el (tramp-do-copy-or-rename-file)
8285 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8286 Tune `with-progress-reporter' messages.
8287 (tramp-handle-vc-registered):
8288 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8289 (tramp-fish-handle-insert-file-contents)
8290 (tramp-fish-maybe-open-connection):
8291 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8292 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8293 (tramp-imap-handle-insert-file-contents)
8294 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8295
8296 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * add-log.el (change-log-font-lock-keywords):
8299 Highlight all authors in multi-author entries.
8300
8301 * smerge-mode.el (smerge-refine-ignore-whitespace)
8302 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8303 Fix typos in docstrings.
8304 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8305
8306 2010-05-21 Glenn Morris <rgm@gnu.org>
8307
8308 * progmodes/fortran.el (fortran-mode):
8309 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8310
8311 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8312 having a relative path in src/Makefile.in.
8313
8314 2010-05-20 Kevin Ryde <user42@zip.com.au>
8315
8316 * help-mode.el (help-make-xrefs): For Info node links turn
8317 newlines into spaces. Link node names with newlines are matched
8318 by help-xref-info-regexp and buttonized, this change ensures they
8319 can be followed successfully with RET. (Bug#6206)
8320
8321 2010-05-20 Juri Linkov <juri@jurta.org>
8322
8323 * locate.el (locate): Use pop-to-buffer instead of
8324 switch-to-buffer-other-window. (Bug#6204)
8325
8326 2010-05-20 Juri Linkov <juri@jurta.org>
8327
8328 * replace.el (replace-highlight): Fix lazy-highlighting
8329 for `M-s w str M-% str RET'.
8330
8331 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8332
8333 * isearch.el (isearch-yank-word-or-char): Pull next subword
8334 when `subword-mode' is activated. (Bug#6220)
8335
8336 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8337
8338 * isearch.el (isearch-update-post-hook): New hook.
8339 (isearch-update): Use the new hook. (Bug#6225)
8340
8341 2010-05-20 Juri Linkov <juri@jurta.org>
8342
8343 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8344 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8345 (Bug#6222)
8346
8347 2010-05-20 Juri Linkov <juri@jurta.org>
8348
8349 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8350 (Bug#6223)
8351
8352 2010-05-20 Juri Linkov <juri@jurta.org>
8353
8354 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8355 FILE-NAME to read from the minibuffer when called interactively
8356 with prefix argument instead of using buffer-file-name.
8357 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8358
8359 * dired.el: Update autoloads.
8360
8361 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8362
8363 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8364 nxml-finish-element, for consistency with SGML mode.
8365
8366 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8367 octave-close-block.
8368
8369 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8370
8371 * composite.el: Require cl when compiling.
8372 (reference-point-alist, compose-gstring-for-graphic)
8373 (compose-gstring-for-terminal): Fix typos in docstrings.
8374
8375 2010-05-19 Juri Linkov <juri@jurta.org>
8376
8377 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8378 set-window-parameter.
8379
8380 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8381
8382 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8383 where appropriate.
8384 (tramp-maybe-open-connection): Use it.
8385
8386 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8387
8388 * simple.el (move-end-of-line): Make sure we are at line beginning
8389 before backing up to end of previous line.
8390
8391 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8392
8393 * password-cache.el (password-cache-remove): Fix docstring.
8394
8395 * net/secrets.el: Autoload the widget functions.
8396 (secrets-search-items, secrets-create-item)
8397 (secrets-get-attributes, secrets-expand-item): Attributes will be
8398 stored on the password database without leading ":", as all other
8399 clients do as well.
8400 (secrets-mode): Fix docstring.
8401 (secrets-show-secrets): Provide it as autoloaded command only when
8402 D-Bus support is available. Check existence of Secret Service API.
8403
8404 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * indent.el (indent-region): Deactivate region (bug#6200).
8407
8408 2010-05-19 Glenn Morris <rgm@gnu.org>
8409
8410 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8411
8412 2010-05-19 Kenichi Handa <handa@m17n.org>
8413
8414 * composite.el: Register compose-gstring-for-graphic in
8415 composition-function-table only for combining characters (Mn, Mc, Me).
8416
8417 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8418
8419 * calc/calc-trail.el (calc-trail-isearch-forward)
8420 (calc-trail-isearch-backward): Ensure that the new window
8421 point is set correctly.
8422
8423 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * subr.el (read-quoted-char): Resolve modifiers after key
8426 remapping (bug#6212).
8427
8428 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8429
8430 Add visualization code for secrets.
8431 * net/secrets.el (secrets-mode): New major mode.
8432 (secrets-show-secrets, secrets-show-collections)
8433 (secrets-expand-collection, secrets-expand-item)
8434 (secrets-tree-widget-after-toggle-function)
8435 (secrets-tree-widget-show-password): New defuns.
8436
8437 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8440 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8441 handled in smie-next-sexp.
8442 (smie-indent-calculate): Provide a starting indentation (so the
8443 recursion is well-founded ;-).
8444
8445 Fix handling of non-associative equal levels.
8446 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8447 when it's not needed.
8448 (smie-op-left, smie-op-right): New functions.
8449 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8450 Better handle equal levels to distinguish the associative case from
8451 the "multi-keyword construct" case.
8452 (smie-backward-sexp, smie-forward-sexp): Use it.
8453
8454 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8455
8456 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8457
8458 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8459 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8460
8461 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 Provide a simple generic indentation engine and use it for Prolog.
8464 * emacs-lisp/smie.el: New file.
8465 * progmodes/prolog.el (prolog-smie-op-levels)
8466 (prolog-smie-indent-rules): New var.
8467 (prolog-mode-variables): Use them to configure SMIE.
8468 (prolog-indent-line, prolog-indent-level): Remove.
8469
8470 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8471
8472 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8473 order before computing the averages.
8474
8475 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8476
8477 * calc/calc-vec.el (calc-histogram):
8478 (calcFunc-histogram): Allow vectors as inputs.
8479 (math-vector-avg): New function.
8480
8481 * calc/calc-ext.el (math-group-float): Have the number of digits
8482 being grouped depend on the radix (Bug#6189).
8483
8484 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8485
8486 * version.el (emacs-copyright, emacs-version): Don't define here,
8487 now that emacs.c defines it.
8488
8489 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8490
8491 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8492 "Describe Language Environment" menu item.
8493
8494 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8495
8496 Bidi-sensitive movement with arrow keys.
8497 * subr.el (right-arrow-command, left-arrow-command): New functions.
8498
8499 * bindings.el (global-map): Bind them to right and left arrow keys.
8500
8501 Don't override standard definition of convert-standard-filename.
8502 * files.el (convert-standard-filename):
8503 Call w32-convert-standard-filename and dos-convert-standard-filename on
8504 the corresponding systems.
8505
8506 * w32-fns.el (w32-convert-standard-filename): Rename from
8507 convert-standard-filename. Doc fix.
8508
8509 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8510 (convert-standard-filename): Don't defalias.
8511 (register-name-alist, make-register, register-value)
8512 (set-register-value, intdos): Obsolete aliases for the
8513 corresponding dos-* functions and variables.
8514 (dos-intdos): Add a doc string.
8515
8516 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8517
8518 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8519 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8520 (math-compose-tex-func):
8521 * calc/calccomp.el (math-compose-expr):
8522 * calc/calc-ext.el (math-format-flat-expr-fancy):
8523 * calc/calc-store.el (calc-read-var-name):
8524 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8525
8526 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8527 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8528 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8529 (math-standard-units): Add units.
8530
8531 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8532
8533 * progmodes/asm-mode.el (asm-mode):
8534 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8535
8536 * pcomplete.el (pcomplete-completions-at-point): New function,
8537 extracted from pcomplete-std-complete.
8538 (pcomplete-std-complete): Use it.
8539
8540 2010-05-15 Glenn Morris <rgm@gnu.org>
8541
8542 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8543 Remove references to CVS, RCS and Old directories.
8544
8545 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8546
8547 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8548 appropriate.
8549
8550 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8553 (sh-mode-syntax-table): Give it a default value instead.
8554 (sh-header-marker): Make buffer-local.
8555 (sh-mode): Move make-local-variable to the corresponding setq.
8556 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8557 Use complete-with-action.
8558
8559 * simple.el (prog-mode): New (abstract) major mode.
8560 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8561 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8562
8563 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8564
8565 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8566 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8567 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8568 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8569 (sql-escape-newlines-filter, sql-input-sender)
8570 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8571
8572 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8573
8574 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8575
8576 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8577 latex-open-block and C-c / to latex-close-block.
8578
8579 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8580 and C-c C-e to sgml-close-tag.
8581
8582 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8583
8584 * net/tramp.el (with-progress-reporter): Create reporter object
8585 only when the message would be displayed. Handle nested calls.
8586 (tramp-handle-load, tramp-handle-file-local-copy)
8587 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8588 (tramp-maybe-send-script, tramp-find-shell):
8589 Use `with-progress-reporter'.
8590 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8591 Fix message text.
8592
8593 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8594 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8595 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8596 Use `with-progress-reporter'.
8597
8598 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8599
8600 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8601 process everytime when spellchecking from the minibuffer (bug#6143).
8602
8603 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8606
8607 * dos-fns.el: Add "dos-" prefix for namespace control.
8608 (convert-standard-filename): Define as alias for
8609 dos-convert-standard-filename but only if applicable.
8610
8611 2010-05-12 Alan Mackenzie <acm@muc.de>
8612
8613 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8614 Push the mark at the start of these functions when appropriate.
8615
8616 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * minibuffer.el (completion-cycle-threshold): New custom var.
8619 (completion--do-completion): Use it.
8620 (minibuffer-complete): Use cycling if appropriate.
8621
8622 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8623
8624 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8625 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8626
8627 2010-05-11 Juri Linkov <juri@jurta.org>
8628
8629 * scroll-all.el (scroll-all-check-to-scroll):
8630 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8631
8632 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * iimage.el (iimage-mode-map): Move initialization into declaration.
8635 (iimage-mode-buffer): Use with-silent-modifications.
8636 Simplify calling convention. Adjust callers.
8637 (iimage-mode): Don't run hook redundantly.
8638
8639 * minibuffer.el (completion-pcm--pattern->regex):
8640 Fix last change (bug#6160).
8641
8642 2010-05-10 Juri Linkov <juri@jurta.org>
8643
8644 Remove nodes visited during Isearch from the Info history.
8645 * info.el (Info-isearch-initial-history)
8646 (Info-isearch-initial-history-list): New variables.
8647 (Info-isearch-start): Record initial values of
8648 Info-isearch-initial-history and Info-isearch-initial-history-list.
8649 Add Info-isearch-end to isearch-mode-end-hook.
8650 (Info-isearch-end): New function.
8651
8652 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8653
8654 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8655 format string, in order to work around a bug in pdksh.
8656 Reported by Gilles Pion <gpion@lfdj.com>.
8657 (tramp-handle-verify-visited-file-modtime): Do not send a command
8658 when the connection is not established.
8659 (tramp-handle-set-file-times): Simplify the check for utc.
8660
8661 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8662
8663 Fix use of `filter-buffer-substring' (rework previous change).
8664 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8665 (cua-repeat-replace-region):
8666 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8667 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8668 (cua-cut-region-to-global-mark): Use it.
8669
8670 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8671
8672 * progmodes/sql.el: Version 2.1.
8673 (sql-product-alist): Redesign structure of product info.
8674 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8675 (sql-port, sql-port-history): New variables.
8676 (sql-interactive-product): New variable.
8677 (sql-send-terminator): New variable.
8678 (sql-imenu-generic-expression): Add "Types" imenu entry.
8679 (sql-oracle-login-params, sql-sqlite-login-params)
8680 (sql-mysql-login-params, sql-solid-login-params)
8681 (sql-sybase-login-params, sql-informix-login-params)
8682 (sql-ingres-login-params, sql-ms-login-params)
8683 (sql-postgres-login-params, sql-interbase-login-params)
8684 (sql-db2-login-params, sql-linter-login-params)
8685 (sql-oracle-scan-on): New variables.
8686 (sql-mode-map): Add C-c C-i to start interactive mode.
8687 (sql-mode-menu): Update existing menu entries.
8688 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8689 (sql-mode-oracle-font-lock-keywords)
8690 (sql-mode-postgres-font-lock-keywords)
8691 (sql-mode-ms-font-lock-keywords)
8692 (sql-mode-sybase-font-lock-keywords)
8693 (sql-mode-informix-font-lock-keywords)
8694 (sql-mode-interbase-font-lock-keywords)
8695 (sql-mode-ingres-font-lock-keywords)
8696 (sql-mode-solid-font-lock-keywords)
8697 (sql-mode-mysql-font-lock-keywords)
8698 (sql-mode-sqlite-font-lock-keywords)
8699 (sql-mode-db2-font-lock-keywords)
8700 (sql-mode-linter-font-lock-keywords): Update initialization to
8701 reduce run-time complexity.
8702 (sql-add-product, sql-del-product): New functions.
8703 (sql-set-product-feature, sql-get-product-feature): New functions.
8704 (sql-product-font-lock): Update product API.
8705 (sql-add-product-keywords): New function.
8706 (sql-highlight-product): Update product API.
8707 (sql-help-list-products): New function.
8708 (sql-help): Dynamically lists free and non-free products.
8709 (sql-get-login): Correct bug in handling history and added
8710 prompt for port.
8711 (sql-copy-column): Copy without properties.
8712 (sqli-input-sender): Apply filters to SQLi input.
8713 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8714 Implement as a filter.
8715 (sql-escape-newlines-filter): Implement as a filter.
8716 (sql-remove-tabs-filter): New function.
8717 (sql-send-magic-terminator): New function.
8718 (sql-send-string): Implement magic terminator.
8719 (sql-send-region): Use `sql-send-string'.
8720 (sql-interactive-mode): Use product API.
8721 (sql-product-interactive): Use product API.
8722 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8723 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8724 (sql-db2, sql-linter): Use `sql-product-interactive'.
8725 (sql-connect): New function.
8726 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8727 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8728 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8729 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8730 Use `sql-connect'.
8731
8732 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8735 New custom variable.
8736 (completion-pcm--string->pattern): Use it.
8737 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8738 Make it handle any symbol as `any'.
8739 (completion-pcm--merge-completions): Extract common suffix for the new
8740 `prefix' symbol as well.
8741 (completion-substring--all-completions): Use the new `prefix' symbol.
8742
8743 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8744
8745 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8746 not bound.
8747 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8748 (tramp-compat-funcall): New defmacro.
8749 (tramp-compat-line-beginning-position)
8750 (tramp-compat-line-end-position)
8751 (tramp-compat-temporary-file-directory)
8752 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8753 (tramp-compat-copy-file, tramp-compat-copy-directory)
8754 (tramp-compat-delete-file, tramp-compat-delete-directory)
8755 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8756 * net/tramp.el (top, with-progress-reporter)
8757 (tramp-rfn-eshadow-setup-minibuffer)
8758 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8759 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8760 (tramp-completion-mode-p, tramp-check-for-regexp)
8761 (tramp-open-connection-setup-interactive-shell)
8762 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8763 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8764 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8765 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8766 (tramp-reporter-dump-variable, tramp-load-report-modules)
8767 (tramp-append-tramp-buffers)
8768 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8769
8770 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8771
8772 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8775 buffer-modtime. Adjust users.
8776
8777 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8778
8779 * international/mule.el (auto-coding-alist): Only purecopy
8780 car of each item, not the whole list (Bug#6083).
8781
8782 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8783
8784 * progmodes/js.el (js-mode): Make paragraph variables local before
8785 calling c-setup-paragraph-variables (Bug#6071).
8786
8787 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8788
8789 * composite.el (compose-region, reference-point-alist): Fix typos
8790 in the doc strings.
8791
8792 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8793
8794 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8795 gnuplot's "set" command.
8796
8797 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8798
8799 * abbrev.el (last-abbrev-text): Doc fix.
8800 (abbrev-prefix-mark): Don't escape parenthesis.
8801
8802 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8803
8804 * composite.el (find-composition): Doc fix.
8805
8806 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8807
8808 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8809 (sql-oracle-program, sql-sqlite-options)
8810 (sql-query-placeholders-and-send): Doc fixes.
8811 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8812 (sql-imenu-generic-expression, sql-buffer)
8813 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8814 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8815 (sql-mode-sybase-font-lock-keywords)
8816 (sql-mode-informix-font-lock-keywords)
8817 (sql-mode-interbase-font-lock-keywords)
8818 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8819 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8820 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8821 (sql-product-feature, sql-highlight-product)
8822 (comint-line-beginning-position, sql-rename-buffer)
8823 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8824 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8825 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8826 Fix typos in docstrings.
8827
8828 2010-05-08 Juri Linkov <juri@jurta.org>
8829
8830 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8831 property instead of `invisible' and `after-string' (bug#5998).
8832
8833 2010-05-08 Juri Linkov <juri@jurta.org>
8834
8835 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8836
8837 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8838
8839 * filecache.el (file-cache-add-directory-list)
8840 (file-cache-add-directory-recursively): Fix typos in docstrings.
8841
8842 2010-05-08 Kenichi Handa <handa@m17n.org>
8843
8844 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8845 (gujarati-composable-pattern): Fix typo.
8846
8847 2010-05-08 Kenichi Handa <handa@m17n.org>
8848
8849 * language/indian.el (oriya-composable-pattern)
8850 (tamil-composable-pattern, malayalam-composable-pattern):
8851 Add two-part vowels to "v" (vowel sign).
8852
8853 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8854
8855 * files.el (copy-directory): Handle symlinks (Bug#5982).
8856
8857 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8858
8859 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8860 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8861 (Bug#5846).
8862
8863 2010-05-08 Glenn Morris <rgm@gnu.org>
8864
8865 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8866
8867 * minibuffer.el (completion-at-point): Doc fix.
8868
8869 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 * electric.el (Electric-command-loop): Minor tweak.
8872
8873 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8874 better with dedicated windows.
8875
8876 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8877
8878 * Version 23.2 released.
8879
8880 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8881 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 Highlight vendor specific properties.
8884 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8885 (css-proprietary-property): New face.
8886 (css-font-lock-keywords): Use them.
8887
8888 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8889
8890 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8891
8892 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8893
8894 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8895 * files.el (auto-mode-alist): Remove redundant entries.
8896
8897 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8898 * simple.el (auto-save-mode): Move from files.el.
8899 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8900
8901 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8902
8903 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8904
8905 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8906
8907 * mail/binhex.el (binhex-decode-region-internal)
8908 * mail/uudecode.el (uudecode-decode-region-internal)
8909 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8910 (dns-read-type, dns-query)
8911 * pgg-parse.el (pgg-parse-armor)
8912 * pgg.el (pgg-verify-region)
8913 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8914 XEmacs.
8915
8916 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8917
8918 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8919
8920 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8921
8922 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8923 * emulation/cua-base.el (cua-repeat-replace-region):
8924 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8925 (cua-cut-region-to-global-mark):
8926 Remove text properties with `set-text-properties'.
8927
8928 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8929
8930 * net/tramp.el (top, with-progress-reporter):
8931 Use `symbol-function' inside `funcall'.
8932
8933 * net/tramp-compat.el (tramp-compat-file-attributes)
8934 (tramp-compat-delete-file, tramp-compat-delete-directory):
8935 Handle only `wrong-number-of-arguments' error.
8936
8937 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8938 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8939 inside `funcall'.
8940
8941 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * minibuffer.el (completion--sreverse, completion--common-suffix):
8944 New functions.
8945 (completion-pcm--merge-completions): Extract common suffix when safe.
8946
8947 * emacs-lisp/easy-mmode.el (define-minor-mode):
8948 Make :variable more flexible.
8949 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8950
8951 2010-05-05 Juri Linkov <juri@jurta.org>
8952
8953 Add `slow' and `history' tags to the desktop data.
8954
8955 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8956 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8957 (Info-finder-find-node): Require `finder.el' to be able
8958 to restore node from the desktop.
8959 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8960 data `Info-history' and `slow' tag in the assoc list.
8961 (Info-restore-desktop-buffer): Don't restore nodes with the
8962 `slow' tag. Restore `Info-history'.
8963
8964 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8965
8966 Add FORCE argument to `delete-file'.
8967
8968 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8969 forcing to delete the temporary file.
8970 (ange-ftp-delete-file): Add FORCE arg.
8971 (ange-ftp-rename-remote-to-remote)
8972 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8973 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8974 Force file deletion.
8975
8976 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8977
8978 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8979 (tramp-handle-make-symbolic-link, tramp-handle-load)
8980 (tramp-do-copy-or-rename-file-via-buffer)
8981 (tramp-do-copy-or-rename-file-directly)
8982 (tramp-do-copy-or-rename-file-out-of-band)
8983 (tramp-handle-process-file, tramp-handle-call-process-region)
8984 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8985 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8986 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8987
8988 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8989 (tramp-fish-handle-make-symbolic-link)
8990 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8991
8992 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8993 Use `tramp-compat-delete-file'.
8994
8995 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8996 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8997
8998 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8999 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9000
9001 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9002 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9003 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9004 Use `tramp-compat-delete-file'.
9005
9006 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 Minor cleanups.
9009 * subr.el (add-minor-mode): Use push.
9010 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9011 * emulation/edt.el (edt-select-mode): Simplify.
9012
9013 Use define-minor-mode in more cases.
9014 * term/tvi970.el (tvi970-set-keypad-mode):
9015 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9016 (normal-erase-is-backspace-mode):
9017 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9018 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9019 (get-scroll-bar-mode): New function.
9020 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9021
9022 Use define-minor-mode for less obvious cases.
9023 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9024 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9025 * international/iso-ascii.el (iso-ascii-mode):
9026 * frame.el (auto-raise-mode, auto-lower-mode):
9027 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9028
9029 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9030
9031 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9032 in order to see error messages for failed logins.
9033
9034 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9035
9036 * diff.el (diff-sentinel):
9037
9038 * epg.el (epg--make-temp-file, epg-decrypt-string)
9039 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9040
9041 * jka-compr.el (jka-compr-partial-uncompress)
9042 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9043
9044 * server.el (server-sentinel): Use delete-file's new FORCE arg
9045 (Bug#6070).
9046
9047 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 Use define-minor-mode where applicable.
9050 * view.el (view-mode):
9051 * type-break.el (type-break-query-mode)
9052 (type-break-mode-line-message-mode):
9053 * textmodes/reftex.el (reftex-mode):
9054 * term/vt100.el (vt100-wide-mode):
9055 * tar-mode.el (tar-subfile-mode):
9056 * savehist.el (savehist-mode):
9057 * ibuf-ext.el (ibuffer-auto-mode):
9058 * composite.el (auto-composition-mode):
9059 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9060 Use define-minor-mode.
9061 (vhdl-mode): Use static mode-line format.
9062 (vhdl-mode-line-update): Delete.
9063 (vhdl-create-mode-menu, vhdl-activate-customizations)
9064 (vhdl-hs-minor-mode): Don't bother calling it.
9065
9066 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * simple.el (with-wrapper-hook): Move.
9069 (buffer-substring-filters): Mark obsolete.
9070 (filter-buffer-substring-functions): New variable.
9071 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9072
9073 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9074 Michael Albinus <michael.albinus@gmx.de>
9075
9076 Implement compression for inline methods.
9077
9078 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9079 (tramp-copy-size-limit): Allow also nil.
9080 (tramp-inline-compress-commands): New defconst.
9081 (tramp-find-inline-compress, tramp-get-inline-compress)
9082 (tramp-get-inline-coding): New defuns.
9083 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9084 replaced by `tramp-get-inline-coding'.
9085 (tramp-handle-file-local-copy, tramp-handle-write-region)
9086 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9087
9088 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9089
9090 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9091 Remove unused functions.
9092
9093 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9094 Set find-tag-default-function as a variable rather than a property.
9095
9096 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9097 * progmodes/etags.el (tags-completion-at-point-function):
9098 Remove left over interactive spec. Add autoloading stub.
9099 (complete-tag): Use tags-completion-at-point-function.
9100
9101 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9102
9103 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9104
9105 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9106
9107 * ido.el (ido-init-completion-maps): Remove C-v binding.
9108 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9109
9110 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9111
9112 * minibuffer.el (tags-completion-at-point-function): New function.
9113 (completion-at-point-functions): Use it.
9114
9115 * progmodes/etags.el (complete-tag): Revert last change.
9116
9117 2010-04-29 Alan Mackenzie <acm@muc.de>
9118
9119 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9120 off-by-one error (in end of macro position).
9121
9122 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9123
9124 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9125 firefox is absent. Don't autoload.
9126 (browse-url-galeon-program): Don't autoload.
9127
9128 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9129
9130 * bindings.el (complete-symbol): Move into minibuffer.el.
9131
9132 * minibuffer.el (complete-tag): Move from etags.el. If tags
9133 completion cannot be performed, return nil instead of signalling
9134 an error.
9135 (completion-at-point): Make it an alias for complete-symbol.
9136 (complete-symbol): Move from bindings.el, and replace with the
9137 body of completion-at-point.
9138
9139 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9140
9141 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9142
9143 * net/tramp.el (tramp-remote-selinux-p): New defun.
9144 (tramp-handle-file-selinux-context)
9145 (tramp-handle-set-file-selinux-context): Use it.
9146
9147 2010-04-28 Sam Steingold <sds@gnu.org>
9148
9149 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9150 `safe-local-variable' if the value is a string or a symbol with
9151 the property `bug-reference-url-format'.
9152
9153 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9154
9155 * progmodes/bug-reference.el (bug-reference-url-format):
9156 Revert 2010-04-27 change due to security risk.
9157
9158 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 Make it possible to locally disable a globally enabled mode.
9161 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9162 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9163 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9164 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9165 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9166 that subsequent hooks get a chance to disable it.
9167
9168 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9171 Avoid re-enabling a minor mode after the user turned the minor mode
9172 off if MODE-enable-in-buffers is run twice (typically once from
9173 fundamental-mode's after-change-major-mode-hook and a second time from
9174 run-mode-hook's own after-change-major-mode-hook).
9175
9176 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9177
9178 2010-04-27 Sam Steingold <sds@gnu.org>
9179
9180 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9181 `safe-local-variable' if the value is a string or a function, as
9182 documented and implemented on 2010-04-02.
9183
9184 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9185
9186 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9187 when method is 'kill.
9188
9189 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9190
9191 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9192 condition in default directory check.
9193 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9194 Kill ispell process when killing its associated buffer.
9195
9196 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9197
9198 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9199 but we aren't using it.
9200
9201 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9202
9203 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9204 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9205
9206 2010-04-24 Glenn Morris <rgm@gnu.org>
9207
9208 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9209 Ignore VCS-ignore files, and deleted nextstep preferences files.
9210 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9211 (authors-ambiguous-files): New list.
9212 (authors-valid-file-names): Add some deleted files.
9213 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9214 (authors-disambiguate-file-name): New function. (Bug#5501)
9215 (authors-canonical-file-name): Doc fix.
9216 Don't warn about obsolete files.
9217 (authors-canonical-file-name, authors-scan-el):
9218 Use authors-disambiguate-file-name.
9219
9220 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9221 Add autoload cookies.
9222 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9223 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9224 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9225 They have definitions / compiler macros in cl.el.
9226 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9227 Replace manual autoloads with generated ones.
9228 (htmlfontify-unload-rgb-file): Remove autoload.
9229 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9230
9231 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9232
9233 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9234 (byte-compile-setq-default): Optimize for the
9235 single-var case and don't call byte-compile-form in this case to avoid
9236 inf-loop with byte-compile-set-default.
9237
9238 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9239
9240 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9241
9242 Implement SELINUX backends.
9243
9244 * net/tramp.el (tramp-file-name-handler-alist):
9245 Add `file-selinux-context' and `set-file-selinux-context'.
9246 (tramp-handle-file-selinux-context)
9247 (tramp-handle-set-file-selinux-context): New defuns.
9248 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9249 Handle PRESERVE-SELINUX-CONTEXT.
9250
9251 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9252 Add `file-selinux-context' and `set-file-selinux-context'.
9253 (tramp-gvfs-handle-file-selinux-context)
9254 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9255 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9256
9257 * net/ange-ftp.el (ange-ftp-copy-file):
9258 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9259 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9260 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9261 Add PRESERVE-SELINUX-CONTEXT.
9262
9263 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9264
9265 Synchronize with Tramp repository.
9266
9267 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9268 (tramp-action-process-alive, tramp-action-out-of-band)
9269 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9270 (tramp-exists-file-name-handler): Fix docstring.
9271 (with-progress-reporter): New defmacro.
9272 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9273 (tramp-maybe-open-connection): Use it.
9274
9275 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9276
9277 Detect ssh 'ControlMaster' argument automatically in some cases.
9278
9279 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9280 (tramp-default-method): Use it.
9281
9282 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9283
9284 * net/tramp.el (tramp-handle-copy-file): Add new optional
9285 parameter `preserve-selinux-context'.
9286 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9287
9288 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9289
9290 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9291 Ensure, that non remote files are still checked. Oops.
9292
9293 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9294
9295 Fix Bug#5840.
9296
9297 * icomplete.el (icomplete-completions): Use `non-essential'.
9298
9299 * net/tramp.el (tramp-connectable-p): New defun.
9300 (tramp-handle-expand-file-name)
9301 (tramp-completion-handle-file-name-all-completions)
9302 (tramp-completion-handle-file-name-completion): Use it.
9303
9304 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9307
9308 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9309
9310 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9311
9312 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9313
9314 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9315 is present.
9316
9317 * info.el (info-tool-bar-map): Add labels.
9318
9319 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9320
9321 * cus-edit.el (custom-commands): Add labels for tool bar.
9322 (custom-buffer-create-internal, Custom-mode): Adjust for
9323 labels in custom-commands.
9324
9325 * dynamic-setting.el: Renamed from font-setting.el.
9326
9327 2010-04-21 John Wiegley <jwiegley@gmail.com>
9328
9329 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9330 toggles the use of virtual buffers.
9331 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9332 (ido-toggle-virtual-buffers): New function.
9333
9334 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9335
9336 Use `define-derived-mode'; fix window selection; doc fixes.
9337 * play/tetris.el (tetris, tetris-update-speed-function)
9338 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9339 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9340 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9341 (tetris-pause-game): Fix typos in docstrings.
9342 (tetris-mode-map, tetris-null-map):
9343 Move initialization into declaration.
9344 (tetris-mode): Define with `define-derived-mode';
9345 set show-trailing-whitespace to nil.
9346 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9347
9348 2010-04-21 Karel Klíč <kklic@redhat.com>
9349
9350 * files.el (backup-buffer): Handle SELinux context, and return it
9351 if a backup was made by renaming.
9352 (backup-buffer-copy): Set SELinux context to the target file.
9353 (basic-save-buffer): Set SELinux context of the newly written file.
9354 (basic-save-buffer-1): Now it also returns any SELinux context.
9355 (basic-save-buffer-2): Set SELinux context of the newly created file,
9356 and return it.
9357 * net/tramp.el (tramp-file-name-for-operation):
9358 Add file-selinux-context.
9359
9360 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 Make the log-edit comments use RFC822 format throughout.
9363
9364 * vc.el (vc-checkin, vc-modify-change-comment):
9365 Adjust to new vc-start/finish-logentry.
9366 (vc-find-conflicted-file): New command.
9367 (vc-transfer-file): Adjust to new vc-checkin.
9368 (vc-next-action): Improve scoping.
9369
9370 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9371 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9372
9373 * vc-git.el (vc-git-log-edit-mode): Remove.
9374 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9375 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9376
9377 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9378 (vc-start-logentry): Remove argument `extra'.
9379 (vc-finish-logentry): Remove extra args.
9380
9381 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9382 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9383 (vc-bzr-conflicted-files): New function.
9384
9385 * log-edit.el (log-edit-extra-flags)
9386 (log-edit-before-checkin-process): Remove.
9387 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9388 (log-edit-headers-alist): New var.
9389 (log-edit-header-contents-regexp): New const.
9390 (log-edit-match-to-eoh): New function.
9391 (log-edit-font-lock-keywords): Use them.
9392 (log-edit): Insert a "Summary:" header as default.
9393 (log-edit-mode): Mark font-lock rules as case-insensitive.
9394 (log-edit-done): Cleanup headers.
9395 (log-view-process-buffer): Remove.
9396 (log-edit-extract-headers): New function to replace it.
9397
9398 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9399
9400 * subr.el (default-direction-reversed): Remove obsolescence info.
9401
9402 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9405 windows/frames.
9406
9407 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9408 I.e. include text after point in the completion region.
9409 Also, return nil when we're not after/in a symbol.
9410
9411 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9412 default enable-multibyte-characters.
9413
9414 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9415
9416 * international/mule.el: Help the user choose a valid coding-system.
9417 (read-buffer-file-coding-system): New function.
9418 (set-buffer-file-coding-system): Use it. Prompt the user if the
9419 coding-system cannot encode all the chars.
9420
9421 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9422 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9423 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9424 Don't use *vc-bzr-shelve*.
9425
9426 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9427
9428 Fix the version number for added files.
9429 * vc-hg.el (vc-hg-working-revision): Check if the file is
9430 registered after hg parent fails (Bug#5961).
9431
9432 2010-04-19 Glenn Morris <rgm@gnu.org>
9433
9434 * htmlfontify.el (htmlfontify-buffer)
9435 (htmlfontify-copy-and-link-dir): Autoload entry points.
9436
9437 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9438
9439 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9440 name relative to the project root (Bug#5960).
9441
9442 2010-04-19 Glenn Morris <rgm@gnu.org>
9443
9444 * vc-git.el (vc-git-print-log): Doc fix.
9445
9446 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9447
9448 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9449
9450 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9451
9452 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9453 default settings (Bug#5928).
9454
9455 2010-04-19 Glenn Morris <rgm@gnu.org>
9456
9457 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9458 New function.
9459 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9460
9461 2010-04-19 Kenichi Handa <handa@m17n.org>
9462
9463 * language/indian.el (malayalam-composable-pattern): Fix previous
9464 change (add U+0D4D "SIGN VIRAMA").
9465 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9466 (tamil-composable-pattern): Fix typo in the regexp.
9467 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9468 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9469 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9470
9471 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9472
9473 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9474 paragraph-separate (Bug#5821).
9475
9476 2010-04-19 Juri Linkov <juri@jurta.org>
9477
9478 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9479
9480 * info.el (Info-find-node-2): Comment out code that skips
9481 breadcrumbs line.
9482 (Info-mouse-follow-link): New command.
9483 (Info-link-keymap): New keymap.
9484 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9485 Return a string with links instead of inserting breadcrumbs
9486 to the Info buffer.
9487 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9488 Instead of putting the `invisible' text property over the Info
9489 header, make an overlay over the Info header with the `invisible'
9490 property and `after-string' set to the string returned by
9491 `Info-breadcrumbs'.
9492
9493 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9494
9495 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9496 Reported by monkey@sandpframing.com.
9497
9498 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9501 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9502 available in the "keyseq cache" any more.
9503
9504 * custom.el (defcustom): Add edebug spec.
9505
9506 2010-04-18 Juri Linkov <juri@jurta.org>
9507
9508 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9509
9510 * view.el (view-file, view-buffer): Move test for special mode-class
9511 from view-file to view-buffer.
9512
9513 * tar-mode.el (tar-extract): Turn if's into one cond
9514 like in arc-mode.el.
9515
9516 2010-04-18 Juri Linkov <juri@jurta.org>
9517
9518 Add 7z archive format support (bug#5475).
9519
9520 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9521 (archive-7z-extract): New defcustom.
9522 (archive-find-type): Add magic string for 7z.
9523 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9524 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9525 `buffer' arg of `call-process'.
9526 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9527 call the function `archive-7z-extract' with the variable
9528 `archive-7z-extract' let-bound to `archive-zip-extract'.
9529 (archive-7z-summarize, archive-7z-extract): New functions.
9530
9531 * international/mule.el (auto-coding-alist):
9532 * files.el (auto-mode-alist): Add 7z file extension.
9533
9534 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9535
9536 * loadup.el: Setup hash-cons for pure data.
9537
9538 Fix duplicate entries in cedet's loaddefs.el files.
9539 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9540 Should make most file-local generated-autoload-file unnecessary.
9541 (print-readably): Silence warnings.
9542 (autoload-find-destination): Take load-name as an arg to make sure
9543 it's the same as the one that will be in the file.
9544 (autoload-generate-file-autoloads): Adjust to above changes.
9545 Try to make the dataflow a bit simpler.
9546
9547 * cvs-status.el (cvs-refontify): Remove unused.
9548
9549 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9550
9551 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9552
9553 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9554 twos-complement mode.
9555
9556 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9557
9558 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9559 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9560 (calc-inverse): Add "Option" to message, as appropriate.
9561 (calc-hyperbolic): Add "Option" to message, as appropriate.
9562 (calc-option, calc-is-option): New functions.
9563
9564 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9565 (calc-option-prefix-help): New function.
9566
9567 * calc/calc-misc.el (calc-help): Add "Option" entry.
9568
9569 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9570 (calc-option-flag): New variable.
9571 (calc-do): Set `calc-option-flag to nil.
9572 (calc-set-mode-line): Add "Opt " as appropriate.
9573
9574 2010-04-16 Juri Linkov <juri@jurta.org>
9575
9576 Move scrolling commands from simple.el to window.el
9577 because their primitives are implemented in window.c.
9578
9579 * simple.el (scroll-error-top-bottom)
9580 (scroll-up-command, scroll-down-command, scroll-up-line)
9581 (scroll-down-line, scroll-other-window-down)
9582 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9583 * window.el (scroll-error-top-bottom)
9584 (scroll-up-command, scroll-down-command, scroll-up-line)
9585 (scroll-down-line, scroll-other-window-down)
9586 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9587 Move from simple.el to window.el because their primitives are
9588 implemented in window.c.
9589
9590 2010-04-16 Juri Linkov <juri@jurta.org>
9591
9592 * isearch.el (isearch-lookup-scroll-key): Check both
9593 `isearch-scroll' and `scroll-command' properties.
9594 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9595
9596 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9597
9598 * simple.el (scroll-up-command, scroll-down-command)
9599 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9600
9601 2010-04-15 Juri Linkov <juri@jurta.org>
9602
9603 * simple.el (scroll-up-command, scroll-down-command)
9604 (scroll-up-line, scroll-down-line): Put `scroll-command'
9605 property on the these symbols. Remove them from
9606 `scroll-preserve-screen-position-commands'.
9607
9608 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9609 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9610 Remove it from `scroll-preserve-screen-position-commands'.
9611
9612 * isearch.el (isearch-allow-scroll): Doc fix.
9613
9614 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9615
9616 * net/tramp.el (tramp-error-with-buffer): Don't show the
9617 connection buffer when we are in completion mode.
9618 (tramp-file-name-handler): Catch the error for some operations
9619 when we are in completion mode. This gives the user the chance to
9620 correct the file name in the minibuffer.
9621
9622 2010-04-15 Glenn Morris <rgm@gnu.org>
9623
9624 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9625
9626 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9627
9628 Simplify by using `define-derived-mode'.
9629 * info.el (Info-mode):
9630 * calendar/todo-mode.el (todo-mode):
9631 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9632 (gomoku-mode-map): Move initialization into declaration.
9633
9634 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9635
9636 Fix Bug#5840.
9637 * ido.el (ido-file-name-all-completions-1):
9638 * minibuffer.el (minibuffer-completion-help):
9639 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9640
9641 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9642
9643 * simple.el (non-essential): New var.
9644
9645 Add a new field `location' to bookmarks for non-file bookmarks.
9646 * bookmark.el (bookmark-location): Use the new field, if present.
9647 (bookmark-insert-location): Undo last change, not needed any more.
9648 * man.el (Man-bookmark-make-record):
9649 * woman.el (woman-bookmark-make-record): Add `location' field.
9650
9651 2010-04-14 Juri Linkov <juri@jurta.org>
9652
9653 * simple.el (scroll-error-top-bottom): New defcustom.
9654 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9655
9656 * emulation/pc-select.el (pc-select-override-scroll-error):
9657 Obsolete in favor of `scroll-error-top-bottom'.
9658
9659 2010-04-14 Juri Linkov <juri@jurta.org>
9660
9661 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9662 `scroll-up-command' and `M-v' to `scroll-down-command'.
9663
9664 * emulation/cua-rect.el (cua--init-rectangles):
9665 * forms.el (forms--change-commands):
9666 * image-mode.el (image-mode-map):
9667 Remap scroll-down-command and scroll-up-command
9668 in addition to scroll-down and scroll-up.
9669
9670 2010-04-14 Juri Linkov <juri@jurta.org>
9671
9672 * mwheel.el (scroll-preserve-screen-position-commands):
9673 Add mwheel-scroll to this list of commands.
9674
9675 * simple.el (scroll-preserve-screen-position-commands):
9676 Add scroll-up-command, scroll-down-command, scroll-up-line,
9677 scroll-down-line to this list of commands.
9678
9679 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * obsolete/complete.el: Move from lisp/complete.el.
9682
9683 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9684
9685 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9686 to the minor mode function now turns the mode ON unconditionally.
9687
9688 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9689
9690 * vc-dir.el (vc-dir-kill-line): New command.
9691 (vc-dir-mode-map): Bind it to C-k.
9692
9693 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9694
9695 * woman.el: Add bookmark declarations to silence the compiler.
9696 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9697 step to compatibility between man and woman bookmarks.
9698 Adjust for Man-default-bookmark-title renaming.
9699 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9700
9701 * man.el: Add bookmark declarations to silence the compiler.
9702 (Man-name-local-regexp): Make it match NAME as well.
9703 (Man-getpage-in-background): Return the buffer.
9704 (Man-notify-when-ready): Use `case'.
9705 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9706 Don't hardcode "NAME". Simplify.
9707 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9708 Rename from Man-bookmark-make-record.
9709 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9710 we have the actual man-args. Use Man-getpage-in-background rather
9711 than `man' since the arg is already processed. Let bookmark.el do the
9712 window handling. Only wait for the relevant process.
9713 Don't forget to autoload.
9714
9715 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9716
9717 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9718
9719 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9720 New functions.
9721 (woman-mode): Setup bookmark support.
9722
9723 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9724 (man-bookmark-jump): New functions.
9725 (Man-mode): Setup bookmark support.
9726
9727 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9728
9729 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9730 recognize ssh-keygen prompt (Bug#2817).
9731
9732 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9733
9734 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9735
9736 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9737
9738 Synchronize with Tramp repository.
9739
9740 * net/tramp.el (tramp-completion-function-alist)
9741 (tramp-file-name-regexp, tramp-chunksize)
9742 (tramp-local-coding-commands, tramp-remote-coding-commands):
9743 Fix docstring.
9744 (tramp-remote-process-environment): Use `format' instead of `concat'.
9745 (tramp-handle-directory-files-and-attributes)
9746 (tramp-get-remote-path): Use `copy-tree'.
9747 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9748 compatibility: Use `completion-ignore-case' if
9749 `read-file-name-completion-ignore-case' does not exist.
9750 (tramp-do-copy-or-rename-file-directly): Do not use
9751 `tramp-handle-file-remote-p'.
9752 (tramp-do-copy-or-rename-file-out-of-band):
9753 Use `tramp-compat-delete-directory'.
9754 (tramp-do-copy-or-rename-file-out-of-band)
9755 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9756 Use `format-spec-make'.
9757 (tramp-find-foreign-file-name-handler)
9758 (tramp-advice-make-auto-save-file-name)
9759 (tramp-set-auto-save-file-modes): Remove superfluous check for
9760 `stringp'. This is done inside `tramp-tramp-file-p'.
9761 (tramp-debug-outline-regexp): New defconst.
9762 (tramp-get-debug-buffer): Use it.
9763 (tramp-check-for-regexp): Use (forward-line 1).
9764 (tramp-set-auto-save-file-modes): Adapt version check.
9765
9766 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9767 Wrap call of `featurep' for 2nd argument.
9768 (tramp-compat-make-temp-file): Simplify fallback implementation.
9769 (tramp-compat-copy-tree): Remove function.
9770 (tramp-compat-delete-directory): Provide implementation for older
9771 Emacsen.
9772
9773 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9774 Do not use `tramp-fish-handle-file-attributes.
9775
9776 * net/trampver.el: Update release number.
9777
9778 2010-04-10 Glenn Morris <rgm@gnu.org>
9779
9780 * progmodes/compile.el (compilation-save-buffers-predicate):
9781 Add missing :version tag.
9782
9783 2010-04-09 Sam Steingold <sds@gnu.org>
9784
9785 * progmodes/compile.el (compilation-save-buffers-predicate):
9786 Remove the "autoload" cookie.
9787
9788 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9789 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9790 and `bug-reference-prog-mode' can be used in hooks directly.
9791
9792 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9793
9794 Add --author support to git commit.
9795 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9796 (vc-git-log-edit-mode): New minor mode.
9797 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9798 New declarations.
9799
9800 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9801
9802 * vc-hooks.el, vc-git.el: Improve documentation comments.
9803
9804 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9805
9806 Fix some of the problems in defsubst* (bug#5728).
9807 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9808 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9809
9810 2010-04-07 Sam Steingold <sds@gnu.org>
9811
9812 * progmodes/compile.el (compilation-save-buffers-predicate):
9813 New custom variable.
9814 (compile, recompile): Pass it to `save-some-buffers'.
9815
9816 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9817
9818 * wid-edit.el (widget-choose): Move cursor to the second line of
9819 the buffer (Bug#5695).
9820
9821 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9822
9823 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9824 * vc.el (vc-print-log-setup-buttons): New function split out from
9825 vc-print-log-internal.
9826 (vc-log-internal-common): New function, a parametrized version of
9827 vc-print-log-internal.
9828 (vc-print-log-internal): Just call vc-log-internal-common with the
9829 right arguments.
9830 (vc-incoming-outgoing-internal):
9831 (vc-log-incoming, vc-log-outgoing): New functions.
9832 (vc-log-view-type): New permanent local variable.
9833
9834 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9835
9836 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9837 of the dynamic bound vc-short-log.
9838 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9839
9840 * vc-git.el (vc-git-log-outgoing): New function.
9841 (vc-git-log-view-mode): Use vc-log-view-type instead
9842 of the dynamic bound vc-short-log.
9843
9844 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9845 of the dynamic bound vc-short-log. Highlight the tag.
9846 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9847 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9848 (vc-hg-incoming-mode): Remove.
9849 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9850
9851 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9852
9853 Fix default-directory for vc-root-diff.
9854 * vc.el (vc-root-diff): Bind default-directory to the root
9855 directory for the diff command.
9856
9857 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9858
9859 * progmodes/verilog-mode.el (verilog-forward-sexp):
9860 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9861 word keywords, suggested by Steve Pearlmutter.
9862 (verilog-pretty-declarations): Support lineup of declarations in
9863 port lists.
9864 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9865 fix bug for /* / comments.
9866 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9867 Speed up and simplfy as this is never called with a bound.
9868 (verilog-pretty-declarations): Enhance to line up declarations
9869 inside a parameter list, suggested by Alan Morgan.
9870 (verilog-pretty-expr): Tune assignment regular expression match
9871 string for corner cases; also use markers instead of character
9872 number as indent changes the later.
9873
9874 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9875
9876 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9877 as missing keyword.
9878 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9879 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9880 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9881 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9882 Tennant.
9883 (verilog-keywords):
9884 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9885 1800-2009 keywords, including "global.".
9886
9887 2010-04-06 John Wiegley <jwiegley@gmail.com>
9888
9889 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9890 appearing in buffer list (if a live buffer name matched a recentf
9891 file basename). Should use uniquify to offer a real solution.
9892
9893 2010-04-06 John Wiegley <jwiegley@gmail.com>
9894
9895 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9896 comment to code, and add a :version tag.
9897 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9898
9899 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9900
9901 Enable recentf-mode if using virtual buffers.
9902 * ido.el (recentf-list): Declare for byte-compiler.
9903 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9904 (ido-make-buffer-list): Simplify.
9905 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9906
9907 2010-04-05 Juri Linkov <juri@jurta.org>
9908
9909 Scrolling commands which scroll a line instead of full screen.
9910 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9911
9912 * simple.el (scroll-up-line, scroll-down-line): New commands.
9913 Put property isearch-scroll=t on them.
9914
9915 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9916 Remove commands.
9917
9918 2010-04-05 Juri Linkov <juri@jurta.org>
9919
9920 Scrolling commands which do not signal errors at top/bottom.
9921 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9922
9923 * simple.el (scroll-up-command, scroll-down-command): New commands.
9924 Put property isearch-scroll=t on them.
9925
9926 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9927 `scroll-down-command' and [next] from `scroll-up' to
9928 `scroll-up-command'.
9929
9930 * emulation/cua-base.el: Put property CUA=move on
9931 `scroll-up-command' and `scroll-down-command'.
9932 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9933 and `scroll-down-command' to `cua-scroll-down'.
9934
9935 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9936
9937 * help.el (describe-mode): Return nil.
9938
9939 2010-04-04 John Wiegley <jwiegley@gmail.com>
9940
9941 * ido.el (ido-use-virtual-buffers): New variable to indicate
9942 whether "virtual buffer" support is enabled for IDO.
9943 (ido-virtual): Face used to indicate virtual buffers in the list.
9944 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9945 exists, but a virtual buffer of that name does (which would be why
9946 it was in the list), recreate the buffer by reopening the file.
9947 (ido-make-buffer-list): If virtual buffers are being used, call
9948 `ido-add-virtual-buffers-to-list' before the make list hook.
9949 (ido-virtual-buffers): New variable which contains a copy of the
9950 current contents of the `recentf-list', albeit pared down for the
9951 sake of speed, and with proper faces applied.
9952 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9953 create a list of "virtual buffers" to present to the user in
9954 addition to the currently open set. Note that this logic could
9955 get rather slow if that list is too large. With the default
9956 `recentf-max-saved-items' of 200, there is little speed penalty.
9957
9958 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * font-lock.el: Require CL when compiling.
9961 (font-lock-turn-on-thing-lock): Use `case'.
9962
9963 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9964
9965 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9966 Zaretskii.
9967
9968 2010-04-02 Juri Linkov <juri@jurta.org>
9969
9970 * ehelp.el (electric-help-orig-major-mode):
9971 New buffer-local variable.
9972 (electric-help-mode): Set it to original major-mode. Doc fix.
9973 (with-electric-help): Use `electric-help-orig-major-mode' instead
9974 of (default-value 'major-mode). Doc fix.
9975 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9976
9977 2010-04-02 Sam Steingold <sds@gnu.org>
9978
9979 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9980 `vc-hg-command' with a list of flags.
9981
9982 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9983 Also accept "patch" and "RFE".
9984 (bug-reference-fontify): `bug-reference-url-format' can also be a
9985 function to be able to handle the bug kind.
9986 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9987
9988 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9989
9990 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9991 value to fboundp, it may not be a symbol.
9992
9993 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9994
9995 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9996
9997 2010-03-31 Juri Linkov <juri@jurta.org>
9998
9999 * simple.el (next-line, previous-line): Re-throw a signal
10000 with `signal' instead of using `ding'.
10001 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10002
10003 2010-03-31 Juri Linkov <juri@jurta.org>
10004
10005 * simple.el (keyboard-escape-quit): Raise deselecting the active
10006 region higher than exiting the minibuffer.
10007 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10008
10009 2010-03-31 Juri Linkov <juri@jurta.org>
10010
10011 * image.el (image-animated-p): Use `image-metadata' instead of
10012 `image-extension-data'. Get GIF extenstion data from metadata
10013 property `extension-data'.
10014
10015 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * simple.el (append-to-buffer): Simplify.
10018
10019 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10020
10021 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10022 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10023
10024 2010-03-31 Kenichi Handa <handa@m17n.org>
10025
10026 * language/sinhala.el (composition-function-table): Fix regexp for
10027 the new Unicode specification.
10028
10029 * language/indian.el (devanagari-composable-pattern)
10030 (tamil-composable-pattern, kannada-composable-pattern)
10031 (malayalam-composable-pattern): Adjust for the new Unicode
10032 specification.
10033 (bengali-composable-pattern, gurmukhi-composable-pattern)
10034 (gujarati-composable-pattern, oriya-composable-pattern)
10035 (telugu-composable-pattern): New variables to cope with the new
10036 Unicode specification. Use them in composition-function-table.
10037
10038 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 Make tmm-menubar work for the Buffers menu again (bug#5726).
10041 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10042 vectors rather than cons cells, as used in menu-bar-update-buffers.
10043
10044 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10045
10046 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10047 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10048 electric punctuation for "{}();,:" (Bug#5586).
10049
10050 * mail/sendmail.el (mail-default-directory): Doc fix.
10051
10052 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10053
10054 * mail/sendmail.el (mail-default-directory): Doc fix.
10055
10056 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10057
10058 * subr.el (version-regexp-alist, version-to-list)
10059 (version-list-<, version-list-=, version-list-<=)
10060 (version-list-not-zero, version<, version<=, version=): Doc fix.
10061 (Bug#5744).
10062
10063 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10064
10065 * vc.el (vc-root-diff): Doc fix.
10066
10067 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10068
10069 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10070
10071 * simple.el (append-to-buffer): Fix last change.
10072
10073 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10074
10075 * simple.el (append-to-buffer): Ensure that point is preserved if
10076 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10077 (Bug#5749)
10078
10079 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * files.el (auto-mode-case-fold): Change default to t.
10082
10083 2010-03-30 Juri Linkov <juri@jurta.org>
10084
10085 * dired-x.el (dired-omit-mode): Doc fix.
10086
10087 2010-03-30 Juri Linkov <juri@jurta.org>
10088
10089 * replace.el (occur-accumulate-lines): Move occur-engine related
10090 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10091 to be located after `occur-engine'.
10092
10093 2010-03-30 Juri Linkov <juri@jurta.org>
10094
10095 Make occur handle multi-line matches cleanly with context.
10096 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10097
10098 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10099 (occur-engine): Add local variables `ret', `prev-after-lines',
10100 `prev-lines'. Use more arguments for `occur-context-lines'.
10101 Set first elem of its returned list to `data', and the second elem
10102 to `prev-after-lines'. Don't print the separator line.
10103 In the end, print remaining context after-lines.
10104 (occur-context-lines): Add new arguments `begpt', `endpt',
10105 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10106 after-lines of the previous match with before-lines of the
10107 current match and not overlap them. Return a list with two
10108 values: the output line and the list of context after-lines.
10109
10110 2010-03-30 Juri Linkov <juri@jurta.org>
10111
10112 * replace.el (occur-accumulate-lines): Fix a bug where the first
10113 context line at the beginning of the buffer was missing.
10114
10115 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10116
10117 * files.el: Make bidi-display-reordering safe variable for boolean
10118 values.
10119
10120 2010-03-29 Phil Hagelberg <phil@evri.com>
10121 Chong Yidong <cyd@stupidchicken.com>
10122
10123 * subr.el: Extend progress reporters to perform "spinning".
10124 (progress-reporter-update, progress-reporter-do-update):
10125 Handle non-numeric value arguments.
10126 (progress-reporter--pulse-characters): New var.
10127
10128 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10129
10130 * progmodes/compile.el (compilation-start): Fix regexp detection
10131 of initial cd command (Bug#5771).
10132
10133 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10134
10135 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10136
10137 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10138
10139 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10140 * progmodes/gdb-mi.el: Restore.
10141 * progmodes/gdb-ui.el: Remove.
10142 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10143
10144 2010-03-25 Glenn Morris <rgm@gnu.org>
10145
10146 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10147 all dired buffers, even tramp ones. (Bug#5755)
10148
10149 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10150
10151 Add "union tags" in mpc.el.
10152 * mpc.el: Remove backward compatibility code.
10153 (mpc-browser-tags): Change default.
10154 (mpc--find-memoize-union-tags): New var.
10155 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10156 (mpc-cmd-find): Handle the case where the playlist does not exist.
10157 Handle union-tags.
10158 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10159 (mpc-cmd-add): Use mpc-cmd-flush.
10160 (mpc-tagbrowser-tag-name): New fun.
10161 (mpc-tagbrowser-buf): Use it.
10162 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10163
10164 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10165
10166 Misc cleanup.
10167 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10168 Use replace-regexp-in-string.
10169 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10170 (makefile-imake-mode-syntax-table): Move init into defvar.
10171 (makefile-mode): Use define-derived-mode.
10172
10173 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10174 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10175 not be present any more.
10176
10177 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10178
10179 * faces.el (set-face-attribute): Fix typo in docstring.
10180 (face-valid-attribute-values): Reflow docstring.
10181
10182 2010-03-24 Glenn Morris <rgm@gnu.org>
10183
10184 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10185
10186 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10187
10188 * indent.el (indent-for-tab-command): Doc fix.
10189
10190 2010-03-24 Alan Mackenzie <acm@muc.de>
10191
10192 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10193 Fix off-by-one error. Fixes bug #5747.
10194
10195 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10196
10197 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10198 (image-dired-read-comment): Doc fix.
10199
10200 * json.el (json-object-type, json-array-type, json-key-type)
10201 (json-false, json-null, json-read-number):
10202 * minibuffer.el (completion-in-region-functions):
10203 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10204 (cal-tex-cursor-week):
10205 * emacs-lisp/trace.el (trace-function):
10206 * eshell/em-basic.el (eshell/printnl):
10207 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10208 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10209 * obsolete/levents.el (allocate-event, event-key, event-object)
10210 (event-point, event-process, event-timestamp, event-to-character)
10211 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10212 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10213 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10214 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10215 (reftex-highlight-selection): Fix typos in docstrings.
10216
10217 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10218
10219 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10220
10221 2010-03-24 Glenn Morris <rgm@gnu.org>
10222
10223 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10224 2008-02-13 without comment; mark it obsolete.
10225 (rmail-highlight-headers): Use rmail-highlight-face once more.
10226
10227 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10228
10229 * woman.el (woman2-process-escapes): Only consume the newline if
10230 the filler character is on a line by itself (Bug#5729).
10231
10232 2010-03-24 Kenichi Handa <handa@m17n.org>
10233
10234 * language/indian.el (devanagari-composable-pattern): Add more
10235 consonants.
10236
10237 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10238
10239 * net/trampver.el: Update release number.
10240
10241 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10242
10243 * net/tramp.el (tramp-find-executable):
10244 Use `tramp-get-connection-buffer'. Make the regexp for checking
10245 output of "wc -l" more robust.
10246 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10247 (tramp-open-connection-setup-interactive-shell): Remove workaround
10248 for OpenSolaris bug, it is not needed anymore.
10249
10250 2010-03-24 Glenn Morris <rgm@gnu.org>
10251
10252 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10253
10254 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10255
10256 * files.el (auto-mode-alist): Accept more verilog file patterns.
10257
10258 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10261
10262 2010-03-24 Glenn Morris <rgm@gnu.org>
10263
10264 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10265 log-edit-before-checkin-process.
10266
10267 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10268
10269 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10270
10271 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10272 (log-view-process-buffer, log-edit-extra-flags): Declare.
10273
10274 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10275
10276 2010-03-23 Sam Steingold <sds@gnu.org>
10277
10278 Fix bug#5620: recalculate all markers on compilation buffer
10279 modifications, not on file modifications.
10280 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10281 variable: the buffer modification time, for buffers not associated with
10282 files.
10283 (compilation-mode): Create it.
10284 (compilation-filter): Update it.
10285 (compilation-next-error-function): Use it instead of
10286 `visited-file-modtime' for timestamp.
10287
10288 2010-03-23 Juri Linkov <juri@jurta.org>
10289
10290 Implement Occur multi-line matches.
10291 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10292
10293 * replace.el (occur): Doc fix.
10294 (occur-engine): Set `begpt' to the beginning of the first line.
10295 Set `endpt' to the end of the last match line. At first, count
10296 line numbers between `origpt' and `begpt'. Split out code from
10297 `out-line' variable to new let-bindings `match-prefix' and
10298 `match-str'. In `out-line' add non-numeric prefix to all
10299 non-first lines of multi-line matches. Finally, count lines
10300 between `begpt' and `endpt' and add to `lines'.
10301
10302 2010-03-23 Juri Linkov <juri@jurta.org>
10303
10304 * replace.el (occur-accumulate-lines, occur-engine):
10305 Use `occur-engine-line' instead of duplicate code.
10306 (occur-engine-line): New function created from duplicate code
10307 in `occur-accumulate-lines' and `occur-engine'.
10308
10309 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10310 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10311
10312 2010-03-23 Juri Linkov <juri@jurta.org>
10313
10314 * finder.el: Remove TODO tasks.
10315
10316 * info.el (Info-finder-find-node): Add node "all"
10317 with all package info. Handle a list of multiple keywords
10318 separated by comma.
10319 (info-finder): In interactive use with a prefix argument,
10320 use `completing-read-multiple' to read a list of keywords
10321 separated by comma.
10322
10323 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 Add a new completion style `substring'.
10326 * minibuffer.el (completion-basic--pattern): New function.
10327 (completion-basic-try-completion, completion-basic-all-completions):
10328 Use it.
10329 (completion-substring--all-completions)
10330 (completion-substring-try-completion)
10331 (completion-substring-all-completions): New functions.
10332 (completion-styles-alist): New style `substring'.
10333
10334 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10335
10336 Get rid of .elc files after removal of the corresponding .el.
10337 * Makefile.in (compile-clean): New target.
10338 (compile-main): Use it.
10339
10340 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10341
10342 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10343 don't do make there. When compiling with separate object dir, there
10344 is no Makefile there.
10345
10346 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10347
10348 Get rid of the ELCFILES abomination, again.
10349 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10350 (all, compile): Don't call compile-last.
10351 (compile-main): Build the "elcfiles" list dynamically.
10352 (compile-targets): New (internal) target.
10353
10354 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10355
10356 * Makefile.in (top_srcdir): Define.
10357 (abs_top_builddir): Define.
10358 (srcdir): Don't append `/..'.
10359 (EMACS): Use ${abs_top_builddir}.
10360 (all, compile, compile-always, compile-last): Don't set emacswd.
10361 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10362 $(srcdir).
10363 (lisp): Use $(srcdir) instead of @srcdir@.
10364
10365 2010-03-21 Juri Linkov <juri@jurta.org>
10366
10367 Fix message of multi-line occur regexps and multi-buffer header lines.
10368 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10369
10370 * replace.el (occur-1): Don't display regexp if it is longer
10371 than window-width. Use `query-replace-descr' to display regexp.
10372 (occur-engine): Don't display regexp in the buffer header for
10373 multi-buffer occur. Display a separate header line with total
10374 match count and regexp for multi-buffer occur.
10375 Use `query-replace-descr' to display regexp.
10376
10377 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10378
10379 * net/secrets.el: Fix parenthesis.
10380 (secrets-enabled): Fix parenthesis.
10381
10382 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 Use more relative file and directory names.
10385 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10386 (setwins, setwins_almost, setwins_for_subdirs):
10387 Don't `cd'; output relative names.
10388 (all, compile, compile-always, compile-last): Set emacswd.
10389 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10390 Just cd to the lisp source dir so we can use relative file names.
10391
10392 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10393
10394 2010-03-20 Glenn Morris <rgm@gnu.org>
10395
10396 * textmodes/rst.el: Use faces for font-lock customization, and make the
10397 old -face variables obsolete.
10398 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10399 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10400 (rst-block-face, rst-external-face, rst-definition-face)
10401 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10402 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10403 Make obsolete.
10404 (rst-font-lock-keywords-function): Update for above changes.
10405
10406 2010-03-20 Juri Linkov <juri@jurta.org>
10407
10408 * s-region.el:
10409 * obsolete/s-region.el: Move to obsolete.
10410
10411 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10412
10413 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10414
10415 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10416
10417 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10418
10419 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10420
10421 Add special markup processing for commit logs.
10422 * log-edit.el (log-edit-extra-flags): New variable.
10423 (log-edit): Add new argument MODE. Use that mode when non-nil
10424 instead of the log-view-mode.
10425 (log-view-process-buffer): New function.
10426
10427 * vc.el: Document that the checkin method takes optional
10428 arguments. Document new backend specific method: log-view-mode.
10429 (vc-default-log-edit-mode): New function.
10430 (vc-checkin): Use a backend specific log-view-mode.
10431 Pass extra arguments to the checkin method.
10432 (vc-modify-change-comment): Pass a dummy extra argument.
10433
10434 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10435 log-edit.
10436 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10437 (vc-finish-logentry): Process the log buffer before passing it
10438 down. Pass log-edit-extra-flags.
10439
10440 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10441 command.
10442 (log-edit-extra-flags, log-edit-before-checkin-process):
10443 New declarations.
10444
10445 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10446 command.
10447 (log-edit-extra-flags, log-edit-before-checkin-process):
10448 New declarations.
10449 (vc-hg-log-edit-mode): New derived mode.
10450
10451 * vc-arch.el (vc-arch-checkin):
10452 * vc-cvs.el (vc-cvs-checkin):
10453 * vc-git.el (vc-git-checkin):
10454 * vc-mtn.el (vc-mtn-checkin):
10455 * vc-rcs.el (vc-rcs-checkin):
10456 * vc-sccs.el (vc-sccs-checkin):
10457 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10458
10459 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10460
10461 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10462 parent typo).
10463
10464 2010-03-19 Glenn Morris <rgm@gnu.org>
10465
10466 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10467
10468 2010-03-18 Glenn Morris <rgm@gnu.org>
10469
10470 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10471
10472 * replace.el (query-replace-history): Give it a doc string.
10473 (map-query-replace-regexp): Use query-replace-from-history-variable
10474 and query-replace-to-history-variable.
10475
10476 * mail/hashcash.el (declare-function): Remove duplicate definition.
10477
10478 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10479 Make it an obsolete alias for report-emacs-bug-address.
10480 (message-strip-special-text-properties): Declare.
10481 (report-emacs-bug): Remove test for a pretest bug address.
10482 Combine message-mode-specific code.
10483
10484 * mail/supercite.el: Don't require sendmail.
10485 (mh-in-header-p): Declare rather than using with-no-warnings.
10486 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10487 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10488
10489 * calendar/cal-french.el: Convert to utf-8.
10490
10491 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10492 Emacs scripts.
10493
10494 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10495
10496 * net/secrets.el (secrets-enabled): New variable. Use it instead
10497 of a subfeature.
10498
10499 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10500
10501 * net/secrets.el (top): Register the D-Bus signals only when the
10502 service "org.freedesktop.secrets" can be pinged.
10503 Provide subfeature `enabled'.
10504
10505 2010-03-14 Juri Linkov <juri@jurta.org>
10506
10507 Add finder unknown keywords.
10508
10509 * finder.el (finder-unknown-keywords): New function.
10510
10511 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10512 to create a Finder node with unknown keywords.
10513
10514 2010-03-14 Juri Linkov <juri@jurta.org>
10515
10516 * finder.el (finder-compile-keywords): Replace `princ' with
10517 `prin1' on a list of symbols interned from keyword strings.
10518
10519 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10520 a comma, then split keywords using a comma and optional whitespace.
10521 Otherwise, split by whitespace.
10522
10523 * complete.el:
10524 * face-remap.el:
10525 * log-view.el:
10526 * net/hmac-def.el:
10527 * net/hmac-md5.el:
10528 * net/netrc.el:
10529 * progmodes/mixal-mode.el: Fix keywords.
10530
10531 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10532
10533 * Makefile.in (ELCFILES): Add net/secrets.elc.
10534
10535 * net/secrets.el: New file.
10536
10537 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10538
10539 * facemenu.el (list-colors-display, list-colors-print): New arg
10540 callback. Use it to allow selecting colors.
10541
10542 * wid-edit.el (widget-image-insert): Insert image prop even if the
10543 current display is non-graphic.
10544 (widget-field-value-set): New fun.
10545 (editable-field): Use it.
10546 (widget-field-value-get): Clean up unused var.
10547 (widget-color-value-create, widget-color--choose-action):
10548 New funs. Allow using list-colors-display to choose color.
10549
10550 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10551
10552 * cus-edit.el: Resort topmost custom groups.
10553 (custom-buffer-sort-alphabetically): Default to t.
10554 (customize-apropos): Use apropos-parse-pattern.
10555 (custom-search-field): New var.
10556 (custom-buffer-create-internal): Add custom-apropos search field.
10557 (custom-add-parent-links): Don't display parent doc.
10558 (custom-group-value-create): Don't sort top-level custom group.
10559 (custom-magic-value-create): Show visibility button before option name.
10560
10561 (custom-variable-state): New fun, from custom-variable-state-set.
10562 (custom-variable-state-set): Use it.
10563 (custom-group-value-create): Hide options with standard values
10564 using the :hidden-states property. Use progress reporter.
10565
10566 (custom-show): Simplify.
10567 (custom-visibility): Disable images by default.
10568 (custom-variable): New property :hidden-states.
10569 (custom-variable-value-create): Enable images for
10570 custom-visibility widgets. Use :hidden-states property to
10571 determine initial visibility.
10572
10573 * wid-edit.el (widget-image-find): Give images center ascent.
10574 (visibility): Add :on-image and :off-image properties.
10575 (widget-visibility-value-create): Use them.
10576
10577 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10578
10579 * cus-edit.el (processes): Remove from development group.
10580 (oop, hypermedia): Delete group.
10581 (comm): Promote to top-level group.
10582
10583 * net/browse-url.el (browse-url):
10584 * net/xesam.el (xesam):
10585 * net/tramp.el (tramp):
10586 * net/goto-addr.el (goto-address):
10587 * net/ange-ftp.el (ange-ftp): Put in comm group.
10588
10589 * view.el (view): Remove from editing group.
10590
10591 * uniquify.el (uniquify): Put in files group.
10592
10593 * net/browse-url.el (browse-url):
10594 * ps-print.el (postscript): Put in external group.
10595
10596 * cus-edit.el (outlines):
10597 * textmodes/text-mode.el (text-mode-hook):
10598 * textmodes/table.el (table):
10599 * textmodes/picture.el (picture):
10600 * outline.el (outlines): Put in wp group.
10601
10602 * nxml/nxml-mode.el (nxml): Remove from wp group.
10603
10604 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10605
10606 * mail/metamail.el (metamail): Remove from hypermedia group.
10607
10608 * cus-edit.el (abbrev):
10609 * whitespace.el (whitespace):
10610 * vcursor.el (vcursor):
10611 * reveal.el (reveal):
10612 * hl-line.el (hl-line): Put in convenience group.
10613
10614 * epg-config.el (epg): Put in data group.
10615
10616 * emulation/pc-select.el (pc-select): Put in emulations group.
10617
10618 * calculator.el (calculator): Put in applications group.
10619
10620 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10621
10622 Add .dir-locals.el support for file-less buffers.
10623 * files.el (hack-local-variables): Split out code to apply local
10624 variable settings ...
10625 (hack-local-variables-apply): ... here. New function.
10626 (hack-dir-local-variables): Use the default directory for when the
10627 buffer does not have an associated file.
10628 (hack-dir-local-variables-non-file-buffer): New function.
10629 * diff-mode.el (diff-mode):
10630 * vc-annotate.el (vc-annotate-mode):
10631 * vc-dir.el (vc-dir-mode):
10632 * log-edit.el (log-edit-mode):
10633 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10634
10635 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10636
10637 Add support for shelving snapshots and for showing shelves.
10638 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10639 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10640 New functions.
10641 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10642 (vc-bzr-extra-menu-map): Map them.
10643
10644 2010-03-11 Glenn Morris <rgm@gnu.org>
10645
10646 * cus-edit.el (customize-changed-options-previous-release):
10647 Bump to 23.1.
10648
10649 * image.el (image-animate-max-time): Fix :version tag.
10650
10651 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10652
10653 * Branch for 23.2.
10654
10655 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10656
10657 * vc-git.el (vc-git-revision-table): Include remote branches.
10658
10659 2010-03-10 Kim F. Storm <storm@cua.dk>
10660
10661 Animated image API.
10662 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10663
10664 * image.el (image-animate-max-time): New defcustom.
10665 (image-animated-types): New defconst.
10666 (create-animated-image, image-animate-timer)
10667 (image-animate-start, image-animate-stop, image-animate-timeout)
10668 (image-animated-p): New functions.
10669
10670 * image-mode.el (image-toggle-display-image):
10671 Replace `create-image' with `create-animated-image'.
10672
10673 2010-03-09 Miles Bader <miles@gnu.org>
10674
10675 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10676 instead of "format:"; this ensures that the output is
10677 newline-terminated.
10678
10679 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10680
10681 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10682 that all errors are caught, and that the return value is always a
10683 list (Bug#5692).
10684
10685 2010-03-08 Kenichi Handa <handa@m17n.org>
10686
10687 * language/misc-lang.el (windows-1256): New coding system.
10688 (cp1256): New alias of windows-1256 (bug#5690).
10689
10690 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10691
10692 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10693 call to rfc822-bad-address. (Bug#5692)
10694
10695 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10696
10697 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10698 Use vc-git-root as default directory for revision path (Bug#5657).
10699
10700 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10701
10702 * calculator.el (calculator): Don't bind split-window-keep-point
10703 (Bug#5674).
10704
10705 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10706
10707 * vc-git.el: Re-flow to fit into 80 columns.
10708 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10709 Remove spurious `quote' element in each case alternative.
10710 (vc-git-show-log-entry): Use prog1.
10711 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10712
10713 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10714
10715 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10716
10717 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10718
10719 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10720 definition, not the name (Bug#5481).
10721
10722 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10723
10724 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10725 argument with a local variable. (Bug#5670)
10726
10727 2010-03-02 Juri Linkov <juri@jurta.org>
10728
10729 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10730
10731 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10732
10733 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10734 error when FILENAME and NEWNAME are existing remote directories.
10735
10736 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10737 parameter DIR-FLAG.
10738
10739 2010-03-02 Glenn Morris <rgm@gnu.org>
10740
10741 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10742 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10743
10744 2010-03-01 Kenichi Handa <handa@m17n.org>
10745
10746 * language/burmese.el (burmese-composable-pattern): Rename from
10747 myanmar-composable-pattern.
10748
10749 * international/characters.el (script-list):
10750 * international/fontset.el (script-representative-chars):
10751 Change myanmar to burmese.
10752 (otf-script-alist): Likewise.
10753 (setup-default-fontset): Likewise. Re-fix :otf spec.
10754
10755 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10756
10757 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10758
10759 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10760
10761 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10762
10763 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10764
10765 * net/tramp.el (tramp-handle-write-region): START can be a string.
10766 Take care in the checks. Reported by Dan Davison
10767 <davison@stats.ox.ac.uk>.
10768
10769 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10770
10771 * net/dbus.el (dbus-introspect, dbus-get-property)
10772 (dbus-set-property, dbus-get-all-properties):
10773 Use `dbus-call-method' when noninteractive. (Bug#5645)
10774
10775 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10776
10777 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10778 * emacs-lisp/elint.el (elint-add-required-env):
10779 * calendar/icalendar.el (icalendar--add-diary-entry):
10780 * calc/calcalg2.el (math-tracing-integral):
10781 * files.el (recover-session-finish): Use with-current-buffer
10782 instead of save-excursion.
10783
10784 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10785
10786 Fix in-buffer completion when after-change-functions modify the buffer.
10787 * minibuffer.el (completion--replace): New function.
10788 (completion--do-completion): Use it and use relative movement.
10789
10790 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10791
10792 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10793
10794 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10795
10796 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10797 Allow the characters _<> in the stack entry (Bug#5653).
10798
10799 2010-02-26 Kenichi Handa <handa@m17n.org>
10800
10801 * language/burmese.el: Fix entries in composition-function-table.
10802 (myanmar-composable-pattern): New variable.
10803
10804 * international/fontset.el (setup-default-fontset): Add an entry
10805 for myanmar.
10806
10807 * international/characters.el (script-list): Add Myanmar
10808 Extended-A.
10809
10810 2010-02-26 Glenn Morris <rgm@gnu.org>
10811
10812 * custom.el (custom-initialize-delay): Doc fix.
10813
10814 * mail/sendmail.el (send-mail-function): Autoload the call
10815 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10816
10817 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10818
10819 * files.el (hack-local-variables-filter): For eval forms, also
10820 check safe-local-variable-p (Bug#5636).
10821
10822 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10823
10824 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10825 setting the modes by `ignore-errors'. It might fail, for example
10826 if the file is not owned by the user but the group.
10827 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10828
10829 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10830
10831 * files.el (directory-listing-before-filename-regexp):
10832 Use stricter matching for iso-style dates, to avoid false matches with
10833 date-like filenames (Bug#5597).
10834
10835 * htmlfontify.el (htmlfontify): Doc fix.
10836
10837 * eshell/eshell.el (eshell): Doc fix.
10838
10839 * startup.el (fancy-about-screen): In mode-line, apply
10840 mode-line-buffer-id face only to the buffer name (Bug#5613).
10841
10842 2010-02-20 Kevin Ryde <user42@zip.com.au>
10843
10844 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10845 In `watcom' anchor regexp to start of line, to avoid slowness
10846 (Bug#5599).
10847
10848 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10849
10850 * subr.el (remove-yank-excluded-properties): Explain in a comment
10851 why `category' property is removed.
10852
10853 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10854
10855 * isearch.el (isearch-update-post-hook, isearch-update):
10856 Revert 2010-02-17 change.
10857
10858 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10859
10860 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10861 (icalendar--convert-weekly-to-ical)
10862 (icalendar--convert-yearly-to-ical)
10863 (icalendar--convert-block-to-ical)
10864 (icalendar--convert-cyclic-to-ical)
10865 (icalendar--convert-anniversary-to-ical): Take care of time
10866 specifications where hour has 1-digit only (Bug#5549).
10867
10868 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10869
10870 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10871 of disassemble output in GDB 7.1.
10872
10873 2010-02-19 Glenn Morris <rgm@gnu.org>
10874
10875 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10876 property. (Bug#5593)
10877
10878 2010-02-18 Sam Steingold <sds@gnu.org>
10879
10880 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10881
10882 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 Use abbreviated file names in bookmarks (bug#5591).
10885 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10886 calls to expand-file-name.
10887 (bookmark-relocate): Use abbreviated file names in bookmarks.
10888 (bookmark-load): Use abbreviated file names in messages.
10889
10890 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10891
10892 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10893 expand "." and "..". Reported by Thierry Volpiatto
10894 <thierry.volpiatto@gmail.com>.
10895
10896 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10897
10898 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10899 permissions of the temporary file to "0600". In case the remote
10900 file has no read permissions for the owner, there might be
10901 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10902
10903 22010-02-18 Glenn Morris <rgm@gnu.org>
10904
10905 * emacs-lisp/authors.el (authors-renamed-files-alist):
10906 Add entries for INSTALL.CVS.
10907
10908 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10909
10910 * vc-bzr.el: Fix typo in Known Bugs section.
10911
10912 * isearch.el (isearch-update-post-hook): New hook.
10913 (isearch-update): Use the new hook.
10914
10915 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10916
10917 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10918 Fix errors in copying directories.
10919 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10920 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10921 (tramp-handle-delete-file)
10922 (tramp-handle-dired-recursive-delete-directory)
10923 (tramp-handle-write-region): Flush also the cache for the upper
10924 directory.
10925
10926 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10927
10928 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10929
10930 * cus-edit.el (hardware): Doc fix.
10931
10932 * man.el (man): Add to external custom group.
10933
10934 * delim-col.el (columns): Move to wp custom group.
10935
10936 * doc-view.el (doc-view): Add to data custom group.
10937
10938 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10939
10940 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10941 by ispell-parse-output (Bug#5575).
10942
10943 2010-02-16 Kenichi Handa <handa@m17n.org>
10944
10945 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10946 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10947 (skkdic-convert): Use `euc-japan' coding system for writing.
10948
10949 2010-02-16 Glenn Morris <rgm@gnu.org>
10950
10951 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10952 tex-main-file before using it. (Bug#5562)
10953
10954 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10957 warnings, since it is annoying for the user to see them each time he
10958 runs the code.
10959
10960 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10961
10962 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10963 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10964 instead of PROC for caching "first-password-request". Otherwise,
10965 new processes would not profit from passwords already entered.
10966
10967 * net/tramp-cache.el (tramp-dump-connection-properties):
10968 Don't save "first-password-request" property.
10969
10970 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10971
10972 * outline.el (outline-head-from-level):
10973 * simple.el (with-wrapper-hook):
10974 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10975 (elint-defun, elint-buffer-env, elint-top-form-logged)
10976 (elint-unbound-variable):
10977 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10978 Fix typos in docstrings.
10979
10980 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10981
10982 * files.el (insert-directory): When WILDCARD-REGEXP and
10983 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10984 whole directory. (Bug#5551)
10985
10986 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10987 dired's alignment sanity. (Bug#5516)
10988
10989 2010-02-14 Juri Linkov <juri@jurta.org>
10990
10991 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10992 Remove remaining ^H with their preceding chars. (Bug#5566)
10993
10994 2010-02-13 Glenn Morris <rgm@gnu.org>
10995
10996 * simple.el (transpose-subr): Give it a doc-string.
10997
10998 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10999 Doc fixes.
11000
11001 2010-02-12 Juri Linkov <juri@jurta.org>
11002
11003 * arc-mode.el (archive-unique-fname): Make directories for nested
11004 archives. (Bug#5540)
11005
11006 2010-02-12 Juri Linkov <juri@jurta.org>
11007
11008 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11009
11010 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * subr.el (copy-overlay): Handle deleted overlays.
11013
11014 * man.el (Man-completion-table): Don't signal an error if we can't run
11015 manual-program (bug#4056).
11016
11017 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11018
11019 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11020
11021 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11022
11023 * info.el (Info-bookmark-jump): Simplify.
11024
11025 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11026 (bookmark-default-handler): Accept new bookmark field `buffer'.
11027
11028 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11029
11030 * iswitchb.el (iswitchb-completions): Revert last change.
11031
11032 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11033
11034 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11035 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11036 This prevents file names like "~/" being listed literally.
11037
11038 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11039
11040 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11041 Remove dead code. (Bug#5546)
11042
11043 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11044
11045 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11046 correctly (Bug#5548).
11047
11048 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11049
11050 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11051 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11052
11053 2010-02-08 Kenichi Handa <handa@m17n.org>
11054
11055 * international/mule-util.el (with-coding-priority): Add autoload
11056 cookie for putting `lisp-indent-function'.
11057
11058 2010-02-07 Glenn Morris <rgm@gnu.org>
11059
11060 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11061 Move F2003 named interfaces from keywords-2 to keywords-1, and
11062 use function-name-face rather than constant-face.
11063 Simplify "abstract interface" regexp.
11064
11065 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11066
11067 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11068 ID-FORMAT. Pass it to `file-attributes'.
11069
11070 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11071
11072 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11073
11074 * faces.el (set-face-attribute): Allow calling
11075 internal-set-lisp-face-attribute with 'unspecified family and
11076 foundry argument (Bug#5536).
11077
11078 2010-02-07 Glenn Morris <rgm@gnu.org>
11079
11080 * progmodes/f90.el (f90-font-lock-keywords-2)
11081 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11082 Handle F2003 named interfaces.
11083
11084 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11085
11086 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11087 beg and end before calling c-get-state-before-change-functions.
11088
11089 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11090
11091 * vc-bzr.el (vc-bzr-dir-extra-headers):
11092 Disable the pending merges header.
11093
11094 2010-02-05 Juri Linkov <juri@jurta.org>
11095
11096 * doc-view.el (doc-view-mode):
11097 * image-mode.el (image-mode): Put property mode-class=special.
11098 (Bug#4896)
11099
11100 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11101
11102 * vc-svn.el (vc-svn-revision-table): New function.
11103
11104 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11105
11106 * net/ange-ftp.el (ange-ftp-insert-directory):
11107 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11108 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11109 Handle also directories. (Bug#5478)
11110
11111 2010-02-05 Glenn Morris <rgm@gnu.org>
11112
11113 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11114
11115 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11116
11117 * startup.el (command-line-1): Convert options beginning with a
11118 single dash as well (Bug#5519).
11119
11120 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11121
11122 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11123 * minibuffer.el (completion-initials-expand): Only check the presence
11124 of delims *within* the boundaries, since otherwise the / delim is
11125 always found for files.
11126
11127 Fix up various corner case problems.
11128 * doc-view.el (doc-view-last-page-number): New function.
11129 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11130 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11131 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11132 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11133 (doc-view-convert-current-doc): Don't create the resolution.el file
11134 here any more.
11135 (doc-view-pdf/ps->png): Do it here instead.
11136 (doc-view-already-converted-p): Check that resolution.el is present.
11137 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11138 windows that are not yet showing images.
11139
11140 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11141
11142 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11143 `dired-uncache' for every elemnt which is an absolute file name.
11144
11145 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11146 directory, handle its directory component.
11147 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11148 function is called permanently and creates noise, otherwise.
11149
11150 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11151 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11152 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11153
11154 2010-02-04 David Burger <dburger@google.com> (tiny change)
11155
11156 * macros.el (apply-macro-to-region-lines):
11157 Minor simplification. (Bug#5485)
11158
11159 2010-02-04 Glenn Morris <rgm@gnu.org>
11160
11161 * mail/rmail.el (rmail-show-message-1): Handle malformed
11162 quoted-printable text. (Bug#5441)
11163
11164 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11165
11166 * simple.el (visual-line-mode): Capitalize lighter.
11167
11168 2010-02-03 John Wiegley <jwiegley@gmail.com>
11169
11170 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11171 list of files considered for "virtual buffer" completions.
11172
11173 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11174
11175 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11176 also in case of (and (not full) (not wildcard)). This is needed
11177 when dired is called with a list of files, which are not in
11178 `default-directory'. (Bug#5478)
11179
11180 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11181
11182 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11183
11184 2010-02-02 Juri Linkov <juri@jurta.org>
11185
11186 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11187 from unidiff to allow function-line after @@.
11188
11189 2010-02-02 Juri Linkov <juri@jurta.org>
11190
11191 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11192 '(RCS SCCS) with inverted condition.
11193
11194 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11195
11196 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11197 messages.
11198
11199 2010-02-01 Juri Linkov <juri@jurta.org>
11200
11201 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11202 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11203 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11204 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11205
11206 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11209 (doc-view-revert-buffer): New command.
11210 (doc-view-mode-map): Use it.
11211
11212 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11213
11214 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11215 pending merge is detected.
11216
11217 2010-01-31 Juri Linkov <juri@jurta.org>
11218
11219 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11220 beginning of interactive spec like all other grep commands do.
11221 Put "all" in front of "gz". (Bug#5260)
11222
11223 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11224
11225 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11226
11227 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11228
11229 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11230 regexp is incorrect (Bug#5476).
11231
11232 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11233
11234 * net/tramp.el (tramp-handle-insert-directory): Handle also
11235 symlinks, when FILENAME is not in `default-directory'.
11236
11237 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11238
11239 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11240 FILE is not in `default-directory'. (Bug#5478)
11241
11242 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11243 of SWITCHES. Handle the case, FILENAME is not in
11244 `default-directory'. (Bug#5478)
11245 (tramp-register-file-name-handlers): Add safe-magic property.
11246
11247 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11248
11249 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11250 unzip (Bug#5475).
11251
11252 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11253
11254 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11255 (flymake-master-make-header-init): Add other C++ filename masks.
11256 (flymake-find-possible-master-files)
11257 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11258
11259 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11260
11261 Fix some busybox annoyances.
11262
11263 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11264 not responding." string.
11265 (tramp-open-connection-setup-interactive-shell): Dump stty
11266 settings. Enable "neveropen" arg for all `tramp-send-command'
11267 calls. Handle "=" in variable values properly.
11268 (tramp-find-inline-encoding): Raise an error, when no encoding is
11269 found.
11270 (tramp-wait-for-output): Check, whether PROC buffer is available.
11271 Remove spurious " ^H" sequences, sent by busybox.
11272 (tramp-get-ls-command): Suppress coloring, if possible.
11273
11274 2010-01-28 Glenn Morris <rgm@gnu.org>
11275
11276 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11277
11278 * log-edit.el (log-edit-strip-single-file-name): Add missing
11279 :safe, :group, and :version tags.
11280
11281 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11282
11283 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11284 buffers. (Bug#5477)
11285
11286 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11287
11288 * files.el (delete-directory): Handle moving to trash without
11289 first doing recursion (Bug#5436).
11290
11291 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11292
11293 * vc-hooks.el (vc-path): Mark as obsolete.
11294
11295 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11296
11297 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11298 names too.
11299
11300 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11301 for the short log.
11302 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11303
11304 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11305
11306 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11307
11308 * vc-bzr.el (vc-bzr-revision-table): New function.
11309
11310 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11311
11312 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11313 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11314
11315 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11316
11317 Remove support for adding --signoff on commit.
11318 Future support will use an incompatible generic mechanism.
11319 * vc-git.el (vc-git-add-signoff): Remove variable.
11320 (vc-git-toggle-signoff): Remove function.
11321 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11322
11323 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11324 Rename from xterm-set-background-mode. Return t if the background mode
11325 was set.
11326 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11327 earlier, call it again in case the background mode has changed.
11328
11329 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11330
11331 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11332 (Bug#3541).
11333
11334 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11335
11336 * emacs-lisp/assoc.el (aelement): Doc fix.
11337 (aput, adelete, amake): Use lexical-let (Bug#5450).
11338
11339 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11340
11341 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11342 is the same as subprogram call, not declaration. (Bug#5435).
11343
11344 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11345
11346 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11347 (tramp-smb-maybe-open-connection): Use it.
11348
11349 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11350
11351 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11352
11353 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11356 just because we see "encoding: 8bit".
11357 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11358
11359 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11360
11361 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11362
11363 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11364
11365 * jka-compr.el (jka-compr-load): If load-file is not in
11366 load-history, try its file-truename version. (bug#5447)
11367
11368 2010-01-21 Alan Mackenzie <acm@muc.de>
11369
11370 Fix a situation where deletion of a cpp construct throws an error.
11371 * progmodes/cc-engine.el (c-invalidate-state-cache):
11372 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11373 special cpp construct is still in the buffer.
11374 (c-parse-state): Record the special cpp with markers, not numbers.
11375
11376 2010-01-21 Kenichi Handa <handa@m17n.org>
11377
11378 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11379 process last-command-event, as it is now decoded first (Bug#5380).
11380
11381 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11382
11383 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11384
11385 2010-01-20 Glenn Morris <rgm@gnu.org>
11386
11387 * indent.el (tab-always-indent): Fix custom-type.
11388
11389 2010-01-19 Alan Mackenzie <acm@muc.de>
11390
11391 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11392 buffer throws "args out of range".
11393 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11394 playing the role of delimiter.
11395
11396 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11397
11398 * progmodes/ada-mode.el: Fix bug#5400.
11399 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11400 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11401 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11402 Improve comments in "is" portion. Handle null procedure declaration.
11403 (ada-move-to-end): Improve doc string.
11404
11405 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11406
11407 * ido.el (ido-cur-list): Initialize to nil.
11408 Remove obsolete information from commentary.
11409 (ido-choice-list): Initialize to nil.
11410 (ido-get-bufname): Reject minibuffers.
11411 (ido-make-buffer-list): If "default" is a nonexistent
11412 buffer, ignore it, as per the function's comment.
11413 (ido-kill-buffer-internal): New function.
11414 (ido-kill-buffer-at-head): Use it.
11415 (ido-visit-buffer): Likewise.
11416
11417 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11418
11419 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11420
11421 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11422
11423 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11424 Fix typos in chart titles.
11425
11426 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11427 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11428 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11429 (describe-class, eieio-describe-generic, describe-generic):
11430 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11431 (eieio-speedbar-expand):
11432 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11433 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11434 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11435 (viper-del-backward-char-in-replace, viper-backward-indent)
11436 (viper-brac-function, viper-register-to-point, viper-submit-report):
11437 * net/tramp.el (tramp-remote-coding-commands):
11438 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11439 Fix typos in docstrings.
11440
11441 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11442
11443 * mail/sendmail.el (mail-yank-original): Set the mark if the
11444 specified function for yanking does not do it.
11445
11446 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11447
11448 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11449
11450 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11451 resyncing a directory.
11452
11453 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11454
11455 * progmodes/ada-mode.el: Fix bug#1920.
11456 (ada-ident-re): Delete ., allow multibyte characters.
11457 (ada-goto-label-re): New; matches goto labels.
11458 (ada-block-label-re): New; matches block labels.
11459 (ada-label-re): New; matches both.
11460 (ada-named-block-re): Deleted; callers changed to use
11461 `ada-block-label-re' instead.
11462 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11463 Use `ada-block-label-re'.
11464 (ada-indent-on-previous-lines): Improve handling of goto labels.
11465 (ada-get-indent-block-start): Special-case block label.
11466 (ada-get-indent-label): Split into `ada-indent-block-label' and
11467 `ada-indent-goto-label'.
11468 (ada-goto-stmt-start, ada-goto-next-non-ws):
11469 Optionally ignore goto labels.
11470 (ada-goto-next-word): Simplify.
11471 (ada-indent-newline-indent-conditional): Insert newline before
11472 trying to fix indentation; doc fix.
11473
11474 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11475
11476 * calc/calc.el (calc-command-flags): Give it an initial value.
11477
11478 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11479
11480 * files.el (minibuffer-with-setup-hook):
11481 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11482 (artist-key-draw-continously, artist-key-do-continously-continously)
11483 (artist-key-set-point-continously, artist-mouse-draw-continously):
11484 Fix typos in docstrings.
11485
11486 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11487
11488 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11489 Never return t (Bug#3898).
11490
11491 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11492
11493 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11494 can parse the output of the external commands (Bug#5279).
11495
11496 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11497
11498 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11499
11500 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11501
11502 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11503
11504 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11505
11506 * startup.el (command-line): Remove unused --icon-type arg.
11507 Handle --display arg, passing it to command-line-1 (Bug#5392).
11508
11509 2010-01-16 Mario Lang <mlang@delysid.org>
11510
11511 * emacs-lisp/chart.el (chart-translate-namezone):
11512 * textmodes/artist.el (artist-compute-popup-menu-table):
11513 Remove duplicated words in doc-strings.
11514
11515 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11516
11517 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11518 to mairix-search to suppress threading (Bug#5342).
11519
11520 2010-01-15 Kenichi Handa <handa@m17n.org>
11521
11522 * international/mule-cmds.el (canonicalize-coding-system-name):
11523 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11524
11525 2010-01-15 Glenn Morris <rgm@gnu.org>
11526
11527 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11528
11529 * wid-edit.el (widget-keymap): Doc fix.
11530
11531 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11532 former seems to be more widely accepted by various svn versions.
11533
11534 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11535
11536 * find-cmd.el (find-constituents):
11537 * vc-arch.el (vc-arch-root):
11538 * window.el (window-body-height, pop-up-frames):
11539 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11540 * progmodes/ada-stmt.el (ada-if):
11541 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11542 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11543 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11544 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11545
11546 * progmodes/flymake.el (flymake-post-syntax-check):
11547 Fix typo in error message.
11548
11549 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11550
11551 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11552 which is always a string. (Bug#5313)
11553
11554 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11555
11556 * progmodes/ada-xref.el (ada-default-prj-properties):
11557 Simplify previous change.
11558
11559 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11560
11561 * progmodes/ada-xref.el (ada-default-prj-properties):
11562 Default ada_project_path to $ADA_PROJECT_PATH.
11563
11564 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11565
11566 * progmodes/ada-mode.el (ada-create-keymap):
11567 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11568
11569 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11570
11571 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11572 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11573 (ada-get-current-indent, ada-imenu-generic-expression)
11574 (ada-which-function): Check for it.
11575
11576 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11577
11578 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11579 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11580
11581 2010-01-14 Glenn Morris <rgm@gnu.org>
11582
11583 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11584
11585 2010-01-14 Kenichi Handa <handa@m17n.org>
11586
11587 * composite.el (auto-composition-mode): Make it a buffer local
11588 variable (permanent-local).
11589 (auto-composition-function): Set the default value to
11590 auto-compose-chars.
11591 (auto-composition-mode): Make it a simple function, not a minor mode.
11592 (global-auto-composition-mode): Likewise.
11593 (turn-on-auto-composition-if-enabled): Delete it.
11594
11595 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11596
11597 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11598
11599 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11600
11601 * files.el (copy-directory): Compute target for recursive
11602 directories with identical names. (Bug#5343)
11603
11604 2010-01-12 Glenn Morris <rgm@gnu.org>
11605
11606 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11607 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11608
11609 2010-01-11 Sam Steingold <sds@gnu.org>
11610
11611 * imenu.el (imenu-default-create-index-function): Detect infinite
11612 loops caused by imenu-prev-index-position-function.
11613
11614 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11615
11616 * htmlfontify.el (htmlfontify-load-rgb-file)
11617 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11618 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11619 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11620 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11621 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11622 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11623 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11624 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11625 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11626 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11627 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11628 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11629 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11630 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11631 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11632 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11633 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11634 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11635 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11636 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11637 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11638 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11639 backslash-quoting from parentheses, etc.
11640
11641 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11642
11643 * progmodes/js.el: Autoload javascript-mode alias.
11644
11645 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11646
11647 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11648 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11649 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11650 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11651 Fix typos in docstrings.
11652 (ffap-url-regexp): Doc fix.
11653 (ffap-at-mouse): Fix typo in message.
11654
11655 2010-01-11 Glenn Morris <rgm@gnu.org>
11656
11657 * version.el (emacs-copyright): Set copyright year to 2010.
11658
11659 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11660
11661 * format.el (format-annotate-function): Only set
11662 write-region-post-annotation-function after running to-fn so as not to
11663 affect nested write-region calls (bug#5273).
11664
11665 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11666
11667 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11668 wisent/python.el.
11669
11670 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11671
11672 * man.el (Man-goto-section): Signal error if the section is not
11673 found (Bug#5317).
11674
11675 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11676
11677 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11678 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11679
11680 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11681
11682 * progmodes/compile.el: Don't treat compile-command as safe if
11683 compilation-read-command might be nil (Bug#4218).
11684
11685 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11686
11687 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11688 NS options.
11689
11690 2010-01-08 Kenichi Handa <handa@m17n.org>
11691
11692 * international/fontset.el (build-default-fontset-data):
11693 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11694
11695 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11696
11697 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11698 to `create-file-buffer' as it expects, not just a buffer name.
11699 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11700 to help uniquify. (Bug#3224)
11701
11702 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11703
11704 * font-setting.el (font-setting-change-default-font): Use user-spec
11705 instead of name.
11706
11707 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11708
11709 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11710
11711 2010-01-05 Tom Tromey <tromey@redhat.com>
11712
11713 * progmodes/python.el (python-font-lock-keywords):
11714 Handle qualified decorators (Bug#881).
11715
11716 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11717
11718 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11719 in a lightweight checkout.
11720
11721 2010-01-05 Kenichi Handa <handa@m17n.org>
11722
11723 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11724
11725 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11726
11727 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11728
11729 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11730
11731 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11732 checkouts. (Bug#618)
11733 (vc-bzr-log-view-mode): Also highlight the author.
11734 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11735 (vc-bzr-shelve-menu-map):
11736 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11737 (vc-bzr-shelve-apply): Make prompt more explicit.
11738
11739 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11740
11741 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11742 They are valid characters in URL paths (rfc3986), and at least
11743 Firefox does not understand the encoded version (Bug#3166).
11744
11745 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11746
11747 * progmodes/octave-mod.el (octave-end-keywords)
11748 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11749 Add "end" keyword (Bug#3061).
11750 (octave-end-as-array-index-p): New function.
11751 (calculate-octave-indent): Use it.
11752
11753 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11754
11755 * bookmark.el: Consistently put the text property on the bookmark name.
11756 (bookmark-bmenu-marks-width): Bump back to 2, to include
11757 annotation marks.
11758 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11759 property on the bookmark name, instead of not putting it at all.
11760 (bookmark-bmenu-list): Fix where we put the text property.
11761
11762 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11763
11764 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11765 for showing buffer modified state (as added in the previous change).
11766
11767 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11768
11769 * bookmark.el: Show modified state of bookmark buffer more accurately.
11770 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11771 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11772 (with-buffer-modified-unmodified): New macro.
11773 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11774 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11775 Use new macro to preserve the buffer modified state.
11776
11777 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11778
11779 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11780 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11781 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11782 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11783 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11784 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11785 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11786
11787 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11788
11789 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11790 Make the lines in the generated doc string shorter. (Bug#4668)
11791
11792 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11793
11794 * net/rcirc.el: Add follow-link binding (Bug#4738).
11795
11796 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11797
11798 * Makefile.in (bzr-update): Rename from cvs-update.
11799 (cvs-update): New target for backward compatibility.
11800
11801 * makefile.w32-in (bzr-update): Rename from cvs-update.
11802 (cvs-update): New target for backward compatibility.
11803
11804 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11805
11806 * bookmark.el: Remove gratuitous gratitude.
11807
11808 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11809
11810 * bookmark.el (bookmark-bmenu-any-marks): New function.
11811 (bookmark-bmenu-save): Clear buffer modification if no marks.
11812
11813 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11814
11815 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11816 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11817 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11818 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11819
11820 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11821 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11822 To: emacs-devel {_AT_} gnu.org
11823 Subject: bookmark.el bug report
11824 Date: Mon, 28 Dec 2009 14:19:16 +0800
11825 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11826
11827 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11828
11829 * bookmark.el: Improvements suggested by Drew Adams:
11830 (bookmark-bmenu-ensure-position): New name for
11831 `bookmark-bmenu-check-position'. Just ensure the position,
11832 don't return any meaningful value.
11833 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11834 New constants.
11835
11836 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11837
11838 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11839 (bookmark-yank-point, bookmark-bmenu-check-position):
11840 Fix typos in docstrings.
11841 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11842 (bookmark-name-from-full-record, bookmark-get-position)
11843 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11844 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11845 Remove useless quoting of parenthesis, etc. in docstrings.
11846
11847 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11848 (ediff-append-custom-diff): Fix typo in error message.
11849 (ediff-meta-mark-equal-files): Fix typos in messages.
11850
11851 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11852
11853 * net/imap-hash.el (imap-hash-make): Doc fix.
11854 (imap-hash-test): Fix typo in error message; reflow docstring.
11855 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11856 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11857 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11858 Fix typos in docstrings.
11859 (imap-hash-open-connection): Fix typo in error message.
11860
11861 * play/gomoku.el (gomoku): Fix typos in docstring.
11862
11863 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11864 (gdb-jsonify-buffer): Fix typos in docstring.
11865 (gdb-goto-breakpoint): Fix typo in error message.
11866 ("Display Other Windows"): Fix typo in help message.
11867 (gdb-speedbar-expand-node): Fix typo in question.
11868
11869 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11870 (idlwave-html-system-help-location, idlwave-html-help-location)
11871 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11872 (idlwave-help-browser-generic-args, idlwave-help-directory)
11873 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11874 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11875 (idlwave-online-help, idlwave-help-html-link)
11876 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11877 Fix typos in docstrings.
11878 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11879 Reflow docstrings.
11880 (idlwave-help-assistant-start): Fix typo in error message.
11881
11882 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11883 (octave-electric-space): Fix typos in docstrings.
11884
11885 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11886
11887 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11888
11889 2010-01-01 Juri Linkov <juri@jurta.org>
11890
11891 * comint.el (comint-input-ring-size): Make it a defcustom and
11892 increase the default to 500 (Bug#5148).
11893
11894 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11895
11896 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11897 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11898 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11899
11900 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11901
11902 Show working revision correctly for mercurial.
11903 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11904 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11905
11906 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11907
11908 Declare some functions for the byte-compiler.
11909 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11910 (speedbar-timer-fn, speedbar-change-expand-button-char)
11911 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11912
11913 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11914
11915 This changeset reverts GDB Graphical Interface to use annotations.
11916 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11917
11918 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11919
11920 Make vc-dir work on subdirectories of the bzr root.
11921 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11922 Return file names relative to it.
11923 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11924 relative directory to vc-bzr-after-dir-status.
11925
11926 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11927
11928 * font-lock.el (font-lock-refresh-defaults): New function, which
11929 can be used to let font-lock react to external changes in
11930 variables like font-lock-defaults and keywords.
11931 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11932
11933 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11934
11935 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11936
11937 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11938
11939 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11940
11941 Supersede color.diff settings in git log (bug#5211).
11942
11943 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11944 escape chars in its output when the user has color.diff set to `always'.
11945 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11946
11947 2009-12-26 Kevin Ryde <user42@zip.com.au>
11948
11949 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11950 node. Keep previous "Index" name to work with past coreutils too.
11951
11952 * man.el (man): Revise docstring a bit to show -a and -l as
11953 examples. Add -k description since support for it has otherwise
11954 been a secret. (Further to bug#3717.)
11955 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11956 "no matches" rather than "Can't find manpage", as the latter reads
11957 like -k was interpreted as a page name, which is not so. (Bug#5431)
11958
11959 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11960
11961 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11962 switches. Check also for //SUBDIRED// line.
11963
11964 2009-12-25 Kenichi Handa <handa@m17n.org>
11965
11966 * language/indian.el (devanagari-composable-pattern): Fix to
11967 handle ZWNJ and ZWJ. Use it in composition-function-table for
11968 Devanagari.
11969 (malayalam-composable-pattern): Fix previous change.
11970
11971 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11972
11973 * ps-print.el (ps-face-attributes): It was not returning the
11974 attribute face for faces specified as string. Reported by harven
11975 <harven@free.fr>. (Bug#5254)
11976 (ps-print-version): New version 7.3.5.
11977
11978 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11979
11980 * calendar/icalendar.el (icalendar--convert-tz-offset):
11981 Fix timezone names.
11982 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11983 (icalendar--add-diary-entry): Remove the trailing blank that
11984 diary-make-entry inserts.
11985
11986 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11987
11988 Make `file-expand-wildcards' work for remote files.
11989
11990 * files.el (file-expand-wildcards): In case of remote files, check
11991 only local file name part for wildcards. Provide feature 'files
11992 and subfeature 'remote-wildcards. (Bug#5198)
11993
11994 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11995 if there is already an established connection.
11996 (tramp-advice-file-expand-wildcards): Remove it.
11997
11998 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11999 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12000 Activate advice for older GNU Emacs versions. (Bug#5237)
12001
12002 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12003
12004 Some doc fixes (more needed).
12005
12006 * find-cmd.el (find-constituents): Reflow docstring.
12007 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12008 (find-generic): Doc fix.
12009
12010 2009-12-17 Juri Linkov <juri@jurta.org>
12011
12012 Fix regression from 23.1 to allow multiple modes in Local Variables.
12013
12014 * files.el (hack-local-variables-filter): While ignoring duplicates,
12015 don't take `mode' into account.
12016 (hack-local-variables-filter, hack-dir-local-variables):
12017 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12018
12019 2009-12-17 Juri Linkov <juri@jurta.org>
12020
12021 Make `dired-diff' safer. (Bug#5225)
12022
12023 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12024 `current' or when `file' is a directory of the `current' file.
12025
12026 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12027
12028 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12029 unconditionally preloaded files.
12030
12031 2009-12-16 Juri Linkov <juri@jurta.org>
12032
12033 Revert to old 23.1 logic of using the file at the mark as default.
12034 * dired-aux.el (dired-diff): Use the file at the mark as default
12035 if it's not the same as the current file, and the target dir is
12036 the current dir or the mark is active. Add the current file
12037 as the arg of `dired-dwim-target-defaults'. Use the default file
12038 in the prompt. (Bug#5225)
12039
12040 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12041
12042 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12043 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12044 (tramp-check-for-regexp): Check also, when an echoing shell stops
12045 to echo sent commands.
12046
12047 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12048
12049 * Makefile.in: Revert last change (Bug#5191).
12050
12051 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12052
12053 * vc-hg.el (vc-hg-print-log): Fix argument order.
12054 (vc-hg-working-revision): Make sure the command is executed in a
12055 known environment so that we can parse the output. (Bug#4417)
12056
12057 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12058
12059 * progmodes/python.el (python-symbol-completions): Remove text
12060 properties from symbol string before calling python-send-receive.
12061
12062 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12063
12064 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12065 when there are values for both file and line. (Bug#5060)
12066
12067 2009-12-14 Juri Linkov <juri@jurta.org>
12068
12069 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12070 whitespace after the file name of the first line of unified format,
12071 because git-diff doesn't output whitespace and file modification time
12072 after the file name.
12073
12074 2009-12-14 David Kastrup <dak@gnu.org>
12075
12076 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12077 check if it already has the `display' property added by
12078 `Info-display-images-node', and not put the `invisible' property
12079 in this case.
12080
12081 2009-12-13 Glenn Morris <rgm@gnu.org>
12082
12083 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12084 (report-emacs-bug): In message-mode, sort manually before storing
12085 original report text. (Bug#5178)
12086 Remove superfluous save-excursion.
12087
12088 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12089
12090 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12091 when responding to "GetAll" properties.
12092
12093 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12094
12095 * simple.el (compose-mail): Remove mail-setup-with-from from
12096 customization checks.
12097
12098 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12099
12100 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12101 RAR archives created on Unix systems.
12102
12103 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12106 the varalias that was accidentally removed by the 2009-11-19 change
12107 (bug#5186).
12108
12109 2009-12-12 Kenichi Handa <handa@m17n.org>
12110
12111 * language/indian.el (indian-compose-regexp): New function.
12112 (malayalam-composable-pattern): Fix the pattern.
12113 (composition-function-table): Set malayalam-composable-pattern for
12114 Malayalam characters.
12115
12116 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12117
12118 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12119 rather than down-mouse-1, based on follow-link conventions.
12120
12121 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12122 are compiled.
12123
12124 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12125
12126 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12127 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12128 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12129 (verilog-leap-to-head, verilog-backward-token):
12130 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12131
12132 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12133
12134 * progmodes/verilog-mode.el (verilog-auto-lineup)
12135 (verilog-nameable-item-re): Cleanup user-visible spelling and
12136 documentation errors. One reported by Gary Delp.
12137 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12138 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12139 package, bug195. Reported by Pierre-David Pfister.
12140
12141 2009-12-11 Glenn Morris <rgm@gnu.org>
12142
12143 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12144
12145 * mail/emacsbug.el: No longer require sendmail.
12146 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12147 (report-emacs-bug-orig-text): Doc fix.
12148 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12149 New local variables, to adapt to different mail-user-agents.
12150 (report-emacs-bug): Fix test for a gnu.org address.
12151 Use overlays for emphasis, since font-lock defeats 'face property.
12152 Pretest bugs also end up at the newsgroup these days.
12153 Stop message-mode stripping text properties.
12154 Set and use the new buffer-local variables.
12155 (report-emacs-bug-hook): Add doc-string.
12156 Remove some unnecessary save-excursions and simplify.
12157 Use the appropriate hook and send-command.
12158
12159 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12160 capitalization of some menu entries.
12161
12162 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12163
12164 * whitespace.el (whitespace-display-char-on):
12165 Ensure `buffer-display-table' is unique when two or more windows are
12166 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12167 New version 12.1.
12168
12169 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12170
12171 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12172 characters in the Attribute field.
12173
12174 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12175
12176 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12177
12178 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12179
12180 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12181 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12182 Disregard autoload-excludes.
12183 (update-directory-autoloads): Obey autoload-excludes here instead.
12184 But don't store its contents in no-autoloads and remove entries that
12185 refer to excludes files.
12186
12187 2009-12-10 Glenn Morris <rgm@gnu.org>
12188
12189 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12190 (expand-mail-aliases): Define for compiler.
12191
12192 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12193 Define for compiler.
12194
12195 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12196 appropriate for the mail-user-agent in use.
12197
12198 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12199
12200 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12201
12202 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12203
12204 Fix short log parsing and fontification.
12205 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12206 Fix fontification for the [merge] label.
12207
12208 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12209
12210 Drop some properties to avoid surprises (bug#5002).
12211 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12212 (hfy-fontify-buffer): Use it.
12213
12214 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12215
12216 Minor cleanup.
12217 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12218 Adjust all callers.
12219 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12220 args compulsory. Adjust callers.
12221 (ffap-gopher-at-point): Remove unused var `name'.
12222
12223 Get rid of the ELCFILES abomination.
12224 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12225 (compile-elcfiles): New phony target.
12226 (compile-main): Compute ELCFILES dynamically.
12227 (compile-clean): New target to remove left-over elc files.
12228 (compile, all): Use it.
12229
12230 2009-12-09 Kenichi Handa <handa@etlken>
12231
12232 * international/mule-diag.el: Require help-mode instead of help-fns.
12233
12234 2009-12-09 Kenichi Handa <handa@m17n.org>
12235
12236 * international/mule-cmds.el (ucs-names): Supply sufficiently
12237 fine ranges instead of pre-calculating accurate ranges.
12238 Iterate with bigger gc-cons-threshold.
12239
12240 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12241
12242 Add support for stashing a snapshot of the current tree.
12243 * vc-git.el (vc-git-stash-snapshot): New function.
12244 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12245
12246 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12247
12248 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12249 instead of `(beginning|end)-of-line'.
12250
12251 2009-12-08 Glenn Morris <rgm@gnu.org>
12252
12253 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12254
12255 * Makefile.in (ELCFILES): Regenerate.
12256
12257 2009-12-07 Juri Linkov <juri@jurta.org>
12258
12259 Don't lazy-highlight the comint output in history Isearch mode.
12260
12261 * comint.el (comint-history-isearch-search): Instead of
12262 `comint-line-beginning-position', use `comint-after-pmark-p'
12263 to check if point if before the process mark, and go to
12264 `process-mark' in this case.
12265
12266 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12267
12268 * textmodes/tex-mode.el (latex-complete)
12269 (latex-indent-or-complete): Remove.
12270 (latex-mode): Set completion-at-point-functions instead.
12271
12272 Provide a standard completion command and hook it into TAB.
12273 * minibuffer.el (completion-at-point-functions): New var.
12274 (completion-at-point): New command.
12275 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12276 * progmodes/python.el (python-mode-map): Use completion-at-point.
12277 (python-completion-at-point): Rename from python-partial-symbol and
12278 adjust for use in completion-at-point-functions.
12279 (python-mode): Setup completion-at-point for Python completion.
12280 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12281 extracted from lisp-complete-symbol.
12282 (lisp-complete-symbol): Use it.
12283 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12284 setup completion-at-point for Elisp completion.
12285 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12286 Use completion-at-point.
12287 * ielm.el (ielm-map): Use completion-at-point.
12288 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12289 * progmodes/sym-comp.el: Move to...
12290 * obsolete/sym-comp.el: Move from progmodes.
12291
12292 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12293
12294 Prevent save-buffer in Rmail buffers from using the coding-system
12295 of the current message, and from clobbering the encoding mnemonics
12296 in the mode line (Bug#4623).
12297
12298 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12299 flag, too.
12300 (rmail-message-encoding): New variable.
12301 (rmail-write-region-annotate): Record the encoding of the current
12302 message in rmail-message-encoding.
12303 (rmail-after-save-hook): New function, restores the encoding of
12304 the current message after the message collection is saved.
12305
12306 2009-12-07 Juri Linkov <juri@jurta.org>
12307
12308 * progmodes/grep.el (grep-read-files): Use `completing-read'
12309 instead of `read-string'. Set its `collection' arg to
12310 `read-file-name-internal'. (Bug#4301)
12311
12312 2009-12-07 Juri Linkov <juri@jurta.org>
12313
12314 Correctly restore original Isearch point. (Bug#4994)
12315
12316 * isearch.el (isearch-mode): Move `isearch-push-state' after
12317 `(run-hooks 'isearch-mode-hook)'.
12318 (isearch-cancel): When `isearch-push-state-function' is defined,
12319 let-bind `isearch-cmds' to the first state (the last element of
12320 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12321 function and restores the original point). Otherwise, move point
12322 to `isearch-opoint'.
12323
12324 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12325
12326 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12327 chars that don't have names, so the table can be built much faster at
12328 run-time.
12329
12330 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12331
12332 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12333 change. Suggested by David Kastrup.
12334
12335 * simple.el (compose-mail): Check for incompatibilities and warn.
12336 (compose-mail-user-agent-warnings): New option.
12337
12338 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12339
12340 Support showing a single log entry from vc-annotate.
12341 * vc.el (print-log): Add a new argument: START-REVISION.
12342 (vc-print-log-internal): Add a new optional argument and
12343 pass it to the backend.
12344 (vc-print-log, vc-print-root-log): Adjust callers.
12345 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12346 buffer already displays the requested log entry, use it.
12347 Otherwise display only the log entry in question.
12348 * vc-svn.el (vc-svn-print-log):
12349 * vc-mtn.el (vc-mtn-print-log):
12350 * vc-hg.el (vc-hg-state):
12351 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12352 (vc-git-show-log-entry): Return t on success.
12353 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12354 (vc-bzr-show-log-entry): Return t on success.
12355 * vc-rcs.el (vc-rcs-print-log):
12356 * vc-sccs.el (vc-sccs-print-log):
12357 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12358
12359 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12360
12361 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12362 Add menus to the meta mode. (Bug#5043)
12363
12364 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12365
12366 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12367 event-key.
12368
12369 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12370
12371 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12372
12373 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12374 Berbain <raphael.berbain@gmail.com>.
12375
12376 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12377 characters.
12378 (tramp-initial-end-of-output): New defconst.
12379 (tramp-methods, tramp-find-shell)
12380 (tramp-open-connection-setup-interactive-shell)
12381 (tramp-maybe-open-connection): Use it.
12382 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12383 Handle existence of `#' and `$'.
12384
12385 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12386 Use `tramp-initial-end-of-output'.
12387
12388 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12389
12390 Get the background mode from the terminal for xterm, and set
12391 faces accordingly.
12392 * term/xterm.el (xterm-set-background-mode): New function.
12393 (terminal-init-xterm): Use it in case xterm supports background
12394 color queries. Recompute faces after getting the background
12395 color.
12396
12397 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12398
12399 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12400 number comment back on its own line, for easier parsing.
12401
12402 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 Make it work for non-file buffers (bug#5102).
12405 * doc-view.el (doc-view-current-cache-dir):
12406 Use doc-view-buffer-file-name rather than buffer-file-name.
12407 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12408
12409 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12410
12411 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12412 author field is too short.
12413
12414 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12415
12416 * vc-git.el (vc-git-print-log): Handle a limit argument.
12417 Display the short log in graph form and with labels.
12418 (vc-git-log-view-mode): Handle labels.
12419
12420 Make vc-revert change VC state from 'added to 'unregistered.
12421 * vc-git.el (vc-git-revert): Call git reset first.
12422
12423 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12424
12425 * net/newst-backend.el, net/newst-plainview.el:
12426 * net/newst-reader.el, net/newst-ticker.el:
12427 * net/newst-treeview.el, net/newsticker.el:
12428 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12429
12430 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12431
12432 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12433
12434 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12435 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12436 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12437 Update annotation regexp.
12438
12439 * simple.el (beginning-of-visual-line): Constrain to field
12440 boundaries (Bug#5106).
12441
12442 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12443
12444 * xml.el (xml-substitute-numeric-entities):
12445 Move newsticker--decode-numeric-entities in newst-backend.el to
12446 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12447 * net/newst-backend.el (newsticker--parse-generic-feed)
12448 (newsticker--parse-generic-items)
12449 (newsticker--decode-numeric-entities):
12450 Move newsticker--decode-numeric-entities in newst-backend.el to
12451 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12452
12453 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12454
12455 * progmodes/js.el (js--js-not): Add null to the list of values.
12456
12457 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12458
12459 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12460
12461 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12462
12463 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12464 delimiter if it is at the end of the current line.
12465 (bibtex-generate-url-list): Fix docstring.
12466
12467 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12470 minibuffer's content with itself.
12471 Fold the confirm-after-completion case into the `confirm' case.
12472 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12473
12474 2009-12-06 Kevin Ryde <user42@zip.com.au>
12475
12476 * ffap.el (ffap-rfc-path): Make this a defcustom since
12477 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12478
12479 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12480 manuals, similar to existing setup for help-mode. (Bug#3913.)
12481
12482 2009-12-05 Juri Linkov <juri@jurta.org>
12483
12484 Save and restore dired buffer's point positions too. (Bug#4880)
12485
12486 * dired.el (dired-save-positions): Return in the first element
12487 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12488 Doc fix.
12489 (dired-restore-positions): First restore buffer's position.
12490 While restoring window's positions, check if window still displays
12491 the original buffer.
12492
12493 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12494
12495 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12496 if possible.
12497
12498 * shell.el (shell): Require ansi-color (Bug#5113).
12499
12500 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12501
12502 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12503
12504 2009-12-05 Alan Mackenzie <acm@muc.de>
12505
12506 * progmodes/cc-mode.el (c-before-hack-hook)
12507 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12508 `c-file-style' to work again. This reversion restores the current
12509 software to its state in Emacs 23.1. (Bug#4146)
12510
12511 2009-12-05 Kevin Ryde <user42@zip.com.au>
12512
12513 * textmodes/sgml-mode.el (sgml-lexical-context):
12514 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12515
12516 2009-12-05 Juri Linkov <juri@jurta.org>
12517
12518 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12519 for virtual nodes. (Bug#4147)
12520 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12521 when moving from a virtual node.
12522 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12523 (Info-mode): Add `Info-virtual-index' to the docstring.
12524
12525 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12526
12527 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12528 track of the buffer position of the end of a BibTeX entry as this
12529 position may change during reformatting.
12530 (bibtex-format-entry): Remove whitespace before processing
12531 numerical fields so that we recognize the latter properly.
12532 (bibtex-reformat): Do not use push which changes the global value
12533 of bibtex-entry-format.
12534 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12535 (bibtex-field-re-init): Replace only space characters by regexp
12536 for whitespace.
12537 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12538 (bibtex-initialize): Also update bibtex-strings.
12539 (bibtex-kill-field): Preserve white space at end of entry.
12540 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12541 Update bibtex-reference-keys.
12542
12543 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12546 point after a star, if that's the only place where modifications can
12547 make progress.
12548
12549 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12550
12551 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12552 in docstrings.
12553
12554 2009-12-04 Juri Linkov <juri@jurta.org>
12555
12556 * proced.el (proced): Call `(proced-update t)' to update process
12557 information instead of only running proced-post-display-hook.
12558 (proced-send-signal): Add a leading space to the buffer name
12559 " *Marked Processes*" to make this buffer ephemeral.
12560
12561 2009-12-04 Juri Linkov <juri@jurta.org>
12562
12563 * dired.el (dired-auto-revert-buffer): New defcustom.
12564 (dired-internal-noselect): Use it.
12565
12566 2009-12-04 Juri Linkov <juri@jurta.org>
12567
12568 Change roles of modes and functions in image-mode.el (Bug#5062).
12569
12570 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12571 in `auto-mode-alist'.
12572 (image-mode-previous-major-mode): New variable.
12573 (image-minor-mode-map): Rename from `image-mode-text-map'.
12574 (image-mode): Move graceful error-handling code from
12575 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12576 (image-minor-mode): Remove all image-handling code.
12577 Replace `image-mode-text-map' with `image-minor-mode-map'.
12578 Check for `image-type' in mode-line format string.
12579 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12580 (image-mode-as-text): New function with most code from
12581 `image-mode-maybe'.
12582 (image-toggle-display-text): Move code that removes image
12583 properties from `image-toggle-display' to here.
12584 (image-toggle-display-image): New function with code that adds
12585 image properties copied from `image-toggle-display'.
12586 (image-toggle-display): Remove most code with leaving only code
12587 that toggles between `image-mode-as-text' and `image-mode'.
12588
12589 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12590
12591 * net/newst-treeview.el
12592 (newsticker--treeview-list-highlight-start): Restored call to
12593 save-excursion: Selected item was stuck.
12594 (newsticker--treeview-list-select): New.
12595 (newsticker--treeview-item-show-text)
12596 (newsticker--treeview-item-show)
12597 (newsticker--treeview-item-update): Use new
12598 newsticker-treeview-item-mode.
12599 (newsticker-treeview-update): Keep current item.
12600 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12601 (newsticker--treeview-first-feed): Doc change.
12602 (newsticker-treeview-list-menu)
12603 (newsticker-treeview-item-menu): Add menu entries.
12604 (newsticker-treeview-item-mode): New.
12605
12606 * net/newst-backend.el (newsticker-customize): Delete other
12607 windows.
12608
12609 2009-12-04 Sam Steingold <sds@gnu.org>
12610
12611 * log-view.el (log-view-mode-map): "q" calls quit-window,
12612 like in all the other non-self-insert buffers.
12613
12614 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 Minor cleanup.
12617 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12618 key decoding rather than do it manually via last-input-event +
12619 ascii-character.
12620 (term-exec): Use delete-and-extract-region.
12621 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12622 (term-process-pager): Remove unused var `i'.
12623 (term-dynamic-simple-complete): Make obsolete.
12624 (serial-update-config-menu): Remove unused vars `y' and `str'.
12625 (term-update-mode-line): Remove unused var `temp'.
12626
12627 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12628
12629 Limit the number of log entries displayed by default.
12630 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12631 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12632 using a prefix argument.
12633
12634 2009-12-03 Glenn Morris <rgm@gnu.org>
12635
12636 * progmodes/idlwave.el (class): Restore still useful declaration.
12637
12638 2009-12-03 Alan Mackenzie <acm@muc.de>
12639
12640 Enhance `c-parse-state' to run efficiently in "brace deserts".
12641
12642 * progmodes/cc-mode.el (c-basic-common-init):
12643 Call c-state-cache-init.
12644 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12645 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12646 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12647
12648 * progmodes/cc-langs.el (c-before-font-lock-function):
12649 c-extend-and-neutralize-syntax-in-CPP has been renamed
12650 c-neutralize-syntax-in-and-mark-CPP.
12651
12652 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12653 with `category' properties now, not `syntax-table' ones.
12654
12655 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12656 enhanced (but slower) version of c-end-of-macro that won't land
12657 inside a literal or on another awkward character.
12658 (c-state-cache-too-far, c-state-cache-start)
12659 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12660 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12661 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12662 (c-state-min-scan-pos, c-state-brace-pair-desert)
12663 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12664 buffer local variables.
12665 (c-state-literal-at, c-state-lit-beg)
12666 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12667 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12668 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12669 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12670 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12671 (c-renarrow-state-cache)
12672 (c-append-lower-brace-pair-to-state-cache)
12673 (c-state-push-any-brace-pair, c-append-to-state-cache)
12674 (c-remove-stale-state-cache)
12675 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12676 (c-invalidate-state-cache-1, c-parse-state-1)
12677 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12678 (c-parse-state): Enhance and refactor.
12679 (c-debug-parse-state): Amend to deal with all the new variables.
12680
12681 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12682 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12683 modify to use category text properties rather than syntax-table ones.
12684 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12685 to switch off/on the syntactic paren property of C++ template
12686 delimiters using the category property.
12687 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12688 template delims suppressed.
12689 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12690 New constant/macros which apply category properties to the start
12691 and end of preprocessor constructs.
12692 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12693 "comment out" the syntactic value of characters in preprocessor
12694 constructs.
12695 (c-with-cpps-commented-out)
12696 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12697 with characters in all or all but one preprocessor constructs
12698 "commented out".
12699
12700 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12701
12702 * proced.el (proced-filter-alist): Use regexp-quote.
12703
12704 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12705
12706 Cleanup.
12707 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12708 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12709 arguments. Expand `default-directory'.
12710
12711 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12712 the benefit of returning an expanded localname.
12713 (tramp-tramp-file-p): Handle the case NAME is not a string.
12714
12715 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12716
12717 Add support for bzr shelve/unshelve.
12718 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12719 (vc-bzr-extra-menu-map): New variables.
12720 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12721 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12722 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12723 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12724 (vc-bzr-dir-extra-headers): Display shelves.
12725
12726 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12727
12728 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * textmodes/bibtex.el (bibtex-complete-internal):
12731 Use completion-in-region.
12732 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12733
12734 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12735
12736 Support applying stashes. Improve UI.
12737 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12738 (vc-git-stash-apply, vc-git-stash-pop)
12739 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12740 (vc-git-stash-menu): New functions.
12741 (vc-git-stash-menu-map): New variable.
12742 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12743
12744 2009-12-03 Glenn Morris <rgm@gnu.org>
12745
12746 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12747 (vc-print-log-internal): Fix previous change.
12748 (vc-revert): Correct pluralization.
12749
12750 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12751
12752 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12753 it to be an alist any more.
12754 (makefile-complete): Use completion-in-region.
12755
12756 * progmodes/octave-mod.el (octave-complete-symbol):
12757 Use completion-in-region.
12758
12759 Misc cleanup.
12760 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12761 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12762 (idlwave-complete-class): Don't quote lambda.
12763 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12764 (idlwave-mode-map): Move initialization into declaration.
12765 (idlwave-action-and-binding): Use backquotes.
12766 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12767 Simplify.
12768 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12769 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12770 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12771 `parts', and `all-parts'.
12772 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12773 (idlwave-convert-xml-system-routine-info): Remove unused string
12774 `version-string'.
12775 (idlwave-display-user-catalog-widget): Use dolist.
12776 (idlwave-scanning-lib): Declare dynamically-scoped var.
12777 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12778 (completion-highlight-first-word-only): Declare to silence bytecomp.
12779 (idlwave-popup-select): Tighten scope of `resp'.
12780 (idlwave-find-struct-tag): Remove unused var `beg'.
12781 (idlwave-after-load-rinfo-hook): Declare.
12782 (idlwave-sintern-class-info): Remove unused var `taglist'.
12783 (idlwave-find-class-definition): Remove unused var `list'.
12784 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12785 (idlwave-what-module-find-class): Remove unused var `classes'.
12786
12787 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12788
12789 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12790
12791 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12792
12793 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12794 buffers visited. Remove redundant current-buffer-saving.
12795
12796 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12797
12798 Use completion-in-buffer and remove uses of dynamic scoping.
12799 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12800 (pascal-buffer-to-use, pascal-flag): Don't declare.
12801 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12802 (pascal-get-completion-decl, pascal-keyword-completion):
12803 Add `pascal-str' argument, save-excursion,
12804 return the found completions, and don't filter with pascal-pred.
12805 (pascal-completion-cache): New var.
12806 (pascal-completion): Don't switch buffer any more (it was never
12807 necessary). Don't save-excursion any more (it's done by the called
12808 subroutines). Use a cache to avoid redundant computations.
12809 Use complete-with-action rather than pascal-completion-response and
12810 let it apply the predicate as well.
12811 (pascal-complete-word): Use completion-in-buffer when
12812 pascal-toggle-completions is nil.
12813 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12814 not used any more.
12815 (pascal-comp-defun): Don't change buffer any more.
12816 Use complete-with-action rather than pascal-completion-response and
12817 let it apply the predicate as well.
12818 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12819 when neded.
12820
12821 2009-12-02 Kenichi Handa <handa@m17n.org>
12822
12823 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12824 shape for all Indic scripts.
12825
12826 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12827
12828 Use completion-in-buffer.
12829 * wid-edit.el (widget-field-text-end): New function.
12830 (widget-field-value-get): Use it.
12831 (widget-string-complete, widget-file-complete)
12832 (widget-color-complete): Use it and completion-in-region.
12833 (widget-complete): Don't narrow the buffer.
12834
12835 2009-12-02 Glenn Morris <rgm@gnu.org>
12836
12837 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12838 (rmail-select-summary): Use rmail-pop-to-buffer.
12839 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12840 rmail-pop-to-buffer, to prevent horizontal splits.
12841
12842 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12843 save-excursion with save-current-buffer.
12844 Widen before searching. (Bug#5093)
12845 (diary-list-sexp-entries): Remove superfluous save-excursion.
12846
12847 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12848
12849 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12850 name. (Bug#5038)
12851
12852 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12853
12854 * ido.el (ido-file-internal): Handle filenames at point that do
12855 not have a directory part. (Bug#5049)
12856
12857 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12858
12859 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12860 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12861
12862 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12863
12864 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12865 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12866 any more.
12867
12868 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12869
12870 * comint.el (comint-insert-input): Ignore clicks to the right of
12871 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12872
12873 * vc.el (vc-print-log-internal): Don't wait for the process to
12874 terminate before setting up the major mode.
12875
12876 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12877 in case.
12878
12879 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12880 the last element.
12881
12882 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12883
12884 2009-12-01 Glenn Morris <rgm@gnu.org>
12885
12886 * window.el (window--display-buffer-2): Fix previous changes.
12887
12888 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12889
12890 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12891
12892 2009-12-01 Glenn Morris <rgm@gnu.org>
12893
12894 * Makefile.in (ELCFILES): Add mpc.elc.
12895
12896 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12897
12898 * mpc.el: New file.
12899
12900 2009-12-01 Glenn Morris <rgm@gnu.org>
12901
12902 * window.el (window-to-use): Define for compiler.
12903
12904 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12905 consistent with others (no final period).
12906
12907 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12908 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12909
12910 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12911
12912 Make vc-print-log buttons work.
12913 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12914
12915 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12916
12917 * savehist.el (savehist-autosave-interval): Allow setting to nil
12918 through customize. (Bug#5056)
12919
12920 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12921
12922 Fix references to jit-lock properties.
12923 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12924 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12925 (perl-font-lock-special-syntactic-constructs):
12926 Quote jit-lock-defer-multiline property.
12927
12928 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12929
12930 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12931
12932 2009-11-30 Juri Linkov <juri@jurta.org>
12933
12934 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12935 value `buffer' of `multi-isearch-next-buffer-current-function'.
12936 Use `(current-buffer)' when `buffer' is nil.
12937 (multi-isearch-next-buffer-from-list): Don't fallback to
12938 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12939
12940 2009-11-30 Juri Linkov <juri@jurta.org>
12941
12942 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12943 of buffers with `get-buffer' to `multi-isearch-buffers'.
12944 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12945 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12946 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12947 FILES with `expand-file-name' converting relative file names
12948 to absolute. Doc fix. (Bug#4727)
12949
12950 2009-11-30 Juri Linkov <juri@jurta.org>
12951
12952 * misearch.el (multi-isearch-read-buffers)
12953 (multi-isearch-read-matching-buffers): New functions.
12954 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12955 Use them in the `interactive' spec. Doc fix.
12956 (multi-isearch-read-files, multi-isearch-read-matching-files):
12957 New functions.
12958 (multi-isearch-files, multi-isearch-files-regexp):
12959 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12960
12961 2009-11-30 Juri Linkov <juri@jurta.org>
12962
12963 * doc-view.el (doc-view-continuous):
12964 Rename from `doc-view-continuous-mode'.
12965 (doc-view-menu): Move "Toggle display" to the top.
12966 Add submenu "Continuous" with radio buttons "Off"/"On"
12967 and "Save as Default".
12968 (doc-view-scroll-up-or-next-page)
12969 (doc-view-scroll-down-or-previous-page)
12970 (doc-view-next-line-or-next-page)
12971 (doc-view-previous-line-or-previous-page):
12972 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12973
12974 2009-11-30 Juri Linkov <juri@jurta.org>
12975
12976 * comint.el (comint-mode-map): Rebind `M-r' from
12977 `comint-previous-matching-input' to
12978 `comint-history-isearch-backward-regexp'.
12979 Unbind `M-s' to allow global key binding `M-s'.
12980 Add menu items for `comint-history-isearch-backward' and
12981 `comint-history-isearch-backward-regexp'. (Bug#3746)
12982
12983 2009-11-30 Juri Linkov <juri@jurta.org>
12984
12985 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12986 For def=recenter, replace `recenter' with `recenter-top-bottom'
12987 that is called with `this-command' and `last-command' let-bound
12988 to `recenter-top-bottom'. When the last `def' was not `recenter',
12989 set `recenter-last-op' to nil. (Bug#4981)
12990
12991 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 Minor cleanup and simplification.
12994 * filecache.el (file-cache-add-directory)
12995 (file-cache-add-directory-recursively)
12996 (file-cache-add-from-file-cache-buffer)
12997 (file-cache-delete-file-regexp, file-cache-delete-directory)
12998 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12999 (file-cache-temp-minibuffer-message): Delete function.
13000 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13001
13002 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13003 Don't signal an error when bumping into EOB in tr, s, or y.
13004
13005 2009-11-29 Juri Linkov <juri@jurta.org>
13006
13007 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13008 (Bug#4960)
13009
13010 * descr-text.el (describe-char-unidata-list): Use lowercase name
13011 for "Unicode name" like in other tags.
13012
13013 2009-11-29 Juri Linkov <juri@jurta.org>
13014
13015 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13016 New compatibility macro.
13017 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13018
13019 2009-11-29 Juri Linkov <juri@jurta.org>
13020
13021 Add defcustom to define the cycling order of `recenter-top-bottom'.
13022 (Bug#4981)
13023
13024 * window.el (recenter-last-op): Doc fix.
13025 (recenter-positions): New defcustom.
13026 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13027 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13028
13029 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13030
13031 Improve integration of Tramp and ange-ftp in eshell.
13032
13033 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13034 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13035 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13036
13037 * eshell/esh-util.el (top): Require also Tramp when compiling.
13038 (eshell-directory-files-and-attributes): Check for FTP remote
13039 connection.
13040 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13041 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13042 (eshell-file-attributes): Handle ".". Return `entry'.
13043
13044 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13045 (ange-ftp-directory-files-and-attributes)
13046 (ange-ftp-real-directory-files-and-attributes): New defuns.
13047
13048 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13049 shell with "exec" when possible. This prevents trailing prompts
13050 in `start-file-process'.
13051
13052 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13053
13054 Try and remove assumptions about point-min==1.
13055 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13056 (rng-compute-mode-line-string): Show the validation percentage in
13057 terms of the narrowed text, not the widened text.
13058 (rng-do-some-validation): Don't catch internal errors when debugging.
13059 (rng-first-error): Simplify.
13060 (rng-after-change-function): Remove work around. AFAIK the bug has
13061 been fixed a while ago.
13062
13063 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13064 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13065
13066 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13067
13068 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13069 `cd' doesn't always do it for us (bug#5067).
13070
13071 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13072 on 2009-10-25 as part of some other change (bug#5067).
13073
13074 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13077 `suspicious'.
13078 (byte-compile-warnings): Use byte-compile-warning-types.
13079 (byte-compile-save-excursion): Warn about use of set-buffer right
13080 after save-excursion.
13081
13082 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13083 the excursion as well.
13084
13085 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13086
13087 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13088 providing a Tramp related implementation of "su" and "sudo".
13089 (eshell-unix-initialize): Add "su" and "sudo".
13090
13091 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13092
13093 * net/socks.el (socks-send-command): Convert binary request to
13094 unibyte before sending. This fixes mishandling of some port
13095 numbers such as 129.
13096
13097 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13098
13099 * help.el (describe-bindings-internal): Remove `interactive'.
13100
13101 * man.el (Man-completion-table): Trim a terminating "(".
13102 Remove the space between name page a section.
13103 Add the command's description on the `help-echo' property.
13104 Remove `process-connection-type' binding since it's unused by
13105 call-process.
13106 Provide completion for the "<section> <name>" format as well.
13107 (Man-default-man-entry): Remove spurious var shadowing the argument.
13108
13109 2009-11-26 Kevin Ryde <user42@zip.com.au>
13110
13111 * log-view.el: Add "Keywords: tools", since its other keywords
13112 aren't in finder-known-keywords, and following vc.el.
13113
13114 * sha1.el (sha1-string-external): default-directory "/" in case
13115 otherwise non-existent. process-connection-type pipe for touch of
13116 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13117
13118 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 Misc coding convention cleanups.
13121 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13122 hfy-init-kludge-hooks.
13123 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13124 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13125 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13126 and push.
13127 (hfy-slant, hfy-weight): Use tables rather than code.
13128 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13129 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13130 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13131 (hfy-face-to-css): Remove `nconc' with single arg.
13132 (hfy-p-to-face-lennart): Use `or'.
13133 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13134 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13135 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13136 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13137 (hfy-force-fontification): Use run-hooks.
13138
13139 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13140
13141 Various minor fixes.
13142 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13143 Javascript belongs in the header, not the body.
13144 (hfy-javascript): Remove.
13145 (hfy-fontify-buffer): Don't insert it any more.
13146 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13147 Fix bug in invis handling when there were no invis props in a chunk.
13148
13149 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13150
13151 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13152
13153 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13154
13155 * finder.el (finder-mode-map): Add a menu.
13156
13157 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13158
13159 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13160 "unsigned" structs.
13161
13162 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13163 fork" statement better.
13164
13165 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13166
13167 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13168 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13169 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13170 Reported by Clay Douglass.
13171
13172 (verilog-auto-inst, verilog-auto-star-safe)
13173 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13174 Fix removing "// Interfaces" when saving .* expansions.
13175 Reported by Pierre-David Pfister.
13176
13177 2009-11-26 Glenn Morris <rgm@gnu.org>
13178
13179 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13180 the scope.
13181
13182 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13183
13184 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13185 Really use previous revision.
13186
13187 2009-11-25 Kevin Ryde <user42@zip.com.au>
13188
13189 * man.el (Man-completion-table): default-directory "/" in case
13190 doesn't otherwise exist. process-environment COLUMNS=999 so as
13191 not to truncate long names. process-connection-type pipe to avoid
13192 any chance of hitting the pseudo-tty TIOCGWINSZ.
13193 (man): completion-ignore-case t for friendliness and since man
13194 itself is case-insensitive on the command line.
13195 Further to Bug#3717.
13196
13197 * arc-mode.el: Add "Keywords: files", so the details in its
13198 commentary can be reached from finder-by-keyword.
13199 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13200 editing mode, but it's comms related and sgml-mode.el has "comm"
13201 on that basis too.
13202 * textmodes/bibtex-style.el: Add "Keywords: tex".
13203 * international/isearch-x.el, international/ja-dic-cnv.el:
13204 * international/ja-dic-utl.el, international/kkc.el:
13205 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13206
13207 2009-11-25 Juri Linkov <juri@jurta.org>
13208
13209 * man.el (Man-completion-table): Modify regexp to include
13210 section names to completion strings. (Bug#3717)
13211
13212 2009-11-25 Juri Linkov <juri@jurta.org>
13213
13214 Search recursively in gzipped files. (Bug#4982)
13215
13216 * progmodes/grep.el (grep-highlight-matches): Add new options
13217 `always' and `auto'. Doc fix.
13218 (grep-process-setup): Check `grep-highlight-matches' for
13219 `auto-detect' to determine the need to compute grep defaults.
13220 Move Windows/DOS specific --colors settings handling
13221 to `grep-compute-defaults'. Check `grep-highlight-matches'
13222 to get the value of "--color=".
13223 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13224 has the value `auto-detect'. Move Windows/DOS specific settings
13225 from `grep-process-setup'.
13226 (zrgrep): New command with alias `rzgrep'.
13227
13228 2009-11-25 Juri Linkov <juri@jurta.org>
13229
13230 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13231 to nil instead of switching off view-mode. (Bug#4896)
13232
13233 2009-11-25 Juri Linkov <juri@jurta.org>
13234
13235 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13236
13237 * mwheel.el (mwheel-scroll-up-function)
13238 (mwheel-scroll-down-function): New defvars.
13239 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13240 `scroll-up', and `mwheel-scroll-down-function' instead of
13241 `scroll-down'.
13242
13243 * doc-view.el (doc-view-scroll-up-or-next-page)
13244 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13245 Use this ARG in the call to image-scroll-up/image-scroll-down.
13246 Change `interactive' spec to "P". Goto next/previous page only
13247 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13248 SPC/DEL case). Doc fix.
13249 (doc-view-next-line-or-next-page)
13250 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13251 for consistency.
13252 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13253 `doc-view-scroll-up-or-next-page', and buffer-local
13254 `mwheel-scroll-down-function' to
13255 `doc-view-scroll-down-or-previous-page'.
13256
13257 2009-11-25 Juri Linkov <juri@jurta.org>
13258
13259 Provide additional default values (directories at other Dired
13260 windows) via M-n in the minibuffer of some Dired commands.
13261
13262 * dired-aux.el (dired-diff, dired-compare-directories)
13263 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13264 `minibuffer-default' in `minibuffer-with-setup-hook'.
13265 (dired-dwim-target-directory): Find a window that displays Dired
13266 buffer instead of failing when the next window is not Dired.
13267 Use `get-window-with-predicate' to find for the next Dired window.
13268 (dired-dwim-target-defaults): New function.
13269
13270 * ediff-util.el (ediff-read-file-name):
13271 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13272 in `minibuffer-with-setup-hook'.
13273
13274 2009-11-25 Juri Linkov <juri@jurta.org>
13275
13276 Provide additional default values (file name at point or at the
13277 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13278
13279 * minibuffer.el (read-file-name-defaults): New function.
13280 (read-file-name): Reset `minibuffer-default' to nil when
13281 it duplicates initial input `insdef'.
13282 Bind `minibuffer-default-add-function' to lambda that
13283 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13284 (minibuffer-insert-file-name-at-point): New command.
13285
13286 * files.el (file-name-at-point-functions): New defcustom.
13287 (find-file-default): Remove defvar.
13288 (find-file-read-args): Don't use `find-file-default'.
13289 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13290 to `read-file-name'.
13291 (find-file-literally): Use `read-file-name' with
13292 `confirm-nonexistent-file-or-buffer'.
13293
13294 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13295
13296 * dired.el (dired-read-dir-and-switches):
13297 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13298 to `read-file-name'.
13299 (dired-file-name-at-point): New function.
13300 (dired-mode): Add hook `dired-file-name-at-point' to
13301 `file-name-at-point-functions'.
13302
13303 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13304
13305 Really make the *Completions* window soft-dedicated (bug#5030).
13306 * window.el (window--display-buffer-2): Add `dedicated' argument.
13307 (display-buffer): Pass it when needed so the dedicated flag is set
13308 after calling set-window-buffer, which would otherwise reset it.
13309
13310 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 * progmodes/meta-mode.el (meta-complete-symbol):
13313 * progmodes/etags.el (complete-tag):
13314 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13315 Use completion-in-region.
13316
13317 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13318 (dabbrev-completion): Use completion-in-region.
13319 (dabbrev--abbrev-at-point): Simplify regexp.
13320
13321 * abbrev.el (abbrev--before-point): Use word-motion functions
13322 if :regexp is not specified (bug#5031).
13323
13324 * subr.el (string-prefix-p): New function.
13325
13326 * man.el (Man-completion-cache): New var.
13327 (Man-completion-table): Use it.
13328
13329 * vc.el (vc-print-log-internal): Make `limit' optional for better
13330 compatibility (e.g. with vc-annotate.el).
13331
13332 2009-11-24 Kevin Ryde <user42@zip.com.au>
13333
13334 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13335 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13336
13337 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13338 when .el source file not found or other error.
13339
13340 2009-11-24 Markus Triska <markus.triska@gmx.at>
13341
13342 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13343
13344 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13345
13346 Handle the [back] button properly (bug#4979).
13347 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13348 Use help-setup-xref, help-buffer, and with-help-window.
13349 (describe-char): Add `buffer' argument.
13350 Pass proper command to help-setup-xref. Don't meddle with
13351 help-xref-stack-item directly.
13352 (describe-text-category): Use with-help-window and help-buffer.
13353
13354 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13355 for the displayed buffer (bug#4887).
13356
13357 * man.el (Man-completion-table): New function.
13358 (man): Use it.
13359
13360 2009-11-24 David Reitter <david.reitter@gmail.com>
13361
13362 * vc-git.el (vc-git-registered): Use checkout directory (where
13363 .git is) rather than the file's directory and a relative path spec
13364 to work around a bug in git.
13365
13366 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13367
13368 Improve handling of processes on remote hosts.
13369
13370 * eshell/esh-util.el (eshell-path-env): New defvar.
13371 (eshell-parse-colon-path): New defun.
13372 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13373
13374 * eshell/esh-ext.el (eshell-search-path):
13375 Use `eshell-parse-colon-path'.
13376 (eshell-remote-command): Remove argument HANDLER.
13377 (eshell-external-command): Check for FTP remote connection.
13378
13379 * eshell/esh-proc.el (eshell-gather-process-output):
13380 Use `file-truename', in order to start also symlinked files.
13381 Apply `start-file-process' instead of `start-process'.
13382 Shorten `command' to the local file name part.
13383
13384 * eshell/em-cmpl.el (eshell-complete-commands-list):
13385 Use `eshell-parse-colon-path'.
13386
13387 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13388
13389 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13390 to `eshell-directory-change-hook'.
13391
13392 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13393
13394 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13395 because it could be enabled automatically if view-read-only is non-nil.
13396
13397 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13398
13399 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13400 made on 2009-11-22.
13401
13402 2009-11-24 Glenn Morris <rgm@gnu.org>
13403
13404 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13405 deleted variable bookmark-bmenu-bookmark-column.
13406
13407 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13408
13409 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13410
13411 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13412
13413 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13414 two slashes to the "file:" prefix.
13415 (browse-url-file-url): De-munge Cygwin filenames before passing
13416 them to Windows browser.
13417 (browse-url-default-windows-browser): Use call-process.
13418
13419 2009-11-23 Juri Linkov <juri@jurta.org>
13420
13421 Implement DocView Continuous mode. (Bug#4896)
13422 * doc-view.el (doc-view-continuous-mode): New defcustom.
13423 (doc-view-mode-map): Bind C-n/<down> to
13424 `doc-view-next-line-or-next-page', C-p/<up> to
13425 `doc-view-previous-line-or-previous-page'.
13426 (doc-view-next-line-or-next-page)
13427 (doc-view-previous-line-or-previous-page): New commands.
13428
13429 2009-11-23 Juri Linkov <juri@jurta.org>
13430
13431 Implement Isearch in comint input history. (Bug#3746)
13432 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13433 `isearch-mode-hook'.
13434 (comint-history-isearch): New defcustom.
13435 (comint-history-isearch-backward)
13436 (comint-history-isearch-backward-regexp): New commands.
13437 (comint-history-isearch-message-overlay): New buffer-local variable.
13438 (comint-history-isearch-setup, comint-history-isearch-end)
13439 (comint-goto-input, comint-history-isearch-search)
13440 (comint-history-isearch-message, comint-history-isearch-wrap)
13441 (comint-history-isearch-push-state)
13442 (comint-history-isearch-pop-state): New functions.
13443
13444 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13445
13446 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13447 return.
13448 (tramp-handle-make-symbolic-link)
13449 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13450 Quote file names.
13451 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13452 (tramp-handle-process-file): Use it.
13453
13454 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13455
13456 * window.el (move-to-window-line-last-op): Remove.
13457 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13458
13459 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13460
13461 Make M-r mirror the new cycling behavior of C-l.
13462 * window.el (move-to-window-line-last-op): New var.
13463 (move-to-window-line-top-bottom): New command.
13464 (global-map): Bind M-r move-to-window-line-top-bottom.
13465
13466 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13467
13468 * dired-x.el (dired-guess-shell-alist-default):
13469 Support xz format. (Bug#4953)
13470
13471 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13472
13473 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13474 last-command-char/last-command-event.
13475 (viper-prefix-arg-value): Do correct conversion of event-char for
13476 XEmacs.
13477
13478 * emulation/viper-util.el, emulation/viper.el:
13479 Use viper-last-command-char instead of
13480 last-command-char/last-command-event.
13481
13482 * ediff-init.el, ediff-mult.el, ediff-util.el:
13483 Replace last-command-char and last-command-event
13484 with (ediff-last-command-char) everywhere.
13485
13486 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13487 created in fundamental mode.
13488
13489 * ediff.el (ediff-version): Revert the change of interactive-p to
13490 called-interactively-p.
13491
13492 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13493
13494 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13495 generation from word-movement command names.
13496
13497 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13498
13499 * cus-start.el (all): Add native condition for font-use-system-font.
13500
13501 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13502
13503 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13504 Correct the patch from 2009-11-18. (Bug#3910)
13505
13506 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13507
13508 * progmodes/subword.el: Rename from lisp/subword.el.
13509
13510 * subword.el: Rename to progmodes/subword.el.
13511
13512 * Makefile.in (ELCFILES): Adapt to subword.el move.
13513
13514 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13515 Stefan Monnier <monnier@iro.umontreal.ca>
13516
13517 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13518 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13519 (bookmark-bmenu-show-filenames): Use push.
13520 (bookmark-bmenu-hide-filenames): Use local var instead of
13521 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13522 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13523 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13524 filenames now that the bookmark names are always available.
13525
13526 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13527
13528 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13529 (bookmark-search-pattern): Move and leave unbound.
13530 (bookmark-bmenu-mode-map): Change binding.
13531 (bookmark-read-search-input): Simplify.
13532 Don't use text-char-description. Don't error on non-char events.
13533 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13534 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13535 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13536 Use a local var for the timer.
13537 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13538 (i.e. bookmark-bmenu-search).
13539
13540 2009-11-21 Glenn Morris <rgm@gnu.org>
13541
13542 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13543
13544 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13545
13546 * net/browse-url.el (browse-url-default-windows-browser):
13547 Use cygstart for cygwin.
13548
13549 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13550
13551 * bookmark.el: Formatting and doc fixes only:
13552 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13553 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13554 Minor grammar and punctuation fixes in doc string.
13555 (bookmark-read-search-input): Adjust to fit within 80 columns.
13556
13557 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13558
13559 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13560 (c-backward-into-nomenclature): Adapt to subword renaming.
13561
13562 * subword.el (subword-forward, subword-backward, subword-mark)
13563 (subword-kill, subword-backward-kill, subword-transpose)
13564 (subword-downcase, subword-upcase, subword-capitalize)
13565 (subword-forward-internal, subword-backward-internal):
13566 Rename from forward-subword, backward-subword, mark-subword,
13567 kill-subword, backward-kill-subword, transpose-subwords,
13568 downcase-subword, upcase-subword, capitalize-subword,
13569 forward-subword-internal, backward-subword-internal.
13570
13571 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13572
13573 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13574 New options.
13575 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13576 New vars.
13577 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13578 (bookmark-bmenu-filter-alist-by-regexp)
13579 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13580 (bookmark-bmenu-search): New command.
13581 (bookmark-bmenu-mode-map): Bind it.
13582
13583 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13584
13585 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13586 backward-subword to quit the byte-compiler.
13587
13588 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13589
13590 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13591
13592 * progmodes/cc-cmds.el (c-update-modeline)
13593 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13594 Refer to subword.el functions instead of cc-subword.el.
13595
13596 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13597 subword.el functions instead of cc-subword.el.
13598
13599 * progmodes/cc-subword.el: Rename to subword.el.
13600 * subword.el: Rename from progmodes/cc-subword.el.
13601 (subword-mode-map): Rename from c-subword-mode-map.
13602 (subword-mode): Rename from c-subword-mode.
13603 (global-subword-mode): New global minor mode.
13604 (forward-subword): Rename from c-forward-subword.
13605 (backward-subword): Rename from c-backward-subword.
13606 (mark-subword): Rename from c-mark-subword.
13607 (kill-subword): Rename from c-kill-subword.
13608 (backward-kill-subword): Rename from c-backward-kill-subword.
13609 (transpose-subwords): Rename from c-tranpose-subword.
13610 (downcase-subword): Rename from c-downcase-subword.
13611 (capitalize-subword): Rename from c-capitalize-subword.
13612 (forward-subword-internal): Rename from c-forward-subword-internal.
13613 (backward-subword-internal): Rename from c-backward-subword-internal.
13614
13615 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13616
13617 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13618 from a dired buffer.
13619 (vc-dired-deduce-fileset): New function.
13620 (vc-root-diff, vc-print-root-log): Use it.
13621
13622 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13623 nil LIMIT argument to vc-print-log-internal.
13624
13625 2009-11-20 Glenn Morris <rgm@gnu.org>
13626
13627 * Makefile.in (ELCFILES): Regenerate.
13628
13629 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13630
13631 * calc/calc.el (calc-set-mode-line):
13632 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13633 (math-format-number): Rename `math-format-complement-signed' to
13634 `math-format-twos-complement'.
13635
13636 * calc/calc-bin.el (math-format-twos-complement): Rename from
13637 math-format-complement-signed.
13638 (calc-radix): Rename `calc-complement-signed-mode' to
13639 `calc-twos-complement-mode'.
13640 (calc-octal-radix, calc-hex-radix): Add an argument for
13641 two's complement.
13642
13643 * calc/calc-embed.el (calc-embedded-mode-vars):
13644 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13645
13646 * calc/calc-ext.el (calc-init-extensions):
13647 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13648 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13649
13650 * calc/calc-units.el (math-build-units-table-buffer):
13651 Let `calc-twos-complement-mode' be nil.
13652
13653 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13654 entries.
13655
13656 * calc/calc-vec.el (calcFunc-vunpack):
13657 * calc/calc-aent.el (calc-do-calc-eval):
13658 * calc/calc-forms.el (math-format-date):
13659 * calc/calc-graph.el (calc-graph-plot):
13660 * calc/calc-math.el (math-use-emacs-fn):
13661 * calc/calccomp.el (math-compose-expr):
13662 Let `calc-twos-complement-mode' be nil.
13663
13664 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13665
13666 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13667 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13668 * minibuffer.el (completion-in-region-functions): New hook.
13669 (completion-in-region): New function.
13670 * emacs-lisp/lisp.el (lisp-complete-symbol):
13671 * pcomplete.el (pcomplete-std-complete): Use it.
13672
13673 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13674
13675 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13676 (latex-complete-alist): New vars.
13677 (latex-string-prefix-p, latex-complete-bibtex-keys)
13678 (latex-complete-envnames, latex-complete-refkeys)
13679 (latex-complete-data): New functions.
13680 (latex-complete, latex-indent-or-complete): New commands.
13681
13682 * window.el (display-buffer-mark-dedicated): New var.
13683 (display-buffer): Obey it.
13684 * minibuffer.el (minibuffer-completion-help): Use it.
13685
13686 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13687
13688 * filecache.el (file-cache-add-file): Use push and cons.
13689 (file-cache-delete-file-regexp): Use push.
13690 (file-cache-complete): Use completion-in-region.
13691
13692 * simple.el (with-wrapper-hook): Fix thinko.
13693
13694 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13695 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13696 Use with-current-buffer and string-to-number.
13697 (hfy-fallback-colour-values): Use assoc-string.
13698 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13699 (hfy-face-at): Remove unused var `found-face'.
13700 (hfy-compile-stylesheet): Remove unused var `css'.
13701 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13702 and `orig-buffer'.
13703 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13704 Use with-current-buffer.
13705 (hfy-text-p): Use expand-file-name and fewer setq.
13706
13707 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13708
13709 * htmlfontify.el, hfy-cmap.el: New files.
13710
13711 2009-11-19 Juri Linkov <juri@jurta.org>
13712
13713 * minibuffer.el (completions-format): New defcustom.
13714 (completion--insert-strings): Implement vertical format.
13715
13716 * simple.el (switch-to-completions): Move point to the first
13717 completion when point was at the beginning of the buffer.
13718
13719 2009-11-19 Juri Linkov <juri@jurta.org>
13720
13721 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13722
13723 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13724
13725 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13726
13727 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13728 (mail-signature): Change default to t.
13729 (mail-from-style): Deprecate `system-default' value.
13730 (mail-insert-from-field): For default value of mail-from-style,
13731 default to `angles' unless `angles' needs quoting and `parens'
13732 does not.
13733 (mail-citation-prefix-regexp): Use citation regexp from
13734 message-mode.
13735
13736 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13737
13738 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13739 Set variables for computing the prompt for reading password.
13740
13741 2009-11-19 Glenn Morris <rgm@gnu.org>
13742
13743 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13744
13745 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13746
13747 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13748 (newsticker-treeview-listwindow-height): Fix custom type.
13749
13750 2009-11-19 Kenichi Handa <handa@m17n.org>
13751
13752 * descr-text.el (describe-char-padded-string): Compose with TAB
13753 only if there's a font for CH.
13754 (describe-char): Fix the condition for detecting a trivial composition.
13755
13756 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13757
13758 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13759 more accurate version of the regexp. (Bug#3910)
13760
13761 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13762
13763 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13764
13765 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13766
13767 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13768 (font-setting-change-default-font): Fix typo in docstring.
13769
13770 2009-11-18 Alan Mackenzie <acm@muc.de>
13771
13772 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13773
13774 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13775
13776 * font-setting.el (font-use-system-font): Move ...
13777
13778 * cus-start.el (all): ... to here.
13779
13780 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13781
13782 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13783 Don't set `ad-return-value' if `ad-do-it' doesn't.
13784
13785 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13786 modification time.
13787
13788 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13789
13790 * menu-bar.el: Put "Use system font" in Option-menu.
13791 (menu-bar-options-save): Add font-use-system-font.
13792
13793 * loadup.el: If feature system-font-setting or font-render-setting is
13794 there, load font-setting.
13795
13796 * Makefile.in (ELCFILES): Add font-settings.el.
13797 * font-setting.el: New file.
13798
13799 2009-11-17 Glenn Morris <rgm@gnu.org>
13800
13801 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13802
13803 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13804 Preserve point in the list buffer. (Bug#4939)
13805 Use point-at-eol.
13806 (newsticker--treeview-list-update-highlight)
13807 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13808
13809 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13810
13811 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13812 Remove.
13813
13814 * calc/calc-ext.el (calc-init-extensions): Remove references to
13815 symclip.
13816
13817 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13818
13819 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13820 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13821 `calc-symclip'.
13822
13823 2009-11-16 Kevin Ryde <user42@zip.com.au>
13824
13825 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13826 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13827
13828 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13829 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13830 Ignore trailing spaces by omit-nulls to split-string (fixing
13831 regression from Emacs 21 due to the incompatible split-string
13832 change). (Bug #4928.)
13833
13834 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13835
13836 * vc.el (vc-log-show-limit): Default to 2000.
13837 (vc-print-log-internal): Insert buttons to request more entries
13838 when limiting the output.
13839
13840 * vc-sccs.el (vc-sccs-print-log):
13841 * vc-rcs.el (vc-rcs-print-log):
13842 * vc-cvs.el (vc-cvs-print-log):
13843 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13844 LIMIT is non-nil.
13845
13846 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13847
13848 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13849 error when `tramp-gvfs-dbus-event-vector' is set.
13850 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13851
13852 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13855
13856 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13857
13858 * net/dbus.el (dbus-unregister-service): New defun.
13859 (dbus-register-property): Register the handlers of
13860 "org.freedesktop.DBus.Properties" for SERVICE.
13861 (dbus-property-handler): Fix docstring.
13862
13863 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13864
13865 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13866 Quote doc string reference in defvaralias as it is not in special form.
13867 (byte-compile-output-docform): Doc fix.
13868
13869 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13870
13871 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13872 (calc-complement-signed-mode): New variables.
13873 (calc-set-mode-line): Add indicator for twos-complements.
13874 (math-format-number): Format twos-complement notation.
13875
13876 * calc/calc-bin.el (calc-word-size): Reset the variables
13877 `math-2-word-size' and `math-half-2-word-size'.
13878 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13879 (calc-symclip): New functions.
13880
13881 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13882
13883 * calc/calc-embed.el (calc-embedded-mode-vars):
13884 Add `calc-complement-signed-mode' to the list of modes.
13885
13886 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13887 (calc-b-oper-keys): Add `calc-symclip' to list.
13888
13889 * calc/calc-ext.el (math-read-number-fancy): Read complement
13890 signed numbers.
13891 (calc-init-extensions): Add binding for `calc-symclip'.
13892 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13893
13894 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13895 `calc-symclip'.
13896 (calc-modes-menu): Add item for twos complement mode.
13897
13898 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13899
13900 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13901
13902 * register.el (jump-to-register, insert-register): Handle Semantic
13903 tags. From commented-out advice in semantic/senator.el.
13904
13905 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13906
13907 * vc.el (vc-log-show-limit): New variable.
13908 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13909 when using a prefix argument.
13910 (vc-print-log-internal): Add new argument LIMIT.
13911
13912 * vc-svn.el (vc-svn-print-log):
13913 * vc-mtn.el (vc-mtn-print-log):
13914 * vc-hg.el (vc-hg-print-log):
13915 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13916 pass it to the log command when set. Make the BUFFER argument
13917 non-optional.
13918
13919 * vc-sccs.el (vc-sccs-print-log):
13920 * vc-rcs.el (vc-rcs-print-log):
13921 * vc-git.el (vc-git-print-log):
13922 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13923 ignore it. Make the BUFFER argument non-optional
13924
13925 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13926
13927 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13928
13929 * dired.el (dired-mode-map): Move encryption items to "Operate"
13930 menu (Bug#4703).
13931
13932 * strokes.el (strokes-update-window-configuration): Make strokes
13933 buffer current before erasing (Bug#4906).
13934
13935 2009-11-15 Juri Linkov <juri@jurta.org>
13936
13937 * simple.el (set-mark-default-inactive): Add :type, :group
13938 and :version. (Bug#4876)
13939
13940 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13941
13942 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13943 (archive-unique-fname): ... here. (Bug#4929)
13944
13945 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13946
13947 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13948 with a real fix.
13949
13950 * novice.el (disabled-command-function): Add useful args.
13951 Setup the help buffer so that [back] works.
13952 Remove redundant call to help-mode.
13953 (disabled-command-function): Use `case'.
13954 (en/disable-command): New function extracted from enable-command.
13955 (enable-command, disable-command): Use it.
13956
13957 2009-11-14 Glenn Morris <rgm@gnu.org>
13958
13959 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13960 constants. (Bug#4913)
13961
13962 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13963
13964 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13965
13966 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13967 defined in C that have no doc-strings. (Bug#1063)
13968
13969 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13970
13971 * cus-edit.el (data, files):
13972 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13973
13974 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13975
13976 * simple.el (shell-command): Doc fix (Bug#4891).
13977
13978 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13979
13980 2009-11-14 Glenn Morris <rgm@gnu.org>
13981
13982 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13983 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13984 If they are already loaded, eval-after-load will do the right thing.
13985
13986 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13987 compiling.
13988
13989 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13990
13991 * simple.el (x-selection-owner-p): Declare.
13992 (read-mail-command): Use custom radio type rather than choice.
13993 (completion-no-auto-exit): Doc fix.
13994
13995 * custom.el (defgroup):
13996 * epg-config.el (epg): Doc fixes.
13997
13998 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13999
14000 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14001 * international/ccl.el (define-ccl-program): Do not purecopy the
14002 docstring, defconst does it anyway.
14003
14004 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14007 a second time.
14008
14009 * x-dnd.el (x-dnd-maybe-call-test-function):
14010 * window.el (split-window-vertically):
14011 * whitespace.el (whitespace-help-on):
14012 * vc-rcs.el (vc-rcs-consult-headers):
14013 * userlock.el (ask-user-about-lock-help)
14014 (ask-user-about-supersession-help):
14015 * type-break.el (type-break-force-mode-line-update):
14016 * time-stamp.el (time-stamp-conv-warn):
14017 * terminal.el (te-set-output-log, te-more-break, te-filter)
14018 (te-sentinel, terminal-emulator):
14019 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14020 (term-write-input-ring, term-check-source, term-start-output-log):
14021 (term-display-buffer-line, term-dynamic-list-completions):
14022 (term-ansi-make-term, serial-term):
14023 * subr.el (selective-display):
14024 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14025 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14026 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14027 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14028 (speedbar-remove-localized-speedbar-support)
14029 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14030 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14031 (speedbar-buffers-line-directory):
14032 * simple.el (shell-command-on-region, append-to-buffer)
14033 (prepend-to-buffer):
14034 * shadowfile.el (shadow-save-todo-file):
14035 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14036 (scroll-bar-maybe-set-window-start):
14037 * sb-image.el (speedbar-image-dump):
14038 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14039 (load-save-place-alist-from-file):
14040 * ps-samp.el (ps-print-message-from-summary):
14041 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14042 (ps-background-image, ps-begin-job, ps-do-despool):
14043 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14044 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14045 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14046 (pr-call-process, pr-file-list, pr-interface-save):
14047 * novice.el (disabled-command-function)
14048 (enable-command, disable-command):
14049 * mouse.el (mouse-buffer-menu-alist):
14050 * mouse-copy.el (mouse-kill-preserving-secondary):
14051 * macros.el (kbd-macro-query):
14052 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14053 * informat.el (batch-info-validate):
14054 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14055 * hippie-exp.el (try-expand-dabbrev-visible):
14056 * help-mode.el (help-make-xrefs):
14057 * help-fns.el (describe-variable):
14058 * generic-x.el (bat-generic-mode-run-as-comint):
14059 * finder.el (finder-mouse-select):
14060 * find-dired.el (find-dired-sentinel):
14061 * filesets.el (filesets-file-close):
14062 * files.el (list-directory):
14063 * faces.el (list-faces-display, describe-face):
14064 * facemenu.el (list-colors-display):
14065 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14066 * epg.el (epg--process-filter, epg-cancel):
14067 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14068 (epa--read-signature-type):
14069 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14070 (emerge-file-names):
14071 * ehelp.el (electric-helpify):
14072 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14073 * ediff-vers.el (rcs-ediff-view-revision):
14074 * ediff-util.el (ediff-setup):
14075 * ediff-mult.el (ediff-append-custom-diff):
14076 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14077 (ediff-wordify):
14078 * echistory.el (Electric-command-history-redo-expression):
14079 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14080 * disp-table.el (describe-display-table):
14081 * dired.el (dired-find-buffer-nocreate):
14082 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14083 * dabbrev.el (dabbrev--same-major-mode-p):
14084 * chistory.el (list-command-history):
14085 * apropos.el (apropos-documentation):
14086 * allout.el (allout-obtain-passphrase):
14087 (allout-copy-exposed-to-buffer):
14088 (allout-verify-passphrase): Use with-current-buffer.
14089
14090 2009-11-13 Glenn Morris <rgm@gnu.org>
14091
14092 * Makefile.in (ELCFILES): Regenerate.
14093
14094 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14095
14096 * net/dbus.el (dbus-registered-objects-table): Rename from
14097 `dbus-registered-functions-table', because it contains also properties.
14098 (dbus-unregister-object): Unregister also properties.
14099 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14100 Use a timeout of 500 msec, in order to not block.
14101 (dbus-register-property, dbus-property-handler): New defuns.
14102
14103 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14104
14105 * simple.el (minibuffer-default-add-completions): Drop deprecated
14106 4th arg.
14107
14108 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14109
14110 * textmodes/artist.el (artist-mouse-choose-operation):
14111 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14112 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14113 (artist-compute-up-event-key): New function.
14114 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14115
14116 2009-11-13 Kenichi Handa <handa@m17n.org>
14117
14118 * language/japan-util.el: Make sure that the value of jisx0208
14119 property is jisx0208 character.
14120
14121 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14122
14123 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14124 car or each item, not the whole list.
14125
14126 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14127
14128 * minibuffer.el (minibuffer-completion-help):
14129 Use minibuffer-hide-completions.
14130
14131 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14132
14133 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14134 (dired-revert): Use them (bug#4880).
14135
14136 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14137
14138 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14139
14140 2009-11-12 Juri Linkov <juri@jurta.org>
14141
14142 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14143 New functions.
14144 (find-file-literally-at-point): Alias of `ffap-literally'.
14145
14146 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14147
14148 * textmodes/ispell.el (ispell-skip-region-alist):
14149 * textmodes/css-mode.el (auto-mode-alist):
14150 * progmodes/compile.el (auto-mode-alist):
14151 * international/mule.el (ctext-non-standard-encodings-alist)
14152 (ctext-non-standard-encodings-regexp):
14153 * simple.el (shell-command-switch, text-read-only):
14154 * replace.el (occur-mode-map):
14155 * paths.el (rmail-file-name):
14156 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14157 * find-file.el (ff-special-constructs):
14158 * files.el (file-name-handler-alist):
14159 * composite.el: Purecopy strings.
14160
14161 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14162
14163 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14164
14165 * widget.el (define-widget): Purecopy the docstring.
14166 * international/mule-cmds.el (charset): Do not purecopy the
14167 docstring here, define-widget does it.
14168
14169 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14170 * textmodes/bibtex-style.el (auto-mode-alist):
14171 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14172 * progmodes/compile.el (compile-command):
14173 * language/korea-util.el (default-korean-keyboard):
14174 * international/mule-conf.el (file-coding-system-alist):
14175 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14176 * tooltip.el (tooltip-frame-parameters):
14177 * newcomment.el (comment-end, comment-padding):
14178 * dired.el (dired-trivial-filenames):
14179 * comint.el (comint-file-name-prefix): Purecopy initial values.
14180
14181 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14182
14183 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14184 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14185 `tramp-unload'.
14186 (tramp-advice-make-auto-save-file-name)
14187 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14188 after removing the advice.
14189
14190 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14191
14192 * progmodes/grep.el (grep-regexp-alist):
14193 * international/mule-cmds.el (iso-2022-control-alist):
14194 * emacs-lisp/timer.el (timer-duration-words):
14195 * subr.el (version-separator, version-regexp-alist):
14196 * minibuffer.el (completion-styles-alist):
14197 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14198 Change defvars to defconsts.
14199
14200 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14201 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14202 * international/mule-conf.el: Allow to be byte compiled.
14203
14204 * international/mule.el (define-charset): Purecopy props.
14205 (load-with-code-conversion): Purecopy doc string and file name.
14206 (put-charset-property): Purecopy strings.
14207 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14208
14209 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14210 (define-char-code-property): Correctly purecopy the table.
14211
14212 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14213
14214 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14215
14216 * subr.el (add-hook): Purecopy strings.
14217 (eval-after-load): Purecopy load-history-regexp and the form.
14218
14219 * custom.el (custom-declare-group): Purecopy load-file-name.
14220
14221 * subr.el (menu-bar-separator): New defconst.
14222 * net/eudc.el (eudc-tools-menu):
14223 * international/mule-cmds.el (set-coding-system-map)
14224 (mule-menu-keymap):
14225 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14226 * vc-hooks.el (vc-menu-map):
14227 * replace.el (occur-mode-map):
14228 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14229 (menu-bar-edit-menu, menu-bar-goto-menu)
14230 (menu-bar-custom-menu, menu-bar-showhide-menu)
14231 (menu-bar-options-menu, menu-bar-tools-menu)
14232 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14233 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14234 (menu-bar-help-menu):
14235 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14236 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14237
14238 * term/x-win.el (x-gtk-stock-map):
14239 * progmodes/vera-mode.el (auto-mode-alist):
14240 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14241 (inferior-lisp-program, inferior-lisp-load-command):
14242 * progmodes/hideshow.el (hs-special-modes-alist):
14243 * progmodes/gud.el (same-window-regexps):
14244 * progmodes/grep.el (grep-program, find-program, xargs-program):
14245 * net/telnet.el (same-window-regexps):
14246 * net/rlogin.el (same-window-regexps):
14247 * language/ethiopic.el (font-ccl-encoder-alist):
14248 * vc-sccs.el (vc-sccs-master-templates):
14249 * vc-rcs.el (vc-rcs-master-templates):
14250 * subr.el (cl-assertion-failed):
14251 * simple.el (next-error-overlay-arrow-position):
14252 * lpr.el (lpr-command):
14253 * locate.el (locate-ls-subdir-switches):
14254 * info.el (same-window-regexps, info)
14255 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14256 * image-mode.el (image-mode, auto-mode-alist):
14257 * hippie-exp.el (hippie-expand-ignore-buffers):
14258 * format.el (format-alist):
14259 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14260 (find-name-arg):
14261 * facemenu.el (facemenu-keybindings):
14262 * dired.el (dired-listing-switches, dired-chown-program):
14263 * diff.el (diff-switches, diff-command):
14264 * cus-edit.el (same-window-regexps):
14265 * bindings.el (mode-line-mule-info)
14266 (mode-line-buffer-identification): Purecopy strings.
14267
14268 2009-11-11 Juri Linkov <juri@jurta.org>
14269
14270 * simple.el (dired-get-filename) <declare-function>:
14271 Tell the byte-compiler about dired-get-filename.
14272 (shell-command): In Dired mode, get filename from the current line
14273 as the default value.
14274
14275 2009-11-10 Glenn Morris <rgm@gnu.org>
14276
14277 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14278 * calendar/holidays.el, progmodes/cperl-mode.el:
14279 Update x-popup-menu declarations.
14280
14281 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14282 (list-load-path-shadows): Use dolist.
14283 (list-load-path-shadows): Use with-current-buffer.
14284
14285 2009-11-10 Juri Linkov <juri@jurta.org>
14286
14287 * minibuffer.el (read-file-name): Support a list of default values
14288 in `default-filename'. Use the first file name where only one
14289 element is required. Doc fix.
14290
14291 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14292
14293 * net/dbus.el (dbus-unregister-object): Release service, if no
14294 other method is registered for it.
14295
14296 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14297
14298 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14299 bookmark-sort-flag is non-nil (Bug#4653).
14300
14301 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14302
14303 * emulation/cua-base.el: Add CUA property to some CC mode commands
14304 (Bug#4100).
14305
14306 2009-11-08 Kevin Ryde <user42@zip.com.au>
14307
14308 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14309 at end of sentence (Bug#4818).
14310
14311 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14312
14313 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14314 Handle "see declaration of" MSFT statements (Bug#4100).
14315
14316 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14317
14318 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14319 (tramp-advice-file-expand-wildcards): Unload via
14320 `ad-remove-advice'.
14321
14322 * net/trampver.el: Update release number.
14323
14324 2009-11-08 Kevin Ryde <user42@zip.com.au>
14325
14326 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14327 `ad-do-it'.
14328
14329 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14330
14331 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14332 in order to keep context in SELinux.
14333
14334 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14335
14336 * dired-aux.el (dired-query): Place cursor in echo area and allow
14337 C-g.
14338
14339 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14340 menu item if not on a directory (Bug#4701).
14341
14342 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14343
14344 Sync with Tramp 2.1.17.
14345
14346 * net/tramp.el (tramp-handle-copy-directory): Don't use
14347 `file-remote-p' (due to compatibility).
14348
14349 * net/tramp-compat.el (tramp-compat-copy-directory)
14350 (tramp-compat-delete-directory): New defuns.
14351
14352 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14353 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14354 Use `tramp-compat-delete-directory'.
14355
14356 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14357 (tramp-smb-handle-delete-directory):
14358 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14359
14360 * net/trampver.el: Update release number.
14361
14362 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14363
14364 * tar-mode.el (tar-copy): Call write-region on the right buffer
14365 (Bug#4857).
14366
14367 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14368 by hand, if necessary (Bug#4878).
14369
14370 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14371
14372 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14373 align size column (Bug#4839).
14374
14375 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14376 statement.
14377
14378 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14379
14380 * progmodes/ld-script.el (auto-mode-alist):
14381 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14382
14383 * cus-face.el (custom-declare-face): Purecopy face spec.
14384
14385 2009-11-06 Kenichi Handa <handa@m17n.org>
14386
14387 * international/uni-bidi.el: Re-generated.
14388 * international/uni-category.el: Re-generated.
14389 * international/uni-combining.el: Re-generated.
14390 * international/uni-mirrored.el: Re-generated.
14391
14392 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14393
14394 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14395 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14396 (tex-start-options, slitex-run-command, latex-run-command)
14397 (tex-run-command, tex-directory):
14398 * textmodes/ispell.el (ispell-html-skip-alists)
14399 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14400 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14401 (adaptive-fill-regexp):
14402 * textmodes/dns-mode.el (auto-mode-alist):
14403 * progmodes/python.el (interpreter-mode-alist):
14404 * progmodes/etags.el (tags-compression-info-list):
14405 * progmodes/etags.el (tags-file-name):
14406 * net/browse-url.el (browse-url-galeon-program)
14407 (browse-url-firefox-program):
14408 * mail/sendmail.el (mail-signature-file)
14409 (mail-citation-prefix-regexp):
14410 * international/mule-conf.el (eight-bit):
14411 * international/latexenc.el (latex-inputenc-coding-alist):
14412 * international/fontset.el (x-pixel-size-width-font-regexp):
14413 * emacs-lisp/warnings.el (warning-type-format):
14414 * emacs-lisp/trace.el (trace-buffer):
14415 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14416 (emacs-lisp-mode-map):
14417 * calendar/holidays.el (holiday-solar-holidays)
14418 (holiday-bahai-holidays, holiday-islamic-holidays)
14419 (holiday-christian-holidays, holiday-hebrew-holidays)
14420 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14421 (hebrew-holidays-1, holiday-oriental-holidays)
14422 (holiday-general-holidays):
14423 * x-dnd.el (x-dnd-known-types):
14424 * tool-bar.el (tool-bar):
14425 * startup.el (site-run-file):
14426 * shell.el (shell-dumb-shell-regexp):
14427 * rfn-eshadow.el (file-name-shadow-tty-properties)
14428 (file-name-shadow-properties):
14429 * paths.el (remote-shell-program, news-directory):
14430 * mouse.el ([C-down-mouse-3]):
14431 * menu-bar.el (menu-bar-tools-menu):
14432 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14433 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14434 (jka-compr-compression-info-list):
14435 * isearch.el (search-whitespace-regexp):
14436 * image-file.el (image-file-name-extensions):
14437 * find-dired.el (find-ls-option):
14438 * files.el (directory-listing-before-filename-regexp)
14439 (directory-free-space-args, insert-directory-program)
14440 (list-directory-brief-switches, magic-fallback-mode-alist)
14441 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14442 (automount-dir-prefix):
14443 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14444 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14445 (face-font-registry-alternatives, face-font-registry-alternatives)
14446 (face-font-family-alternatives):
14447 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14448 (facemenu-foreground-menu, facemenu-face-menu):
14449 * epa-hook.el (epa-file-name-regexp):
14450 * dnd.el (dnd-protocol-alist):
14451 * textmodes/rst.el (auto-mode-alist):
14452 * button.el (default-button): Purecopy strings.
14453
14454 2009-11-06 Glenn Morris <rgm@gnu.org>
14455
14456 * Makefile.in (ELCFILES): Update.
14457
14458 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14459
14460 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14461 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14462
14463 * nxml/xsd-regexp.el (xsdre-gen-categories):
14464 * nxml/xmltok.el (xmltok-parse-entity):
14465 * nxml/rng-parse.el (rng-parse-validate-file):
14466 * nxml/rng-maint.el (rng-format-manual)
14467 (rng-manual-output-force-new-line):
14468 * nxml/rng-loc.el (rng-save-schema-location-1):
14469 * nxml/rng-cmpct.el (rng-c-parse-file):
14470 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14471 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14472
14473 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14474
14475 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14476 Remove extra save-excursions and make-variable-buffer-local's.
14477 Suggested by Stefan Monnier.
14478
14479 (verilog-getopt-file, verilog-module-inside-filename-p)
14480 (verilog-set-define): Merge GNU 1.35 and repair changes from
14481 switching to using with-current-buffer.
14482
14483 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14484 being treated as a number and confusing AUTORESET.
14485 Reported by Dan Dever.
14486
14487 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14488 Add verilog-auto-ignore-concat to fix backward compatibility with
14489 older verilog-modes. Reported by Dan Katz.
14490
14491 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14492 containing closing anchors "...$".
14493
14494 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14495 Reported by Wade Smith.
14496
14497 (verilog-batch-execute-func): Comment on function usage.
14498
14499 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14500
14501 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14502 for labels.
14503
14504 (verilog-label-re, verilog-calc-1): Support proper indent of named
14505 asserts.
14506
14507 (verilog-backward-token, verilog-basic-complete-re)
14508 (verilog-beg-of-statement, verilog-indent-re): Support proper
14509 indent of the assert statement at the beginning of a block of text.
14510
14511 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14512 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14513 tokens as begins.
14514
14515 2009-11-05 Glenn Morris <rgm@gnu.org>
14516
14517 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14518 Emacs 19. (Bug#1531)
14519 (byte-compile-fix-header): Update for the above change.
14520 Drop test for epoch::version.
14521
14522 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14523 * cus-dep.el (custom-make-dependencies):
14524 * finder.el (finder-compile-keywords):
14525 Use autoload-rubric's feature argument.
14526
14527 * calendar/diary-lib.el (top-level): Make load behave more like require.
14528
14529 * vc-git.el (vc-git-stash-map): Move definition before use.
14530
14531 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14532
14533 * custom.el (custom-declare-group): Purecopy standard-value.
14534 (custom-declare-group): Purecopy custom-prefix.
14535
14536 * international/mule.el (load-with-code-conversion):
14537 Call do-after-load-evaluation unconditionally.
14538
14539 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14540
14541 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14542
14543 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14544
14545 2009-11-04 Glenn Morris <rgm@gnu.org>
14546
14547 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14548 (byte-compile-compatibility): Remove option.
14549 (byte-compile-close-variables, byte-compile-fix-header)
14550 (byte-compile-insert-header, byte-compile-output-docform)
14551 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14552 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14553 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14554 (byte-compile-insert, byte-compile-defun):
14555 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14556 (byte-defop-compiler19): Remove.
14557 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14558 used by anything. Replace all calls with byte-defop-compiler.
14559
14560 2009-11-04 Juri Linkov <juri@jurta.org>
14561
14562 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14563 (menu-bar-options-menu): Don't quote the `prop' arg of
14564 `menu-bar-make-mm-toggle'.
14565
14566 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14567
14568 * calendar/calendar.el (cal-loaddefs):
14569 * calendar/diary-lib.el (diary-loaddefs):
14570 * calendar/holidays.el (hol-loaddefs):
14571 * eshell/esh-module.el (esh-groups): Load rather than require.
14572
14573 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14574
14575 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14576 point-min==1.
14577 (todo-top-priorities): Only display-buffer when called interactively.
14578 (todo-item-start): Don't save excursion point.
14579 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14580 (todo-insert-item-here, todo-file-item, todo-remove-item):
14581 Adjust uses of todo-item-start and todo-item-end.
14582
14583 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14584 (autoload-rubric): Don't use any more.
14585
14586 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14587 and only put a prop if it is non-nil.
14588
14589 2009-11-03 Juri Linkov <juri@jurta.org>
14590
14591 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14592 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14593
14594 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14595 and "Menu" to make top-level menu item visually one unit (like
14596 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14597 multi-word menu items). Fix :help string for quit-window.
14598
14599 2009-11-03 Glenn Morris <rgm@gnu.org>
14600
14601 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14602 (byte-compile-file-form-define-abbrev-table)
14603 (byte-compile-file-form-custom-declare-variable)
14604 (byte-compile-variable-ref, byte-compile-defvar):
14605 Whether or not a warning is enabled should only affect whether we issue
14606 the warning, not whether or not we collect the relevant data.
14607 Eg warnings can be turned on and off throughout the course of a file.
14608
14609 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14610 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14611
14612 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14613
14614 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14615 * play/mpuz.el (mpuz-create-buffer):
14616 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14617 (lm-print-y,s,noise, lm-print-w0, lm-init):
14618 * play/gomoku.el (gomoku-prompt-for-move):
14619 * play/fortune.el (fortune-in-buffer):
14620 * play/dissociate.el (dissociated-press):
14621 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14622 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14623 * mail/supercite.el (sc-eref-show):
14624 * mail/smtpmail.el (smtpmail-send-it):
14625 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14626 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14627 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14628 (rmail-summary-goto-msg, rmail-summary-expunge)
14629 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14630 (rmail-summary-add-label, rmail-summary-output-menu)
14631 (rmail-summary-output-body):
14632 * mail/rfc822.el (rfc822-addresses):
14633 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14634 * mail/mailpost.el (post-mail-send-it):
14635 * mail/hashcash.el (hashcash-generate-payment):
14636 * mail/feedmail.el (feedmail-run-the-queue)
14637 (feedmail-queue-send-edit-prompt-help-first)
14638 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14639 (feedmail-deduce-address-list):
14640 * eshell/esh-ext.el (eshell-remote-command):
14641 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14642 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14643 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14644 (viper-save-string-in-file, viper-valid-marker):
14645 * emulation/viper-keym.el (viper-toggle-key):
14646 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14647 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14648 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14649 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14650 (viper-exec-form-in-emacs, viper-brac-function):
14651 * emulation/viper.el (viper-delocalize-var):
14652 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14653 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14654 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14655 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14656 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14657 * emulation/edt.el (edt-electric-helpify):
14658 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14659 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14660 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14661 (cua-indent-to-global-mark-column):
14662 * calendar/diary-lib.el (calendar-mark-1):
14663 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14664 Use with-current-buffer.
14665 * emulation/viper.el (viper-delocalize-var): Use dolist.
14666
14667 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14668
14669 * comint.el (comint-replace-by-expanded-history-before-point):
14670 Replace !! with the previous input string literally (Bug#1795).
14671
14672 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14673
14674 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14675 to be made up of whitespace.
14676
14677 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14678
14679 * minibuffer.el (read-file-name): Don't use file dialogs for
14680 remote directories (Bug#99).
14681
14682 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14683
14684 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14685
14686 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14687
14688 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14689 instead of deleting the window or frame.
14690
14691 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14692
14693 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14694 Support face colors.
14695
14696 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14697 New function. Support face colors (Bug#1168).
14698 (tex-common-initialization): Use it.
14699
14700 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14701 mode allows it (Bug#1168).
14702
14703 2009-10-31 Juri Linkov <juri@jurta.org>
14704
14705 * facemenu.el (list-colors-display): Don't mark buffer as
14706 modified (Bug#3948).
14707
14708 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14709
14710 * international/mule-diag.el (list-character-sets-1):
14711 Minor message fix (Bug#3526).
14712
14713 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14714 Fix face property (Bug#4834).
14715 (etags-list-tags, etags-tags-apropos-additional)
14716 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14717 property.
14718
14719 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14720 items.
14721
14722 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14723
14724 * textmodes/two-column.el (2C-split):
14725 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14726 * textmodes/tex-mode.el (tex-set-buffer-directory):
14727 * textmodes/spell.el (spell-region, spell-string):
14728 * textmodes/reftex.el (reftex-erase-buffer):
14729 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14730 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14731 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14732 (reftex-select-item):
14733 * textmodes/reftex-ref.el (reftex-label-info-update)
14734 (reftex-offer-label-menu):
14735 * textmodes/reftex-index.el (reftex-index-change-entry)
14736 (reftex-index-phrases-info):
14737 * textmodes/reftex-global.el (reftex-create-tags-file)
14738 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14739 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14740 (reftex-view-crossref-from-bibtex):
14741 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14742 (reftex-extract-bib-entries-from-thebibliography)
14743 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14744 * textmodes/refbib.el (r2b-capitalize-title):
14745 (r2b-convert-buffer, r2b-help):
14746 * textmodes/page-ext.el (pages-directory)
14747 (pages-directory-goto-with-mouse):
14748 * textmodes/bibtex.el (bibtex-validate-globally):
14749 * textmodes/bib-mode.el (bib-capitalize-title):
14750 * textmodes/artist.el (artist-clear-buffer, artist-system):
14751 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14752 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14753 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14754 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14755 (xscheme-send-control-g-interrupt, xscheme-start-process)
14756 (xscheme-process-sentinel, xscheme-cd):
14757 * progmodes/verilog-mode.el (verilog-read-always-signals)
14758 (verilog-set-define, verilog-getopt-file)
14759 (verilog-module-inside-filename-p):
14760 * progmodes/sh-script.el:
14761 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14762 (python-pdbtrack-grub-for-buffer, python-execute-file):
14763 * progmodes/octave-inf.el (inferior-octave):
14764 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14765 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14766 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14767 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14768 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14769 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14770 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14771 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14772 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14773 (idlwave-shell-examine-display, idlwave-shell-run-region)
14774 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14775 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14776 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14777 (idlwave-help-get-help-buffer):
14778 * progmodes/gud.el (gud-basic-call, gud-find-class)
14779 (gud-tooltip-activate-mouse-motions-if-enabled):
14780 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14781 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14782 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14783 (ebrowse-tags-next-file):
14784 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14785 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14786 (ebnf-eps-finish-and-write):
14787 * progmodes/cpp.el (cpp-edit-save):
14788 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14789 * progmodes/cc-defs.el (c-emacs-features):
14790 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14791 (antlr-directory-dependencies):
14792 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14793 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14794 (ada-find-any-references, ada-make-filename-from-adaname)
14795 (ada-make-body-gnatstub):
14796 * obsolete/rnews.el (news-list-news-groups):
14797 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14798 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14799 * net/rcirc.el (rcirc-debug):
14800 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14801 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14802 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14803 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14804 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14805 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14806 (newsticker--treeview-list-clear-highlight)
14807 (newsticker--treeview-list-update-highlight)
14808 (newsticker--treeview-list-highlight-start)
14809 (newsticker--treeview-tree-update-highlight)
14810 (newsticker--treeview-get-selected-item)
14811 (newsticker-treeview-mark-list-items-old)
14812 (newsticker--treeview-set-current-node):
14813 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14814 * net/newst-backend.el (newsticker--get-news-by-funcall)
14815 (newsticker--get-news-by-wget, newsticker--image-get)
14816 (newsticker--image-sentinel):
14817 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14818 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14819 (eudc-ph-close-session):
14820 * net/eudc.el (eudc-save-options):
14821 * language/thai-word.el (thai-update-word-table):
14822 * language/japan-util.el (japanese-string-conversion):
14823 * international/titdic-cnv.el (tsang-quick-converter)
14824 (ziranma-converter, ctlau-converter):
14825 * international/mule-cmds.el (describe-language-environment):
14826 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14827 (skkdic-convert-postfix, skkdic-convert-prefix):
14828 (skkdic-convert-okuri-nasi, skkdic-convert):
14829 * emacs-lisp/re-builder.el (reb-update-overlays):
14830 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14831 * emacs-lisp/gulp.el (gulp-send-requests):
14832 * emacs-lisp/find-gc.el (trace-call-tree):
14833 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14834 (eieio-describe-generic):
14835 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14836 * emacs-lisp/edebug.el (edebug-outside-excursion):
14837 * emacs-lisp/debug.el (debugger-make-xrefs):
14838 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14839 * emacs-lisp/chart.el (chart-new-buffer):
14840 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14841 Use with-current-buffer.
14842 * textmodes/artist.el (artist-system): Don't call
14843 copy-sequence on a fresh string.
14844 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14845
14846 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14847
14848 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14849 is no item to edit. (Bug#4820)
14850 (todo-top-priorities): Restore point and restore narrowing in Todo
14851 buffer. (Bug#4820)
14852
14853 2009-10-31 Glenn Morris <rgm@gnu.org>
14854
14855 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14856 (comint-last-output-start, comint-last-input-start)
14857 (comint-last-input-end): Don't defvar when compiling.
14858 (ange-ftp-process-file): Use bound-and-true-p.
14859
14860 * pcmpl-rpm.el (top-level): Move provide statement to end.
14861 (pcmpl-rpm): Remove unused custom group.
14862
14863 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14864
14865 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14866
14867 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14868 (byte-compile-warnings): Add `constants' as an option.
14869 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14870 (display-call-tree): Update for byte-compile-fdefinition possibly
14871 returning `(macro lambda ...)'. (Bug#4778)
14872 (byte-compile-variable-ref, byte-compile-setq-default):
14873 Respect `constants' member of byte-compile-warnings.
14874
14875 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14876
14877 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14878 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14879 to "submit:".
14880
14881 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14882
14883 * textmodes/ispell.el (ispell-skip-region-alist):
14884 * international/mule-conf.el (eight-bit):
14885 * international/fontset.el (font-encoding-alist):
14886 * startup.el (pure-space-overflow-message):
14887 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14888 * paths.el (gnus-nntp-service, rmail-spool-directory)
14889 (term-file-prefix):
14890 * files.el (save-some-buffers-action-alist):
14891 * cmuscheme.el (same-window-buffer-names):
14892 * ielm.el (same-window-buffer-names):
14893 * shell.el (same-window-buffer-names):
14894 * mail/sendmail.el (same-window-buffer-names):
14895 * progmodes/inf-lisp.el (same-window-buffer-names):
14896 * bindings.el (mode-line-client)
14897 (mode-line-column-line-number-mode-map):
14898 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14899 (tibetan-precomposed-regexp): Purecopy string arguments.
14900
14901 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14902
14903 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14904 (calcDigit-nondigit):
14905 * calc/calc-yank.el (calc-copy-to-buffer):
14906 * calc/calc-units.el (calc-invalidate-units-table):
14907 * calc/calc-trail.el (calc-trail-yank):
14908 * calc/calc-store.el (calc-insert-variables):
14909 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14910 * calc/calc-prog.el (calc-read-parse-table):
14911 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14912 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14913 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14914 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14915 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14916 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14917 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14918 * calc/calc-ext.el (calc-realign):
14919 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14920 (calc-embedded-finish-edit, calc-embedded-make-info)
14921 (calc-embedded-finish-command, calc-embedded-stack-change):
14922 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14923
14924 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14925 shell-dynamic-complete-filename in preference to
14926 comint-dynamic-complete-filename.
14927
14928 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14929 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14930 Don't consider whether the display supports colors.
14931 (bookmark-import-new-list): Use dolist.
14932 (bookmark-bmenu-mode-map): Move initialization into declaration.
14933 (bookmark-bmenu-list): Use dolist, simplify.
14934 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14935 (menu-bar-final-items): Use push.
14936
14937 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14938
14939 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14940 it works on remote files.
14941 (vc-hg-diff): Don't pass any `--cwd' argument.
14942
14943 2009-10-27 Kevin Ryde <user42@zip.com.au>
14944
14945 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14946 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14947 (Further to Bug#3921).
14948
14949 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14950
14951 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14952 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14953 calling `tramp-imap-put-file'. Add file size to the call.
14954 (tramp-imap-get-file-entries): Compute also user name, file size,
14955 and date.
14956 (tramp-imap-handle-insert-directory): Insert uid and gid.
14957 (tramp-imap-handle-file-attributes): Transform uid and gid
14958 according to `id-format'.
14959 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14960 size in header X-Size.
14961
14962 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14963
14964 * simple.el (transpose-subr): Give clearer error when the mark
14965 is not set. (Bug#4807)
14966
14967 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14968
14969 * net/tramp.el (tramp-perl-file-truename): New defconst.
14970 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14971 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14972 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14973 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14974
14975 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14976 Ignore `dired-call-process'.
14977 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14978
14979 2009-10-26 Julian Scheid <julians37@gmail.com>
14980
14981 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14982 (tramp-get-remote-readlink): New defun.
14983 (tramp-handle-file-truename): Use it.
14984 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14985 file exists if cache value present.
14986 (tramp-check-cached-permissions): New defun.
14987 (tramp-handle-file-readable-p): Use it.
14988 (tramp-handle-file-writable-p): Likewise.
14989 (tramp-handle-file-executable-p): Likewise.
14990 (tramp-handle-file-name-all-completions): Try using Perl to get
14991 partial completions. When perl not available, combine `cd' and
14992 `ls' into single remote operation and use shell expansion to get
14993 partial remote directory contents. Set `file-exists-p' cache for
14994 directory and any files returned by ls. Change cache handling to
14995 support partial directory contents. Use error message emitted by
14996 remote `cd' or Perl code for local tramp-error.
14997 (tramp-do-copy-or-rename-file-directly): Avoid separate
14998 tramp-send-command-and-check call.
14999 (tramp-handle-process-file): Merge three remote ops into one.
15000 Do not flush all caches when `process-file-side-effects' is set.
15001 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15002 file-attributes shows uid/gid to be set already.
15003
15004 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15005
15006 * textmodes/tex-mode.el (tex-dvi-view-command)
15007 (tex-show-queue-command, tex-open-quote):
15008 * progmodes/ruby-mode.el (auto-mode-alist)
15009 (interpreter-mode-alist): Purecopy strings.
15010
15011 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15012
15013 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15014 string for the hook, keymap and abbrev table.
15015
15016 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15017
15018 * x-dnd.el (x-dnd-xdnd-to-action):
15019 * startup.el (fancy-startup-text, fancy-about-text): Change to
15020 defconst from defvar.
15021
15022 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15023
15024 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15025 Purecopy initialization strings.
15026
15027 * mail/sendmail.el (mail-header-separator)
15028 (mail-personal-alias-file):
15029 * mail/rmail.el (rmail-default-dont-reply-to-names)
15030 (rmail-ignored-headers, rmail-retry-ignored-headers)
15031 (rmail-highlighted-headers, rmail-secondary-file-directory)
15032 (rmail-secondary-file-regexp):
15033 * files.el (null-device, file-name-invalid-regexp)
15034 (locate-dominating-stop-dir-regexp)
15035 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15036 (interpreter-mode-alist): Use mapcar instead of mapc.
15037
15038 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15039
15040 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15041 (completion-ignored-extensions):
15042 (debug-ignored-errors): Purecopy strings.
15043
15044 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15045
15046 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15047 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15048 (pcomplete--here): Use push.
15049
15050 * subr.el (all-completions): Declare the 4th arg obsolete.
15051
15052 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15053
15054 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15055 (pcomplete-unquote-argument): New function.
15056 (pcomplete--common-suffix): Always pay attention to case.
15057 (pcomplete--table-subvert): Quote and unquote the text.
15058 (pcomplete--common-quoted-suffix): New function.
15059 (pcomplete-std-complete): Use it and pcomplete-begin.
15060
15061 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15062 we're inside a dedicated or minibuffer window.
15063
15064 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15065
15066 * bookmark.el: Update documentation, especially documentation
15067 of `bookmark-alist' and of the bookmark file format.
15068 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15069
15070 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15071
15072 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15073 keybindings apply to the mail buffer (Bug#4003). Shrink help
15074 window to buffer.
15075
15076 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15077 (global-whitespace-mode, global-whitespace-newline-mode)
15078 (whitespace-toggle-options, global-whitespace-toggle-options):
15079 Doc fix (Bug#3660).
15080
15081 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15082 of xmltok-start before the end tag was inserted (Bug#2840).
15083
15084 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15085 patterns that are preceded by an open-paren (Bug#1320).
15086
15087 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15088
15089 * files.el (delete-directory): Delete symlinks to directories with
15090 delete-file (Bug#4739).
15091
15092 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15093
15094 * vc.el (vc-backend-for-registration): Rename from
15095 vc-get-backend-for-registration. Update callers.
15096
15097 * international/mule-cmds.el (set-language-info-alist):
15098 Purecopy lang-env.
15099 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15100 (charset): Purecopy the name.
15101 (define-char-code-property): Purecopy string arguments.
15102
15103 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15104 Purecopy string arguments.
15105
15106 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15107 * ediff-hook.el (menu-bar-ediff-menu):
15108 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15109 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15110
15111 2009-10-24 Glenn Morris <rgm@gnu.org>
15112
15113 * comint.el (comint-dynamic-list-completions):
15114 * term.el (term-dynamic-list-completions): Use choose-completion rather
15115 than obsolete alias mouse-choose-completion.
15116
15117 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15118 file-cache-choose-completion.
15119 (file-cache-choose-completion): Handle an optional event argument.
15120 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15121
15122 * progmodes/octave-mod.el (octave-complete-symbol):
15123 Use choose-completion if mouse-choose-completion is ever removed.
15124
15125 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15126 use.
15127
15128 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15129 compiler.
15130
15131 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15132
15133 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15134
15135 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15136 Ignore `pred' now that we receive one.
15137 Handle test-completion specially.
15138
15139 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15140
15141 * vc.el (vc-responsible-backend): Throw an error if not backend is
15142 found. Remove the REGISTER argument. Move the code dealing with
15143 REGISTER ...
15144 (vc-get-backend-for-registration): ... here. New function.
15145 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15146 of vc-responsible-backend, pass the file name instead of the
15147 directory name.
15148
15149 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15150
15151 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15152 New funs.
15153 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15154 (pcomplete-comint-setup): Don't modify a global var via
15155 accidental side-effects.
15156 (pcomplete-shell-setup): Adjust call accordingly.
15157 (pcomplete-parse-comint-arguments): Use push.
15158
15159 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15160
15161 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15162 Allow uncapitalized info node names (Bug#3921).
15163
15164 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15165 to the DEBUG file (Bug#3781).
15166
15167 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15168
15169 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15170 dictionary entry (Bug#4579).
15171
15172 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15173
15174 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15175 from `rfn-eshadow-update-overlay-hook' when unloading.
15176 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15177 "rsyncc". Adjust doc string.
15178 (tramp-temp-buffer-file-name): New buffer-local defvar.
15179 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15180 Keep temporary file when indicated by method ("rsync" and
15181 "rsyncc").
15182 (tramp-handle-write-region): Handle APPEND.
15183 (tramp-delete-temp-file-function): New defun. Added to
15184 `kill-buffer-hook'.
15185
15186 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15187
15188 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15189
15190 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15191
15192 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15193 (color-name-rgb-alist, tty-standard-colors)
15194 (tty-color-mode-alist): Change to defconst.
15195
15196 * simple.el (mark-inactive): Purecopy message.
15197
15198 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15199 (global-map, yank-menu):
15200 * textmodes/ispell.el (ispell-menu-map):
15201 * net/eudc.el (eudc-tools-menu):
15202 * international/mule-cmds.el (describe-language-environment-map)
15203 (setup-language-environment-map, set-coding-system-map)
15204 (mule-menu-keymap):
15205 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15206 * replace.el (occur-mode-map):
15207 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15208
15209 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15210
15211 * calc/calc.el (math-read-number, math-read-number-simple):
15212 Use `save-match-data'.
15213
15214 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15215
15216 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15217 rather than fiddling with global-map bindings, since it should only
15218 affect per-terminal settings.
15219 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15220
15221 * minibuffer.el (completion-table-with-terminator): Allow to specify
15222 the terminator-regexp.
15223
15224 * simple.el (switch-to-completions): Look for *Completions* in other
15225 frames as well.
15226
15227 * pcomplete.el: Allow the use of completion-tables.
15228 (pcomplete-std-complete): New command.
15229 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15230 (pcomplete--here): Use a function for `form' rather than an expression,
15231 so it can be byte-compiled.
15232 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15233 Add edebug declaration.
15234 (pcomplete-show-completions): Remove unused var `curbuf'.
15235 (pcomplete-do-complete, pcomplete-stub):
15236 Don't assume `completions' is a list of strings any more.
15237
15238 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15239
15240 * find-dired.el (find-name-arg): Fix typo in docstring.
15241
15242 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15243
15244 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15245 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15246
15247 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15248 pcomplete-entries.
15249
15250 * comint.el (comint-read-input-ring, comint-write-input-ring)
15251 (comint-substitute-in-file-name)
15252 (comint-dynamic-complete-as-filename)
15253 (comint-dynamic-simple-complete)
15254 (comint-dynamic-list-filename-completions)
15255 (comint-dynamic-list-completions)
15256 (comint-redirect-results-list-from-process): Minor simplifications.
15257
15258 2009-10-21 Kevin Ryde <user42@zip.com.au>
15259
15260 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15261 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15262 the first form. And insert a blank line after ";;; Code" since
15263 that's usual style. (Bug#4612)
15264
15265 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15266
15267 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15268
15269 * minibuffer.el (completion-table-with-terminator): Properly implement
15270 boundaries, in case `terminator' appears in the suffix.
15271 (completion--embedded-envvar-table): Don't return boundaries if
15272 there's no valid completion. Simplify.
15273 (completion-file-name-table): New completion table extracted from
15274 completion--file-name-table.
15275 (completion--file-name-table): Use it.
15276 (read-file-name-predicate): Declare obsolete.
15277 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15278 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15279 completion-file-name-table, and use the `pred' argument.
15280 * files.el (locate-file-completion-table): Use the `pred' arg rather
15281 than read-file-name-predicate.
15282 (abbreviate-file-name): Use \` rather than ^ for BOS.
15283
15284 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15285
15286 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15287 vc-responsible-backend to register, it causes problems.
15288
15289 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15292
15293 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15294
15295 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15296 (tramp-smb-handle-file-attributes): Use it.
15297 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15298 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15299 `mapcar'. Use `tramp-smb-get-stat-capability'.
15300 Add `dired-filename' text properties.
15301 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15302 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15303 version.
15304
15305 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15306
15307 * subr.el (read-key-delay): Reduce to 0.01.
15308 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15309 (bug#4751).
15310
15311 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15312
15313 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15314
15315 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15316 (Info-menu): Remove unused vars `last' and `completions'.
15317 (Info-index-nodes): Remove unused var `node'.
15318
15319 * info.el (Info-complete-menu-item): Use complete-with-action.
15320
15321 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15322
15323 Make vc-annotate work through copies and renames.
15324 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15325 Return the file name too.
15326 (vc-annotate-revision-at-line)
15327 (vc-annotate-find-revision-at-line)
15328 (vc-annotate-revision-previous-to-line)
15329 (vc-annotate-show-log-revision-at-line): Update to get the file
15330 name from vc-annotate-extract-revision-at-line.
15331 (vc-annotate-show-diff-revision-at-line-internal): Change the
15332 argument to mean whether to show a file diff or not. Get the file
15333 name from vc-annotate-extract-revision-at-line.
15334 (vc-annotate-show-diff-revision-at-line):
15335 Update vc-annotate-show-diff-revision-at-line call.
15336 (vc-annotate-warp-revision): Add an optional file argument.
15337
15338 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15339 (vc-git-annotate-extract-revision-at-line): Also return the file
15340 name if found.
15341
15342 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15343 command. Remove unused code.
15344 (vc-hg-annotate-re): Update to match --follow output.
15345 (vc-hg-annotate-extract-revision-at-line): Also return the file
15346 name if found.
15347
15348 * vc.el: Update annotate-extract-revision-at-line documentation.
15349
15350 2009-10-18 Kevin Ryde <user42@zip.com.au>
15351
15352 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15353 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15354
15355 * net/browse-url.el (browse-url): Identify alist with "consp and
15356 not functionp" and let all other things go down the `apply' leg,
15357 as suggested by Stefan. (Further to bug#4531.)
15358
15359 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15360
15361 * minibuffer.el (read-file-name): Check for repeat before putting
15362 a default argument in file-name-history (Bug#4657).
15363
15364 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15365 read syntax (Bug#4737).
15366
15367 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15368
15369 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15370
15371 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15372 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15373 entries and make note of obsolete tags.
15374
15375 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15376
15377 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15378
15379 2009-10-18 Glenn Morris <rgm@gnu.org>
15380
15381 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15382 grep, so that binary files (eg international/uni-bidi.el) can match.
15383 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15384 now, and in any case the file header format has changed.
15385
15386 2009-10-17 Glenn Morris <rgm@gnu.org>
15387
15388 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15389 (flyspell-get-word, flyspell-large-region)
15390 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15391
15392 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15393
15394 * Makefile.in (ELCFILES): Add ede/shell.
15395
15396 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15397
15398 * term/common-win.el (x-colors): Purecopy it.
15399
15400 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15401
15402 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15403 permissive for when the buffer is empty.
15404 (tar-header-block-tokenize): Decode the username and groupname.
15405 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15406
15407 2009-10-17 Eric Ludlam <zappo@gnu.org>
15408
15409 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15410 contains multibyte characters, choose first applicable coding
15411 system automatically.
15412
15413 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15414
15415 * international/mule-cmds.el (select-safe-coding-system): If the file
15416 has a coding cookie, use it regardless of any other setting (bug#4712).
15417
15418 2009-10-17 Glenn Morris <rgm@gnu.org>
15419
15420 * foldout.el (foldout-mouse-swallow-events):
15421 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15422
15423 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15424 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15425 (dired-keep-marker-symlink, dired-dwim-target)
15426 (dired-copy-preserve-time): Do not autoload these defcustoms.
15427
15428 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15429 messages from messing up the file coding. (Bug#4623)
15430
15431 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15432
15433 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15434 if no match is found for the current dictionary. (Bug#4578)
15435
15436 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15437 optional, since that is how it is documented, and this is often called
15438 with a nil argument. (Bug#4577)
15439 (flyspell-external-point-words, flyspell-auto-correct-word)
15440 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15441 (flyspell-word-search-backward): Remove nil argument in calls to
15442 flyspell-get-word, since it is not needed now.
15443
15444 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15445
15446 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15447
15448 2009-10-16 Glenn Morris <rgm@gnu.org>
15449
15450 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15451
15452 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15453
15454 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15455 (ange-ftp-file-size): New function.
15456 (ange-ftp-file-attributes): Use it.
15457
15458 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15459
15460 * net/tramp-smb.el (tramp-smb-version): New defvar.
15461 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15462 repeated checks.
15463
15464 2009-10-16 Glenn Morris <rgm@gnu.org>
15465
15466 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15467 Maybe copy some custom properties from old to new name. (Bug#4706)
15468
15469 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15470
15471 * subr.el (error, sit-for, start-process-shell-command)
15472 (start-file-process-shell-command): Set the calling convention
15473 after the function definition.
15474
15475 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15476
15477 * subr.el (error, sit-for, start-process-shell-command)
15478 (start-file-process-shell-command): Use the new
15479 set-advertised-calling-convention feature.
15480
15481 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15482
15483 * international/ucs-normalize.el (ucs-normalize-version):
15484 Change to 1.2.
15485 (check-range): Adjust for Unicode 5.2.
15486
15487 2009-10-15 Juri Linkov <juri@jurta.org>
15488
15489 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15490 to the `menu-item' format.
15491
15492 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15493
15494 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15495 if the environment variable does not exist.
15496
15497 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15498 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15499 parameter.
15500 (tramp-smb-handle-add-name-to-file)
15501 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15502 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15503 (tramp-smb-handle-file-attributes)
15504 (tramp-smb-do-file-attributes-with-stat)
15505 (tramp-smb-handle-file-local-copy)
15506 (tramp-smb-handle-insert-directory)
15507 (tramp-smb-handle-make-directory)
15508 (tramp-smb-handle-make-directory-internal)
15509 (tramp-smb-handle-make-symbolic-link)
15510 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15511 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15512 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15513 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15514 Handle long file names.
15515 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15516 process is running.
15517 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15518 Read share names with "-g" option.
15519
15520 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15521
15522 * net/rcirc.el (rcirc-view-log-file): New command.
15523 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15524 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15525 specified.
15526
15527 2009-10-15 Glenn Morris <rgm@gnu.org>
15528
15529 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15530 from the second command-line argument.
15531 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15532 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15533 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15534 w32-batch-update-autoloads.
15535 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15536 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15537
15538 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15539 the headers cannot be located. Simplify, subtracting superflous
15540 save-excursions.
15541
15542 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15543
15544 Replace completion-base-size by completion-base-position to fix bugs
15545 such as (bug#4699).
15546 * simple.el (completion-base-position): New var.
15547 (completion-base-size): Mark as obsolete.
15548 (choose-completion): Make it work for mouse events as well.
15549 Pass the new base-position to choose-completion-string.
15550 (choose-completion-guess-base-position): New function, extracted from
15551 choose-completion-delete-max-match.
15552 (choose-completion-delete-max-match): Use it. Make obsolete.
15553 (choose-completion-string): Use the new base-position info.
15554 (completion-root-regexp): Delete.
15555 (completion-setup-function): Preserve completion-base-position.
15556 Eliminate obsolete base-size manipulation.
15557 * minibuffer.el (display-completion-list): Don't mess with base-size.
15558 (minibuffer-completion-help): Set completion-base-position instead.
15559 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15560 choose-completion.
15561 * textmodes/bibtex.el (bibtex-complete):
15562 * emacs-lisp/crm.el (crm--choose-completion-string):
15563 Adjust to new calling convention.
15564 * complete.el (partial-completion-mode): Use minibufferp to avoid
15565 bumping into incompatible change to choose-completion-string-functions.
15566 * ido.el (ido-choose-completion-string): Make its calling convention
15567 more permissive.
15568 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15569 base-size manipulation.
15570 (comint-dynamic-list-input-ring): Use dotimes and push.
15571 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15572 fundamental-mode. Use `or'.
15573
15574 2009-10-14 Juri Linkov <juri@jurta.org>
15575
15576 * misearch.el (multi-isearch-next-buffer-from-list)
15577 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15578
15579 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15580
15581 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15582 `bytecomp.el'.
15583
15584 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15585 string we return is all made up of text from the completions rather
15586 than part from the completions and part from the input (bug#4219).
15587
15588 * ido.el (ido-everywhere): Use define-minor-mode.
15589
15590 * buff-menu.el (list-buffers, ctl-x-map):
15591 Mark the entry points with ;;;###autoload cookies.
15592
15593 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15594
15595 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15596 correctly in the detached head case.
15597 (vc-git-print-log): Remove unused binding.
15598
15599 * vc.el (vc-responsible-backend): When a directory is passed for
15600 for registration create a VC repository if no backend is
15601 responsible for the directory argument.
15602 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15603
15604 * vc.el: Move comments about RCS and SCCS ...
15605 * vc-rcs.el:
15606 * vc-sccs.el: ... here, respectively.
15607
15608 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15609
15610 * minibuffer.el (completion--file-name-table): Return nil if there's
15611 no file completion, even if substitute-in-file-name changed
15612 the string (bug#4708).
15613
15614 2009-10-13 Juri Linkov <juri@jurta.org>
15615
15616 * files-x.el (read-file-local-variable-value): Don't filter out
15617 minor modes from mode name completion (bug#4664).
15618
15619 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15620
15621 * international/mule-cmds.el (ucs-names): Remove exclusion of
15622 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15623
15624 2009-10-13 Kenichi Handa <handa@m17n.org>
15625
15626 * international/uni-name.el: Regenerated.
15627
15628 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15629
15630 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15631 should be automatically buffer-local, but isn't.)
15632
15633 2009-10-12 Sam Steingold <sds@gnu.org>
15634
15635 * progmodes/compile.el (compilation-next-error-function): Fix the
15636 timestamps if the buffer has been visited before.
15637 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15638 non-anchored patterns, like the perl one (bug#3928).
15639
15640 2009-10-12 Glenn Morris <rgm@gnu.org>
15641
15642 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15643 Let-bind `size'.
15644
15645 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15646
15647 * proced.el (proced-unload-function): New function.
15648
15649 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15650 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15651 Doc fix.
15652
15653 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15654
15655 2009-10-11 Juri Linkov <juri@jurta.org>
15656
15657 * files-x.el (read-file-local-variable-value):
15658 Provide default value only for bound variables (bug#4664).
15659
15660 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15661
15662 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15663 connection methods like smb.
15664
15665 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15666 can be empty.
15667
15668 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15669 (tramp-smb-file-name-handler-alist): Add handlers for
15670 `add-name-to-file', `make-symbolic-link'.
15671 (tramp-smb-handle-add-name-to-file)
15672 (tramp-smb-do-file-attributes-with-stat)
15673 (tramp-smb-handle-make-symbolic-link)
15674 (tramp-smb-get-cifs-capabilities): New defuns.
15675 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15676 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15677 (tramp-smb-handle-file-local-copy)
15678 (tramp-smb-handle-make-directory-internal)
15679 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15680 The file name syntax depends on cifs capabilities.
15681 (tramp-smb-handle-file-attributes):
15682 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15683 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15684 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15685
15686 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15687
15688 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15689 (eieio-defclass): Apply deftype handler and setf-method properties
15690 directly.
15691 (eieio-add-new-slot): Avoid union function from cl library.
15692 (eieio--typep): New function.
15693 (eieio-perform-slot-validation): Use it.
15694
15695 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15696
15697 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15698 Update documentation to refer to the variables documented in r1.135.
15699 (Bug#4188)
15700
15701 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15702
15703 * bookmark.el (Info-suffix-list): Remove this unused variable.
15704 (bookmark-current-point): Remove this obsolete variable.
15705 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15706 Adjust for removal of bookmark-current-point.
15707
15708 (bookmarks-already-loaded, bookmark-current-buffer)
15709 (bookmark-yank-point): Document. (Bug#4188)
15710
15711 2009-10-10 Glenn Morris <rgm@gnu.org>
15712
15713 * frame.el (frame-height): Doc fix.
15714
15715 * calendar/calendar.el (calendar-split-width-threshold): New option.
15716 (calendar-basic-setup): Use calendar-split-width-threshold.
15717
15718 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15719
15720 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15721 Ideographic Supplement" range (U+1F200..U+1F2FF).
15722
15723 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15724
15725 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15726 since the list will have been rebuilt anyway. (Bug#4349)
15727
15728 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15729
15730 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15731 (bookmark-bmenu-execute-deletions): Don't save here, as
15732 bookmark-delete will now do so if necessary.
15733 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15734 (Bug#4348)
15735
15736 2009-10-09 Glenn Morris <rgm@gnu.org>
15737
15738 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15739
15740 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15741
15742 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15743 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15744 argument now, so the two function's behaviors will match. (Bug#3645)
15745
15746 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15747
15748 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15749 (tramp-file-name-real-host, tramp-file-name-port):
15750 Apply `save-match-data'.
15751
15752 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15753 case both directories are remote.
15754 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15755 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15756
15757 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15758
15759 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15760
15761 2009-10-07 Glenn Morris <rgm@gnu.org>
15762
15763 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15764 of concat.
15765
15766 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15767
15768 * files-x.el (read-file-local-variable): Include some
15769 non-user-variables in the completion table (bug#4664).
15770
15771 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15772
15773 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15774 message.
15775
15776 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15777 (tramp-smb-file-name-handler-alist): Add handler for
15778 `copy-directory', `expand-file-name', `set-file-modes'.
15779 (tramp-smb-handle-copy-directory)
15780 (tramp-smb-handle-expand-file-name)
15781 (tramp-smb-handle-set-file-modes): New defuns.
15782 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15783 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15784 entry.
15785 (tramp-smb-handle-insert-directory): Don't flush the cache.
15786 (tramp-smb-maybe-open-connection): Check for samba client and
15787 server versions.
15788
15789 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15790
15791 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15792 to not error out of search for "^lisp=" fails.
15793
15794 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15795
15796 * makefile.w32-in (WINS_UPDATES): New macro.
15797 (custom-deps, finder-data, autoloads): Use it.
15798
15799 2009-10-07 Glenn Morris <rgm@gnu.org>
15800
15801 * Makefile.in (autoloads): Revert previous change.
15802 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15803 the list of preloaded files passed on the command-line, get
15804 it from src/Makefile.
15805
15806 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15807 show the original buffer rather than a random one.
15808
15809 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15810
15811 * help.el (describe-no-warranty): Place point in a slightly better
15812 position in the GPLv3 text.
15813
15814 2009-10-06 Sam Steingold <sds@gnu.org>
15815
15816 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15817 the comm attribute is present before calling regexp-quote.
15818
15819 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15820
15821 * play/animate.el (animate-string): For good effect, make sure
15822 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15823
15824 * play/animate.el (animate-sequence, animate-birthday-present):
15825 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15826
15827 2009-10-06 Glenn Morris <rgm@gnu.org>
15828
15829 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15830
15831 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15832 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15833 (batch-update-autoloads): Process a string value of autoload-excludes,
15834 set during the build process.
15835 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15836
15837 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15838 inside with-parsed... macro so that `v' is defined.
15839
15840 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15841 * progmodes/fortran.el (fortran-end-of-block)
15842 (fortran-beginning-of-block):
15843 Also push mark in the macro case.
15844
15845 * emerge.el (emerge-show-file-name):
15846 * calc/calc.el (calc-quit):
15847 * calc/calc-misc.el (calc-big-or-small):
15848 * calc/calc-graph.el (calc-graph-view):
15849 * calc/calc-ext.el (calc-reset):
15850 * calendar/calendar.el (calendar-basic-setup):
15851 Use window-full-height-p.
15852
15853 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15854 header we don't understand, don't insert another. (Bug#4624)
15855 If changing mime charset, insert the new one in the right place.
15856
15857 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15858
15859 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15860 (cal-tex-cursor-month): Correctly increment the end date for diary and
15861 holiday listing. (Bug#4626)
15862
15863 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 * help-fns.el (describe-function-1): Don't burp if the function is not
15866 a symbol.
15867
15868 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15869
15870 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15871 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15872 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15873 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15874
15875 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15876 (eieio-default-superclass): Reflow docstrings.
15877 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15878 (eieio-unbind-method-implementations, defmethod)
15879 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15880 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15881 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15882 (eieio-slot-originating-class-p, eieio-slot-name-index)
15883 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15884 (constructor, initialize-instance, no-next-method, object-print)
15885 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15886 Fix typos in docstrings.
15887 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15888 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15889 (next-method-p): Doc fixes.
15890 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15891 Fix typos in error messages.
15892 (eieio-defmethod): Fix typo in description of generic method.
15893
15894 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15895 (eieio-persistent-save-interactive, slot-missing):
15896 Fix typos in docstrings.
15897 (eieio-instance-inheritor-slot-boundp): Doc fix.
15898
15899 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15900 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15901
15902 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15903 (eieio-custom-object-apply-reset):
15904 Fix typos in docstrings and error messages.
15905
15906 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15907 Fix typo in docstring.
15908
15909 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15910 (eieio-browse-tree): Doc fix.
15911 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15912 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15913 Fix typos in docstrings.
15914
15915 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15916 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15917 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15918 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15919 Reflow docstrings.
15920
15921 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15922
15923 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15924 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15925 Set log-view-vc-backend so that diff can work.
15926
15927 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15928 vc-version-diff.
15929 (vc-diff-internal): Autoload this instead of vc-version-diff.
15930
15931 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15932
15933 * simple.el (eval-expression): Doc fix.
15934
15935 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15936
15937 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15938
15939 * files.el (directory-files-no-dot-files-regexp): New defconst.
15940 (delete-directory): Use it.
15941 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15942
15943 * net/tramp.el (tramp-verbose): Fix docstring.
15944 (tramp-methods): Add recursive option to `tramp-copy-args'.
15945 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15946 "scp1_old", "scp2_old", "rsync", "rsyncc".
15947 (tramp-default-method): Check also for `auth-source-user-or-password'.
15948 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15949 Add handler for `copy-directory'.
15950 (tramp-handle-copy-directory): New defun.
15951 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15952 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15953 Optimize sent command.
15954
15955 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15956
15957 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15958 window if necessary.
15959
15960 * calendar/calendar.el (calendar-basic-setup): Don't call
15961 switch-to-buffer in a dedicated window.
15962
15963 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15964
15965 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15966 don't do anything related to relocating, just return nil.
15967 (bookmark-error-no-filename): New error.
15968 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15969 bookmark has no file. Don't even attempt to handle things that
15970 are not files; the whole point of custom handlers is to keep that
15971 knowledge elsewhere anyway. Tighten some comments.
15972 (bookmark-file-or-variation-thereof): Remove now-unused function.
15973 (bookmark-location): Doc string fix.
15974 (Bug#4250)
15975
15976 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15977
15978 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15979 don't use a file dialog, because they usually don't know how to read
15980 a directory target from the user. (Bug#4230)
15981 Also, make sure the prompt can display directories as well as files.
15982
15983 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15984
15985 * bookmark.el (bookmark-set, bookmark-buffer-name):
15986 Improve doc strings. (Bug#1193)
15987
15988 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15989
15990 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15991 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15992 (bookmark-get-annotation, bookmark-set-annotation)
15993 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15994 (bookmark-set-position, bookmark-get-front-context-string)
15995 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15996 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15997 (bookmark-jump-other-window, bookmark-handle-bookmark)
15998 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15999 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16000 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16001 Improve doc strings to say whether bookmark can be a string or
16002 a record or both, and make other consistency and clarity fixes.
16003 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16004 (bookmark-default-annotation-text, bookmark-yank-word)
16005 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16006 (bookmark-import-new-list, bookmark-maybe-rename)
16007 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16008 (bookmark-bmenu-bookmark): Give these doc strings.
16009 (bookmark-bmenu-check-position): Give this a doc string, but also
16010 add a FIXME comment about how the function may be pointless.
16011 (bookmark-default-handler): Rework doc string and change a
16012 parameter name, to clarify that this takes a bookmark record
16013 not a bookmark name.
16014 (bookmark-set): Change a parameter name to indicate its meaning,
16015 and improve the doc string a bit.
16016 (Bug#4188)
16017
16018 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16019
16020 * bookmark.el (bookmark-alist): Document the new `handler' element
16021 in the param alist.
16022 (bookmark-make-record-function): Adjust documentation for above.
16023 (Bug#4193)
16024
16025 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16026
16027 * info.el (Info-bookmark-make-record): Document this function.
16028 (Info-bookmark-jump): Document with a doc string, not just a comment.
16029 (Bug#4203)
16030
16031 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16032
16033 * files.el (copy-directory): New defun.
16034
16035 * dired-aux.el (dired-copy-file-recursive): Use it.
16036
16037 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16038
16039 * files-x.el (modify-dir-local-variable)
16040 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16041 docstrings.
16042
16043 * recentf.el (recentf-unload-function): New function.
16044
16045 2009-10-04 Glenn Morris <rgm@gnu.org>
16046
16047 * window.el (window-full-height-p): Add doc string.
16048
16049 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16050
16051 * window.el (window-full-height-p): New function. (Bug#4543)
16052
16053 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16054
16055 * vc.el: Remove commented out code.
16056 (vc-derived-from-dir-mode): Remove, unused.
16057 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16058
16059 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16060
16061 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16062 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16063 there could be recursive loading when `default-directory' is a
16064 remote file name. (Bug#4614)
16065
16066 2009-10-03 Glenn Morris <rgm@gnu.org>
16067
16068 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16069 the frame is wide.
16070 (calendar-generate-window): Test for shrinkability rather than width.
16071
16072 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16073 reusing existing buffers, in case we happen to visit two files with the
16074 same basename. (Bug#4593)
16075
16076 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16077
16078 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16079 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16080 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16081 subdirs of cedet as well.
16082 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16083
16084 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16085
16086 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16087 Obey advertised-signature-table.
16088
16089 * help-fns.el (help-function-arglist): Don't check
16090 advertised-signature-table.
16091 (describe-function-1): Do it here instead so it also applies to subrs.
16092
16093 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16094
16095 * simple.el (start-file-process): Say in the doc-string, that file
16096 handlers might not support pty association, if PROGRAM is nil.
16097
16098 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16099 HOST and USER are strings. They are nil, when there are
16100 incomplete entries in ~/.netrc, for example.
16101 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16102 root directory ("device busy" error otherwise).
16103
16104 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16105 Flush file properties of created directory.
16106
16107 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16108
16109 * makefile.w32-in (WINS_BASIC): Remove cedet.
16110 (WINS_CEDET): Add cedet.
16111 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16112
16113 2009-10-02 Kevin Ryde <user42@zip.com.au>
16114
16115 * net/browse-url.el (browse-url): Pass any symbol in
16116 browse-url-browser-function to `apply', since if you've mistakenly put
16117 an unbound symbol then the error is clearer. (Bug#4531)
16118
16119 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16120
16121 * allout.el (allout-init, allout-back-to-current-heading)
16122 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16123 (allout-ascend, allout-up-current-level, allout-end-of-level)
16124 (allout-previous-visible-heading, allout-forward-current-level)
16125 (allout-backward-current-level, allout-show-children):
16126 * apropos.el (apropos-describe-plist):
16127 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16128 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16129 * completion.el (add-completion, add-permanent-completion):
16130 * descr-text.el (describe-text-category, describe-char):
16131 * desktop.el (desktop-lazy-abort):
16132 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16133 * dired.el (dired-build-subdir-alist):
16134 * ediff.el (ediff-version):
16135 * elide-head.el (elide-head, elide-head-show):
16136 * emerge.el (emerge-version):
16137 * env.el (getenv):
16138 * face-remap.el (variable-pitch-mode):
16139 * faces.el (describe-face):
16140 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16141 (dired-at-point):
16142 * files.el (find-file-existing, auto-save-mode):
16143 * font-lock.el (font-lock-fontify-buffer):
16144 * help-fns.el (describe-function, describe-variable)
16145 (describe-syntax, describe-categories):
16146 * help.el (view-lossage, describe-bindings, describe-key)
16147 (describe-mode):
16148 * hexl.el (hexl-current-address):
16149 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16150 * info.el (Info-goto-emacs-key-command-node):
16151 * log-edit.el (log-edit-insert-cvs-template)
16152 (log-edit-insert-cvs-rcstemplate):
16153 * menu-bar.el (menu-bar-mode):
16154 * mouse.el (mouse-appearance-menu):
16155 * newcomment.el (comment-indent-new-line):
16156 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16157 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16158 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16159 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16160 * recentf.el (recentf-mode):
16161 * savehist.el (savehist-mode, savehist-save):
16162 * shadowfile.el (shadow-copy-files):
16163 * simple.el (kill-ring-save, next-line, previous-line)
16164 (normal-erase-is-backspace-mode):
16165 * strokes.el (strokes-update-window-configuration)
16166 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16167 (strokes-xpm-for-stroke):
16168 * time.el (emacs-uptime, emacs-init-time):
16169 * tutorial.el (tutorial--describe-nonstandard-key)
16170 (tutorial--detailed-help):
16171 * type-break.el (type-break-mode)
16172 (type-break-mode-line-message-mode, type-break-query-mode)
16173 (type-break-guesstimate-keystroke-threshold):
16174 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16175 * version.el (emacs-version):
16176 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16177 * winner.el (winner-mode):
16178 * calendar/timeclock.el (timeclock-in, timeclock-out)
16179 (timeclock-status-string, timeclock-change)
16180 (timeclock-workday-remaining-string)
16181 (timeclock-workday-elapsed-string)
16182 (timeclock-when-to-leave-string):
16183 * calendar/todo-mode.el (todo-add-category):
16184 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16185 * emacs-lisp/autoload.el (update-file-autoloads):
16186 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16187 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16188 (checkdoc-message-text, checkdoc-defun):
16189 * emacs-lisp/debug.el (debugger-list-functions):
16190 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16191 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16192 (eieio-describe-generic):
16193 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16194 * emacs-lisp/shadow.el (list-load-path-shadows):
16195 * emulation/cua-base.el (cua-mode):
16196 * emulation/edt.el (edt-set-scroll-margins):
16197 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16198 (tpu-toggle-regexp, tpu-toggle-search-direction)
16199 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16200 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16201 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16202 (viper-set-parsing-style-toggling-macro)
16203 (viper-set-emacs-state-searchstyle-macros):
16204 * emulation/viper.el (viper-set-hooks):
16205 * eshell/esh-mode.el (eshell-truncate-buffer):
16206 * international/mule-cmds.el (prefer-coding-system)
16207 (describe-input-method, describe-language-environment):
16208 * international/mule-diag.el (list-character-sets)
16209 (describe-character-set, describe-coding-system)
16210 (describe-fontset, list-fontsets, list-input-methods):
16211 * mail/sendmail.el (mail-signature):
16212 * net/ange-ftp.el (ange-ftp-copy-file):
16213 * net/browse-url.el (browse-url):
16214 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16215 * net/quickurl.el (quickurl-add-url):
16216 * net/rcirc.el (names, topic):
16217 * net/xesam.el (xesam-mode):
16218 * play/5x5.el (5x5-new-game):
16219 * play/yow.el (apropos-zippy):
16220 * progmodes/ada-mode.el (ada-mode-version):
16221 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16222 (f90-end-of-block)
16223 (f90-beginning-of-block):
16224 * progmodes/fortran.el (fortran-end-of-block)
16225 (fortran-beginning-of-block):
16226 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16227 * progmodes/python.el (python-describe-symbol, python-shell):
16228 * term/ns-win.el (ns-print-buffer):
16229 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16230 * textmodes/flyspell.el (flyspell-mode-on):
16231 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16232 (pages-directory-for-addresses):
16233 * textmodes/table.el (table-recognize-cell)
16234 (table-query-dimension, table-generate-source)
16235 (table-insert-sequence, table--warn-incompatibility):
16236 * textmodes/tex-mode.el (tex-validate-buffer):
16237 * textmodes/texinfmt.el (texinfmt-version)
16238 (texinfo-format-buffer):
16239 Use `called-interactively-p' instead of `interactive-p'.
16240
16241 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16242
16243 * image-mode.el (image-toggle-display):
16244 * emacs-lisp/elp.el (elp-instrument-function):
16245 * emacs-lisp/advice.el (ad-make-advised-definition):
16246 * emacs-lisp/easy-mmode.el (define-minor-mode):
16247 * net/browse-url.el (browse-url-maybe-new-window):
16248 * progmodes/sh-script.el (sh-learn-buffer-indent):
16249 Pass new argument 'any to `called-interactively-p'.
16250
16251 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16252
16253 * international/uni-bidi.el:
16254 * international/uni-category.el:
16255 * international/uni-combining.el:
16256 * international/uni-comment.el:
16257 * international/uni-decimal.el:
16258 * international/uni-decomposition.el:
16259 * international/uni-digit.el:
16260 * international/uni-lowercase.el:
16261 * international/uni-mirrored.el:
16262 * international/uni-name.el:
16263 * international/uni-numeric.el:
16264 * international/uni-old-name.el:
16265 * international/uni-titlecase.el:
16266 * international/uni-uppercase.el:
16267 Regenerate from Unicode 5.2.0 data.
16268
16269 2009-10-01 Glenn Morris <rgm@gnu.org>
16270
16271 * Makefile.in (ELCFILES): Regenerate.
16272
16273 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16274
16275 * subr.el (interactive-p): Mark obsolete.
16276 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16277 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16278 advertised-signature-table for subroutines as well.
16279
16280 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16281 (set-advertised-calling-convention): New function.
16282 (make-obsolete, define-obsolete-function-alias)
16283 (make-obsolete-variable, define-obsolete-variable-alias):
16284 Make the optional-ness of `when' obsolete.
16285 (define-obsolete-face-alias): Make `when' non-optional.
16286 * help-fns.el (help-function-arglist):
16287 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16288 Use advertised-signature-table.
16289
16290 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16291
16292 * files.el (delete-directory): New defun. The original function
16293 in fileio.c has been renamed to `delete-directory-internal'.
16294
16295 * dired.el (dired-delete-file): Call `delete-directory' with
16296 RECURSIVE parameter.
16297
16298 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16299 parameter RECURSIVE. Implementation is missing.
16300
16301 * net/tramp.el (tramp-handle-make-directory): Flush upper
16302 directory's file properties.
16303 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16304 (tramp-handle-dired-recursive-delete-directory): Flush directory
16305 properties after the remove command only.
16306
16307 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16308 Handle optional parameter RECURSIVE.
16309
16310 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16311 Handle optional parameter RECURSIVE.
16312
16313 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16314 connection timeout.
16315 (tramp-smb-handle-delete-directory): Handle optional parameter
16316 RECURSIVE.
16317
16318 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16319
16320 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16321 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16322 (byte-compile-defmacro): Use backquotes.
16323
16324 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16325
16326 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16327 has no associated file.
16328 (vc-resynch-buffer): Use vc-dir-buffers.
16329
16330 2009-10-01 Glenn Morris <rgm@gnu.org>
16331
16332 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16333 (chart-file-count):
16334 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16335 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16336 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16337 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16338 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16339 (eieio-copy-parents-into-subclass, make-instance, class-children)
16340 (eieio-generic-form):
16341
16342 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16343 match-data. (Bug#4555).
16344
16345 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16346 rather than parsing it as a regexp. This relaxes the layout
16347 requirements and makes errors easier to detect.
16348 (check-declare-verify): Check file is regular.
16349 (check-declare-directory): Doc fix.
16350 * subr.el (declare-function): Doc fix.
16351
16352 * ibuffer.el (ibuffer-format-qualifier):
16353 * isearch.el (hi-lock-regexp-okay):
16354 * calc/calc.el (math-zerop):
16355 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16356 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16357 Remove unused declarations.
16358
16359 2009-09-30 Eric Ludlam <zappo@gnu.org>
16360
16361 * emacs-lisp/eieio.el (boolean-p): Delete.
16362
16363 2009-09-30 Glenn Morris <rgm@gnu.org>
16364
16365 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16366
16367 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16368 filename is not a string.
16369
16370 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16371
16372 * files.el (safe-local-eval-forms): Fix typo.
16373
16374 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16375
16376 * vc-hooks.el (vc-dir-buffers): New var.
16377 (vc-state-refresh): New function.
16378 (vc-state): Use it.
16379 (vc-after-save): Always ask the backend to recompute the new state.
16380 Always call vc-dir if necessary, using vc-dir-buffers.
16381 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16382 Use vc-dir-buffers.
16383 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16384 (vc-dir-prepare-status-buffer, vc-dir-update)
16385 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16386 Don't call expand-file-name on default-directory.
16387
16388 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16389
16390 * speedbar.el (speedbar-item-delete):
16391 * calc/calc-prog.el (calc-kbd-if):
16392 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16393
16394 * epa.el (epa-key-list-mode-map):
16395 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16396
16397 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16398 (hs-show-hook): Fix typo in docstring.
16399
16400 2009-09-29 Glenn Morris <rgm@gnu.org>
16401
16402 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16403 file-name-nondirectory call preventing location of cedet files.
16404 (check-declare-verify): Use literal search rather than re-search.
16405 Add basic defmethod and defclass, and define-overloadable-function.
16406
16407 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16408 Use tramp-compat-file-attributes rather than nonexistent
16409 tramp-compat-handle-file-attributes.
16410
16411 * Makefile.in (lisptagsfiles4): New.
16412 (AUTOGENEL): Add cedet loaddefs files.
16413 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16414 (update-elclist, compile-always, backup-compiled-files)
16415 (bootstrap-clean): Add yet another directory level.
16416 (update-elclist): Use LC_COLLATE rather than COLLATE.
16417 (ELCFILES): Update, via `make update-elclist'.
16418
16419 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16420
16421 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16422 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16423 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16424
16425 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16426
16427 * Makefile.in (lisptagsfiles3): Define.
16428 (TAGS, TAGS-LISP): Use it.
16429 (update-elclist): Add third directory level to look for elc files.
16430 (compile-always): Likewise.
16431 (backup-compiled-files): Likewise.
16432 (bootstrap-clean): Likewise.
16433 (ELCFILES): Update.
16434
16435 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16436
16437 * Makefile.in (ELCFILES): Add CEDET files.
16438
16439 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16440
16441 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16442
16443 * net/tramp.el (top): Require tramp-imap.
16444
16445 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16446 Use `tramp-compat-handle-file-attributes'.
16447
16448 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16449
16450 * net/tramp-imap.el: New package.
16451
16452 2009-09-28 Eric Ludlam <zappo@gnu.org>
16453
16454 * emacs-lisp/chart.el:
16455 * emacs-lisp/eieio-base.el:
16456 * emacs-lisp/eieio-comp.el:
16457 * emacs-lisp/eieio-custom.el:
16458 * emacs-lisp/eieio-datadebug.el:
16459 * emacs-lisp/eieio-opt.el:
16460 * emacs-lisp/eieio-speedbar.el:
16461 * emacs-lisp/eieio.el: New files.
16462
16463 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16464
16465 * whitespace.el (whitespace-trailing-regexp)
16466 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16467 Fix doc string.
16468
16469 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16470
16471 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16472 menu.
16473
16474 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16475 menu-bar-ediff-menu.
16476
16477 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16478 define-overloadable-function.
16479
16480 * progmodes/autoconf.el: Provide autoconf as well, so that this
16481 file can be `require'd.
16482
16483 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16484
16485 * emacs-lisp/autoload.el (generated-autoload-feature)
16486 (generated-autoload-load-name): New vars.
16487 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16488 (make-autoload): Recognize define-overloadable-function and
16489 defclass forms (for EIEIO).
16490
16491 * Makefile.in (update-subdirs): Exclude cedet directory.
16492
16493 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16494
16495 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16496
16497 * faces.el: Default light-background background for region face to
16498 ns_selection_color under NS.
16499
16500 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16501
16502 * net/imap-hash.el: New library, see NEWS.
16503
16504 * Makefile.in (ELCFILES): Add imap-hash.el.
16505
16506 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16507
16508 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16509 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16510 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16511 definition where the docstring could be taken for the return value.
16512
16513 2009-09-26 Glenn Morris <rgm@gnu.org>
16514
16515 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16516 Add option to only show images below a certain size.
16517 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16518 save-excursion calls.
16519
16520 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16521
16522 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16523 subdirectories) and eieio.
16524
16525 2009-09-26 Alan Mackenzie <acm@muc.de>
16526
16527 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16528 Correct buggy bracketing. (Bug#4289)
16529
16530 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16531 character constants (as case labels). (Bug#4289)
16532
16533 2009-09-25 Juri Linkov <juri@jurta.org>
16534
16535 * files.el (safe-local-eval-forms): Allow time-stamp in
16536 before-save-hook (Bug#4554).
16537
16538 2009-09-25 Drew Adams <drew.adams@oracle.com>
16539
16540 * menu-bar.el (list-buffers-directory): Doc fix.
16541
16542 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16543
16544 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16545 Try and avoid copying twice the same paragraph.
16546 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16547 Remove save-excursion.
16548 (log-edit-changelog-entry): Do it here instead.
16549
16550 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16551
16552 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16553 when available, instead of hardcoding mode names. Doc fix.
16554
16555 * menu-bar.el (list-buffers-directory): Add docstring.
16556 Make automatically buffer-local.
16557
16558 * dired.el (dired-mode):
16559 * files.el (cd-absolute):
16560 * pcvs.el (cvs-temp-buffer):
16561 * pcvs-util.el (cvs-get-buffer-create):
16562 * shell.el (shell-mode):
16563 * vc-dir.el (vc-dir-mode):
16564 Don't make `list-buffers-directory' buffer local.
16565
16566 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16567
16568 * comint.el (comint-exec, comint-run, make-comint):
16569 Doc fixes (Bug#4542).
16570
16571 2009-09-25 Glenn Morris <rgm@gnu.org>
16572
16573 * mail/rmailmm.el (rmail-mime): New custom group.
16574 Move all defcustoms in this file into this group.
16575 (rmail-mime-media-type-handlers-alist): Revert previous change.
16576 (rmail-mime-show-images): New option.
16577 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16578 references to it, since it wasn't actually used for anything.
16579 (rmail-mime-insert-image): New function.
16580 (rmail-mime-image): Use rmail-mime-insert-image.
16581 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16582 obey the value of `rmail-mime-show-images' option. Print the size of
16583 attachments.
16584
16585 2009-09-25 David Engster <deng@randomsample.de>
16586
16587 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16588
16589 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16590
16591 * whitespace.el: Does not highlight trailing spaces While point is
16592 at end of line. Does not highligt spaces at beginning of buffer
16593 while point is at beginning of buffer. Does not highlight spaces
16594 at end of buffer while point is at end of buffer. (Bug#4177)
16595 New version 12.0.
16596 (whitespace-display-mappings): Adjust initialization.
16597 (whitespace-point, whitespace-font-lock-refontify): New vars.
16598 (whitespace-color-on, whitespace-color-off): Adjust code.
16599 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16600 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16601 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16602
16603 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16604
16605 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16606
16607 * textmodes/sgml-mode.el: Remove xml-mode alias.
16608
16609 * files.el (auto-mode-alist, conf-mode-maybe)
16610 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16611
16612 2009-09-24 Alan Mackenzie <acm@muc.de>
16613
16614 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16615 c-forward-conditionals, but it doesn't move point and doesn't set
16616 the mark.
16617 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16618 (c-down-conditional-with-else, c-backward-conditional)
16619 (c-forward-conditional): Refactor to use c-scan-conditionals.
16620
16621 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16622
16623 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16624 (help-default-arg-highlight): Remove.
16625 (help-highlight-arg): New function.
16626 (help-do-arg-highlight): Use it.
16627 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16628
16629 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16630
16631 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16632 Undo last change, which didn't fix the problem and introduced others.
16633
16634 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16635
16636 * progmodes/gdb-mi.el: Don't require speedbar.
16637 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16638
16639 2009-09-24 Glenn Morris <rgm@gnu.org>
16640
16641 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16642
16643 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16644
16645 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16646 there is no newline after the final mime boundary. (Bug#4539)
16647 Move markers on insertion so that any buttons inserted don't end up in
16648 the next part of a multipart message.
16649 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16650 (rmail-mime-bulk-handler): Optionally handle images.
16651 (rmail-mime-image): New button action.
16652 (rmail-mime-image-handler): New function.
16653 (rmail-mime-mode): New mode.
16654 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16655
16656 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16657
16658 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16659 than just dropping elements from it (bug#4504).
16660
16661 * term.el (term-set-scroll-region): Don't move cursor any more.
16662 (term-handle-ansi-escape): Call term-goto here instead.
16663 Suggested by Ivan Kanis <apple@kanis.eu>.
16664
16665 * term.el: Require CL.
16666 (term-ansi-reset): New function.
16667 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16668 (term-handle-colors-array): Simplify.
16669
16670 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16671
16672 * allout.el (allout-overlay-interior-modification-handler)
16673 (allout-obtain-passphrase):
16674 * epa-file.el (epa-file-write-region):
16675 * ps-print.el (ps-begin-job):
16676 * vc-hooks.el (vc-toggle-read-only):
16677 * vc-rcs.el (vc-rcs-rollback):
16678 * vc-sccs.el (vc-sccs-rollback):
16679 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16680 (vc-version-diff, vc-revert, vc-rollback):
16681 * wdired.el (wdired-check-kill-buffer):
16682 * emacs-lisp/authors.el (authors):
16683 * net/socks.el (socks-open-connection):
16684 * net/zeroconf.el (zeroconf-service-add-hook):
16685 * obsolete/vc-mcvs.el (vc-mcvs-register):
16686 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16687 (gdb-select-frame):
16688 * progmodes/grep.el (lgrep, rgrep):
16689 * progmodes/idlw-help.el (idlwave-help-check-locations)
16690 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16691 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16692 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16693 (reftex-toc-rename-label): Fix typos in error messages.
16694
16695 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16696 (dired-copy-how-to-fn): Doc fix.
16697 (dired-files-attributes, dired-read-shell-command):
16698 Fix typos in docstrings.
16699
16700 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16701 (dired-x-find-file-other-window): Reflow docstrings.
16702 (dired-omit-marker-char, dired-read-shell-command)
16703 (dired-x-submit-report): Fix typos in docstrings.
16704
16705 * shell.el (shell-mode-hook):
16706 * view.el (View-scroll-line-forward):
16707 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16708 Fix typos in docstrings.
16709
16710 * net/dig.el (dig-invoke): Fix typo in docstring.
16711 (query-dig): Reflow docstring.
16712
16713 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16714 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16715 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16716 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16717 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16718 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16719 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16720 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16721 (idlwave-completion-map, idlwave-current-indent)
16722 (idlwave-custom-ampersand-surround, idlwave-customize)
16723 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16724 (idlwave-define-abbrev, idlwave-determine-class-special)
16725 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16726 (idlwave-end-block-reg, idlwave-end-of-statement)
16727 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16728 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16729 (idlwave-explicit-class-listed, idlwave-file-header)
16730 (idlwave-fill-paragraph, idlwave-find-class-definition)
16731 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16732 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16733 (idlwave-in-quote, idlwave-indent-action-table)
16734 (idlwave-indent-expand-table, idlwave-indent-line)
16735 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16736 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16737 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16738 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16739 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16740 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16741 (idlwave-outlawed-buffers, idlwave-popup-select)
16742 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16743 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16744 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16745 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16746 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16747 (idlwave-statement-type, idlwave-struct-skip)
16748 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16749 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16750 (idlwave-what-module-find-class): Fix typos in docstrings.
16751 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16752 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16753 (idlwave-find-module, idlwave-find-structure-definition)
16754 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16755 (idlwave-list-load-path-shadows, idlwave-next-statement)
16756 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16757 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16758 (idlwave-template): Reflow docstrings.
16759
16760 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16761 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16762 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16763 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16764 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16765 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16766 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16767 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16768 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16769 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16770 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16771 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16772 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16773 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16774 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16775 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16776 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16777 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16778 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16779 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16780 Fix typos in docstrings.
16781 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16782 (idlwave-shell-hide-output, idlwave-shell-mode)
16783 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16784 Reflow docstrings.
16785
16786 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16787
16788 2009-09-24 Ivan Kanis <apple@kanis.eu>
16789
16790 * term.el (term-bold-attribute): New var.
16791 (term-handle-colors-array): Use it.
16792
16793 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16794
16795 * progmodes/gdb-mi.el (gdb-version): New variable.
16796 (gdb-non-stop-handler): Set gdb-version.
16797 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16798 Condition "--thread" option on gdb-version.
16799 (gdb-invalidate-threads): Remove unused argument.
16800
16801 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16802
16803 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16804 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16805
16806 2009-09-23 Glenn Morris <rgm@gnu.org>
16807
16808 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16809 replying to mail without References or Message-Id. (Bug#4525)
16810
16811 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16812
16813 * term/ns-win.el (ns-reg-to-script): New variable.
16814
16815 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16816
16817 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16818
16819 2009-09-22 Sam Steingold <sds@gnu.org>
16820
16821 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16822 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16823 to 1 because hg returns status 1 when nothing is found.
16824 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16825
16826 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16827
16828 * textmodes/fill.el: Convert to utf-8 encoding.
16829 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16830 pre-Unicode days.
16831
16832 * add-log.el (change-log-fill-forward-paragraph): New function.
16833 (change-log-mode): Use it so fill-region DTRT.
16834 Set fill-indent-according-to-mode here rather than in
16835 change-log-fill-paragraph.
16836 (change-log-fill-paragraph): Remove.
16837
16838 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16839
16840 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16841 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16842
16843 2009-09-22 Glenn Morris <rgm@gnu.org>
16844
16845 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16846 the scroll-bar scroll the calendar window rather than the buffer.
16847
16848 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16849 commands that move point (as opposed to scrolling).
16850
16851 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16852
16853 * emacs-lisp/elint.el (elint): New custom group.
16854 (elint-log-buffer): Make it a defcustom.
16855 (elint-scan-preloaded, elint-ignored-warnings)
16856 (elint-directory-skip-re): New options.
16857 (elint-builtin-variables): Doc fix.
16858 (elint-preloaded-env): New variable.
16859 (elint-unknown-builtin-args): Add an entry for encode-time.
16860 (elint-extra-errors): Make it a variable rather than a constant.
16861 (elint-preloaded-skip-re): New constant.
16862 (elint-directory): Skip files matching elint-directory-skip-re.
16863 (elint-features): New variable, local to linted buffers.
16864 (elint-update-env): Initialize elint-features. Possibly add
16865 elint-preloaded-env to the buffer's environment.
16866 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16867 Skip quoted forms.
16868 (elint-init-form): New function, extracted from elint-init-env.
16869 Make non-list forms a warning rather than an error.
16870 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16871 easy-menu-define, put that adds an error-condition, and provide.
16872 When requiring cl, also require cl-macs. Really require cl, to handle
16873 some cl macros. Store required libraries in the list elint-features,
16874 so as not to re-load them. Treat cc-require like require.
16875 (elint-init-env): Call elint-init-form to do the work.
16876 Handle eval-and-compile and such like.
16877 (elint-add-required-env): Do not clear messages.
16878 (elint-special-forms): Add handlers for function, defalias, if, when,
16879 unless, and, or.
16880 (elint-form): Add optional argument to ignore elint-special-forms,
16881 useful to prevent recursive calls from handlers. Doc fix.
16882 Respect elint-ignored-warnings.
16883 (elint-form): Respect elint-ignored-warnings.
16884 (elint-bound-variable, elint-bound-function): New variables.
16885 (elint-unbound-variable): Respect elint-bound-variable.
16886 (elint-get-args): Respect elint-bound-function.
16887 (elint-check-cond-form): Add some simple handling for (f)boundp and
16888 featurep tests.
16889 (elint-check-defalias-form): New handler.
16890 (elint-check-let-form): Make an empty let a warning rather than an
16891 error.
16892 (elint-check-setq-form): Make an empty setq a warning rather than an
16893 error. Respect elint-ignored-warnings.
16894 (elint-check-defvar-form): Accept null doc-strings.
16895 (elint-check-conditional-form): New handler. Does some simple-minded
16896 checking of featurep and (f)boundp tests.
16897 (elint-put-function-args): New function.
16898 (elint-initialize): Use elint-scan-doc-file rather than
16899 elint-find-builtin-variables. Use elint-put-function-args.
16900 Possibly scan preloaded-file-list.
16901 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16902 extend to handle functions as well.
16903
16904 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16905
16906 * linum.el (linum-delete-overlays, linum-update-window):
16907 Do not modify the right margin. (Bug#3971)
16908
16909 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16910
16911 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16912 Use nxml-mode instead of xml-mode.
16913
16914 2009-09-21 Kevin Ryde <user42@zip.com.au>
16915
16916 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16917
16918 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16919
16920 * net/dig.el (dig-mode): Use define-derived-mode.
16921
16922 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16923
16924 * vc-dispatcher.el (vc-do-command): Return the process object in
16925 the asynchronous case. Use when instead of if. Do not run
16926 vc-exec-after to display a message if not enabled. (Bug#4463)
16927
16928 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16929 properties to the stash strings.
16930 (vc-git-stash-list): Return a list of strings.
16931 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16932 (vc-git-stash-show-at-point): New functions.
16933 (vc-git-stash-map): New keymap.
16934
16935 * register.el (ctl-x-r-map): Define the keys here instead of
16936 using autoload.
16937
16938 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16939
16940 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16941 list, to workaround performance problem (bug#4485).
16942
16943 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16944
16945 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16946
16947 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16948
16949 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16950 Document that this option is not recommended to use.
16951
16952 2009-09-19 Glenn Morris <rgm@gnu.org>
16953
16954 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16955 variable `var'.
16956
16957 * calc/calc-alg.el (var):
16958 * calc/calcalg2.el (var): Define for compiler.
16959
16960 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16961
16962 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16963 Doc fix (Bug#3932).
16964
16965 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16966
16967 * time-stamp.el (time-stamp-month-dd-yyyy)
16968 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16969 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16970 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16971 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16972 Remove functions that have been obsolete since 1995 (Bug#4436).
16973
16974 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16975 indent buffer only if called interactively (Bug#4452).
16976
16977 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16978 Eli Zaretskii <eliz@gnu.org>
16979
16980 This fixes bug#4197 (merged to bug#865, though not identical).
16981 * server.el (server-auth-dir): Add docstring note about FAT32.
16982 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16983 but warn against using them.
16984
16985 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16986
16987 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16988 older GDB where there is no has_more field.
16989
16990 2009-09-19 Glenn Morris <rgm@gnu.org>
16991
16992 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16993
16994 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16995
16996 * files.el (auto-mode-alist): Change default for XML files to nXML
16997 mode (Bug#4169).
16998
16999 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17000
17001 * server.el (server-ensure-safe-dir): Pass 'integer
17002 to `file-attributes', as suggested.
17003
17004 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17005
17006 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17007 (dired-query): Use read-key.
17008
17009 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17010
17011 * cus-start.el (ns-use-qd-smoothing): Remove.
17012
17013 2009-09-18 Glenn Morris <rgm@gnu.org>
17014
17015 * allout.el (top-level): Remove unnecessary progn.
17016
17017 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17018
17019 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17020 definition of abbrev table.
17021
17022 * speedbar.el (speedbar-track-mouse):
17023 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17024 * net/eudc.el (eudc-expand-inline):
17025 * net/newst-backend.el (newsticker--cache-read-feed):
17026 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17027 condition-case handlers.
17028
17029 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17030
17031 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17032 (gdb-var-list): Add an element for has_more field.
17033 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17034 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17035 (gdb-var-update-handler-1): Parse output of dynamic variable
17036 objects (STL containers).
17037 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17038 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17039
17040 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17041 gdb-var-list.
17042 (gud-speedbar-buttons): Make node expandable if expression "has more"
17043 children.
17044
17045 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17046
17047 * startup.el (emacs-quick-startup): Remove variable and all uses.
17048 (command-line): Set `inhibit-x-resources' instead.
17049 (command-line-1): Use `inhibit-x-resources' instead.
17050
17051 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17052
17053 * subr.el: Fix last change to avoid using the `unless' macro,
17054 which breaks bootstrapping.
17055
17056 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17057
17058 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17059 extended definitions, in case we reload subr.el after having
17060 loaded CL.
17061 (eval-next-after-load): Mark as obsolete.
17062
17063 2009-09-17 Juri Linkov <juri@jurta.org>
17064
17065 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17066 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17067 (menu-bar-showhide-menu, menu-bar-tools-menu)
17068 (menu-bar-describe-menu, menu-bar-help-menu)
17069 (minibuffer-local-completion-map, minibuffer-local-map):
17070 Fix list quoting.
17071
17072 2009-09-17 Glenn Morris <rgm@gnu.org>
17073
17074 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17075 arguments, whether or not it has a handler.
17076
17077 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17078
17079 * simple.el (hard-newline): Give it a doc-string.
17080
17081 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17082 (lisp-mode-syntax-table): Give them doc-strings.
17083
17084 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17085
17086 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17087 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17088 (menu-bar-options-menu, menu-bar-showhide-menu)
17089 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17090 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17091 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17092 (menu-bar-options-menu, menu-bar-tools-menu)
17093 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17094 (menu-bar-help-menu):
17095 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17096 string arguments.
17097
17098 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17099 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17100 calls for the menu names and :help.
17101
17102 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17103
17104 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17105 to :minor-mode-function (bug#4455).
17106
17107 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17108
17109 * startup.el (command-line): Initialize the window-system after
17110 processing the command-line.
17111
17112 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17113 page-delimiter matches the empty string.
17114
17115 2009-09-16 Glenn Morris <rgm@gnu.org>
17116
17117 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17118 byte-compile-not-obsolete-var. It's a list now.
17119 (byte-compile-not-obsolete-funcs): New variable.
17120 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17121 byte-compile-not-obsolete-funcs.
17122 (byte-compile-variable-ref, byte-compile-defvar): Update for
17123 byte-compile-not-obsolete-vars name-change and list nature.
17124 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17125 and variables behind (f)boundp tests.
17126 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17127
17128 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17129
17130 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17131
17132 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17133
17134 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17135 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17136 Don't autoload.
17137
17138 2009-09-15 Stephen Eglen <stephen@gnu.org>
17139
17140 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17141 the virtual-buffers, use the name of the buffer specified by
17142 find-file-noselect, as the match may be a symlink. (This was a
17143 problem if the target and the symlink had different names.)
17144
17145 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17146
17147 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17148
17149 * desktop.el (desktop-path): Check user-emacs-directory.
17150
17151 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17152
17153 * loadup.el: Use after-load-functions to GC after loading each file.
17154 Remove the explicit GC calls that used to be sprinkled around.
17155
17156 * subr.el (after-load-functions): New hook.
17157 (do-after-load-evaluation): Run it. Use string-match-p to detect
17158 `obsolete' packages, rather than painfully extracting the relevant
17159 directory name.
17160
17161 2009-09-15 Glenn Morris <rgm@gnu.org>
17162
17163 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17164 free variable `doc'.
17165
17166 * dired.el (dired-mode-map): Add menu entry for async shell command.
17167
17168 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17169 variables, also consider the .elc files, since the .el files are
17170 normally gzipped (subsequent code locates the .el.gz from the .elc).
17171
17172 * calc/calc-prog.el (arglist): Define for compiler.
17173
17174 * calendar/diary-lib.el (diary-display-function): Change the default to
17175 fancy display.
17176 (body): Define for compiler.
17177
17178 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17179 (byte-compile-file-form, byte-compile-lambda)
17180 (byte-compile-top-level-body, byte-compile-form)
17181 (byte-compile-variable-ref, byte-compile-setq)
17182 (byte-compile-setq-default, byte-compile-body)
17183 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17184 (batch-byte-compile): Give some more local variables with common names
17185 a "bytecomp-" prefix to avoid masking warnings about free variables.
17186
17187 * startup.el (command-line-1): Give local variables with common names a
17188 distinguishing prefix, so as not to hide free variable warnings during
17189 bootstrap.
17190
17191 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17192 clever and add a suffix to make a unique name, just let the user decide
17193 whether or not to overwrite it. If the input is a directory, write the
17194 default filename to that directory. (Bug#4388)
17195 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17196 is a filename-as-a-directory.
17197
17198 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17199
17200 * textmodes/page.el (what-page): Don't move to beginning of line.
17201 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17202
17203 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17204
17205 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17206
17207 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17208
17209 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17210 * help.el (help-for-help-internal): Add purecopy calls for text.
17211
17212 * vc.el (top): print-log method now takes an optional SHORTLOG
17213 argument. Add a new method: root.
17214 (vc-root-diff, vc-print-root-log): New functions.
17215 (vc-log-short-style): New variable.
17216 (vc-print-log-internal): Add support for showing short logs.
17217
17218 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17219 vc-print-root-log and vc-print-root-diff.
17220
17221 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17222 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17223 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17224 short logs.
17225
17226 * vc-cvs.el (vc-cvs-print-log):
17227 * vc-mtn.el (vc-mtn-print-log):
17228 * vc-rcs.el (vc-rcs-print-log):
17229 * vc-sccs.el (vc-sccs-print-log):
17230 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17231 that is ignored for now.
17232
17233 * vc-mtn.el (vc-mtn-annotate-command):
17234 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17235
17236 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17237
17238 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17239 to function-key-map, and give them ascii-character property.
17240 * term/x-win.el (x-alternatives-map):
17241 * term/ns-win.el (ns-alternatives-map):
17242 * term/internal.el (msdos-key-remapping-map):
17243 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17244
17245 2009-09-14 Glenn Morris <rgm@gnu.org>
17246
17247 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17248 temp-buffers (2009-09-12).
17249
17250 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17253 the new read-key function.
17254
17255 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17256
17257 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17258 is defined (Bug#4405).
17259
17260 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17261
17262 * recentf.el (recentf-cleanup): Use a hash table to find
17263 duplicates (Bug#4407).
17264
17265 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17266
17267 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17268 kp-0 to ascii equivalents (Bug#4325).
17269
17270 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17271
17272 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17273
17274 * eshell/em-hist.el:
17275 * eshell/em-dirs.el (eshell-complete-user-reference):
17276 Declare pcomplete functions and variables to avoid compiler warnings.
17277
17278 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17279
17280 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17281 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17282 * eshell/em-alias.el (eshell-aliases-file):
17283 * eshell/em-hist.el (eshell-history-file-name):
17284 Use expand-file-name instead of concat to make file names (Bug#4308).
17285
17286 2009-09-13 Glenn Morris <rgm@gnu.org>
17287
17288 * ediff-merg.el (ediff-do-merge):
17289 * filesets.el (filesets-run-cmd):
17290 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17291 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17292 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17293 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17294 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17295 Replace empty `let's with `progn'.
17296
17297 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17298
17299 * mail/sendmail.el (send-mail-function):
17300 * tooltip.el (tooltip-mode):
17301 * simple.el (transient-mark-mode):
17302 * rfn-eshadow.el (file-name-shadow-mode):
17303 * frame.el (blink-cursor-mode):
17304 * font-core.el (global-font-lock-mode):
17305 * files.el (temporary-file-directory)
17306 (small-temporary-file-directory, auto-save-file-name-transforms):
17307 * epa-hook.el (auto-encryption-mode):
17308 * composite.el (global-auto-composition-mode):
17309 Use custom-initialize-delay.
17310 * startup.el (command-line): Don't explicitly call
17311 custom-reevaluate-setting for all the above vars.
17312 * custom.el (custom-initialize-safe-set)
17313 (custom-initialize-safe-default): Delete.
17314
17315 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17316
17317 * term/x-win.el (x-initialize-window-system):
17318 * term/w32-win.el (w32-initialize-window-system):
17319 * term/ns-win.el (ns-initialize-window-system): Don't call
17320 mouse-wheel-mode since it's enabled globally by default already.
17321
17322 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17323 actually define the variable, but only silences the byte-compiler.
17324 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17325 before looking it up.
17326 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17327 is changed.
17328
17329 2009-09-12 Glenn Morris <rgm@gnu.org>
17330
17331 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17332 1000.
17333 (elint-add-required-env): Don't beep on error.
17334 (elint-forms): In case of error, return ENV unchanged.
17335 (elint-init-env): Skip non-list forms.
17336 (elint-log): Handle unknown file positions.
17337
17338 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17339
17340 * epg.el (epg-make-context): Add autoload cookie.
17341 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17342 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17343 (epg-verify-string, epg-start-sign, epg-sign-file)
17344 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17345 (epg-encrypt-string, epg-start-export-keys)
17346 (epg-export-keys-to-file, epg-export-keys-to-string)
17347 (epg-start-import-keys, epg-import-keys-from-file)
17348 (epg-import-keys-from-string, epg-start-receive-keys)
17349 (epg-receive-keys, epg-import-keys-from-server)
17350 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17351 (epg-sign-keys, epg-start-generate-key)
17352 (epg-generate-key-from-file, epg-generate-key-from-string):
17353 Remove autoload cookie.
17354
17355 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17356
17357 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17358 reevaluation of trash-directory.
17359
17360 * mwheel.el: Fix last change.
17361 (mouse-wheel-mode): New defvar.
17362 (mouse-wheel-mode): Remove autoload cookie.
17363
17364 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17365
17366 * mwheel.el (mwheel-installed-bindings): New var.
17367 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17368 the bindings we set last time. Use custom-initialize-delay.
17369 * loadup.el: Load mwheel after term/*-win.el.
17370 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17371 and mouse-wheel-up-event now that their first evaluation is done
17372 sufficiently late to be correct.
17373
17374 * startup.el (tutorial-directory): Make it a defcustom.
17375 Use custom-initialize-delay rather than eval-at-startup to set it.
17376 * image.el (image-load-path): Make it a defcustom.
17377 Use custom-initialize-delay rather than eval-at-startup to set it.
17378 * subr.el (eval-at-startup): Remove.
17379 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17380
17381 * subr.el (do-after-load-evaluation): Warn the user after loading an
17382 obsolete package.
17383
17384 2009-09-12 Glenn Morris <rgm@gnu.org>
17385
17386 * proced.el (proced-mark-alt): Remove alias.
17387 (proced-mode-map): Remove proced-mark-alt.
17388
17389 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17390 Elint file and directory. Remove initialization entry.
17391
17392 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17393 commands.
17394 (elint-current-buffer): Set mode-line-process.
17395 (elint-init-env): Handle define-derived-mode.
17396 Fix declare-function with unspecified arglist. Guard against odd
17397 defalias statements (eg iso-insert's 8859-1-map).
17398 (elint-add-required-env): Use a temp buffer.
17399 (elint-form): Just print the function/macro name, not the whole form.
17400 Return env unchanged if we fail to parse a macro.
17401 (elint-forms): Guard against parse errors.
17402 (elint-output): New function, to handle batch mode.
17403 (elint-log-message): Add optional argument. Use elint-output.
17404 (elint-set-mode-line): New function.
17405
17406 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17407
17408 * emacs-lisp/elp.el (elp-not-profilable): Add more
17409 functions (Bug#4233).
17410
17411 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17412
17413 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17414 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17415
17416 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17417
17418 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17419 (gdb-var-list-children): Use json parsing.
17420
17421 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17422
17423 * progmodes/js.el (js--proper-indentation): Handle the case where
17424 char-before is null. Reported by Deniz Dogan.
17425
17426 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17427
17428 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17429
17430 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17431
17432 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17433 (epg-digest-algorithm-alist): Add SHA224.
17434 (epg-context-set-passphrase-callback)
17435 (epg-context-set-progress-callback): Add description about
17436 callback function.
17437
17438 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17439
17440 * custom.el (custom-delayed-init-variables): New var.
17441 (custom-initialize-delay): New function.
17442 * startup.el (command-line): "Re"evaluate all vars in
17443 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17444 explicitly any more.
17445 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17446 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17447
17448 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17449
17450 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17451
17452 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17453 (gdb-var-update-handler): Use json parsing.
17454
17455 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17456
17457 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17458 decode annotated text, regardless of language environment. (Bug#2741)
17459
17460 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17461
17462 * Makefile.in (autoloads): Make rmail.el writable as well.
17463
17464 2009-09-11 Glenn Morris <rgm@gnu.org>
17465
17466 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17467 loaddefs.el.
17468 * dired.el: Regenerate with extracted autoloads.
17469 * Makefile.in (autoloads): Make dired.el writable.
17470
17471 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17472 * ibuffer.el: Regenerate with extracted autoloads.
17473 * Makefile.in (autoloads): Make ibuffer.el writable.
17474
17475 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17476 * version.el (emacs-copyright, emacs-major-version)
17477 (emacs-minor-version): Reformat doc-strings for make-docfile.
17478
17479 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17480 functions and variables, since they must be stuff specific to some other
17481 platform.
17482 (apropos-print): Make mouse-click message less specific about button.
17483
17484 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17485 that records where a macro was defined.
17486 * help-fns.el (describe-function-1): Mention if a function has a
17487 compiler-macro.
17488 * help-mode.el (help-function-cmacro): New button.
17489
17490 * locate.el (top-level): Always require dired.
17491 (locate-mode-map): Initialize inside the defvar.
17492
17493 * net/ange-ftp.el (dired-compress-file): Declare.
17494 (ange-ftp-dired-compress-file): Add doc string.
17495
17496 * term/ns-win.el (x-display-name, x-setup-function-keys):
17497 Unify doc-strings with X versions.
17498
17499 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17500
17501 * emulation/crisp.el (crisp-mode-map): Move initialization
17502 into declaration.
17503 (crisp-mode): Use define-minor-mode.
17504
17505 * progmodes/xscheme.el (xscheme-evaluation-commands):
17506 Put a :advertised-binding property rather than using
17507 advertised-xscheme-send-previous-expression.
17508 (advertised-xscheme-send-previous-expression): Declare obsolete.
17509 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17510 `advertised-undo'.
17511 (crisp-mode): Add corresponding bindings to
17512 undo's :advertised-binding instead.
17513 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17514 than using dired-advertised-find-file.
17515 (dired-advertised-find-file):
17516 * simple.el (advertised-undo):
17517 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17518 (widget-keymap): Put a :advertised-binding property rather
17519 than using advertised-widget-backward.
17520 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17521 than using advertised-undo.
17522 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17523
17524 2009-09-10 Simon South <ssouth@slowcomputing.org>
17525
17526 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17527 Mark mode is enabled and region is active; otherwise indent or
17528 insert TAB as usual.
17529 (delphi-mode): Update description of TAB-key binding.
17530
17531 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17532
17533 * subr.el (define-key-rebound-commands): Mark obsolete.
17534 * startup.el (precompute-menubar-bindings): Remove.
17535 (normal-top-level): Remove obsolete code that tried to precompute
17536 menubar bindings.
17537 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17538 define-key-rebound-commands and precompute-menubar-bindings.
17539
17540 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17541
17542 * net/imap.el (imap-interactive-login): Better messages.
17543 (imap-open): Fix bug with renamed buffer on reconnect.
17544 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17545 for easier debugging and cleaner code. On successful (guessed based on
17546 server capabilities) secondary authentication, set imap-state
17547 correctly.
17548 (imap-last-authenticator): Define imap-last-authenticator as a variable
17549 to avoid warnings.
17550
17551 2009-09-10 Glenn Morris <rgm@gnu.org>
17552
17553 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17554
17555 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17556 (byte-compile-file-form-autoload): Don't warn about unknown functions
17557 where the autoload statement comes after the use.
17558 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17559 that any handlers inside the body (eg require) are in turn respected.
17560
17561 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17562 effects.
17563
17564 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17565 and syntax and abbrev tables basic docs, if they don't have any.
17566
17567 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17568
17569 * international/mule-cmds.el (top-level): Require cl when compiling.
17570 (view-hello-file): Use default-value rather than
17571 default-enable-multibyte-characters.
17572
17573 * progmodes/fortran.el: Move all safe and risky properties into the
17574 defcustoms.
17575
17576 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17577 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17578 * mail/undigest.el:
17579 Put autoloads in rmail.el rather than loaddefs.el.
17580 * mail/rmail.el: Regenerate with extracted autoloads.
17581
17582 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17583 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17584
17585 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17586
17587 Reported in thread for Bug#4375.
17588 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17589 "-data-evaluate-expression" instead of print.
17590 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17591 (gdb-tooltip-print): Parse output from above MI command.
17592 (gdb): Revert 2009-08-11 change. User should detach inferior
17593 manually.
17594
17595 Remove the word "separate" from IO functions as inferior
17596 output is now never displayed in the GUD buffer.
17597
17598 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17599
17600 * startup.el (command-line-normalize-file-name): On Windows and
17601 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17602
17603 2009-09-10 Juri Linkov <juri@jurta.org>
17604
17605 * isearch.el (isearch-text-char-description): Propertize escape
17606 character sequences with the `escape-glyph' face. (Bug#4344)
17607
17608 * simple.el (shell-command): Set asynchronous process filter to
17609 `comint-output-filter'. (Bug#4343)
17610
17611 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17612 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17613 the list. Move "asm" to the bottom.
17614 (grep-find-ignored-directories): Add `choice' with nil value
17615 to empty the list easily.
17616 (grep-find-ignored-files): New option.
17617 (grep-files-history): Set to nil by default instead of '("ch" "el").
17618 (grep-compute-defaults): Add "<X>" to `grep-template'.
17619 (grep-read-files): Bind new local variables `default-alias' and
17620 `default-extension'. Use a list of default values for the file prompt.
17621 (lgrep): Add `--exclude=' command line options composed from
17622 `grep-find-ignored-files'.
17623 (rgrep): Add `-name' command line options composed from
17624 `grep-find-ignored-files'. (Bug#4301)
17625
17626 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17629 (bug#4368).
17630
17631 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17632
17633 * calendar/time-date.el (autoload):
17634 Expand define-obsolete-function-alias into defalias and make-obsolete
17635 for old Emacsen that Gnus supports.
17636 (with-no-warnings): Define it for old Emacsen.
17637 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17638 is available.
17639 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17640 float-time is available; suppress compile warning for time-to-seconds.
17641
17642 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17643
17644 * net/imap.el (imap-message-map): Docstring fix.
17645
17646 2009-09-09 Glenn Morris <rgm@gnu.org>
17647
17648 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17649 line numbers too. (Bug#4374)
17650
17651 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17652
17653 * smerge-mode.el (smerge-remove-props, smerge-refine):
17654 Use with-silent-modifications (bug#4342).
17655
17656 * subr.el (with-silent-modifications): New macro.
17657
17658 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17659
17660 * files.el (top-level): Require `cl' when compiling.
17661
17662 2009-09-07 Glenn Morris <rgm@gnu.org>
17663
17664 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17665
17666 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17667 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17668
17669 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17670
17671 * vc-git.el (vc-git-annotate-command): Use separator to parse
17672 arguments correctly.
17673
17674 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17675
17676 * proced.el (proced-mode): Doc fix.
17677
17678 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17679
17680 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17681 lstat fails.
17682 (tramp-do-file-attributes-with-ls): Check for file existence at
17683 remote end.
17684 (tramp-do-file-attributes-with-stat): Likewise.
17685 (tramp-convert-file-attributes): Return nil when attr is nil.
17686
17687 2009-09-05 Glenn Morris <rgm@gnu.org>
17688
17689 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17690 properties to this button.
17691 (diary-fancy-display): Don't extend the button to the final newline.
17692 (diary-fancy-display-mode): Continue to define "q" as a local key.
17693
17694 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17695 efficient.
17696
17697 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17698
17699 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17700 (byte-compile-dest-file-function): New option.
17701 (byte-compile-dest-file): Doc fix.
17702 Obey byte-compile-dest-file-function.
17703 (byte-compile-cl-file-p): New function.
17704 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17705 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17706 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17707 than for file being previously loaded.
17708 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17709 (byte-compile-file-form-require): Handle the case where requiring a file
17710 indirectly causes CL to be loaded.
17711
17712 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17713
17714 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17715 before killing the old buffer, since by the time `kill-buffer' is
17716 run so many buffer variables have been set to nil that it may not
17717 behave as expected. (Bug#4061)
17718
17719 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17720
17721 * files.el (find-alternate-file): If the old buffer is modified
17722 and visiting a file, behave similarly to `kill-buffer' when
17723 killing it, thus reverting to the pre-1.878 behavior; see
17724 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17725 for discussion. Also, consult `buffer-file-name' as a variable
17726 not as a function, for consistency with the rest of the code.
17727
17728 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17729
17730 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17731 also when adding a new directory.
17732
17733 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17734 New defun.
17735
17736 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17737
17738 * files.el (locate-file-completion-table): Make it provide boundary
17739 information, so partial-completion works better.
17740
17741 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17742
17743 * mail/footnote.el (Footnote-text-under-cursor):
17744 Check footnote-text-marker-alist before using it (bug#4324).
17745
17746 2009-09-04 Glenn Morris <rgm@gnu.org>
17747
17748 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17749 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17750 * play/solitaire.el, play/tetris.el:
17751 Remove leading * from defcustom and defface docs.
17752
17753 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17754 necessary.
17755 (diary-fancy-overriding-map): New variable.
17756 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17757 Use view-mode.
17758
17759 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17760 goto-line.
17761
17762 2009-09-03 Glenn Morris <rgm@gnu.org>
17763
17764 * arc-mode.el (archive-mode):
17765 * dos-fns.el (set-default-process-coding-system):
17766 * man.el (Man-getpage-in-background):
17767 * menu-bar.el (menu-bar-describe-menu):
17768 * server.el (server-process-filter):
17769 * startup.el (command-line):
17770 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17771 * w32-fns.el (set-default-process-coding-system):
17772 * x-dnd.el (x-dnd-handle-file-name):
17773 * international/mule-cmds.el (mule-menu-keymap)
17774 (set-default-coding-systems, language-info-alist, set-language-info)
17775 (set-language-environment, standard-display-european-internal)
17776 (set-locale-environment):
17777 * international/mule-diag.el (mule-diag):
17778 * mail/emacsbug.el (report-emacs-bug):
17779 * mail/rmail.el (rmail-mode):
17780 * mail/sendmail.el (mail-setup):
17781 Use default-value rather than default-enable-multibyte-characters.
17782
17783 * progmodes/f90.el: Move all safe properties into the defcustoms.
17784 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17785
17786 * calendar/appt.el (appt-check):
17787 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17788 (diary-check-diary-file, diary-list-entries)
17789 (diary-include-other-diary-files, diary-simple-display)
17790 (diary-fancy-display, diary-print-entries)
17791 (diary-mark-included-diary-files, diary-make-entry):
17792 Don't call substitute-in-file-name on diary-file.
17793
17794 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17795 Stefan Monnier <monnier@iro.umontreal.ca>
17796
17797 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17798 (footnote-mode-map): Move initialization into the declaration.
17799 (footnote-minor-mode-map): Define it rather than changing global-map.
17800 (footnote-mode): Use define-minor-mode.
17801
17802 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17803
17804 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17805 (tramp-do-file-attributes-with-perl)
17806 (tramp-do-file-attributes-with-stat): Rename from
17807 `tramp-handle-file-attributes-with-*'.
17808 (tramp-handle-file-attributes): Use them.
17809 (tramp-do-directory-files-and-attributes-with-perl)
17810 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17811 `tramp-handle-directory-files-and-attributes-with-*'.
17812 (tramp-handle-directory-files-and-attributes): Use them.
17813 (tramp-method-out-of-band-p): Additional parameter SIZE.
17814 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17815 (tramp-handle-write-region): Use it.
17816 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17817 (tramp-handle-vc-registered): Check, whether the first run did
17818 return files to be tested.
17819 (tramp-advice-make-auto-save-file-name): Do not call directly
17820 `tramp-handle-make-auto-save-file-name', because this would bypass
17821 the locking mechanism.
17822
17823 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17824 (file-remote-p, process-file, start-file-process, set-file-times)
17825 (tramp-compat-file-attributes): Compatibility functions shall not
17826 call directly `tramp-handle-*', because this would bypass the
17827 locking mechanism.
17828 (tramp-compat-number-sequence): New defun.
17829
17830 2009-09-02 Glenn Morris <rgm@gnu.org>
17831
17832 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17833 alias for float-time.
17834 (time-to-number-of-days): In Emacs, use float-time.
17835 * net/newst-backend.el (time-add): Suppress warnings from compat
17836 function.
17837 * time.el (emacs-uptime, emacs-init-time):
17838 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17839 Use float-time rather than time-to-seconds.
17840
17841 * minibuffer.el (completion-initials-expand): Fix typo.
17842
17843 * faces.el (modeline, modeline-inactive, modeline-highlight)
17844 (modeline-buffer-id):
17845 * info.el (info-menu-5): Mark these face aliases as obsolete.
17846
17847 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17848
17849 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17850 space ...
17851 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17852 no "--thread" option.
17853 (gdb-stopped): Don't print "Switched to thread" message when it is
17854 unchanged.
17855
17856 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17857
17858 * minibuffer.el (completion-try-completion)
17859 (completion-all-completions): Remove ill-defined (and
17860 mistakenly installed and luckily never used nor documented)
17861 `completion-styles' property.
17862 (completion-initials-expand, completion-initials-all-completions)
17863 (completion-initials-try-completion): New functions.
17864 (completion-styles-alist): Add doc to each entry.
17865 Add new `initials' entry.
17866
17867 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17868
17869 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17870 MI command -var-evaluate-expression.
17871 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17872 and tweak for case of string child.
17873 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17874
17875 2009-09-01 Glenn Morris <rgm@gnu.org>
17876
17877 * add-log.el (change-log-date-face, change-log-name-face)
17878 (change-log-email-face, change-log-file-face, change-log-list-face)
17879 (change-log-conditionals-face, change-log-function-face)
17880 (change-log-acknowledgement-face):
17881 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17882 (custom-modified-face, custom-set-face, custom-changed-face)
17883 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17884 (custom-documentation-face, custom-state-face, custom-comment-face)
17885 (custom-comment-tag-face, custom-variable-tag-face)
17886 (custom-variable-button-face, custom-face-tag-face)
17887 (custom-group-tag-face-1, custom-group-tag-face):
17888 * diff-mode.el (diff-header-face, diff-file-header-face)
17889 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17890 (diff-added-face, diff-changed-face, diff-function-face)
17891 (diff-context-face, diff-nonexistent-face):
17892 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17893 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17894 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17895 (Info-title-4-face):
17896 * isearch.el (isearch-lazy-highlight-face):
17897 * log-view.el (log-view-file-face, log-view-message-face):
17898 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17899 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17900 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17901 (cvs-msg-face):
17902 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17903 (smerge-base-face, smerge-markers-face):
17904 * wid-edit.el (widget-documentation-face, widget-button-face)
17905 (widget-field-face, widget-single-line-field-face)
17906 (widget-inactive-face, widget-button-pressed-face):
17907 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17908 (woman-addition-face):
17909 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17910 (eshell-ls-executable-face, eshell-ls-readonly-face)
17911 (eshell-ls-unreadable-face, eshell-ls-special-face)
17912 (eshell-ls-missing-face, eshell-ls-archive-face)
17913 (eshell-ls-backup-face, eshell-ls-product-face)
17914 (eshell-ls-clutter-face):
17915 * eshell/em-prompt.el (eshell-prompt-face):
17916 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17917 * obsolete/old-whitespace.el (whitespace-highlight-face):
17918 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17919 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17920 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17921 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17922 (antlr-font-lock-literal-face):
17923 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17924 (ebrowse-root-class-face, ebrowse-file-name-face)
17925 (ebrowse-default-face, ebrowse-member-attribute-face)
17926 (ebrowse-member-class-face, ebrowse-progress-face):
17927 * progmodes/make-mode.el (makefile-space-face):
17928 * progmodes/sh-script.el (sh-heredoc-face):
17929 * textmodes/flyspell.el (flyspell-incorrect-face)
17930 (flyspell-duplicate-face):
17931 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17932 * textmodes/texinfo.el (texinfo-heading-face):
17933 Mark face aliases with "-face" suffix as obsolete.
17934
17935 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17936 compiler.
17937
17938 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17939 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17940 easy-menu-define wants to modify these.
17941
17942 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17943
17944 * net/browse-url.el (browse-url-file-url):
17945 * term/internal.el (dos-codepage-setup):
17946 Use default-value rather than default-enable-multibyte-characters.
17947
17948 * progmodes/etags.el (etags-goto-tag-location):
17949 * progmodes/flymake.el (flymake-highlight-line)
17950 (flymake-goto-file-and-line, flymake-goto-line):
17951 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17952 (gdb-goto-breakpoint):
17953 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17954 * progmodes/python.el (python-find-function)
17955 (python-pdbtrack-track-stack-file):
17956 * progmodes/verilog-mode.el (verilog-surelint-off):
17957 * term/ns-win.el (ns-open-file-select-line):
17958 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17959 Use forward-line rather than goto-line.
17960
17961 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17962 * textmodes/reftex-index.el (reftex-display-index):
17963 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17964 * textmodes/reftex-toc.el (reftex-toc):
17965 Remove unnecessary bindings of default-major-mode (all are followed by
17966 major-mode check and possible mode switch).
17967
17968 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17969
17970 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17971 Handle watchpoints (bug#4282).
17972 (def-gdb-thread-buffer-command): Enable thread to be selected by
17973 clicking without selecting threads buffer first.
17974 (gdb-current-context-command): Use selected frame so that "up",
17975 "down" etc work in the GUD buffer.
17976 (gdb-update): Find selected frame before rendering stack buffer.
17977 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17978
17979 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17980
17981 * progmodes/sym-comp.el (displayed-completions): Remove.
17982 (symbol-complete): Use minibuffer-complete.
17983
17984 2009-08-31 Glenn Morris <rgm@gnu.org>
17985
17986 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17987
17988 * apropos.el (apropos-symbols-internal):
17989 Handle (obsolete) face aliases.
17990
17991 * faces.el (describe-face): Adjust the output format to be more like
17992 describe-variable, and to mention (obsolete) face aliases.
17993 Adjust the whitespace so that help-setup-xref works.
17994
17995 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17996 * calendar/diary-lib.el (diary-button-face):
17997 Mark these face aliases as obsolete.
17998
17999 * calendar/calendar.el (calendar-today): Doc fix.
18000
18001 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18002
18003 * progmodes/gdb-mi.el (gdb-control-all-threads)
18004 (gdb-control-current-thread): Force tool bar update.
18005 (gdb-non-stop-handler): New function.
18006 (gdb-init-1): Use it to test if non-stop mode is supported.
18007 Remove unused gdbmi buffer type.
18008
18009 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18010
18011 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18012 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18013
18014 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18015
18016 * comint.el (comint-exec-1): Check command is non-null first.
18017 Part of gdb-mi.el change (2009-08-28).
18018
18019 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18020
18021 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18022
18023 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18024
18025 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18026 instead of `dolist' to avoid a recursive require when bootstrapping.
18027
18028 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18029
18030 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18031
18032 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18033
18034 * net/imap.el (imap-send-command): Simplify.
18035 (imap-wait-for-tag): point-max -> buffer-size.
18036
18037 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18038
18039 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18040 with constant argument.
18041
18042 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18043
18044 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18045
18046 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18047 Change default, since most of our files don't have a history.
18048 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18049 the user.
18050
18051 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18052 Add comint-run.
18053
18054 * calc/calc.el: Improve commenting convention.
18055 (calc-digit-map, toplevel): Simplify.
18056
18057 * comint.el (comint-insert-input): Be careful to only set point if we
18058 don't delegate to some other command.
18059
18060 * proced.el (proced-signal-list): Make it an alist.
18061 (proced-grammar-alist): Capitalize names.
18062 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18063 Disable undo manually and make it read-only.
18064 Use completion-annotate-function.
18065
18066 * minibuffer.el (minibuffer-message): If the current buffer is not
18067 a minibuffer, insert the message in the echo area rather than at the
18068 end of the buffer.
18069 (completion-annotate-function): New variable.
18070 (minibuffer-completion-help): Use it.
18071 (completion--embedded-envvar-table): Environment vars are
18072 always case-sensitive.
18073
18074 2009-08-30 Glenn Morris <rgm@gnu.org>
18075
18076 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18077 from fortran-current-defun.
18078 (fortran-beginning-of-subprogram): Be more precise about finding the
18079 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18080 (fortran-end-of-subprogram): Simplify.
18081 (fortran-current-defun): Use fortran-start-prog-re.
18082
18083 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18084
18085 * subr.el (do-after-load-evaluation): Simplify.
18086
18087 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18088
18089 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18090
18091 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18092 (vc-rcs-print-log): Use it.
18093
18094 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18095
18096 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18097
18098 * paths.el (abbrev-file-name): Move to abbrev.el.
18099 * abbrev.el (abbrev-file-name): Move from paths.el.
18100 Obey user-emacs-directory.
18101 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18102 user-emacs-directory.
18103 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18104 abbrev-file-name and calc-settings-file any more.
18105 * startup.el (command-line): Recompute abbrev-file-name and
18106 abbreviated-home-dir.
18107 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18108 of the special code for when C-h bindings haven't been changed.
18109 (display-startup-echo-area-message): Use with-current-buffer.
18110 (command-line-1): Use a list of strings, rather than a list of lists
18111 of strings for longopts.
18112
18113 * files.el (get-free-disk-space): Use / for default-directory.
18114
18115 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18116 Use with-current-buffer.
18117
18118 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18119 Recognize immutable variables like most-positive-fixnum.
18120 (byte-compile-setq-default): Check and warn if trying to assign
18121 to an immutable variable, or a non-variable.
18122
18123 * progmodes/cc-vars.el (c-comment-continuation-stars):
18124 * progmodes/cc-engine.el (c-looking-at-bos):
18125 * progmodes/cc-cmds.el (c-toggle-auto-state)
18126 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18127 (c-comment-line-break-function): Add version of obsolescence.
18128
18129 2009-08-28 Juri Linkov <juri@jurta.org>
18130
18131 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18132 associated with `archive-mode'.
18133
18134 * image.el (image-type-header-regexps): Use only JPEG magic number
18135 to determine JPEG images, and don't use `image-jpeg-p' because
18136 Emacs can display non-JFIF non-Exif JPEG images.
18137
18138 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18139
18140 * arc-mode.el (archive-mode):
18141 * emacs-lisp/re-builder.el (re-builder-unload-function):
18142 Protect against the default value of `major-mode' being nil.
18143
18144 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18145
18146 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18147 Fix typos in docstrings.
18148
18149 * progmodes/js.el (js--macro-decl-re): Doc fix.
18150 (js--plain-method-re, js--split-name): Refloc docstring.
18151 (js--class-styles, js--make-merged-item, js--splice-into-items):
18152 Fix typos in docstrings; reflow docstrings.
18153 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18154 (js--variable-decl-matcher, js--inside-pitem-p)
18155 (js--parse-state-at-point, js--get-all-known-symbols)
18156 (js--symbol-history, js-find-symbol, js--js-references)
18157 (js--moz-interactor, js--js-encode-value, js--read-tab):
18158 Fix typos in docstrings.
18159
18160 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18161
18162 * textmodes/reftex.el (reftex-get-file-buffer-force):
18163 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18164 * emulation/viper.el (viper-go-away, viper-set-hooks):
18165 * emacs-lisp/re-builder.el (re-builder-unload-function):
18166 * emacs-lisp/bytecomp.el (byte-compile-file):
18167 * ses.el (ses-unload-function):
18168 * hexl.el (hexl-find-file):
18169 * files.el (normal-mode):
18170 * ehelp.el (with-electric-help):
18171 * autoinsert.el (auto-insert-alist):
18172 * arc-mode.el (archive-mode):
18173 Use (default-value 'major-mode) instead of default-major-mode.
18174
18175 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18176 * international/mule.el (load-with-code-conversion):
18177 * emacs-lisp/debug.el (debug):
18178 * ediff-vers.el (ediff-rcs-get-output-buffer):
18179 * dired.el (dired-internal-noselect): Don't let-bind
18180 default-major-mode around code that doesn't use it.
18181 E.g. buffer creation via get-buffer-create doesn't use it.
18182
18183 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18184
18185 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18186 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18187 when writing the temp file. Otherwise, epa-file gets confused.
18188 (tramp-register-file-name-handlers): Make it a defun. Move also
18189 `epa-file-handler' to the front of `file-name-handler-alist'.
18190
18191 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18192
18193 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18194 start right after a ^M.
18195 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18196 (tramp-completion-file-name-regexp-separate)
18197 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18198 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18199 Don't modify last-coding-system-used by accident.
18200 (tramp-completion-file-name-handler): Apply the checks here,
18201 instead during registration.
18202 (tramp-register-file-name-handlers): Rename from
18203 `tramp-register-file-name-handler'. Register both
18204 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18205 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18206
18207 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18208
18209 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18210 Remove variable ...
18211 (gdb-init-1, gdb-display-separate-io-buffer)
18212 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18213 references to it.
18214 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18215 (gdb-inferior-filter): Use comint-output-filter to stop
18216 echoing and remove ^M characters.
18217
18218 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18219
18220 * emulation/viper-init.el (viper-restore-cursor-type):
18221 * emulation/cua-base.el (cua--update-indications):
18222 Replace default-cursor-type with (default-value 'cursor-type).
18223
18224 * mail/sendmail.el (mail-recover-1):
18225 * international/mule-diag.el (describe-current-coding-system-briefly)
18226 (describe-current-coding-system):
18227 * international/mule-cmds.el (select-safe-coding-system)
18228 (select-message-coding-system)
18229 (set-language-environment-coding-systems, set-locale-environment):
18230 * hexl.el (hexl-insert-multibyte-char):
18231 * dos-w32.el (find-buffer-file-type-coding-system):
18232 * simple.el (what-cursor-position):
18233 Replace uses of default-buffer-file-coding-system
18234 with (default-value 'buffer-file-coding-system).
18235
18236 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18237 Replace uses of default-cursor-in-non-selected-windows
18238 with (default-value 'cursor-in-non-selected-windows).
18239 Use with-current-buffer.
18240
18241 * mail/feedmail.el: Use CL macros.
18242 (feedmail-run-the-queue, feedmail-send-it-immediately):
18243 * dos-w32.el (find-buffer-file-type): Replace uses of
18244 default-buffer-file-type with (default-value 'buffer-file-type).
18245
18246 2009-08-28 Glenn Morris <rgm@gnu.org>
18247
18248 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18249 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18250 Use default-value of major-mode rather than default-major-mode.
18251
18252 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18253
18254 * Makefile.in (update-elcfiles): Report left over elc files.
18255
18256 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18257 expand-file-name and with-current-buffer.
18258 (mail-get-names, mail-directory): Use with-current-buffer.
18259
18260 * vc.el (vc-read-revision): New function.
18261 (vc-version-diff, vc-merge): Use it.
18262
18263 2009-08-27 Sam Steingold <sds@gnu.org>
18264
18265 * simple.el (kill-do-not-save-duplicates): New user option.
18266 (kill-new): When it is non-nil, and the new string is the same as
18267 the latest kill, set replace to t to avoid duplicates in kill-ring.
18268
18269 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18270
18271 * net/tramp.el (tramp-handle-process-file): Do not flush all
18272 caches when `process-file-side-effects' is set.
18273 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18274 instead of `tramp-find-file-exists-command'.
18275 Unset `process-file-side-effects'.
18276
18277 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18278
18279 * net/tramp.el (tramp-methods): New method "rsyncc".
18280 (top): Add completion function for "rsyncc".
18281 (tramp-message-show-message): New defvar.
18282 (tramp-message, tramp-error): Use it.
18283 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18284 remote copying.
18285 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18286 `tramp-methods' entry `copy-env' of "rsyncc".
18287 (tramp-vc-registered-read-file-names): New defconst.
18288 (tramp-vc-registered-file-names): New defvar.
18289 (tramp-handle-vc-registered): Implement optimization strategy.
18290 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18291 (tramp-vc-file-name-handler): New defun.
18292 (tramp-get-ls-command, tramp-get-test-command)
18293 (tramp-get-file-exists-command, tramp-get-remote-ln)
18294 (tramp-get-remote-perl, tramp-get-remote-stat)
18295 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18296
18297 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18298 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18299 timestamps.
18300 (tramp-get-file-property): Check for timestamps in
18301 `tramp-cache-inhibit-cache'.
18302 (tramp-set-file-property): Write timestamp.
18303
18304 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18305
18306 * language/japan-util.el (japanese-symbol-table): Add entries for
18307 cp932-2-byte.
18308
18309 * international/characters.el: Add category `j' to cp932-2-byte.
18310
18311 2009-08-27 Kenichi Handa <handa@m17n.org>
18312
18313 * international/fontset.el (build-default-fontset-data): New macro.
18314 (setup-default-fontset): Use build-default-fontset-data for CJK,
18315 tibetan, ethiopic, and ipa.
18316
18317 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18318
18319 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18320 (enable-multibyte-characters): Not customizable any more.
18321
18322 * subr.el (default-mode-line-format, default-header-line-format)
18323 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18324 (default-direction-reversed, default-truncate-lines)
18325 (default-left-margin, default-tab-width, default-case-fold-search)
18326 (default-left-margin-width, default-right-margin-width)
18327 (default-left-fringe-width, default-right-fringe-width)
18328 (default-fringes-outside-margins, default-scroll-bar-width)
18329 (default-vertical-scroll-bar, default-indicate-empty-lines)
18330 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18331 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18332 (default-scroll-down-aggressively, default-fill-column)
18333 (default-cursor-type, default-buffer-file-type)
18334 (default-cursor-in-non-selected-windows)
18335 (default-buffer-file-coding-system, default-major-mode)
18336 (default-enable-multibyte-characters): Mark as obsolete.
18337
18338 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18339
18340 * vc-dir.el (vc-dir-update): Remove debug helper.
18341
18342 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18343
18344 2009-08-26 Sam Steingold <sds@gnu.org>
18345
18346 * simple.el (save-interprogram-paste-before-kill): New user option.
18347 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18348 save the interprogram-paste into kill-ring before overriding it
18349 with the Emacs kill.
18350
18351 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18352
18353 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18354 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18355 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18356 and move to vc-rcs.el.
18357 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18358 move to vc-rcs.el.
18359 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18360 (vc-rcs-update-changelog): Remove.
18361 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18362 and move to vc-rcs.el.
18363
18364 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18365 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18366 renaming.
18367 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18368 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18369 vc.el, renamed to be RCS specific.
18370
18371 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18372 New functions.
18373 (vc-cvs-update-changelog): Move here from vc.el.
18374
18375 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18376 New functions.
18377
18378 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18379
18380 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18381
18382 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18383
18384 * vc-git.el (vc-git-register): Use "git add" for directories.
18385 (vc-git-stash, vc-git-stash-show): New functions.
18386 (vc-git-extra-menu-map): Bind them.
18387
18388 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18389 directory correctly in case the item is a directory itself.
18390
18391 * vc.el: Document the desired behavior for reverted files in the
18392 `added' state.
18393 (vc-default-prettify-state-info): Remove function, unused.
18394
18395 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18396
18397 2009-08-26 Glenn Morris <rgm@gnu.org>
18398
18399 * bindings.el (standard-mode-line-format): Reposition dashes in
18400 which-func entry. (Bug#4217)
18401
18402 * files.el (enable-local-variables, enable-local-eval)
18403 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18404 the defcustoms.
18405 (auto-mode-alist, ignored-local-variables)
18406 (save-some-buffers-action-alist): Move risky declarations to the
18407 definitions.
18408 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18409 (font-lock-defaults, format-alist, imenu--index-alist)
18410 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18411 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18412 (mode-line-modified, mode-line-mule-info, mode-line-position)
18413 (mode-line-process, mode-line-remote, outline-level)
18414 (parse-time-rules, rmail-output-file-alist)
18415 (special-display-buffer-names, vc-mode):
18416 Move risky declarations to the relevant files.
18417 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18418 (mode-line-modified, mode-line-process, mode-line-position)
18419 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18420 * font-core.el (font-lock-defaults):
18421 * format.el (format-alist):
18422 * vc-hooks.el (vc-mode):
18423 * window.el (special-display-buffer-names):
18424 * international/mule-cmds.el (input-method-alist):
18425 Define riskiness here (dumped file) rather than in files.el.
18426 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18427 * imenu.el (imenu-generic-expression, imenu--index-alist):
18428 * outline.el (outline-level):
18429 * time.el (display-time-string):
18430 * calendar/parse-time.el (parse-time-rules):
18431 * mail/rmailout.el (rmail-output-file-alist):
18432 Autoload riskiness here, rather than placing in files.el.
18433
18434 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18435
18436 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18437
18438 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18439
18440 * simple.el (process-file-side-effects): New defvar.
18441
18442 * dired-aux.el (dired-show-file-type):
18443 * vc.el (vc-diff-internal):
18444 * vc-arch.el (vc-arch-diff):
18445 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18446 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18447 * vc-git.el (vc-git-registered, vc-git-working-revision)
18448 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18449 (vc-git--empty-db-p):
18450 * vc-hooks.el (vc-user-login-name):
18451 * vc-svn.el (vc-svn-registered, vc-svn-state)
18452 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18453 * progmodes/grep.el (grep-probe): Let-bind
18454 `process-file-side-effects' with nil.
18455
18456 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18457
18458 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18459 daemon. Replace ping by checking for running service for bluez
18460 and zeroconf. (Bug#4239)
18461
18462 2009-08-25 Kevin Ryde <user42@zip.com.au>
18463
18464 * net/dig.el (dig): Add autoload cookie.
18465
18466 2009-08-25 Glenn Morris <rgm@gnu.org>
18467
18468 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18469 load-history for absolute file-names.
18470 (byte-compile-file-form-require): Warn about use of the cl package.
18471
18472 * format.el (format-alist): Doc fix.
18473
18474 * play/bubbles.el (top-level): Don't require cl at run-time.
18475
18476 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18477 run-time cl).
18478
18479 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18480
18481 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18482 from cl package.
18483 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18484
18485 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18486
18487 * calc/calc-alg.el (math-trig-rewrite)
18488 (math-hyperbolic-trig-rewrite): New functions.
18489 (calc-simplify): Simplify trig functions when asked.
18490
18491 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18492
18493 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18494
18495 2009-08-24 Kenichi Handa <handa@m17n.org>
18496
18497 * language/ind-util.el (mapthread): Delete it.
18498 (combinatorial): New function.
18499 (indian--puthash-cv): Use combinatorial instead of mapthread.
18500
18501 2009-08-22 Kevin Ryde <user42@zip.com.au>
18502
18503 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18504 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18505 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18506 Clarify docstring that the value is strings not symbols.
18507 (checkdoc-list-of-strings-p): New function.
18508
18509 2009-08-22 Glenn Morris <rgm@gnu.org>
18510
18511 * files.el (auto-mode-alist):
18512 * hippie-exp.el (he-concat-directory-file-name):
18513 * lpr.el (lpr-windows-system, printer-name):
18514 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18515 * ps-print.el (ps-windows-system):
18516 * startup.el (command-line):
18517 * emulation/viper-ex.el (viper-glob-function):
18518 * international/mule-cmds.el (set-language-environment-coding-systems):
18519 * net/ange-ftp.el (ange-ftp-write-region):
18520 * obsolete/fast-lock.el (fast-lock-cache-name):
18521 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18522 unisoft-unix, vax-vms, win32, w32.
18523
18524 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18525 given name if the pattern is not more specific.
18526
18527 * calendar/lunar.el (lunar-phase-names): New option.
18528 (lunar-phase): Doc fix.
18529 (lunar-cycles-per-year): New constant.
18530 (lunar-index): New function.
18531 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18532 (lunar-phase-name): Use lunar-phase-names.
18533 (calendar-lunar-phases): Use format.
18534 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18535
18536 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18537 Copy imenu-example--name-and-position function here for own use.
18538 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18539
18540 * bs.el (bs--redisplay):
18541 * cus-edit.el (custom-redraw):
18542 * ibuffer.el (ibuffer-bury-buffer):
18543 * server.el (server-goto-line-column):
18544 * startup.el (command-line-1):
18545 * strokes.el (strokes-xpm-for-stroke):
18546 * term.el (term-display-buffer-line):
18547 * view.el (View-goto-line):
18548 * calc/calc.el (calc-do, calc-trail-buffer):
18549 * play/gamegrid.el (gamegrid-add-score-insecure):
18550 * progmodes/ada-mode.el (ada-compile-goto-error):
18551 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18552 (ebrowse-select-1st-to-9nth):
18553 * progmodes/cperl-mode.el (cperl-time-fontification):
18554 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18555 * progmodes/gud.el (gud-display-line):
18556 (idlwave-shell-display-line):
18557 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18558 * progmodes/make-mode.el (makefile-browser-toggle):
18559 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18560 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18561 * textmodes/picture.el (picture-draw-rectangle):
18562 * textmodes/reftex-index.el (reftex-index-goto-letter):
18563 (reftex-select-jump-to-previous):
18564 * textmodes/reftex-sel.el (reftex-find-start-point)
18565 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18566 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18567 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18568 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18569 * textmodes/two-column.el (2C-associated-buffer):
18570 Use forward-line rather than goto-line.
18571
18572 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18573 goto-line.
18574
18575 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18576 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18577 (quick-check-list-to-regexp): Declare.
18578
18579 * progmodes/make-mode.el (makefile-browser-insert-selection):
18580 Use goto-char rather than goto-line.
18581
18582 * progmodes/prolog.el (compilation-error-regexp-alist)
18583 (compilation-forget-errors): Declare.
18584
18585 2009-08-22 Juri Linkov <juri@jurta.org>
18586
18587 * progmodes/grep.el (lgrep, rgrep): At the beginning
18588 set `dir' to `default-directory' unless `dir' is a non-nil
18589 readable directory. (Bug#4052)
18590 (lgrep, rgrep): Change a weird way to report an error
18591 from using `read-string' to using `error'.
18592 Instead of using interactive arguments in the function body,
18593 add new argument `confirm'.
18594
18595 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18596
18597 * textmodes/remember.el (remember-buffer):
18598 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18599 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18600 (icalendar-extract-ical-from-buffer):
18601 * net/newst-treeview.el (newsticker-groups-filename):
18602 * net/newst-backend.el (newsticker-cache-filename):
18603 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18604 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18605 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18606 (speedbar-buffers-line-path, speedbar-path-line)
18607 (speedbar-buffers-line-path):
18608 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18609 (epg-sign-keys):
18610 * epa.el (epa-display-verify-result):
18611 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18612
18613 2009-08-21 Glenn Morris <rgm@gnu.org>
18614
18615 * progmodes/js.el (inferior-moz-process): Fix declaration.
18616
18617 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18618
18619 * obsolete/rnewspost.el (news-mail-reply):
18620 Use goto-char rather than goto-line.
18621
18622 * term/ns-win.el (ns-open-file-select-line):
18623 Use line-beginning-position rather than goto-line.
18624
18625 * apropos.el (apropos-command):
18626 * ehelp.el (electric-helpify):
18627 * printing.el (pr-show-setup):
18628 * strokes.el (strokes-help):
18629 * tutorial.el (tutorial--describe-nonstandard-key)
18630 (tutorial--detailed-help):
18631 * woman.el (woman-mini-help, woman-display-extended-fonts):
18632 * calc/calc-help.el (calc-describe-key):
18633 * emulation/edt.el (edt-electric-helpify):
18634 * international/mule-diag.el (mule-diag):
18635 * play/yow.el (apropos-zippy):
18636 * progmodes/python.el (python-describe-symbol):
18637 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18638 * textmodes/table.el (*table--cell-describe-mode)
18639 (*table--cell-describe-bindings):
18640 Use help-print-return-message rather than the now obsolete alias.
18641
18642 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18643 (calendar-cursor-to-visible-date):
18644 * play/5x5.el (5x5-position-cursor):
18645 * play/decipher.el (decipher):
18646 * play/gomoku.el (gomoku-goto-xy):
18647 * play/landmark.el (lm-goto-xy):
18648 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18649 (mpuz-paint-digit):
18650 Use forward-line, not goto-line.
18651
18652 * mail/rmail.el (rmail-obsolete): Delete custom group.
18653 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18654 (rmail-remote-password, rmail-remote-password-required):
18655 Remove unneeded :set-after and :set properties.
18656
18657 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18658
18659 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18660
18661 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18662
18663 * loadup.el: Remove leftover macos code.
18664
18665 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18666 Explicitly pass the date format to git blame so that user local
18667 so that the output format can be parsed.
18668
18669 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18670
18671 * net/dbus.el (top): Don't check for (getenv
18672 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18673
18674 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18675
18676 * log-edit.el (log-edit-strip-single-file-name): New var.
18677 (log-edit-insert-changelog): Use it. Bug#3571
18678
18679 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18680
18681 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18682 Bug#3287
18683
18684 * help.el (help-print-return-message): Rename from
18685 print-help-return-message.
18686
18687 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18688 cvs-mode-map parent hack.
18689 (log-view-mode): Derive from special-mode.
18690
18691 * linum.el (linum-mode): window-size-change-functions is redundant.
18692 Adapt to new window-configuration-change-hook behavior.
18693 (linum-after-size, linum-after-config): Remove.
18694
18695 * imenu.el (imenu-example--name-and-position)
18696 (imenu-example--lisp-extract-index-name)
18697 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18698 Mark as obsolete.
18699
18700 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18701 (inferior-prolog-mode): Use it.
18702 (inferior-prolog-load-file): Reset list of errors.
18703
18704 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18705
18706 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18707
18708 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18709
18710 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18711
18712 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18713 is running already.
18714
18715 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18716
18717 * subr.el (listify-key-sequence-1): Use normal syntax since those
18718 integers are nowadays always represented by the same (positive) number
18719 on all platforms.
18720 (read-key-empty-map): New const.
18721 (read-key-delay): New var.
18722 (read-key): New function.
18723 (force-mode-line-update): Use with-current-buffer.
18724 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18725 (start-process-shell-command, start-file-process-shell-command):
18726 Discourage the use of command-args.
18727
18728 2009-08-19 Glenn Morris <rgm@gnu.org>
18729
18730 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18731
18732 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18733
18734 * simple.el (choose-completion-string): Don't rely on
18735 minibuffer-completing-file-name and ad-hoc checks to decide whether
18736 to continue completion or not.
18737
18738 * minibuffer.el (minibuffer-hide-completions): New function.
18739 (completion--do-completion): Use it.
18740 (completions-annotations): New face.
18741 (completion--insert-strings): Use it.
18742 (completion-pcm--delim-wild-regex): Add docstring.
18743 (completion-pcm--string->pattern): Add support for 0-width delimiters
18744 in completion-pcm--delim-wild-regex.
18745
18746 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18747
18748 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18749 Remove unused var `buffer-modified-p'.
18750
18751 * minibuffer.el (completion--do-completion): Move point for the #b001
18752 case as well (bug#4176).
18753 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18754
18755 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18756
18757 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18758 and :session buses.
18759
18760 2009-08-18 Kenichi Handa <handa@m17n.org>
18761
18762 * international/ucs-normalize.el (ucs-normalize-version):
18763 Change to 1.1.
18764 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18765 (utf-8-hfs): Make it perform normalization on encoding too.
18766
18767 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18768 (sentence-end-without-space): Delete duplicated chars.
18769 (sentence-end-base): Likewise.
18770
18771 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18772 (html-mode): Delete duplicated chars from sentence-end-base.
18773
18774 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18775 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18776
18777 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18778
18779 * files.el (hack-one-local-variable): If the mode function is for
18780 a minor mode, pass it an argument (Bug#4148).
18781
18782 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18783
18784 * net/tramp.el (tramp-register-completion-file-name-handler):
18785 Check also for (member 'partial-completion completion-styles).
18786
18787 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18788
18789 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18790 abbrev (Bug#3943).
18791
18792 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18793
18794 * progmodes/cperl-mode.el: Merge upstream 6.2.
18795 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18796 (cperl-forward-re): Check cperl-brace-recursing.
18797 (cperl-highlight-charclass): New function.
18798 (cperl-find-pods-heres): Use it.
18799 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18800 (cperl-beautify-regexp-piece): Fix column calculation.
18801 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18802 (cperl-beautify-level): Don't process entire regexp.
18803 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18804 calling man.
18805 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18806 (cperl-init-faces): Build a list in the normal way.
18807
18808 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18809
18810 * calendar/parse-time.el (parse-time-string-chars): Save match
18811 data.
18812
18813 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18814
18815 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18816 (sql-product): Use it.
18817 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18818 (sql-set-product): Add completion.
18819 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18820 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18821 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18822 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18823 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18824 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18825 (sql-highlight-db2-keywords): Remove.
18826 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18827 (sql-highlight-product): Use derived-mode-p.
18828 (sql-set-sqli-buffer): Use with-current-buffer.
18829 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18830 Simplify.
18831
18832 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18833
18834 * term.el: Fix commenting convention, turn comments into docstrings.
18835
18836 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18837
18838 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18839
18840 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18841
18842 * calendar/parse-time.el (parse-time-string-chars): Compute using
18843 character classes, to handle non-ascii characters (Bug#3190).
18844
18845 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18846
18847 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18848 another heredoc if the user adds another < (Bug#3226).
18849
18850 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18851 Don't initialize based on window-system (Bug#4124).
18852
18853 * facemenu.el (facemenu-read-color): Use a completion function
18854 that accepts any defined color, such as RGB triplets (Bug#3677).
18855
18856 * files.el (get-free-disk-space): Change fallback default
18857 directory to /. Expand DIR argument before switching to fallback.
18858 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18859
18860 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18861
18862 * files.el (load-library): Doc fix.
18863
18864 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18865
18866 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18867 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18868 incremental search string.
18869
18870 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18871 XEmacs.
18872
18873 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18874 (ediff-merge-region-is-non-clash)
18875 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18876 Also check if the job is really a merge job.
18877
18878 * ediff.el (ediff-current-file): New function.
18879
18880 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18881
18882 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18883 conventions.
18884 (js-insert-and-indent): Delete function.
18885 (js-mode-map): Don't bind keys to js-insert-and-indent.
18886 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18887 (js-end-of-defun): Rename from js--end-of-defun.
18888 (js-auto-indent-flag): Delete variable.
18889
18890 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18891
18892 * progmodes/js.el: Remove proclaim statement.
18893 Defvar which-func-imenu-joiner-function to silence compiler.
18894
18895 * files.el (auto-mode-alist): Use js-mode for .js files.
18896
18897 * progmodes/js2-mode.el: Remove file.
18898
18899 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18900
18901 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18902
18903 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18904
18905 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18906 Karl Landstrom <karl.landstrom@brgeight.se>
18907
18908 * progmodes/js.el: New file.
18909
18910 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18911
18912 * timezone.el (timezone-parse-date): Add ability to understand ISO
18913 basic format (minimal separators) dates in addition to the
18914 already-supported extended format dates.
18915
18916 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18917
18918 * international/ucs-normalize.el: Add a `coding' file variable.
18919
18920 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18921
18922 2009-08-14 Sam Steingold <sds@gnu.org>
18923
18924 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18925
18926 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18927
18928 * faces.el (help-argument-name): Define it here instead of
18929 help-fns.el, because in daemon mode help-fns.el may be loaded when
18930 faces are still uninitialized (Bug#1078).
18931
18932 * help-fns.el (help-argument-name): Move defface to faces.el.
18933
18934 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18935
18936 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18937 create buffer with a pty but no process so that GDB can make the
18938 inferior the controlling process.
18939
18940 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18941
18942 * international/ucs-normalize.el: New file.
18943
18944 2009-08-13 Richard Stallman <rms@gnu.org>
18945
18946 * mail/rmail.el (rmail-get-attr-names):
18947 Accept an attribute header that is too short.
18948
18949 * mail/rmail.el (rmail-forget-messages):
18950 Ignore nil elt in rmail-message-vector. Use dotimes.
18951
18952 * progmodes/compile.el (compilation-goto-locus):
18953 Use next-error-move-function.
18954
18955 * simple.el (next-error-move-function): New variable.
18956
18957 2009-08-12 Juri Linkov <juri@jurta.org>
18958
18959 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18960 always non-nil. (Bug#4052)
18961
18962 * replace.el (read-regexp): Return empty string when
18963 `default-value' is nil.
18964 (keep-lines-read-args): Don't use empty string as the
18965 default value for `read-regexp'. (Bug#2495)
18966
18967 2009-08-12 Juri Linkov <juri@jurta.org>
18968
18969 * international/mule-cmds.el (ucs-insert): Change arguments
18970 from `arg' to `character', `count', `inherit' to be the same
18971 as in `insert-char'. Doc fix. (Bug#4039)
18972
18973 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18974
18975 2009-08-12 Juri Linkov <juri@jurta.org>
18976
18977 * files-x.el: New file.
18978
18979 * files.el: Move code that deals with adding/deleting
18980 file/directory-local variables to files-x.el.
18981
18982 * Makefile.in (ELCFILES): Add files-x.elc.
18983
18984 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18985
18986 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18987 to use `goto-line'.
18988 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18989 `goto-line'.
18990 (gdb-invalidate-disassembly): Do not refresh upon receiving
18991 'update signal. Instead, update all disassembly buffers only after
18992 threads list.
18993 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18994 (gdb-starting): Move -data-list-register-names...
18995 (gdb-stopped): ...here so it's sent when first thread stops.
18996 (gdb-registers-handler-custom): Do nothing if register names are
18997 unknown yet.
18998
18999 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19000 from `gdb-mi.el' to avoid extra tangling.
19001
19002 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19003 change which breaks `gud-def' definitions used in `gdb'.
19004 (gdb-update-gud-running): No extra fuss for updating frame number.
19005
19006 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19007
19008 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19009 (describe-language-environment-map, setup-language-environment-map)
19010 (set-coding-system-map): Move initialization into declaration.
19011 (set-language-info-alist): Last arg to define-key-after can be skipped.
19012
19013 * international/quail.el (quail-completion-1): Simplify.
19014 (quail-define-rules): Use slightly more compact code.
19015 (quail-insert-decode-map): Propertize keys, compact columns.
19016
19017 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19018 Add goto-line.
19019
19020 2009-08-10 Miles Bader <miles@gnu.org>
19021
19022 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19023 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19024 (js2-instance-member, js2-private-member, js2-private-function-call)
19025 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19026 (js2-magic-paren, js2-external-variable):
19027 Remove "-face" suffix from face names.
19028 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19029 (js2-highlight-undeclared-vars, js2-peek-token)
19030 (js2-parse-function-params, js2-mode-show-errors)
19031 (js2-mode-show-warnings, js2-make-magic-delimiter)
19032 (js2-mode-highlight-magic-parens): Update to use new face names.
19033
19034 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19035
19036 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19037 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19038
19039 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19040
19041 * subr.el: Provide hashtable-print-readable.
19042
19043 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19044 hs-c-like-adjust-block-beginning.
19045 (hs-hide-block-at-point): Stop hiding at the beginning of
19046 hs-block-end-regexp (Bug#700).
19047
19048 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19049
19050 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19051 a macro.
19052 (gdb-registers-handler-custom): Do not fail when register names
19053 are unavailable.
19054
19055 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19056
19057 * progmodes/gdb-mi.el (gdb-control-all-threads)
19058 (gdb-control-current-thread): Interactive setters for
19059 `gdb-gud-control-all-threads' to use in menu.
19060 (gdb-show-run-p): Show «Go» when process is not active.
19061 (gud-tool-bar-map): Add non-stop/A,T indicator.
19062 Uses gud/thread.xpm and gud/all.xpm.
19063
19064 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19065
19066 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19067 (nslookup-font-lock-keywords): Make it a variable.
19068 (net-utils-mode): New mode for viewing diagnostic network output.
19069 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19070 (net-utils-run-simple): New function.
19071 (ifconfig, iwconfig, netstat, arp, route): Use it.
19072
19073 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19074
19075 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19076 (gdb-memory-set-address, def-gdb-set-positive-number)
19077 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19078 after changing settings.
19079 (gdb-invalidate-disassembly): Update when first shown.
19080 (gdb-edit-locals-value): Fixed.
19081 (gdb-registers-handler-custom): Print registers in right order and
19082 allow changing register values (only for current thread yet).
19083 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19084 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19085 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19086 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19087 Thread info in mode name.
19088 (gdb-registers-mode-map): TAB to switch to locals.
19089
19090 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19091
19092 * mail/rmail.el (rmail-add-mbox-headers)
19093 (rmail-set-message-counters-counter): Search for
19094 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19095
19096 2009-08-08 Glenn Morris <rgm@gnu.org>
19097
19098 * Makefile.in (ELCFILES): Update.
19099
19100 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19101
19102 * mail/sendmail.el (mail-yank-original):
19103 Set buffer-file-coding-system from the one used by the message whose
19104 text is yanked.
19105
19106 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19107 to "windows" when "pgnuplot" is used.
19108 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19109 Don't call accept-process-output if "pgnuplot" is used.
19110 (calc-graph-init): Don't send -display and -geometry to
19111 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19112 running "pgnuplot -V" with shell-command-to-string.
19113
19114 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19115 the default.
19116
19117 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19118
19119 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19120 org/org-latex.elc.
19121
19122 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19123
19124 * vc-dispatcher.el (vc-resynch-window): Update comment.
19125
19126 * term.el (term-handle-ansi-escape): Add comments with the
19127 terminfo capabilities implemented.
19128
19129 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19130
19131 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19132 (gdb-var-create-handler): Rewritten using JSON parser.
19133 (gdb-propertize-header): Move earlier.
19134 (gdb-set-header): Remove to avoid duplication.
19135 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19136 Refresh disassembly buffers only after threads list have been
19137 update.
19138 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19139 variables.
19140
19141 2009-08-04 Juri Linkov <juri@jurta.org>
19142
19143 * files.el: Commands to add/delete file/directory-local variables.
19144 (read-file-local-variable, read-file-local-variable-value)
19145 (read-file-local-variable-mode, modify-file-local-variable)
19146 (modify-file-local-variable-prop-line)
19147 (modify-dir-local-variable): New functions.
19148 (add-file-local-variable, delete-file-local-variable)
19149 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19150 (add-dir-local-variable, delete-dir-local-variable)
19151 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19152 (copy-dir-locals-to-file-locals-prop-line): New commands.
19153
19154 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19155
19156 * abbrev.el (insert-abbrev-table-description): Prettify output.
19157 Suggested by Karl Chen.
19158
19159 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19160
19161 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19162 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19163 (gdb-overlay-arrow-position, gdb-thread-position)
19164 (gdb-disassembly-position): Declare variables.
19165 (gdb-wait-for-pending): Function now.
19166 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19167 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19168 compilation goes smoothly.
19169 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19170 (gdb-non-stop-setting): New customization setting which replaces
19171 `gdb-non-stop' so changing it doesn't break active GDB session.
19172 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19173 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19174 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19175 (gdb-show-threads-by-default): New customization options.
19176 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19177 routines.
19178 (gdb-get-buffer-create): Send buffers update signal when they are
19179 created.
19180 (gdb-invalidate-locals, gdb-invalidate-registers)
19181 (gdb-invalidate-breakpoints)
19182 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19183 (gdb-invalidate-memory): Accept update signal.
19184 (gdb-current-context-command): Use --frame option.
19185 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19186 Implement `gdb-frame-number' selection logic.
19187 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19188 whether to show GUD toolbar buttons.
19189 (gdb-thread-exited): Unselect current thread when it exits.
19190 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19191 (gdb-mark-line): Routine which sets overlay arrow or inverses
19192 video on fringeless displays.
19193 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19194 to build aligned columns of data in GDB buffers and set text
19195 properties line-by-line.
19196 (gdb-invalidate-breakpoints)
19197 (gdb-breakpoints-list-handler-custom)
19198 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19199 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19200 (gdb-registers-handler-custom): Align data columns.
19201 (gdb-locals-handler-custom): Now prints data like in variable
19202 declarations.
19203 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19204 Remove confusing buttons.
19205 (gdb-invalidate-threads): Append --frame.
19206 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19207 between breakpoints/threads buffers.
19208 (gdb-set-window-buffer): Now can ignore dedicated windows.
19209 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19210 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19211 (def-gdb-thread-buffer-gud-command): Replaces
19212 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19213 for fine thread control.
19214 (gdb-preempt-existing-or-display-buffer): New function used to
19215 display bound buffers without breaking window layout.
19216 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19217 (gdb-select-frame): New version of `gdb-frames-select' which now
19218 sets `gdb-frame-number' so commands may use --frame option instead
19219 of inner debugger state.
19220 (gdb-frame-handler): Do not set `gdb-frame-number'.
19221 (gdb-threads-mode-map): Select threads with mouse.
19222
19223 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19224 avoid compilation warning.
19225 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19226 `gdb-show-stop-p`.
19227
19228 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19229 Argument `key' renamed to `buffer-type'.
19230 (gdb-current-context-buffer-name): Do not add thread info to
19231 buffer name when no thread is selected.
19232 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19233 command (bug 3794).
19234 (gdb-thread-selected): Handle `=thread-selected' notification.
19235 (gdb-wait-for-pending): New macro to deal with congestion problems.
19236 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19237 breakpoints.
19238 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19239 This fixes problem similar to one described in bug 3947.
19240 (gud-menu-map): More menu items.
19241 (gdb-init-1): Reset `gdb-thread-number' to nil.
19242
19243 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19244 non-stop settings.
19245
19246 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19247 (gdb-current-context-command): Do not append --thread if
19248 `gdb-thread-number' is nil.
19249 (gdb-running-threads-count, gdb-stopped-threads-count):
19250 New variables.
19251 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19252 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19253 New customization options.
19254 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19255 GUD commands.
19256 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19257 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19258 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19259 set `gdb-thread-number' and update `gud-running' properly.
19260 (gdb-running): Update threads list when new threads appear.
19261 (gdb-stopped): Support non-stop operation and new thread switching
19262 logic.
19263 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19264 (gdb-json-partial-output): New set of JSON routines.
19265 (def-gdb-auto-update-trigger): New `signal-list' optional
19266 argument.
19267 (gdb-thread-list-handler-custom): Update `gud-running',
19268 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19269 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19270 (gdb-continue-thread, gdb-step-thread): New commands for fine
19271 thread execution control.
19272 (gud-menu-map): New menu items to switch non-stop options.
19273 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19274 (gdb-send): Mimic RET properly (bug 3794).
19275
19276 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19277 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19278 gdb-buffer-rules.
19279 (def-gdb-auto-update-handler): New nopreserve optional argument.
19280 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19281
19282 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19283 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19284 (gdb-parent-mode): New mode to derive other GDB modes from.
19285 (gdb-display-disassembly-for-thread)
19286 (gdb-frame-disassembly-for-thread): New commands for threads
19287 buffer.
19288
19289 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19290 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19291 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19292 (gdb-update): We now store all GDB buffers in a list so that they
19293 can be updated by traversing a list instead of calling invalidate
19294 triggers explicitly.
19295 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19296 pair for GDB buffer.
19297 (gdb-stack-buffer-name): Add thread information.
19298 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19299 handle pending triggers.
19300 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19301 (def-gdb-thread-buffer-simple-command)
19302 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19303 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19304 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19305 New commands which show buffers bound to thread.
19306 (gdb-stack-list-locals-regexp): Remove unused regexp.
19307
19308 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19309 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19310 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19311 to (gud-comint-buffer) in *-buffer-name functions
19312 because (gdb-get-target-string) already does that.
19313 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19314 (gdb-changed-registers-handler): Rewritten without regexps.
19315
19316 * progmodes/gdb-mi.el: Basic thread selection support.
19317 (gdb-thread-number): New variable.
19318 (gdb-current-context-command): New macro which adds --thread
19319 option to command.
19320 (gdb-threads-mode-map): Select thread with SPC.
19321 (gdb-thread-list-handler-custom): Mark current thread with overlay
19322 arrow. Synchronize GDB thread and Emacs thread.
19323 (gdb-select-thread): New command which selects current thread.
19324 (gdb-invalidate-frames, gdb-invalidate-locals)
19325 (gdb-invalidate-registers): Use --thread option.
19326
19327 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19328
19329 * net/tramp.el (top): Make check for tramp-gvfs loading more
19330 robust. (Bug#3977)
19331 (tramp-handle-insert-file-contents): `unwind-protect' must be
19332 inside `with-parsed-tramp-file-name'.
19333
19334 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19335 fails.
19336
19337 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19338
19339 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19340 directory if CLASSPATH is not set.
19341
19342 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19343
19344 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19345 New defconst.
19346 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19347
19348 2009-08-02 Kevin Ryde <user42@zip.com.au>
19349
19350 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19351 Update freshmeat link. Delete newsforge.com as it seems gone.
19352
19353 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19354
19355 * select.el (x-set-selection): Doc fix (Bug#4021).
19356
19357 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19358
19359 * help-fns.el (describe-variable): Treat list return values from
19360 dir-locals-find-file properly (Bug#4005).
19361
19362 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19363
19364 * net/tramp.el (tramp-debug-message): Print also microseconds.
19365
19366 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19367
19368 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19369 or END is non-nil.
19370 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19371 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19372 format.
19373
19374 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19375 (tramp-get-file-property): Use it.
19376
19377 * autorevert.el (auto-revert-handler):
19378 Allow `auto-revert-tail-mode' for remote files.
19379
19380 2009-08-02 Jason Rumney <jasonr@gnu.org>
19381
19382 * minibuffer.el (read-file-name): Treat confirm options to
19383 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19384
19385 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19386
19387 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19388 (font-lock-variable-name-face, font-lock-constant-face):
19389 Darken the colors for light backgrounds.
19390
19391 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19392
19393 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19394 month names. (Bug#3987)
19395
19396 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19397
19398 * simple.el (line-move-finish): Pass whole number to
19399 line-move-to-column.
19400 (line-move-visual): Perform hscroll to the recorded position.
19401
19402 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19403
19404 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19405
19406 2009-07-29 Alan Mackenzie <acm@muc.de>
19407
19408 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19409
19410 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19411
19412 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19413 (gdb-place-breakpoints): Use full path when setting breakpoints.
19414
19415 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19416
19417 * calc/calc.el (calc-mode-map): Add keybinding for
19418 `calc-transpose-lines'.
19419
19420 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19421
19422 * calc/calc-misc.el (calc-transpose-lines): New function.
19423
19424 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19425
19426 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19427 Simplify check for out-of-band methods.
19428 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19429 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19430
19431 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19432
19433 * vc-git.el (vc-git-checkin): Fix typo.
19434
19435 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19436
19437 * progmodes/js2-mode.el: New file.
19438
19439 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19440
19441 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19442 (gud-menu-map): Adjust tooltip accordingly.
19443
19444 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19445
19446 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19447 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19448
19449 * add-log.el (change-log-mode-map): Add a menu.
19450
19451 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19452
19453 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19454 function returns nil.
19455 (dbus-handle-event): Handle special return value :ignore.
19456 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19457
19458 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19459
19460 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19461 it's not needed.
19462
19463 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19464
19465 Fix Bug#3888:
19466
19467 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19468
19469 * term/pc-win.el (x-display-name, x-colors)
19470 (x-select-enable-clipboard, x-select-text): Doc fix.
19471
19472 * term/common-win.el (x-display-name, x-colors): Doc fix.
19473
19474 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19475 (xw-defined-colors): Doc fix.
19476
19477 * w32-fns.el (x-select-text, x-setup-function-keys)
19478 (x-get-selection, x-set-selection): Doc fix.
19479
19480 * term/x-win.el (x-select-text, x-setup-function-keys)
19481 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19482
19483 * select.el (x-set-selection): Doc fix.
19484
19485 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19486
19487 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19488 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19489 "IsNSSSupportAvailable" method is not available.
19490 Reported by Steve Youngs <steve@sxemacs.org>.
19491
19492 2009-07-24 Kenichi Handa <handa@m17n.org>
19493
19494 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19495 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19496 (build-unicode-category-table): Fix range checks.
19497
19498 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19499
19500 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19501 the buffer we try to sync is current when calling
19502 vc-resynch-buffer.
19503
19504 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19505 not show up to date files.
19506
19507 2009-07-24 Glenn Morris <rgm@gnu.org>
19508
19509 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19510 Add autoload cookies. If necessary, initialize.
19511 (elint-log): Handle non-file buffers.
19512 (elint-initialize): Add optional argument to reinitialize.
19513 (elint-find-builtin-variables): Save excursion.
19514
19515 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19516
19517 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19518 for Lint.
19519
19520 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19521
19522 * vc.el (vc-print-log-internal): New function, split out from ...
19523 (vc-print-log): ... here.
19524 (vc-dir-move-to-goal-column): Declare.
19525
19526 * vc-git.el (vc-git-add-signoff): New variable.
19527 (vc-git-checkin): Use it.
19528 (vc-git-toggle-signoff): New function.
19529 (vc-git-extra-menu-map): Bind it to menu.
19530 (vc-git--run-command-string): Accept a nil FILE argument.
19531 (vc-git-stash-list): New function.
19532 (vc-git-dir-extra-headers): Use it.
19533
19534 2009-07-23 Glenn Morris <rgm@gnu.org>
19535
19536 * help-fns.el (describe-variable): Describe ignored and risky local
19537 variables in a similar way to that in which we describe safe ones.
19538
19539 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19540 (byte-compile-output-file-form, byte-compile-output-docform)
19541 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19542 Give some more local variables with common names a "bytecomp-" prefix,
19543 so as not to shadow things during compilation.
19544 * emacs-lisp/cl-macs.el (load-time-value)
19545 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19546 `outbuffer' to `bytecomp-outbuffer'.
19547
19548 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19549 since the next two variables cover them automatically now.
19550 (elint-builtin-variables, elint-autoloaded-variables): New.
19551 (elint-unknown-builtin-args): Remove all members, since they can be
19552 parsed automatically now.
19553 (elint-extra-errors): New.
19554 (elint-env-add-env, elint-env-add-macro): Use cadr.
19555 (elint-current-buffer): Use or. Change final message.
19556 (elint-get-top-forms): Use line-end-position.
19557 (elint-init-env): Use cadr. Handle autoload, declare-function,
19558 and defalias.
19559 (elint-add-required-env): Doc fix. Use or. Standardize error.
19560 (regexp-assoc): Remove unused function.
19561 (elint-top-form): Set elint-current-pos, to record the start of the
19562 top-level form, for compilation-mode.
19563 (elint-form): Trap errors in macro expansion. Use dolist.
19564 (elint-unbound-variable): Use elint-builtin-variables and
19565 elint-autoloaded-variables.
19566 (elint-get-args): Use cadr, or.
19567 (elint-check-cond-form): Use dolist, cadr.
19568 (elint-check-condition-case-form): Doc fix. Use cadr.
19569 Use elint-extra-errors.
19570 (elint-log): New function.
19571 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19572 Distinguish errors and warnings.
19573 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19574 Use a bytecomp-style format.
19575 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19576 (elint-get-log-buffer): Use compilation mode. Disable undo.
19577 Don't truncate lines.
19578 (elint-initialize): Set builtin and autoloaded variable lists.
19579 Only process elint-unknown-builtin-args if non-nil.
19580 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19581 New functions.
19582 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19583
19584 2009-07-22 Kevin Ryde <user42@zip.com.au>
19585
19586 * net/newst-backend.el (newsticker--parse-atom-1.0)
19587 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19588 (newsticker--parse-rss-1.0):
19589 * progmodes/idlwave.el (idlwave-mode):
19590 * progmodes/idlw-shell.el (idlwave-shell-mode):
19591 * progmodes/vera-mode.el (vera-mode):
19592 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19593 * progmodes/vhdl-mode.el (vhdl-mode):
19594 * textmodes/table.el (table-generate-source)
19595 (table--warn-incompatibility):
19596 Hyperlink urls in docstrings with URL `...'.
19597
19598 2009-07-22 Glenn Morris <rgm@gnu.org>
19599
19600 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19601 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19602 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19603 Remove leading * from defcustom docs.
19604
19605 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19606
19607 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19608 defcustom doc.
19609 (list-load-path-shadows): Optionally, just return shadows as a string.
19610
19611 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19612
19613 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19614
19615 * mail/rmailedit.el (rmail-edit-mode):
19616 Use auto-save-include-big-deletions.
19617
19618 * mail/rmail.el (rmail-variables):
19619 Use auto-save-include-big-deletions.
19620
19621 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19622 changes.
19623
19624 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19625
19626 * calc/calc.el (calc-undo-length): New variable.
19627 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19628
19629 2009-07-21 Richard Stallman <rms@gnu.org>
19630
19631 * files.el (auto-save-mode): Handle buffer-save-size = -2
19632 for toggling mode.
19633
19634 2009-07-21 Glenn Morris <rgm@gnu.org>
19635
19636 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19637
19638 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19639
19640 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19641 silence compiler. Instead...
19642 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19643 (ps-print-ensure-fontified): Update for above function name changes.
19644
19645 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19646 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19647 silence compiler. Instead...
19648 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19649 (mh-show-buffer): Only define for compiler.
19650 (pr-mh-current-message): Update for above function name changes.
19651
19652 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19653 as an argument.
19654 (find-file-noselect, insert-file-1): Update for above change.
19655
19656 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19657
19658 * mail/mailclient.el (mailclient-send-it): Fix message.
19659
19660 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19661 (edebug-eval): Check cl-debug-env is bound.
19662 (print-level, print-circle): Don't redefine built-in variables.
19663
19664 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19665 (custom-print-vectors): Remove old comments from doc.
19666
19667 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19668 (emerge-version): Make the variable an obsolete alias for the
19669 emacs-version variable. Make the function obsolete.
19670 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19671 Emerge options, rather than merging in into the main Options menu.
19672 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19673 and auto advance modes. Disable edit/fast items when not relevant.
19674
19675 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19676
19677 * term/vt420.el (terminal-init-vt420): Fix typo.
19678
19679 2009-07-20 Sam Steingold <sds@gnu.org>
19680
19681 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19682 variable (removed from compile.el on 2004-03-11).
19683
19684 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19685
19686 * files.el (hack-local-variables-filter): Fix last change.
19687
19688 2009-07-19 Juri Linkov <juri@jurta.org>
19689
19690 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19691 (dir-local-variables-alist): New buffer-local variable.
19692 (hack-local-variables-filter): If variable is not dir-local,
19693 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19694 because file-local overrides dir-local.
19695 (c-postprocess-file-styles) <declare-function>:
19696 Remove obsolete declaration.
19697 (hack-dir-local-variables): Add dir-local variable/value pair to
19698 `dir-local-variables-alist' and remove duplicates. Doc fix.
19699
19700 * help-fns.el (describe-variable): Add information about
19701 file-local and dir-local variables.
19702
19703 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19704
19705 * files.el (hack-local-variables-filter): Rewrite.
19706
19707 2009-07-19 Glenn Morris <rgm@gnu.org>
19708
19709 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19710 Silence compiler by only defining on XEmacs.
19711
19712 * international/mule.el (auto-coding-regexp-alist): Only match
19713 BABYL... at the start of buffer, not of lines. (Bug#3790)
19714
19715 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19716 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19717 (cal-menu-context-mouse-menu): Doc fix.
19718
19719 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19720
19721 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19722
19723 2009-07-18 Juri Linkov <juri@jurta.org>
19724
19725 * info.el: Virtual Info keyword finder.
19726 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19727 (Info-finder-file): New variable.
19728 (Info-finder-find-file): New function.
19729 (finder-known-keywords, finder-package-info)
19730 (find-library-name, lm-commentary): Use defvar and
19731 declare-function to silence compiler warnings.
19732 (Info-finder-find-node): New function.
19733 (info-finder): New command.
19734
19735 * subr.el (process-kill-buffer-query-function): New function.
19736 (add-hook)<kill-buffer-query-functions>: Add hook
19737 `process-kill-buffer-query-function'.
19738
19739 2009-07-18 Alan Mackenzie <acm@muc.de>
19740
19741 * progmodes/cc-mode.el (c-before-hack-hook)
19742 (c-postprocess-file-styles): Give invocation of `c-set-style'
19743 DONT-OVERRIDE parameter of t. Already set style variables will
19744 thus not be overridden by style settings given by `c-file-syle'.
19745
19746 * files.el (hack-local-variables-filter): Remove entries with
19747 duplicate keys from `file-local-variables-alist'.
19748
19749 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19750
19751 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19752 x-set-selection if display-selections-p returns nil for the
19753 current frame.
19754
19755 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19756
19757 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19758
19759 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19760
19761 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19762 Accept nil in addition to a regexp.
19763 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19764 Accept nil in addition to a regexp.
19765 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19766 buffers that have an associated file. Handle nil values of
19767 desktop-buffers-not-to-save and desktop-files-not-to-save.
19768 (Bug#3833)
19769
19770 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19771 (x-disown-selection-internal): New functions.
19772
19773 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19774
19775 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19776 warning.
19777 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19778 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19779
19780 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19781
19782 * simple.el (set-mark): Revert last change.
19783
19784 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19785
19786 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19787 rendering of pngs is not possible instead of messaging a long
19788 description.
19789
19790 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19791
19792 * w32-fns.el (x-selection-owner-p): New function.
19793
19794 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19795 (mouse-yank-at-click, mouse-yank-primary):
19796 If select-active-regions is non-nil, deactivate the mark before
19797 insertion.
19798
19799 * simple.el (deactivate-mark, set-mark): Only save selection if we
19800 own it.
19801
19802 2009-07-17 Kenichi Handa <handa@m17n.org>
19803
19804 * case-table.el (describe-buffer-case-table): Fix for the case
19805 that KEY is a cons.
19806
19807 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19808
19809 * vc-rcs.el (vc-rcs-find-file-hook):
19810 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19811
19812 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19813
19814 * net/tramp.el (tramp-wait-for-output): Handle the case when
19815 commands do not return a newline but a null byte before the shell
19816 prompt. (Bug#3858)
19817
19818 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19819
19820 * term/ns-win.el (ns-set-alpha): Don't declare.
19821 (ns-set-background-alpha): Remove function.
19822
19823 2009-07-16 Kevin Ryde <user42@zip.com.au>
19824
19825 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19826 y-or-n-p, for safety.
19827
19828 2009-07-16 Richard Stallman <rms@gnu.org>
19829
19830 * files.el (auto-save-mode): If buffer-saved-size is -2,
19831 don't clobber it.
19832
19833 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19834 (rmail-retry-ignored-headers): Add more uninteresting fields.
19835
19836 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19837
19838 * net/rcirc.el (rcirc): Use history variables.
19839 (rcirc-server-name-history, rcirc-nick-name-history)
19840 (rcirc-server-port-history): New variables.
19841
19842 2009-07-15 Kenichi Handa <handa@m17n.org>
19843
19844 * international/mule-cmds.el (set-language-environment-charset):
19845 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19846 ignore them.
19847
19848 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19849 Delete unibyte-display.
19850
19851 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19852
19853 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19854
19855 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19856
19857 * simple.el (deactivate-mark): Optional argument FORCE.
19858 (set-mark): Use deactivate-mark.
19859
19860 * info.el (Info-search): No need to check transient-mark-mode
19861 before calling deactivate-mark.
19862
19863 * select.el (x-set-selection): Doc fix.
19864 (x-valid-simple-selection-p): Allow buffer values.
19865 (xselect--selection-bounds): Handle buffer values.
19866 Suggested by David De La Harpe Golden.
19867
19868 * mouse.el (mouse-set-region, mouse-drag-track):
19869 Call copy-region-as-kill before setting the mark, to let
19870 select-active-regions work.
19871
19872 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19873
19874 * simple.el (deactivate-mark): If select-active-regions is
19875 non-nil, copy the selection data into a string.
19876 (activate-mark): If select-active-regions is non-nil, set the
19877 selection to the current buffer.
19878 (set-mark): Update selection if select-active-regions is non-nil.
19879
19880 * select.el (x-valid-simple-selection-p): Allow buffer values.
19881
19882 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19883
19884 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19885 and more featureful message-mode.
19886
19887 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19888
19889 * select.el (x-set-selection): Doc fix.
19890 (x-valid-simple-selection-p): Disallow selection data consisting
19891 of a list or cons of integers, since that is not used.
19892 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19893 (xselect-convert-to-string, xselect-convert-to-length)
19894 (xselect-convert-to-filename, xselect-convert-to-charpos)
19895 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19896
19897 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19898
19899 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19900 output in -break-info command (Emacs bug #3794).
19901
19902 2009-07-14 Glenn Morris <rgm@gnu.org>
19903
19904 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19905 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19906 (edebug-print-length, edebug-print-level, edebug-print-circle)
19907 (edebug-sit-for-seconds, edebug-view-outside)
19908 (edebug-bounce-point, edebug-set-global-break-condition)
19909 (edebug-Go-nonstop-mode, edebug-trace-mode)
19910 (edebug-Trace-fast-mode, edebug-continue-mode)
19911 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19912 (edebug-visit-eval-list): Doc fixes.
19913
19914 * subr.el (def-edebug-spec): Doc fix.
19915
19916 2009-07-14 Kenichi Handa <handa@m17n.org>
19917
19918 * international/characters.el: Fix setting of category ?C.
19919
19920 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19921
19922 * term/ns-win.el (x-select-font): defalias x-select-font to
19923 ns-popup-font-panel instead of generate-fontset-menu.
19924
19925 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19926
19927 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19928
19929 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19930
19931 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19932 the PK\003\004 header (Bug#3770).
19933
19934 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19935
19936 * pcomplete.el (pcomplete-comint-setup): Check for
19937 shell-dynamic-complete-filename too.
19938
19939 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19940
19941 * simple.el (temporary-goal-column): Change the value for
19942 line-move-visual to a cons cell.
19943 (line-move-visual): Record or set the window hscroll, if
19944 necessary (Bug#3494).
19945 (line-move-1): Handle cons value of temporary-goal-column.
19946
19947 2009-07-11 Kenichi Handa <handa@m17n.org>
19948
19949 * international/mule-diag.el (describe-character-set): Don't show
19950 width.
19951
19952 2009-07-10 Sam Steingold <sds@gnu.org>
19953
19954 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19955 Omake sometimes indents the errors it prints, so allow all
19956 regexps to start with spaces.
19957
19958 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19959
19960 * cus-edit.el (customize-changed-options-previous-release):
19961 Bump value to 22.1. (Bug#3804)
19962
19963 2009-07-08 Sam Steingold <sds@gnu.org>
19964
19965 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19966 to be a cons cell (test . ignored-directory) to selectively ignore
19967 some directories depending on the location of the search.
19968
19969 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19970
19971 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19972 remote user is root, on the local host.
19973 (tramp-local-host-p): Either the local user or the remote user
19974 must be root. (Bug#3771)
19975
19976 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19977
19978 * progmodes/gdb-mi.el (gdb): Remove description of
19979 gdb-use-separate-io-buffer.
19980 (menu): Don't allow toggling of or enable
19981 gdb-use-separate-io-buffer from menubar.
19982
19983 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19984
19985 * mail/unrmail.el (unrmail): Make sure the message ends with two
19986 newlines (Bug#3769).
19987
19988 2009-07-08 Glenn Morris <rgm@gnu.org>
19989
19990 * calendar/calendar.el (calendar-current-date): Rework previous change.
19991
19992 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19993
19994 * calendar/calendar.el (calendar-current-date):
19995 Add an optional argument giving an offset from today.
19996
19997 2009-07-08 Glenn Morris <rgm@gnu.org>
19998
19999 * tutorial.el (tutorial--describe-nonstandard-key):
20000 Adjust the message for when a key has been unbound.
20001 (help-with-tutorial): Hide the arch-tag.
20002
20003 2009-07-08 Kenichi Handa <handa@m17n.org>
20004
20005 * international/fontset.el (setup-default-fontset): For each
20006 script, append (not set) font-specs.
20007
20008 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20009 docstring.
20010
20011 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20012
20013 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20014 -data-list-register-names to ...
20015 (gdb-starting): ... here because GDB 7.0 requires execution to
20016 have started when using this MI command.
20017 (gdb-set-header): New function to distinguish select and
20018 unselected tabs in gdb buffers.
20019 (gdb-propertize-header): New macro that uses gdb-set-header.
20020 (gdb-breakpoints-header, gdb-locals-header): Use it.
20021 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20022
20023 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20024
20025 * Makefile.in (ELCFILES): Remove fadr.elc.
20026
20027 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20028
20029 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20030 may contain frame information, so `string-match' should be used.
20031 (gdb-update): Disassembly is invalidated through
20032 `gdb-get-selected-frame'.
20033 (gdb-pad-string): New function to pad string with spaces.
20034 (gdb-invalidate-disassembly): Invalidate only if the buffer
20035 exists.
20036 (gdb-disassembly-handler-custom): Column alignment.
20037 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20038 placing new ones.
20039 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20040 end of line, too.
20041 (gdb-frame-handler): Match convention to for disassembly buffer
20042 mode name.
20043 (gdb-stack-list-frames-handler): Rewritten without regexps.
20044 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20045 not highlight breakpoints without line information.
20046 (gdb-input): Add trailing newline to command.
20047
20048 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20049 buffer properly.
20050 (gdb-breakpoints-list-handler-custom): Replacement for
20051 `gdb-break-list-handler'. Using real parser instead of regexps
20052 now.
20053 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20054 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20055 to place breakpoints.
20056 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20057 functions.
20058 (gdb-disassembly-handler-custom): Show overlay arrow.
20059 (gdb-disassembly-place-breakpoints): Show breakpoints in
20060 disassembly buffer.
20061 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20062 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20063 instead of parsing breakpoints buffer. Fixed old menu references
20064 in `gud-menu-map'.
20065
20066 * fadr.el: Remove.
20067
20068 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20069 (gdb-memory-address): New variable which holds top address of
20070 memory page shown in memory buffer.
20071 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20072 New customization variables.
20073 New functions:
20074 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20075 display the memory buffer.
20076 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20077 buffer display parameters.
20078 (def-gdb-memory-format, gdb-memory-format-binary)
20079 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20080 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20081 Functions for setting memory buffer format.
20082 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20083 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20084 unit size used in memory buffer.
20085 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20086 Switch to next/previous page of memory buffer.
20087 Now using (bindat-get-field) instead of fadr functions.
20088
20089 2009-07-07 Sam Steingold <sds@gnu.org>
20090
20091 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20092 non-top-level files.
20093
20094 2009-07-07 Kenichi Handa <handa@m17n.org>
20095
20096 * international/mule-cmds.el (reset-language-environment):
20097 Put the highset priority to the charset iso-8859-1.
20098
20099 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20100
20101 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20102 to the end of the line when locating the block (Bug#700).
20103
20104 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20105
20106 * net/tramp.el (tramp-handle-write-region): Flush file properties
20107 in case of short track.
20108
20109 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20110
20111 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20112 Coded custom representation of verilog error regular expressions
20113 to work with Emacs-22's new format.
20114 (verilog-error-regexp-xemacs-alist): Coded custom representation
20115 of verilog error regular expressions to work with XEmacs format.
20116 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20117 error recognition into XEmacs.
20118 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20119 error recognition into Emacs-22.
20120
20121 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20122
20123 * woman.el: Remove stand-alone closing parentheses.
20124 (woman-file-name, woman2-format-paragraphs)
20125 (woman-leave-blank-lines): Code cleanup.
20126 (woman-use-own-frame): Change default to nil.
20127 (woman-italic, woman-bold, woman-unknown, woman-addition):
20128 Change defaults to inherit from default faces.
20129 (woman2-process-escapes): Consume the newline after a stand-alone
20130 filler character (Bug#3651).
20131
20132 2009-07-06 Glenn Morris <rgm@gnu.org>
20133
20134 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20135 (top-level): Move provide to the end.
20136 (ffap): Remove defunct URL from custom group.
20137
20138 * subr.el (eval-after-load): Doc fix.
20139
20140 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20141
20142 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20143 `calc-embedded-word' is called twice.
20144
20145 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20146
20147 * files.el (find-alternate-file-other-window, find-alternate-file):
20148 Obey confirm-nonexistent-file-or-buffer.
20149
20150 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20151
20152 * dired-aux.el (dired-show-file-type): Handle remote files.
20153
20154 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20155
20156 * desktop.el (desktop-globals-to-save):
20157 Add file-name-history (Bug#2750).
20158
20159 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20160
20161 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20162
20163 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20164
20165 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20166 property on entire argument since this is what eshell-lisp-command
20167 expects.
20168
20169 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20170
20171 * net/tramp-gvfs.el (tramp-gvfs-methods)
20172 (tramp-gvfs-zeroconf-domain)
20173 (tramp-bluez-discover-devices-timeout): Add version flag.
20174 (tramp-gvfs-handler-mounted-unmounted)
20175 (tramp-gvfs-connection-mounted-p): Polish handling of
20176 incompatibilities between GVFS 0.2 and 1.0.
20177
20178 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20179
20180 * cus-start.el (all): Add make-pointer-invisible.
20181
20182 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20183
20184 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20185 formatted correctly.
20186
20187 2009-07-02 Juri Linkov <juri@jurta.org>
20188
20189 * info.el: Virtual Info files and nodes.
20190 (Info-virtual-files, Info-virtual-nodes): New variables.
20191 (Info-current-node-virtual): New variable.
20192 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20193 New functions.
20194 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20195 to check for a virtual file instead of checking a fixed list
20196 of node names.
20197 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20198 instead of ad-hoc processing of "dir" and (apropos history toc).
20199 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20200 instead of ad-hoc processing of "dir" and (apropos history toc).
20201 Reread a file when moving from a virtual node.
20202 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20203 (Info-directory-toc-nodes, Info-directory-find-file)
20204 (Info-directory-find-node): New functions.
20205 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20206 (Info-history): Move part of code to
20207 `Info-history-find-node'.
20208 (Info-history-toc-nodes, Info-history-find-file)
20209 (Info-history-find-node): New functions.
20210 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20211 (Info-toc): Move part of code to `Info-toc-find-node'.
20212 (Info-toc-find-node): New function.
20213 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20214 the current Info file name to references because now the node
20215 "*TOC*" belongs to the same Info manual.
20216 (Info-toc-build): Rename from `Info-build-toc'.
20217 (Info-toc-nodes): Rename input argument `file' to `filename'.
20218 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20219 instead of ad-hoc processing of ("dir" apropos history toc).
20220 (Info-index-nodes): Use Info-virtual-file-p
20221 to check for a virtual file instead of checking a fixed list
20222 of node names.
20223 (Info-index-node): Add check for `Info-current-node-virtual'.
20224 Raise `save-match-data' higher up the tree to contain
20225 `search-forward' too (bug fix).
20226 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20227 (Info-virtual-index-nodes): New variable.
20228 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20229 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20230 (Info-apropos-file, Info-apropos-nodes): New variables.
20231 (Info-apropos-toc-nodes, Info-apropos-find-file)
20232 (Info-apropos-find-node, Info-apropos-matches): New functions.
20233 (info-apropos): Move part of code to `Info-apropos-find-node' and
20234 `Info-apropos-matches'.
20235 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20236 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20237 for a virtual file instead of checking a fixed list of node names.
20238
20239 * simple.el (async-shell-command): New command.
20240
20241 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20242
20243 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20244 instead of `mount-info'.
20245
20246 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20247
20248 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20249 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20250
20251 2009-07-02 Kenichi Handa <handa@m17n.org>
20252
20253 * international/mule.el (set-keyboard-coding-system): Force *-unix
20254 coding-system to avoid eol conversion.
20255
20256 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20257
20258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20259 Add handler for `process-file', `shell-command' and
20260 `start-file-process'.
20261 (tramp-gvfs-handle-shell-command)
20262 (tramp-gvfs-handle-start-file-process)
20263 (tramp-gvfs-handle-process-file): New defuns.
20264 (tramp-synce-list-devices): Simplify check for existence of property.
20265
20266 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20267
20268 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20269
20270 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20271
20272 * language/korean.el (set-language-info-alist): Add korean-cp949,
20273 cp949 to spec.
20274
20275 2009-07-01 Kenichi Handa <handa@m17n.org>
20276
20277 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20278
20279 * international/encoded-kb.el: Deleted.
20280
20281 * international/mule.el (set-keyboard-coding-system): Perform the
20282 necessary setup here instead of calling encoded-kbd-setup-display.
20283
20284 2009-07-01 Glenn Morris <rgm@gnu.org>
20285
20286 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20287
20288 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20289
20290 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20291
20292 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20293
20294 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20295 Handle also the 'rename case, when setting file modes. (Bug#3712)
20296 (tramp-default-file-modes): Remove execute permissions.
20297
20298 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20299 (top): Add a default for "synce" in `tramp-default-user-alist'.
20300 Add completion function for "synce" method.
20301 (tramp-hal-service, tramp-hal-path-manager)
20302 (tramp-hal-interface-manager, tramp-hal-interface-device):
20303 New defconst.
20304 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20305 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20306 New defuns.
20307
20308 * net/trampver.el: Update release number.
20309
20310 2009-06-30 Kenichi Handa <handa@m17n.org>
20311
20312 * international/fontset.el (setup-default-fontset): Add CJK fonts
20313 for symbols and the other miscellaneous characters.
20314
20315 * language/korea-util.el (setup-korean-environment-internal):
20316 Make char-width-table suitable for Korean environments.
20317 (exit-korean-environment): Cancel above.
20318
20319 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20320 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20321 setup-function to make char-width-table suitable for respective
20322 environments, and an exit-function to cancel that.
20323
20324 * language/japan-util.el (setup-japanese-environment-internal):
20325 Call use-cjk-char-width-table with arg `ja_JP'.
20326
20327 * international/characters.el (cjk-char-width-table): Delete it.
20328 (cjk-char-width-table-list): New variable.
20329 (use-cjk-char-width-table): New arg local-name.
20330 (use-default-char-width-table): Fix for the case that Emacs is
20331 already using the default char-width-table.
20332
20333 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20334
20335 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20336 modes mandatory. (Bug#3712)
20337
20338 2009-06-29 Alan Mackenzie <acm@muc.de>
20339
20340 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20341 correction between the visible width of TABs and their number of bytes.
20342
20343 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20344
20345 * server.el (server-buffer-done): Prevent kill-buffer from
20346 prompting by clearing the buffer modification flag (Bug#3696).
20347
20348 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20349
20350 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20351 (verilog-endcomment-reason-re): Support unique case and priority case.
20352 (verilog-basic-complete-re): Support localparam lineup.
20353 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20354 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20355 commenting.
20356 (verilog-leap-to-case-head): Now support *nested* unique &
20357 priority case statements.
20358 (verilog-auto-lineup): Make just declarations the default (as it
20359 had been).
20360 (verilog-leap-to-case-head): Support priority/unique case statements.
20361 (verilog-auto-lineup): Rework to give users radio buttons to
20362 select the various styles of automatic lineup.
20363 (verilog-error-regexp-alist): Rework to support the XEmacs style
20364 of error regular expressions from compilers, lint tools &
20365 simulators. Note that GNU Emacs has made it impossible for a mode
20366 to load such things.
20367 (electric-verilog-terminate-line, verilog-indent-declaration)
20368 (verilog-auto-wiure): Rework for radio button selection of
20369 auto-lineup selection of specification of auto lineup.
20370 (verilog-beg-of-statement-1): Redesign to support proper operation
20371 in additional code, based on testing with auto-lineup.
20372 (verilog-calculate-indent, assignments & declarations)
20373 (verilog-backward-token): Enhance to support auto-lineup of
20374 assignments & declarations.
20375 (verilog-in-directive-p, verilog-at-struct-p): New function for
20376 easy test of whether we are.
20377 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20378 to support safe execution at almost anyline.
20379 (verilog-calc-1): Properly support indenting deep inside generate
20380 blocks.
20381 (verilog-init-font): Remove definition & use of verilog-init-font,
20382 as it is redundant with font-lock-defaults.
20383 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20384 to avoid circular calls if syntax-ppss is a function (as is the
20385 case now in 22.x GNU Emacs) as that function would sometimes call
20386 itself, leading to (nearly) infinite recursion.
20387 (verilog-ovm-begin-re, verilog-ovm-end-re)
20388 (verilog-ovm-statement-re, verilog-leap-to-head)
20389 (verilog-backward-token): Add support for OVM macros. Some are
20390 complete statements, and others open and close scopes like begin
20391 and end.
20392 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20393 (verilog-defun-level-generate-only-re): Really fix the defun-list
20394 compilation issue.
20395 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20396 coverpoint, constraint and cross statements.
20397 (verilog-defun-level-list, verilog-generate-defun-level-list)
20398 (verilog-all-defun-level-list): Redo these specifications - it is
20399 too hard to support eval-when compile aggregation of lists also
20400 built at when-compile time.
20401 (verilog-defun-level-list): Place defconsts of variables used in
20402 building regular expressions which are built in eval-when-compile
20403 bodies in the same eval-when-compile body to facilitate compile
20404 without load.
20405 (verilog-beg-block-re-ordered): Support indenting
20406 virtual/protected tasks and functions.
20407 (verilog-defun-level-list, verilog-in-generate-region-p)
20408 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20409 indentation of some module items (generate items).
20410 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20411 across virtual/protected tasks and functions.
20412
20413 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20414
20415 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20416 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20417 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20418 in concatenations. Reported by Yishay Belkind.
20419 (verilog-auto-ascii-enum): Support one-hot state machines in
20420 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20421 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20422 modport in AUTOINST and add vl-modport for users.
20423 Reported by David Rogoff.
20424 (verilog-auto-inout-module, verilog-auto-inst)
20425 (verilog-decls-get-interfaces, verilog-insert-definition)
20426 (verilog-insert-one-definition, verilog-read-decls)
20427 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20428 (verilog-sig-modport, verilog-signals-combine-bus)
20429 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20430 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20431 Suggested by David Rogoff.
20432 (verilog-repair-open-comma): Fix non-insertion of comma when
20433 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20434 (verilog-make-width-expression): Simplify [A-1:0] expression
20435 widths to just {A{1'b0}}.
20436 (verilog-mode): Cleanup checkdoc warnings.
20437 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20438 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20439 inputs/outputs or data type. Suggested by Vasu Kandadi.
20440 (next-error-last-buffer): Fix byte-compiler warning.
20441 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20442 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20443 or shell command text during AUTO expansion. Suggested by Tad Truex.
20444 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20445 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20446 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20447 in AUTOINOUT. Reported by Matthew Lovell.
20448 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20449 causing use of <= assignments. Reported by Alex Reed.
20450 (verilog-read-decls): Fix triand, trior, wand, wor to be
20451 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20452 (verilog-extended-complete-re): Support import "DPI-C" functions.
20453 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20454 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20455 (verilog-insert-date, verilog-insert-year)
20456 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20457 Windows systems. Reported by Michael Potts.
20458 (verilog-read-module-name): Fix AUTOINST when the child module
20459 declaration's name is a tick define. Reported by Elliot Mednick.
20460 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20461 passed to next parameter's definition. Reported by Bruce T.
20462 (verilog-read-decls): Fix detecting "parameter int" when using
20463 AUTOINSTPARAM. Reported by Bruce T.
20464 (verilog-goto-defun): Fix goto not finding modules unless first
20465 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20466 (verilog-mode): Expand -f flag arguments on entry to mode so
20467 verilog-goto-defun will work. Reported by Lawrence Butcher.
20468 (verilog-getopt): Expand environment variables in -f file
20469 arguments. Suggested by Lawrence Butcher.
20470 (verilog-set-define): Fix "Symbol's value as variable is void"
20471 when reading enumerations.
20472 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20473 Suggested by Stephen Peltan.
20474 (verilog-read-defines): Fix reading of enumerations in include
20475 files. Reported by Steve Peltan.
20476
20477 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20478
20479 * files.el (trash-directory): Fix defcustom type.
20480
20481 2009-06-28 Juri Linkov <juri@jurta.org>
20482
20483 * help-fns.el (describe-function-1): Correctly locate adviced
20484 functions in hyperlink (Bug#2438).
20485
20486 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20487
20488 * files.el (trash-directory): Change default to nil.
20489 (move-file-to-trash): If trash-directory is nil and
20490 system-move-file-to-trash is unbound, perform freedesktop-style
20491 trashing.
20492
20493 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20494
20495 * files.el (move-file-to-trash): Add freedesktop trash
20496 support (Bug#973).
20497
20498 2009-06-28 Glenn Morris <rgm@gnu.org>
20499
20500 * autorevert.el (global-auto-revert-non-file-buffers)
20501 (global-auto-revert-mode): Doc fixes.
20502
20503 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20504
20505 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20506
20507 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20508
20509 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20510 opened an X connection before calling x-get-resource (Bug#3194).
20511
20512 * play/doctor.el: Remove reference to obsolete website.
20513 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20514
20515 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20516
20517 Remove find-file-not-found-hook VC method. (Bug#2757)
20518 * vc-hooks.el (vc-file-not-found-hook)
20519 (vc-default-find-file-not-found-hook): Remove functions.
20520 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20521 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20522 * vc.el:
20523 * vc-hg.el:
20524 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20525
20526 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20527
20528 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20529 compatibility function for `looking-back'.
20530
20531 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20532 Use `ispell-looking-back'.
20533
20534 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20535
20536 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20537 rather than `filename'.
20538
20539 2009-06-23 Miles Bader <miles@gnu.org>
20540
20541 * face-remap.el (text-scale-set): New function.
20542
20543 2009-06-23 Glenn Morris <rgm@gnu.org>
20544
20545 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20546
20547 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20548
20549 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20550
20551 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20552
20553 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20554 Simplify Persian conditionals.
20555
20556 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20557 variable `filename'.
20558
20559 * comint.el (comint-insert-input): Doc fix.
20560
20561 * Makefile.in (ELCFILES): Fix typo in previous change.
20562
20563 2009-06-23 Miles Bader <miles@gnu.org>
20564
20565 * cus-start.el: Add entry for `recenter-redisplay'.
20566
20567 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20568
20569 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20570 Add an optional argument for the backend, use it instead of
20571 calling vc-backend.
20572 (vc-mode-line): Add an optional argument for the backend.
20573 Pass the backend to vc-state and vc-working-revision. Move code for
20574 special handling for vc-state being a buffer to ...
20575
20576 * vc-rcs.el (vc-rcs-find-file-hook):
20577 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20578
20579 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20580 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20581 vc-stay-local-p and vc-mode-line calls.
20582
20583 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20584 (vc-cvs-diff, vc-cvs-annotate-command)
20585 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20586 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20587 vc-mode-line calls.
20588
20589 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20590 direct comparison.
20591 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20592 backend when calling vc-mode-line.
20593 (vc-register): Do not create a closure for calling the vc register
20594 function, call it directly.
20595
20596 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20597
20598 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20599 to make it obvious item can be clicked.
20600
20601 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20602
20603 2009-06-23 Kenichi Handa <handa@m17n.org>
20604
20605 * language/korea-util.el (korean-key-bindings): Change the binding
20606 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20607 same command.
20608
20609 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20610
20611 Sync with Tramp 2.1.16.
20612
20613 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20614
20615 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20616 when a loading of a package fails. Completion function for rsync
20617 is `tramp-completion-function-alist-ssh'.
20618 (all): Replace all calls of `split-string' and
20619 `tramp-split-string' by `tramp-compat-split-string'.
20620 (tramp-default-method): Use `tramp-compat-process-running-p'.
20621 (tramp-default-proxies-alist): Allow also Lisp forms.
20622 (tramp-remote-path): Add choice "Private Directories".
20623 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20624 (tramp-domain-regexp): Allow also "-", "_" and ".".
20625 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20626 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20627 (tramp-debug-message): Insert header line in debug buffer.
20628 (tramp-handle-directory-files-and-attributes-with-stat):
20629 Care about filenames with spaces, or starting with "-".
20630 (tramp-handle-dired-uncache): New defun.
20631 (tramp-handle-insert-directory): Don't flush the directory from
20632 cache, this is handled by `dired-uncache' now.
20633 (tramp-handle-insert-file-contents): Improve error handling.
20634 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20635 Quote `tramp-end-of-output'.
20636 (tramp-action-password): Improve trace message.
20637 (tramp-check-for-regexp): Both echoes must be present, before removing.
20638 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20639 (tramp-compute-multi-hops): Eval cons cells of
20640 `tramp-default-proxies-alist'.
20641 (tramp-maybe-open-connection): Use the same command pattern for
20642 first hop and further hops.
20643 (tramp-wait-for-output): Remove handling of newlines.
20644 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20645 (tramp-split-string): Remove function. It is handled in
20646 tramp-compat now.
20647
20648 * net/tramp-cmds.el (tramp-bug):
20649 Recommend `tramp-cleanup-all-connections' in the bug mail.
20650
20651 * net/tramp-compat.el (tramp-compat-split-string)
20652 (tramp-compat-process-running-p): New defuns.
20653
20654 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20655 for `dired-uncache'.
20656
20657 * net/tramp-gvfs.el: New package.
20658
20659 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20660 Add handler for `dired-uncache'.
20661 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20662
20663 * net/trampver.el: Update release number. Make version check fit
20664 for SXEmacs 22.
20665
20666 2009-06-22 Jim Meyering <meyering@redhat.com>
20667
20668 Automatically handle .xz suffix (XZ-compressed files), too.
20669 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20670 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20671
20672 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20673 Nick Roberts <nickrob@snap.net.nz>
20674
20675 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20676 repository (http://sphinx.net.ru/hg/gdb-mi/).
20677
20678 2009-06-22 Glenn Morris <rgm@gnu.org>
20679
20680 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20681 `mode' and `eval' entries. (Bug#3430)
20682
20683 * Makefile.in (ELCFILES): Add fadr.elc.
20684
20685 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20686 differing behavior of \n and ^ in strings. (Bug#3385)
20687
20688 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20689
20690 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20691 property.
20692 (lisp-indent-function): Make it a defcustom.
20693
20694 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20695
20696 * progmodes/gdb-ui.el: Replace with ...
20697 * progmodes/gdb-mi.el: ... this file.
20698 * progmodes/gud.el: Modify for gdb-mi.el.
20699
20700 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20701
20702 * fadr.el: New file.
20703
20704 See ChangeLog.14 for earlier changes.
20705
20706 ;; Local Variables:
20707 ;; coding: utf-8
20708 ;; End:
20709
20710 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20711
20712 This file is part of GNU Emacs.
20713
20714 GNU Emacs is free software: you can redistribute it and/or modify
20715 it under the terms of the GNU General Public License as published by
20716 the Free Software Foundation, either version 3 of the License, or
20717 (at your option) any later version.
20718
20719 GNU Emacs is distributed in the hope that it will be useful,
20720 but WITHOUT ANY WARRANTY; without even the implied warranty of
20721 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20722 GNU General Public License for more details.
20723
20724 You should have received a copy of the GNU General Public License
20725 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.