* lisp/textmodes/flyspell.el (flyspell-mode): If there was an error,
[bpt/emacs.git] / lisp / ChangeLog
1 2010-10-23 Glenn Morris <rgm@gnu.org>
2
3 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4 say what it was.
5
6 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
7 Sync docs with C version.
8
9 * term/ns-win.el (xw-defined-colors):
10 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
11
12 * term/pc-win.el (x-select-enable-clipboard):
13 * term/x-win.el (x-select-enable-clipboard):
14 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
15
16 * comint.el (comint-password-prompt-regexp): Make it less vague.
17 Bump version.
18
19 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
20
21 * help.el (finder-by-keyword): Remove unnecessary autoload.
22
23 2010-10-22 Glenn Morris <rgm@gnu.org>
24
25 * loadup.el: Unconditionally load float-sup.
26 * paren.el (show-paren-delay):
27 * emacs-lisp/float-sup.el:
28 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
29 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
30 (lazy-lock-stealth-verbose): Assume float support.
31 * ps-print.el: Assume float support on Emacs.
32 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
33 Remove non-float branch.
34
35 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
36 src/Makefile no longer being pre-processed.
37
38 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
39
40 * emacs-lisp/find-func.el (find-library): Use test-completion.
41
42 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
43
44 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
45
46 010-10-21 Michael Albinus <michael.albinus@gmx.de>
47
48 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
49 space in stat format string.
50 (tramp-send-command): Unset $PS1 when using here documents, in
51 order not to get several prompts.
52 (tramp-get-inline-coding): Return `nil' in case of errors.
53
54 2010-10-21 Daiki Ueno <ueno@unixuser.org>
55
56 * hexl.el (hexl-mode, hexl-mode-exit):
57 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
58 (hexl-revert-buffer-function): New function.
59 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
60
61 2010-10-19 Alan Mackenzie <acm@muc.de>
62
63 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
64 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
65 that these keywords aren't wrongly matched as identifiers.
66
67 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
68 setting of c-new-BEG and c-new-END from c-before-change to
69 c-after-change. (Bug#7181)
70
71 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
72
73 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
74 Don't mark as safe.
75
76 * custom.el (custom-theme-set-variables): Likewise.
77 (load-theme): Add custom-theme-set-faces and
78 custom-theme-set-variables to safe-functions while loading.
79 (custom-enabled-themes): Mark as risky.
80
81 2010-10-18 Julien Danjou <julien@danjou.info>
82
83 * bindings.el: Remove end dashes in default mode-line-format.
84
85 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
86
87 * bindings.el (global-map): Bind C-d to delete-char and deletechar
88 to delete-forward-char.
89
90 * simple.el (normal-erase-is-backspace-mode): Remap delete to
91 deletechar, and hence delete-forward-char.
92
93 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * repeat.el (repeat): Use read-key (bug#6256).
96
97 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
98
99 * emacs-lisp/unsafep.el: Don't mark functions that display
100 messages as safe. Suggested by Johan Bockgård.
101
102 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
103
104 * minibuffer.el (completion--replace): Move point where it belongs
105 when there's a common suffix (bug#7215).
106
107 2010-10-19 Kenichi Handa <handa@m17n.org>
108
109 * international/characters.el: Add category '|' (word breakable)
110 to fullwidth characters.
111
112 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
113
114 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
115 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
116 order to make stat results a float. Patch by Andreas Schwab
117 <schwab@linux-m68k.org>.
118
119 2010-10-18 Julien Danjou <julien@danjou.info>
120
121 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
122 hidden by `make-pointer-invisible'.
123
124 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * files.el (locate-file-completion-table): Strip non-matching elements
127 before checking length of list (bug#7238).
128
129 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
130
131 * custom.el (custom-theme-set-variables): Mark as a safe function.
132 (load-theme): Check forms using unsafep.
133
134 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
135
136 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
137
138 * textmodes/ispell.el (ispell-aspell-find-dictionary):
139 Fix aspell data file searching (bug#7230).
140
141 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
142
143 * cus-theme.el (custom-theme--migrate-settings): New var.
144 (customize-create-theme): Allow editing the `user' theme.
145 (custom-theme-add-variable, custom-theme-add-var-1)
146 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
147 to the front of each variable or face widget.
148 (custom-theme-write): Save theme settings in the correct order.
149 Optionally, remove saved settings from user customizations.
150 (custom-theme-write-variables, custom-theme-write-faces):
151 Save only the checked widgets.
152 (customize-themes): Add a link for migrating custom settings.
153
154 * custom.el (custom-declare-theme, provide-theme):
155 Use custom-theme-name-valid-p.
156 (custom-theme-name-valid-p): Remove checks that are now
157 unnecessary since themes no longer obey load-path.
158
159 * cus-edit.el (custom-variable-value-create): For the simple
160 style, hide documentation string when hidden.
161
162 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
163
164 * cus-edit.el (custom-variable, custom-face): Combine the
165 :inhibit-magic and :display-style properties into a single
166 :custom-style property.
167 (custom-toggle-hide-variable, custom-toggle-hide-face):
168 New functions. If hiding an edited value, save it to :shown-value.
169 (custom-variable-value-create, custom-face-value-create): Use them.
170 (custom-magic-reset): Allow magic property to be unset.
171
172 * custom.el: Custom themes no longer use load-path.
173 (custom-theme-load-path): New option. Change built-in theme
174 directory to etc/.
175 (custom-enabled-themes): Add custom-theme-load-path dependency.
176 (custom-theme--load-path): New function.
177 (load-theme, custom-available-themes): Use it.
178
179 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
180 (customize-themes): Link to custom-theme-load-path variable.
181 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
182 :custom-style property.
183
184 * themes/*.el: Moved to etc/.
185
186 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
187
188 * textmodes/reftex-cite.el
189 (reftex-extract-bib-entries-from-thebibliography): Do not move
190 point when searching for \bibitem entries. Match entries with
191 spaces or tabs in front of arguments.
192
193 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
194
195 * cus-theme.el (customize-create-theme): Delete overlays after
196 erasing. If given a THEME arg, display only the faces of that arg
197 instead of custom-theme--listed-faces.
198 (custom-theme-variable-menu, custom-theme-variable-action)
199 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
200 (custom-theme-add-variable, custom-theme-add-face): Apply value
201 from the theme settings, instead of the current value.
202 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
203 (custom-theme-visit-theme): Allow calling outside theme buffers.
204 (custom-theme-merge-theme): Don't enable the theme when merging.
205 (custom-theme-write-variables, custom-theme-write-faces): Use the
206 :shown-value properties to save buffer values, not global ones.
207 (customize-themes): Display a warning about user customizations.
208
209 * cus-edit.el (custom-variable-value-create)
210 (custom-face-value-create): Obey new special properties
211 :shown-value and :inhibit-magic.
212
213 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
214
215 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
216 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
217 <dale@codefu.org>.
218
219 2010-10-14 Kenichi Handa <handa@m17n.org>
220
221 * mail/rmail.el (rmail-show-message-1): Catch an error of
222 base64-decode-region and just show an error message (bug#7165).
223
224 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
225 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
226 a font-spec (bug#7197).
227
228 2010-10-14 Glenn Morris <rgm@gnu.org>
229
230 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
231
232 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
233
234 * international/mule.el (define-coding-system):
235 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
236 * composite.el (compose-region): Fix typo in docstring.
237
238 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
239
240 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
241 only after checking the theme-face property.
242
243 * faces.el (face-spec-reset-face): Reset all attributes in one
244 single call to set-face-attribute.
245 (face-spec-match-p): Make it a defsubst.
246 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
247 (x-create-frame-with-faces, tty-create-frame-with-faces)
248 (tty-set-up-initial-frame-faces): Don't recompute face specs in
249 frame-set-background-mode, since they are recomputed immediately
250 afterwards in face-set-after-frame-default.
251 (face-set-after-frame-default): Minor optimization.
252 (cursor): Provide non-trivial defface spec.
253
254 * custom.el (custom-theme-recalc-face): Simplify.
255
256 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
257
258 * calc/calc-alg.el (math-var): Rename from `var'.
259 (math-is-polynomial, math-is-poly-rec): Replace `var'
260 with `math-var'.
261
262 * calc/calcalg2.el (math-var): Rename from `var'.
263 (calcFunc-table, math-scan-for-limits): Replace `var'
264 with `math-var'.
265
266 2010-10-13 Glenn Morris <rgm@gnu.org>
267
268 * subr.el (last): Deal with dotted lists (reported in bug#7174).
269
270 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
271
272 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
273
274 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
275
276 * net/tls.el (tls-program): Remove spurious %s from openssl.
277 (tls-starttls-switches): Remove starttls hack.
278 (open-tls-stream): Ditto.
279 (tls-find-starttls-argument): Ditto.
280
281 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
282
283 * image.el (image-library-alist): Declare as obsolete alias.
284 (image-type-available-p): Use `dynamic-library-alist'.
285
286 * term/w32-win.el (dynamic-library-alist):
287 Use instead of `image-library-alist'.
288
289 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
290
291 * subr.el (last): Make it faster. (Bug#7174)
292
293 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
294
295 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
296
297 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
298
299 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
300 (describe-theme-1): Extract doc from unloaded themes.
301
302 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
303
304 * themes/tango-theme.el:
305 * themes/tango-dark-theme.el:
306 * themes/wheatgrass-theme.el: New files.
307
308 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
309
310 * cus-theme.el (describe-theme, customize-themes)
311 (custom-theme-save): New commands.
312 (custom-new-theme-mode-map): Bind C-x C-s.
313 (custom-new-theme-mode): Use custom--initialize-widget-variables.
314 (customize-create-theme): New optional arg THEME.
315 (custom-theme-revert): Use it.
316 (custom-theme-visit-theme): Remove dead code.
317 (custom-theme-merge-theme): Use custom-available-themes.
318 (custom-theme-write): Make interactive.
319 (custom-theme-write): Use custom-theme-name-valid-p.
320 (describe-theme-1, custom-theme-choose-revert)
321 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
322 New funs.
323 (custom-theme-allow-multiple-selections): New option.
324 (custom-theme-choose-mode): New major mode.
325
326 * custom.el (custom-theme-set-variables): Remove dead code.
327 Obey custom--inhibit-theme-enable.
328 (custom--inhibit-theme-enable): New var.
329 (provide-theme): Obey it.
330 (load-theme): Replace load with manual read/eval, in order to
331 check for correctness. Use custom-theme-name-valid-p.
332 (custom-theme-name-valid-p): New function.
333 (custom-available-themes): Use it.
334
335 * cus-edit.el (custom--initialize-widget-variables): New function.
336 (Custom-mode): Use it.
337
338 * cus-face.el (custom-theme-set-faces): Remove dead code.
339 Obey custom--inhibit-theme-enable.
340
341 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
342
343 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
344
345 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
346
347 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
348
349 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
350 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
351 (mac-right-option-modifier): New alias for ns-right-option-modifier.
352
353 * cus-start.el (all): ns-right-alternate-modifier is new.
354
355 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * emacs-lisp/lisp.el (lisp-completion-at-point):
358 Use emacs-lisp-mode-syntax-table for the whole function.
359
360 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
361
362 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
363 instead of font-lock-mode before adding keywords.
364 Remove hi-lock-mode off code. Remove inhibit hack.
365 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
366 non-nil; removed hook inhibit hack.
367
368 2010-10-12 Glenn Morris <rgm@gnu.org>
369
370 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
371 (load-path-shadows-find): ... to this.
372 (list-load-path-shadows): Update for above change.
373
374 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
375
376 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
377
378 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
379 Fix comment for declare-function.
380
381 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
382
383 * custom.el (custom-fix-face-spec): New function; code moved from
384 custom-face-edit-fix-value.
385 (custom-push-theme): Use it when checking if a face has been
386 changed outside customize.
387 (custom-available-themes): New function.
388 (load-theme): Use it.
389
390 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
391
392 * custom.el (custom-push-theme): Cleanup (use cond).
393 (disable-theme): Recompute the saved-face property.
394 (custom-theme-recalc-face): Follow face alias before setting prop.
395
396 * image.el (image-checkbox-checked, image-checkbox-unchecked):
397 New variables, containing checkbox images.
398
399 * startup.el (fancy-startup-tail):
400 * wid-edit.el (checkbox): Use them.
401
402 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
403
404 * shell.el (shell-mode-map):
405 * progmodes/modula2.el (m2-mode-map):
406 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
407 * play/mpuz.el (mpuz-mode-map):
408 * play/landmark.el (lm-mode-map):
409 * play/decipher.el (decipher-mode-map):
410 * play/5x5.el (5x5-mode-map):
411 * net/telnet.el (telnet-mode-map):
412 * net/quickurl.el (quickurl-list-mode-map):
413 * net/mairix.el (mairix-searches-mode-map):
414 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
415 * net/dig.el (dig-mode-map):
416 * mail/mspools.el (mspools-mode-map):
417 * hexl.el (hexl-mode-map):
418 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
419 (wordstar-C-o-map, wordstar-C-q-map):
420 * emacs-lisp/edebug.el (edebug-eval-mode-map):
421 * emacs-lisp/chart.el (chart-map):
422 * edmacro.el (edmacro-mode-map):
423 * erc/erc-list.el (erc-list-menu-mode-map):
424 * array.el (array-mode-map): Declare and define in one step.
425
426 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
427
428 2010-10-10 Daiki Ueno <ueno@unixuser.org>
429
430 * epa.el (epa-passphrase-callback-function): Display filename
431 passed as the 3rd arg.
432 * epa-file.el (epa-file-passphrase-callback-function):
433 Pass filename to epa-passphrase-callback-function.
434
435 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
436
437 * cus-edit.el (custom-face-widget-to-spec)
438 (custom-face-get-current-spec, custom-face-state): New functions.
439 (custom-face-set, custom-face-mark-to-save)
440 (custom-face-value-create, custom-face-state-set): Use them.
441
442 * cus-theme.el (custom-theme--listed-faces): New var.
443 (customize-create-theme): Use *Custom Theme* as the buffer name.
444 Set revert-buffer-function. Optional arg BUFFER. Insert all
445 faces listed in custom-theme--listed-faces.
446 (custom-theme-revert): New function.
447 (custom-theme-add-variable, custom-theme-add-face): Insert at the
448 bottom of the list.
449 (custom-theme-write): Prompt for theme name if empty.
450 (custom-theme-write-variables): Use dolist.
451 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
452
453 2010-10-09 Alan Mackenzie <acm@muc.de>
454
455 Enhance fontification of declarators to take account of the
456 presence/absence of "typedef".
457
458 * cc-engine.el (c-forward-type): New &optional param
459 "brace-block-too".
460 (c-forward-decl-or-cast-1): cdr of return value now indicates the
461 presence of either or both of a "struct"-like keyword and "typedef".
462
463 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
464 fontification of declarators which follow a "}".
465 (c-font-lock-declarations): Fontify declarators according to the
466 presence/absence of "typedef".
467
468 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
469 for "typedef".
470 (c-typedef-decl-key): New lang variable built from
471 c-typedef-decl-kwds.
472
473 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
474
475 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
476 since that's too annoying. Move the filter groups commands to
477 TAB/backtab.
478
479 * epa.el (epa-passphrase-callback-function): Say what we're
480 querying the password for.
481
482 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
483 behaviour, don't bury the ibuffer buffer when visiting other buffers.
484
485 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
486
487 * cus-edit.el (custom-commands, custom-buffer-create-internal)
488 (custom-magic-value-create): Pad button tags with spaces.
489 (custom-face-edit): New variable.
490 (custom-face-value-create): Determine whether to use the usual
491 face editor here, instead of using custom-face-selected.
492 Pass face defaults to custom-face-edit widget.
493 (custom-face-selected, custom-display-unselected): Delete widgets.
494 (custom-display-unselected-match): Function removed.
495 (custom-face-set, custom-face-mark-to-save):
496 Accept custom-face-edit widgets as the direct widget child.
497
498 * wid-edit.el (widget--completing-widget): New var.
499 (widget-default-complete): Bind it when doing completion.
500 (widget-string-complete, widget-file-complete): Use it.
501
502 2010-10-09 Glenn Morris <rgm@gnu.org>
503
504 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
505 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
506 (holiday-hebrew-misc): Small simplifications.
507
508 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
509
510 * net/browse-url.el: Don't require thingatpt, term, dired,
511 executable, or w3-auto when compiling.
512 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
513 Declare.
514 (browse-url-text-emacs): Require term.
515
516 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
517
518 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
519
520 2010-10-08 Glenn Morris <rgm@gnu.org>
521
522 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
523
524 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
525 (shadows-compare-text-p): Make it an obsolete alias for...
526 (load-path-shadows-compare-text): ... new name.
527 (find-emacs-lisp-shadows): Update for above name change.
528 (load-path-shadows-same-file-or-nonexistent): New name for the old
529 shadow-same-file-or-nonexistent.
530
531 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
532
533 * minibuffer.el (completion--some, completion--do-completion)
534 (minibuffer-complete-and-exit, minibuffer-completion-help)
535 (completion-basic-try-completion)
536 (completion-basic-all-completions)
537 (completion-pcm--find-all-completions): Use lexical-let to
538 avoid some false matches in variable completion (Bug#7056)
539
540 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
541
542 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
543
544 2010-10-08 Leo <sdl.web@gmail.com>
545
546 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
547 return non-nil if the file exists (Bug#7090).
548
549 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * minibuffer.el (completion--replace):
552 Better preserve markers (bug#7138).
553
554 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
555
556 * server.el (server-process-filter): Doc fix.
557
558 2010-10-08 Drew Adams <drew.adams@oracle.com>
559
560 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
561
562 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
563
564 * Makefile.in (ELCFILES): Update.
565
566 2010-10-08 Glenn Morris <rgm@gnu.org>
567
568 * vc/ediff-wind.el (ediff-setup-control-frame):
569 * vc/ediff-ptch.el (ediff-default-backup-extension):
570 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
571 (ediff-exec-process): Remove system-types emx, windows-95.
572
573 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
574
575 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
576
577 * cus-edit.el (custom-variable, custom-face): Doc fix.
578 (custom-face-edit): Add value-create attribute.
579 (custom-face-edit-value-create)
580 (custom-face-edit-value-visibility-action): New functions.
581 Hide unused face attributes by default, and add a visibility toggle.
582 (custom-face-edit-deactivate): Show empty values with shadow face.
583 (custom-face-selected): Only use this for face specs with default
584 attributes.
585 (custom-face-value-create): Cleanup.
586
587 * wid-edit.el (widget-checklist-value-create): Use dolist.
588 (widget-checklist-match-find): Make second arg optional.
589
590 2010-10-07 Glenn Morris <rgm@gnu.org>
591
592 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
593 Prefix things.
594
595 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
596 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
597 load-path-shadows-mode, update references.
598 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
599 Rename variable and button.
600 (list-load-path-shadows): Update button caller.
601
602 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
603
604 * emacs-lisp/smie.el (smie-bnf-classify): New function.
605 (smie-bnf-precedence-table): Use it to remember the closers/openers.
606 (smie-merge-prec2s): Handle those new entries.
607 (smie-prec2-levels): Only set precedence to nil for actual
608 openers/closers.
609 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
610 that is now unnecessary.
611
612 2010-10-07 Miles Bader <miles@gnu.org>
613
614 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
615
616 2010-10-07 Glenn Morris <rgm@gnu.org>
617
618 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
619 (mail-position-on-field): Remove declarations.
620 (mail-position-on-field): Autoload it.
621 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
622 and mail-header-end. Don't require sendmail.
623
624 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
625 (shadow-mode): New mode.
626 (shadow-find-file): New button.
627 (list-load-path-shadows): Use shadow-mode and buttons.
628
629 * iimage.el (iimage-version): Remove.
630 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
631 Turn into defcustoms.
632 (iimage-mode-map): Give it a doc string.
633
634 * calendar/appt.el (appt-activate): Give a warning rather than an error
635 if there is no diary-file.
636
637 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
638
639 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
640 Use `tramp-handle-find-backup-file-name'.
641
642 2010-10-06 Glenn Morris <rgm@gnu.org>
643
644 * font-core.el (font-lock-defaults-alist): Remove variable.
645 (font-lock-mode): Doc fix.
646 (font-lock-default-function): Do not consult font-lock-defaults-alist.
647 * font-lock.el (font-lock-refresh-defaults): Doc fix.
648 (font-lock-set-defaults): Doc fix.
649 Do not consult font-lock-defaults-alist.
650
651 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
652
653 * emacs-lisp/cl.el: No longer provide cl-19.
654
655 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
656
657 * net/tramp.el (tramp-handle-directory-files-and-attributes)
658 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
659 New defuns, taken from tramp-smb.el.
660 (tramp-coding-system-change-eol-conversion)
661 (tramp-set-process-query-on-exit-flag): Remove.
662
663 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
664 (tramp-compat-coding-system-change-eol-conversion)
665 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
666 from tramp.el.
667
668 * net/tramp-gvfs.el:
669 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
670 by `tramp-compat-set-process-query-on-exit-flag'.
671
672 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
673 Use `tramp-handle-directory-files-and-attributes',
674 `tramp-handle-file-exists-p' and
675 `tramp-handle-file-newer-than-file-p'.
676 (tramp-imap-handle-file-exists-p)
677 (tramp-imap-handle-file-executable-p)
678 (tramp-imap-handle-file-readable-p)
679 (tramp-imap-handle-directory-files-and-attributes)
680 (tramp-imap-handle-file-newer-than-file-p): Remove.
681
682 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
683 by `tramp-compat-set-process-query-on-exit-flag' and
684 `tramp-coding-system-change-eol-conversion' by
685 `tramp-compat-coding-system-change-eol-conversion'.
686
687 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
688 Use `tramp-handle-directory-files-and-attributes',
689 `tramp-handle-file-exists-p' and
690 `tramp-handle-file-newer-than-file-p'.
691 (tramp-smb-handle-directory-files-and-attributes)
692 (tramp-smb-handle-file-exists-p)
693 (tramp-smb-handle-file-newer-than-file-p): Remove.
694 (tramp-smb-maybe-open-connection):
695 Replace `tramp-set-process-query-on-exit-flag' by
696 `tramp-compat-set-process-query-on-exit-flag'.
697
698 2010-10-05 Glenn Morris <rgm@gnu.org>
699
700 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
701
702 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
703
704 Continue reorganization of load dependencies. (Bug#7156)
705
706 * net/tramp.el (tramp-handle-file-local-copy-hook)
707 (tramp-delete-temp-file-function): Move down.
708 (tramp-exists-file-name-handler): Move up.
709 (tramp-register-file-name-handlers): Simplify autoload.
710 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
711 (tramp-handle-directory-files, tramp-handle-dired-uncache)
712 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
713 (tramp-handle-file-name-completion)
714 (tramp-handle-file-name-directory)
715 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
716 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
717 (tramp-handle-find-backup-file-name)
718 (tramp-handle-insert-file-contents, tramp-handle-load)
719 (tramp-handle-substitute-in-file-name)
720 (tramp-handle-unhandled-file-name-directory)
721 (tramp-mode-string-to-int, tramp-local-host-p)
722 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
723
724 * net/tramp-gvfs.el (top):
725 * net/tramp-smb.el (top): Do not require 'tramp-sh.
726
727 * net/tramp-sh.el (all): Move several objects to tramp.el, see
728 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
729
730 2010-10-04 Glenn Morris <rgm@gnu.org>
731
732 * calendar/appt.el (appt-add): Ensure reminders are enabled.
733 (appt-activate): Give status messages.
734
735 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
736
737 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
738 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
739 `gnutls-negotiate' (formerly `starttls-negotiate').
740 Remove trivial wrapper `starttls-open-stream'.
741
742 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
743
744 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
745 log-outgoing commands.
746 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
747 to create a buffer local revert-buffer-function variable.
748 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
749 revert-buffer-function lambda.
750
751 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
752
753 * net/gnutls.el (starttls-negotiate): Use the plist interface to
754 `gnutls-boot'. Make TYPE the only required parameter.
755 Allow TRUSTFILES and KEYFILES to be lists.
756 (open-ssl-stream): Use it.
757
758 2010-10-03 Glenn Morris <rgm@gnu.org>
759
760 * subr.el (directory-sep-char): Remove obsolete variable.
761 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
762 it is "necessary".
763
764 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
765 * vc/vc.el (vc-static-header-alist): Doc fix.
766 * vc/vc-cvs.el (vc-cvs-header):
767 * vc/vc-rcs.el (vc-rcs-header):
768 * vc/vc-sccs.el (vc-sccs-header):
769 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
770 * obsolete/vc-mcvs.el (vc-mcvs-header):
771 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
772 on XEmacs.
773
774 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
775
776 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
777 Remove obsolete use of binary-overwrite-mode (Bug#7001).
778
779 2010-10-03 Glenn Morris <rgm@gnu.org>
780
781 * obsolete/x-menu.el: Remove file, obsolete since 21.1
782
783 * textmodes/rst.el (rst-font-lock-keywords-function):
784 Drop Emacs 20 code.
785
786 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
787
788 * printing.el: Drop Emacs 20 code.
789
790 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
791 without having used appt.el already).
792
793 * subr.el (make-local-hook): Remove function obsolete since 21.1.
794 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
795 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
796 XEmacs.
797 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
798 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
799
800 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
801 (charset-width, find-charset-region, chars-in-region, forward-point)
802 (encode-coding-string, coding-system-p, ccl-execute-on-string)
803 (define-ccl-program, multibyte-string-p, string-make-multibyte):
804 Remove compatibility cruft (none of these are used by ps*.el).
805
806 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
807
808 * subr.el (booleanp): Return t instead of a list (Bug#7086).
809
810 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
811
812 * server.el (server-process-filter, server-return-error):
813 Give emacsclient time to shut down after receiving an error string.
814
815 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
816
817 * files.el (remote-file-name-inhibit-cache): New defcustom.
818
819 * time.el (display-time-file-nonempty-p):
820 Use `remote-file-name-inhibit-cache'.
821
822 * net/tramp.el (tramp-completion-reread-directory-timeout):
823 Fix docstring.
824
825 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
826 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
827 `remote-file-name-inhibit-cache'. Check also for an integer
828 value. Add/increase counter when `tramp-verbose' >= 10.
829 (tramp-set-file-property): Add/increase counter when
830 `tramp-verbose' >= 10.
831
832 * net/tramp-cmds.el (tramp-cleanup-all-connections)
833 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
834 (tramp-bug): Set tramp-autoload cookie. Report all interned
835 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
836 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
837 characters only in strings.
838
839 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
840 to backward compatibility.
841
842 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
843 (tramp-handle-file-name-all-completions)
844 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
845 (tramp-open-connection-setup-interactive-shell):
846 Call `tramp-cleanup-connection' directly.
847
848 2010-10-02 Glenn Morris <rgm@gnu.org>
849
850 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
851
852 * subr.el (char-bytes): Remove obsolete function.
853
854 * isearch.el (isearch-return-char): Remove obsolete function.
855
856 * mouse.el: No longer provide mldrag.
857 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
858 Remove obsolete aliases.
859
860 * comint.el (comint-kill-output): Remove obsolete alias.
861
862 * composite.el (decompose-composite-char): Remove obsolete function.
863 * ps-def.el (decompose-composite-char): Remove unused function.
864
865 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
866
867 * outline.el (outline-visible): Remove obsolete function.
868
869 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
870 * faces.el (internal-find-face, internal-get-face)
871 (frame-update-faces, frame-update-face-colors)
872 (x-frob-font-weight, x-frob-font-slant)
873 (internal-frob-font-weight, internal-frob-font-slant)
874 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
875 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
876 (x-make-font-bold-italic): Remove functions and aliases, obsolete
877 since Emacs 21.1.
878 * emulation/viper-util.el (viper-get-face):
879 * obsolete/lucid.el (find-face, get-face): Use facep.
880 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
881 Remove unused functions.
882 * vc/ediff-util.el (ediff-submit-report): Doc fix.
883
884 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
885 delete tempfile if interrupted during compilation.
886
887 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
888
889 * net/tls.el (tls-starttls-switches): Give up on using starttls with
890 gnutls-cli.
891 (tls-program): Add --insecure to be consistent with the defaults from
892 openssl s_client. Now all three commands are insecure.
893
894 2010-10-01 Eli Zaretskii <eliz@gnu.org>
895
896 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
897 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
898 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
899
900 2010-10-01 Glenn Morris <rgm@gnu.org>
901
902 * obsolete/sc.el: Remove file.
903
904 * files.el (temporary-file-directory): On darwin, also try
905 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
906
907 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
908
909 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
910 Let's not break compatibility gratuitously, shall we?
911
912 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
913
914 * net/tls.el (tls-starttls-switches): New variable.
915 (tls-find-starttls-argument): Use it.
916 (open-tls-stream): Ditto.
917
918 * net/netrc.el (netrc-credentials): Return the value of the "default"
919 entry.
920 (netrc-machine): Ditto.
921
922 2010-09-30 Eli Zaretskii <eliz@gnu.org>
923
924 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
925
926 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
927
928 * server.el (server-start): Don't write pid to the authentication file.
929 (server-create-tty-frame): Don't send pid.
930 (server-process-filter): Send pid at the start of every connection.
931
932 2010-09-30 Glenn Morris <rgm@gnu.org>
933
934 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
935 (show-all-diary-entries): Remove obsolete function aliases.
936
937 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
938 Remove options, obsolete since 22.1.
939 (appt-display-format, appt-display-message): Remove
940 backwards-compatibility code.
941 (appt-check): No longer check appt-issue-message.
942 (appt-make-list): No longer autoload it. Doc fix. No longer
943 activate the package.
944
945 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
946
947 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
948 (starttls-negotiate): Just call boot, and let the handshake be
949 triggered from the read loop.
950
951 2010-09-29 Glenn Morris <rgm@gnu.org>
952
953 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
954 not displaying the diary.
955 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
956 * calendar/appt.el (appt-check): No longer need to kill diary.
957
958 * calendar/diary-lib.el (diary-list-entries): Move the
959 "Preparing..." message entirely here.
960 (diary-simple-display, diary-fancy-display): Move "Preparing..."
961 messages to diary-list-entries.
962 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
963 diary-display-function.
964
965 * calendar/diary-lib.el (diary-include-other-diary-files):
966 Trap some recursive includes.
967
968 * calendar/appt.el (appt-activate): Check diary file.
969
970 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
971
972 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
973 construction.
974
975 * calendar/time-date.el: No need to require cl for Emacs 21.
976
977 2010-09-28 Glenn Morris <rgm@gnu.org>
978
979 * calendar/appt.el (appt-check): Minor simplification.
980
981 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
982
983 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
984 citation prefix.
985
986 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
987
988 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
989 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
990
991 2010-09-27 Kenichi Handa <handa@m17n.org>
992
993 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
994 "ustar" format.
995
996 2010-09-27 Kenichi Handa <handa@m17n.org>
997
998 * international/mule.el (define-coding-system): Docstring fixed.
999
1000 * international/mule-diag.el (describe-character-set): Use princ
1001 with proper print-length and print-level instead of insert.
1002
1003 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
1004
1005 * window.el (walk-windows): Doc fix (bug#7105).
1006
1007 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * emacs-lisp/float-sup.el (e): Remove.
1010
1011 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
1012
1013 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1014 variable.
1015 (starttls-negotiate): Use it.
1016
1017 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1018
1019 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1020 back.
1021
1022 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1025
1026 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1027
1028 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1029
1030 * net/netrc.el (netrc-store-data): New function.
1031
1032 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
1033
1034 * net/gnutls.el: GnuTLS glue code to set up a connection.
1035
1036 2010-09-25 Julien Danjou <julien@danjou.info>
1037
1038 * notifications.el: Call dbus-register-signal only if it is bound.
1039
1040 2010-09-25 Glenn Morris <rgm@gnu.org>
1041
1042 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1043 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1044 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1045 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1046 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1047 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1048 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1049 * eshell/esh-util.el, eshell/esh-var.el:
1050 Remove leading `*' from docs of faces and defcustoms.
1051
1052 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
1053
1054 * eshell/em-ls.el (eshell-ls-archive-regexp):
1055 * eshell/esh-util.el (eshell-tar-regexp):
1056 * ibuffer.el (ibuffer-compressed-file-name-regexp):
1057 * info.el (Info-suffix-list):
1058 * international/mule.el (auto-coding-alist):
1059 * woman.el (woman-file-regexp, woman-file-compression-regexp):
1060 * progmodes/etags.el (tags-compression-info-list):
1061 Support xz compression.
1062
1063 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1064
1065 * files.el (get-free-disk-space): Don't assume the "df" output
1066 columns line up (Bug#6995).
1067
1068 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1069
1070 * finder.el (finder-unknown-keywords):
1071 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
1072 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
1073
1074 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1075
1076 * server.el (server-start): Revert part of 2010-08-08 change. Using
1077 address 127.0.0.1 for local host is now done in Fmake_network_process.
1078
1079 2010-09-24 Glenn Morris <rgm@gnu.org>
1080
1081 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
1082 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
1083 * textmodes/css-mode.el, textmodes/dns-mode.el:
1084 Move autoloaded auto-mode-alist entries to files.el.
1085 * files.el (auto-mode-alist): Move entries here.
1086
1087 2010-09-23 Glenn Morris <rgm@gnu.org>
1088
1089 * isearch.el (isearch-lazy-highlight-cleanup)
1090 (isearch-lazy-highlight-initial-delay)
1091 (isearch-lazy-highlight-interval)
1092 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
1093 * net/net-utils.el (ipconfig-program-options):
1094 Move aliases to options before the associated definitions.
1095
1096 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * newcomment.el (comment-normalize-vars): Better test validity of
1099 comment-end-skip.
1100
1101 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
1104 (float-e): New name for `e'.
1105 (degrees-to-radians, radians-to-degrees):
1106 * calendar/solar.el (solar-longitude):
1107 * calculator.el (calculator-registers, calculator-funcall):
1108 * textmodes/artist.el (artist-spray-random-points):
1109 * play/bubbles.el (bubbles--initialize-images): Use new names.
1110
1111 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
1112
1113 Update to CEDET 1.0's version of EIEIO.
1114
1115 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
1116 New function.
1117 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
1118 (eieio-default-eval-maybe): Eval val instead of unquoting only.
1119 (class-precedence-list): If class is nil, return nil.
1120 (eieio-generic-call): If class of first input arg is nil, don't
1121 look up static methods, and do check for primary methods.
1122 (initialize-instance): See if the default needs to be evaluated
1123 during the constructor.
1124 (eieio-perform-slot-validation-for-default): Don't do the check
1125 for values that will eventually be evaluated.
1126 (eieio-eval-default-p): New function.
1127 (eieio-default-eval-maybe): Use it.
1128
1129 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
1130
1131 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1132 method-invocation-order.
1133 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1134 (eieio-class-precedence-dfs): Compute class precedence list using
1135 dfs algorithm.
1136 (eieio-class-precedence-bfs): Compute class precedence list using
1137 bfs algorithm.
1138 (eieio-class-precedence-c3): Compute class precedence list using
1139 c3 algorithm.
1140 (class-precedence-list): New function.
1141 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1142 (inconsistent-class-hierarchy): New error symbol.
1143 (call-next-method): Stow the replacement argument list for future
1144 call-next-method invocations.
1145
1146 2010-09-23 Glenn Morris <rgm@gnu.org>
1147
1148 * calendar/appt.el (appt-check): If not displaying the diary,
1149 use (diary 1) to only get the entries we need.
1150 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1151 that it is in day order. (Bug#7019)
1152
1153 * calendar/appt.el (appt-check): Rather than showing the diary,
1154 just turn off invisible display, and only if needed.
1155
1156 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
1157
1158 2010-09-23 Glenn Morris <rgm@gnu.org>
1159
1160 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1161 (byte-compile-defvar, byte-compile-cl-warn):
1162 Start warnings with lower-case, like the majority.
1163
1164 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1165
1166 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
1167
1168 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1169 * files.el (auto-mode-alist): Move ld-script entries here, further down
1170 the list.
1171
1172 * vc/add-log.el: Don't require timezone when compiling.
1173 (timezone-make-date-sortable): Autoload it.
1174 (change-log-sortable-date-at): Don't require timezone.
1175 Use `ignore-errors'.
1176
1177 * comint.el (comint-use-prompt-regexp-instead-of-fields):
1178 Move alias before definition, so it does not need autoloading.
1179
1180 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1181 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1182 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1183 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1184 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1185 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1186 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1187 * textmodes/tex-mode.el, textmodes/two-column.el:
1188 Remove leading `*' from docs of defcustoms etc.
1189
1190 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
1191
1192 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1193
1194 2010-09-22 Dan Christensen <jdc@uwo.ca>
1195
1196 * calendar/time-date.el (date-to-time): Try using parse-time-string
1197 first before using the slower timezone-make-date-arpa-standard.
1198
1199 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
1200
1201 * calendar/time-date.el (format-seconds): Comment fix.
1202
1203 2010-09-22 Glenn Morris <rgm@gnu.org>
1204
1205 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1206 is not automatically buffer-local.
1207
1208 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1209
1210 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1211 (smie-indent-comment): Be more careful with comment-start-skip.
1212 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1213 (smie-indent-functions): Use them.
1214
1215 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
1216
1217 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1218
1219 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
1220
1221 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1222 tool-bar-position. Don't modify frame parameters here.
1223 (menu-bar-options-save): Add tool-bar-position.
1224
1225 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1226
1227 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1228
1229 * textmodes/reftex-parse.el (reftex-what-macro)
1230 (reftex-context-substring): Let-bind forward-sexp-function to nil
1231 since we don't need/want to treat \begin...\end as a block (bug#7053).
1232
1233 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1234
1235 * simple.el (blink-matching-open): Use syntax-class.
1236
1237 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1238 Set invisibility spec for pascal's outline mode.
1239 (pascal-outline-change): Clean up calling convention.
1240 (pascal-show-all, pascal-hide-other-defuns): Update callers.
1241
1242 * progmodes/prolog.el (prolog-smie-forward-token)
1243 (prolog-smie-backward-token): New functions.
1244 (prolog-mode-variables): Use them to parse "!," correctly.
1245 Set up smie-blink-matching for ".".
1246
1247 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1248 and `end'.
1249 (ispell-region, ispell-process-line): Update users.
1250
1251 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1252 point-min==1.
1253
1254 * textmodes/ispell.el: Fix commenting convention.
1255 (ispell-parse-output): Simplify, use push.
1256 (ispell-region): Use match-string-no-properties.
1257 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1258 (ispell-minor-mode): Use define-minor-mode.
1259 (ispell-message): Remove unused var `skip-regexp'.
1260 (ispell-add-per-file-word-list): Use dynamic let-binding.
1261 Try and use the proper comment marker.
1262
1263 * mail/sendmail.el: Fix commenting convention.
1264 (sendmail-send-it): Use line-beginning-position.
1265
1266 * help-fns.el (describe-variable): Add original value, if applicable.
1267
1268 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
1269
1270 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
1271
1272 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
1273
1274 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1275
1276 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
1277 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
1278 (smie-prec2-levels): Use them to better diagnose precedence cycles.
1279 (smie-blink-matching-check): Don't signal a mismatch if car is t.
1280 (smie-blink-matching-open): Rewrite to remove assumptions, so that
1281 something like "." can also be a closer.
1282 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
1283 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
1284 Rename internal functions to use "--". Update callers.
1285
1286 * frame.el (make-frame-names-alist): Don't list frames on other displays.
1287
1288 * fringe.el (fringe-styles): New var.
1289 (fringe-mode, fringe-query-style): Use it.
1290
1291 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
1292
1293 * progmodes/sql.el: Version 2.8
1294 (sql-login-params): Update widget structure; changes still needed.
1295 (sql-product-alist): Add :list-all and :list-table features for
1296 SQLite, Postgres and MySQL products.
1297 (sql-redirect): Handle default value.
1298 (sql-execute, sql-execute-feature): New functions.
1299 (sql-read-table-name): New function.
1300 (sql-list-all, sql-list-table): New functions. User API.
1301 (sql-mode-map, sql-interactive-mode-map): Add key definitions
1302 for above functions.
1303 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
1304 for above functions.
1305 (sql-postgres-login-params): Add user and database defaults.
1306 (sql-buffer-live-p): Bug fix.
1307 (sql-product-history): New variable.
1308 (sql-read-product): New function. Use it.
1309 (sql-set-product, sql-product-interactive): Use it.
1310 (sql-connection-history): New variable.
1311 (sql-read-connection): New function. Use it.
1312 (sql-connect): New function.
1313 (sql-for-each-login): Redesign function interface.
1314 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
1315 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
1316 (sql-comint): Check for program. Existing live buffer.
1317 (sql-comint-postgres): Add port parameter.
1318
1319 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * emacs-lisp/warnings.el: Fix commenting convention.
1322 (display-warning): Use special mode and make the buffer read-only.
1323
1324 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
1325
1326 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
1327 empty string when it follows a repeated or optional pattern.
1328
1329 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * indent.el (indent-according-to-mode): Apply syntax-propertize.
1332 (indent-region): Use indent-according-to-mode.
1333
1334 2010-09-18 Eli Zaretskii <eliz@gnu.org>
1335
1336 * fringe.el (fringe-mode): Doc fix.
1337
1338 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
1339
1340 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
1341 refreshing the preview buffer.
1342
1343 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
1346 (latex-syntax-propertize-rules): New consts; replace
1347 tex-font-lock-syntactic-keywords.
1348 (tex-env-mark, latex-env-before-change): New functions.
1349 (latex-electric-env-pair-mode): New minor mode.
1350 (tex-font-lock-verb): Change arguments; do move point.
1351 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
1352 representation as a form of comment.
1353 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
1354 (doctex-syntax-propertize-rules): New const; replaces
1355 doctex-font-lock-syntactic-keywords.
1356 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
1357
1358 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
1359 (fortran-make-syntax-propertize-function): New function; replaces
1360 fortran-font-lock-syntactic-keywords.
1361 (fortran-mode): Use it.
1362 (fortran-line-length): Use it. Improve interactive spec.
1363
1364 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
1365 (syntax-propertize-rules): Add var-ref case. Fix offset computation
1366 when adding surrounding \(..\).
1367
1368 * progmodes/js.el (js-mode): Fix last change (bug#7054).
1369
1370 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
1373 Use with-current-buffer.
1374
1375 * isearch.el (isearch-face): Rename from `isearch'.
1376 (isearch-highlight): Use new name.
1377
1378 2010-09-17 Eli Zaretskii <eliz@gnu.org>
1379
1380 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
1381 5, for `half' width fringes. (Bug#6933)
1382
1383 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
1386 (byte-compile-defvar): "foo/bar" does not lack a prefix.
1387
1388 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
1389
1390 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
1391
1392 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
1393 in calculating new frame position. Add more space between new and
1394 parent on the left (Bug#7048).
1395
1396 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
1397
1398 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
1399 defmacro.
1400
1401 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
1402
1403 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
1404
1405 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
1406 obsolete alias for x-selection-value.
1407
1408 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
1409
1410 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
1411
1412 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
1413 cookie.
1414
1415 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
1416
1417 * net/tramp-compat.el (tramp-compat-with-temp-message)
1418 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
1419 (tramp-compat-process-put): New defuns.
1420
1421 * net/tramp.el (top):
1422 * net/tramp-gvfs.el (top):
1423 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
1424
1425 * net/tramp.el (tramp-progress-reporter-update):
1426 Use `tramp-compat-funcall'.
1427
1428 * net/tramp.el (tramp-process-actions):
1429 * net/tramp-gvfs.el (tramp-handle-vc-registered):
1430 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
1431 (tramp-get-remote-stat, tramp-get-remote-readlink):
1432 Use `tramp-compat-with-temp-message'.
1433
1434 * net/tramp-sh.el (top): Require 'cl.
1435 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
1436 (tramp-open-connection-setup-interactive-shell):
1437 Use `tramp-compat-process-put'.
1438
1439 2010-09-15 Alan Mackenzie <acm@muc.de>
1440
1441 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
1442 indentation.
1443 (c-forward-<>-arglist-recur): Fix an infinite recursion.
1444
1445 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1448 `lexical' for warnings related to lexical scoping.
1449 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
1450 global vars which don't have a prefix and could hence affect lexical
1451 scoping in unrelated files.
1452
1453 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1454
1455 * net/imap.el: Revert back to version
1456 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
1457 seem problematic.
1458
1459 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
1460
1461 * obsolete/old-whitespace.el (whitespace-unload-function):
1462 Explicitly pass `obarray' to `unintern' to avoid a warning.
1463
1464 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
1467 Add `when' argument. Update callers.
1468
1469 * subr.el (unintern): Declare the obarray arg mandatory.
1470
1471 2010-09-14 Glenn Morris <rgm@gnu.org>
1472
1473 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
1474 Doc fixes.
1475
1476 * calendar/diary-lib.el (diary-included-files): New variable.
1477 (diary-list-entries): Maybe initialize diary-included-files.
1478 (diary-include-other-diary-files): Append to diary-included-files.
1479 * calendar/appt.el (appt-update-list): Also check the members of
1480 diary-included-files. (Bug#6999)
1481 (appt-check): Doc fix.
1482
1483 2010-09-14 David Reitter <david.reitter@gmail.com>
1484
1485 * simple.el (line-move-visual): Do not truncate goal column to
1486 integer size. (Bug#7020)
1487
1488 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * repeat.el (repeat): Allow repeating when the last event is a click.
1491 Suggested by Drew Adams (bug#6256).
1492
1493 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
1494
1495 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
1496 Replace setting HGRCPATH to "" by some less invasive --config options.
1497
1498 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * font-lock.el (font-lock-beginning-of-syntax-function):
1501 Mark as obsolete.
1502
1503 2010-09-14 Glenn Morris <rgm@gnu.org>
1504
1505 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
1506 and tool-bar modes. (Bug#6211)
1507 (menu-bar-mode): Move setting of standard-value after the
1508 minor-mode definition, otherwise it seems to have no effect.
1509
1510 2010-09-14 Masatake YAMATO <yamato@redhat.com>
1511
1512 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
1513 Fix typo. (Bug#6976)
1514
1515 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1516
1517 * whitespace.el: Allow cleaning up blanks without blank
1518 visualization (Bug#6651). Adjust help window for
1519 whitespace-toggle-options (Bug#6479). Allow to use fill-column
1520 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
1521 (whitespace-style): Add new value 'face. Adjust docstring.
1522 (whitespace-space, whitespace-hspace, whitespace-tab):
1523 Adjust foreground property face.
1524 (whitespace-line-column): Adjust docstring and type declaration.
1525 (whitespace-style-value-list, whitespace-toggle-option-alist)
1526 (whitespace-help-text): Adjust const initialization.
1527 (whitespace-toggle-options, global-whitespace-toggle-options):
1528 Adjust docstring.
1529 (whitespace-display-window, whitespace-interactive-char)
1530 (whitespace-style-face-p, whitespace-color-on): Adjust code.
1531 (whitespace-help-scroll): New fun.
1532
1533 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
1534
1535 * calendar/time-date.el (format-seconds): Comment fix.
1536
1537 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
1538
1539 * progmodes/sql.el: Version 2.7.
1540 (sql-buffer-live-p): Improve detection.
1541 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1542 (sql-set-sqli-buffer): Use it.
1543 (sql-product-interactive): Run `sql-set-sqli-hook'.
1544 (sql-rename-buffer): Code cleanup.
1545 (sql-redirect, sql-redirect-value): New functions. More to come.
1546
1547 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
1548
1549 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.
1550 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1551 (TRAMP_SRC): New macro.
1552 ($(lisp)/net/tramp-loaddefs.el): New target.
1553
1554 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
1555
1556 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
1557
1558 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
1559
1560 * net/tramp.el (top): Don't show loading message. Require just
1561 'tramp-compat, everything else is required there.
1562 Use `ignore-errors' where appropriate.
1563 (tramp-inline-compress-start-size, tramp-copy-size-limit)
1564 (tramp-terminal-type, tramp-end-of-output)
1565 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
1566 (tramp-completion-function-alist-ssh)
1567 (tramp-completion-function-alist-telnet)
1568 (tramp-completion-function-alist-su)
1569 (tramp-completion-function-alist-putty, tramp-remote-path)
1570 (tramp-remote-process-environment, tramp-sh-extra-args)
1571 (tramp-actions-before-shell, tramp-uudecode)
1572 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
1573 (tramp-perl-file-attributes)
1574 (tramp-perl-directory-files-and-attributes)
1575 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
1576 (tramp-perl-encode, tramp-perl-decode)
1577 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
1578 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
1579 (tramp-handle-make-symbolic-link, tramp-handle-load)
1580 (tramp-handle-file-name-as-directory)
1581 (tramp-handle-file-name-directory)
1582 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1583 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
1584 (tramp-do-file-attributes-with-ls)
1585 (tramp-do-file-attributes-with-perl)
1586 (tramp-do-file-attributes-with-stat)
1587 (tramp-handle-set-visited-file-modtime)
1588 (tramp-handle-verify-visited-file-modtime)
1589 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
1590 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
1591 (tramp-handle-file-selinux-context)
1592 (tramp-handle-set-file-selinux-context)
1593 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
1594 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
1595 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
1596 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
1597 (tramp-handle-file-ownership-preserved-p)
1598 (tramp-handle-directory-file-name, tramp-handle-directory-files)
1599 (tramp-handle-directory-files-and-attributes)
1600 (tramp-do-directory-files-and-attributes-with-perl)
1601 (tramp-do-directory-files-and-attributes-with-stat)
1602 (tramp-handle-file-name-all-completions)
1603 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
1604 (tramp-handle-copy-file, tramp-handle-copy-directory)
1605 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
1606 (tramp-do-copy-or-rename-file-via-buffer)
1607 (tramp-do-copy-or-rename-file-directly)
1608 (tramp-do-copy-or-rename-file-out-of-band)
1609 (tramp-handle-make-directory, tramp-handle-delete-directory)
1610 (tramp-handle-delete-file)
1611 (tramp-handle-dired-recursive-delete-directory)
1612 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
1613 (tramp-handle-insert-directory)
1614 (tramp-handle-unhandled-file-name-directory)
1615 (tramp-handle-expand-file-name)
1616 (tramp-handle-substitute-in-file-name)
1617 (tramp-handle-executable-find, tramp-process-sentinel)
1618 (tramp-handle-start-file-process, tramp-handle-process-file)
1619 (tramp-handle-call-process-region, tramp-handle-shell-command)
1620 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
1621 (tramp-handle-insert-file-contents)
1622 (tramp-handle-insert-file-contents-literally)
1623 (tramp-handle-find-backup-file-name)
1624 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
1625 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
1626 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
1627 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
1628 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
1629 (tramp-find-file-exists-command, tramp-open-shell)
1630 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
1631 (tramp-open-connection-setup-interactive-shell)
1632 (tramp-local-coding-commands, tramp-remote-coding-commands)
1633 (tramp-find-inline-encoding, tramp-call-local-coding-command)
1634 (tramp-inline-compress-commands, tramp-find-inline-compress)
1635 (tramp-compute-multi-hops, tramp-maybe-open-connection)
1636 (tramp-send-command, tramp-wait-for-output)
1637 (tramp-send-command-and-check, tramp-barf-unless-okay)
1638 (tramp-send-command-and-read, tramp-mode-string-to-int)
1639 (tramp-convert-file-attributes, tramp-check-cached-permissions)
1640 (tramp-file-mode-from-int, tramp-file-mode-permissions)
1641 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
1642 (tramp-method-out-of-band-p, tramp-local-host-p)
1643 (tramp-get-remote-path, tramp-get-remote-tmpdir)
1644 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
1645 (tramp-get-test-command, tramp-get-test-nt-command)
1646 (tramp-get-file-exists-command, tramp-get-remote-ln)
1647 (tramp-get-remote-perl, tramp-get-remote-stat)
1648 (tramp-get-remote-readlink, tramp-get-remote-trash)
1649 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
1650 (tramp-get-local-uid, tramp-get-local-gid)
1651 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
1652 tramp-sh.el.
1653 (tramp-methods, tramp-default-method-alist)
1654 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
1655 Move initialization to tramp-sh.el.
1656 (tramp-temp-name-prefix): Make it a defconst.
1657 (tramp-dissect-file-name): Don't check anymore for multi-hop
1658 methods.
1659 (tramp-debug-outline-regexp): Add a docstring.
1660 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
1661 (tramp-get-debug-buffer): Use it.
1662
1663 * net/tramp-cache.el (top): Set tramp-autoload cookie for
1664 initialization forms.
1665 (tramp-set-connection-property): Don't protect `tramp-message'
1666 call, it isn't necessary any longer.
1667 (tramp-dump-connection-properties): Use `ignore-errors'.
1668
1669 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
1670 'password-cache and 'auth-source.
1671
1672 * net/tramp-gvfs.el (top):
1673 * net/tramp-smb.el (top): Require 'tramp-sh.
1674
1675 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
1676
1677 * net/tramp-sh.el: New file, derived from tramp.el.
1678 (top): Initialize `tramp-methods', `tramp-default-method-alist',
1679 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
1680 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
1681 Use `ignore-errors' where appropriate.
1682 (tramp-sh-file-name-handler-alist): Rename from
1683 `tramp-file-name-handler-alist'.
1684 (tramp-send-command-and-check): Return t or nil. Remove all
1685 `zerop' checks, where called.
1686 (tramp-handle-set-file-modes)
1687 (tramp-do-copy-or-rename-file-directly)
1688 (tramp-handle-delete-directory, tramp-handle-delete-file)
1689 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
1690 (tramp-sh-file-name-handler, tramp-send-command-and-check)
1691 (tramp-get-remote-ln): Set tramp-autoload cookie.
1692
1693 * net/tramp-fish.el: Remove file.
1694
1695 2010-09-13 Daiki Ueno <ueno@unixuser.org>
1696
1697 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
1698 buffer-file-name to avoid file-locking. (Bug#7026)
1699
1700 2010-09-13 Julien Danjou <julien@danjou.info>
1701
1702 * notifications.el (notifications-notify): Add support for
1703 image-path and sound-name.
1704 (notifications-specification-version): Add this variable.
1705
1706 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1707
1708 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
1709
1710 2010-09-12 Leo <sdl.web@gmail.com>
1711
1712 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
1713 (rcirc-completion-start): New variables.
1714 (rcirc-nick-completions): Rename to rcirc-completions.
1715 (rcirc-nick-completion-start-offset): Delete.
1716 (rcirc-completion-at-point): New function for constructing
1717 completion data for both nicks and irc commands. Add to
1718 completion-at-point-functions in rcirc mode.
1719 (rcirc-complete): Rename from rcirc-nick-complete; use
1720 rcirc-completion-at-point.
1721 (defun-rcirc-command): Update rcirc-client-commands.
1722
1723 2010-09-11 Glenn Morris <rgm@gnu.org>
1724
1725 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
1726 atomically, to avoid parallel build errors. (Bug#4196)
1727
1728 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
1729
1730 * progmodes/sql.el: Version 2.6
1731 (sql-dialect): Synonym for "sql-product".
1732 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1733 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
1734 Set "sql-buffer" to buffer name not buffer object so multiple sql
1735 interactive buffers work properly. Reverts misguided changes in
1736 earlier work.
1737 (sql-comint): Make sure different buffer name is used if "*SQL*"
1738 buffer is for a different product.
1739 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
1740 login param.
1741 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
1742 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
1743 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
1744 Accept new buffer name or prompt for one.
1745 (sql-port): Default to zero.
1746 (sql-comint-mysql): Handle "sql-port" as a numeric.
1747 (sql-port-history): Delete unused variable.
1748 (sql-get-login): Default "sql-port" to a number.
1749 (sql-product-alist): Correct Postgres prompt and terminator regexp.
1750 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
1751 "sqlite3" executables.
1752 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
1753 (sql-buffer-live-p): New function.
1754 (sql-mode-menu, sql-send-string): Use it.
1755 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
1756 syntax pattern.
1757 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
1758 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
1759
1760 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1761
1762 * net/netrc.el (netrc-credentials): New convenience function.
1763
1764 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
1767 to replace texinfo-font-lock-syntactic-keywords.
1768 (texinfo-mode): Use it.
1769
1770 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
1771 Use syntax-propertize-function.
1772
1773 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
1774 replace sgml-font-lock-syntactic-keywords.
1775 (sgml-mode): Use it.
1776
1777 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
1778 since we don't use it.
1779
1780 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
1781
1782 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
1783 if available.
1784 (vhdl-fontify-buffer): Adjust.
1785
1786 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
1787 replace tcl-font-lock-syntactic-keywords.
1788 (tcl-mode): Use it.
1789
1790 * progmodes/simula.el (simula-syntax-propertize-function): New var to
1791 replace simula-font-lock-syntactic-keywords.
1792 (simula-mode): Use it.
1793
1794 * progmodes/sh-script.el (sh-st-symbol): Remove.
1795 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
1796 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
1797 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
1798 (sh-font-lock-paren): Set syntax-multiline.
1799 (sh-font-lock-syntactic-keywords): Remove.
1800 (sh-syntax-propertize-function): New function to replace it.
1801 (sh-mode): Use it.
1802
1803 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1804 Define while compiling.
1805 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1806 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
1807 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
1808 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1809 (ruby-here-doc-end-syntax): Only define when
1810 syntax-propertize is not available.
1811 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
1812 New functions.
1813 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
1814 (electric-indent-chars): Silence bytecompiler.
1815 (ruby-mode): Use prog-mode, syntax-propertize-function, and
1816 electric-indent-chars.
1817
1818 * progmodes/python.el (python-syntax-propertize-function): New var to
1819 replace python-font-lock-syntactic-keywords.
1820 (python-mode): Use it.
1821 (python-quote-syntax): Simplify and adjust to new use.
1822
1823 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
1824 replace perl-font-lock-syntactic-keywords.
1825 (perl-syntax-propertize-special-constructs): New fun to replace
1826 perl-font-lock-special-syntactic-constructs.
1827 (perl-font-lock-syntactic-face-function): New fun.
1828 (perl-mode): Use it.
1829
1830 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
1831 to replace octave-font-lock-close-quotes.
1832 (octave-syntax-propertize-function): New function to replace
1833 octave-font-lock-syntactic-keywords.
1834 (octave-mode): Use it.
1835
1836 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
1837 replaces mixal-font-lock-syntactic-keywords.
1838 (mixal-mode): Use it.
1839
1840 * progmodes/make-mode.el (makefile-syntax-propertize-function):
1841 New var; replaces makefile-font-lock-syntactic-keywords.
1842 (makefile-mode): Use it.
1843 (makefile-imake-mode): Adjust.
1844
1845 * progmodes/js.el (js--regexp-literal): Define while compiling.
1846 (js-syntax-propertize-function): New var; replaces
1847 js-font-lock-syntactic-keywords.
1848 (js-mode): Use it.
1849
1850 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
1851 replaces gdb-script-font-lock-syntactic-keywords.
1852 (gdb-script-mode): Use it.
1853
1854 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
1855 (fortran--font-lock-syntactic-keywords): New var.
1856 (fortran-line-length): Update syntax-propertize-function and
1857 fortran--font-lock-syntactic-keywords.
1858
1859 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
1860
1861 * progmodes/cfengine.el (cfengine-mode):
1862 Use syntax-propertize-function.
1863 (cfengine-font-lock-syntactic-keywords): Remove.
1864
1865 * progmodes/autoconf.el (autoconf-mode):
1866 Use syntax-propertize-function.
1867 (autoconf-font-lock-syntactic-keywords): Remove.
1868
1869 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
1870 (ada-after-change-function, ada-initialize-syntax-table-properties)
1871 (ada-handle-syntax-table-properties): Only define when
1872 syntax-propertize is not available.
1873 (ada-mode): Use syntax-propertize-function.
1874
1875 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
1876 (font-lock-fontify-syntactic-keywords-region): Move handling of
1877 font-lock-syntactically-fontified to...
1878 (font-lock-default-fontify-region): ...here.
1879 Let syntax-propertize-function take precedence.
1880 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
1881
1882 * emacs-lisp/syntax.el (syntax-propertize-function)
1883 (syntax-propertize-chunk-size, syntax-propertize--done)
1884 (syntax-propertize-extend-region-functions): New vars.
1885 (syntax-propertize-wholelines, syntax-propertize-multiline)
1886 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
1887 (syntax-propertize): New functions.
1888 (syntax-propertize-rules): New macro.
1889 (syntax-ppss-flush-cache): Set syntax-propertize--done.
1890 (syntax-ppss): Call syntax-propertize.
1891
1892 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
1893
1894 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
1895
1896 * textmodes/ispell.el (ispell-init-process): Improve comments.
1897 XEmacs compatibility changes regarding (add-hook) 'local option
1898 and (set-process-query-on-exit-flag).
1899
1900 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
1901
1902 * net/tramp-cache.el (tramp-parse-connection-properties):
1903 Set tramp-autoload cookie.
1904
1905 2010-09-09 Glenn Morris <rgm@gnu.org>
1906
1907 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
1908 (imagemagick-register-types): Doc fix.
1909
1910 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1913
1914 * progmodes/js.el (require): Require is already "eval-and-compile".
1915 (js--re-search-forward): Avoid `eval'. Preserve the error data.
1916 (js--re-search-backward): Use js--re-search-forward.
1917
1918 * progmodes/fortran.el (fortran-line-length): Don't recompute
1919 syntactic keywords redundantly a second time.
1920
1921 * progmodes/ada-mode.el: Replace "(set '" with setq.
1922 (ada-mode): Simplify.
1923 (ada-create-case-exception, ada-adjust-case-interactive)
1924 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1925 (ada-search-ignore-string-comment, ada-move-to-start)
1926 (ada-move-to-end): Use with-syntax-table.
1927
1928 * font-lock.el (save-buffer-state): Remove `varlist' arg.
1929 (font-lock-unfontify-region, font-lock-default-fontify-region):
1930 Update usage correspondingly.
1931 (font-lock-fontify-syntactic-keywords-region):
1932 Set parse-sexp-lookup-properties buffer-locally here.
1933 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1934
1935 * simple.el (blink-matching-open): Don't burp if we can't find a match.
1936
1937 2010-09-08 Glenn Morris <rgm@gnu.org>
1938
1939 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1940 Error if not compiled with -DBYTE_CODE_METER.
1941
1942 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1943 Ignore dir-locals-file.
1944
1945 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1948 Not a const.
1949 (compilation-error-regexp-alist-alist): Rule out ": " in file names
1950 for the `gnu' messages.
1951 (compilation-set-skip-threshold): New command.
1952 (compilation-start): Use \' rather than $.
1953 (compilation-forget-errors): Use clrhash.
1954
1955 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
1956
1957 * textmodes/ispell.el (ispell-valid-dictionary-list):
1958 Simplify logic.
1959
1960 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
1961
1962 Migrate to Tramp 2.2. Rearrange load dependencies.
1963 (Bug#1529, Bug#5448, Bug#5705)
1964
1965 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1966 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1967 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1968
1969 * net/tramp.el (top): Remove all other tramp-* loads except
1970 tramp-compat.el. Remove all changes to tramp-unload-hook for
1971 other tramp-* packages. Rearrange defun order. Change calls of
1972 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1973 `tramp-compat-octal-to-decimal' to new function names.
1974 (tramp-terminal-type, tramp-initial-end-of-output)
1975 (tramp-methods, tramp-foreign-file-name-handler-alist)
1976 (tramp-tramp-file-p, tramp-completion-mode-p)
1977 (tramp-send-command-and-check, tramp-get-remote-path)
1978 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1979 (tramp-shell-quote-argument): Set tramp-autoload cookie.
1980 (with-file-property, with-connection-property): Move to
1981 tramp-cache.el.
1982 (tramp-local-call-process, tramp-decimal-to-octal)
1983 (tramp-octal-to-decimal): Move to tramp-compat.el.
1984 (tramp-handle-shell-command): Do not require 'shell.
1985 (tramp-compute-multi-hops): No special handling for tramp-gw-*
1986 symbols.
1987 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1988
1989 * net/tramp-cache.el (top): Require 'tramp. Add to
1990 `tramp-unload-hook'.
1991 (tramp-cache-data, tramp-get-file-property)
1992 (tramp-set-file-property, tramp-flush-file-property)
1993 (tramp-flush-directory-property, tramp-get-connection-property)
1994 (tramp-set-connection-property, tramp-flush-connection-property)
1995 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1996 cookie.
1997 (with-file-property, with-connection-property): New defuns, moved
1998 from tramp.el.
1999 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2000 macro.
2001
2002 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2003 (tramp-version): Set tramp-autoload cookie.
2004
2005 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
2006 changes to tramp-unload-hook for other tramp-* packages. Add to
2007 `tramp-unload-hook'.
2008 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2009 (tramp-compat-call-process): New defuns, moved from tramp.el.
2010
2011 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
2012 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2013 to `tramp-unload-hook'. Change call of
2014 `tramp-compat-decimal-to-octal' to new function name.
2015 (tramp-fish-method): Make it a defconst.
2016 (tramp-fish-file-name-p): Make it a defsubst.
2017 (tramp-fish-method, tramp-fish-file-name-handler)
2018 (tramp-fish-file-name-p): Set tramp-autoload cookie.
2019
2020 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2021 `tramp-foreign-file-name-handler-alist'. Add to
2022 `tramp-unload-hook'.
2023 (tramp-ftp-method): Make it a defconst.
2024 (tramp-ftp-file-name-p): Make it a defsubst.
2025 (tramp-ftp-method, tramp-ftp-file-name-handler)
2026 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2027
2028 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2029 `tramp-foreign-file-name-handler-alist'. Add to
2030 `tramp-unload-hook'. Change checks, whether package can be
2031 loaded.
2032 (tramp-gvfs-file-name-p): Make it a defsubst.
2033 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2034 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2035 (tramp-gvfs-handle-file-directory-p): New defun.
2036 (tramp-gvfs-file-name-handler-alist): Use it.
2037
2038 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2039 `tramp-foreign-file-name-handler-alist'. Add to
2040 `tramp-unload-hook'.
2041 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2042 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2043 defconst.
2044 (tramp-gw-tunnel-method, tramp-gw-socks-method)
2045 (tramp-gw-open-connection): Set tramp-autoload cookie.
2046
2047 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
2048 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2049 to `tramp-unload-hook'. Change checks, whether package can be
2050 loaded.
2051 (tramp-imap-file-name-p): Make it a defsubst.
2052 (tramp-imap-method, tramp-imaps-method)
2053 (tramp-imap-file-name-handler)
2054 (tramp-imap-file-name-p): Set tramp-autoload cookie.
2055
2056 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
2057 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2058 to `tramp-unload-hook'. Change checks, whether package can be
2059 loaded. Change call of `tramp-compat-decimal-to-octal' to new
2060 function name.
2061 (tramp-smb-tunnel-method): Make it a defconst.
2062 (tramp-smb-file-name-p): Make it a defsubst.
2063 (tramp-smb-method, tramp-smb-file-name-handler)
2064 (tramp-smb-file-name-p): Set tramp-autoload cookie.
2065
2066 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
2067 (tramp-uuencode-region): Set tramp-autoload cookie.
2068
2069 * net/trampver.el (top) Add to `tramp-unload-hook'.
2070 (tramp-version, tramp-bug-report-address): Set tramp-autoload
2071 cookie. Update release number.
2072
2073 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
2074
2075 * textmodes/ispell.el (ispell-start-process): Make sure original
2076 arg list is properly initialized (Bug#6993, Bug#6994).
2077
2078 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2079
2080 * files.el (directory-abbrev-alist): Use \` as default regexp.
2081
2082 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
2083 chars like - or ] (bug#6984).
2084 (rx-any-condense-range): Explode 2-char ranges.
2085
2086 2010-09-06 Glenn Morris <rgm@gnu.org>
2087
2088 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
2089
2090 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * textmodes/bibtex.el:
2093 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
2094
2095 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2096
2097 * net/imap.el (imap-message-map): Remove optional buffer parameter,
2098 since no callers use it.
2099 (imap-message-get): Ditto.
2100 (imap-message-put): Ditto.
2101 (imap-mailbox-map): Ditto.
2102 (imap-mailbox-put): Ditto.
2103 (imap-mailbox-get): Ditto.
2104 (imap-mailbox-get): Revert last change for this function.
2105
2106 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2107
2108 * net/imap.el (imap-fetch-safe): Remove function, and alter all
2109 callers to use `imap-fetch' instead. According to the comments, this
2110 should be safe, since all other IMAP clients use the 1:* syntax.
2111 (imap-enable-exchange-bug-workaround): Remove.
2112 (imap-debug): Remove -- doesn't seem very useful.
2113
2114 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2115
2116 * net/imap.el (imap-log): New convenience function used throughout
2117 instead of repeating the same code all over the place.
2118
2119 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
2120
2121 * mouse.el (mouse-save-then-kill): Save region to kill-ring
2122 when mouse-drag-copy-region is non-nil (Bug#6956).
2123
2124 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
2125
2126 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2127 Improve regexps (Bug#6987).
2128 (dired-sort-toggle): Search more robustly for -t flag.
2129
2130 * files.el (get-free-disk-space): Search more robustly for
2131 "available" column. Suggested by Ehud Karni
2132 <ehud@unix.mvs.co.il>.
2133
2134 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
2135
2136 * international/uni-bidi.el:
2137 * international/uni-category.el:
2138 * international/uni-combining.el:
2139 * international/uni-decimal.el:
2140 * international/uni-mirrored.el:
2141 * international/uni-name.el: Regenerate.
2142
2143 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * electric.el (electric-indent-post-self-insert-function):
2146 Don't reindent with a sloppy indentation function.
2147
2148 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2149 border case in change-log-mode.
2150
2151 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
2152
2153 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2154 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2155 Recognize leading tab in gcc-include regexp. Ignore names with
2156 leading "from" or "in" in gnu regexp (Bug#6937).
2157
2158 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2161 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2162 (ispell-start-process): Avoid setq and simplify logic.
2163 (ispell-init-process): Setup kill-buffer-hook locally when needed.
2164 (kill-buffer-hook): Don't use it globally with code that uses
2165 expand-file-name since that may call kill-buffer via
2166 code_conversion_restore.
2167
2168 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
2169
2170 * emacs-lisp/package.el (package-directory-list): Only call
2171 file-name-nondirectory on a string.
2172
2173 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2174
2175 * emacs-lisp/package.el (package--download-one-archive):
2176 Ensure that archive-contents is valid before saving it.
2177 (package-activate-1, package-mark-obsolete, define-package)
2178 (package-compute-transaction, package-list-maybe-add): Use push.
2179
2180 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 Use SMIE's blink-paren for octave-mode.
2183 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2184 Backslashes do not escape single-quotes, single-quotes do.
2185 (octave-block-else-regexp, octave-block-end-regexp)
2186 (octave-block-match-alist): Remove.
2187 (octave-smie-bnf-table): New var, with old content.
2188 (octave-smie-op-levels): Use it.
2189 (octave-smie-closer-alist): New var.
2190 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
2191 (octave-blink-matching-block-open): Remove.
2192 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2193 (octave-electric-space): Let self-insert-command run expand-abbrev and
2194 blink parens.
2195
2196 * electric.el (electricity): New group.
2197 (electric-indent-chars): New var.
2198 (electric-indent-post-self-insert-function): New fun.
2199 (electric-indent-mode): New minor mode.
2200 (electric-pair-skip-self): New custom.
2201 (electric-pair-post-self-insert-function): New function.
2202 (electric-pair-mode): New minor mode.
2203
2204 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2205 calcAlg-blink-matching-open.
2206 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2207 (calc-do-alg-entry): Only touch the part of the keymap that varies.
2208 Use the new blink-matching-check-function.
2209
2210 Provide blink-matching support to SMIE.
2211 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2212 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2213 (smie-blink-matching-check, smie-blink-matching-open): New functions.
2214
2215 * simple.el (newline): Fix last change to properly remove itself from
2216 the hook.
2217
2218 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * simple.el (newline): Eliminate optimization.
2221 Use post-self-insert-hook to set hard-newline and things before
2222 running post-self-insert-hook.
2223 (blink-matching-check-mismatch): New function.
2224 (blink-matching-check-function): New variable.
2225 (blink-matching-open): Use them.
2226 Skip back forward over prefix chars skipped by forward-sexp.
2227 Don't check if the parens are backslash escaped.
2228 (blink-paren-post-self-insert-function): Check backslash escaping here.
2229
2230 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2231
2232 * emacs-lisp/package.el (package-menu-mode-map):
2233 Change package-menu-revert bindings to revert-buffer.
2234 (package-menu-mode): Set revert-buffer-function.
2235 (package-menu-revert): Doc fix.
2236
2237 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
2238
2239 * textmodes/ispell.el (ispell-init-process): Use "~/" as
2240 `default-directory' unless using Ispell per-directory personal
2241 dictionaries and not in a mini-buffer under XEmacs.
2242 (kill-buffer-hook): Do not kill ispell process on exit when
2243 `ispell-process-directory' is "~/". (Bug#6143)
2244
2245 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
2246
2247 * simple.el (kill-new): Call interprogram-cut-function with only
2248 one argument.
2249
2250 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2251 Remove cut buffer from error message.
2252
2253 * term/x-win.el (x-select-text):
2254 * term/pc-win.el (x-selection-value):
2255 * term/ns-win.el (x-selection-value):
2256 * eshell/em-term.el:
2257 * w32-fns.el (x-get-selection-value):
2258 * mouse-sel.el (mouse-sel-set-selection-function):
2259 * frame.el (display-selections-p): Remove cut-buffer in documentation.
2260
2261 * term/x-win.el: Update documentation for x-last-selected-text-*.
2262 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2263 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2264 (x-select-text): Remove argument PUSH, update documentation. Remove
2265 cut-buffer code.
2266 (x-selection-value-internal): Was previously x-selection-value.
2267 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
2268 Update documentation, remove cut-buffer code. Call
2269 x-selection-value-internal.
2270 (x-clipboard-yank): Call x-selection-value-internal.
2271 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
2272
2273 * term/pc-win.el (x-last-selected-text):
2274 x-cut-buffer-or-selection-value renamed to x-selection-value
2275 (x-select-text): Remove argument PUSH, update documentation.
2276
2277 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
2278 x-cut-buffer-or-selection-value renamed to x-selection-value
2279 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
2280 (x-select-text): Remove argument PUSH, update documentation.
2281
2282 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
2283
2284 * w32-fns.el (x-last-selected-text):
2285 x-cut-buffer-or-selection-value renamed to x-selection-value.
2286 (x-cut-buffer-max): Remove.
2287 (x-select-text): Remove argument PUSH, update documentation.
2288
2289 * simple.el (interprogram-cut-function): Remove mention of PUSH.
2290
2291 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
2292
2293 * mouse-sel.el (mouse-sel-get-selection-function):
2294 x-cut-buffer-or-selection-value renamed to x-selection-value.
2295 (x-select-text): Remove optional push.
2296
2297 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * simple.el (blink-paren-function): Move from C to here.
2300 (blink-paren-post-self-insert-function): New function.
2301 (post-self-insert-hook): Use it.
2302
2303 * emacs-lisp/pcase.el (pcase-split-memq):
2304 Fix overenthusiastic optimisation.
2305 (pcase-u1): Handle the case of a lambda pred.
2306
2307 2010-08-31 Kenichi Handa <handa@m17n.org>
2308
2309 * international/mule-cmds.el (standard-display-european-internal):
2310 Setup standard-display-table for 8-bit characters by storing 8-bit
2311 characters in the element vector.
2312
2313 * disp-table.el (standard-display-8bit):
2314 Setup standard-display-table for 8-bit characters by storing 8-bit
2315 characters in the element vector.
2316 (standard-display-european): Likewise.
2317
2318 2010-08-31 Masatake YAMATO <yamato@redhat.com>
2319
2320 * textmodes/nroff-mode.el (nroff-view): New command.
2321 (nroff-mode-map): Bind it to C-c C-c.
2322
2323 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * emacs-lisp/smie.el (smie-down-list): New command.
2326
2327 Remove old indentation and navigation code on octave-mode.
2328 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
2329 smie-down-list rather than add a binding for octave-down-block.
2330 (octave-mark-block, octave-blink-matching-block-open):
2331 Rely on forward-sexp-function.
2332 (octave-fill-paragraph): Don't narrow, so you can use
2333 indent-according-to-mode.
2334 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
2335 (octave-in-block-p, octave-re-search-forward-kw)
2336 (octave-re-search-backward-kw, octave-indent-calculate)
2337 (octave-end-as-array-index-p, octave-block-end-offset)
2338 (octave-scan-blocks, octave-forward-block, octave-backward-block)
2339 (octave-down-block, octave-backward-up-block, octave-up-block)
2340 (octave-before-magic-comment-p, octave-indent-line): Remove.
2341
2342 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
2343
2344 * emacs-lisp/package.el (package--read-archive-file): Just use
2345 `read', to avoid copying an additional string.
2346 (package-menu-mode): Set header-line-format here.
2347 (package-menu-refresh, package-menu-revert): Signal an error if
2348 not in the Package Menu.
2349 (package-menu-package-list): New var.
2350 (package--generate-package-list): Operate on the current buffer;
2351 don't assume that it is *Packages*, since the user may rename it.
2352 Allow persistent package listings and sort keys using
2353 package-menu-package-list and package-menu-package-sort-key.
2354 (package-menu--version-predicate): Fix version calculation.
2355 (package-menu-sort-by-column): Don't select the window.
2356 (package--list-packages): Create the *Packages* buffer.
2357 Set package-menu-package-list-key.
2358 (list-packages): Sorting by status is now the default.
2359 (package-buffer-info): Use match-string-no-properties.
2360 (define-package): Add a &rest argument for future proofing, but
2361 don't use it yet.
2362 (package-install-from-buffer, package-install-buffer-internal):
2363 Merge into a single function, package-install-from-buffer.
2364 (package-install-file): Change caller.
2365
2366 * finder.el: Load finder-inf using `require'.
2367 (finder-list-matches): Sorting by status is now the default.
2368 (finder-compile-keywords): Simpify printing.
2369
2370 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2373 (octave-mode-map): Remove special bindings for forward/backward-block
2374 and octave-backward-up-block. Use smie-close-block.
2375 (octave-continuation-marker-regexp): New var.
2376 (octave-continuation-regexp): Use it.
2377 (octave-operator-table, octave-smie-op-levels)
2378 (octave-operator-regexp, octave-smie-indent-rules): New vars.
2379 (octave-smie-backward-token, octave-smie-forward-token): New funs.
2380 (octave-mode): Use SMIE.
2381 (octave-close-block): Delete.
2382
2383 2010-08-30 Eli Zaretskii <eliz@gnu.org>
2384
2385 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
2386 CLIPBOARD, not in PRIMARY. (Bug#6944)
2387
2388 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
2391 a list of parents.
2392 (smie-indent-column): Allow indirection through variables.
2393
2394 * composite.el (save-buffer-state): Delete, unused.
2395 * font-lock.el (save-buffer-state): Use with-silent-modifications.
2396 (font-lock-default-fontify-region): Use with-syntax-table.
2397 * jit-lock.el (with-buffer-unmodified): Remove.
2398 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
2399
2400 Use `declare' in defmacros.
2401 * window.el (save-selected-window):
2402 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
2403 * progmodes/python.el (def-python-skeleton):
2404 * net/dbus.el (dbus-ignore-errors):
2405 * jka-cmpr-hook.el (with-auto-compression-mode):
2406 * international/mule.el (with-category-table):
2407 * emacs-lisp/timer.el (with-timeout):
2408 * emacs-lisp/lisp-mnt.el (lm-with-file):
2409 * emacs-lisp/eieio.el (with-slots):
2410 * emacs-lisp/easymenu.el (easy-menu-define):
2411 * emacs-lisp/debug.el (debugger-env-macro):
2412 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
2413 (Multiple-value-call, Multiple-value-prog1):
2414 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
2415 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
2416 edebug rule to definition.
2417 * emacs-lisp/lisp-mode.el (save-selected-window)
2418 (with-current-buffer, combine-after-change-calls)
2419 (with-output-to-string, with-temp-file, with-temp-buffer)
2420 (with-temp-message, with-syntax-table, read-if, eval-after-load)
2421 (dolist, dotimes, when, unless):
2422 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2423
2424 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2425
2426 * finder.el: Require `package'.
2427 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
2428 (finder-package-info): Var deleted.
2429 (finder-keywords-hash, finder--builtins-alist): New vars.
2430 (finder-compile-keywords): Compute package--builtins and
2431 finder-keywords-hash instead of finder-keywords-hash, respecting
2432 the "Package" header.
2433 (finder-unknown-keywords, finder-list-matches):
2434 Use finder-keywords-hash and package--list-packages.
2435 (finder-mode): Don't set font-lock-defaults.
2436 (finder-exit): We don't use "*Finder-package*" and "*Finder
2437 Category*" buffers anymore.
2438
2439 * emacs-lisp/package.el (package--builtins-base): Var deleted.
2440 (package--builtins): Set default value to nil.
2441 (package-initialize): Load precomputed value of package--builtins
2442 from finder-inf.el.
2443 (package-alist, package-compute-transaction)
2444 (package-download-transaction): Improve docstring.
2445 (package-read-all-archive-contents): Do not change
2446 package--builtins here.
2447 (list-packages): Make package-list-packages an alias for this.
2448 Sort by status by default.
2449 (package--list-packages): Add optional PACKAGES arg.
2450 (describe-package-1): Use font-lock-face property. For built-in
2451 packages, insert file commentary.
2452 (package--generate-package-list): Rename from
2453 package-list-packages-internal; all callers changed. Add optional
2454 PACKAGES arg. Add alphabetical sort fallbacks.
2455 (package-menu--version-predicate, package-menu--status-predicate)
2456 (package-menu--description-predicate)
2457 (package-menu--name-predicate): New functions.
2458
2459 * info.el (Info-finder-find-node): Search package-alist instead of
2460 finder-package-info.
2461
2462 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2463
2464 * subr.el (version-regexp-alist): Don't use "a" and "b" for
2465 "alpha" and "beta".
2466 (version-to-list): Handle versions like "10.3d".
2467
2468 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
2471 (macroexp-accumulate): Use `declare'.
2472
2473 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2474
2475 * whitespace.el (whitespace-style): Adjust type declaration.
2476
2477 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
2478
2479 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2480 empty argument to gvfs-copy.
2481
2482 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2483
2484 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
2485 handle new TRASH arg of `delete-file'.
2486
2487 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
2488
2489 * net/tramp.el (tramp-handle-insert-directory): Don't use
2490 `forward-word', its default syntax could be changed.
2491
2492 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2493 Michael Albinus <michael.albinus@gmx.de>
2494
2495 Implement compression for inline methods.
2496
2497 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
2498 (tramp-copy-size-limit): Allow also nil.
2499 (tramp-inline-compress-commands): New defconst.
2500 (tramp-find-inline-compress, tramp-get-inline-compress)
2501 (tramp-get-inline-coding): New defuns.
2502 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
2503 replaced by `tramp-get-inline-coding'.
2504 (tramp-handle-file-local-copy, tramp-handle-write-region)
2505 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
2506
2507 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
2508
2509 Detect ssh 'ControlMaster' argument automatically in some cases.
2510
2511 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
2512 (tramp-default-method): Use it.
2513
2514 2010-08-26 Karel Klíč <kklic@redhat.com>
2515
2516 * net/tramp.el (tramp-file-name-for-operation):
2517 Add file-selinux-context.
2518
2519 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
2520
2521 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
2522
2523 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2524
2525 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
2526 (Bug#6907).
2527
2528 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
2529
2530 * progmodes/js.el: Make indentation more customizable (Bug#6914).
2531 (js-paren-indent-offset, js-square-indent-offset)
2532 (js-curly-indent-offset): New options.
2533 (js--proper-indentation): Use them.
2534
2535 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
2536
2537 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
2538 instead of inspecting font-lock properties (Bug#6916).
2539
2540 2010-08-26 David Reitter <david.reitter@gmail.com>
2541
2542 * server.el (server-visit-files): Run pre-command-hook and
2543 post-command-hook for each buffer while it is current (Bug#6910).
2544 (server-execute): Do not run hooks here.
2545
2546 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
2547
2548 Sync with Tramp 2.1.19.
2549
2550 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2551 (tramp-reporter-dump-variable, tramp-load-report-modules)
2552 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
2553 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
2554
2555 * net/tramp-compat.el (top): Do not autoload
2556 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
2557 only when `start-file-process' is not bound.
2558 (byte-compile-not-obsolete-vars): Define if not bound.
2559 (tramp-compat-funcall): New defmacro.
2560 (tramp-compat-line-beginning-position)
2561 (tramp-compat-line-end-position)
2562 (tramp-compat-temporary-file-directory)
2563 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
2564 (tramp-compat-copy-file, tramp-compat-copy-directory)
2565 (tramp-compat-delete-file, tramp-compat-delete-directory)
2566 (tramp-compat-number-sequence, tramp-compat-process-running-p):
2567 Use it.
2568 (tramp-advice-file-expand-wildcards): Do not use
2569 `tramp-handle-file-remote-p'.
2570 (tramp-compat-make-temp-file): Simplify fallback implementation.
2571 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2572 (tramp-compat-copy-tree): Remove function.
2573 (tramp-compat-delete-file): New defun.
2574 (tramp-compat-delete-directory): Provide implementation for older
2575 Emacsen.
2576 (tramp-compat-file-attributes): Handle only
2577 `wrong-number-of-arguments' error.
2578
2579 * net/tramp-fish.el (tramp-fish-handle-copy-file):
2580 Add PRESERVE_SELINUX_CONTEXT.
2581 (tramp-fish-handle-delete-file): Add TRASH arg.
2582 (tramp-fish-handle-directory-files-and-attributes):
2583 Do not use `tramp-fish-handle-file-attributes.
2584 (tramp-fish-handle-file-local-copy)
2585 (tramp-fish-handle-insert-file-contents)
2586 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
2587
2588 * net/tramp-gvfs.el (top): Require url-util.
2589 (tramp-gvfs-mount-point): Remove.
2590 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
2591 and `set-file-selinux-context'.
2592 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
2593 (tramp-gvfs-handle-file-selinux-context)
2594 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
2595 (with-tramp-dbus-call-method): Format trace message.
2596 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
2597 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2598 Implement backup call, when operation on local files fails.
2599 Use progress reporter. Flush properties of changed files.
2600 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
2601 `tramp-compat-delete-file'.
2602 (tramp-gvfs-handle-expand-file-name): Expand "~/".
2603 (tramp-gvfs-handle-make-directory): Make more traces.
2604 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
2605 (tramp-gvfs-url-file-name): Hexify file name in url.
2606 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2607 into account for the resulting file name.
2608 (tramp-gvfs-handler-askquestion): Preserve current message, in
2609 order to let progress reporter continue afterwards. (Bug#6257)
2610 Return dummy mountpoint, when the answer is "no".
2611 See `tramp-gvfs-maybe-open-connection'.
2612 (tramp-gvfs-handler-mounted-unmounted)
2613 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2614 attribute "default_location". Set "prefix" property.
2615 Handle default-location.
2616 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2617 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2618 exists. Raise an error, if not (due to a corresponding answer
2619 "no" in interactive questions, for example).
2620 Use `tramp-compat-funcall'.
2621
2622 * net/tramp-imap.el (top): Autoload `epg-make-context'.
2623 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2624 (tramp-imap-do-copy-or-rename-file)
2625 (tramp-imap-handle-insert-file-contents)
2626 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2627 (tramp-imap-handle-delete-file): Add TRASH arg.
2628
2629 * net/tramp-smb.el (tramp-smb-handle-copy-file):
2630 Add PRESERVE-SELINUX-CONTEXT.
2631 (tramp-smb-handle-copy-file)
2632 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
2633 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
2634 Use `with-progress-reporter'.
2635 (tramp-smb-handle-delete-file): Add TRASH arg.
2636
2637 * net/tramp.el (tramp-methods): Move hostname to the end in all
2638 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
2639 appropriate.
2640 (tramp-verbose): Describe verbose level 9.
2641 (tramp-completion-function-alist)
2642 (tramp-file-name-regexp, tramp-chunksize)
2643 (tramp-local-coding-commands, tramp-remote-coding-commands)
2644 (with-connection-property, tramp-completion-mode-p)
2645 (tramp-action-process-alive, tramp-action-out-of-band)
2646 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
2647 (tramp-exists-file-name-handler): Fix docstring.
2648 (tramp-remote-process-environment): Use `format' instead of
2649 `concat'. Protect version string by apostroph.
2650 (tramp-shell-prompt-pattern): Do not use a shy group in case of
2651 XEmacs.
2652 (tramp-file-name-regexp-unified)
2653 (tramp-completion-file-name-regexp-unified): On W32 systems, do
2654 not regard the volume letter as remote filename. (Bug#5447)
2655 (tramp-perl-file-attributes)
2656 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2657 (tramp-vc-registered-read-file-names): Read input as
2658 here-document, otherwise the command could exceed maximum length
2659 of command line.
2660 (tramp-file-name-handler-alist): Add `file-selinux-context' and
2661 `set-file-selinux-context'.
2662 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
2663 backtrace functions.
2664 (tramp-error-with-buffer): Don't show the connection buffer when
2665 we are in completion mode.
2666 (tramp-progress-reporter-update, tramp-remote-selinux-p)
2667 (tramp-handle-file-selinux-context)
2668 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
2669 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
2670 New defuns.
2671 (with-progress-reporter): New defmacro.
2672 (tramp-debug-outline-regexp): New defconst.
2673 (top, tramp-rfn-eshadow-setup-minibuffer)
2674 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
2675 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
2676 (tramp-completion-mode-p, tramp-check-for-regexp)
2677 (tramp-open-connection-setup-interactive-shell)
2678 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
2679 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
2680 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
2681 Use `tramp-compat-funcall'.
2682 (tramp-handle-make-symbolic-link): Flush file properties.
2683 (tramp-handle-load, tramp-handle-file-local-copy)
2684 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2685 (tramp-handle-vc-registered, tramp-maybe-send-script)
2686 (tramp-find-shell): Use `with-progress-reporter'.
2687 (tramp-do-file-attributes-with-stat): Add space in format string,
2688 in order to work around a bug in pdksh. Reported by Gilles Pion
2689 <gpion@lfdj.com>.
2690 (tramp-handle-verify-visited-file-modtime): Do not send a command
2691 when the connection is not established.
2692 (tramp-handle-set-file-times): Simplify the check for utc.
2693 (tramp-handle-directory-files-and-attributes)
2694 (tramp-get-remote-path): Use `copy-tree'.
2695 (tramp-completion-handle-file-name-all-completions): Ensure, that
2696 non remote files are still checked. Oops.
2697 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
2698 Handle PRESERVE-SELINUX-CONTEXT.
2699 (tramp-do-copy-or-rename-file): Add progress reporter.
2700 (tramp-do-copy-or-rename-file-directly): Do not use
2701 `tramp-handle-file-remote-p'.
2702 (tramp-do-copy-or-rename-file-out-of-band):
2703 Use `tramp-compat-delete-directory'.
2704 (tramp-do-copy-or-rename-file-out-of-band)
2705 (tramp-compute-multi-hops, tramp-maybe-open-connection):
2706 Use `format-spec-make'.
2707 (tramp-handle-delete-file): Add TRASH arg.
2708 (tramp-handle-dired-uncache): Flush directory cache, not only file
2709 cache.
2710 (tramp-handle-expand-file-name)
2711 (tramp-completion-handle-file-name-all-completions)
2712 (tramp-completion-handle-file-name-completion):
2713 Use `tramp-connectable-p'.
2714 (tramp-handle-start-file-process): Set connection property "vec".
2715 Use it, in order to invalidate file caches. Check only for
2716 `remote-tty' process property.
2717 Implement tty setting. (Bug#4604, Bug#6360)
2718 (tramp-file-name-for-operation): Add `call-process-region' and
2719 `set-file-selinux-context'.
2720 (tramp-find-foreign-file-name-handler)
2721 (tramp-advice-make-auto-save-file-name)
2722 (tramp-set-auto-save-file-modes): Remove superfluous check for
2723 `stringp'. This is done inside `tramp-tramp-file-p'.
2724 (tramp-file-name-handler): Trace 'quit. Catch the error for some
2725 operations when we are in completion mode. This gives the user
2726 the chance to correct the file name in the minibuffer.
2727 (tramp-completion-mode-p): Use `non-essential'.
2728 (tramp-handle-file-name-all-completions): Backward/ XEmacs
2729 compatibility: Use `completion-ignore-case' if
2730 `read-file-name-completion-ignore-case' does not exist.
2731 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
2732 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2733 `tramp-open-shell'.
2734 (tramp-action-password): Hide password prompt before next run.
2735 (tramp-process-actions): Widen connection buffer for the trace.
2736 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2737 process property. Trace stty settings if `tramp-verbose' >= 9.
2738 Apply workaround for IRIX64 bug. Move argument of last
2739 `tramp-send-command' where it belongs to.
2740 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2741 front of `login-args'.
2742 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
2743 on "/dev/null" instead of "/".
2744 (tramp-get-ls-command-with-dired): Make test for "--dired"
2745 stronger.
2746 (tramp-set-auto-save-file-modes): Adapt version check.
2747 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2748 (tramp-handle-process-file): Call the program in a subshell, in
2749 order to preserve working directory.
2750 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
2751 `tramp-remote-sh' from `tramp-methods'.
2752 (tramp-get-ls-command): Make test for "--color=never" stronger.
2753 (tramp-check-for-regexp): Use (forward-line 1).
2754
2755 * net/trampver.el: Update release number.
2756
2757 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2758
2759 * help.el (help-map): Bind `C-h P' to describe-package.
2760
2761 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
2762
2763 * emacs-lisp/package.el (package-refresh-contents): Catch errors
2764 when downloading archives.
2765 (describe-package-1): Add package commentary.
2766 (package-install-button-action): New function.
2767 (package-menu-mode-map): Bind ? to package-menu-describe-package.
2768 (package-menu-view-commentary): Function removed.
2769 (package-list-packages-internal): Hide the `package' package too.
2770
2771 2010-08-25 Kenichi Handa <handa@m17n.org>
2772
2773 * language/misc-lang.el ("Arabic"): New language environment.
2774 Setup composition-function-table for Arabic characters.
2775
2776 * international/fontset.el (setup-default-fontset): Fix typo for
2777 arabic OTF spec (fini->fina).
2778
2779 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
2780
2781 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
2782 on all frames.
2783
2784 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2785
2786 * whitespace.el: Allow cleaning up blanks without blank
2787 visualization (Bug#6651). Adjust help window for
2788 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2789 instead of whitespace-line-column (from EmacsWiki). New version
2790 13.1.
2791 (whitespace-style): Added new value 'face. Adjust docstring.
2792 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
2793 foreground property face.
2794 (whitespace-line-column): Adjust docstring and type declaration.
2795 (whitespace-style-value-list, whitespace-toggle-option-alist)
2796 (whitespace-help-text): Adjust const initialization.
2797 (whitespace-toggle-options, global-whitespace-toggle-options):
2798 Adjust docstring.
2799 (whitespace-display-window, whitespace-interactive-char)
2800 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2801 (whitespace-help-scroll): New fun.
2802
2803 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2804
2805 * emacs-lisp/package.el (list-packages): Alias for
2806 package-list-packages.
2807
2808 2010-08-24 Kevin Ryde <user42@zip.com.au>
2809
2810 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
2811 (Bug#5651).
2812
2813 * progmodes/ruby-mode.el (ruby): Add defgroup.
2814
2815 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2816
2817 * progmodes/python.el: Add Ipython support (Bug#5390).
2818 (python-shell-prompt-alist)
2819 (python-shell-continuation-prompt-alist): New options.
2820 (python--set-prompt-regexp): New function.
2821 (inferior-python-mode, run-python, python-shell): Require
2822 ansi-color. Use python--set-prompt-regexp to set the comint
2823 prompt based on the Python interpreter.
2824 (python--prompt-regexp): New var.
2825 (python-check-comint-prompt)
2826 (python-comint-output-filter-function): Use it.
2827 (run-python): Use a pipe (Bug#5694).
2828
2829 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
2830
2831 * progmodes/python.el (python-send-region): Send a different
2832 Python command if Ipython is in use.
2833 (python-check-version): Use a Python command to find the version.
2834
2835 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2836
2837 * mouse.el (mouse-yank-primary): Avoid setting primary when
2838 deactivating the mark (Bug#6872).
2839
2840 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
2841
2842 * progmodes/python.el (python-block-pairs): Allow use of "finally"
2843 with "else" (Bug#3991).
2844
2845 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
2846
2847 * net/dbus.el: Accept UNIX domain sockets as bus address.
2848 (top): Don't initialize `dbus-registered-objects-table' anymore,
2849 this is done in dbusbind,c.
2850 (dbus-check-event): Adapt test for bus.
2851 (dbus-return-values-table, dbus-unregister-service)
2852 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
2853 Adapt doc string.
2854
2855 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
2856
2857 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
2858
2859 2010-08-22 Juri Linkov <juri@jurta.org>
2860
2861 * simple.el (read-extended-command): New function with the logic
2862 for `completing-read' moved to Elisp from `execute-extended-command'.
2863 Use `function-called-at-point' in `minibuffer-default-add-function'
2864 to get a command name for M-n (bug#5364, bug#5214).
2865
2866 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2867
2868 * startup.el (command-line-1): Issue warning for ignored arguments
2869 --unibyte, etc (Bug#6886).
2870
2871 2010-08-22 Leo <sdl.web@gmail.com>
2872
2873 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
2874 (ignore, bright, dim, keyword): Split list of nicknames before
2875 passing to rcirc-add-or-remove (Bug#6894).
2876
2877 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2878
2879 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2880
2881 2010-08-22 Leo <sdl.web@gmail.com>
2882
2883 Fix buffer-list rename&refresh after killing a buffer in ido.
2884 * ido.el: Revert Óscar's.
2885 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
2886 Remember the buffers at head, rather than their name.
2887 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
2888
2889 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
2890 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
2893 extra backslash added to each line (bug#6890).
2894
2895 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * subr.el (read-key): Don't echo keystrokes (bug#6883).
2898
2899 2010-08-22 Glenn Morris <rgm@gnu.org>
2900
2901 * menu-bar.el (menu-bar-games-menu): Add landmark.
2902
2903 2010-08-22 Glenn Morris <rgm@gnu.org>
2904
2905 * align.el (align-regexp): Make group and spacing arguments
2906 use the interactive defaults when non-interactive. (Bug#6698)
2907
2908 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
2909 expansion, so as not to need sendmail.
2910 (mail-text-start): Remove declaration.
2911 (rmail-retry-failure): Require sendmail.
2912
2913 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2914
2915 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2916
2917 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
2918
2919 * progmodes/flymake.el (flymake-start-syntax-check-process):
2920 Use `start-file-process' in order to let it run also on remote hosts.
2921
2922 2010-08-22 Kenichi Handa <handa@m17n.org>
2923
2924 * files.el: Add `word-wrap' as safe local variable.
2925
2926 2010-08-22 Glenn Morris <rgm@gnu.org>
2927
2928 * woman.el (woman-translate): Case matters. (Bug#6849)
2929
2930 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2931
2932 * simple.el (kill-region): Doc fix (Bug#6787).
2933
2934 2010-08-22 Glenn Morris <rgm@gnu.org>
2935
2936 * calendar/diary-lib.el (diary-header-line-format):
2937 Fit it to the window, not the frame.
2938
2939 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
2940
2941 * subr.el (ignore-errors): Add debug declaration.
2942
2943 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
2944
2945 * whitespace.el (whitespace-color-off): Remove post-command-hook
2946 locally.
2947
2948 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2951
2952 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2953
2954 * cus-edit.el (custom-group-value-create): Add extra newline
2955 before end line (Bug#6876).
2956
2957 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2958
2959 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2960 when extending it. Before killing on the second click, check if
2961 the buffer is the correct one. Doc fix.
2962 (mouse-secondary-save-then-kill): Allow usage without first
2963 calling mouse-start-secondary, by defaulting to point. Don't save
2964 an empty secondary selection. Doc fix.
2965
2966 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2967
2968 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
2969 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2970 New version 13.0.
2971 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2972 Adjust initialization.
2973 (whitespace-bob-marker, whitespace-eob-marker)
2974 (whitespace-buffer-changed): New vars.
2975 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2976 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2977 (whitespace-post-command-hook, whitespace-display-char-on):
2978 Adjust code.
2979 (whitespace-looking-back, whitespace-buffer-changed): New funs.
2980 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2981
2982 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * files.el (locate-file-completion-table): Only list the .el and .elc
2985 extensions if there's no other choice (bug#5955).
2986
2987 * facemenu.el (facemenu-self-insert-data): New var.
2988 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2989 New functions.
2990 (facemenu-add-face): Use them.
2991
2992 * simple.el (blink-matching-open): Obey forward-sexp-function.
2993
2994 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * simple.el (prog-mode-map): New var.
2997 (prog-indent-sexp): New command.
2998
2999 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3000
3001 * progmodes/prolog.el (smie): Require.
3002
3003 * emacs-lisp/smie.el (smie-default-backward-token)
3004 (smie-default-forward-token): Strip properties.
3005 (smie-next-sexp): Be more careful with associative operators.
3006 (smie-forward-sexp-command): Generalize.
3007 (smie-backward-sexp-command): Simplify.
3008 (smie-closer-alist): New var.
3009 (smie-close-block): New command.
3010 (smie-indent-debug-log): New var.
3011 (smie-indent-offset-rule): Add a few more cases.
3012 (smie-indent-column): New function.
3013 (smie-indent-after-keyword): Use it.
3014 (smie-indent-keyword): Use it.
3015 Fix up the opener code's point position.
3016 (smie-indent-comment): Only applies at BOL.
3017 (smie-indent-debug): New command.
3018
3019 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3020 declarations that are useful before running the macro.
3021
3022 2010-08-18 Joakim Verona <joakim@verona.se>
3023
3024 * image.el (imagemagick-types-inhibit): New variable.
3025 (imagemagick-register-types): New function.
3026 * image-mode.el (image-transform-properties): New function.
3027 (image-transform-set-scale, image-transform-fit-to-height)
3028 (image-transform-set-rotation, image-transform-set-resize)
3029 (image-transform-fit-to-width, image-transform-fit-to-height):
3030 New functions.
3031 (image-toggle-display-image): Support image transforms.
3032
3033 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
3034
3035 * image.el (create-animated-image): Don't add heuristic mask to image
3036 (Bug#6839).
3037
3038 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
3039
3040 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3041 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3042
3043 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3046
3047 Font-lock '...' strings, plus various simplifications and fixes.
3048 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3049 (octave-font-lock-close-quotes): New function.
3050 (octave-font-lock-syntactic-keywords): New var.
3051 (octave-mode): Use it. Set beginning-of-defun-function.
3052 (octave-mode-map): Don't override the <foo>-defun commands.
3053 (octave-mode-menu): Pass it directly to easy-menu-define;
3054 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3055 (octave-block-match-alist): Fix up last change so that
3056 octave-close-block uses the more specific keyword.
3057 (info-lookup-mode): Silence byte-compiler.
3058 (octave-beginning-of-defun): Not interactive any more.
3059 Optimize slightly.
3060 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3061 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
3062 (octave-completion-at-point-function): Make sure point is within
3063 beg..end.
3064 (octave-reindent-then-newline-and-indent):
3065 Use reindent-then-newline-and-indent.
3066 (octave-add-octave-menu): Remove.
3067
3068 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
3069
3070 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
3071 (report-emacs-bug-can-use-xdg-email): New functions.
3072 (report-emacs-bug): Set can-xdg-email to result of
3073 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
3074 \C-cm to report-emacs-bug-insert-to-mailer and add help text
3075 about it.
3076
3077 * net/browse-url.el (browse-url-default-browser): Add cond
3078 for browse-url-xdg-open.
3079 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
3080
3081 2010-08-17 Glenn Morris <rgm@gnu.org>
3082
3083 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
3084 (c-fontify-recorded-types-and-refs): Define for compiler.
3085 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
3086 before use.
3087
3088 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
3089 Fix format call.
3090
3091 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
3092
3093 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
3094 properties.
3095 (tramp-handle-process-file): Call the program in a subshell, in
3096 order to preserve working directory.
3097 (tramp-action-password): Hide password prompt before next run.
3098 (tramp-process-actions): Widen connection buffer for the trace.
3099
3100 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3101
3102 * net/rcirc.el (rcirc-log-process-buffers): New option.
3103 (rcirc-print): Use it.
3104 (rcirc-generate-log-filename): New function.
3105 (rcirc-log-filename-function): Change default to
3106 rcirc-generate-log-filename (Bug#6828).
3107
3108 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
3109
3110 * simple.el (deactivate-mark): If select-active-regions is `only',
3111 only set selection for temporarily active regions.
3112
3113 * cus-start.el: Change defcustom for select-active-regions.
3114
3115 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3116
3117 * mouse.el (mouse--drag-set-mark-and-point): New function.
3118 (mouse-drag-track): Use LOCATION arg to push-mark.
3119 Use mouse--drag-set-mark-and-point to take click-count into
3120 consideration when updating point and mark (Bug#6840).
3121
3122 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3123
3124 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3125 Give the Ruby rule a lower priority than Gnu (Bug#6778).
3126
3127 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
3128
3129 * font-lock.el (lisp-font-lock-keywords-2):
3130 Add combine-after-change-calls, condition-case-no-debug,
3131 with-demoted-errors, and with-silent-modifications (Bug#6025).
3132
3133 2010-08-14 Kevin Ryde <user42@zip.com.au>
3134
3135 * emacs-lisp/copyright.el (copyright-update-year)
3136 (copyright-update): Temporary switch-to-buffer to ensure the
3137 buffer change being queried is visible (Bug#5394).
3138
3139 2010-08-14 Tom Tromey <tromey@redhat.com>
3140
3141 * progmodes/etags.el (tags-file-name): Mark safe if stringp
3142 (Bug#6733).
3143
3144 2010-08-14 Eli Zaretskii <eliz@gnu.org>
3145
3146 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3147 MS-DOS. (Bug#6689)
3148
3149 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
3150
3151 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3152 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3153 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3154 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3155 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3156 Call menu-bar-set-tool-bar-position.
3157
3158 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3161 comment style (bug#6834).
3162 * progmodes/scheme.el (scheme-mode-syntax-table):
3163 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3164 "b" flag in "' 14b" syntax.
3165
3166 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3167 for (un)commenting the region and performing completion.
3168 (octave-mode-menu): Use standard commands for help and completion.
3169 (octave-mode-syntax-table): Support %{..%} comments (sort of).
3170 (octave-mode): Use define-derived-mode.
3171 Set completion-at-point-functions and don't set columns.
3172 Don't disable adaptive-fill-regexp.
3173 (octave-describe-major-mode, octave-comment-region)
3174 (octave-uncomment-region, octave-comment-indent)
3175 (octave-indent-for-comment): Remove.
3176 (octave-indent-calculate): Rename from calculate-octave-indent.
3177 (octave-indent-line, octave-fill-paragraph): Update caller.
3178 (octave-initialize-completions): No need to make an alist.
3179 (octave-completion-at-point-function): New function.
3180 (octave-complete-symbol): Use it.
3181 (octave-insert-defun): Use define-skeleton.
3182
3183 * progmodes/octave-mod.el (octave-mode): Set comment-add.
3184 (octave-mode-map): Use comment-dwim (bug#6829).
3185
3186 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
3187
3188 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3189 indentation of inserted comment.
3190
3191 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
3192
3193 * faces.el (region): Add type gtk that uses gtk colors.
3194
3195 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3196 Handle theme-name change.
3197
3198 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
3199
3200 * progmodes/sql.el: Version 2.5
3201 (sql-product-alist): Add :prompt-cont-regexp property for several
3202 database products.
3203 (sql-prompt-cont-regexp): New variable.
3204 (sql-output-newline-count, sql-output-by-send):
3205 New variables. Record number of newlines in input text.
3206 (sql-send-string): Handle multiple filters and count newlines.
3207 (sql-send-magic-terminator): Count terminator newline.
3208 (sql-interactive-remove-continuation-prompt): Filters output to
3209 remove continuation prompts; one for each newline.
3210 (sql-interactive-mode): Set up new variables, prompt regexp and
3211 output filter.
3212 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3213 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3214
3215 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * emacs-lisp/pcase.el: New file.
3218
3219 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
3220
3221 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3222 as here-document, otherwise the command could exceed maximum
3223 length of command line.
3224 (tramp-handle-vc-registered): Call script accordingly.
3225 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3226
3227 2010-08-10 Kenichi Handa <handa@m17n.org>
3228
3229 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3230 composable pattern.
3231
3232 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
3233
3234 * emacs-lisp/package.el (package-version-split)
3235 (package--version-first-nonzero, package-version-compare):
3236 Functions removed.
3237 (package-directory-list, package-load-all-descriptors)
3238 (package--built-in, package-activate, define-package)
3239 (package-installed-p, package-compute-transaction)
3240 (package-read-all-archive-contents)
3241 (package--add-to-archive-contents, package-buffer-info)
3242 (package-tar-file-info, package-list-packages-internal):
3243 Use version-to-list and version-list-*.
3244
3245 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3246 Use version-to-list.
3247 (package-upload-buffer-internal): Use version-list-<=.
3248
3249 2010-08-09 Kenichi Handa <handa@m17n.org>
3250
3251 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3252 composable pattern.
3253
3254 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
3255
3256 * tutorial.el (tutorial--default-keys): C-d is now bound to
3257 delete-forward-char (Bug#6826).
3258
3259 * mouse.el (mouse-drag-track): Remove accidentally-removed check
3260 for `double' value of mouse-1-click-follows-link (Bug#6807).
3261
3262 2010-08-08 Johan Bockgård <bojohan@gnu.org>
3263
3264 * replace.el (replace-highlight): Bind isearch-forward and
3265 isearch-error, ensuring that highlighting is updated if the user
3266 switches the search direction (Bug#6808).
3267
3268 * isearch.el (isearch-lazy-highlight-forward): New var.
3269 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3270 (isearch-lazy-highlight-update): Use it.
3271
3272 2010-08-08 Kenichi Handa <handa@m17n.org>
3273
3274 * international/mule.el (define-charset): Store NAME as :base property.
3275 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
3276 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
3277 current priority. Force using the designation of the specific
3278 charset by adding `charset' text property. Improve the whole algorithm.
3279
3280 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3281
3282 * emulation/pc-select.el (pc-selection-mode-hook)
3283 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
3284 (pc-selection-mode): Fix typos in docstrings.
3285
3286 2010-08-08 Kenichi Handa <handa@m17n.org>
3287
3288 * language/cyrillic.el: Don't add "microsoft-cp1251" to
3289 ctext-non-standard-encodings-alist here.
3290
3291 * international/mule.el (ctext-non-standard-encodings-alist):
3292 Add "koi8-r" and "microsoft-cp1251".
3293 (ctext-standard-encodings): New variable.
3294 (ctext-non-standard-encodings-table): List only elements for
3295 non-standard encodings.
3296 (ctext-pre-write-conversion): Adjust for the above change.
3297 Check ctext-standard-encodings.
3298
3299 * international/mule-conf.el (compound-text): Doc fix.
3300 (ctext-no-compositions): Doc fix.
3301 (compound-text-with-extensions): Doc fix.
3302
3303 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
3306
3307 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3308
3309 * progmodes/which-func.el (which-func-format): Split help-echo text
3310 into lines, like other mode-line tooltips.
3311
3312 * server.el (server-start): When using TCP sockets, force IPv4
3313 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
3314
3315 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
3318
3319 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3320
3321 * term.el (term-delimiter-argument-list): Reflow docstring.
3322 (term-read-input-ring, term-write-input-ring, term-send-input)
3323 (term-bol, term-erase-in-display, serial-supported-or-barf):
3324 Fix typos in docstrings.
3325
3326 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
3329
3330 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3331
3332 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
3333
3334 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
3335
3336 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
3337 Fix typo in docstring (bug#6747).
3338
3339 2010-08-08 Leo <sdl.web@gmail.com>
3340
3341 * eshell/esh-io.el (eshell-get-target): Better detection of
3342 read-only file (Bug#6762).
3343
3344 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3345
3346 * align.el (align-default-spacing): Doc fix.
3347 (align-region-heuristic, align-regexp): Fix typos in docstrings.
3348
3349 2010-08-08 Stephen Peters <speters@itasoftware.com>
3350
3351 * calendar/icalendar.el
3352 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
3353 (icalendar--get-weekday-numbers): New.
3354 (icalendar--convert-recurring-to-diary): Handle multiple byday
3355 values in weekly rules. (Bug#6766)
3356
3357 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
3358
3359 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
3360 (icalendar--create-uid, icalendar-export-region)
3361 (icalendar--parse-summary-and-rest): Code formatting.
3362
3363 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3364
3365 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
3366 to italicize headers.
3367 (calc-highlight-selections-with-faces): New variable.
3368 (calc-selected-face, calc-nonselected-face): New faces.
3369
3370 * calc/calccomp.el (math-comp-highlight-string): Use
3371 `calc-highlight-selections-with-faces' to determine how to highlight
3372 sub-formulas.
3373
3374 * calc/calc-sel.el (calc-show-selections): Change message to when
3375 using faces to highlight selections.
3376
3377 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
3378
3379 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
3380 Add SQLite 3 keywords, functions and datatypes.
3381 (sql-interactive-mode): Remove `comint-process-echoes' set to t
3382 (Bug#6686).
3383
3384 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
3385
3386 * simple.el (select-active-regions): Move to keyboard.c.
3387 (deactivate-mark): Used saved-region-selection.
3388 (select-active-region): Function removed.
3389 (activate-mark, set-mark, push-mark-command)
3390 (handle-shift-selection): Don't call it.
3391 (keyboard-quit): Avoid adding the region to the window selection.
3392
3393 * mouse.el (mouse-drag-track): Remove hacks to deal with old
3394 select-active-regions implementation.
3395 (mouse-yank-at-click): Doc fix.
3396
3397 * cus-start.el: Add custom declaration for select-active-regions.
3398
3399 2010-08-07 Eli Zaretskii <eliz@gnu.org>
3400
3401 * simple.el (delete-forward-char): Doc fix.
3402
3403 * tutorial.el (help-with-tutorial): Hack safe file-local variables
3404 after reading the tutorial.
3405
3406 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
3407
3408 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
3409 for the case that a C style comment has its delimiters alone on
3410 their respective lines.
3411
3412 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/tramp.el (tramp-handle-start-file-process): Set connection
3415 property "vec".
3416 (tramp-process-sentinel): Use it for flushing the cache. We
3417 cannot do it via the process buffer, the buffer could be deleted
3418 already when running the sentinel.
3419
3420 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3421
3422 * comint.el (comint-mode): Make directory tracking functions
3423 functional on remote files. (Bug#6764)
3424
3425 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
3426
3427 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
3428
3429 2010-08-05 Eli Zaretskii <eliz@gnu.org>
3430
3431 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
3432 unexec.c => unexcoff.c.
3433
3434 * emacs-lisp/authors.el (authors-fixed-entries): Rename
3435 unexec.c => unexcoff.c.
3436
3437 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
3438
3439 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
3440 cache, not only file cache.
3441 (tramp-process-sentinel): New defun.
3442 (tramp-handle-start-file-process): Use it, in order to invalidate
3443 file caches.
3444
3445 2010-08-03 Leo <sdl.web@gmail.com>
3446
3447 * server.el (server-start): Simplify loop.
3448
3449 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * frame.el (screen-height, screen-width, set-screen-width)
3452 (set-screen-height): Remove ancient compatibility aliases.
3453
3454 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
3455 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
3456
3457 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
3458 that change current buffer.
3459
3460 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3461
3462 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
3463 beginning of the string. Use `string-match-p'. (Bug#6765)
3464
3465 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
3466
3467 * cus-start.el (x-gtk-use-system-tooltips): New variable.
3468
3469 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
3470
3471 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
3472 (package--builtins): Tweak descriptions.
3473 (package-print-package): Upcase descriptions if necessary.
3474 Show all built-in packages in font-lock-builtin-face.
3475 (package-list-packages-internal): Omit "emacs" package.
3476 Show status of built-in packages as "built-in".
3477
3478 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
3479
3480 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
3481 before killing to preserve the primary selection (Bug#6701).
3482
3483 * term/x-win.el (x-select-text): Doc fix.
3484
3485 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
3486
3487 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
3488 The following functions were modified or created:
3489
3490 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
3491 (objc-font-lock-extra-types):
3492 * progmodes/cc-mode.el (c-basic-common-init):
3493 * progmodes/cc-langs.el (c-make-mode-syntax-table)
3494 (c++-make-template-syntax-table)
3495 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
3496 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
3497 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
3498 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
3499 * progmodes/cc-fonts.el (c-make-inverse-face)
3500 (c-basic-matchers-after):
3501 * progmodes/cc-engine.el (c-forward-keyword-clause)
3502 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
3503 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
3504 (c-guess-continued-construct, c-guess-basic-syntax):
3505
3506 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
3507
3508 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
3509
3510 2010-07-31 Eli Zaretskii <eliz@gnu.org>
3511
3512 * files.el (bidi-paragraph-direction): Define safe local values.
3513
3514 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
3515 language-info-alist. Remove outdated FIXME in a comment.
3516
3517 2010-07-31 Alan Mackenzie <acm@muc.de>
3518
3519 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
3520 Auto-fill broken in C/C++ modes.
3521
3522 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
3523
3524 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3525 (menu-bar-showhide-tool-bar-menu-customize-disable)
3526 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3527 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
3528 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
3529 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
3530 make a menu for Options => toolbar that can move it.
3531
3532 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
3533
3534 * emacs-lisp/package-x.el (package--make-rss-entry):
3535 (package-maint-add-news-item, package--update-news)
3536 (package-upload-buffer-internal): New arg ARCHIVE-URL.
3537
3538 * emacs-lisp/package.el (package-archive-url): Rename from
3539 package-archive-id.
3540 (package-install): Doc fix.
3541 (package-download-single, package-download-tar, package-install)
3542 (package-menu-view-commentary): Callers changed.
3543
3544 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
3545
3546 * net/tramp.el (tramp-handle-start-file-process): Check only for
3547 `remote-tty' process property.
3548 (tramp-open-shell): Don't check for tty.
3549 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3550 process property.
3551
3552 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
3553 host.
3554
3555 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
3556
3557 * emacs-lisp/package.el (package-load-list, package-archives)
3558 (package-archive-contents, package-user-dir)
3559 (package-directory-list, package--builtins, package-alist)
3560 (package-activated-list, package-obsolete-alist): Mark as risky.
3561
3562 2010-07-28 Phil Hagelberg <phil@evri.com>
3563
3564 Add support for non-default package repositories.
3565 * emacs-lisp/package.el (package-archive-base): Var deleted.
3566 (package-archives): New variable.
3567 (package-archive-contents): Doc fix.
3568 (package-load-descriptor): Do nothing if descriptor file is missing.
3569 (package--write-file-no-coding): New function.
3570 (package-unpack-single): Use it.
3571 (package-archive-id): New function.
3572 (package-download-single, package-download-tar)
3573 (package-menu-view-commentary): Use it.
3574 (package-installed-p): Make second argument optional.
3575 (package-read-all-archive-contents): New function.
3576 (package-initialize): Use it.
3577 (package-read-archive-contents): Add ARCHIVE argument.
3578 (package--add-to-archive-contents): New function.
3579 (package-install): Don't call package-read-archive-contents.
3580 (package--download-one-archive): Store archive file in a
3581 subdirectory of package-user-dir.
3582 (package-menu-execute): Remove spurious line movement.
3583
3584 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
3585
3586 * cus-start.el (tool-bar-style): Add text-image-horiz.
3587
3588 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3589
3590 * progmodes/gud.el (gud-common-init): Check for remoteness of
3591 `file', and not of `default-directory'.
3592
3593 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3594
3595 * net/tramp.el (tramp-methods): Move hostname to the end in all
3596 ssh `tramp-login-args'.
3597 (tramp-verbose): Describe verbose level 9.
3598 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
3599 (tramp-open-connection-setup-interactive-shell): Trace stty
3600 settings if `tramp-verbose' >= 9.
3601 (tramp-handle-start-file-process): Implement tty setting.
3602 (Bug#4604, Bug#6360)
3603
3604 * net/tramp-cmds.el (tramp-bug): Recommend setting of
3605 `tramp-verbose' to 9.
3606
3607 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
3608
3609 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
3610 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
3611 Remove references to package `lisp-re' (bug#4369).
3612
3613 2010-07-27 Tom Tromey <tromey@redhat.com>
3614
3615 * progmodes/js.el (js-mode):
3616 * progmodes/make-mode.el (makefile-mode):
3617 * progmodes/simula.el (simula-mode):
3618 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
3619
3620 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
3621
3622 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
3623
3624 * time.el (display-time-day-and-date): Remove spurious * in docstring.
3625 (display-time-world-buffer-name, display-time-world-mode-map):
3626 Fix typos in docstrings.
3627
3628 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
3629
3630 * image-mode.el (image-display-size): New function.
3631 (image-forward-hscroll, image-next-line, image-eol, image-eob)
3632 (image-mode-fit-frame): Use it (Bug#6639).
3633
3634 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
3635
3636 * dired.el (dired-buffers-for-dir): Handle list values of
3637 dired-directory (Bug#6636).
3638
3639 2010-07-26 Sam Steingold <sds@gnu.org>
3640
3641 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3642 Do not call `x-get-selection' the second time, reuse the value.
3643
3644 2010-07-26 Daiki Ueno <ueno@unixuser.org>
3645
3646 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
3647 which consist of control chars only. Suggested by Richard Stallman.
3648
3649 2010-07-25 Daiki Ueno <ueno@unixuser.org>
3650
3651 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
3652 exists before passing an error to find-file-not-found-functions
3653 (bug#6723).
3654
3655 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
3656
3657 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
3658 Remove leading nil element, adjust values.
3659 (tetris-shapes, tetris-shape-scores):
3660 Change representation of shapes and remove some redundancy.
3661 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
3662 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
3663 Adjust for working with new representation of shapes.
3664 (tetris-shape-rotations): New function.
3665 (tetris-move-bottom, tetris-move-left, tetris-move-right)
3666 (tetris-rotate-prev, tetris-rotate-next):
3667 Adjust for working with the new version of tetris-test-shape.
3668
3669 2010-07-23 Markus Triska <markus.triska@gmx.at>
3670
3671 * progmodes/ps-mode.el: Use comint (bug#5954).
3672 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
3673 (ps-mode-other-newline): Simplify.
3674 (ps-run-mode): Derive from comint-mode instead of
3675 fundamental-mode, yielding input history etc.
3676 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
3677 (ps-run-send-string): Adapt for comint-mode.
3678 (ps-run-newline): Remove now unneeded function.
3679
3680 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3681
3682 * net/tramp.el (tramp-methods): Move hostname to the end in all
3683 plink `tramp-login-args'.
3684
3685 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3686
3687 * net/tramp.el (tramp-open-shell): New defun.
3688 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3689 Use it.
3690
3691 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3692
3693 * net/tramp.el (tramp-file-name-regexp-unified)
3694 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3695 not regard the volume letter as remote filename. (Bug#5447)
3696
3697 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
3698
3699 * custom.el (custom-declare-variable): Give a clearer error message
3700 when the docstring is missing (bug#6476).
3701
3702 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
3703
3704 * progmodes/sql.el: Version 2.4. Improved Login prompting.
3705 (sql-login-params): New widget definition.
3706 (sql-oracle-login-params, sql-mysql-login-params)
3707 (sql-solid-login-params, sql-sybase-login-params)
3708 (sql-informix-login-params, sql-ingres-login-params)
3709 (sql-ms-login-params, sql-postgres-login-params)
3710 (sql-interbase-login-params, sql-db2-login-params)
3711 (sql-linter-login-params): Use it.
3712 (sql-sqlite-login-params): Use it; Define "database" parameter as
3713 a file name.
3714 (sql-sqlite-program): Change to "sqlite3".
3715 (sql-comint-sqlite): Make sure database name is complete.
3716 (sql-for-each-login): New function.
3717 (sql-connect, sql-save-connection): Use it.
3718 (sql-get-login-ext): New function.
3719 (sql-get-login): Use it.
3720 (sql-make-alternate-buffer-name): Handle :file parameters.
3721
3722 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
3723
3724 * dired.el (dired-no-confirm): Document value t and fix defcustom to
3725 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
3726
3727 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
3728
3729 * dired.el (dired-mode-map): Use command remapping (bug#6632).
3730
3731 2010-07-22 Lawrence Mitchell <wence@gmx.li>
3732
3733 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
3734
3735 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
3736
3737 * net/tramp.el (tramp-get-ls-command)
3738 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
3739 instead of "/".
3740
3741 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
3742
3743 * progmodes/sql.el: Version 2.3.
3744 (sql-connection-alist): Changed keys from symbols to strings;
3745 enhanced the widget definition.
3746 (sql-mode-menu): Added submenu to select connections.
3747 (sql-interactive-mode-menu): Added "Save Connection" item.
3748 (sql-add-product): Fixed menu item.
3749 (sql-get-product-feature): Improved error handling.
3750 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
3751 (sql-make-alternate-buffer-name): Simplified.
3752 (sql-product-interactive): Handle missing product.
3753 (sql-connect): Support string keys, minor improvements.
3754 (sql-save-connection): New function.
3755 (sql-connection-menu-filter): New function.
3756
3757 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3758
3759 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
3760 (tramp-open-connection-setup-interactive-shell): Apply
3761 workaround for IRIX64 bug. Move argument of last
3762 `tramp-send-command' where it belongs to.
3763
3764 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3765
3766 * net/tramp.el (tramp-perl-file-attributes)
3767 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3768 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3769 front of `login-args'.
3770
3771 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
3772
3773 * time.el (display-time-world-mode): Define with `define-derived-mode'.
3774 Set `show-trailing-whitespace' to nil.
3775 (display-time-world-display): Simplify.
3776
3777 2010-07-18 Alan Mackenzie <acm@muc.de>
3778
3779 Enhance `c-file-style' in file/directory local variables.
3780 * progmodes/cc-mode.el (c-count-cfss): New function.
3781 (c-before-hack-hook): Call `c-set-style' differently according to
3782 whether c-file-style was set in file or directory local
3783 variables.
3784
3785 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
3786
3787 * progmodes/sql.el: Version 2.2.
3788 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
3789 defcustom :safe keyword rather than putting safe-local-variable
3790 property.
3791 (sql-password): Use defcustom :risky keyword rather than putting
3792 risky-local-variable property.
3793 (sql-oracle-login-params, sql-sqlite-login-params)
3794 (sql-solid-login-params, sql-sybase-login-params)
3795 (sql-informix-login-params, sql-ingres-login-params)
3796 (sql-ms-login-params, sql-postgres-login-params)
3797 (sql-interbase-login-params, sql-db2-login-params)
3798 (sql-linter-login-params): Add `port' option.
3799 (sql-get-product-feature): Added NO-INDIRECT parameter.
3800 (sql-comint-oracle, sql-comint-sybase)
3801 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
3802 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
3803 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
3804 (sql-comint-linter): Renamed sql-connect-* functions to
3805 sql-comint-*.
3806 (sql-product-alist, sql-mode-menu): Renamed as above and
3807 :sqli-connect-func to :sqli-comint-func.
3808 (sql-connection): New variable.
3809 (sql-interactive-mode): Set it.
3810 (sql-connection-alist): New variable.
3811 (sql-connect): New function.
3812 (sql--alt-buffer-part, sql--alt-if-not-empty)
3813 (sql-make-alternate-buffer-name): Improved alternative buffer name.
3814
3815 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3816
3817 * image-mode.el (image-bookmark-make-record): Do not set context
3818 in an image (Bug#6650).
3819
3820 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
3821
3822 * simple.el (select-active-region): New function.
3823 (push-mark-command, set-mark, activate-mark)
3824 (handle-shift-selection): Use it.
3825 (deactivate-mark): Don't check for size of region.
3826
3827 * mouse.el (mouse-drag-track): Use select-active-region.
3828
3829 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
3832 "--dired" stronger.
3833
3834 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
3835
3836 * term/x-win.el (x-select-enable-primary): Change default to nil.
3837 (x-select-enable-clipboard): Add :version keyword.
3838
3839 * mouse.el (mouse-drag-copy-region):
3840 * simple.el (select-active-regions): Likewise.
3841
3842 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
3843
3844 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
3845 (vc-coding-system-for-diff): Use it to decide whether to inherit
3846 from the file the EOL format for reading the diffs of that file.
3847 (Bug#4451)
3848
3849 2010-07-16 Eli Zaretskii <eliz@gnu.org>
3850
3851 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
3852 unibyte, so compressed attachments are not compressed again.
3853
3854 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
3855
3856 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
3857 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
3858 (tramp-find-shell): Simplify setting connection property.
3859 (tramp-get-ls-command): Make test for "--color=never" stronger.
3860
3861 2010-07-15 Simon South <ssouth@member.fsf.org>
3862
3863 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
3864 blocks within record declarations (i.e. variant parts) correctly.
3865
3866 2010-07-15 Simon South <ssouth@member.fsf.org>
3867
3868 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
3869 over literal tokens when parsing so newlines aren't "absorbed" by
3870 single-line comments. Corrects the indentation of case blocks
3871 that have a comment on the first line.
3872
3873 2010-07-14 Karl Fogel <kfogel@red-bean.com>
3874
3875 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
3876 by Drew Adams (Bug#5504).
3877
3878 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
3879
3880 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
3881 now that Unicode is used (Bug#6594).
3882
3883 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
3884
3885 * term/x-win.el (x-select-enable-clipboard): Default to t.
3886 (x-initialize-window-system): Don't overwrite Paste menu item.
3887
3888 * simple.el (select-active-regions): Default to t.
3889 (push-mark-command): Don't overwrite primary with empty string.
3890
3891 * mouse.el: Bind mouse-2 to mouse-yank-primary.
3892 (mouse-drag-copy-region): Default to nil.
3893
3894 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
3895 Cut/Copy/Paste menu bar items.
3896
3897 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3898
3899 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
3900 Patch applied by Karl Fogel.
3901
3902 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
3903 and `bookmark-current-buffer' if they have been already set in
3904 another buffer (e.g gnus-art).
3905
3906 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3907 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3908
3909 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3910
3911 * bookmark.el (bookmark-make-record-default): Allow unneeded
3912 information to be omitted from the record.
3913
3914 Adjust declarations and calls:
3915
3916 * info.el (bookmark-make-record-default): Adjust declaration.
3917 (Info-bookmark-make-record): Adjust call.
3918
3919 * woman.el (bookmark-make-record-default): Adjust declaration.
3920 (woman-bookmark-make-record): Adjust call.
3921
3922 * man.el (bookmark-make-record-default): Adjust declaration.
3923 (Man-bookmark-make-record): Adjust call.
3924
3925 * image-mode.el (bookmark-make-record-default): Adjust declaration.
3926
3927 * doc-view.el (bookmark-make-record-default): Adjust declaration.
3928
3929 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3930
3931 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3932 This is also from Thierry Volpiatto's patch in bug #6444. However,
3933 because it was extraneous to the functional change in that patch,
3934 and causes a re-indendation, I am committing it separately.
3935
3936 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3937
3938 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3939 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3940 Patch applied by Karl Fogel (Bug#6444).
3941
3942 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
3943
3944 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3945
3946 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
3947
3948 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3949 Dempsky; bug#5084). Remove incorrect binding for S-tab.
3950 (ns-alternatives-map): Change S-tab binding to backtab
3951 (bug#6616).
3952
3953 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3954 under ns.
3955
3956 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
3957
3958 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3959 (Bug#5806)
3960
3961 * language/tv-util.el (tai-viet-re): Remove format.
3962
3963 2010-07-12 Kenichi Handa <handa@m17n.org>
3964
3965 * language/hebrew.el: Remove no-byte-compile declaration.
3966 Change coding: tag to utf-8. Register hebrew-shape-gstring in
3967 composition-function-table for 3-character looking back.
3968 (hebrew-font-get-precomposed): New function.
3969 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3970
3971 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
3972
3973 * mouse.el (mouse-drag-track): Handle select-active-regions
3974 (Bug#6612).
3975
3976 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
3977
3978 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3979 empty argument to gvfs-copy.
3980
3981 2010-07-10 Glenn Morris <rgm@gnu.org>
3982
3983 * calendar/calendar.el (calendar-week-end-day): New function.
3984 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3985 Respect calendar-week-start-day. (Bug#6606)
3986 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3987 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3988 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3989 respect calendar-week-start-day.
3990
3991 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
3992
3993 * simple.el (use-region-p): Doc fix (Bug#6607).
3994
3995 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
3996
3997 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3998 regexps for cucumber and ruby.
3999
4000 2010-07-08 Daiki Ueno <ueno@unixuser.org>
4001
4002 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4003 (epa-file-insert-file-contents): Hack to prevent
4004 find-file from opening empty buffer when decryption failed
4005 (bug#6568).
4006
4007 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
4008
4009 * textmodes/ispell.el (ispell-alternate-dictionary):
4010 Use file-readable-p.
4011 Return nil if no word-list is found at default locations.
4012 (ispell-complete-word-dict): Default to nil.
4013 (ispell-command-loop): Use 'word-list' when using lookup-words.
4014 (lookup-words): Use ispell-complete-word-dict or
4015 ispell-alternate-dictionary. Check for word-list availability
4016 and handle errors if needed with better messages (Bug#6539).
4017 (ispell-complete-word): Use ispell-complete-word-dict or
4018 ispell-alternate-dictionary.
4019
4020 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
4021
4022 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4023 builtins (BufferError, BytesWarning, WindowsError; callables
4024 bin, bytearray, bytes, format, memoryview, next, print; __package__).
4025
4026 2010-07-07 Glenn Morris <rgm@gnu.org>
4027
4028 * play/zone.el (top-level): Do not require timer, tabify, or cl.
4029 (zone-shift-left): Ignore intangibility, and any errors from
4030 forward-char.
4031 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
4032 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4033 deleting, and copying text properties.
4034 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4035 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4036 to point-max is hard.
4037 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4038 (zone-fill-out-screen): Ignore intangibility.
4039
4040 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
4041
4042 * menu-bar.el (menu-bar-mode):
4043 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4044 if it has been set.
4045
4046 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4047 word/line selection (Bug#6565).
4048
4049 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
4050
4051 * net/dbus.el (dbus-send-signal): Declare function.
4052
4053 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
4054
4055 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4056 (dbus-register-property): New optional argument EMITS-SIGNAL.
4057 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4058
4059 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
4060
4061 * mouse.el (mouse-drag-overlay): Variable deleted.
4062 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
4063 (mouse--remap-link-click-p): New function.
4064 (mouse-drag-track): Handle dragging by using temporary Transient
4065 Mark mode, instead of a special overlay.
4066 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
4067 mouse-show-mark.
4068
4069 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
4070 deleted.
4071
4072 2010-07-02 Juri Linkov <juri@jurta.org>
4073
4074 * autoinsert.el (auto-insert-alist): Fix readability
4075 by using dotted pair notation for lambda.
4076
4077 2010-07-02 Juri Linkov <juri@jurta.org>
4078
4079 * faces.el (read-face-name): Rename arg `string-describing-default'
4080 to `default'. Doc fix. Display the default value in quotes
4081 in the prompt. With empty input, return the `default' arg,
4082 unless the default value is a string (in which case return nil).
4083 (describe-face): Replace the string `default' arg of `read-face-name'
4084 with the symbol `default'.
4085
4086 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
4087
4088 * emulation/viper-cmd.el (viper-delete-backward-char)
4089 (viper-del-backward-char-in-insert)
4090 (viper-del-backward-char-in-replace, viper-change)
4091 (viper-backward-indent): Replace delete-backward-char with
4092 delete-char (Bug#6552).
4093
4094 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
4095
4096 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
4097
4098 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4099
4100 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
4101 argument passed to frame-creation-function (Bug#5378).
4102
4103 * faces.el (x-handle-named-frame-geometry)
4104 (x-handle-reverse-video, x-create-frame-with-faces)
4105 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
4106 separately consult default-frame-alist. It is now passed as the
4107 PARAMETER argument.
4108
4109 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
4110
4111 * startup.el (command-line): Don't call tool-bar-setup in a
4112 tty-only build.
4113
4114 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4115
4116 * ruler-mode.el (ruler--save-header-line-format): New fun.
4117 (ruler-mode): Use it as a setter function, so as not to overwrite
4118 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4119
4120 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
4121
4122 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
4123 (vc-root-diff, vc-print-root-log, vc-log-incoming)
4124 (vc-log-outgoing): Use it.
4125 (vc-diff-internal): Set diff-vc-backend.
4126
4127 * vc/diff-mode.el (diff-vc-backend): New var.
4128
4129 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
4130
4131 * dynamic-setting.el (font-setting-change-default-font): Remove
4132 call to message.
4133
4134 2010-06-28 Kenichi Handa <handa@m17n.org>
4135
4136 * international/quail.el (quail-insert-kbd-layout): Fix the
4137 showing of untranslated characters.
4138
4139 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
4140
4141 * simple.el (delete-active-region): New option.
4142 (delete-backward-char): Implement in Lisp.
4143 (delete-forward-char): New command.
4144
4145 * mouse.el (mouse-region-delete-keys): Deleted.
4146 (mouse-show-mark): Simplify.
4147
4148 * bindings.el (global-map): Bind delete and DEL, the former to
4149 delete-forward-char.
4150
4151 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
4152
4153 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4154 (ruby-mode): Bind indent-line-function (Bug#5119).
4155
4156 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4157
4158 * startup.el (command-line): Recognize "0" X resource value.
4159
4160 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4161
4162 * startup.el (command-line): Use X resources to set the value of
4163 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4164
4165 * menu-bar.el (menu-bar-mode):
4166 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4167 Set init-value to t.
4168
4169 * frame.el (frame-notice-user-settings): Don't change
4170 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4171 vice versa (Bug#2249).
4172
4173 2010-06-26 Eli Zaretskii <eliz@gnu.org>
4174
4175 * w32-fns.el (w32-convert-standard-filename): Doc fix.
4176
4177 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
4178
4179 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4180 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4181
4182 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4183 default directories are expanded (Bug#6143).
4184
4185 2010-06-24 Juri Linkov <juri@jurta.org>
4186
4187 * minibuffer.el (completions-format): Change default from nil to
4188 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
4189
4190 2010-06-24 Juri Linkov <juri@jurta.org>
4191
4192 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4193 buffer-locally to lambda that re-runs the vc diff command.
4194 (Bug#6447)
4195
4196 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
4197
4198 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4199 echo area is in use (Bug#3412).
4200
4201 2010-06-22 Glenn Morris <rgm@gnu.org>
4202
4203 * textmodes/texinfmt.el (texinfo-format-region)
4204 (texinfo-raise-lower-sections, texinfo-format-separate-node)
4205 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4206 (texinfo-format-option, texinfo-noindent):
4207 Use line-beginning-position and line-end-position.
4208
4209 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4210 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4211 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4212 utf-8 characters.
4213
4214 2010-06-21 Karl Fogel <kfogel@red-bean.com>
4215
4216 * play/zone.el (zone-fall-through-ws): Fix next-line ->
4217 forward-line fallout.
4218
4219 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
4220
4221 * mouse.el (mouse-appearance-menu): Add docstring.
4222
4223 * help.el (describe-key): Print up-event using key-description.
4224
4225 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * net/zeroconf.el (zeroconf-resolve-service)
4228 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4229 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4230
4231 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
4232
4233 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4234
4235 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
4236
4237 Avoid displaying files with a nil state in vc-dir.
4238 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4239 cases that cause insertion.
4240 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4241 with a nil state.
4242
4243 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4244
4245 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4246
4247 2010-06-29 Leo <sdl.web@gmail.com>
4248
4249 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
4250
4251 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4252
4253 * generic-x.el (bat-generic-mode): Fix regexp for command line
4254 switches (Bug#5719).
4255
4256 2010-06-27 Masatake YAMATO <yamato@redhat.com>
4257
4258 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4259 of nconc to avoid pure storage error (Bug#6239).
4260
4261 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
4262
4263 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4264 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
4265 bindings of bookmark-automatically-show-annotations (Bug#6515).
4266
4267 2010-06-25 Eli Zaretskii <eliz@gnu.org>
4268
4269 * arc-mode.el (archive-zip-extract): Don't quote the file name on
4270 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
4271
4272 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
4273
4274 * comint.el (make-comint, make-comint-in-buffer): Mention return
4275 value in the docstrings. (Bug#6498)
4276
4277 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
4278
4279 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
4280 since it is not present when using some non-default switches.
4281
4282 2010-06-23 Karl Fogel <kfogel@red-bean.com>
4283
4284 * simple.el (compose-mail): Fix doc string to refer to
4285 `compose-mail-user-agent-warnings', instead of to the
4286 nonexistent `compose-mail-check-user-agent'.
4287
4288 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
4289
4290 Fix an indentation bug:
4291
4292 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
4293 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
4294 of existing values.
4295
4296 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
4297 (c-clear->-pair-props-if-match-before): now return t when they've
4298 cleared properties, nil otherwise.
4299 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
4300 by taking account of the existing value.
4301
4302 * progmodes/cc-defs.el
4303 (c-clear-char-property-with-value-function): Fix this to clear the
4304 property rather than overwriting it with nil.
4305
4306 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
4307
4308 * emacs-lisp/package.el (package-print-package): Add link to
4309 package description via describe-package.
4310 (describe-package-1): List package requirements. Add button to
4311 perform installation.
4312 (package-menu-describe-package): New command.
4313
4314 * help-mode.el (help-package): New button type.
4315
4316 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
4317
4318 * emacs-lisp/package.el: Move package-list-packages binding to
4319 menu-bar.el.
4320 (describe-package, describe-package-1, package--dir): New funs.
4321 (package-activate-1): Use package--dir.
4322
4323 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
4324
4325 * help-mode.el (help-package-def): New button type.
4326
4327 * menu-bar.el: Move package-list-packages binding here from
4328 package.el.
4329
4330 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
4331
4332 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
4333
4334 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * emacs-lisp/edebug.el (edebug-read-list):
4337 Phase out old-style backquotes.
4338
4339 2010-06-17 Juri Linkov <juri@jurta.org>
4340
4341 * help-mode.el (help-mode): Set buffer-local variable
4342 revert-buffer-function to help-mode-revert-buffer.
4343 (help-mode-revert-buffer): New function.
4344
4345 * info.el (Info-revert-find-node): Check for major-mode Info-mode
4346 before popping to "*info*" (like in other Info functions).
4347 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
4348 old-history-forward. Pop to old-buffer-name or "*info*" to
4349 recreate the killed buffer. Set Info-history-forward from
4350 old-history-forward.
4351 (Info-breadcrumbs-depth): Add :group and :version.
4352
4353 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
4354
4355 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
4356
4357 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
4358
4359 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
4360 for languages like Portuguese with pt_{BR,PT} and no plain pt.
4361
4362 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
4363
4364 * emacs-lisp/package.el (package-menu-mode-map):
4365 Move initialization into declaration.
4366
4367 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
4368
4369 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
4370
4371 * emacs-lisp/package.el (package-archive-base): Point to
4372 elpa.gnu.org.
4373 (package-enable, package-load-list): New defcustoms.
4374 (package-user-dir, package-directory-list): Turn into defcustoms.
4375 Don't include package-user-dir in package-directory-list.
4376 (package--builtins-base): Don't include Emacs as a "package".
4377 (package-subdirectory-regexp): New var.
4378 (package-load-all-descriptors, package-compute-transaction)
4379 (package-download-transaction): Obey package-load-list.
4380 (package-activate-1): Rename from package-do-activate.
4381 (package-list-packages-internal): Check package-load-list.
4382 (package-load-descriptor, package-generate-autoloads)
4383 (package-unpack, package-unpack-single)
4384 (package--read-archive-file, package-delete): Use
4385 expand-file-name.
4386
4387 * emacs-lisp/package-x.el: New file. Package uploading
4388 functionality split out from package.el.
4389
4390 * startup.el (command-line): Load packages after reading init file.
4391
4392 2010-06-17 Tom Tromey <tromey@redhat.com>
4393
4394 * emacs-lisp/package.el: New file.
4395
4396 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4397
4398 Fix vc-annotate for renamed files when using Git.
4399 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
4400 ls-files. Doe not pass the object as a file name to cat-file, it
4401 is not a file name.
4402 (vc-git-annotate-command): Pass the file name using -- to avoid
4403 ambiguity with the revision.
4404 (vc-git-previous-revision): Pass a relative file name.
4405
4406 2010-06-22 Glenn Morris <rgm@gnu.org>
4407
4408 * progmodes/js.el (js-mode-map): Use standard capitalization and
4409 ellipses for menu entries.
4410
4411 * wid-edit.el (widget-complete): Doc fix.
4412
4413 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
4414
4415 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
4416
4417 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4418
4419 Fix annotating other revisions for renamed files in vc-annotate.
4420 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
4421 VC backend. Use it when non-nil.
4422 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
4423 (Bug#6487)
4424
4425 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
4426 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4427 Do not pass the file name to the 'previous-revision call when we
4428 don't want a file diff. (Bug#6489)
4429
4430 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4431
4432 Fix finding revisions for renamed files in vc-annotate.
4433 * vc/vc.el (vc-find-revision): Add an optional argument for
4434 the VC backend. Use it when non-nil.
4435 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
4436 backend to vc-find-revision. (Bug#6487)
4437
4438 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4439
4440 Fix reading file names in Git annotate buffers.
4441 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
4442 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
4443
4444 2010-06-20 Alan Mackenzie <acm@muc.de>
4445
4446 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
4447 in file local variables, set it first.
4448
4449 2010-06-19 Glenn Morris <rgm@gnu.org>
4450
4451 * descr-text.el (describe-char-unicode-data): Insert separating
4452 space when needed. (Bug#6422)
4453
4454 * progmodes/idlwave.el (idlwave-action-and-binding):
4455 Fix typo in 2009-12-03 change. (Bug#6450)
4456
4457 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
4460 handling for `lambda' (misunderstanding).
4461
4462 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
4463
4464 * calc/calc-poly.el (math-accum-factors): Make sure that
4465 constants aren't distributed after they are factored out.
4466
4467 2010-06-16 Juri Linkov <juri@jurta.org>
4468
4469 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
4470 `list-colors-print'. (Bug#6332)
4471
4472 * subr.el (read-quoted-char): Fix up last change (bug#6290).
4473
4474 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
4477 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
4478
4479 * font-lock.el (font-lock-major-mode): Rename from
4480 font-lock-mode-major-mode to distinguish it from
4481 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
4482 (font-lock-set-defaults):
4483 * font-core.el (font-lock-default-function): Adjust users.
4484 (font-lock-mode): Don't set it at all.
4485
4486 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
4489
4490 2010-06-16 Glenn Morris <rgm@gnu.org>
4491
4492 * calendar/appt.el (appt-time-msg-list): Doc fix.
4493 (appt-check): Let-bind appt-warn-time.
4494 (appt-add): Make the 3rd argument optional.
4495 Simplify argument names. Doc fix. Check for integer WARNTIME.
4496 Only add WARNTIME to the output list if non-nil.
4497
4498 2010-06-16 Ivan Kanis <apple@kanis.eu>
4499
4500 * calendar/appt.el (appt-check): Let the 3rd element of
4501 appt-time-msg-list specify the warning time.
4502 (appt-add): Add new argument with the warning time. (Bug#5176)
4503
4504 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4505
4506 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
4507 older than version 1.6. (Bug#6361)
4508
4509 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
4510
4511 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
4512 used by cl-do-arglist. (Bug#6408)
4513
4514 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
4515
4516 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
4517 portuguese casechars/not-casechars for missing 'çÇ'.
4518 Suggested by Rolando Pereira (bug#6434).
4519
4520 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
4521
4522 * facemenu.el (list-colors-sort): Doc fix.
4523
4524 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4525
4526 * progmodes/sql.el (sql-connect-mysql): Fix typo.
4527
4528 2010-06-14 Juri Linkov <juri@jurta.org>
4529
4530 Add sort option `list-colors-sort'. (Bug#6332)
4531 * facemenu.el (color-rgb-to-hsv): New function.
4532 (list-colors-sort): New defcustom.
4533 (list-colors-sort-key): New function.
4534 (list-colors-display): Doc fix. Sort list according to the option
4535 `list-colors-sort'.
4536 (list-colors-print): Add HSV values to `help-echo' property of
4537 RGB strings.
4538
4539 2010-06-14 Juri Linkov <juri@jurta.org>
4540
4541 * compare-w.el: Move to the "vc" subdirectory.
4542
4543 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * image-mode.el (image-mode-map): Remap left-char and right-char.
4546
4547 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
4548
4549 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
4550
4551 * term/common-win.el (x-colors): Add all the color names defined
4552 in rgb.txt (Bug#6332).
4553
4554 * facemenu.el (list-colors-print): Don't print extra names if it
4555 will overflow the window width.
4556
4557 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
4558 change (Bug#6343).
4559
4560 2010-06-12 Eli Zaretskii <eliz@gnu.org>
4561
4562 * files.el (make-directory): Doc fix (bug#6396).
4563
4564 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
4565
4566 * net/tramp.el (tramp-remote-process-environment): Protect version
4567 string by apostroph.
4568 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4569 XEmacs.
4570 (tramp-file-name-for-operation): Add `call-process-region'.
4571 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4572
4573 * net/tramp-compat.el (top): Do not autoload
4574 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4575 only when `start-file-process' is not bound.
4576 (tramp-advice-file-expand-wildcards): Do not use
4577 `tramp-handle-file-remote-p'.
4578 (tramp-compat-make-temp-file): Handle the case, that
4579 `make-temp-file' has no third argument EXTENSION.
4580
4581 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
4582
4583 * makefile.w32-in (WINS_BASIC): Include new directory vc.
4584
4585 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
4586
4587 2010-06-11 Juri Linkov <juri@jurta.org>
4588
4589 * finder.el (finder-known-keywords): Add keyword "vc"
4590 for version control.
4591
4592 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
4593 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
4594 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
4595 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
4596
4597 2010-06-11 Juri Linkov <juri@jurta.org>
4598
4599 Move version control related files to the "vc" subdirectory.
4600 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
4601 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
4602 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
4603 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
4604 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
4605 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
4606 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
4607 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
4608 Move files to the "vc" subdirectory.
4609
4610 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
4611
4612 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
4613 (Bug#6367).
4614
4615 2010-06-11 Stephen Eglen <stephen@gnu.org>
4616
4617 * shell.el: Bind `shell-resync-dirs' to M-RET.
4618
4619 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
4620
4621 * notifications.el: Move file from lisp/net, because it is
4622 supposed to talk locally to the user.
4623
4624 2010-06-10 Julien Danjou <julien@danjou.info>
4625
4626 * net/notifications.el (notifications-on-action-signal)
4627 (notifications-on-closed-signal): Pass notification id as first
4628 argument to the callback functions. Add docstrings.
4629 (notifications-notify): Fix docstring.
4630
4631 2010-06-10 Glenn Morris <rgm@gnu.org>
4632
4633 * emacs-lisp/authors.el (authors-ignored-files)
4634 (authors-valid-file-names): Add some files.
4635
4636 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4637
4638 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
4639 merge conflict, giving preference to the emacs-23 version of the code.
4640
4641 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * emacs-lisp/advice.el (ad-compile-function):
4644 Define warning-suppress-types before we let-bind it (bug#6275).
4645
4646 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
4647 declare it, make it buffer-local and permanent-local (bug#6324).
4648 (vc-resynch-window): Adjust name.
4649 * vc-hooks.el (vc-find-file-hook): Adjust name.
4650
4651 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
4652
4653 * net/notifications.el (notifications-notify): Fix docstring.
4654
4655 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4656
4657 Update to Unicode 6.0.0 beta.
4658 * international/charprop.el: Update copyright.
4659 * international/mule-cmds.el (ucs-names): Update character ranges.
4660 * international/uni-bidi.el:
4661 * international/uni-category.el:
4662 * international/uni-combining.el:
4663 * international/uni-comment.el:
4664 * international/uni-decimal.el:
4665 * international/uni-decomposition.el:
4666 * international/uni-digit.el:
4667 * international/uni-lowercase.el:
4668 * international/uni-mirrored.el:
4669 * international/uni-name.el:
4670 * international/uni-numeric.el:
4671 * international/uni-old-name.el:
4672 * international/uni-titlecase.el:
4673 * international/uni-uppercase.el: Regenerate.
4674
4675 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4676
4677 * emacs-lisp/smie.el (comment-string-strip): Declare function.
4678 (smie-precs-precedence-table): Fix typo in docstring.
4679
4680 * vc-mtn.el (log-edit-extract-headers): Declare function.
4681
4682 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
4683
4684 * net/notifications.el (dbus-register-signal): Declare function.
4685 (notifications-notify): Fix typos and reflow docstring.
4686
4687 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4688
4689 Improve VC create/retrieve tag/branch.
4690 * vc.el (vc-create-tag): Do not read the directory name for VCs
4691 with repository revision granularity. Adjust the tag/branch
4692 prompt. Reset VC properties.
4693 (vc-retrieve-tag): Do not read the directory name for VCs
4694 with repository revision granularity. Reset VC properties.
4695
4696 2010-06-09 Julien Danjou <julien@danjou.info>
4697
4698 * net/notifications.el: New file.
4699
4700 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4701
4702 Add optional support for resetting VC properties.
4703 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
4704 call vc-file-clearprops when true.
4705 (vc-resynch-buffer): Add new optional argument, pass it down.
4706 (vc-resynch-buffers-in-directory): Likewise.
4707
4708 Improve support for special markup in the VC commit message.
4709 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
4710 * vc-hg.el (vc-hg-checkin): Add support for Date:.
4711 * vc-git.el (vc-git-checkin):
4712 * vc-bzr.el (vc-bzr-checkin): Likewise.
4713
4714 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
4717 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
4718
4719 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
4720
4721 * iimage.el: Remove images as soon as the underlying text is modified.
4722 (iimage-modification-hook): New function.
4723 (iimage-mode-buffer): Use it.
4724
4725 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
4728 smie-indent-offset-after. Add :prev case. Make a bit more generic.
4729 (smie-indent-virtual): Remove `virtual' arg. Update callers.
4730 (smie-indent-keyword): Add handling of open-paren keywords.
4731 (smie-indent-comment-continue): Don't assume comment-continue.
4732
4733 2010-06-07 Martin Rudalics <rudalics@gmx.at>
4734
4735 * window.el (pop-to-buffer): Remove the conditional that
4736 compares new-window and old-window, so it will reselect
4737 the selected window unconditionally.
4738 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
4739
4740 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * emacs-lisp/smie.el (smie-indent-offset-after)
4743 (smie-indent-forward-token, smie-indent-backward-token): New functions.
4744 (smie-indent-after-keyword): Use them.
4745 (smie-indent-fixindent): Only applies to the indentation of the BOL.
4746 (smie-indent-keyword): Tweak the black magic.
4747 (smie-indent-comment-continue): Strip comment-continue before use.
4748 (smie-indent-functions): Indent comments before keywords.
4749
4750 2010-06-06 Juri Linkov <juri@jurta.org>
4751
4752 * isearch.el (isearch-lazy-highlight-search): Fix looping
4753 by checking for empty match. This syncs this loop with the
4754 similar loop in `isearch-search'. (Bug#6362)
4755
4756 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
4757
4758 * net/dbus.el (dbus-register-method): Declare function.
4759 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
4760 (dbus-introspect): Doc fix.
4761 (dbus-event-bus-name, dbus-introspect-get-interface)
4762 (dbus-introspect-get-argument): Reflow docstrings.
4763
4764 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
4765
4766 vc-log-incoming/vc-log-outgoing fixes for Git.
4767 * vc-git.el (vc-git-log-view-mode): Fix font lock for
4768 incoming/outgoing logs.
4769 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
4770 instead of vc-git-compute-remote.
4771 (vc-git-compute-remote): Remove.
4772
4773 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
4774
4775 * term/common-win.el (x-colors): Add "dark green" and "dark
4776 turquoise" (Bug#6332).
4777
4778 2010-06-04 Juri Linkov <juri@jurta.org>
4779
4780 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
4781 Instead of setting `replace' to t and replacing the same string
4782 with itself, don't do certain actions when
4783 kill-do-not-save-duplicates is non-nil and string is equal to car
4784 of kill-ring: don't call menu-bar-update-yank-menu, don't push
4785 interprogram-paste strings to kill-ring, and don't push the input
4786 argument `string' to kill-ring.
4787 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
4788
4789 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
4790
4791 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
4792
4793 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
4794
4795 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
4796 (tramp-gvfs-handler-mounted-unmounted)
4797 (tramp-gvfs-connection-mounted-p): Handle default-location.
4798
4799 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
4800 move files to trash.
4801
4802 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
4803
4804 * international/mule-cmds.el (nonascii-insert-offset)
4805 (nonascii-translation-table): Add obsolescence information.
4806
4807 * international/mule.el (make-translation-table-from-vector): Doc fix.
4808
4809 2010-06-03 Glenn Morris <rgm@gnu.org>
4810
4811 * desktop.el (desktop-clear-preserve-buffers):
4812 Add "*Warnings*" buffer. (Bug#6336)
4813
4814 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
4815
4816 vc-log-incoming/vc-log-outgoing improvements for Git.
4817 * vc-git.el (vc-git-log-outgoing): Use the same format as the
4818 short log.
4819 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
4820
4821 Add bindings for vc-log-incoming and vc-log-outgoing.
4822 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
4823 and vc-log-outgoing.
4824 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
4825 and vc-log-outgoing.
4826
4827 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
4828
4829 * net/rcirc.el (rcirc-sort-nicknames): Remove.
4830 (rcirc-handler-366): Always sort nicknames.
4831
4832 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
4833
4834 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
4835
4836 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
4837
4838 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
4839
4840 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * net/rcirc.el (rcirc-sort-nicknames): Change default.
4843 (rcirc-sort-nicknames-join): Avoid setq.
4844
4845 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4846
4847 * net/rcirc.el (rcirc-sort-nicknames): New custom.
4848 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
4849 (rcirc-handler-366): Use them.
4850
4851 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 Split smie-indent-calculate into more manageable chunks.
4854 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
4855 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
4856 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
4857 (smie-indent-exps): Extract from smie-indent-calculate.
4858 (smie-indent-functions): New var.
4859 (smie-indent-functions): Use them.
4860
4861 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
4864 (smie-indent-calculate): Simplify and cleanup.
4865
4866 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
4867
4868 * net/tramp-gvfs.el (top): Require url-util.
4869 (tramp-gvfs-mount-point): Remove.
4870 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
4871 New defuns.
4872 (with-tramp-dbus-call-method): Format trace message.
4873 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4874 Implement backup call, when operation on local files fails.
4875 Use progress reporter. Flush properties of changed files.
4876 (tramp-gvfs-handle-make-directory): Make more traces.
4877 (tramp-gvfs-url-file-name): Hexify file name in url.
4878 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4879 into account for the resulting file name.
4880 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
4881 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
4882 (tramp-gvfs-handler-mounted-unmounted)
4883 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4884 attribute "default_location". Set "prefix" property.
4885 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4886 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4887 exists. Raise an error, if not (due to a corresponding answer
4888 "no" in interactive questions, for example).
4889
4890 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
4891
4892 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
4893
4894 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
4895
4896 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
4897 right-*. (Bug#6265)
4898
4899 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
4900
4901 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
4902 * vc-git.el (vc-git-compute-remote): New function.
4903 (vc-git-log-outgoing): Use it instead of hard coding a value.
4904 (vc-git-log-incoming): New function.
4905
4906 Improve state updating for VC tag commands.
4907 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
4908 to update the state of all buffers in the directory.
4909
4910 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4911
4912 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4915 `file-directory-p' to the filename part rather than to the whole text.
4916
4917 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4918
4919 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4920
4921 2010-05-31 Drew Adams <drew.adams@oracle.com>
4922
4923 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4924
4925 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
4926
4927 * subr.el (momentary-string-display): Just use read-event to read
4928 the exit event (Bug#6238).
4929
4930 2010-05-30 Eli Zaretskii <eliz@gnu.org>
4931
4932 * international/mule.el (define-coding-system): Doc fix (bug#6313).
4933
4934 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4935
4936 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4937 Suggested by Eli Zaretskii <eliz@gnu.org>.
4938
4939 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * minibuffer.el (completion-file-name-table): Don't return a boundary
4942 past the end of `string' (bug#6299).
4943 (completion--file-name-table): Delegate to completion-file-name-table
4944 for the `boundaries' case.
4945
4946 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4947
4948 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4949 movement commands.
4950
4951 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4952 `path-separator', but maintain compatibility with Emacs 20.2.
4953
4954 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4955
4956 * server.el (server-process-filter): Receive parent-id argument
4957 from emacsclient.
4958 (server-create-window-system-frame): New arg. Pass parent-id as
4959 frame parameter.
4960
4961 2010-05-29 Eli Zaretskii <eliz@gnu.org>
4962
4963 Bidi-sensitive word movement with arrow keys.
4964 * subr.el (right-arrow-command, left-arrow-command): Move to
4965 bindings.el.
4966
4967 * bindings.el (right-char, left-char): Move from subr.el and
4968 rename from right-arrow-command and left-arrow-command.
4969 (right-word, left-word): New functions.
4970 (global-map) <right>: Bind to right-char.
4971 (global-map) <left>: Bind to left-char.
4972 (global-map) <C-right>: Bind to right-word.
4973 (global-map) <C-left>: Bind to left-word.
4974
4975 * ls-lisp.el (ls-lisp-classify-file): New function.
4976 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4977 (ls-lisp-classify): Call ls-lisp-classify-file.
4978 (insert-directory): Remove blanks from switches.
4979
4980 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4981
4982 * ansi-color.el: Delete unused escape sequences (Bug#6085).
4983 (ansi-color-drop-regexp): New constant.
4984 (ansi-color-apply, ansi-color-filter-region)
4985 (ansi-color-apply-on-region): Delete unrecognized control sequences.
4986 (ansi-color-apply): Build string list before calling concat.
4987
4988 2010-05-28 Juri Linkov <juri@jurta.org>
4989
4990 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4991 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4992 (Bug#5270)
4993
4994 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
4995
4996 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4997 to ignored backtrace functions.
4998 (with-progress-reporter): Expand docstring.
4999 (tramp-handle-delete-file): Implement TRASH argument.
5000 (tramp-get-remote-trash): New defun.
5001
5002 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5003
5004 * net/tramp-compat.el (tramp-compat-delete-file): Use
5005 `symbol-value' for backward compatibility.
5006
5007 * net/tramp.el (tramp-handle-make-symbolic-link)
5008 (tramp-handle-load)
5009 (tramp-do-copy-or-rename-file-via-buffer)
5010 (tramp-do-copy-or-rename-file-directly)
5011 (tramp-do-copy-or-rename-file-out-of-band)
5012 (tramp-handle-process-file, tramp-handle-call-process-region)
5013 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5014 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5015 (tramp-delete-temp-file-function): Use `delete-file' instead
5016 of `tramp-compat-delete-file'.
5017
5018 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5019 (tramp-fish-handle-make-symbolic-link)
5020 (tramp-fish-handle-process-file): Use `delete-file' instead
5021 of `tramp-compat-delete-file'.
5022
5023 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5024 `delete-file' instead of `tramp-compat-delete-file'.
5025
5026 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5027 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5028 `tramp-compat-delete-file'.
5029
5030 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5031 `delete-file' instead of `tramp-compat-delete-file'.
5032
5033 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5034 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5035 (tramp-smb-handle-write-region): Use `delete-file' instead of
5036 `tramp-compat-delete-file'.
5037 (tramp-smb-handle-delete-directory): Use 'trash as arg.
5038
5039 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5040
5041 * dired.el (dired-delete-file): New arg TRASH.
5042 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
5043 (dired-do-flagged-delete, dired-do-delete): Use trash.
5044
5045 * speedbar.el (speedbar-item-delete): Allow trashing.
5046
5047 * files.el (delete-directory): New arg TRASH.
5048
5049 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5050 (ange-ftp-rename-remote-to-remote)
5051 (ange-ftp-rename-local-to-remote)
5052 (ange-ftp-rename-remote-to-local, ange-ftp-load)
5053 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5054 `delete-file'.
5055 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5056 allow trashing.
5057
5058 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5059 handle new TRASH arg of `delete-file'.
5060
5061 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
5062 (tramp-handle-make-symbolic-link, tramp-handle-load)
5063 (tramp-do-copy-or-rename-file-via-buffer)
5064 (tramp-do-copy-or-rename-file-directly)
5065 (tramp-do-copy-or-rename-file-out-of-band)
5066 (tramp-handle-process-file, tramp-handle-call-process-region)
5067 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5068 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5069 (tramp-delete-temp-file-function): Use null TRASH arg in
5070 tramp-compat-delete-file call.
5071
5072 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5073 (tramp-fish-handle-delete-file)
5074 (tramp-fish-handle-make-symbolic-link)
5075 (tramp-fish-handle-process-file): Use null TRASH arg in
5076 `tramp-compat-delete-file' call.
5077
5078 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
5079 arg in `tramp-compat-delete-file' call.
5080
5081 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5082 (tramp-gvfs-handle-write-region): Use null TRASH arg in
5083 `tramp-compat-delete-file' call.
5084
5085 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
5086 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
5087 `tramp-compat-delete-file' call.
5088
5089 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5090 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5091 (tramp-smb-handle-write-region): Use null TRASH arg in
5092 tramp-compat-delete-file call.
5093 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
5094 (tramp-smb-handle-delete-file): Rename arg.
5095
5096 * diff.el (diff-sentinel):
5097 * epg.el (epg--make-temp-file, epg-decrypt-string)
5098 (epg-verify-string, epg-sign-string, epg-encrypt-string):
5099 * jka-compr.el (jka-compr-partial-uncompress)
5100 (jka-compr-call-process, jka-compr-write-region):
5101 * server.el (server-sentinel): Remove optional arg from
5102 delete-file, reverting 2010-05-03 change.
5103
5104 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5105
5106 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
5107 font-lock-constant-face, not obsolete font-lock-reference-face.
5108
5109 2010-05-27 Kenichi Handa <handa@m17n.org>
5110
5111 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
5112 element of GSTRING is nil.
5113
5114 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * emacs-lisp/smie.el (smie-forward-token-function)
5117 (smie-backward-token-function): New vars.
5118 (smie-backward-sexp, smie-forward-sexp)
5119 (smie-indent-hanging-p, smie-indent-calculate): Use them.
5120 (smie-default-backward-token): Rename from smie-backward-token and
5121 skip comments.
5122 (smie-default-forward-token): Rename from smie-forward-token and
5123 skip comments.
5124 (smie-next-sexp): Handle nil results from next-token.
5125 (smie-indent-calculate): Add a new case for special `fixindent' comments.
5126
5127 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5128
5129 * progmodes/verilog-mode.el (verilog-type-font-keywords):
5130 Use font-lock-constant-face, not obsolete font-lock-reference-face.
5131
5132 2010-05-27 Masatake YAMATO <yamato@redhat.com>
5133
5134 * htmlfontify.el (hfy-face-resolve-face): New function.
5135 (hfy-face-to-style): Use it (Bug#6279).
5136
5137 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5140 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5141
5142 2010-05-26 Glenn Morris <rgm@gnu.org>
5143
5144 * emulation/edt.el (edt-load-keys): Use locate-library.
5145
5146 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
5147
5148 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5149 (log-edit-changelog-entries): Doc fix.
5150 (log-edit-changelog-insert-entries): Args changed.
5151 Rename relative filenames in ChangeLog entries. Delete tabs.
5152 (log-edit-insert-changelog-entries): Reorganize return value of
5153 `log-edit-changelog-entries' to pass filenames to
5154 log-edit-changelog-insert-entries.
5155
5156 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5157
5158 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5159 `image-dired-dired-insert-marked-thumbs' to
5160 `image-dired-dired-toggle-marked-thumbs'.
5161
5162 * image-dired.el: Require cl when compiling.
5163 (image-dired-dired-toggle-marked-thumbs): Rename from
5164 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
5165 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
5166 to 'no-dir. Skip files whose names don't match
5167 `image-file-name-regexp'. When file has a thumbnail overlay,
5168 delete it. (Bug#5270)
5169
5170 2010-05-25 Juri Linkov <juri@jurta.org>
5171
5172 * image-mode.el (image-mode): Add image-after-revert-hook to
5173 after-revert-hook.
5174 (image-after-revert-hook): New function. (Bug#5669)
5175
5176 2010-05-25 Juri Linkov <juri@jurta.org>
5177
5178 * image.el (image-animated-p): When delay between animated images
5179 is 0, set it to 10 (0.1 sec). (Bug#6258)
5180
5181 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5182
5183 * net/tramp.el (tramp-handle-insert-directory): Don't use
5184 `forward-word', its default syntax could be changed.
5185
5186 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
5187
5188 * net/tramp.el (tramp-progress-reporter-update): New defun.
5189 (with-progress-reporter): Use it.
5190 (tramp-process-actions):
5191 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5192 current message, in order to let progress reporter continue
5193 afterwards. (Bug#6257)
5194
5195 2010-05-25 Glenn Morris <rgm@gnu.org>
5196
5197 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5198 Add :version.
5199
5200 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5201
5202 * net/rcirc.el (rcirc-default-user-name): Change to "user".
5203 (rcirc-default-full-name): Change to "unknown".
5204 (rcirc-user-name-history): Add variable.
5205
5206 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5207 Jonathan Rockway <jon@jrock.us>
5208
5209 * net/rcirc.el (rcirc-server-alist): Add :pass.
5210 (rcirc): When prompting for connection parameters, also prompt for
5211 username and password.
5212 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
5213 value to server when connecting.
5214
5215 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5218 (smie-merge-prec2s): Pass the tables as separate args.
5219 (smie-bnf-precedence-table): Adjust call accordingly.
5220 (smie-prec2-levels): Set levels at the end.
5221
5222 Replace Lisp calls to delete-backward-char by delete-char.
5223 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5224 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5225 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5226 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5227 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5228 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5229 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5230 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5231 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5232 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5233 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5234 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5235 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5236 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5237 delete-backward-char by calls to delete-char.
5238
5239 2010-05-25 Kenichi Handa <handa@m17n.org>
5240
5241 * language/hebrew.el (hebrew-shape-gstring): New function.
5242 Register it in composition-function-table for all Hebrew combining
5243 characters.
5244
5245 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * epa.el (epa--select-keys): Don't explicitly delete the window since
5248 that can fail (e.g. sole window in frame). Use dedication instead.
5249
5250 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5251
5252 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5253
5254 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
5255
5256 * image.el (image-refresh): Define as an alias for image-flush.
5257
5258 * image-mode.el (image-toggle-display-image): Caller changed.
5259
5260 2010-05-21 Juri Linkov <juri@jurta.org>
5261
5262 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5263 Remove "all" from grep-files-aliases. Split grep-files-aliases by
5264 whitespace, call wildcard-to-regexp on substrings and concat them
5265 with "\\|". (Bug#6114)
5266
5267 2010-05-21 Alan Mackenzie <acm@muc.de>
5268
5269 * progmodes/cc-engine.el (c-parse-state-get-strategy):
5270 Replace parameter `here' with `here-' and `here-plus', which sandwich
5271 any pertinent CPP construct.
5272 (c-remove-stale-state-cache-backwards): Fix a bug which happens
5273 when doing (c-parse-state) in a CPP construct: Exclude any "new"
5274 CPP construct from taking part in the scanning.
5275
5276 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
5277
5278 * net/tramp.el (tramp-do-copy-or-rename-file)
5279 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
5280 Tune `with-progress-reporter' messages.
5281 (tramp-handle-vc-registered):
5282 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
5283 (tramp-fish-handle-insert-file-contents)
5284 (tramp-fish-maybe-open-connection):
5285 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5286 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
5287 (tramp-imap-handle-insert-file-contents)
5288 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5289
5290 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
5291
5292 * add-log.el (change-log-font-lock-keywords):
5293 Highlight all authors in multi-author entries.
5294
5295 * smerge-mode.el (smerge-refine-ignore-whitespace)
5296 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
5297 Fix typos in docstrings.
5298 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
5299
5300 2010-05-21 Glenn Morris <rgm@gnu.org>
5301
5302 * progmodes/fortran.el (fortran-mode):
5303 * progmodes/f90.el (f90-mode): Derive from prog-mode.
5304
5305 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
5306 having a relative path in src/Makefile.in.
5307
5308 2010-05-20 Kevin Ryde <user42@zip.com.au>
5309
5310 * help-mode.el (help-make-xrefs): For Info node links turn
5311 newlines into spaces. Link node names with newlines are matched
5312 by help-xref-info-regexp and buttonized, this change ensures they
5313 can be followed successfully with RET. (Bug#6206)
5314
5315 2010-05-20 Juri Linkov <juri@jurta.org>
5316
5317 * locate.el (locate): Use pop-to-buffer instead of
5318 switch-to-buffer-other-window. (Bug#6204)
5319
5320 2010-05-20 Juri Linkov <juri@jurta.org>
5321
5322 * replace.el (replace-highlight): Fix lazy-highlighting
5323 for `M-s w str M-% str RET'.
5324
5325 2009-12-15 Masatake YAMATO <yamato@redhat.com>
5326
5327 * isearch.el (isearch-yank-word-or-char): Pull next subword
5328 when `subword-mode' is activated. (Bug#6220)
5329
5330 2010-05-20 Mark A. Hershberger <mah@everybody.org>
5331
5332 * isearch.el (isearch-update-post-hook): New hook.
5333 (isearch-update): Use the new hook. (Bug#6225)
5334
5335 2010-05-20 Juri Linkov <juri@jurta.org>
5336
5337 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
5338 [f1], [help], and (char-to-string help-char) instead of "\C-h".
5339 (Bug#6222)
5340
5341 2010-05-20 Juri Linkov <juri@jurta.org>
5342
5343 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
5344 (Bug#6223)
5345
5346 2010-05-20 Juri Linkov <juri@jurta.org>
5347
5348 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
5349 FILE-NAME to read from the minibuffer when called interactively
5350 with prefix argument instead of using buffer-file-name.
5351 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
5352
5353 * dired.el: Update autoloads.
5354
5355 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
5356
5357 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
5358 nxml-finish-element, for consistency with SGML mode.
5359
5360 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
5361 octave-close-block.
5362
5363 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
5364
5365 * composite.el: Require cl when compiling.
5366 (reference-point-alist, compose-gstring-for-graphic)
5367 (compose-gstring-for-terminal): Fix typos in docstrings.
5368
5369 2010-05-19 Juri Linkov <juri@jurta.org>
5370
5371 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
5372 set-window-parameter.
5373
5374 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5375
5376 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
5377 where appropriate.
5378 (tramp-maybe-open-connection): Use it.
5379
5380 2010-05-19 Eli Zaretskii <eliz@gnu.org>
5381
5382 * simple.el (move-end-of-line): Make sure we are at line beginning
5383 before backing up to end of previous line.
5384
5385 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5386
5387 * password-cache.el (password-cache-remove): Fix docstring.
5388
5389 * net/secrets.el: Autoload the widget functions.
5390 (secrets-search-items, secrets-create-item)
5391 (secrets-get-attributes, secrets-expand-item): Attributes will be
5392 stored on the password database without leading ":", as all other
5393 clients do as well.
5394 (secrets-mode): Fix docstring.
5395 (secrets-show-secrets): Provide it as autoloaded command only when
5396 D-Bus support is available. Check existence of Secret Service API.
5397
5398 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5399
5400 * indent.el (indent-region): Deactivate region (bug#6200).
5401
5402 2010-05-19 Glenn Morris <rgm@gnu.org>
5403
5404 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
5405
5406 2010-05-19 Kenichi Handa <handa@m17n.org>
5407
5408 * composite.el: Register compose-gstring-for-graphic in
5409 composition-function-table only for combining characters (Mn, Mc, Me).
5410
5411 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
5412
5413 * calc/calc-trail.el (calc-trail-isearch-forward)
5414 (calc-trail-isearch-backward): Ensure that the new window
5415 point is set correctly.
5416
5417 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * subr.el (read-quoted-char): Resolve modifiers after key
5420 remapping (bug#6212).
5421
5422 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
5423
5424 Add visualization code for secrets.
5425 * net/secrets.el (secrets-mode): New major mode.
5426 (secrets-show-secrets, secrets-show-collections)
5427 (secrets-expand-collection, secrets-expand-item)
5428 (secrets-tree-widget-after-toggle-function)
5429 (secrets-tree-widget-show-password): New defuns.
5430
5431 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
5434 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
5435 handled in smie-next-sexp.
5436 (smie-indent-calculate): Provide a starting indentation (so the
5437 recursion is well-founded ;-).
5438
5439 Fix handling of non-associative equal levels.
5440 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
5441 when it's not needed.
5442 (smie-op-left, smie-op-right): New functions.
5443 (smie-next-sexp): New function, extracted from smie-backward-sexp.
5444 Better handle equal levels to distinguish the associative case from
5445 the "multi-keyword construct" case.
5446 (smie-backward-sexp, smie-forward-sexp): Use it.
5447
5448 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
5449
5450 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
5451
5452 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
5453 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
5454
5455 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 Provide a simple generic indentation engine and use it for Prolog.
5458 * emacs-lisp/smie.el: New file.
5459 * progmodes/prolog.el (prolog-smie-op-levels)
5460 (prolog-smie-indent-rules): New var.
5461 (prolog-mode-variables): Use them to configure SMIE.
5462 (prolog-indent-line, prolog-indent-level): Remove.
5463
5464 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5465
5466 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
5467 order before computing the averages.
5468
5469 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
5470
5471 * calc/calc-vec.el (calc-histogram):
5472 (calcFunc-histogram): Allow vectors as inputs.
5473 (math-vector-avg): New function.
5474
5475 * calc/calc-ext.el (math-group-float): Have the number of digits
5476 being grouped depend on the radix (Bug#6189).
5477
5478 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
5479
5480 * version.el (emacs-copyright, emacs-version): Don't define here,
5481 now that emacs.c defines it.
5482
5483 2010-05-15 Eli Zaretskii <eliz@gnu.org>
5484
5485 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
5486 "Describe Language Environment" menu item.
5487
5488 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
5489
5490 Bidi-sensitive movement with arrow keys.
5491 * subr.el (right-arrow-command, left-arrow-command): New functions.
5492
5493 * bindings.el (global-map): Bind them to right and left arrow keys.
5494
5495 Don't override standard definition of convert-standard-filename.
5496 * files.el (convert-standard-filename): Call
5497 w32-convert-standard-filename and dos-convert-standard-filename on
5498 the corresponding systems.
5499
5500 * w32-fns.el (w32-convert-standard-filename): Rename from
5501 convert-standard-filename. Doc fix.
5502
5503 * dos-fns.el (dos-convert-standard-filename): Doc fix.
5504 (convert-standard-filename): Don't defalias.
5505 (register-name-alist, make-register, register-value)
5506 (set-register-value, intdos): Obsolete aliases for the
5507 corresponding dos-* functions and variables.
5508 (dos-intdos): Add a doc string.
5509
5510 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
5511
5512 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
5513 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
5514 (math-compose-tex-func):
5515 * calc/calccomp.el (math-compose-expr):
5516 * calc/calc-ext.el (math-format-flat-expr-fancy):
5517 * calc/calc-store.el (calc-read-var-name):
5518 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
5519
5520 * calc/calc.el (var-π, var-φ, var-γ): New variables.
5521 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
5522 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
5523 (math-standard-units): Add units.
5524
5525 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * progmodes/asm-mode.el (asm-mode):
5528 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
5529
5530 * pcomplete.el (pcomplete-completions-at-point): New function,
5531 extracted from pcomplete-std-complete.
5532 (pcomplete-std-complete): Use it.
5533
5534 2010-05-15 Glenn Morris <rgm@gnu.org>
5535
5536 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5537 Remove references to CVS, RCS and Old directories.
5538
5539 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
5540
5541 * calc/calc-bin.el (math-format-twos-complement): Group digits when
5542 appropriate.
5543
5544 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
5547 (sh-mode-syntax-table): Give it a default value instead.
5548 (sh-header-marker): Make buffer-local.
5549 (sh-mode): Move make-local-variable to the corresponding setq.
5550 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
5551 Use complete-with-action.
5552
5553 * simple.el (prog-mode): New (abstract) major mode.
5554 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
5555 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
5556
5557 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
5558
5559 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
5560 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
5561 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
5562 (sql-make-alternate-buffer-name, sql-placeholders-filter)
5563 (sql-escape-newlines-filter, sql-input-sender)
5564 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
5565
5566 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
5567
5568 Add TeX open-block and close-block keybindings to SGML, and vice versa.
5569
5570 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
5571 latex-open-block and C-c / to latex-close-block.
5572
5573 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
5574 and C-c C-e to sgml-close-tag.
5575
5576 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
5577
5578 * net/tramp.el (with-progress-reporter): Create reporter object
5579 only when the message would be displayed. Handle nested calls.
5580 (tramp-handle-load, tramp-handle-file-local-copy)
5581 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5582 (tramp-maybe-send-script, tramp-find-shell):
5583 Use `with-progress-reporter'.
5584 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
5585 Fix message text.
5586
5587 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5588 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5589 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5590 Use `with-progress-reporter'.
5591
5592 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
5593
5594 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
5595 process everytime when spellchecking from the minibuffer (bug#6143).
5596
5597 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
5600
5601 * dos-fns.el: Add "dos-" prefix for namespace control.
5602 (convert-standard-filename): Define as alias for
5603 dos-convert-standard-filename but only if applicable.
5604
5605 2010-05-12 Alan Mackenzie <acm@muc.de>
5606
5607 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
5608 Push the mark at the start of these functions when appropriate.
5609
5610 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * minibuffer.el (completion-cycle-threshold): New custom var.
5613 (completion--do-completion): Use it.
5614 (minibuffer-complete): Use cycling if appropriate.
5615
5616 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
5617
5618 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
5619 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
5620
5621 2010-05-11 Juri Linkov <juri@jurta.org>
5622
5623 * scroll-all.el (scroll-all-check-to-scroll):
5624 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
5625
5626 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 * iimage.el (iimage-mode-map): Move initialization into declaration.
5629 (iimage-mode-buffer): Use with-silent-modifications.
5630 Simplify calling convention. Adjust callers.
5631 (iimage-mode): Don't run hook redundantly.
5632
5633 * minibuffer.el (completion-pcm--pattern->regex):
5634 Fix last change (bug#6160).
5635
5636 2010-05-10 Juri Linkov <juri@jurta.org>
5637
5638 Remove nodes visited during Isearch from the Info history.
5639 * info.el (Info-isearch-initial-history)
5640 (Info-isearch-initial-history-list): New variables.
5641 (Info-isearch-start): Record initial values of
5642 Info-isearch-initial-history and Info-isearch-initial-history-list.
5643 Add Info-isearch-end to isearch-mode-end-hook.
5644 (Info-isearch-end): New function.
5645
5646 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
5647
5648 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
5649 format string, in order to work around a bug in pdksh.
5650 Reported by Gilles Pion <gpion@lfdj.com>.
5651 (tramp-handle-verify-visited-file-modtime): Do not send a command
5652 when the connection is not established.
5653 (tramp-handle-set-file-times): Simplify the check for utc.
5654
5655 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
5656
5657 Fix use of `filter-buffer-substring' (rework previous change).
5658 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
5659 (cua-repeat-replace-region):
5660 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
5661 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5662 (cua-cut-region-to-global-mark): Use it.
5663
5664 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
5665
5666 * progmodes/sql.el: Version 2.1.
5667 (sql-product-alist): Redesign structure of product info.
5668 (sql-product, sql-user, sql-server, sql-database): Safe variables.
5669 (sql-port, sql-port-history): New variables.
5670 (sql-interactive-product): New variable.
5671 (sql-send-terminator): New variable.
5672 (sql-imenu-generic-expression): Add "Types" imenu entry.
5673 (sql-oracle-login-params, sql-sqlite-login-params)
5674 (sql-mysql-login-params, sql-solid-login-params)
5675 (sql-sybase-login-params, sql-informix-login-params)
5676 (sql-ingres-login-params, sql-ms-login-params)
5677 (sql-postgres-login-params, sql-interbase-login-params)
5678 (sql-db2-login-params, sql-linter-login-params)
5679 (sql-oracle-scan-on): New variables.
5680 (sql-mode-map): Add C-c C-i to start interactive mode.
5681 (sql-mode-menu): Update existing menu entries.
5682 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
5683 (sql-mode-oracle-font-lock-keywords)
5684 (sql-mode-postgres-font-lock-keywords)
5685 (sql-mode-ms-font-lock-keywords)
5686 (sql-mode-sybase-font-lock-keywords)
5687 (sql-mode-informix-font-lock-keywords)
5688 (sql-mode-interbase-font-lock-keywords)
5689 (sql-mode-ingres-font-lock-keywords)
5690 (sql-mode-solid-font-lock-keywords)
5691 (sql-mode-mysql-font-lock-keywords)
5692 (sql-mode-sqlite-font-lock-keywords)
5693 (sql-mode-db2-font-lock-keywords)
5694 (sql-mode-linter-font-lock-keywords): Update initialization to
5695 reduce run-time complexity.
5696 (sql-add-product, sql-del-product): New functions.
5697 (sql-set-product-feature, sql-get-product-feature): New functions.
5698 (sql-product-font-lock): Update product API.
5699 (sql-add-product-keywords): New function.
5700 (sql-highlight-product): Update product API.
5701 (sql-help-list-products): New function.
5702 (sql-help): Dynamically lists free and non-free products.
5703 (sql-get-login): Correct bug in handling history and added
5704 prompt for port.
5705 (sql-copy-column): Copy without properties.
5706 (sqli-input-sender): Apply filters to SQLi input.
5707 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
5708 Implement as a filter.
5709 (sql-escape-newlines-filter): Implement as a filter.
5710 (sql-remove-tabs-filter): New function.
5711 (sql-send-magic-terminator): New function.
5712 (sql-send-string): Implement magic terminator.
5713 (sql-send-region): Use `sql-send-string'.
5714 (sql-interactive-mode): Use product API.
5715 (sql-product-interactive): Use product API.
5716 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5717 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5718 (sql-db2, sql-linter): Use `sql-product-interactive'.
5719 (sql-connect): New function.
5720 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
5721 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
5722 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
5723 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
5724 Use `sql-connect'.
5725
5726 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5729 New custom variable.
5730 (completion-pcm--string->pattern): Use it.
5731 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
5732 Make it handle any symbol as `any'.
5733 (completion-pcm--merge-completions): Extract common suffix for the new
5734 `prefix' symbol as well.
5735 (completion-substring--all-completions): Use the new `prefix' symbol.
5736
5737 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
5738
5739 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
5740 not bound.
5741 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5742 (tramp-compat-funcall): New defmacro.
5743 (tramp-compat-line-beginning-position)
5744 (tramp-compat-line-end-position)
5745 (tramp-compat-temporary-file-directory)
5746 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5747 (tramp-compat-copy-file, tramp-compat-copy-directory)
5748 (tramp-compat-delete-file, tramp-compat-delete-directory)
5749 (tramp-compat-number-sequence, tramp-compat-process-running-p)
5750 * net/tramp.el (top, with-progress-reporter)
5751 (tramp-rfn-eshadow-setup-minibuffer)
5752 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5753 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5754 (tramp-completion-mode-p, tramp-check-for-regexp)
5755 (tramp-open-connection-setup-interactive-shell)
5756 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5757 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5758 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
5759 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5760 (tramp-reporter-dump-variable, tramp-load-report-modules)
5761 (tramp-append-tramp-buffers)
5762 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
5763
5764 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5765
5766 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * progmodes/compile.el (compilation-buffer-modtime): Rename from
5769 buffer-modtime. Adjust users.
5770
5771 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5772
5773 * international/mule.el (auto-coding-alist): Only purecopy
5774 car of each item, not the whole list (Bug#6083).
5775
5776 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5777
5778 * progmodes/js.el (js-mode): Make paragraph variables local before
5779 calling c-setup-paragraph-variables (Bug#6071).
5780
5781 2010-05-08 Eli Zaretskii <eliz@gnu.org>
5782
5783 * composite.el (compose-region, reference-point-alist): Fix typos
5784 in the doc strings.
5785
5786 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5787
5788 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
5789 gnuplot's "set" command.
5790
5791 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5792
5793 * abbrev.el (last-abbrev-text): Doc fix.
5794 (abbrev-prefix-mark): Don't escape parenthesis.
5795
5796 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
5797
5798 * composite.el (find-composition): Doc fix.
5799
5800 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5801
5802 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
5803 (sql-oracle-program, sql-sqlite-options)
5804 (sql-query-placeholders-and-send): Doc fixes.
5805 (sql-set-product, sql-interactive-mode): Reflow docstrings.
5806 (sql-imenu-generic-expression, sql-buffer)
5807 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
5808 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
5809 (sql-mode-sybase-font-lock-keywords)
5810 (sql-mode-informix-font-lock-keywords)
5811 (sql-mode-interbase-font-lock-keywords)
5812 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
5813 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
5814 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
5815 (sql-product-feature, sql-highlight-product)
5816 (comint-line-beginning-position, sql-rename-buffer)
5817 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
5818 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
5819 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
5820 Fix typos in docstrings.
5821
5822 2010-05-08 Juri Linkov <juri@jurta.org>
5823
5824 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
5825 property instead of `invisible' and `after-string' (bug#5998).
5826
5827 2010-05-08 Juri Linkov <juri@jurta.org>
5828
5829 * image-mode.el (image-mode-as-text): Fix typo in docstring.
5830
5831 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * filecache.el (file-cache-add-directory-list)
5834 (file-cache-add-directory-recursively): Fix typos in docstrings.
5835
5836 2010-05-08 Kenichi Handa <handa@m17n.org>
5837
5838 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
5839 (gujarati-composable-pattern): Fix typo.
5840
5841 2010-05-08 Kenichi Handa <handa@m17n.org>
5842
5843 * language/indian.el (oriya-composable-pattern)
5844 (tamil-composable-pattern, malayalam-composable-pattern):
5845 Add two-part vowels to "v" (vowel sign).
5846
5847 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5848
5849 * files.el (copy-directory): Handle symlinks (Bug#5982).
5850
5851 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
5852
5853 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
5854 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
5855 (Bug#5846).
5856
5857 2010-05-08 Glenn Morris <rgm@gnu.org>
5858
5859 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
5860
5861 * minibuffer.el (completion-at-point): Doc fix.
5862
5863 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * electric.el (Electric-command-loop): Minor tweak.
5866
5867 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
5868 better with dedicated windows.
5869
5870 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
5871
5872 * Version 23.2 released.
5873
5874 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
5875 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 Highlight vendor specific properties.
5878 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
5879 (css-proprietary-property): New face.
5880 (css-font-lock-keywords): Use them.
5881
5882 2010-05-07 Eli Zaretskii <eliz@gnu.org>
5883
5884 * cus-start.el (all): Add native condition for tool-bar-* symbols.
5885
5886 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
5889 * files.el (auto-mode-alist): Remove redundant entries.
5890
5891 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
5892 * simple.el (auto-save-mode): Move from files.el.
5893 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
5894
5895 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
5896
5897 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5898
5899 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
5900
5901 * mail/binhex.el (binhex-decode-region-internal)
5902 * mail/uudecode.el (uudecode-decode-region-internal)
5903 * net/dns.el (dns-read-string-name, dns-write, dns-read)
5904 (dns-read-type, dns-query)
5905 * pgg-parse.el (pgg-parse-armor)
5906 * pgg.el (pgg-verify-region)
5907 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
5908 XEmacs.
5909
5910 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5911
5912 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
5913
5914 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5915
5916 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5917 * emulation/cua-base.el (cua-repeat-replace-region):
5918 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5919 (cua-cut-region-to-global-mark):
5920 Remove text properties with `set-text-properties'.
5921
5922 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
5923
5924 * net/tramp.el (top, with-progress-reporter):
5925 Use `symbol-function' inside `funcall'.
5926
5927 * net/tramp-compat.el (tramp-compat-file-attributes)
5928 (tramp-compat-delete-file, tramp-compat-delete-directory):
5929 Handle only `wrong-number-of-arguments' error.
5930
5931 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5932 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5933 inside `funcall'.
5934
5935 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * minibuffer.el (completion--sreverse, completion--common-suffix):
5938 New functions.
5939 (completion-pcm--merge-completions): Extract common suffix when safe.
5940
5941 * emacs-lisp/easy-mmode.el (define-minor-mode):
5942 Make :variable more flexible.
5943 * files.el (auto-save-mode): Use it to define using define-minor-mode.
5944
5945 2010-05-05 Juri Linkov <juri@jurta.org>
5946
5947 Add `slow' and `history' tags to the desktop data.
5948
5949 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5950 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5951 (Info-finder-find-node): Require `finder.el' to be able
5952 to restore node from the desktop.
5953 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
5954 data `Info-history' and `slow' tag in the assoc list.
5955 (Info-restore-desktop-buffer): Don't restore nodes with the
5956 `slow' tag. Restore `Info-history'.
5957
5958 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
5959
5960 Add FORCE argument to `delete-file'.
5961
5962 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5963 forcing to delete the temporary file.
5964 (ange-ftp-delete-file): Add FORCE arg.
5965 (ange-ftp-rename-remote-to-remote)
5966 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5967 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5968 Force file deletion.
5969
5970 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5971
5972 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5973 (tramp-handle-make-symbolic-link, tramp-handle-load)
5974 (tramp-do-copy-or-rename-file-via-buffer)
5975 (tramp-do-copy-or-rename-file-directly)
5976 (tramp-do-copy-or-rename-file-out-of-band)
5977 (tramp-handle-process-file, tramp-handle-call-process-region)
5978 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5979 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5980 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5981
5982 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5983 (tramp-fish-handle-make-symbolic-link)
5984 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5985
5986 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5987 Use `tramp-compat-delete-file'.
5988
5989 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5990 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5991
5992 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5993 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5994
5995 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5996 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5997 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5998 `tramp-compat-delete-file'.
5999
6000 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 Minor cleanups.
6003 * subr.el (add-minor-mode): Use push.
6004 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6005 * emulation/edt.el (edt-select-mode): Simplify.
6006
6007 Use define-minor-mode in more cases.
6008 * term/tvi970.el (tvi970-set-keypad-mode):
6009 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6010 (normal-erase-is-backspace-mode):
6011 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6012 (set-scroll-bar-mode-1): (Re)move to its sole caller.
6013 (get-scroll-bar-mode): New function.
6014 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6015
6016 Use define-minor-mode for less obvious cases.
6017 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6018 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6019 * international/iso-ascii.el (iso-ascii-mode):
6020 * frame.el (auto-raise-mode, auto-lower-mode):
6021 * composite.el (global-auto-composition-mode): Use define-minor-mode.
6022
6023 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
6024
6025 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6026 in order to see error messages for failed logins.
6027
6028 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
6029
6030 * diff.el (diff-sentinel):
6031
6032 * epg.el (epg--make-temp-file, epg-decrypt-string)
6033 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6034
6035 * jka-compr.el (jka-compr-partial-uncompress)
6036 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6037
6038 * server.el (server-sentinel): Use delete-file's new FORCE arg
6039 (Bug#6070).
6040
6041 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 Use define-minor-mode where applicable.
6044 * view.el (view-mode):
6045 * type-break.el (type-break-query-mode)
6046 (type-break-mode-line-message-mode):
6047 * textmodes/reftex.el (reftex-mode):
6048 * term/vt100.el (vt100-wide-mode):
6049 * tar-mode.el (tar-subfile-mode):
6050 * savehist.el (savehist-mode):
6051 * ibuf-ext.el (ibuffer-auto-mode):
6052 * composite.el (auto-composition-mode):
6053 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6054 Use define-minor-mode.
6055 (vhdl-mode): Use static mode-line format.
6056 (vhdl-mode-line-update): Delete.
6057 (vhdl-create-mode-menu, vhdl-activate-customizations)
6058 (vhdl-hs-minor-mode): Don't bother calling it.
6059
6060 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6061
6062 * simple.el (with-wrapper-hook): Move.
6063 (buffer-substring-filters): Mark obsolete.
6064 (filter-buffer-substring-functions): New variable.
6065 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
6066
6067 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6068 Michael Albinus <michael.albinus@gmx.de>
6069
6070 Implement compression for inline methods.
6071
6072 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6073 (tramp-copy-size-limit): Allow also nil.
6074 (tramp-inline-compress-commands): New defconst.
6075 (tramp-find-inline-compress, tramp-get-inline-compress)
6076 (tramp-get-inline-coding): New defuns.
6077 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6078 replaced by `tramp-get-inline-coding'.
6079 (tramp-handle-file-local-copy, tramp-handle-write-region)
6080 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6081
6082 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6083
6084 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
6085 Remove unused functions.
6086
6087 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
6088 Set find-tag-default-function as a variable rather than a property.
6089
6090 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
6091 * progmodes/etags.el (tags-completion-at-point-function):
6092 Remove left over interactive spec. Add autoloading stub.
6093 (complete-tag): Use tags-completion-at-point-function.
6094
6095 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
6096
6097 * minibuffer.el (tags-completion-at-point-function): Fix return value.
6098
6099 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6100
6101 * ido.el (ido-init-completion-maps): Remove C-v binding.
6102 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
6103
6104 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6105
6106 * minibuffer.el (tags-completion-at-point-function): New function.
6107 (completion-at-point-functions): Use it.
6108
6109 * progmodes/etags.el (complete-tag): Revert last change.
6110
6111 2010-04-29 Alan Mackenzie <acm@muc.de>
6112
6113 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
6114 off-by-one error (in end of macro position).
6115
6116 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
6119 firefox is absent. Don't autoload.
6120 (browse-url-galeon-program): Don't autoload.
6121
6122 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6123
6124 * bindings.el (complete-symbol): Move into minibuffer.el.
6125
6126 * minibuffer.el (complete-tag): Move from etags.el. If tags
6127 completion cannot be performed, return nil instead of signalling
6128 an error.
6129 (completion-at-point): Make it an alias for complete-symbol.
6130 (complete-symbol): Move from bindings.el, and replace with the
6131 body of completion-at-point.
6132
6133 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6134
6135 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
6136
6137 * net/tramp.el (tramp-remote-selinux-p): New defun.
6138 (tramp-handle-file-selinux-context)
6139 (tramp-handle-set-file-selinux-context): Use it.
6140
6141 2010-04-28 Sam Steingold <sds@gnu.org>
6142
6143 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6144 `safe-local-variable' if the value is a string or a symbol with
6145 the property `bug-reference-url-format'.
6146
6147 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6148
6149 * progmodes/bug-reference.el (bug-reference-url-format):
6150 Revert 2010-04-27 change due to security risk.
6151
6152 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 Make it possible to locally disable a globally enabled mode.
6155 * simple.el (fundamental-mode): Run fundamental-mode-hook.
6156 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6157 rather than kill-all-local-variables so it runs fundamental-mode-hook.
6158 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6159 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6160 that subsequent hooks get a chance to disable it.
6161
6162 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6165 Avoid re-enabling a minor mode after the user turned the minor mode
6166 off if MODE-enable-in-buffers is run twice (typically once from
6167 fundamental-mode's after-change-major-mode-hook and a second time from
6168 run-mode-hook's own after-change-major-mode-hook).
6169
6170 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6171
6172 2010-04-27 Sam Steingold <sds@gnu.org>
6173
6174 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6175 `safe-local-variable' if the value is a string or a function, as
6176 documented and implemented on 2010-04-02.
6177
6178 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
6179
6180 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6181 when method is 'kill.
6182
6183 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
6184
6185 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6186 condition in default directory check.
6187 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6188 Kill ispell process when killing its associated buffer.
6189
6190 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
6191
6192 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6193 but we aren't using it.
6194
6195 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
6196
6197 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6198 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6199
6200 2010-04-24 Glenn Morris <rgm@gnu.org>
6201
6202 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6203 Ignore VCS-ignore files, and deleted nextstep preferences files.
6204 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6205 (authors-ambiguous-files): New list.
6206 (authors-valid-file-names): Add some deleted files.
6207 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6208 (authors-disambiguate-file-name): New function. (Bug#5501)
6209 (authors-canonical-file-name): Doc fix.
6210 Don't warn about obsolete files.
6211 (authors-canonical-file-name, authors-scan-el):
6212 Use authors-disambiguate-file-name.
6213
6214 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6215 Add autoload cookies.
6216 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6217 (generated-autoload-file): Set file-local value to "htmlfontify.el".
6218 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6219 They have definitions / compiler macros in cl.el.
6220 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6221 Replace manual autoloads with generated ones.
6222 (htmlfontify-unload-rgb-file): Remove autoload.
6223 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6224
6225 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6228 (byte-compile-setq-default): Optimize for the
6229 single-var case and don't call byte-compile-form in this case to avoid
6230 inf-loop with byte-compile-set-default.
6231
6232 * progmodes/compile.el (compilation-start): Abbreviate default directory.
6233
6234 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
6235
6236 Implement SELINUX backends.
6237
6238 * net/tramp.el (tramp-file-name-handler-alist):
6239 Add `file-selinux-context' and `set-file-selinux-context'.
6240 (tramp-handle-file-selinux-context)
6241 (tramp-handle-set-file-selinux-context): New defuns.
6242 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6243 Handle PRESERVE-SELINUX-CONTEXT.
6244
6245 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6246 Add `file-selinux-context' and `set-file-selinux-context'.
6247 (tramp-gvfs-handle-file-selinux-context)
6248 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6249 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6250
6251 * net/ange-ftp.el (ange-ftp-copy-file):
6252 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6253 * net/tramp-imap.el (tramp-imap-handle-copy-file):
6254 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6255 Add PRESERVE-SELINUX-CONTEXT.
6256
6257 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6258
6259 Synchronize with Tramp repository.
6260
6261 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6262 (tramp-action-process-alive, tramp-action-out-of-band)
6263 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6264 (tramp-exists-file-name-handler): Fix docstring.
6265 (with-progress-reporter): New defmacro.
6266 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
6267 (tramp-maybe-open-connection): Use it.
6268
6269 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
6270
6271 Detect ssh 'ControlMaster' argument automatically in some cases.
6272
6273 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6274 (tramp-default-method): Use it.
6275
6276 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6277
6278 * net/tramp.el (tramp-handle-copy-file): Add new optional
6279 parameter `preserve-selinux-context'.
6280 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
6281
6282 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6283
6284 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
6285 Ensure, that non remote files are still checked. Oops.
6286
6287 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
6288
6289 Fix Bug#5840.
6290
6291 * icomplete.el (icomplete-completions): Use `non-essential'.
6292
6293 * net/tramp.el (tramp-connectable-p): New defun.
6294 (tramp-handle-expand-file-name)
6295 (tramp-completion-handle-file-name-all-completions)
6296 (tramp-completion-handle-file-name-completion): Use it.
6297
6298 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
6301
6302 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
6303
6304 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
6305
6306 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
6307
6308 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
6309 is present.
6310
6311 * info.el (info-tool-bar-map): Add labels.
6312
6313 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
6314
6315 * cus-edit.el (custom-commands): Add labels for tool bar.
6316 (custom-buffer-create-internal, Custom-mode): Adjust for
6317 labels in custom-commands.
6318
6319 * dynamic-setting.el: Renamed from font-setting.el.
6320
6321 2010-04-21 John Wiegley <jwiegley@gmail.com>
6322
6323 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
6324 toggles the use of virtual buffers.
6325 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
6326 (ido-toggle-virtual-buffers): New function.
6327
6328 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
6329
6330 Use `define-derived-mode'; fix window selection; doc fixes.
6331 * play/tetris.el (tetris, tetris-update-speed-function)
6332 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
6333 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
6334 (tetris-rotate-next, tetris-end-game, tetris-start-game)
6335 (tetris-pause-game): Fix typos in docstrings.
6336 (tetris-mode-map, tetris-null-map):
6337 Move initialization into declaration.
6338 (tetris-mode): Define with `define-derived-mode';
6339 set show-trailing-whitespace to nil.
6340 (tetris): Prefer window already displaying the "*Tetris*" buffer.
6341
6342 2010-04-21 Karel Klíč <kklic@redhat.com>
6343
6344 * files.el (backup-buffer): Handle SELinux context, and return it
6345 if a backup was made by renaming.
6346 (backup-buffer-copy): Set SELinux context to the target file.
6347 (basic-save-buffer): Set SELinux context of the newly written file.
6348 (basic-save-buffer-1): Now it also returns any SELinux context.
6349 (basic-save-buffer-2): Set SELinux context of the newly created file,
6350 and return it.
6351 * net/tramp.el (tramp-file-name-for-operation):
6352 Add file-selinux-context.
6353
6354 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 Make the log-edit comments use RFC822 format throughout.
6357
6358 * vc.el (vc-checkin, vc-modify-change-comment):
6359 Adjust to new vc-start/finish-logentry.
6360 (vc-find-conflicted-file): New command.
6361 (vc-transfer-file): Adjust to new vc-checkin.
6362 (vc-next-action): Improve scoping.
6363
6364 * vc-hg.el (vc-hg-log-edit-mode): Remove.
6365 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
6366
6367 * vc-git.el (vc-git-log-edit-mode): Remove.
6368 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
6369 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
6370
6371 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
6372 (vc-start-logentry): Remove argument `extra'.
6373 (vc-finish-logentry): Remove extra args.
6374
6375 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
6376 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
6377 (vc-bzr-conflicted-files): New function.
6378
6379 * log-edit.el (log-edit-extra-flags)
6380 (log-edit-before-checkin-process): Remove.
6381 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
6382 (log-edit-headers-alist): New var.
6383 (log-edit-header-contents-regexp): New const.
6384 (log-edit-match-to-eoh): New function.
6385 (log-edit-font-lock-keywords): Use them.
6386 (log-edit): Insert a "Summary:" header as default.
6387 (log-edit-mode): Mark font-lock rules as case-insensitive.
6388 (log-edit-done): Cleanup headers.
6389 (log-view-process-buffer): Remove.
6390 (log-edit-extract-headers): New function to replace it.
6391
6392 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
6393
6394 * subr.el (default-direction-reversed): Remove obsolescence info.
6395
6396 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6397
6398 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
6399 windows/frames.
6400
6401 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
6402 I.e. include text after point in the completion region.
6403 Also, return nil when we're not after/in a symbol.
6404
6405 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
6406 default enable-multibyte-characters.
6407
6408 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * international/mule.el: Help the user choose a valid coding-system.
6411 (read-buffer-file-coding-system): New function.
6412 (set-buffer-file-coding-system): Use it. Prompt the user if the
6413 coding-system cannot encode all the chars.
6414
6415 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
6416 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
6417 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
6418 Don't use *vc-bzr-shelve*.
6419
6420 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
6421
6422 Fix the version number for added files.
6423 * vc-hg.el (vc-hg-working-revision): Check if the file is
6424 registered after hg parent fails (Bug#5961).
6425
6426 2010-04-19 Glenn Morris <rgm@gnu.org>
6427
6428 * htmlfontify.el (htmlfontify-buffer)
6429 (htmlfontify-copy-and-link-dir): Autoload entry points.
6430
6431 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
6432
6433 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
6434 name relative to the project root (Bug#5960).
6435
6436 2010-04-19 Glenn Morris <rgm@gnu.org>
6437
6438 * vc-git.el (vc-git-print-log): Doc fix.
6439
6440 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
6441
6442 * ido.el (ido-file-internal): Fix 2009-12-02 change.
6443
6444 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
6445
6446 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
6447 default settings (Bug#5928).
6448
6449 2010-04-19 Glenn Morris <rgm@gnu.org>
6450
6451 * progmodes/fortran.el (fortran-match-and-skip-declaration):
6452 New function.
6453 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
6454
6455 2010-04-19 Kenichi Handa <handa@m17n.org>
6456
6457 * language/indian.el (malayalam-composable-pattern): Fix previous
6458 change (add U+0D4D "SIGN VIRAMA").
6459 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
6460 (tamil-composable-pattern): Fix typo in the regexp.
6461 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
6462 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
6463 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
6464
6465 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6466
6467 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
6468 paragraph-separate (Bug#5821).
6469
6470 2010-04-19 Juri Linkov <juri@jurta.org>
6471
6472 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
6473
6474 * info.el (Info-find-node-2): Comment out code that skips
6475 breadcrumbs line.
6476 (Info-mouse-follow-link): New command.
6477 (Info-link-keymap): New keymap.
6478 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
6479 Return a string with links instead of inserting breadcrumbs
6480 to the Info buffer.
6481 (Info-fontify-node): Comment out code that inserts breadcrumbs.
6482 Instead of putting the `invisible' text property over the Info
6483 header, make an overlay over the Info header with the `invisible'
6484 property and `after-string' set to the string returned by
6485 `Info-breadcrumbs'.
6486
6487 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6488
6489 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
6490 Reported by monkey@sandpframing.com.
6491
6492 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
6495 (tmm-get-keymap): Add key-binding shortcuts now that they're not
6496 available in the "keyseq cache" any more.
6497
6498 * custom.el (defcustom): Add edebug spec.
6499
6500 2010-04-18 Juri Linkov <juri@jurta.org>
6501
6502 Test for special mode-class in view-buffer instead of view-file (bug#5513).
6503
6504 * view.el (view-file, view-buffer): Move test for special mode-class
6505 from view-file to view-buffer.
6506
6507 * tar-mode.el (tar-extract): Turn if's into one cond
6508 like in arc-mode.el.
6509
6510 2010-04-18 Juri Linkov <juri@jurta.org>
6511
6512 Add 7z archive format support (bug#5475).
6513
6514 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
6515 (archive-7z-extract): New defcustom.
6516 (archive-find-type): Add magic string for 7z.
6517 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
6518 If `stderr-file' is non-nil, use `(t stderr-file)' for the
6519 `buffer' arg of `call-process'.
6520 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
6521 call the function `archive-7z-extract' with the variable
6522 `archive-7z-extract' let-bound to `archive-zip-extract'.
6523 (archive-7z-summarize, archive-7z-extract): New functions.
6524
6525 * international/mule.el (auto-coding-alist):
6526 * files.el (auto-mode-alist): Add 7z file extension.
6527
6528 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * loadup.el: Setup hash-cons for pure data.
6531
6532 Fix duplicate entries in cedet's loaddefs.el files.
6533 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
6534 Should make most file-local generated-autoload-file unnecessary.
6535 (print-readably): Silence warnings.
6536 (autoload-find-destination): Take load-name as an arg to make sure
6537 it's the same as the one that will be in the file.
6538 (autoload-generate-file-autoloads): Adjust to above changes.
6539 Try to make the dataflow a bit simpler.
6540
6541 * cvs-status.el (cvs-refontify): Remove unused.
6542
6543 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
6544
6545 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
6546
6547 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
6548 twos-complement mode.
6549
6550 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
6551
6552 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
6553 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
6554 (calc-inverse): Add "Option" to message, as appropriate.
6555 (calc-hyperbolic): Add "Option" to message, as appropriate.
6556 (calc-option, calc-is-option): New functions.
6557
6558 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
6559 (calc-option-prefix-help): New function.
6560
6561 * calc/calc-misc.el (calc-help): Add "Option" entry.
6562
6563 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
6564 (calc-option-flag): New variable.
6565 (calc-do): Set `calc-option-flag to nil.
6566 (calc-set-mode-line): Add "Opt " as appropriate.
6567
6568 2010-04-16 Juri Linkov <juri@jurta.org>
6569
6570 Move scrolling commands from simple.el to window.el
6571 because their primitives are implemented in window.c.
6572
6573 * simple.el (scroll-error-top-bottom)
6574 (scroll-up-command, scroll-down-command, scroll-up-line)
6575 (scroll-down-line, scroll-other-window-down)
6576 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6577 * window.el (scroll-error-top-bottom)
6578 (scroll-up-command, scroll-down-command, scroll-up-line)
6579 (scroll-down-line, scroll-other-window-down)
6580 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6581 Move from simple.el to window.el because their primitives are
6582 implemented in window.c.
6583
6584 2010-04-16 Juri Linkov <juri@jurta.org>
6585
6586 * isearch.el (isearch-lookup-scroll-key): Check both
6587 `isearch-scroll' and `scroll-command' properties.
6588 (scroll-up, scroll-down): Remove `isearch-scroll' property.
6589
6590 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
6591
6592 * simple.el (scroll-up-command, scroll-down-command)
6593 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
6594
6595 2010-04-15 Juri Linkov <juri@jurta.org>
6596
6597 * simple.el (scroll-up-command, scroll-down-command)
6598 (scroll-up-line, scroll-down-line): Put `scroll-command'
6599 property on the these symbols. Remove them from
6600 `scroll-preserve-screen-position-commands'.
6601
6602 * mwheel.el (mwheel-scroll): Put `scroll-command' and
6603 `isearch-scroll' properties on the `mwheel-scroll' symbol.
6604 Remove it from `scroll-preserve-screen-position-commands'.
6605
6606 * isearch.el (isearch-allow-scroll): Doc fix.
6607
6608 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
6609
6610 * net/tramp.el (tramp-error-with-buffer): Don't show the
6611 connection buffer when we are in completion mode.
6612 (tramp-file-name-handler): Catch the error for some operations
6613 when we are in completion mode. This gives the user the chance to
6614 correct the file name in the minibuffer.
6615
6616 2010-04-15 Glenn Morris <rgm@gnu.org>
6617
6618 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
6619
6620 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
6621
6622 Simplify by using `define-derived-mode'.
6623 * info.el (Info-mode):
6624 * calendar/todo-mode.el (todo-mode):
6625 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
6626 (gomoku-mode-map): Move initialization into declaration.
6627
6628 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
6629
6630 Fix Bug#5840.
6631 * ido.el (ido-file-name-all-completions-1):
6632 * minibuffer.el (minibuffer-completion-help):
6633 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
6634
6635 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * simple.el (non-essential): New var.
6638
6639 Add a new field `location' to bookmarks for non-file bookmarks.
6640 * bookmark.el (bookmark-location): Use the new field, if present.
6641 (bookmark-insert-location): Undo last change, not needed any more.
6642 * man.el (Man-bookmark-make-record):
6643 * woman.el (woman-bookmark-make-record): Add `location' field.
6644
6645 2010-04-14 Juri Linkov <juri@jurta.org>
6646
6647 * simple.el (scroll-error-top-bottom): New defcustom.
6648 (scroll-up-command, scroll-down-command): Use it. Doc fix.
6649
6650 * emulation/pc-select.el (pc-select-override-scroll-error):
6651 Obsolete in favor of `scroll-error-top-bottom'.
6652
6653 2010-04-14 Juri Linkov <juri@jurta.org>
6654
6655 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
6656 `scroll-up-command' and `M-v' to `scroll-down-command'.
6657
6658 * emulation/cua-rect.el (cua--init-rectangles):
6659 * forms.el (forms--change-commands):
6660 * image-mode.el (image-mode-map):
6661 Remap scroll-down-command and scroll-up-command
6662 in addition to scroll-down and scroll-up.
6663
6664 2010-04-14 Juri Linkov <juri@jurta.org>
6665
6666 * mwheel.el (scroll-preserve-screen-position-commands):
6667 Add mwheel-scroll to this list of commands.
6668
6669 * simple.el (scroll-preserve-screen-position-commands):
6670 Add scroll-up-command, scroll-down-command, scroll-up-line,
6671 scroll-down-line to this list of commands.
6672
6673 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * obsolete/complete.el: Move from lisp/complete.el.
6676
6677 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
6678
6679 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
6680 to the minor mode function now turns the mode ON unconditionally.
6681
6682 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * vc-dir.el (vc-dir-kill-line): New command.
6685 (vc-dir-mode-map): Bind it to C-k.
6686
6687 * bookmark.el (bookmark-insert-location): Handle a nil filename.
6688
6689 * woman.el: Add bookmark declarations to silence the compiler.
6690 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
6691 step to compatibility between man and woman bookmarks.
6692 Adjust for Man-default-bookmark-title renaming.
6693 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
6694
6695 * man.el: Add bookmark declarations to silence the compiler.
6696 (Man-name-local-regexp): Make it match NAME as well.
6697 (Man-getpage-in-background): Return the buffer.
6698 (Man-notify-when-ready): Use `case'.
6699 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
6700 Don't hardcode "NAME". Simplify.
6701 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
6702 Rename from Man-bookmark-make-record.
6703 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
6704 we have the actual man-args. Use Man-getpage-in-background rather
6705 than `man' since the arg is already processed. Let bookmark.el do the
6706 window handling. Only wait for the relevant process.
6707 Don't forget to autoload.
6708
6709 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
6710
6711 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6712
6713 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
6714 New functions.
6715 (woman-mode): Setup bookmark support.
6716
6717 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
6718 (man-bookmark-jump): New functions.
6719 (Man-mode): Setup bookmark support.
6720
6721 2010-04-10 Jari Aalto <jari.aalto@cante.net>
6722
6723 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
6724 recognize ssh-keygen prompt (Bug#2817).
6725
6726 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6727
6728 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
6729
6730 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6731
6732 Synchronize with Tramp repository.
6733
6734 * net/tramp.el (tramp-completion-function-alist)
6735 (tramp-file-name-regexp, tramp-chunksize)
6736 (tramp-local-coding-commands, tramp-remote-coding-commands):
6737 Fix docstring.
6738 (tramp-remote-process-environment): Use `format' instead of `concat'.
6739 (tramp-handle-directory-files-and-attributes)
6740 (tramp-get-remote-path): Use `copy-tree'.
6741 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6742 compatibility: Use `completion-ignore-case' if
6743 `read-file-name-completion-ignore-case' does not exist.
6744 (tramp-do-copy-or-rename-file-directly): Do not use
6745 `tramp-handle-file-remote-p'.
6746 (tramp-do-copy-or-rename-file-out-of-band):
6747 Use `tramp-compat-delete-directory'.
6748 (tramp-do-copy-or-rename-file-out-of-band)
6749 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6750 Use `format-spec-make'.
6751 (tramp-find-foreign-file-name-handler)
6752 (tramp-advice-make-auto-save-file-name)
6753 (tramp-set-auto-save-file-modes): Remove superfluous check for
6754 `stringp'. This is done inside `tramp-tramp-file-p'.
6755 (tramp-debug-outline-regexp): New defconst.
6756 (tramp-get-debug-buffer): Use it.
6757 (tramp-check-for-regexp): Use (forward-line 1).
6758 (tramp-set-auto-save-file-modes): Adapt version check.
6759
6760 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
6761 Wrap call of `featurep' for 2nd argument.
6762 (tramp-compat-make-temp-file): Simplify fallback implementation.
6763 (tramp-compat-copy-tree): Remove function.
6764 (tramp-compat-delete-directory): Provide implementation for older
6765 Emacsen.
6766
6767 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
6768 Do not use `tramp-fish-handle-file-attributes.
6769
6770 * net/trampver.el: Update release number.
6771
6772 2010-04-10 Glenn Morris <rgm@gnu.org>
6773
6774 * progmodes/compile.el (compilation-save-buffers-predicate):
6775 Add missing :version tag.
6776
6777 2010-04-09 Sam Steingold <sds@gnu.org>
6778
6779 * progmodes/compile.el (compilation-save-buffers-predicate):
6780 Remove the "autoload" cookie.
6781
6782 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
6783 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
6784 and `bug-reference-prog-mode' can be used in hooks directly.
6785
6786 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
6787
6788 Add --author support to git commit.
6789 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
6790 (vc-git-log-edit-mode): New minor mode.
6791 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
6792 New declarations.
6793
6794 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
6795
6796 * vc-hooks.el, vc-git.el: Improve documentation comments.
6797
6798 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 Fix some of the problems in defsubst* (bug#5728).
6801 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
6802 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
6803
6804 2010-04-07 Sam Steingold <sds@gnu.org>
6805
6806 * progmodes/compile.el (compilation-save-buffers-predicate):
6807 New custom variable.
6808 (compile, recompile): Pass it to `save-some-buffers'.
6809
6810 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
6811
6812 * wid-edit.el (widget-choose): Move cursor to the second line of
6813 the buffer (Bug#5695).
6814
6815 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
6816
6817 Add new VC methods: vc-log-incoming and vc-log-outgoing.
6818 * vc.el (vc-print-log-setup-buttons): New function split out from
6819 vc-print-log-internal.
6820 (vc-log-internal-common): New function, a parametrized version of
6821 vc-print-log-internal.
6822 (vc-print-log-internal): Just call vc-log-internal-common with the
6823 right arguments.
6824 (vc-incoming-outgoing-internal):
6825 (vc-log-incoming, vc-log-outgoing): New functions.
6826 (vc-log-view-type): New permanent local variable.
6827
6828 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
6829
6830 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
6831 of the dynamic bound vc-short-log.
6832 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
6833
6834 * vc-git.el (vc-git-log-outgoing): New function.
6835 (vc-git-log-view-mode): Use vc-log-view-type instead
6836 of the dynamic bound vc-short-log.
6837
6838 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
6839 of the dynamic bound vc-short-log. Highlight the tag.
6840 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
6841 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
6842 (vc-hg-incoming-mode): Remove.
6843 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
6844
6845 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
6846
6847 Fix default-directory for vc-root-diff.
6848 * vc.el (vc-root-diff): Bind default-directory to the root
6849 directory for the diff command.
6850
6851 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
6852
6853 * progmodes/verilog-mode.el (verilog-forward-sexp):
6854 (verilog-calc-1): Support "disable fork" and "fork wait" multi
6855 word keywords, suggested by Steve Pearlmutter.
6856 (verilog-pretty-declarations): Support lineup of declarations in
6857 port lists.
6858 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
6859 fix bug for /* / comments.
6860 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
6861 Speed up and simplfy as this is never called with a bound.
6862 (verilog-pretty-declarations): Enhance to line up declarations
6863 inside a parameter list, suggested by Alan Morgan.
6864 (verilog-pretty-expr): Tune assignment regular expression match
6865 string for corner cases; also use markers instead of character
6866 number as indent changes the later.
6867
6868 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
6869
6870 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
6871 as missing keyword.
6872 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
6873 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
6874 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
6875 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
6876 Tennant.
6877 (verilog-keywords):
6878 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
6879 1800-2009 keywords, including "global.".
6880
6881 2010-04-06 John Wiegley <jwiegley@gmail.com>
6882
6883 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
6884 appearing in buffer list (if a live buffer name matched a recentf
6885 file basename). Should use uniquify to offer a real solution.
6886
6887 2010-04-06 John Wiegley <jwiegley@gmail.com>
6888
6889 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
6890 comment to code, and add a :version tag.
6891 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
6892
6893 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
6894
6895 Enable recentf-mode if using virtual buffers.
6896 * ido.el (recentf-list): Declare for byte-compiler.
6897 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
6898 (ido-make-buffer-list): Simplify.
6899 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
6900
6901 2010-04-05 Juri Linkov <juri@jurta.org>
6902
6903 Scrolling commands which scroll a line instead of full screen.
6904 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6905
6906 * simple.el (scroll-up-line, scroll-down-line): New commands.
6907 Put property isearch-scroll=t on them.
6908
6909 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
6910 Remove commands.
6911
6912 2010-04-05 Juri Linkov <juri@jurta.org>
6913
6914 Scrolling commands which do not signal errors at top/bottom.
6915 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6916
6917 * simple.el (scroll-up-command, scroll-down-command): New commands.
6918 Put property isearch-scroll=t on them.
6919
6920 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6921 `scroll-down-command' and [next] from `scroll-up' to
6922 `scroll-up-command'.
6923
6924 * emulation/cua-base.el: Put property CUA=move on
6925 `scroll-up-command' and `scroll-down-command'.
6926 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6927 and `scroll-down-command' to `cua-scroll-down'.
6928
6929 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
6930
6931 * help.el (describe-mode): Return nil.
6932
6933 2010-04-04 John Wiegley <jwiegley@gmail.com>
6934
6935 * ido.el (ido-use-virtual-buffers): New variable to indicate
6936 whether "virtual buffer" support is enabled for IDO.
6937 (ido-virtual): Face used to indicate virtual buffers in the list.
6938 (ido-buffer-internal): If a buffer is chosen, and no such buffer
6939 exists, but a virtual buffer of that name does (which would be why
6940 it was in the list), recreate the buffer by reopening the file.
6941 (ido-make-buffer-list): If virtual buffers are being used, call
6942 `ido-add-virtual-buffers-to-list' before the make list hook.
6943 (ido-virtual-buffers): New variable which contains a copy of the
6944 current contents of the `recentf-list', albeit pared down for the
6945 sake of speed, and with proper faces applied.
6946 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6947 create a list of "virtual buffers" to present to the user in
6948 addition to the currently open set. Note that this logic could
6949 get rather slow if that list is too large. With the default
6950 `recentf-max-saved-items' of 200, there is little speed penalty.
6951
6952 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * font-lock.el: Require CL when compiling.
6955 (font-lock-turn-on-thing-lock): Use `case'.
6956
6957 2010-04-03 Eli Zaretskii <eliz@gnu.org>
6958
6959 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6960 Zaretskii.
6961
6962 2010-04-02 Juri Linkov <juri@jurta.org>
6963
6964 * ehelp.el (electric-help-orig-major-mode):
6965 New buffer-local variable.
6966 (electric-help-mode): Set it to original major-mode. Doc fix.
6967 (with-electric-help): Use `electric-help-orig-major-mode' instead
6968 of (default-value 'major-mode). Doc fix.
6969 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6970
6971 2010-04-02 Sam Steingold <sds@gnu.org>
6972
6973 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6974 `vc-hg-command' with a list of flags.
6975
6976 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6977 Also accept "patch" and "RFE".
6978 (bug-reference-fontify): `bug-reference-url-format' can also be a
6979 function to be able to handle the bug kind.
6980 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6981
6982 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
6983
6984 * tmm.el (tmm-get-keymap): Check with symbolp before passing
6985 value to fboundp, it may not be a symbol.
6986
6987 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6988
6989 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6990
6991 2010-03-31 Juri Linkov <juri@jurta.org>
6992
6993 * simple.el (next-line, previous-line): Re-throw a signal
6994 with `signal' instead of using `ding'.
6995 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6996
6997 2010-03-31 Juri Linkov <juri@jurta.org>
6998
6999 * simple.el (keyboard-escape-quit): Raise deselecting the active
7000 region higher than exiting the minibuffer.
7001 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7002
7003 2010-03-31 Juri Linkov <juri@jurta.org>
7004
7005 * image.el (image-animated-p): Use `image-metadata' instead of
7006 `image-extension-data'. Get GIF extenstion data from metadata
7007 property `extension-data'.
7008
7009 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * simple.el (append-to-buffer): Simplify.
7012
7013 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
7014
7015 * textmodes/artist.el (artist-mode): Fix typo in docstring.
7016 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
7017
7018 2010-03-31 Kenichi Handa <handa@m17n.org>
7019
7020 * language/sinhala.el (composition-function-table): Fix regexp for
7021 the new Unicode specification.
7022
7023 * language/indian.el (devanagari-composable-pattern)
7024 (tamil-composable-pattern, kannada-composable-pattern)
7025 (malayalam-composable-pattern): Adjust for the new Unicode
7026 specification.
7027 (bengali-composable-pattern, gurmukhi-composable-pattern)
7028 (gujarati-composable-pattern, oriya-composable-pattern)
7029 (telugu-composable-pattern): New variables to cope with the new
7030 Unicode specification. Use them in composition-function-table.
7031
7032 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 Make tmm-menubar work for the Buffers menu again (bug#5726).
7035 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7036 vectors rather than cons cells, as used in menu-bar-update-buffers.
7037
7038 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7039
7040 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7041 (js-insert-and-indent): Revert 2009-08-15 change, restoring
7042 electric punctuation for "{}();,:" (Bug#5586).
7043
7044 * mail/sendmail.el (mail-default-directory): Doc fix.
7045
7046 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7047
7048 * mail/sendmail.el (mail-default-directory): Doc fix.
7049
7050 2010-03-31 Eli Zaretskii <eliz@gnu.org>
7051
7052 * subr.el (version-regexp-alist, version-to-list)
7053 (version-list-<, version-list-=, version-list-<=)
7054 (version-list-not-zero, version<, version<=, version=): Doc fix.
7055 (Bug#5744).
7056
7057 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
7058
7059 * vc.el (vc-root-diff): Doc fix.
7060
7061 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7062
7063 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
7064
7065 * simple.el (append-to-buffer): Fix last change.
7066
7067 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7068
7069 * simple.el (append-to-buffer): Ensure that point is preserved if
7070 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
7071 (Bug#5749)
7072
7073 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * files.el (auto-mode-case-fold): Change default to t.
7076
7077 2010-03-30 Juri Linkov <juri@jurta.org>
7078
7079 * dired-x.el (dired-omit-mode): Doc fix.
7080
7081 2010-03-30 Juri Linkov <juri@jurta.org>
7082
7083 * replace.el (occur-accumulate-lines): Move occur-engine related
7084 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
7085 to be located after `occur-engine'.
7086
7087 2010-03-30 Juri Linkov <juri@jurta.org>
7088
7089 Make occur handle multi-line matches cleanly with context.
7090 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
7091
7092 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
7093 (occur-engine): Add local variables `ret', `prev-after-lines',
7094 `prev-lines'. Use more arguments for `occur-context-lines'.
7095 Set first elem of its returned list to `data', and the second elem
7096 to `prev-after-lines'. Don't print the separator line.
7097 In the end, print remaining context after-lines.
7098 (occur-context-lines): Add new arguments `begpt', `endpt',
7099 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
7100 after-lines of the previous match with before-lines of the
7101 current match and not overlap them. Return a list with two
7102 values: the output line and the list of context after-lines.
7103
7104 2010-03-30 Juri Linkov <juri@jurta.org>
7105
7106 * replace.el (occur-accumulate-lines): Fix a bug where the first
7107 context line at the beginning of the buffer was missing.
7108
7109 2010-03-30 Eli Zaretskii <eliz@gnu.org>
7110
7111 * files.el: Make bidi-display-reordering safe variable for boolean
7112 values.
7113
7114 2010-03-29 Phil Hagelberg <phil@evri.com>
7115 Chong Yidong <cyd@stupidchicken.com>
7116
7117 * subr.el: Extend progress reporters to perform "spinning".
7118 (progress-reporter-update, progress-reporter-do-update):
7119 Handle non-numeric value arguments.
7120 (progress-reporter--pulse-characters): New var.
7121
7122 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
7123
7124 * progmodes/compile.el (compilation-start): Fix regexp detection
7125 of initial cd command (Bug#5771).
7126
7127 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
7128
7129 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7130
7131 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
7132
7133 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7134 * progmodes/gdb-mi.el: Restore.
7135 * progmodes/gdb-ui.el: Remove.
7136 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7137
7138 2010-03-25 Glenn Morris <rgm@gnu.org>
7139
7140 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7141 all dired buffers, even tramp ones. (Bug#5755)
7142
7143 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 Add "union tags" in mpc.el.
7146 * mpc.el: Remove backward compatibility code.
7147 (mpc-browser-tags): Change default.
7148 (mpc--find-memoize-union-tags): New var.
7149 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7150 (mpc-cmd-find): Handle the case where the playlist does not exist.
7151 Handle union-tags.
7152 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
7153 (mpc-cmd-add): Use mpc-cmd-flush.
7154 (mpc-tagbrowser-tag-name): New fun.
7155 (mpc-tagbrowser-buf): Use it.
7156 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
7157
7158 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7159
7160 Misc cleanup.
7161 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7162 Use replace-regexp-in-string.
7163 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7164 (makefile-imake-mode-syntax-table): Move init into defvar.
7165 (makefile-mode): Use define-derived-mode.
7166
7167 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7168 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7169 not be present any more.
7170
7171 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7172
7173 * faces.el (set-face-attribute): Fix typo in docstring.
7174 (face-valid-attribute-values): Reflow docstring.
7175
7176 2010-03-24 Glenn Morris <rgm@gnu.org>
7177
7178 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7179
7180 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7181
7182 * indent.el (indent-for-tab-command): Doc fix.
7183
7184 2010-03-24 Alan Mackenzie <acm@muc.de>
7185
7186 * progmodes/cc-engine.el (c-remove-stale-state-cache):
7187 Fix off-by-one error. Fixes bug #5747.
7188
7189 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7190
7191 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7192 (image-dired-read-comment): Doc fix.
7193
7194 * json.el (json-object-type, json-array-type, json-key-type)
7195 (json-false, json-null, json-read-number):
7196 * minibuffer.el (completion-in-region-functions):
7197 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7198 (cal-tex-cursor-week):
7199 * emacs-lisp/trace.el (trace-function):
7200 * eshell/em-basic.el (eshell/printnl):
7201 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7202 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7203 * obsolete/levents.el (allocate-event, event-key, event-object)
7204 (event-point, event-process, event-timestamp, event-to-character)
7205 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7206 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7207 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7208 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7209 (reftex-highlight-selection): Fix typos in docstrings.
7210
7211 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7212
7213 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7214
7215 2010-03-24 Glenn Morris <rgm@gnu.org>
7216
7217 * mail/rmail.el (rmail-highlight-face): Restore option deleted
7218 2008-02-13 without comment; mark it obsolete.
7219 (rmail-highlight-headers): Use rmail-highlight-face once more.
7220
7221 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7222
7223 * woman.el (woman2-process-escapes): Only consume the newline if
7224 the filler character is on a line by itself (Bug#5729).
7225
7226 2010-03-24 Kenichi Handa <handa@m17n.org>
7227
7228 * language/indian.el (devanagari-composable-pattern): Add more
7229 consonants.
7230
7231 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7232
7233 * net/trampver.el: Update release number.
7234
7235 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7236
7237 * net/tramp.el (tramp-find-executable):
7238 Use `tramp-get-connection-buffer'. Make the regexp for checking
7239 output of "wc -l" more robust.
7240 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7241 (tramp-open-connection-setup-interactive-shell): Remove workaround
7242 for OpenSolaris bug, it is not needed anymore.
7243
7244 2010-03-24 Glenn Morris <rgm@gnu.org>
7245
7246 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
7247
7248 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
7249
7250 * files.el (auto-mode-alist): Accept more verilog file patterns.
7251
7252 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7255
7256 2010-03-24 Glenn Morris <rgm@gnu.org>
7257
7258 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7259 log-edit-before-checkin-process.
7260
7261 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7262
7263 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
7264
7265 * vc-dispatcher.el (vc-start-logentry): Doc fix.
7266 (log-view-process-buffer, log-edit-extra-flags): Declare.
7267
7268 * log-edit.el (log-edit-before-checkin-process): Doc fix.
7269
7270 2010-03-23 Sam Steingold <sds@gnu.org>
7271
7272 Fix bug#5620: recalculate all markers on compilation buffer
7273 modifications, not on file modifications.
7274 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
7275 the buffer modification time, for buffers not associated with files.
7276 (compilation-mode): Create it.
7277 (compilation-filter): Update it.
7278 (compilation-next-error-function): Use it instead of
7279 `visited-file-modtime' for timestamp.
7280
7281 2010-03-23 Juri Linkov <juri@jurta.org>
7282
7283 Implement Occur multi-line matches.
7284 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
7285
7286 * replace.el (occur): Doc fix.
7287 (occur-engine): Set `begpt' to the beginning of the first line.
7288 Set `endpt' to the end of the last match line. At first, count
7289 line numbers between `origpt' and `begpt'. Split out code from
7290 `out-line' variable to new let-bindings `match-prefix' and
7291 `match-str'. In `out-line' add non-numeric prefix to all
7292 non-first lines of multi-line matches. Finally, count lines
7293 between `begpt' and `endpt' and add to `lines'.
7294
7295 2010-03-23 Juri Linkov <juri@jurta.org>
7296
7297 * replace.el (occur-accumulate-lines, occur-engine):
7298 Use `occur-engine-line' instead of duplicate code.
7299 (occur-engine-line): New function created from duplicate code
7300 in `occur-accumulate-lines' and `occur-engine'.
7301
7302 * replace.el (occur-engine-line): Add optional arg `keep-props'.
7303 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
7304
7305 2010-03-23 Juri Linkov <juri@jurta.org>
7306
7307 * finder.el: Remove TODO tasks.
7308
7309 * info.el (Info-finder-find-node): Add node "all"
7310 with all package info. Handle a list of multiple keywords
7311 separated by comma.
7312 (info-finder): In interactive use with a prefix argument,
7313 use `completing-read-multiple' to read a list of keywords
7314 separated by comma.
7315
7316 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 Add a new completion style `substring'.
7319 * minibuffer.el (completion-basic--pattern): New function.
7320 (completion-basic-try-completion, completion-basic-all-completions):
7321 Use it.
7322 (completion-substring--all-completions)
7323 (completion-substring-try-completion)
7324 (completion-substring-all-completions): New functions.
7325 (completion-styles-alist): New style `substring'.
7326
7327 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 Get rid of .elc files after removal of the corresponding .el.
7330 * Makefile.in (compile-clean): New target.
7331 (compile-main): Use it.
7332
7333 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
7334
7335 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
7336 don't do make there. When compiling with separate object dir, there
7337 is no Makefile there.
7338
7339 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 Get rid of the ELCFILES abomination, again.
7342 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7343 (all, compile): Don't call compile-last.
7344 (compile-main): Build the "elcfiles" list dynamically.
7345 (compile-targets): New (internal) target.
7346
7347 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
7348
7349 * Makefile.in (top_srcdir): Define.
7350 (abs_top_builddir): Define.
7351 (srcdir): Don't append `/..'.
7352 (EMACS): Use ${abs_top_builddir}.
7353 (all, compile, compile-always, compile-last): Don't set emacswd.
7354 (update-subdirs, update-authors): Use $(top_srcdir) instead of
7355 $(srcdir).
7356 (lisp): Use $(srcdir) instead of @srcdir@.
7357
7358 2010-03-21 Juri Linkov <juri@jurta.org>
7359
7360 Fix message of multi-line occur regexps and multi-buffer header lines.
7361 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
7362
7363 * replace.el (occur-1): Don't display regexp if it is longer
7364 than window-width. Use `query-replace-descr' to display regexp.
7365 (occur-engine): Don't display regexp in the buffer header for
7366 multi-buffer occur. Display a separate header line with total
7367 match count and regexp for multi-buffer occur.
7368 Use `query-replace-descr' to display regexp.
7369
7370 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
7371
7372 * net/secrets.el: Fix parenthesis.
7373 (secrets-enabled): Fix parenthesis.
7374
7375 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 Use more relative file and directory names.
7378 * Makefile.in (EMACS): Arrange for it to work when we chdir.
7379 (setwins, setwins_almost, setwins_for_subdirs):
7380 Don't `cd'; output relative names.
7381 (all, compile, compile-always, compile-last): Set emacswd.
7382 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
7383 Just cd to the lisp source dir so we can use relative file names.
7384
7385 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
7386
7387 2010-03-20 Glenn Morris <rgm@gnu.org>
7388
7389 * textmodes/rst.el: Use faces for font-lock customization, and make the
7390 old -face variables obsolete.
7391 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
7392 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
7393 (rst-block-face, rst-external-face, rst-definition-face)
7394 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
7395 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
7396 Make obsolete.
7397 (rst-font-lock-keywords-function): Update for above changes.
7398
7399 2010-03-20 Juri Linkov <juri@jurta.org>
7400
7401 * s-region.el:
7402 * obsolete/s-region.el: Move to obsolete.
7403
7404 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
7405
7406 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
7407
7408 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7409
7410 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
7411
7412 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7413
7414 Add special markup processing for commit logs.
7415 * log-edit.el (log-edit-extra-flags): New variable.
7416 (log-edit): Add new argument MODE. Use that mode when non-nil
7417 instead of the log-view-mode.
7418 (log-view-process-buffer): New function.
7419
7420 * vc.el: Document that the checkin method takes optional
7421 arguments. Document new backend specific method: log-view-mode.
7422 (vc-default-log-edit-mode): New function.
7423 (vc-checkin): Use a backend specific log-view-mode.
7424 Pass extra arguments to the checkin method.
7425 (vc-modify-change-comment): Pass a dummy extra argument.
7426
7427 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
7428 log-edit.
7429 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
7430 (vc-finish-logentry): Process the log buffer before passing it
7431 down. Pass log-edit-extra-flags.
7432
7433 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
7434 command.
7435 (log-edit-extra-flags, log-edit-before-checkin-process):
7436 New declarations.
7437
7438 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
7439 command.
7440 (log-edit-extra-flags, log-edit-before-checkin-process):
7441 New declarations.
7442 (vc-hg-log-edit-mode): New derived mode.
7443
7444 * vc-arch.el (vc-arch-checkin):
7445 * vc-cvs.el (vc-cvs-checkin):
7446 * vc-git.el (vc-git-checkin):
7447 * vc-mtn.el (vc-mtn-checkin):
7448 * vc-rcs.el (vc-rcs-checkin):
7449 * vc-sccs.el (vc-sccs-checkin):
7450 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
7451
7452 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
7455 parent typo).
7456
7457 2010-03-19 Glenn Morris <rgm@gnu.org>
7458
7459 * password-cache.el (password-cache, password-cache-expiry): Autoload.
7460
7461 2010-03-18 Glenn Morris <rgm@gnu.org>
7462
7463 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
7464
7465 * replace.el (query-replace-history): Give it a doc string.
7466 (map-query-replace-regexp): Use query-replace-from-history-variable
7467 and query-replace-to-history-variable.
7468
7469 * mail/hashcash.el (declare-function): Remove duplicate definition.
7470
7471 * mail/emacsbug.el (report-emacs-bug-pretest-address):
7472 Make it an obsolete alias for report-emacs-bug-address.
7473 (message-strip-special-text-properties): Declare.
7474 (report-emacs-bug): Remove test for a pretest bug address.
7475 Combine message-mode-specific code.
7476
7477 * mail/supercite.el: Don't require sendmail.
7478 (mh-in-header-p): Declare rather than using with-no-warnings.
7479 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
7480 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
7481
7482 * calendar/cal-french.el: Convert to utf-8.
7483
7484 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
7485 Emacs scripts.
7486
7487 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
7488
7489 * net/secrets.el (secrets-enabled): New variable. Use it instead
7490 of a subfeature.
7491
7492 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
7493
7494 * net/secrets.el (top): Register the D-Bus signals only when the
7495 service "org.freedesktop.secrets" can be pinged.
7496 Provide subfeature `enabled'.
7497
7498 2010-03-14 Juri Linkov <juri@jurta.org>
7499
7500 Add finder unknown keywords.
7501
7502 * finder.el (finder-unknown-keywords): New function.
7503
7504 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
7505 to create a Finder node with unknown keywords.
7506
7507 2010-03-14 Juri Linkov <juri@jurta.org>
7508
7509 * finder.el (finder-compile-keywords): Replace `princ' with
7510 `prin1' on a list of symbols interned from keyword strings.
7511
7512 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
7513 a comma, then split keywords using a comma and optional whitespace.
7514 Otherwise, split by whitespace.
7515
7516 * complete.el:
7517 * face-remap.el:
7518 * log-view.el:
7519 * net/hmac-def.el:
7520 * net/hmac-md5.el:
7521 * net/netrc.el:
7522 * progmodes/mixal-mode.el: Fix keywords.
7523
7524 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
7525
7526 * Makefile.in (ELCFILES): Add net/secrets.elc.
7527
7528 * net/secrets.el: New file.
7529
7530 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7531
7532 * facemenu.el (list-colors-display, list-colors-print): New arg
7533 callback. Use it to allow selecting colors.
7534
7535 * wid-edit.el (widget-image-insert): Insert image prop even if the
7536 current display is non-graphic.
7537 (widget-field-value-set): New fun.
7538 (editable-field): Use it.
7539 (widget-field-value-get): Clean up unused var.
7540 (widget-color-value-create, widget-color--choose-action):
7541 New funs. Allow using list-colors-display to choose color.
7542
7543 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7544
7545 * cus-edit.el: Resort topmost custom groups.
7546 (custom-buffer-sort-alphabetically): Default to t.
7547 (customize-apropos): Use apropos-parse-pattern.
7548 (custom-search-field): New var.
7549 (custom-buffer-create-internal): Add custom-apropos search field.
7550 (custom-add-parent-links): Don't display parent doc.
7551 (custom-group-value-create): Don't sort top-level custom group.
7552 (custom-magic-value-create): Show visibility button before option name.
7553
7554 (custom-variable-state): New fun, from custom-variable-state-set.
7555 (custom-variable-state-set): Use it.
7556 (custom-group-value-create): Hide options with standard values
7557 using the :hidden-states property. Use progress reporter.
7558
7559 (custom-show): Simplify.
7560 (custom-visibility): Disable images by default.
7561 (custom-variable): New property :hidden-states.
7562 (custom-variable-value-create): Enable images for
7563 custom-visibility widgets. Use :hidden-states property to
7564 determine initial visibility.
7565
7566 * wid-edit.el (widget-image-find): Give images center ascent.
7567 (visibility): Add :on-image and :off-image properties.
7568 (widget-visibility-value-create): Use them.
7569
7570 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7571
7572 * cus-edit.el (processes): Remove from development group.
7573 (oop, hypermedia): Delete group.
7574 (comm): Promote to top-level group.
7575
7576 * net/browse-url.el (browse-url):
7577 * net/xesam.el (xesam):
7578 * net/tramp.el (tramp):
7579 * net/goto-addr.el (goto-address):
7580 * net/ange-ftp.el (ange-ftp): Put in comm group.
7581
7582 * view.el (view): Remove from editing group.
7583
7584 * uniquify.el (uniquify): Put in files group.
7585
7586 * net/browse-url.el (browse-url):
7587 * ps-print.el (postscript): Put in external group.
7588
7589 * cus-edit.el (outlines):
7590 * textmodes/text-mode.el (text-mode-hook):
7591 * textmodes/table.el (table):
7592 * textmodes/picture.el (picture):
7593 * outline.el (outlines): Put in wp group.
7594
7595 * nxml/nxml-mode.el (nxml): Remove from wp group.
7596
7597 * net/tramp-imap.el (tramp-imap): Put in tramp group.
7598
7599 * mail/metamail.el (metamail): Remove from hypermedia group.
7600
7601 * cus-edit.el (abbrev):
7602 * whitespace.el (whitespace):
7603 * vcursor.el (vcursor):
7604 * reveal.el (reveal):
7605 * hl-line.el (hl-line): Put in convenience group.
7606
7607 * epg-config.el (epg): Put in data group.
7608
7609 * emulation/pc-select.el (pc-select): Put in emulations group.
7610
7611 * calculator.el (calculator): Put in applications group.
7612
7613 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7614
7615 Add .dir-locals.el support for file-less buffers.
7616 * files.el (hack-local-variables): Split out code to apply local
7617 variable settings ...
7618 (hack-local-variables-apply): ... here. New function.
7619 (hack-dir-local-variables): Use the default directory for when the
7620 buffer does not have an associated file.
7621 (hack-dir-local-variables-non-file-buffer): New function.
7622 * diff-mode.el (diff-mode):
7623 * vc-annotate.el (vc-annotate-mode):
7624 * vc-dir.el (vc-dir-mode):
7625 * log-edit.el (log-edit-mode):
7626 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
7627
7628 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7629
7630 Add support for shelving snapshots and for showing shelves.
7631 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
7632 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
7633 New functions.
7634 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
7635 (vc-bzr-extra-menu-map): Map them.
7636
7637 2010-03-11 Glenn Morris <rgm@gnu.org>
7638
7639 * cus-edit.el (customize-changed-options-previous-release):
7640 Bump to 23.1.
7641
7642 * image.el (image-animate-max-time): Fix :version tag.
7643
7644 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
7645
7646 * Branch for 23.2.
7647
7648 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * vc-git.el (vc-git-revision-table): Include remote branches.
7651
7652 2010-03-10 Kim F. Storm <storm@cua.dk>
7653
7654 Animated image API.
7655 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
7656
7657 * image.el (image-animate-max-time): New defcustom.
7658 (image-animated-types): New defconst.
7659 (create-animated-image, image-animate-timer)
7660 (image-animate-start, image-animate-stop, image-animate-timeout)
7661 (image-animated-p): New functions.
7662
7663 * image-mode.el (image-toggle-display-image):
7664 Replace `create-image' with `create-animated-image'.
7665
7666 2010-03-09 Miles Bader <miles@gnu.org>
7667
7668 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
7669 instead of "format:"; this ensures that the output is
7670 newline-terminated.
7671
7672 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
7673
7674 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
7675 that all errors are caught, and that the return value is always a
7676 list (Bug#5692).
7677
7678 2010-03-08 Kenichi Handa <handa@m17n.org>
7679
7680 * language/misc-lang.el (windows-1256): New coding system.
7681 (cp1256): New alias of windows-1256 (bug#5690).
7682
7683 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
7684
7685 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
7686 call to rfc822-bad-address. (Bug#5692)
7687
7688 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
7689
7690 * vc-git.el (vc-git-annotate-extract-revision-at-line):
7691 Use vc-git-root as default directory for revision path (Bug#5657).
7692
7693 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
7694
7695 * calculator.el (calculator): Don't bind split-window-keep-point
7696 (Bug#5674).
7697
7698 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * vc-git.el: Re-flow to fit into 80 columns.
7701 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
7702 Remove spurious `quote' element in each case alternative.
7703 (vc-git-show-log-entry): Use prog1.
7704 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
7705
7706 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
7709
7710 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
7711
7712 * macros.el (insert-kbd-macro): Look up keyboard macro using the
7713 definition, not the name (Bug#5481).
7714
7715 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
7716
7717 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
7718 argument with a local variable. (Bug#5670)
7719
7720 2010-03-02 Juri Linkov <juri@jurta.org>
7721
7722 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
7723
7724 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
7725
7726 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
7727 error when FILENAME and NEWNAME are existing remote directories.
7728
7729 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
7730 parameter DIR-FLAG.
7731
7732 2010-03-02 Glenn Morris <rgm@gnu.org>
7733
7734 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
7735 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
7736
7737 2010-03-01 Kenichi Handa <handa@m17n.org>
7738
7739 * language/burmese.el (burmese-composable-pattern): Rename from
7740 myanmar-composable-pattern.
7741
7742 * international/characters.el (script-list):
7743 * international/fontset.el (script-representative-chars):
7744 Change myanmar to burmese.
7745 (otf-script-alist): Likewise.
7746 (setup-default-fontset): Likewise. Re-fix :otf spec.
7747
7748 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
7749
7750 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
7751
7752 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
7753
7754 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
7755
7756 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7757
7758 * net/tramp.el (tramp-handle-write-region): START can be a string.
7759 Take care in the checks. Reported by Dan Davison
7760 <davison@stats.ox.ac.uk>.
7761
7762 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7763
7764 * net/dbus.el (dbus-introspect, dbus-get-property)
7765 (dbus-set-property, dbus-get-all-properties):
7766 Use `dbus-call-method' when noninteractive. (Bug#5645)
7767
7768 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
7769
7770 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
7771 * emacs-lisp/elint.el (elint-add-required-env):
7772 * calendar/icalendar.el (icalendar--add-diary-entry):
7773 * calc/calcalg2.el (math-tracing-integral):
7774 * files.el (recover-session-finish): Use with-current-buffer
7775 instead of save-excursion.
7776
7777 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
7778
7779 Fix in-buffer completion when after-change-functions modify the buffer.
7780 * minibuffer.el (completion--replace): New function.
7781 (completion--do-completion): Use it and use relative movement.
7782
7783 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
7784
7785 * international/fontset.el (setup-default-fontset): Fix :otf spec.
7786
7787 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
7788
7789 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
7790 Allow the characters _<> in the stack entry (Bug#5653).
7791
7792 2010-02-26 Kenichi Handa <handa@m17n.org>
7793
7794 * language/burmese.el: Fix entries in composition-function-table.
7795 (myanmar-composable-pattern): New variable.
7796
7797 * international/fontset.el (setup-default-fontset): Add an entry
7798 for myanmar.
7799
7800 * international/characters.el (script-list): Add Myanmar
7801 Extended-A.
7802
7803 2010-02-26 Glenn Morris <rgm@gnu.org>
7804
7805 * custom.el (custom-initialize-delay): Doc fix.
7806
7807 * mail/sendmail.el (send-mail-function): Autoload the call
7808 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
7809
7810 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
7811
7812 * files.el (hack-local-variables-filter): For eval forms, also
7813 check safe-local-variable-p (Bug#5636).
7814
7815 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
7816
7817 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
7818 setting the modes by `ignore-errors'. It might fail, for example
7819 if the file is not owned by the user but the group.
7820 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
7821
7822 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
7823
7824 * files.el (directory-listing-before-filename-regexp): Use
7825 stricter matching for iso-style dates, to avoid false matches with
7826 date-like filenames (Bug#5597).
7827
7828 * htmlfontify.el (htmlfontify): Doc fix.
7829
7830 * eshell/eshell.el (eshell): Doc fix.
7831
7832 * startup.el (fancy-about-screen): In mode-line, apply
7833 mode-line-buffer-id face only to the buffer name (Bug#5613).
7834
7835 2010-02-20 Kevin Ryde <user42@zip.com.au>
7836
7837 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7838 In `watcom' anchor regexp to start of line, to avoid slowness
7839 (Bug#5599).
7840
7841 2010-02-20 Eli Zaretskii <eliz@gnu.org>
7842
7843 * subr.el (remove-yank-excluded-properties): Explain in a comment
7844 why `category' property is removed.
7845
7846 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
7847
7848 * isearch.el (isearch-update-post-hook, isearch-update): Revert
7849 2010-02-17 change.
7850
7851 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
7852
7853 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
7854 (icalendar--convert-weekly-to-ical)
7855 (icalendar--convert-yearly-to-ical)
7856 (icalendar--convert-block-to-ical)
7857 (icalendar--convert-cyclic-to-ical)
7858 (icalendar--convert-anniversary-to-ical): Take care of time
7859 specifications where hour has 1-digit only (Bug#5549).
7860
7861 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
7862
7863 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
7864 of disassemble output in GDB 7.1.
7865
7866 2010-02-19 Glenn Morris <rgm@gnu.org>
7867
7868 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
7869 property. (Bug#5593)
7870
7871 2010-02-18 Sam Steingold <sds@gnu.org>
7872
7873 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7874
7875 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 Use abbreviated file names in bookmarks (bug#5591).
7878 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
7879 calls to expand-file-name.
7880 (bookmark-relocate): Use abbreviated file names in bookmarks.
7881 (bookmark-load): Use abbreviated file names in messages.
7882
7883 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
7884
7885 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
7886 expand "." and "..". Reported by Thierry Volpiatto
7887 <thierry.volpiatto@gmail.com>.
7888
7889 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
7890
7891 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
7892 permissions of the temporary file to "0600". In case the remote
7893 file has no read permissions for the owner, there might be
7894 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
7895
7896 22010-02-18 Glenn Morris <rgm@gnu.org>
7897
7898 * emacs-lisp/authors.el (authors-renamed-files-alist):
7899 Add entries for INSTALL.CVS.
7900
7901 2010-02-17 Mark A. Hershberger <mah@everybody.org>
7902
7903 * vc-bzr.el: Fix typo in Known Bugs section.
7904
7905 * isearch.el (isearch-update-post-hook): New hook.
7906 (isearch-update): Use the new hook.
7907
7908 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
7909
7910 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7911 Fix errors in copying directories.
7912 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7913 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7914 (tramp-handle-delete-file)
7915 (tramp-handle-dired-recursive-delete-directory)
7916 (tramp-handle-write-region): Flush also the cache for the upper
7917 directory.
7918
7919 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
7920
7921 * simple.el (save-interprogram-paste-before-kill): Doc fix.
7922
7923 * cus-edit.el (hardware): Doc fix.
7924
7925 * man.el (man): Add to external custom group.
7926
7927 * delim-col.el (columns): Move to wp custom group.
7928
7929 * doc-view.el (doc-view): Add to data custom group.
7930
7931 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7932
7933 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7934 by ispell-parse-output (Bug#5575).
7935
7936 2010-02-16 Kenichi Handa <handa@m17n.org>
7937
7938 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7939 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7940 (skkdic-convert): Use `euc-japan' coding system for writing.
7941
7942 2010-02-16 Glenn Morris <rgm@gnu.org>
7943
7944 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7945 tex-main-file before using it. (Bug#5562)
7946
7947 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
7948
7949 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7950 warnings, since it is annoying for the user to see them each time he
7951 runs the code.
7952
7953 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
7954
7955 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7956 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7957 instead of PROC for caching "first-password-request". Otherwise,
7958 new processes would not profit from passwords already entered.
7959
7960 * net/tramp-cache.el (tramp-dump-connection-properties):
7961 Don't save "first-password-request" property.
7962
7963 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
7964
7965 * outline.el (outline-head-from-level):
7966 * simple.el (with-wrapper-hook):
7967 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7968 (elint-defun, elint-buffer-env, elint-top-form-logged)
7969 (elint-unbound-variable):
7970 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7971 Fix typos in docstrings.
7972
7973 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
7974
7975 * files.el (insert-directory): When WILDCARD-REGEXP and
7976 FULL-DIRECTORY-P are nil, insert the file entry instead of the
7977 whole directory. (Bug#5551)
7978
7979 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
7980 dired's alignment sanity. (Bug#5516)
7981
7982 2010-02-14 Juri Linkov <juri@jurta.org>
7983
7984 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7985 Remove remaining ^H with their preceding chars. (Bug#5566)
7986
7987 2010-02-13 Glenn Morris <rgm@gnu.org>
7988
7989 * simple.el (transpose-subr): Give it a doc-string.
7990
7991 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7992 Doc fixes.
7993
7994 2010-02-12 Juri Linkov <juri@jurta.org>
7995
7996 * arc-mode.el (archive-unique-fname): Make directories for nested
7997 archives. (Bug#5540)
7998
7999 2010-02-12 Juri Linkov <juri@jurta.org>
8000
8001 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
8002
8003 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 * subr.el (copy-overlay): Handle deleted overlays.
8006
8007 * man.el (Man-completion-table): Don't signal an error if we can't run
8008 manual-program (bug#4056).
8009
8010 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
8011
8012 * textmodes/artist.el (artist-mt): Fix typos in docstring.
8013
8014 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8015
8016 * info.el (Info-bookmark-jump): Simplify.
8017
8018 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8019 (bookmark-default-handler): Accept new bookmark field `buffer'.
8020
8021 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
8022
8023 * iswitchb.el (iswitchb-completions): Revert last change.
8024
8025 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
8026
8027 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8028 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8029 This prevents file names like "~/" being listed literally.
8030
8031 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
8032
8033 * term/xterm.el (xterm-maybe-set-dark-background-mode):
8034 Remove dead code. (Bug#5546)
8035
8036 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
8037
8038 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8039 correctly (Bug#5548).
8040
8041 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
8042
8043 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8044 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8045
8046 2010-02-08 Kenichi Handa <handa@m17n.org>
8047
8048 * international/mule-util.el (with-coding-priority): Add autoload
8049 cookie for putting `lisp-indent-function'.
8050
8051 2010-02-07 Glenn Morris <rgm@gnu.org>
8052
8053 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8054 Move F2003 named interfaces from keywords-2 to keywords-1, and
8055 use function-name-face rather than constant-face.
8056 Simplify "abstract interface" regexp.
8057
8058 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
8059
8060 * eshell/esh-util.el (eshell-file-attributes): New optional arg
8061 ID-FORMAT. Pass it to `file-attributes'.
8062
8063 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
8064
8065 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
8066
8067 * faces.el (set-face-attribute): Allow calling
8068 internal-set-lisp-face-attribute with 'unspecified family and
8069 foundry argument (Bug#5536).
8070
8071 2010-02-07 Glenn Morris <rgm@gnu.org>
8072
8073 * progmodes/f90.el (f90-font-lock-keywords-2)
8074 (f90-looking-at-type-like, f90-looking-at-program-block-end):
8075 Handle F2003 named interfaces.
8076
8077 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
8078
8079 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
8080 beg and end before calling c-get-state-before-change-functions.
8081
8082 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
8083
8084 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
8085
8086 2010-02-05 Juri Linkov <juri@jurta.org>
8087
8088 * doc-view.el (doc-view-mode):
8089 * image-mode.el (image-mode): Put property mode-class=special.
8090 (Bug#4896)
8091
8092 2010-02-05 Mark A. Hershberger <mah@everybody.org>
8093
8094 * vc-svn.el (vc-svn-revision-table): New function.
8095
8096 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
8097
8098 * net/ange-ftp.el (ange-ftp-insert-directory):
8099 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8100 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8101 Handle also directories. (Bug#5478)
8102
8103 2010-02-05 Glenn Morris <rgm@gnu.org>
8104
8105 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
8106
8107 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
8108
8109 * startup.el (command-line-1): Convert options beginning with a
8110 single dash as well (Bug#5519).
8111
8112 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
8115 * minibuffer.el (completion-initials-expand): Only check the presence
8116 of delims *within* the boundaries, since otherwise the / delim is
8117 always found for files.
8118
8119 Fix up various corner case problems.
8120 * doc-view.el (doc-view-last-page-number): New function.
8121 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
8122 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
8123 (doc-view-kill-proc): Avoid inf-loop in freak cases.
8124 (doc-view-reconvert-doc): Use the new recursive delete-directory.
8125 (doc-view-convert-current-doc): Don't create the resolution.el file
8126 here any more.
8127 (doc-view-pdf/ps->png): Do it here instead.
8128 (doc-view-already-converted-p): Check that resolution.el is present.
8129 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8130 windows that are not yet showing images.
8131
8132 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
8133
8134 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8135 `dired-uncache' for every elemnt which is an absolute file name.
8136
8137 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8138 directory, handle its directory component.
8139 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8140 function is called permanently and creates noise, otherwise.
8141
8142 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8143 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8144 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
8145
8146 2010-02-04 David Burger <dburger@google.com> (tiny change)
8147
8148 * macros.el (apply-macro-to-region-lines):
8149 Minor simplification. (Bug#5485)
8150
8151 2010-02-04 Glenn Morris <rgm@gnu.org>
8152
8153 * mail/rmail.el (rmail-show-message-1): Handle malformed
8154 quoted-printable text. (Bug#5441)
8155
8156 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8157
8158 * simple.el (visual-line-mode): Capitalize lighter.
8159
8160 2010-02-03 John Wiegley <jwiegley@gmail.com>
8161
8162 * iswitchb.el (iswitchb-completions): Add bookmark files to the
8163 list of files considered for "virtual buffer" completions.
8164
8165 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
8166
8167 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8168 also in case of (and (not full) (not wildcard)). This is needed
8169 when dired is called with a list of files, which are not in
8170 `default-directory'. (Bug#5478)
8171
8172 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8175
8176 2010-02-02 Juri Linkov <juri@jurta.org>
8177
8178 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8179 from unidiff to allow function-line after @@.
8180
8181 2010-02-02 Juri Linkov <juri@jurta.org>
8182
8183 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8184 '(RCS SCCS) with inverted condition.
8185
8186 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
8187
8188 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8189 messages.
8190
8191 2010-02-01 Juri Linkov <juri@jurta.org>
8192
8193 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8194 compare with "pkunzip" and "pkzip" instead of only "pkzip".
8195 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8196 only when (car archive-zip-extract) is "unzip". (Bug#5475)
8197
8198 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
8199
8200 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8201 (doc-view-revert-buffer): New command.
8202 (doc-view-mode-map): Use it.
8203
8204 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
8205
8206 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8207 pending merge is detected.
8208
8209 2010-01-31 Juri Linkov <juri@jurta.org>
8210
8211 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8212 beginning of interactive spec like all other grep commands do.
8213 Put "all" in front of "gz". (Bug#5260)
8214
8215 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
8216
8217 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8218
8219 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
8220
8221 * dirtrack.el (dirtrack): Warn instead of signalling error if the
8222 regexp is incorrect (Bug#5476).
8223
8224 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
8225
8226 * net/tramp.el (tramp-handle-insert-directory): Handle also
8227 symlinks, when FILENAME is not in `default-directory'.
8228
8229 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8230
8231 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8232 FILE is not in `default-directory'. (Bug#5478)
8233
8234 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8235 of SWITCHES. Handle the case, FILENAME is not in
8236 `default-directory'. (Bug#5478)
8237 (tramp-register-file-name-handlers): Add safe-magic property.
8238
8239 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
8240
8241 * arc-mode.el (archive-zip-extract): Quote the argument passed to
8242 unzip (Bug#5475).
8243
8244 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
8245
8246 * progmodes/flymake.el (flymake-allowed-file-name-masks)
8247 (flymake-master-make-header-init): Add other C++ filename masks.
8248 (flymake-find-possible-master-files)
8249 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8250
8251 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8252
8253 Fix some busybox annoyances.
8254
8255 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8256 not responding." string.
8257 (tramp-open-connection-setup-interactive-shell): Dump stty
8258 settings. Enable "neveropen" arg for all `tramp-send-command'
8259 calls. Handle "=" in variable values properly.
8260 (tramp-find-inline-encoding): Raise an error, when no encoding is
8261 found.
8262 (tramp-wait-for-output): Check, whether PROC buffer is available.
8263 Remove spurious " ^H" sequences, sent by busybox.
8264 (tramp-get-ls-command): Suppress coloring, if possible.
8265
8266 2010-01-28 Glenn Morris <rgm@gnu.org>
8267
8268 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
8269
8270 * log-edit.el (log-edit-strip-single-file-name): Add missing
8271 :safe, :group, and :version tags.
8272
8273 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
8274
8275 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
8276 buffers. (Bug#5477)
8277
8278 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
8279
8280 * files.el (delete-directory): Handle moving to trash without
8281 first doing recursion (Bug#5436).
8282
8283 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
8284
8285 * vc-hooks.el (vc-path): Mark as obsolete.
8286
8287 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
8288
8289 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
8290 names too.
8291
8292 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
8293 for the short log.
8294 (vc-bzr-log-view-mode): Adjust regexp for the above change.
8295
8296 2010-01-25 Mark A. Hershberger <mah@everybody.org>
8297
8298 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
8299
8300 * vc-bzr.el (vc-bzr-revision-table): New function.
8301
8302 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
8303
8304 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
8305 diff-index command. This requires at least git-1.5.5. (Bug#1589).
8306
8307 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
8308
8309 Remove support for adding --signoff on commit.
8310 Future support will use an incompatible generic mechanism.
8311 * vc-git.el (vc-git-add-signoff): Remove variable.
8312 (vc-git-toggle-signoff): Remove function.
8313 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
8314
8315 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
8316 from xterm-set-background-mode. Return t if the background mode
8317 was set.
8318 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
8319 earlier, call it again in case the background mode has changed.
8320
8321 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
8322
8323 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
8324 (Bug#3541).
8325
8326 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
8327
8328 * emacs-lisp/assoc.el (aelement): Doc fix.
8329 (aput, adelete, amake): Use lexical-let (Bug#5450).
8330
8331 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
8332
8333 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
8334 is the same as subprogram call, not declaration. (Bug#5435).
8335
8336 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
8337
8338 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
8339 (tramp-smb-maybe-open-connection): Use it.
8340
8341 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
8342
8343 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
8344
8345 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
8348 just because we see "encoding: 8bit".
8349 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
8350
8351 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
8352
8353 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
8354
8355 2010-01-22 Eli Zaretskii <eliz@gnu.org>
8356
8357 * jka-compr.el (jka-compr-load): If load-file is not in
8358 load-history, try its file-truename version. (bug#5447)
8359
8360 2010-01-21 Alan Mackenzie <acm@muc.de>
8361
8362 Fix a situation where deletion of a cpp construct throws an error.
8363 * progmodes/cc-engine.el (c-invalidate-state-cache):
8364 Before invoking c-with-all-but-one-cpps-commented-out, check that the
8365 special cpp construct is still in the buffer.
8366 (c-parse-state): Record the special cpp with markers, not numbers.
8367
8368 2010-01-21 Kenichi Handa <handa@m17n.org>
8369
8370 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
8371 process last-command-event, as it is now decoded first (Bug#5380).
8372
8373 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
8374
8375 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
8376
8377 2010-01-20 Glenn Morris <rgm@gnu.org>
8378
8379 * indent.el (tab-always-indent): Fix custom-type.
8380
8381 2010-01-19 Alan Mackenzie <acm@muc.de>
8382
8383 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
8384 buffer throws "args out of range".
8385 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
8386 playing the role of delimiter.
8387
8388 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
8389
8390 * progmodes/ada-mode.el: Fix bug#5400.
8391 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
8392 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
8393 changed. Delete RECURSIVE parameter; never used. Improve doc string.
8394 Improve comments in "is" portion. Handle null procedure declaration.
8395 (ada-move-to-end): Improve doc string.
8396
8397 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
8398
8399 * ido.el (ido-cur-list): Initialize to nil.
8400 Remove obsolete information from commentary.
8401 (ido-choice-list): Initialize to nil.
8402 (ido-get-bufname): Reject minibuffers.
8403 (ido-make-buffer-list): If "default" is a nonexistent
8404 buffer, ignore it, as per the function's comment.
8405 (ido-kill-buffer-internal): New function.
8406 (ido-kill-buffer-at-head): Use it.
8407 (ido-visit-buffer): Likewise.
8408
8409 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
8410
8411 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
8412
8413 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
8414
8415 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
8416 Fix typos in chart titles.
8417
8418 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
8419 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
8420 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
8421 (describe-class, eieio-describe-generic, describe-generic):
8422 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
8423 (eieio-speedbar-expand):
8424 * emulation/viper-cmd.el (viper-exec-form-in-vi)
8425 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
8426 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
8427 (viper-del-backward-char-in-replace, viper-backward-indent)
8428 (viper-brac-function, viper-register-to-point, viper-submit-report):
8429 * net/tramp.el (tramp-remote-coding-commands):
8430 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
8431 Fix typos in docstrings.
8432
8433 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
8434
8435 * mail/sendmail.el (mail-yank-original): Set the mark if the
8436 specified function for yanking does not do it.
8437
8438 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
8439
8440 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
8441
8442 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
8443 resyncing a directory.
8444
8445 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
8446
8447 * progmodes/ada-mode.el: Fix bug#1920.
8448 (ada-ident-re): Delete ., allow multibyte characters.
8449 (ada-goto-label-re): New; matches goto labels.
8450 (ada-block-label-re): New; matches block labels.
8451 (ada-label-re): New; matches both.
8452 (ada-named-block-re): Deleted; callers changed to use
8453 `ada-block-label-re' instead.
8454 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
8455 Use `ada-block-label-re'.
8456 (ada-indent-on-previous-lines): Improve handling of goto labels.
8457 (ada-get-indent-block-start): Special-case block label.
8458 (ada-get-indent-label): Split into `ada-indent-block-label' and
8459 `ada-indent-goto-label'.
8460 (ada-goto-stmt-start, ada-goto-next-non-ws):
8461 Optionally ignore goto labels.
8462 (ada-goto-next-word): Simplify.
8463 (ada-indent-newline-indent-conditional): Insert newline before
8464 trying to fix indentation; doc fix.
8465
8466 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
8467
8468 * calc/calc.el (calc-command-flags): Give it an initial value.
8469
8470 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
8471
8472 * files.el (minibuffer-with-setup-hook):
8473 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
8474 (artist-key-draw-continously, artist-key-do-continously-continously)
8475 (artist-key-set-point-continously, artist-mouse-draw-continously):
8476 Fix typos in docstrings.
8477
8478 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
8479
8480 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
8481 return t (Bug#3898).
8482
8483 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
8484
8485 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
8486 can parse the output of the external commands (Bug#5279).
8487
8488 2010-01-16 Jari Aalto <jari.aalto@cante.net>
8489
8490 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
8491
8492 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
8493
8494 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
8495
8496 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
8497
8498 * startup.el (command-line): Remove unused --icon-type arg.
8499 Handle --display arg, passing it to command-line-1 (Bug#5392).
8500
8501 2010-01-16 Mario Lang <mlang@delysid.org>
8502
8503 * emacs-lisp/chart.el (chart-translate-namezone):
8504 * textmodes/artist.el (artist-compute-popup-menu-table):
8505 Remove duplicated words in doc-strings.
8506
8507 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
8508
8509 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
8510 to mairix-search to suppress threading (Bug#5342).
8511
8512 2010-01-15 Kenichi Handa <handa@m17n.org>
8513
8514 * international/mule-cmds.el (canonicalize-coding-system-name):
8515 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
8516
8517 2010-01-15 Glenn Morris <rgm@gnu.org>
8518
8519 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
8520
8521 * wid-edit.el (widget-keymap): Doc fix.
8522
8523 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
8524 former seems to be more widely accepted by various svn versions.
8525
8526 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8527
8528 * find-cmd.el (find-constituents):
8529 * vc-arch.el (vc-arch-root):
8530 * window.el (window-body-height, pop-up-frames):
8531 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
8532 * progmodes/ada-stmt.el (ada-if):
8533 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
8534 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
8535 (ispell-encoding8-command, ispell-aspell-supports-utf8)
8536 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
8537
8538 * progmodes/flymake.el (flymake-post-syntax-check):
8539 Fix typo in error message.
8540
8541 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8542
8543 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
8544 which is always a string. (Bug#5313)
8545
8546 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8547
8548 * progmodes/ada-xref.el (ada-default-prj-properties):
8549 Simplify previous change.
8550
8551 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8552
8553 * progmodes/ada-xref.el (ada-default-prj-properties):
8554 Default ada_project_path to $ADA_PROJECT_PATH.
8555
8556 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8557
8558 * progmodes/ada-mode.el (ada-create-keymap):
8559 Override `narrow-to-defun' with `ada-narrow-to-defun'.
8560
8561 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8562
8563 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
8564 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
8565 (ada-get-current-indent, ada-imenu-generic-expression)
8566 (ada-which-function): Check for it.
8567
8568 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8569
8570 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
8571 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
8572
8573 2010-01-14 Glenn Morris <rgm@gnu.org>
8574
8575 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
8576
8577 2010-01-14 Kenichi Handa <handa@m17n.org>
8578
8579 * composite.el (auto-composition-mode): Make it a buffer local
8580 variable (permanent-local).
8581 (auto-composition-function): Set the default value to
8582 auto-compose-chars.
8583 (auto-composition-mode): Make it a simple function, not a minor mode.
8584 (global-auto-composition-mode): Likewise.
8585 (turn-on-auto-composition-if-enabled): Delete it.
8586
8587 2010-01-13 Karl Fogel <kfogel@red-bean.com>
8588
8589 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
8590
8591 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
8592
8593 * files.el (copy-directory): Compute target for recursive
8594 directories with identical names. (Bug#5343)
8595
8596 2010-01-12 Glenn Morris <rgm@gnu.org>
8597
8598 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
8599 it to bug-gnu-emacs rather than emacs-pretest-bug.
8600
8601 2010-01-11 Sam Steingold <sds@gnu.org>
8602
8603 * imenu.el (imenu-default-create-index-function): Detect infinite
8604 loops caused by imenu-prev-index-position-function.
8605
8606 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8607
8608 * htmlfontify.el (htmlfontify-load-rgb-file)
8609 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
8610 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
8611 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
8612 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
8613 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
8614 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
8615 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
8616 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
8617 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
8618 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
8619 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
8620 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
8621 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
8622 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
8623 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
8624 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
8625 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
8626 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
8627 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
8628 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
8629 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
8630 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
8631 backslash-quoting from parentheses, etc.
8632
8633 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
8634
8635 * progmodes/js.el: Autoload javascript-mode alias.
8636
8637 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8638
8639 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
8640 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
8641 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
8642 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
8643 Fix typos in docstrings.
8644 (ffap-url-regexp): Doc fix.
8645 (ffap-at-mouse): Fix typo in message.
8646
8647 2010-01-11 Glenn Morris <rgm@gnu.org>
8648
8649 * version.el (emacs-copyright): Set copyright year to 2010.
8650
8651 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
8652
8653 * format.el (format-annotate-function): Only set
8654 write-region-post-annotation-function after running to-fn so as not to
8655 affect nested write-region calls (bug#5273).
8656
8657 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
8658
8659 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
8660 wisent/python.el.
8661
8662 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8663
8664 * man.el (Man-goto-section): Signal error if the section is not
8665 found (Bug#5317).
8666
8667 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
8668
8669 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
8670 URLs with a leading triple slash in the file: scheme. (Bug#5345)
8671
8672 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8673
8674 * progmodes/compile.el: Don't treat compile-command as safe if
8675 compilation-read-command might be nil (Bug#4218).
8676
8677 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
8678
8679 * startup.el (command-line-1): Use orig-argi to check for ignored X and
8680 NS options.
8681
8682 2010-01-08 Kenichi Handa <handa@m17n.org>
8683
8684 * international/fontset.el (build-default-fontset-data):
8685 Exclude characters in scripts kana, hangul, han, or cjk-misc.
8686
8687 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
8688
8689 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
8690 to `create-file-buffer' as it expects, not just a buffer name.
8691 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
8692 to help uniquify. (Bug#3224)
8693
8694 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
8695
8696 * font-setting.el (font-setting-change-default-font): Use user-spec
8697 instead of name.
8698
8699 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
8700
8701 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
8702
8703 2010-01-05 Tom Tromey <tromey@redhat.com>
8704
8705 * progmodes/python.el (python-font-lock-keywords):
8706 Handle qualified decorators (Bug#881).
8707
8708 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8709
8710 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
8711 in a lightweight checkout.
8712
8713 2010-01-05 Kenichi Handa <handa@m17n.org>
8714
8715 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
8716
8717 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8718
8719 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
8720
8721 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
8722
8723 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
8724 checkouts. (Bug#618)
8725 (vc-bzr-log-view-mode): Also highlight the author.
8726 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
8727 (vc-bzr-shelve-menu-map):
8728 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
8729 (vc-bzr-shelve-apply): Make prompt more explicit.
8730
8731 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
8732
8733 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
8734 They are valid characters in URL paths (rfc3986), and at least
8735 Firefox does not understand the encoded version (Bug#3166).
8736
8737 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
8738
8739 * progmodes/octave-mod.el (octave-end-keywords)
8740 (octave-block-begin-or-end-regexp, octave-block-match-alist):
8741 Add "end" keyword (Bug#3061).
8742 (octave-end-as-array-index-p): New function.
8743 (calculate-octave-indent): Use it.
8744
8745 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8746
8747 * bookmark.el: Consistently put the text property on the bookmark name.
8748 (bookmark-bmenu-marks-width): Bump back to 2, to include
8749 annotation marks.
8750 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
8751 property on the bookmark name, instead of not putting it at all.
8752 (bookmark-bmenu-list): Fix where we put the text property.
8753
8754 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8755
8756 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
8757 for showing buffer modified state (as added in the previous change).
8758
8759 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8760
8761 * bookmark.el: Show modified state of bookmark buffer more accurately.
8762 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
8763 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
8764 (with-buffer-modified-unmodified): New macro.
8765 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
8766 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
8767 Use new macro to preserve the buffer modified state.
8768
8769 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8770
8771 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
8772 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
8773 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
8774 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
8775 (bookmark-bmenu-rename, bookmark-bmenu-locate)
8776 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
8777 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
8778
8779 2010-01-02 Eli Zaretskii <eliz@gnu.org>
8780
8781 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8782 Make the lines in the generated doc string shorter. (Bug#4668)
8783
8784 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
8785
8786 * net/rcirc.el: Add follow-link binding (Bug#4738).
8787
8788 2010-01-02 Eli Zaretskii <eliz@gnu.org>
8789
8790 * Makefile.in (bzr-update): Rename from cvs-update.
8791 (cvs-update): New target for backward compatibility.
8792
8793 * makefile.w32-in (bzr-update): Rename from cvs-update.
8794 (cvs-update): New target for backward compatibility.
8795
8796 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8797
8798 * bookmark.el: Remove gratuitous gratitude.
8799
8800 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8801
8802 * bookmark.el (bookmark-bmenu-any-marks): New function.
8803 (bookmark-bmenu-save): Clear buffer modification if no marks.
8804
8805 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8806
8807 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
8808 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
8809 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
8810 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
8811
8812 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
8813 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
8814 To: emacs-devel {_AT_} gnu.org
8815 Subject: bookmark.el bug report
8816 Date: Mon, 28 Dec 2009 14:19:16 +0800
8817 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
8818
8819 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8820
8821 * bookmark.el: Improvements suggested by Drew Adams:
8822 (bookmark-bmenu-ensure-position): New name for
8823 `bookmark-bmenu-check-position'. Just ensure the position,
8824 don't return any meaningful value.
8825 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
8826 New constants.
8827
8828 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
8829
8830 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
8831 (bookmark-yank-point, bookmark-bmenu-check-position):
8832 Fix typos in docstrings.
8833 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
8834 (bookmark-name-from-full-record, bookmark-get-position)
8835 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
8836 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
8837 Remove useless quoting of parenthesis, etc. in docstrings.
8838
8839 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
8840 (ediff-append-custom-diff): Fix typo in error message.
8841 (ediff-meta-mark-equal-files): Fix typos in messages.
8842
8843 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
8844
8845 * net/imap-hash.el (imap-hash-make): Doc fix.
8846 (imap-hash-test): Fix typo in error message; reflow docstring.
8847 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
8848 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
8849 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
8850 Fix typos in docstrings.
8851 (imap-hash-open-connection): Fix typo in error message.
8852
8853 * play/gomoku.el (gomoku): Fix typos in docstring.
8854
8855 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
8856 (gdb-jsonify-buffer): Fix typos in docstring.
8857 (gdb-goto-breakpoint): Fix typo in error message.
8858 ("Display Other Windows"): Fix typo in help message.
8859 (gdb-speedbar-expand-node): Fix typo in question.
8860
8861 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
8862 (idlwave-html-system-help-location, idlwave-html-help-location)
8863 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
8864 (idlwave-help-browser-generic-args, idlwave-help-directory)
8865 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
8866 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
8867 (idlwave-online-help, idlwave-help-html-link)
8868 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
8869 Fix typos in docstrings.
8870 (idlwave-help-with-source, idlwave-help-find-routine-definition):
8871 Reflow docstrings.
8872 (idlwave-help-assistant-start): Fix typo in error message.
8873
8874 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
8875 (octave-electric-space): Fix typos in docstrings.
8876
8877 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
8878
8879 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
8880
8881 2010-01-01 Juri Linkov <juri@jurta.org>
8882
8883 * comint.el (comint-input-ring-size): Make it a defcustom and
8884 increase the default to 500 (Bug#5148).
8885
8886 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
8887
8888 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
8889 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
8890 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
8891
8892 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
8893
8894 Show working revision correctly for mercurial.
8895 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
8896 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
8897
8898 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
8899
8900 Declare some functions for the byte-compiler.
8901 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
8902 (speedbar-timer-fn, speedbar-change-expand-button-char)
8903 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
8904
8905 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
8906
8907 This changeset reverts GDB Graphical Interface to use annotations.
8908 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
8909
8910 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
8911
8912 Make vc-dir work on subdirectories of the bzr root.
8913 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
8914 file names relative to it.
8915 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8916 relative directory to vc-bzr-after-dir-status.
8917
8918 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
8919
8920 * font-lock.el (font-lock-refresh-defaults): New function, which
8921 can be used to let font-lock react to external changes in
8922 variables like font-lock-defaults and keywords.
8923 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8924
8925 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
8926
8927 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8928
8929 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8930
8931 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
8932
8933 Supersede color.diff settings in git log (bug#5211).
8934
8935 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8936 escape chars in its output when the user has color.diff set to `always'.
8937 This fix works on git 1.4.2 and newer (released on 2006-08-13).
8938
8939 2009-12-26 Kevin Ryde <user42@zip.com.au>
8940
8941 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8942 node. Keep previous "Index" name to work with past coreutils too.
8943
8944 * man.el (man): Revise docstring a bit to show -a and -l as
8945 examples. Add -k description since support for it has otherwise
8946 been a secret. (Further to bug#3717.)
8947 (Man-bgproc-sentinel): When "-k foo" produces no output show error
8948 "no matches" rather than "Can't find manpage", as the latter reads
8949 like -k was interpreted as a page name, which is not so. (Bug#5431)
8950
8951 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
8952
8953 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8954 switches. Check also for //SUBDIRED// line.
8955
8956 2009-12-25 Kenichi Handa <handa@m17n.org>
8957
8958 * language/indian.el (devanagari-composable-pattern): Fixed to
8959 handle ZWNJ and ZWJ. Use it in composition-function-table for
8960 Devanagari.
8961 (malayalam-composable-pattern): Fix previous change.
8962
8963 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8964
8965 * ps-print.el (ps-face-attributes): It was not returning the
8966 attribute face for faces specified as string. Reported by harven
8967 <harven@free.fr>. (Bug#5254)
8968 (ps-print-version): New version 7.3.5.
8969
8970 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
8971
8972 * calendar/icalendar.el (icalendar--convert-tz-offset):
8973 Fix timezone names.
8974 (icalendar--convert-tz-offset): Fix the "last-day-problem".
8975 (icalendar--add-diary-entry): Remove the trailing blank that
8976 diary-make-entry inserts.
8977
8978 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
8979
8980 Make `file-expand-wildcards' work for remote files.
8981
8982 * files.el (file-expand-wildcards): In case of remote files, check
8983 only local file name part for wildcards. Provide feature 'files
8984 and subfeature 'remote-wildcards. (Bug#5198)
8985
8986 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8987 if there is already an established connection.
8988 (tramp-advice-file-expand-wildcards): Remove it.
8989
8990 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8991 (tramp-advice-file-expand-wildcards): Move from tramp.el.
8992 Activate advice for older GNU Emacs versions. (Bug#5237)
8993
8994 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
8995
8996 Some doc fixes (more needed).
8997
8998 * find-cmd.el (find-constituents): Reflow docstring.
8999 (find-cmd, find-prune, find-command): Fix typos in docstrings.
9000 (find-generic): Doc fix.
9001
9002 2009-12-17 Juri Linkov <juri@jurta.org>
9003
9004 Fix regression from 23.1 to allow multiple modes in Local Variables.
9005
9006 * files.el (hack-local-variables-filter): While ignoring duplicates,
9007 don't take `mode' into account.
9008 (hack-local-variables-filter, hack-dir-local-variables):
9009 Don't remove duplicate `mode' from local-variables-alist (like `eval').
9010
9011 2009-12-17 Juri Linkov <juri@jurta.org>
9012
9013 Make `dired-diff' safer. (Bug#5225)
9014
9015 * dired-aux.el (dired-diff): Signal an error when `file' equals to
9016 `current' or when `file' is a directory of the `current' file.
9017
9018 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
9019
9020 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9021 unconditionally preloaded files.
9022
9023 2009-12-16 Juri Linkov <juri@jurta.org>
9024
9025 Revert to old 23.1 logic of using the file at the mark as default.
9026 * dired-aux.el (dired-diff): Use the file at the mark as default
9027 if it's not the same as the current file, and the target dir is
9028 the current dir or the mark is active. Add the current file
9029 as the arg of `dired-dwim-target-defaults'. Use the default file
9030 in the prompt. (Bug#5225)
9031
9032 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
9033
9034 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9035 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9036 (tramp-check-for-regexp): Check also, when an echoing shell stops
9037 to echo sent commands.
9038
9039 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9040
9041 * Makefile.in: Revert last change (Bug#5191).
9042
9043 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
9044
9045 * vc-hg.el (vc-hg-print-log): Fix argument order.
9046 (vc-hg-working-revision): Make sure the command is executed in a
9047 known environment so that we can parse the output. (Bug#4417)
9048
9049 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9050
9051 * progmodes/python.el (python-symbol-completions): Remove text
9052 properties from symbol string before calling python-send-receive.
9053
9054 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
9055
9056 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9057 when there are values for both file and line. (Bug#5060)
9058
9059 2009-12-14 Juri Linkov <juri@jurta.org>
9060
9061 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
9062 whitespace after the file name of the first line of unified format,
9063 because git-diff doesn't output whitespace and file modification time
9064 after the file name.
9065
9066 2009-12-14 David Kastrup <dak@gnu.org>
9067
9068 * info.el (Info-hide-cookies-node): Before hiding a cookie,
9069 check if it already has the `display' property added by
9070 `Info-display-images-node', and not put the `invisible' property
9071 in this case.
9072
9073 2009-12-13 Glenn Morris <rgm@gnu.org>
9074
9075 * mail/emacsbug.el (message-sort-headers): Define for compiler.
9076 (report-emacs-bug): In message-mode, sort manually before storing
9077 original report text. (Bug#5178)
9078 Remove superfluous save-excursion.
9079
9080 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
9081
9082 * net/dbus.el (dbus-property-handler): Filter lambda forms out
9083 when responding to "GetAll" properties.
9084
9085 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
9086
9087 * simple.el (compose-mail): Remove mail-setup-with-from from
9088 customization checks.
9089
9090 2009-12-12 Eli Zaretskii <eliz@gnu.org>
9091
9092 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
9093 RAR archives created on Unix systems.
9094
9095 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
9098 the varalias that was accidentally removed by the 2009-11-19 change
9099 (bug#5186).
9100
9101 2009-12-12 Kenichi Handa <handa@m17n.org>
9102
9103 * language/indian.el (indian-compose-regexp): New function.
9104 (malayalam-composable-pattern): Fix the pattern.
9105 (composition-function-table): Set malayalam-composable-pattern for
9106 Malayalam characters.
9107
9108 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
9109
9110 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
9111 rather than down-mouse-1, based on follow-link conventions.
9112
9113 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
9114 are compiled.
9115
9116 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
9117
9118 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
9119 (verilog-vmm-statement-re, verilog-ovm-statement-re)
9120 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
9121 (verilog-leap-to-head, verilog-backward-token):
9122 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
9123
9124 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
9125
9126 * progmodes/verilog-mode.el (verilog-auto-lineup)
9127 (verilog-nameable-item-re): Cleanup user-visible spelling and
9128 documentation errors. One reported by Gary Delp.
9129 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9130 (verilog-read-decls): Fix AUTOWIRE with types declared in a
9131 package, bug195. Reported by Pierre-David Pfister.
9132
9133 2009-12-11 Glenn Morris <rgm@gnu.org>
9134
9135 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9136
9137 * mail/emacsbug.el: No longer require sendmail.
9138 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
9139 (report-emacs-bug-orig-text): Doc fix.
9140 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9141 New local variables, to adapt to different mail-user-agents.
9142 (report-emacs-bug): Fix test for a gnu.org address.
9143 Use overlays for emphasis, since font-lock defeats 'face property.
9144 Pretest bugs also end up at the newsgroup these days.
9145 Stop message-mode stripping text properties.
9146 Set and use the new buffer-local variables.
9147 (report-emacs-bug-hook): Add doc-string.
9148 Remove some unnecessary save-excursions and simplify.
9149 Use the appropriate hook and send-command.
9150
9151 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9152 capitalization of some menu entries.
9153
9154 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9155
9156 * whitespace.el (whitespace-display-char-on):
9157 Ensure `buffer-display-table' is unique when two or more windows are
9158 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9159 New version 12.1.
9160
9161 2009-12-10 Eli Zaretskii <eliz@gnu.org>
9162
9163 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9164 characters in the Attribute field.
9165
9166 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
9167
9168 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
9169
9170 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9173 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9174 Disregard autoload-excludes.
9175 (update-directory-autoloads): Obey autoload-excludes here instead.
9176 But don't store its contents in no-autoloads and remove entries that
9177 refer to excludes files.
9178
9179 2009-12-10 Glenn Morris <rgm@gnu.org>
9180
9181 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9182 (expand-mail-aliases): Define for compiler.
9183
9184 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9185 Define for compiler.
9186
9187 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9188 appropriate for the mail-user-agent in use.
9189
9190 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
9191
9192 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9193
9194 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
9195
9196 Fix short log parsing and fontification.
9197 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9198 Fix fontification for the [merge] label.
9199
9200 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
9201
9202 Drop some properties to avoid surprises (bug#5002).
9203 * htmlfontify.el (hfy-ignored-properties): New defcustom.
9204 (hfy-fontify-buffer): Use it.
9205
9206 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 Minor cleanup.
9209 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9210 Adjust all callers.
9211 (ffap-locate-file): Remove unused arg `dir-ok' and make other
9212 args compulsory. Adjust callers.
9213 (ffap-gopher-at-point): Remove unused var `name'.
9214
9215 Get rid of the ELCFILES abomination.
9216 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9217 (compile-elcfiles): New phony target.
9218 (compile-main): Compute ELCFILES dynamically.
9219 (compile-clean): New target to remove left-over elc files.
9220 (compile, all): Use it.
9221
9222 2009-12-09 Kenichi Handa <handa@etlken>
9223
9224 * international/mule-diag.el: Require help-mode instead of help-fns.
9225
9226 2009-12-09 Kenichi Handa <handa@m17n.org>
9227
9228 * international/mule-cmds.el (ucs-names): Supply sufficiently
9229 fine ranges instead of pre-calculating accurate ranges.
9230 Iterate with bigger gc-cons-threshold.
9231
9232 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
9233
9234 Add support for stashing a snapshot of the current tree.
9235 * vc-git.el (vc-git-stash-snapshot): New function.
9236 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9237
9238 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
9239
9240 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9241 instead of `(beginning|end)-of-line'.
9242
9243 2009-12-08 Glenn Morris <rgm@gnu.org>
9244
9245 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9246
9247 * Makefile.in (ELCFILES): Regenerate.
9248
9249 2009-12-07 Juri Linkov <juri@jurta.org>
9250
9251 Don't lazy-highlight the comint output in history Isearch mode.
9252
9253 * comint.el (comint-history-isearch-search): Instead of
9254 `comint-line-beginning-position', use `comint-after-pmark-p'
9255 to check if point if before the process mark, and go to
9256 `process-mark' in this case.
9257
9258 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * textmodes/tex-mode.el (latex-complete)
9261 (latex-indent-or-complete): Remove.
9262 (latex-mode): Set completion-at-point-functions instead.
9263
9264 Provide a standard completion command and hook it into TAB.
9265 * minibuffer.el (completion-at-point-functions): New var.
9266 (completion-at-point): New command.
9267 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
9268 * progmodes/python.el (python-mode-map): Use completion-at-point.
9269 (python-completion-at-point): Rename from python-partial-symbol and
9270 adjust for use in completion-at-point-functions.
9271 (python-mode): Setup completion-at-point for Python completion.
9272 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
9273 extracted from lisp-complete-symbol.
9274 (lisp-complete-symbol): Use it.
9275 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
9276 setup completion-at-point for Elisp completion.
9277 (emacs-lisp-mode-map, lisp-interaction-mode-map):
9278 Use completion-at-point.
9279 * ielm.el (ielm-map): Use completion-at-point.
9280 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
9281 * progmodes/sym-comp.el: Move to...
9282 * obsolete/sym-comp.el: Move from progmodes.
9283
9284 2009-12-07 Eli Zaretskii <eliz@gnu.org>
9285
9286 Prevent save-buffer in Rmail buffers from using the coding-system
9287 of the current message, and from clobbering the encoding mnemonics
9288 in the mode line (Bug#4623).
9289
9290 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
9291 flag, too.
9292 (rmail-message-encoding): New variable.
9293 (rmail-write-region-annotate): Record the encoding of the current
9294 message in rmail-message-encoding.
9295 (rmail-after-save-hook): New function, restores the encoding of
9296 the current message after the message collection is saved.
9297
9298 2009-12-07 Juri Linkov <juri@jurta.org>
9299
9300 * progmodes/grep.el (grep-read-files): Use `completing-read'
9301 instead of `read-string'. Set its `collection' arg to
9302 `read-file-name-internal'. (Bug#4301)
9303
9304 2009-12-07 Juri Linkov <juri@jurta.org>
9305
9306 Correctly restore original Isearch point. (Bug#4994)
9307
9308 * isearch.el (isearch-mode): Move `isearch-push-state' after
9309 `(run-hooks 'isearch-mode-hook)'.
9310 (isearch-cancel): When `isearch-push-state-function' is defined,
9311 let-bind `isearch-cmds' to the first state (the last element of
9312 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
9313 function and restores the original point). Otherwise, move point
9314 to `isearch-opoint'.
9315
9316 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
9319 chars that don't have names, so the table can be built much faster at
9320 run-time.
9321
9322 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
9323
9324 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
9325 change. Suggested by David Kastrup.
9326
9327 * simple.el (compose-mail): Check for incompatibilities and warn.
9328 (compose-mail-user-agent-warnings): New option.
9329
9330 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9331
9332 Support showing a single log entry from vc-annotate.
9333 * vc.el (print-log): Add a new argument: START-REVISION.
9334 (vc-print-log-internal): Add a new optional argument and
9335 pass it to the backend.
9336 (vc-print-log, vc-print-root-log): Adjust callers.
9337 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
9338 buffer already displays the requested log entry, use it.
9339 Otherwise display only the log entry in question.
9340 * vc-svn.el (vc-svn-print-log):
9341 * vc-mtn.el (vc-mtn-print-log):
9342 * vc-hg.el (vc-hg-state):
9343 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
9344 (vc-git-show-log-entry): Return t on success.
9345 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
9346 (vc-bzr-show-log-entry): Return t on success.
9347 * vc-rcs.el (vc-rcs-print-log):
9348 * vc-sccs.el (vc-sccs-print-log):
9349 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
9350
9351 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9352
9353 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
9354 Add menus to the meta mode. (Bug#5043)
9355
9356 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
9357
9358 * ediff-init.el (ediff-event-key): Use event-to-character instead of
9359 event-key.
9360
9361 * ediff.el (ediff-buffers-internal): Add unwind-protect.
9362
9363 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
9364
9365 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
9366 Berbain <raphael.berbain@gmail.com>.
9367
9368 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
9369 characters.
9370 (tramp-initial-end-of-output): New defconst.
9371 (tramp-methods, tramp-find-shell)
9372 (tramp-open-connection-setup-interactive-shell)
9373 (tramp-maybe-open-connection): Use it.
9374 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
9375 existence of `#' and `$'.
9376
9377 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
9378 `tramp-initial-end-of-output'.
9379
9380 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9381
9382 Get the background mode from the terminal for xterm, and set
9383 faces accordingly.
9384 * term/xterm.el (xterm-set-background-mode): New function.
9385 (terminal-init-xterm): Use it in case xterm supports background
9386 color queries. Recompute faces after getting the background
9387 color.
9388
9389 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
9390
9391 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
9392 number comment back on its own line, for easier parsing.
9393
9394 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 Make it work for non-file buffers (bug#5102).
9397 * doc-view.el (doc-view-current-cache-dir):
9398 Use doc-view-buffer-file-name rather than buffer-file-name.
9399 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
9400
9401 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
9402
9403 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
9404 author field is too short.
9405
9406 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
9407
9408 * vc-git.el (vc-git-print-log): Handle a limit argument.
9409 Display the short log in graph form and with labels.
9410 (vc-git-log-view-mode): Handle labels.
9411
9412 Make vc-revert change VC state from 'added to 'unregistered.
9413 * vc-git.el (vc-git-revert): Call git reset first.
9414
9415 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9416
9417 * net/newst-backend.el, net/newst-plainview.el:
9418 * net/newst-reader.el, net/newst-ticker.el:
9419 * net/newst-treeview.el, net/newsticker.el:
9420 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
9421
9422 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9423
9424 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
9425
9426 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
9427 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
9428 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
9429 Update annotation regexp.
9430
9431 * simple.el (beginning-of-visual-line): Constrain to field
9432 boundaries (Bug#5106).
9433
9434 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9435
9436 * xml.el (xml-substitute-numeric-entities): Move
9437 newsticker--decode-numeric-entities in newst-backend.el to
9438 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9439 * net/newst-backend.el (newsticker--parse-generic-feed)
9440 (newsticker--parse-generic-items)
9441 (newsticker--decode-numeric-entities): Move
9442 newsticker--decode-numeric-entities in newst-backend.el to
9443 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9444
9445 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
9446
9447 * progmodes/js.el (js--js-not): Add null to the list of values.
9448
9449 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9450
9451 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
9452
9453 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9454
9455 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
9456 delimiter if it is at the end of the current line.
9457 (bibtex-generate-url-list): Fix docstring.
9458
9459 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9460
9461 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
9462 minibuffer's content with itself.
9463 Fold the confirm-after-completion case into the `confirm' case.
9464 (completion-pcm-word-delimiters): Add : and / to the delimiters.
9465
9466 2009-12-06 Kevin Ryde <user42@zip.com.au>
9467
9468 * ffap.el (ffap-rfc-path): Make this a defcustom since
9469 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
9470
9471 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
9472 manuals, similar to existing setup for help-mode. (Bug#3913.)
9473
9474 2009-12-05 Juri Linkov <juri@jurta.org>
9475
9476 Save and restore dired buffer's point positions too. (Bug#4880)
9477
9478 * dired.el (dired-save-positions): Return in the first element
9479 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
9480 Doc fix.
9481 (dired-restore-positions): First restore buffer's position.
9482 While restoring window's positions, check if window still displays
9483 the original buffer.
9484
9485 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
9486
9487 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
9488 if possible.
9489
9490 * shell.el (shell): Require ansi-color (Bug#5113).
9491
9492 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
9493
9494 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
9495
9496 2009-12-05 Alan Mackenzie <acm@muc.de>
9497
9498 * progmodes/cc-mode.el (c-before-hack-hook)
9499 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
9500 `c-file-style' to work again. This reversion restores the current
9501 software to its state in Emacs 23.1. (Bug#4146)
9502
9503 2009-12-05 Kevin Ryde <user42@zip.com.au>
9504
9505 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
9506 comment-start-skip to comment-end-skip as comment (Bug#4781).
9507
9508 2009-12-05 Juri Linkov <juri@jurta.org>
9509
9510 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
9511 for virtual nodes. (Bug#4147)
9512 (Info-find-node-2): Set `Info-current-node-virtual' to nil
9513 when moving from a virtual node.
9514 (Info-mode-menu): Add `Info-virtual-index' to the menu.
9515 (Info-mode): Add `Info-virtual-index' to the docstring.
9516
9517 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9518
9519 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
9520 track of the buffer position of the end of a BibTeX entry as this
9521 position may change during reformatting.
9522 (bibtex-format-entry): Remove whitespace before processing
9523 numerical fields so that we recognize the latter properly.
9524 (bibtex-reformat): Do not use push which changes the global value
9525 of bibtex-entry-format.
9526 (bibtex-field-braces-alist, bibtex-field-strings-alist)
9527 (bibtex-field-re-init): Replace only space characters by regexp
9528 for whitespace.
9529 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
9530 (bibtex-initialize): Also update bibtex-strings.
9531 (bibtex-kill-field): Preserve white space at end of entry.
9532 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
9533 Update bibtex-reference-keys.
9534
9535 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * minibuffer.el (completion-pcm--merge-try): Also consider placing
9538 point after a star, if that's the only place where modifications can
9539 make progress.
9540
9541 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
9542
9543 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
9544 in docstrings.
9545
9546 2009-12-04 Juri Linkov <juri@jurta.org>
9547
9548 * proced.el (proced): Call `(proced-update t)' to update process
9549 information instead of only running proced-post-display-hook.
9550 (proced-send-signal): Add a leading space to the buffer name
9551 " *Marked Processes*" to make this buffer ephemeral.
9552
9553 2009-12-04 Juri Linkov <juri@jurta.org>
9554
9555 * dired.el (dired-auto-revert-buffer): New defcustom.
9556 (dired-internal-noselect): Use it.
9557
9558 2009-12-04 Juri Linkov <juri@jurta.org>
9559
9560 Change roles of modes and functions in image-mode.el (Bug#5062).
9561
9562 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
9563 in `auto-mode-alist'.
9564 (image-mode-previous-major-mode): New variable.
9565 (image-minor-mode-map): Rename from `image-mode-text-map'.
9566 (image-mode): Move graceful error-handling code from
9567 `image-minor-mode' to here. On errors call `image-mode-as-text'.
9568 (image-minor-mode): Remove all image-handling code.
9569 Replace `image-mode-text-map' with `image-minor-mode-map'.
9570 Check for `image-type' in mode-line format string.
9571 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
9572 (image-mode-as-text): New function with most code from
9573 `image-mode-maybe'.
9574 (image-toggle-display-text): Move code that removes image
9575 properties from `image-toggle-display' to here.
9576 (image-toggle-display-image): New function with code that adds
9577 image properties copied from `image-toggle-display'.
9578 (image-toggle-display): Remove most code with leaving only code
9579 that toggles between `image-mode-as-text' and `image-mode'.
9580
9581 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
9582
9583 * net/newst-treeview.el
9584 (newsticker--treeview-list-highlight-start): Restored call to
9585 save-excursion: Selected item was stuck.
9586 (newsticker--treeview-list-select): New.
9587 (newsticker--treeview-item-show-text)
9588 (newsticker--treeview-item-show)
9589 (newsticker--treeview-item-update): Use new
9590 newsticker-treeview-item-mode.
9591 (newsticker-treeview-update): Keep current item.
9592 (newsticker-treeview-next-new-or-immortal-item): Doc change.
9593 (newsticker--treeview-first-feed): Doc change.
9594 (newsticker-treeview-list-menu)
9595 (newsticker-treeview-item-menu): Added menu entries.
9596 (newsticker-treeview-item-mode): New.
9597
9598 * net/newst-backend.el (newsticker-customize): Delete other
9599 windows.
9600
9601 2009-12-04 Sam Steingold <sds@gnu.org>
9602
9603 * log-view.el (log-view-mode-map): "q" calls quit-window,
9604 like in all the other non-self-insert buffers.
9605
9606 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 Minor cleanup.
9609 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
9610 key decoding rather than do it manually via last-input-event +
9611 ascii-character.
9612 (term-exec): Use delete-and-extract-region.
9613 (term-handle-ansi-terminal-messages): Remove unused var `end'.
9614 (term-process-pager): Remove unused var `i'.
9615 (term-dynamic-simple-complete): Make obsolete.
9616 (serial-update-config-menu): Remove unused vars `y' and `str'.
9617 (term-update-mode-line): Remove unused var `temp'.
9618
9619 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9620
9621 Limit the number of log entries displayed by default.
9622 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
9623 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
9624 using a prefix argument.
9625
9626 2009-12-03 Glenn Morris <rgm@gnu.org>
9627
9628 * progmodes/idlwave.el (class): Restore still useful declaration.
9629
9630 2009-12-03 Alan Mackenzie <acm@muc.de>
9631
9632 Enhance `c-parse-state' to run efficiently in "brace deserts".
9633
9634 * progmodes/cc-mode.el (c-basic-common-init):
9635 Call c-state-cache-init.
9636 (c-neutralize-syntax-in-and-mark-CPP): Rename from
9637 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
9638 placing `category' properties value 'c-cpp-delimiter at its boundaries.
9639
9640 * progmodes/cc-langs.el (c-before-font-lock-function):
9641 c-extend-and-neutralize-syntax-in-CPP has been renamed
9642 c-neutralize-syntax-in-and-mark-CPP.
9643
9644 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
9645 with `category' properties now, not `syntax-table' ones.
9646
9647 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
9648 enhanced (but slower) version of c-end-of-macro that won't land
9649 inside a literal or on another awkward character.
9650 (c-state-cache-too-far, c-state-cache-start)
9651 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
9652 (c-state-nonlit-pos-cache-limit, c-state-point-min)
9653 (c-state-point-min-lit-type, c-state-point-min-lit-start)
9654 (c-state-min-scan-pos, c-state-brace-pair-desert)
9655 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
9656 buffer local variables.
9657 (c-state-literal-at, c-state-lit-beg)
9658 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
9659 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
9660 (c-state-cache-top-paren, c-state-cache-after-top-paren)
9661 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
9662 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
9663 (c-renarrow-state-cache)
9664 (c-append-lower-brace-pair-to-state-cache)
9665 (c-state-push-any-brace-pair, c-append-to-state-cache)
9666 (c-remove-stale-state-cache)
9667 (c-remove-stale-state-cache-backwards, c-state-cache-init)
9668 (c-invalidate-state-cache-1, c-parse-state-1)
9669 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
9670 (c-parse-state): Enhance and refactor.
9671 (c-debug-parse-state): Amend to deal with all the new variables.
9672
9673 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
9674 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
9675 modify to use category text properties rather than syntax-table ones.
9676 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
9677 to switch off/on the syntactic paren property of C++ template
9678 delimiters using the category property.
9679 (c-with-<->-as-parens-suppressed): Macro to invoke code with
9680 template delims suppressed.
9681 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
9682 New constant/macros which apply category properties to the start
9683 and end of preprocessor constructs.
9684 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
9685 "comment out" the syntactic value of characters in preprocessor
9686 constructs.
9687 (c-with-cpps-commented-out)
9688 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
9689 with characters in all or all but one preprocessor constructs
9690 "commented out".
9691
9692 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9693
9694 * proced.el (proced-filter-alist): Use regexp-quote.
9695
9696 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
9697
9698 Cleanup.
9699 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
9700 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
9701 arguments. Expand `default-directory'.
9702
9703 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
9704 the benefit of returning an expanded localname.
9705 (tramp-tramp-file-p): Handle the case NAME is not a string.
9706
9707 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9708
9709 Add support for bzr shelve/unshelve.
9710 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9711 (vc-bzr-extra-menu-map): New variables.
9712 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
9713 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
9714 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
9715 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
9716 (vc-bzr-dir-extra-headers): Display shelves.
9717
9718 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
9719
9720 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * textmodes/bibtex.el (bibtex-complete-internal):
9723 Use completion-in-region.
9724 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
9725
9726 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9727
9728 Support applying stashes. Improve UI.
9729 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
9730 (vc-git-stash-apply, vc-git-stash-pop)
9731 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
9732 (vc-git-stash-menu): New functions.
9733 (vc-git-stash-menu-map): New variable.
9734 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
9735
9736 2009-12-03 Glenn Morris <rgm@gnu.org>
9737
9738 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
9739 (vc-print-log-internal): Fix previous change.
9740 (vc-revert): Correct pluralization.
9741
9742 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9743
9744 * progmodes/make-mode.el (makefile-special-targets-list): No need for
9745 it to be an alist any more.
9746 (makefile-complete): Use completion-in-region.
9747
9748 * progmodes/octave-mod.el (octave-complete-symbol):
9749 Use completion-in-region.
9750
9751 Misc cleanup.
9752 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
9753 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
9754 (idlwave-complete-class): Don't quote lambda.
9755 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
9756 (idlwave-mode-map): Move initialization into declaration.
9757 (idlwave-action-and-binding): Use backquotes.
9758 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
9759 Simplify.
9760 (idlwave-is-pointer-dereference): Remove unused var `pos'.
9761 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
9762 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
9763 `parts', and `all-parts'.
9764 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
9765 (idlwave-convert-xml-system-routine-info): Remove unused string
9766 `version-string'.
9767 (idlwave-display-user-catalog-widget): Use dolist.
9768 (idlwave-scanning-lib): Declare dynamically-scoped var.
9769 (idlwave-scan-library-catalogs): Remove unused var `flags'.
9770 (completion-highlight-first-word-only): Declare to silence bytecomp.
9771 (idlwave-popup-select): Tighten scope of `resp'.
9772 (idlwave-find-struct-tag): Remove unused var `beg'.
9773 (idlwave-after-load-rinfo-hook): Declare.
9774 (idlwave-sintern-class-info): Remove unused var `taglist'.
9775 (idlwave-find-class-definition): Remove unused var `list'.
9776 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
9777 (idlwave-what-module-find-class): Remove unused var `classes'.
9778
9779 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
9780
9781 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
9782
9783 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9784
9785 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
9786 buffers visited. Remove redundant current-buffer-saving.
9787
9788 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 Use completion-in-buffer and remove uses of dynamic scoping.
9791 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
9792 (pascal-buffer-to-use, pascal-flag): Don't declare.
9793 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
9794 (pascal-get-completion-decl, pascal-keyword-completion):
9795 Add `pascal-str' argument, save-excursion,
9796 return the found completions, and don't filter with pascal-pred.
9797 (pascal-completion-cache): New var.
9798 (pascal-completion): Don't switch buffer any more (it was never
9799 necessary). Don't save-excursion any more (it's done by the called
9800 subroutines). Use a cache to avoid redundant computations.
9801 Use complete-with-action rather than pascal-completion-response and
9802 let it apply the predicate as well.
9803 (pascal-complete-word): Use completion-in-buffer when
9804 pascal-toggle-completions is nil.
9805 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
9806 not used any more.
9807 (pascal-comp-defun): Don't change buffer any more.
9808 Use complete-with-action rather than pascal-completion-response and
9809 let it apply the predicate as well.
9810 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
9811 when neded.
9812
9813 2009-12-02 Kenichi Handa <handa@m17n.org>
9814
9815 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
9816 shape for all Indic scripts.
9817
9818 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 Use completion-in-buffer.
9821 * wid-edit.el (widget-field-text-end): New function.
9822 (widget-field-value-get): Use it.
9823 (widget-string-complete, widget-file-complete)
9824 (widget-color-complete): Use it and completion-in-region.
9825 (widget-complete): Don't narrow the buffer.
9826
9827 2009-12-02 Glenn Morris <rgm@gnu.org>
9828
9829 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
9830 (rmail-select-summary): Use rmail-pop-to-buffer.
9831 * mail/rmailsum.el: Replace all pop-to-buffer calls with
9832 rmail-pop-to-buffer, to prevent horizontal splits.
9833
9834 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
9835 save-excursion with save-current-buffer.
9836 Widen before searching. (Bug#5093)
9837 (diary-list-sexp-entries): Remove superfluous save-excursion.
9838
9839 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
9840
9841 * woman.el (woman-make-bufname): Handle man-pages with "." in the
9842 name. (Bug#5038)
9843
9844 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
9845
9846 * ido.el (ido-file-internal): Handle filenames at point that do
9847 not have a directory part. (Bug#5049)
9848
9849 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
9850
9851 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
9852 (mpc-songs-jump-to, mpc-resume): Doc fixes.
9853
9854 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
9855
9856 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
9857 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
9858 any more.
9859
9860 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9861
9862 * comint.el (comint-insert-input): Ignore clicks to the right of
9863 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
9864
9865 * vc.el (vc-print-log-internal): Don't wait for the process to
9866 terminate before setting up the major mode.
9867
9868 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
9869 in case.
9870
9871 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
9872 the last element.
9873
9874 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
9875
9876 2009-12-01 Glenn Morris <rgm@gnu.org>
9877
9878 * window.el (window--display-buffer-2): Fix previous changes.
9879
9880 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
9881
9882 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
9883
9884 2009-12-01 Glenn Morris <rgm@gnu.org>
9885
9886 * Makefile.in (ELCFILES): Add mpc.elc.
9887
9888 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9889
9890 * mpc.el: New file.
9891
9892 2009-12-01 Glenn Morris <rgm@gnu.org>
9893
9894 * window.el (window-to-use): Define for compiler.
9895
9896 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
9897 consistent with others (no final period).
9898
9899 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
9900 (rmail-mime-show): Downcase the encoding. (Bug#5070)
9901
9902 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
9903
9904 Make vc-print-log buttons work.
9905 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
9906
9907 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
9908
9909 * savehist.el (savehist-autosave-interval): Allow setting to nil
9910 through customize. (Bug#5056)
9911
9912 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
9913
9914 Fix references to jit-lock properties.
9915 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9916 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9917 (perl-font-lock-special-syntactic-constructs):
9918 Quote jit-lock-defer-multiline property.
9919
9920 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
9921
9922 * vc-git.el (vc-git-registered): Call vc-git-root only once.
9923
9924 2009-11-30 Juri Linkov <juri@jurta.org>
9925
9926 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9927 value `buffer' of `multi-isearch-next-buffer-current-function'.
9928 Use `(current-buffer)' when `buffer' is nil.
9929 (multi-isearch-next-buffer-from-list): Don't fallback to
9930 `(current-buffer)' when `buffer' is nil. (Bug#4947)
9931
9932 2009-11-30 Juri Linkov <juri@jurta.org>
9933
9934 * misearch.el (multi-isearch-read-buffers): Move canonicalization
9935 of buffers with `get-buffer' to `multi-isearch-buffers'.
9936 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9937 Canonicalize BUFFERS with `get-buffer'. Doc fix.
9938 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9939 FILES with `expand-file-name' converting relative file names
9940 to absolute. Doc fix. (Bug#4727)
9941
9942 2009-11-30 Juri Linkov <juri@jurta.org>
9943
9944 * misearch.el (multi-isearch-read-buffers)
9945 (multi-isearch-read-matching-buffers): New functions.
9946 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9947 Use them in the `interactive' spec. Doc fix.
9948 (multi-isearch-read-files, multi-isearch-read-matching-files):
9949 New functions.
9950 (multi-isearch-files, multi-isearch-files-regexp):
9951 Use them in the `interactive' spec. Doc fix. (Bug#4725)
9952
9953 2009-11-30 Juri Linkov <juri@jurta.org>
9954
9955 * doc-view.el (doc-view-continuous):
9956 Rename from `doc-view-continuous-mode'.
9957 (doc-view-menu): Move "Toggle display" to the top.
9958 Add submenu "Continuous" with radio buttons "Off"/"On"
9959 and "Save as Default".
9960 (doc-view-scroll-up-or-next-page)
9961 (doc-view-scroll-down-or-previous-page)
9962 (doc-view-next-line-or-next-page)
9963 (doc-view-previous-line-or-previous-page): Rename
9964 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
9965
9966 2009-11-30 Juri Linkov <juri@jurta.org>
9967
9968 * comint.el (comint-mode-map): Rebind `M-r' from
9969 `comint-previous-matching-input' to
9970 `comint-history-isearch-backward-regexp'.
9971 Unbind `M-s' to allow global key binding `M-s'.
9972 Add menu items for `comint-history-isearch-backward' and
9973 `comint-history-isearch-backward-regexp'. (Bug#3746)
9974
9975 2009-11-30 Juri Linkov <juri@jurta.org>
9976
9977 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9978 For def=recenter, replace `recenter' with `recenter-top-bottom'
9979 that is called with `this-command' and `last-command' let-bound
9980 to `recenter-top-bottom'. When the last `def' was not `recenter',
9981 set `recenter-last-op' to nil. (Bug#4981)
9982
9983 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 Minor cleanup and simplification.
9986 * filecache.el (file-cache-add-directory)
9987 (file-cache-add-directory-recursively)
9988 (file-cache-add-from-file-cache-buffer)
9989 (file-cache-delete-file-regexp, file-cache-delete-directory)
9990 (file-cache-files-matching-internal, file-cache-display): Use dolist.
9991 (file-cache-temp-minibuffer-message): Delete function.
9992 (file-cache-minibuffer-complete): Use minibuffer-message instead.
9993
9994 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9995 Don't signal an error when bumping into EOB in tr, s, or y.
9996
9997 2009-11-29 Juri Linkov <juri@jurta.org>
9998
9999 * startup.el (fancy-about-text): Fix wording of Guided Tour.
10000 (Bug#4960)
10001
10002 * descr-text.el (describe-char-unidata-list): Use lowercase name
10003 for "Unicode name" like in other tags.
10004
10005 2009-11-29 Juri Linkov <juri@jurta.org>
10006
10007 * ediff-util.el (ediff-minibuffer-with-setup-hook):
10008 New compatibility macro.
10009 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10010
10011 2009-11-29 Juri Linkov <juri@jurta.org>
10012
10013 Add defcustom to define the cycling order of `recenter-top-bottom'.
10014 (Bug#4981)
10015
10016 * window.el (recenter-last-op): Doc fix.
10017 (recenter-positions): New defcustom.
10018 (recenter-top-bottom): Rewrite to use `recenter-positions'.
10019 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10020
10021 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
10022
10023 Improve integration of Tramp and ange-ftp in eshell.
10024
10025 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10026 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
10027 (eshell/sudo): Flatten args. Let-bind `default-directory'.
10028
10029 * eshell/esh-util.el (top): Require also Tramp when compiling.
10030 (eshell-directory-files-and-attributes): Check for FTP remote
10031 connection.
10032 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10033 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10034 (eshell-file-attributes): Handle ".". Return `entry'.
10035
10036 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10037 (ange-ftp-directory-files-and-attributes)
10038 (ange-ftp-real-directory-files-and-attributes): New defuns.
10039
10040 * net/tramp.el (tramp-maybe-open-connection): Open the remote
10041 shell with "exec" when possible. This prevents trailing prompts
10042 in `start-file-process'.
10043
10044 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 Try and remove assumptions about point-min==1.
10047 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10048 (rng-compute-mode-line-string): Show the validation percentage in
10049 terms of the narrowed text, not the widened text.
10050 (rng-do-some-validation): Don't catch internal errors when debugging.
10051 (rng-first-error): Simplify.
10052 (rng-after-change-function): Remove work around. AFAIK the bug has
10053 been fixed a while ago.
10054
10055 * image-mode.el (image-minor-mode): Exit more gracefully when the image
10056 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10057
10058 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10059
10060 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10061 `cd' doesn't always do it for us (bug#5067).
10062
10063 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
10064 on 2009-10-25 as part of some other change (bug#5067).
10065
10066 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
10069 `suspicious'.
10070 (byte-compile-warnings): Use byte-compile-warning-types.
10071 (byte-compile-save-excursion): Warn about use of set-buffer right
10072 after save-excursion.
10073
10074 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
10075 the excursion as well.
10076
10077 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
10078
10079 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
10080 providing a Tramp related implementation of "su" and "sudo".
10081 (eshell-unix-initialize): Add "su" and "sudo".
10082
10083 2009-11-27 Daiki Ueno <ueno@unixuser.org>
10084
10085 * net/socks.el (socks-send-command): Convert binary request to
10086 unibyte before sending. This fixes mishandling of some port
10087 numbers such as 129.
10088
10089 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10090
10091 * help.el (describe-bindings-internal): Remove `interactive'.
10092
10093 * man.el (Man-completion-table): Trim a terminating "(".
10094 Remove the space between name page a section.
10095 Add the command's description on the `help-echo' property.
10096 Remove `process-connection-type' binding since it's unused by
10097 call-process.
10098 Provide completion for the "<section> <name>" format as well.
10099 (Man-default-man-entry): Remove spurious var shadowing the argument.
10100
10101 2009-11-26 Kevin Ryde <user42@zip.com.au>
10102
10103 * log-view.el: Add "Keywords: tools", since its other keywords
10104 aren't in finder-known-keywords, and following vc.el.
10105
10106 * sha1.el (sha1-string-external): default-directory "/" in case
10107 otherwise non-existent. process-connection-type pipe for touch of
10108 efficiency recommended by elisp manual. (An aside in Bug#3911.)
10109
10110 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10111
10112 Misc coding convention cleanups.
10113 * htmlfontify.el (hfy-init-kludge-hook): Rename from
10114 hfy-init-kludge-hooks.
10115 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
10116 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
10117 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
10118 and push.
10119 (hfy-slant, hfy-weight): Use tables rather than code.
10120 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
10121 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
10122 (hfy-face-attr-for-class): Initialize `face-spec' directly.
10123 (hfy-face-to-css): Remove `nconc' with single arg.
10124 (hfy-p-to-face-lennart): Use `or'.
10125 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
10126 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10127 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10128 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10129 (hfy-force-fontification): Use run-hooks.
10130
10131 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
10132
10133 Various minor fixes.
10134 * htmlfontify.el (hfy-default-header): Add toggle_invis since
10135 Javascript belongs in the header, not the body.
10136 (hfy-javascript): Remove.
10137 (hfy-fontify-buffer): Don't insert it any more.
10138 (hfy-face-at): Handle (face0 face1 face2) style face properties.
10139 Fix bug in invis handling when there were no invis props in a chunk.
10140
10141 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10144
10145 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
10146
10147 * finder.el (finder-mode-map): Add a menu.
10148
10149 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
10150
10151 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10152 "unsigned" structs.
10153
10154 (verilog-leap-to-head, verilog-backward-token): Handle "disable
10155 fork" statement better.
10156
10157 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
10158
10159 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10160 (verilog-delete-auto, verilog-delete-empty-auto-pair)
10161 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10162 Reported by Clay Douglass.
10163
10164 (verilog-auto-inst, verilog-auto-star-safe)
10165 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10166 Fix removing "// Interfaces" when saving .* expansions. Reported by
10167 Pierre-David Pfister.
10168
10169 2009-11-26 Glenn Morris <rgm@gnu.org>
10170
10171 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10172 the scope.
10173
10174 2009-11-25 Johan Bockgård <bojohan@gnu.org>
10175
10176 * vc-annotate.el (vc-annotate-revision-previous-to-line):
10177 Really use previous revision.
10178
10179 2009-11-25 Kevin Ryde <user42@zip.com.au>
10180
10181 * man.el (Man-completion-table): default-directory "/" in case
10182 doesn't otherwise exist. process-environment COLUMNS=999 so as
10183 not to truncate long names. process-connection-type pipe to avoid
10184 any chance of hitting the pseudo-tty TIOCGWINSZ.
10185 (man): completion-ignore-case t for friendliness and since man
10186 itself is case-insensitive on the command line.
10187 Further to Bug#3717.
10188
10189 * arc-mode.el: Add "Keywords: files", so the details in its
10190 commentary can be reached from finder-by-keyword.
10191 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
10192 editing mode, but it's comms related and sgml-mode.el has "comm"
10193 on that basis too.
10194 * textmodes/bibtex-style.el: Add "Keywords: tex".
10195 * international/isearch-x.el, international/ja-dic-cnv.el:
10196 * international/ja-dic-utl.el, international/kkc.el:
10197 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10198
10199 2009-11-25 Juri Linkov <juri@jurta.org>
10200
10201 * man.el (Man-completion-table): Modify regexp to include
10202 section names to completion strings. (Bug#3717)
10203
10204 2009-11-25 Juri Linkov <juri@jurta.org>
10205
10206 Search recursively in gzipped files. (Bug#4982)
10207
10208 * progmodes/grep.el (grep-highlight-matches): Add new options
10209 `always' and `auto'. Doc fix.
10210 (grep-process-setup): Check `grep-highlight-matches' for
10211 `auto-detect' to determine the need to compute grep defaults.
10212 Move Windows/DOS specific --colors settings handling
10213 to `grep-compute-defaults'. Check `grep-highlight-matches'
10214 to get the value of "--color=".
10215 (grep-compute-defaults): Compute `grep-highlight-matches' when it
10216 has the value `auto-detect'. Move Windows/DOS specific settings
10217 from `grep-process-setup'.
10218 (zrgrep): New command with alias `rzgrep'.
10219
10220 2009-11-25 Juri Linkov <juri@jurta.org>
10221
10222 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10223 to nil instead of switching off view-mode. (Bug#4896)
10224
10225 2009-11-25 Juri Linkov <juri@jurta.org>
10226
10227 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
10228
10229 * mwheel.el (mwheel-scroll-up-function)
10230 (mwheel-scroll-down-function): New defvars.
10231 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10232 `scroll-up', and `mwheel-scroll-down-function' instead of
10233 `scroll-down'.
10234
10235 * doc-view.el (doc-view-scroll-up-or-next-page)
10236 (doc-view-scroll-down-or-previous-page): Add optional ARG.
10237 Use this ARG in the call to image-scroll-up/image-scroll-down.
10238 Change `interactive' spec to "P". Goto next/previous page only
10239 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10240 SPC/DEL case). Doc fix.
10241 (doc-view-next-line-or-next-page)
10242 (doc-view-previous-line-or-previous-page): Rename arg to ARG
10243 for consistency.
10244 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10245 `doc-view-scroll-up-or-next-page', and buffer-local
10246 `mwheel-scroll-down-function' to
10247 `doc-view-scroll-down-or-previous-page'.
10248
10249 2009-11-25 Juri Linkov <juri@jurta.org>
10250
10251 Provide additional default values (directories at other Dired
10252 windows) via M-n in the minibuffer of some Dired commands.
10253
10254 * dired-aux.el (dired-diff, dired-compare-directories)
10255 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10256 `minibuffer-default' in `minibuffer-with-setup-hook'.
10257 (dired-dwim-target-directory): Find a window that displays Dired
10258 buffer instead of failing when the next window is not Dired.
10259 Use `get-window-with-predicate' to find for the next Dired window.
10260 (dired-dwim-target-defaults): New function.
10261
10262 * ediff-util.el (ediff-read-file-name):
10263 Use `dired-dwim-target-defaults' to set `minibuffer-default'
10264 in `minibuffer-with-setup-hook'.
10265
10266 2009-11-25 Juri Linkov <juri@jurta.org>
10267
10268 Provide additional default values (file name at point or at the
10269 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
10270
10271 * minibuffer.el (read-file-name-defaults): New function.
10272 (read-file-name): Reset `minibuffer-default' to nil when
10273 it duplicates initial input `insdef'.
10274 Bind `minibuffer-default-add-function' to lambda that
10275 calls `read-file-name-defaults' in `minibuffer-selected-window'.
10276 (minibuffer-insert-file-name-at-point): New command.
10277
10278 * files.el (file-name-at-point-functions): New defcustom.
10279 (find-file-default): Remove defvar.
10280 (find-file-read-args): Don't use `find-file-default'.
10281 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10282 to `read-file-name'.
10283 (find-file-literally): Use `read-file-name' with
10284 `confirm-nonexistent-file-or-buffer'.
10285
10286 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
10287
10288 * dired.el (dired-read-dir-and-switches):
10289 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10290 to `read-file-name'.
10291 (dired-file-name-at-point): New function.
10292 (dired-mode): Add hook `dired-file-name-at-point' to
10293 `file-name-at-point-functions'.
10294
10295 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 Really make the *Completions* window soft-dedicated (bug#5030).
10298 * window.el (window--display-buffer-2): Add `dedicated' argument.
10299 (display-buffer): Pass it when needed so the dedicated flag is set
10300 after calling set-window-buffer, which would otherwise reset it.
10301
10302 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * progmodes/meta-mode.el (meta-complete-symbol):
10305 * progmodes/etags.el (complete-tag):
10306 * mail/mailabbrev.el (mail-abbrev-complete-alias):
10307 Use completion-in-region.
10308
10309 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
10310 (dabbrev-completion): Use completion-in-region.
10311 (dabbrev--abbrev-at-point): Simplify regexp.
10312
10313 * abbrev.el (abbrev--before-point): Use word-motion functions
10314 if :regexp is not specified (bug#5031).
10315
10316 * subr.el (string-prefix-p): New function.
10317
10318 * man.el (Man-completion-cache): New var.
10319 (Man-completion-table): Use it.
10320
10321 * vc.el (vc-print-log-internal): Make `limit' optional for better
10322 compatibility (e.g. with vc-annotate.el).
10323
10324 2009-11-24 Kevin Ryde <user42@zip.com.au>
10325
10326 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
10327 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
10328
10329 * emacs-lisp/elint.el (elint-add-required-env): Better error message
10330 when .el source file not found or other error.
10331
10332 2009-11-24 Markus Triska <markus.triska@gmx.at>
10333
10334 * linum.el (linum-update-window): Ignore intangible (bug#4996).
10335
10336 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 Handle the [back] button properly (bug#4979).
10339 * descr-text.el (describe-text-properties): Add a `buffer' argument.
10340 Use help-setup-xref, help-buffer, and with-help-window.
10341 (describe-char): Add `buffer' argument.
10342 Pass proper command to help-setup-xref. Don't meddle with
10343 help-xref-stack-item directly.
10344 (describe-text-category): Use with-help-window and help-buffer.
10345
10346 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
10347 for the displayed buffer (bug#4887).
10348
10349 * man.el (Man-completion-table): New function.
10350 (man): Use it.
10351
10352 2009-11-24 David Reitter <david.reitter@gmail.com>
10353
10354 * vc-git.el (vc-git-registered): Use checkout directory (where
10355 .git is) rather than the file's directory and a relative path spec
10356 to work around a bug in git.
10357
10358 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
10359
10360 Improve handling of processes on remote hosts.
10361
10362 * eshell/esh-util.el (eshell-path-env): New defvar.
10363 (eshell-parse-colon-path): New defun.
10364 (eshell-file-attributes): Use `eshell-parse-colon-path'.
10365
10366 * eshell/esh-ext.el (eshell-search-path):
10367 Use `eshell-parse-colon-path'.
10368 (eshell-remote-command): Remove argument HANDLER.
10369 (eshell-external-command): Check for FTP remote connection.
10370
10371 * eshell/esh-proc.el (eshell-gather-process-output):
10372 Use `file-truename', in order to start also symlinked files.
10373 Apply `start-file-process' instead of `start-process'.
10374 Shorten `command' to the local file name part.
10375
10376 * eshell/em-cmpl.el (eshell-complete-commands-list):
10377 Use `eshell-parse-colon-path'.
10378
10379 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
10380
10381 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
10382 to `eshell-directory-change-hook'.
10383
10384 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
10385
10386 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
10387 because it could be enabled automatically if view-read-only is non-nil.
10388
10389 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
10390
10391 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
10392 made on 2009-11-22.
10393
10394 2009-11-24 Glenn Morris <rgm@gnu.org>
10395
10396 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
10397 deleted variable bookmark-bmenu-bookmark-column.
10398
10399 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
10402
10403 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
10404
10405 * net/browse-url.el (browse-url-filename-alist): On Windows, add
10406 two slashes to the "file:" prefix.
10407 (browse-url-file-url): De-munge Cygwin filenames before passing
10408 them to Windows browser.
10409 (browse-url-default-windows-browser): Use call-process.
10410
10411 2009-11-23 Juri Linkov <juri@jurta.org>
10412
10413 Implement DocView Continuous mode. (Bug#4896)
10414 * doc-view.el (doc-view-continuous-mode): New defcustom.
10415 (doc-view-mode-map): Bind C-n/<down> to
10416 `doc-view-next-line-or-next-page', C-p/<up> to
10417 `doc-view-previous-line-or-previous-page'.
10418 (doc-view-next-line-or-next-page)
10419 (doc-view-previous-line-or-previous-page): New commands.
10420
10421 2009-11-23 Juri Linkov <juri@jurta.org>
10422
10423 Implement Isearch in comint input history. (Bug#3746)
10424 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
10425 `isearch-mode-hook'.
10426 (comint-history-isearch): New defcustom.
10427 (comint-history-isearch-backward)
10428 (comint-history-isearch-backward-regexp): New commands.
10429 (comint-history-isearch-message-overlay): New buffer-local variable.
10430 (comint-history-isearch-setup, comint-history-isearch-end)
10431 (comint-goto-input, comint-history-isearch-search)
10432 (comint-history-isearch-message, comint-history-isearch-wrap)
10433 (comint-history-isearch-push-state)
10434 (comint-history-isearch-pop-state): New functions.
10435
10436 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
10437
10438 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
10439 return.
10440 (tramp-handle-make-symbolic-link)
10441 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
10442 Quote file names.
10443 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
10444 (tramp-handle-process-file): Use it.
10445
10446 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * window.el (move-to-window-line-last-op): Remove.
10449 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
10450
10451 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10452
10453 Make M-r mirror the new cycling behavior of C-l.
10454 * window.el (move-to-window-line-last-op): New var.
10455 (move-to-window-line-top-bottom): New command.
10456 (global-map): Bind M-r move-to-window-line-top-bottom.
10457
10458 2009-11-23 Sven Joachim <svenjoac@gmx.de>
10459
10460 * dired-x.el (dired-guess-shell-alist-default):
10461 Support xz format. (Bug#4953)
10462
10463 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
10464
10465 * emulation/viper-cmd.el: Use viper-last-command-char instead of
10466 last-command-char/last-command-event.
10467 (viper-prefix-arg-value): Do correct conversion of event-char for
10468 XEmacs.
10469
10470 * emulation/viper-util.el, emulation/viper.el:
10471 Use viper-last-command-char instead of
10472 last-command-char/last-command-event.
10473
10474 * ediff-init.el, ediff-mult.el, ediff-util.el:
10475 Replace last-command-char and last-command-event
10476 with (ediff-last-command-char) everywhere.
10477
10478 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
10479 created in fundamental mode.
10480
10481 * ediff.el (ediff-version): Revert the change of interactive-p to
10482 called-interactively-p.
10483
10484 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
10485
10486 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
10487 generation from word-movement command names.
10488
10489 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
10490
10491 * cus-start.el (all): Add native condition for font-use-system-font.
10492
10493 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
10494
10495 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
10496 Correct the patch from 2009-11-18. (Bug#3910)
10497
10498 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
10499
10500 * progmodes/subword.el: Rename from lisp/subword.el.
10501
10502 * subword.el: Rename to progmodes/subword.el.
10503
10504 * Makefile.in (ELCFILES): Adapt to subword.el move.
10505
10506 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10507 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
10510 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
10511 (bookmark-bmenu-show-filenames): Use push.
10512 (bookmark-bmenu-hide-filenames): Use local var instead of
10513 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
10514 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
10515 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
10516 filenames now that the bookmark names are always available.
10517
10518 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10519
10520 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
10521 (bookmark-search-pattern): Move and leave unbound.
10522 (bookmark-bmenu-mode-map): Change binding.
10523 (bookmark-read-search-input): Simplify.
10524 Don't use text-char-description. Don't error on non-char events.
10525 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
10526 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
10527 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
10528 Use a local var for the timer.
10529 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
10530 (i.e. bookmark-bmenu-search).
10531
10532 2009-11-21 Glenn Morris <rgm@gnu.org>
10533
10534 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
10535
10536 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
10537
10538 * net/browse-url.el (browse-url-default-windows-browser):
10539 Use cygstart for cygwin.
10540
10541 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
10542
10543 * bookmark.el: Formatting and doc fixes only:
10544 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
10545 (bookmark-bmenu-search): Wrap to fit within 80 columns.
10546 Minor grammar and punctuation fixes in doc string.
10547 (bookmark-read-search-input): Adjust to fit within 80 columns.
10548
10549 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10550
10551 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
10552 (c-backward-into-nomenclature): Adapt to subword renaming.
10553
10554 * subword.el (subword-forward, subword-backward, subword-mark)
10555 (subword-kill, subword-backward-kill, subword-transpose)
10556 (subword-downcase, subword-upcase, subword-capitalize)
10557 (subword-forward-internal, subword-backward-internal):
10558 Rename from forward-subword, backward-subword, mark-subword,
10559 kill-subword, backward-kill-subword, transpose-subwords,
10560 downcase-subword, upcase-subword, capitalize-subword,
10561 forward-subword-internal, backward-subword-internal.
10562
10563 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10564
10565 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
10566 New options.
10567 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
10568 New vars.
10569 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
10570 (bookmark-bmenu-filter-alist-by-regexp)
10571 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
10572 (bookmark-bmenu-search): New command.
10573 (bookmark-bmenu-mode-map): Bind it.
10574
10575 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10576
10577 * progmodes/cc-cmds.el: declare-functioned forward-subword and
10578 backward-subword to quit the byte-compiler.
10579
10580 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
10581
10582 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
10583
10584 * progmodes/cc-cmds.el (c-update-modeline)
10585 (c-forward-into-nomenclature, c-backward-into-nomenclature):
10586 Refer to subword.el functions instead of cc-subword.el.
10587
10588 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
10589 subword.el functions instead of cc-subword.el.
10590
10591 * progmodes/cc-subword.el: Rename to subword.el.
10592 * subword.el: Rename from progmodes/cc-subword.el.
10593 (subword-mode-map): Rename from c-subword-mode-map.
10594 (subword-mode): Rename from c-subword-mode.
10595 (global-subword-mode): New global minor mode.
10596 (forward-subword): Rename from c-forward-subword.
10597 (backward-subword): Rename from c-backward-subword.
10598 (mark-subword): Rename from c-mark-subword.
10599 (kill-subword): Rename from c-kill-subword.
10600 (backward-kill-subword): Rename from c-backward-kill-subword.
10601 (transpose-subwords): Rename from c-tranpose-subword.
10602 (downcase-subword): Rename from c-downcase-subword.
10603 (capitalize-subword): Rename from c-capitalize-subword.
10604 (forward-subword-internal): Rename from c-forward-subword-internal.
10605 (backward-subword-internal): Rename from c-backward-subword-internal.
10606
10607 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
10608
10609 * vc.el (vc-deduce-fileset): Allow non-state changing operations
10610 from a dired buffer.
10611 (vc-dired-deduce-fileset): New function.
10612 (vc-root-diff, vc-print-root-log): Use it.
10613
10614 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
10615 nil LIMIT argument to vc-print-log-internal.
10616
10617 2009-11-20 Glenn Morris <rgm@gnu.org>
10618
10619 * Makefile.in (ELCFILES): Regenerate.
10620
10621 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
10622
10623 * calc/calc.el (calc-set-mode-line):
10624 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10625 (math-format-number): Rename `math-format-complement-signed' to
10626 `math-format-twos-complement'.
10627
10628 * calc/calc-bin.el (math-format-twos-complement): Rename from
10629 math-format-complement-signed.
10630 (calc-radix): Rename `calc-complement-signed-mode' to
10631 `calc-twos-complement-mode'.
10632 (calc-octal-radix, calc-hex-radix): Add an argument for
10633 two's complement.
10634
10635 * calc/calc-embed.el (calc-embedded-mode-vars):
10636 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10637
10638 * calc/calc-ext.el (calc-init-extensions):
10639 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10640 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
10641
10642 * calc/calc-units.el (math-build-units-table-buffer):
10643 Let `calc-twos-complement-mode' be nil.
10644
10645 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
10646 entries.
10647
10648 * calc/calc-vec.el (calcFunc-vunpack):
10649 * calc/calc-aent.el (calc-do-calc-eval):
10650 * calc/calc-forms.el (math-format-date):
10651 * calc/calc-graph.el (calc-graph-plot):
10652 * calc/calc-math.el (math-use-emacs-fn):
10653 * calc/calccomp.el (math-compose-expr):
10654 Let `calc-twos-complement-mode' be nil.
10655
10656 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
10659 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
10660 * minibuffer.el (completion-in-region-functions): New hook.
10661 (completion-in-region): New function.
10662 * emacs-lisp/lisp.el (lisp-complete-symbol):
10663 * pcomplete.el (pcomplete-std-complete): Use it.
10664
10665 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
10668 (latex-complete-alist): New vars.
10669 (latex-string-prefix-p, latex-complete-bibtex-keys)
10670 (latex-complete-envnames, latex-complete-refkeys)
10671 (latex-complete-data): New functions.
10672 (latex-complete, latex-indent-or-complete): New commands.
10673
10674 * window.el (display-buffer-mark-dedicated): New var.
10675 (display-buffer): Obey it.
10676 * minibuffer.el (minibuffer-completion-help): Use it.
10677
10678 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
10679
10680 * filecache.el (file-cache-add-file): Use push and cons.
10681 (file-cache-delete-file-regexp): Use push.
10682 (file-cache-complete): Use completion-in-region.
10683
10684 * simple.el (with-wrapper-hook): Fix thinko.
10685
10686 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
10687 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
10688 Use with-current-buffer and string-to-number.
10689 (hfy-fallback-colour-values): Use assoc-string.
10690 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
10691 (hfy-face-at): Remove unused var `found-face'.
10692 (hfy-compile-stylesheet): Remove unused var `css'.
10693 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
10694 and `orig-buffer'.
10695 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
10696 Use with-current-buffer.
10697 (hfy-text-p): Use expand-file-name and fewer setq.
10698
10699 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
10700
10701 * htmlfontify.el, hfy-cmap.el: New files.
10702
10703 2009-11-19 Juri Linkov <juri@jurta.org>
10704
10705 * minibuffer.el (completions-format): New defcustom.
10706 (completion--insert-strings): Implement vertical format.
10707
10708 * simple.el (switch-to-completions): Move point to the first
10709 completion when point was at the beginning of the buffer.
10710
10711 2009-11-19 Juri Linkov <juri@jurta.org>
10712
10713 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
10714
10715 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
10716
10717 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
10718
10719 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
10720 (mail-signature): Change default to t.
10721 (mail-from-style): Deprecate `system-default' value.
10722 (mail-insert-from-field): For default value of mail-from-style,
10723 default to `angles' unless `angles' needs quoting and `parens'
10724 does not.
10725 (mail-citation-prefix-regexp): Use citation regexp from
10726 message-mode.
10727
10728 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
10729
10730 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10731 Set variables for computing the prompt for reading password.
10732
10733 2009-11-19 Glenn Morris <rgm@gnu.org>
10734
10735 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
10736
10737 * textmodes/flyspell.el (sgml-lexical-context): Declare.
10738
10739 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
10740 (newsticker-treeview-listwindow-height): Fix custom type.
10741
10742 2009-11-19 Kenichi Handa <handa@m17n.org>
10743
10744 * descr-text.el (describe-char-padded-string): Compose with TAB
10745 only if there's a font for CH.
10746 (describe-char): Fix the condition for detecting a trivial composition.
10747
10748 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
10749
10750 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
10751 more accurate version of the regexp. (Bug#3910)
10752
10753 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
10754
10755 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
10756
10757 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
10758
10759 * font-setting.el (font-use-system-font): Declare for byte-compiler.
10760 (font-setting-change-default-font): Fix typo in docstring.
10761
10762 2009-11-18 Alan Mackenzie <acm@muc.de>
10763
10764 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
10765
10766 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
10767
10768 * font-setting.el (font-use-system-font): Move ...
10769
10770 * cus-start.el (all): ... to here.
10771
10772 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
10773
10774 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
10775 Don't set `ad-return-value' if `ad-do-it' doesn't.
10776
10777 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
10778 modification time.
10779
10780 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
10781
10782 * menu-bar.el: Put "Use system font" in Option-menu.
10783 (menu-bar-options-save): Add font-use-system-font.
10784
10785 * loadup.el: If feature system-font-setting or font-render-setting is
10786 there, load font-setting.
10787
10788 * Makefile.in (ELCFILES): Add font-settings.el.
10789 * font-setting.el: New file.
10790
10791 2009-11-17 Glenn Morris <rgm@gnu.org>
10792
10793 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
10794
10795 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
10796 Preserve point in the list buffer. (Bug#4939)
10797 Use point-at-eol.
10798 (newsticker--treeview-list-update-highlight)
10799 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
10800
10801 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
10802
10803 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
10804 Remove.
10805
10806 * calc/calc-ext.el (calc-init-extensions): Remove references to
10807 symclip.
10808
10809 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
10810
10811 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
10812 * calc/calc-help.el (calc-b-prefix-help): Remove references to
10813 `calc-symclip'.
10814
10815 2009-11-16 Kevin Ryde <user42@zip.com.au>
10816
10817 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
10818 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
10819
10820 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
10821 (lm-keywords-list): Allow comma-only separator like "foo,bar".
10822 Ignore trailing spaces by omit-nulls to split-string (fixing
10823 regression from Emacs 21 due to the incompatible split-string
10824 change). (Bug #4928.)
10825
10826 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
10827
10828 * vc.el (vc-log-show-limit): Default to 2000.
10829 (vc-print-log-internal): Insert buttons to request more entries
10830 when limiting the output.
10831
10832 * vc-sccs.el (vc-sccs-print-log):
10833 * vc-rcs.el (vc-rcs-print-log):
10834 * vc-cvs.el (vc-cvs-print-log):
10835 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
10836 LIMIT is non-nil.
10837
10838 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
10839
10840 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
10841 error when `tramp-gvfs-dbus-event-vector' is set.
10842 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
10843
10844 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
10847
10848 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
10849
10850 * net/dbus.el (dbus-unregister-service): New defun.
10851 (dbus-register-property): Register the handlers of
10852 "org.freedesktop.DBus.Properties" for SERVICE.
10853 (dbus-property-handler): Fix docstring.
10854
10855 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10856
10857 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
10858 Quote doc string reference in defvaralias as it is not in special form.
10859 (byte-compile-output-docform): Doc fix.
10860
10861 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
10862
10863 * calc/calc.el (math-2-word-size, math-half-2-word-size)
10864 (calc-complement-signed-mode): New variables.
10865 (calc-set-mode-line): Add indicator for twos-complements.
10866 (math-format-number): Format twos-complement notation.
10867
10868 * calc/calc-bin.el (calc-word-size): Reset the variables
10869 `math-2-word-size' and `math-half-2-word-size'.
10870 (math-format-complement-signed, math-symclip, calcFunc-symclip)
10871 (calc-symclip): New functions.
10872
10873 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
10874
10875 * calc/calc-embed.el (calc-embedded-mode-vars):
10876 Add `calc-complement-signed-mode' to the list of modes.
10877
10878 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
10879 (calc-b-oper-keys): Add `calc-symclip' to list.
10880
10881 * calc/calc-ext.el (math-read-number-fancy): Read complement
10882 signed numbers.
10883 (calc-init-extensions): Add binding for `calc-symclip'.
10884 Add autoload for `calcFunc-symclip' and `calc-symclip'.
10885
10886 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
10887 `calc-symclip'.
10888 (calc-modes-menu): Add item for twos complement mode.
10889
10890 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
10891
10892 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10893
10894 * register.el (jump-to-register, insert-register): Handle Semantic
10895 tags. From commented-out advice in semantic/senator.el.
10896
10897 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
10898
10899 * vc.el (vc-log-show-limit): New variable.
10900 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
10901 when using a prefix argument.
10902 (vc-print-log-internal): Add new argument LIMIT.
10903
10904 * vc-svn.el (vc-svn-print-log):
10905 * vc-mtn.el (vc-mtn-print-log):
10906 * vc-hg.el (vc-hg-print-log):
10907 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
10908 pass it to the log command when set. Make the BUFFER argument
10909 non-optional.
10910
10911 * vc-sccs.el (vc-sccs-print-log):
10912 * vc-rcs.el (vc-rcs-print-log):
10913 * vc-git.el (vc-git-print-log):
10914 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10915 ignore it. Make the BUFFER argument non-optional
10916
10917 * bindings.el (mode-line-buffer-identification): Do not purecopy.
10918
10919 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10920
10921 * dired.el (dired-mode-map): Move encryption items to "Operate"
10922 menu (Bug#4703).
10923
10924 * strokes.el (strokes-update-window-configuration): Make strokes
10925 buffer current before erasing (Bug#4906).
10926
10927 2009-11-15 Juri Linkov <juri@jurta.org>
10928
10929 * simple.el (set-mark-default-inactive): Add :type, :group
10930 and :version. (Bug#4876)
10931
10932 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
10933
10934 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10935 (archive-unique-fname): ... here. (Bug#4929)
10936
10937 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10940 with a real fix.
10941
10942 * novice.el (disabled-command-function): Add useful args.
10943 Setup the help buffer so that [back] works.
10944 Remove redundant call to help-mode.
10945 (disabled-command-function): Use `case'.
10946 (en/disable-command): New function extracted from enable-command.
10947 (enable-command, disable-command): Use it.
10948
10949 2009-11-14 Glenn Morris <rgm@gnu.org>
10950
10951 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10952 constants. (Bug#4913)
10953
10954 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10955
10956 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
10957
10958 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10959 defined in C that have no doc-strings. (Bug#1063)
10960
10961 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
10962
10963 * cus-edit.el (data, files):
10964 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
10965
10966 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
10967
10968 * simple.el (shell-command): Doc fix (Bug#4891).
10969
10970 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10971
10972 2009-11-14 Glenn Morris <rgm@gnu.org>
10973
10974 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10975 statements for vc-diff, emerge-quit, and rmail-cease-edit.
10976 If they are already loaded, eval-after-load will do the right thing.
10977
10978 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10979 compiling.
10980
10981 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10982
10983 * simple.el (x-selection-owner-p): Declare.
10984 (read-mail-command): Use custom radio type rather than choice.
10985 (completion-no-auto-exit): Doc fix.
10986
10987 * custom.el (defgroup):
10988 * epg-config.el (epg): Doc fixes.
10989
10990 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
10991
10992 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10993 * international/ccl.el (define-ccl-program): Do not purecopy the
10994 docstring, defconst does it anyway.
10995
10996 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * add-log.el (add-change-log-entry): Avoid displaying the changelog
10999 a second time.
11000
11001 * x-dnd.el (x-dnd-maybe-call-test-function):
11002 * window.el (split-window-vertically):
11003 * whitespace.el (whitespace-help-on):
11004 * vc-rcs.el (vc-rcs-consult-headers):
11005 * userlock.el (ask-user-about-lock-help)
11006 (ask-user-about-supersession-help):
11007 * type-break.el (type-break-force-mode-line-update):
11008 * time-stamp.el (time-stamp-conv-warn):
11009 * terminal.el (te-set-output-log, te-more-break, te-filter)
11010 (te-sentinel, terminal-emulator):
11011 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11012 (term-write-input-ring, term-check-source, term-start-output-log):
11013 (term-display-buffer-line, term-dynamic-list-completions):
11014 (term-ansi-make-term, serial-term):
11015 * subr.el (selective-display):
11016 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11017 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11018 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11019 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11020 (speedbar-remove-localized-speedbar-support)
11021 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11022 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11023 (speedbar-buffers-line-directory):
11024 * simple.el (shell-command-on-region, append-to-buffer)
11025 (prepend-to-buffer):
11026 * shadowfile.el (shadow-save-todo-file):
11027 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11028 (scroll-bar-maybe-set-window-start):
11029 * sb-image.el (speedbar-image-dump):
11030 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11031 (load-save-place-alist-from-file):
11032 * ps-samp.el (ps-print-message-from-summary):
11033 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11034 (ps-background-image, ps-begin-job, ps-do-despool):
11035 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11036 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11037 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11038 (pr-call-process, pr-file-list, pr-interface-save):
11039 * novice.el (disabled-command-function)
11040 (enable-command, disable-command):
11041 * mouse.el (mouse-buffer-menu-alist):
11042 * mouse-copy.el (mouse-kill-preserving-secondary):
11043 * macros.el (kbd-macro-query):
11044 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11045 * informat.el (batch-info-validate):
11046 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11047 * hippie-exp.el (try-expand-dabbrev-visible):
11048 * help-mode.el (help-make-xrefs):
11049 * help-fns.el (describe-variable):
11050 * generic-x.el (bat-generic-mode-run-as-comint):
11051 * finder.el (finder-mouse-select):
11052 * find-dired.el (find-dired-sentinel):
11053 * filesets.el (filesets-file-close):
11054 * files.el (list-directory):
11055 * faces.el (list-faces-display, describe-face):
11056 * facemenu.el (list-colors-display):
11057 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11058 * epg.el (epg--process-filter, epg-cancel):
11059 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11060 (epa--read-signature-type):
11061 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
11062 (emerge-file-names):
11063 * ehelp.el (electric-helpify):
11064 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
11065 * ediff-vers.el (rcs-ediff-view-revision):
11066 * ediff-util.el (ediff-setup):
11067 * ediff-mult.el (ediff-append-custom-diff):
11068 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
11069 (ediff-wordify):
11070 * echistory.el (Electric-command-history-redo-expression):
11071 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
11072 * disp-table.el (describe-display-table):
11073 * dired.el (dired-find-buffer-nocreate):
11074 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
11075 * dabbrev.el (dabbrev--same-major-mode-p):
11076 * chistory.el (list-command-history):
11077 * apropos.el (apropos-documentation):
11078 * allout.el (allout-obtain-passphrase):
11079 (allout-copy-exposed-to-buffer):
11080 (allout-verify-passphrase): Use with-current-buffer.
11081
11082 2009-11-13 Glenn Morris <rgm@gnu.org>
11083
11084 * Makefile.in (ELCFILES): Regenerate.
11085
11086 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
11087
11088 * net/dbus.el (dbus-registered-objects-table): Rename from
11089 `dbus-registered-functions-table', because it contains also properties.
11090 (dbus-unregister-object): Unregister also properties.
11091 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11092 Use a timeout of 500 msec, in order to not block.
11093 (dbus-register-property, dbus-property-handler): New defuns.
11094
11095 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * simple.el (minibuffer-default-add-completions): Drop deprecated
11098 4th arg.
11099
11100 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
11101
11102 * textmodes/artist.el (artist-mouse-choose-operation):
11103 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
11104 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
11105 (artist-compute-up-event-key): New function.
11106 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
11107
11108 2009-11-13 Kenichi Handa <handa@m17n.org>
11109
11110 * language/japan-util.el: Make sure that the value of jisx0208
11111 property is jisx0208 character.
11112
11113 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
11114
11115 * international/mule.el (auto-coding-regexp-alist): Only purecopy
11116 car or each item, not the whole list.
11117
11118 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * minibuffer.el (minibuffer-completion-help):
11121 Use minibuffer-hide-completions.
11122
11123 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
11124
11125 * dired.el (dired-save-positions, dired-restore-positions): New funs.
11126 (dired-revert): Use them (bug#4880).
11127
11128 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11129
11130 * tooltip.el (tooltip-frame-parameters): Undo previous change.
11131
11132 2009-11-12 Juri Linkov <juri@jurta.org>
11133
11134 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11135 New functions.
11136 (find-file-literally-at-point): Alias of `ffap-literally'.
11137
11138 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11139
11140 * textmodes/ispell.el (ispell-skip-region-alist):
11141 * textmodes/css-mode.el (auto-mode-alist):
11142 * progmodes/compile.el (auto-mode-alist):
11143 * international/mule.el (ctext-non-standard-encodings-alist)
11144 (ctext-non-standard-encodings-regexp):
11145 * simple.el (shell-command-switch, text-read-only):
11146 * replace.el (occur-mode-map):
11147 * paths.el (rmail-file-name):
11148 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11149 * find-file.el (ff-special-constructs):
11150 * files.el (file-name-handler-alist):
11151 * composite.el: Purecopy strings.
11152
11153 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11154
11155 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11156
11157 * widget.el (define-widget): Purecopy the docstring.
11158 * international/mule-cmds.el (charset): Do not purecopy the
11159 docstring here, define-widget does it.
11160
11161 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11162 * textmodes/bibtex-style.el (auto-mode-alist):
11163 * progmodes/inf-lisp.el (inferior-lisp-prompt):
11164 * progmodes/compile.el (compile-command):
11165 * language/korea-util.el (default-korean-keyboard):
11166 * international/mule-conf.el (file-coding-system-alist):
11167 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11168 * tooltip.el (tooltip-frame-parameters):
11169 * newcomment.el (comment-end, comment-padding):
11170 * dired.el (dired-trivial-filenames):
11171 * comint.el (comint-file-name-prefix): Purecopy initial values.
11172
11173 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
11174
11175 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11176 (tramp-advice-minibuffer-electric-tilde): Unload advices via
11177 `tramp-unload'.
11178 (tramp-advice-make-auto-save-file-name)
11179 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11180 after removing the advice.
11181
11182 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11183
11184 * progmodes/grep.el (grep-regexp-alist):
11185 * international/mule-cmds.el (iso-2022-control-alist):
11186 * emacs-lisp/timer.el (timer-duration-words):
11187 * subr.el (version-separator, version-regexp-alist):
11188 * minibuffer.el (completion-styles-alist):
11189 * faces.el (face-attribute-name-alist, list-faces-sample-text):
11190 Change defvars to defconsts.
11191
11192 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11193 * loadup.el ("international/mule-conf"): Load the byte compiled version.
11194 * international/mule-conf.el: Allow to be byte compiled.
11195
11196 * international/mule.el (define-charset): Purecopy props.
11197 (load-with-code-conversion): Purecopy doc string and file name.
11198 (put-charset-property): Purecopy strings.
11199 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11200
11201 * international/mule-cmds.el (register-input-method): Purecopy arguments.
11202 (define-char-code-property): Correctly purecopy the table.
11203
11204 * international/ccl.el (define-ccl-program): Purecopy the docstring.
11205
11206 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11207
11208 * subr.el (add-hook): Purecopy strings.
11209 (eval-after-load): Purecopy load-history-regexp and the form.
11210
11211 * custom.el (custom-declare-group): Purecopy load-file-name.
11212
11213 * subr.el (menu-bar-separator): New defconst.
11214 * net/eudc.el (eudc-tools-menu):
11215 * international/mule-cmds.el (set-coding-system-map)
11216 (mule-menu-keymap):
11217 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11218 * vc-hooks.el (vc-menu-map):
11219 * replace.el (occur-mode-map):
11220 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11221 (menu-bar-edit-menu, menu-bar-goto-menu)
11222 (menu-bar-custom-menu, menu-bar-showhide-menu)
11223 (menu-bar-options-menu, menu-bar-tools-menu)
11224 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11225 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11226 (menu-bar-help-menu):
11227 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11228 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11229
11230 * term/x-win.el (x-gtk-stock-map):
11231 * progmodes/vera-mode.el (auto-mode-alist):
11232 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11233 (inferior-lisp-program, inferior-lisp-load-command):
11234 * progmodes/hideshow.el (hs-special-modes-alist):
11235 * progmodes/gud.el (same-window-regexps):
11236 * progmodes/grep.el (grep-program, find-program, xargs-program):
11237 * net/telnet.el (same-window-regexps):
11238 * net/rlogin.el (same-window-regexps):
11239 * language/ethiopic.el (font-ccl-encoder-alist):
11240 * vc-sccs.el (vc-sccs-master-templates):
11241 * vc-rcs.el (vc-rcs-master-templates):
11242 * subr.el (cl-assertion-failed):
11243 * simple.el (next-error-overlay-arrow-position):
11244 * lpr.el (lpr-command):
11245 * locate.el (locate-ls-subdir-switches):
11246 * info.el (same-window-regexps, info)
11247 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11248 * image-mode.el (image-mode, auto-mode-alist):
11249 * hippie-exp.el (hippie-expand-ignore-buffers):
11250 * format.el (format-alist):
11251 * find-dired.el (find-ls-subdir-switches, find-grep-options)
11252 (find-name-arg):
11253 * facemenu.el (facemenu-keybindings):
11254 * dired.el (dired-listing-switches, dired-chown-program):
11255 * diff.el (diff-switches, diff-command):
11256 * cus-edit.el (same-window-regexps):
11257 * bindings.el (mode-line-mule-info)
11258 (mode-line-buffer-identification): Purecopy strings.
11259
11260 2009-11-11 Juri Linkov <juri@jurta.org>
11261
11262 * simple.el (dired-get-filename) <declare-function>:
11263 Tell the byte-compiler about dired-get-filename.
11264 (shell-command): In Dired mode, get filename from the current line
11265 as the default value.
11266
11267 2009-11-10 Glenn Morris <rgm@gnu.org>
11268
11269 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
11270 * calendar/holidays.el, progmodes/cperl-mode.el:
11271 Update x-popup-menu declarations.
11272
11273 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
11274 (list-load-path-shadows): Use dolist.
11275 (list-load-path-shadows): Use with-current-buffer.
11276
11277 2009-11-10 Juri Linkov <juri@jurta.org>
11278
11279 * minibuffer.el (read-file-name): Support a list of default values
11280 in `default-filename'. Use the first file name where only one
11281 element is required. Doc fix.
11282
11283 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
11284
11285 * net/dbus.el (dbus-unregister-object): Release service, if no
11286 other method is registered for it.
11287
11288 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
11289
11290 * bookmark.el (bookmark-completing-read): Sort bookmark names if
11291 bookmark-sort-flag is non-nil (Bug#4653).
11292
11293 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11294
11295 * emulation/cua-base.el: Add CUA property to some CC mode commands
11296 (Bug#4100).
11297
11298 2009-11-08 Kevin Ryde <user42@zip.com.au>
11299
11300 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
11301 at end of sentence (Bug#4818).
11302
11303 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
11304
11305 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11306 Handle "see declaration of" MSFT statements (Bug#4100).
11307
11308 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
11309
11310 * net/tramp.el (tramp-advice-make-auto-save-file-name)
11311 (tramp-advice-file-expand-wildcards): Unload via
11312 `ad-remove-advice'.
11313
11314 * net/trampver.el: Update release number.
11315
11316 2009-11-08 Kevin Ryde <user42@zip.com.au>
11317
11318 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
11319 `ad-do-it'.
11320
11321 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
11322
11323 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
11324 in order to keep context in SELinux.
11325
11326 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11327
11328 * dired-aux.el (dired-query): Place cursor in echo area and allow
11329 C-g.
11330
11331 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
11332 menu item if not on a directory (Bug#4701).
11333
11334 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
11335
11336 Sync with Tramp 2.1.17.
11337
11338 * net/tramp.el (tramp-handle-copy-directory): Don't use
11339 `file-remote-p' (due to compatibility).
11340
11341 * net/tramp-compat.el (tramp-compat-copy-directory)
11342 (tramp-compat-delete-directory): New defuns.
11343
11344 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
11345 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
11346 `tramp-compat-delete-directory'.
11347
11348 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11349 (tramp-smb-handle-delete-directory): Use
11350 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
11351
11352 * net/trampver.el: Update release number.
11353
11354 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
11355
11356 * tar-mode.el (tar-copy): Call write-region on the right buffer
11357 (Bug#4857).
11358
11359 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
11360 by hand, if necessary (Bug#4878).
11361
11362 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
11363
11364 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
11365 align size column (Bug#4839).
11366
11367 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
11368 statement.
11369
11370 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11371
11372 * progmodes/ld-script.el (auto-mode-alist):
11373 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
11374
11375 * cus-face.el (custom-declare-face): Purecopy face spec.
11376
11377 2009-11-06 Kenichi Handa <handa@m17n.org>
11378
11379 * international/uni-bidi.el: Re-generated.
11380 * international/uni-category.el: Re-generated.
11381 * international/uni-combining.el: Re-generated.
11382 * international/uni-mirrored.el: Re-generated.
11383
11384 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11385
11386 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
11387 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
11388 (tex-start-options, slitex-run-command, latex-run-command)
11389 (tex-run-command, tex-directory):
11390 * textmodes/ispell.el (ispell-html-skip-alists)
11391 (ispell-tex-skip-alists, ispell-tex-skip-alists):
11392 * textmodes/fill.el (adaptive-fill-first-line-regexp):
11393 (adaptive-fill-regexp):
11394 * textmodes/dns-mode.el (auto-mode-alist):
11395 * progmodes/python.el (interpreter-mode-alist):
11396 * progmodes/etags.el (tags-compression-info-list):
11397 * progmodes/etags.el (tags-file-name):
11398 * net/browse-url.el (browse-url-galeon-program)
11399 (browse-url-firefox-program):
11400 * mail/sendmail.el (mail-signature-file)
11401 (mail-citation-prefix-regexp):
11402 * international/mule-conf.el (eight-bit):
11403 * international/latexenc.el (latex-inputenc-coding-alist):
11404 * international/fontset.el (x-pixel-size-width-font-regexp):
11405 * emacs-lisp/warnings.el (warning-type-format):
11406 * emacs-lisp/trace.el (trace-buffer):
11407 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
11408 (emacs-lisp-mode-map):
11409 * calendar/holidays.el (holiday-solar-holidays)
11410 (holiday-bahai-holidays, holiday-islamic-holidays)
11411 (holiday-christian-holidays, holiday-hebrew-holidays)
11412 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
11413 (hebrew-holidays-1, holiday-oriental-holidays)
11414 (holiday-general-holidays):
11415 * x-dnd.el (x-dnd-known-types):
11416 * tool-bar.el (tool-bar):
11417 * startup.el (site-run-file):
11418 * shell.el (shell-dumb-shell-regexp):
11419 * rfn-eshadow.el (file-name-shadow-tty-properties)
11420 (file-name-shadow-properties):
11421 * paths.el (remote-shell-program, news-directory):
11422 * mouse.el ([C-down-mouse-3]):
11423 * menu-bar.el (menu-bar-tools-menu):
11424 * jka-cmpr-hook.el (jka-compr-load-suffixes)
11425 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
11426 (jka-compr-compression-info-list):
11427 * isearch.el (search-whitespace-regexp):
11428 * image-file.el (image-file-name-extensions):
11429 * find-dired.el (find-ls-option):
11430 * files.el (directory-listing-before-filename-regexp)
11431 (directory-free-space-args, insert-directory-program)
11432 (list-directory-brief-switches, magic-fallback-mode-alist)
11433 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
11434 (automount-dir-prefix):
11435 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
11436 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
11437 (face-font-registry-alternatives, face-font-registry-alternatives)
11438 (face-font-family-alternatives):
11439 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
11440 (facemenu-foreground-menu, facemenu-face-menu):
11441 * epa-hook.el (epa-file-name-regexp):
11442 * dnd.el (dnd-protocol-alist):
11443 * textmodes/rst.el (auto-mode-alist):
11444 * button.el (default-button): Purecopy strings.
11445
11446 2009-11-06 Glenn Morris <rgm@gnu.org>
11447
11448 * Makefile.in (ELCFILES): Update.
11449
11450 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11451
11452 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
11453 * emacs-lisp/levents.el: Move to obsolete/levents.el.
11454
11455 * nxml/xsd-regexp.el (xsdre-gen-categories):
11456 * nxml/xmltok.el (xmltok-parse-entity):
11457 * nxml/rng-parse.el (rng-parse-validate-file):
11458 * nxml/rng-maint.el (rng-format-manual)
11459 (rng-manual-output-force-new-line):
11460 * nxml/rng-loc.el (rng-save-schema-location-1):
11461 * nxml/rng-cmpct.el (rng-c-parse-file):
11462 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
11463 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
11464
11465 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
11466
11467 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
11468 Remove extra save-excursions and make-variable-buffer-local's.
11469 Suggested by Stefan Monnier.
11470
11471 (verilog-getopt-file, verilog-module-inside-filename-p)
11472 (verilog-set-define): Merge GNU 1.35 and repair changes from
11473 switching to using with-current-buffer.
11474
11475 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
11476 being treated as a number and confusing AUTORESET.
11477 Reported by Dan Dever.
11478
11479 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
11480 Add verilog-auto-ignore-concat to fix backward compatibility with
11481 older verilog-modes. Reported by Dan Katz.
11482
11483 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
11484 containing closing anchors "...$".
11485
11486 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
11487 Reported by Wade Smith.
11488
11489 (verilog-batch-execute-func): Comment on function usage.
11490
11491 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
11492
11493 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
11494 for labels.
11495
11496 (verilog-label-re, verilog-calc-1): Support proper indent of named
11497 asserts.
11498
11499 (verilog-backward-token, verilog-basic-complete-re)
11500 (verilog-beg-of-statement, verilog-indent-re): Support proper
11501 indent of the assert statement at the beginning of a block of text.
11502
11503 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
11504 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
11505 tokens as begins.
11506
11507 2009-11-05 Glenn Morris <rgm@gnu.org>
11508
11509 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
11510 Emacs 19. (Bug#1531)
11511 (byte-compile-fix-header): Update for the above change.
11512 Drop test for epoch::version.
11513
11514 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
11515 * cus-dep.el (custom-make-dependencies):
11516 * finder.el (finder-compile-keywords):
11517 Use autoload-rubric's feature argument.
11518
11519 * calendar/diary-lib.el (top-level): Make load behave more like require.
11520
11521 * vc-git.el (vc-git-stash-map): Move definition before use.
11522
11523 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
11524
11525 * custom.el (custom-declare-group): Purecopy standard-value.
11526 (custom-declare-group): Purecopy custom-prefix.
11527
11528 * international/mule.el (load-with-code-conversion):
11529 Call do-after-load-evaluation unconditionally.
11530
11531 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
11532
11533 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11534
11535 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
11536
11537 2009-11-04 Glenn Morris <rgm@gnu.org>
11538
11539 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
11540 (byte-compile-compatibility): Remove option.
11541 (byte-compile-close-variables, byte-compile-fix-header)
11542 (byte-compile-insert-header, byte-compile-output-docform)
11543 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
11544 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
11545 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
11546 (byte-compile-insert, byte-compile-defun):
11547 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
11548 (byte-defop-compiler19): Remove.
11549 Without byte-compile-compatibility, the 'emacs19-opcode property is not
11550 used by anything. Replace all calls with byte-defop-compiler.
11551
11552 2009-11-04 Juri Linkov <juri@jurta.org>
11553
11554 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
11555 (menu-bar-options-menu): Don't quote the `prop' arg of
11556 `menu-bar-make-mm-toggle'.
11557
11558 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
11559
11560 * calendar/calendar.el (cal-loaddefs):
11561 * calendar/diary-lib.el (diary-loaddefs):
11562 * calendar/holidays.el (hol-loaddefs):
11563 * eshell/esh-module.el (esh-groups): Load rather than require.
11564
11565 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 * calendar/todo-mode.el (todo-add-category): Don't hardcode
11568 point-min==1.
11569 (todo-top-priorities): Only display-buffer when called interactively.
11570 (todo-item-start): Don't save excursion point.
11571 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
11572 (todo-insert-item-here, todo-file-item, todo-remove-item):
11573 Adjust uses of todo-item-start and todo-item-end.
11574
11575 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
11576 (autoload-rubric): Don't use any more.
11577
11578 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
11579 and only put a prop if it is non-nil.
11580
11581 2009-11-03 Juri Linkov <juri@jurta.org>
11582
11583 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
11584 (menu-bar-options-menu): Fix list quoting (Bug#4429).
11585
11586 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
11587 and "Menu" to make top-level menu item visually one unit (like
11588 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
11589 multi-word menu items). Fix :help string for quit-window.
11590
11591 2009-11-03 Glenn Morris <rgm@gnu.org>
11592
11593 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
11594 (byte-compile-file-form-define-abbrev-table)
11595 (byte-compile-file-form-custom-declare-variable)
11596 (byte-compile-variable-ref, byte-compile-defvar):
11597 Whether or not a warning is enabled should only affect whether we issue
11598 the warning, not whether or not we collect the relevant data.
11599 Eg warnings can be turned on and off throughout the course of a file.
11600
11601 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
11602 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
11603
11604 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11605
11606 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
11607 * play/mpuz.el (mpuz-create-buffer):
11608 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
11609 (lm-print-y,s,noise, lm-print-w0, lm-init):
11610 * play/gomoku.el (gomoku-prompt-for-move):
11611 * play/fortune.el (fortune-in-buffer):
11612 * play/dissociate.el (dissociated-press):
11613 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
11614 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
11615 * mail/supercite.el (sc-eref-show):
11616 * mail/smtpmail.el (smtpmail-send-it):
11617 * mail/rmailsum.el (rmail-summary-next-labeled-message)
11618 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
11619 (rmail-summary-undelete-many, rmail-summary-rmail-update)
11620 (rmail-summary-goto-msg, rmail-summary-expunge)
11621 (rmail-summary-get-new-mail, rmail-summary-search-backward)
11622 (rmail-summary-add-label, rmail-summary-output-menu)
11623 (rmail-summary-output-body):
11624 * mail/rfc822.el (rfc822-addresses):
11625 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
11626 * mail/mailpost.el (post-mail-send-it):
11627 * mail/hashcash.el (hashcash-generate-payment):
11628 * mail/feedmail.el (feedmail-run-the-queue)
11629 (feedmail-queue-send-edit-prompt-help-first)
11630 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
11631 (feedmail-deduce-address-list):
11632 * eshell/esh-ext.el (eshell-remote-command):
11633 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
11634 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
11635 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
11636 (viper-save-string-in-file, viper-valid-marker):
11637 * emulation/viper-keym.el (viper-toggle-key):
11638 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
11639 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
11640 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
11641 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11642 (viper-exec-form-in-emacs, viper-brac-function):
11643 * emulation/viper.el (viper-delocalize-var):
11644 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
11645 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
11646 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
11647 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
11648 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
11649 * emulation/edt.el (edt-electric-helpify):
11650 * emulation/cua-rect.el (cua--rectangle-aux-replace):
11651 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
11652 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
11653 (cua-indent-to-global-mark-column):
11654 * calendar/diary-lib.el (calendar-mark-1):
11655 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
11656 Use with-current-buffer.
11657 * emulation/viper.el (viper-delocalize-var): Use dolist.
11658
11659 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
11660
11661 * comint.el (comint-replace-by-expanded-history-before-point):
11662 Replace !! with the previous input string literally (Bug#1795).
11663
11664 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
11665
11666 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
11667 to be made up of whitespace.
11668
11669 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
11670
11671 * minibuffer.el (read-file-name): Don't use file dialogs for
11672 remote directories (Bug#99).
11673
11674 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
11675
11676 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
11677
11678 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
11679
11680 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
11681 instead of deleting the window or frame.
11682
11683 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11684
11685 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
11686 Support face colors.
11687
11688 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
11689 New function. Support face colors (Bug#1168).
11690 (tex-common-initialization): Use it.
11691
11692 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
11693 mode allows it (Bug#1168).
11694
11695 2009-10-31 Juri Linkov <juri@jurta.org>
11696
11697 * facemenu.el (list-colors-display): Don't mark buffer as
11698 modified (Bug#3948).
11699
11700 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11701
11702 * international/mule-diag.el (list-character-sets-1): Minor
11703 message fix (Bug#3526).
11704
11705 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
11706 face property (Bug#4834).
11707 (etags-list-tags, etags-tags-apropos-additional)
11708 (etags-tags-apropos, tags-select-tags-table): Add follow-link
11709 property.
11710
11711 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
11712 items.
11713
11714 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
11715
11716 * textmodes/two-column.el (2C-split):
11717 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
11718 * textmodes/tex-mode.el (tex-set-buffer-directory):
11719 * textmodes/spell.el (spell-region, spell-string):
11720 * textmodes/reftex.el (reftex-erase-buffer):
11721 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
11722 * textmodes/reftex-toc.el (reftex-toc-promote-action):
11723 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
11724 (reftex-select-item):
11725 * textmodes/reftex-ref.el (reftex-label-info-update)
11726 (reftex-offer-label-menu):
11727 * textmodes/reftex-index.el (reftex-index-change-entry)
11728 (reftex-index-phrases-info):
11729 * textmodes/reftex-global.el (reftex-create-tags-file)
11730 (reftex-save-all-document-buffers, reftex-ensure-write-access):
11731 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
11732 (reftex-view-crossref-from-bibtex):
11733 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
11734 (reftex-extract-bib-entries-from-thebibliography)
11735 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
11736 * textmodes/refbib.el (r2b-capitalize-title):
11737 (r2b-convert-buffer, r2b-help):
11738 * textmodes/page-ext.el (pages-directory)
11739 (pages-directory-goto-with-mouse):
11740 * textmodes/bibtex.el (bibtex-validate-globally):
11741 * textmodes/bib-mode.el (bib-capitalize-title):
11742 * textmodes/artist.el (artist-clear-buffer, artist-system):
11743 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
11744 (local-set-scheme-interaction-buffer, xscheme-process-filter)
11745 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
11746 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
11747 (xscheme-send-control-g-interrupt, xscheme-start-process)
11748 (xscheme-process-sentinel, xscheme-cd):
11749 * progmodes/verilog-mode.el (verilog-read-always-signals)
11750 (verilog-set-define, verilog-getopt-file)
11751 (verilog-module-inside-filename-p):
11752 * progmodes/sh-script.el:
11753 * progmodes/python.el (python-pdbtrack-get-source-buffer)
11754 (python-pdbtrack-grub-for-buffer, python-execute-file):
11755 * progmodes/octave-inf.el (inferior-octave):
11756 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11757 (idlwave-shell-compile-helper-routines, idlwave-set-local)
11758 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
11759 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
11760 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
11761 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
11762 (idlwave-shell-filter, idlwave-shell-examine-highlight)
11763 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
11764 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
11765 (idlwave-shell-examine-display, idlwave-shell-run-region)
11766 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
11767 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
11768 * progmodes/idlw-help.el (idlwave-help-get-special-help)
11769 (idlwave-help-get-help-buffer):
11770 * progmodes/gud.el (gud-basic-call, gud-find-class)
11771 (gud-tooltip-activate-mouse-motions-if-enabled):
11772 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11773 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
11774 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
11775 (ebrowse-tags-next-file):
11776 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
11777 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
11778 (ebnf-eps-finish-and-write):
11779 * progmodes/cpp.el (cpp-edit-save):
11780 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
11781 * progmodes/cc-defs.el (c-emacs-features):
11782 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
11783 (antlr-directory-dependencies):
11784 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
11785 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
11786 (ada-find-any-references, ada-make-filename-from-adaname)
11787 (ada-make-body-gnatstub):
11788 * obsolete/rnews.el (news-list-news-groups):
11789 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
11790 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
11791 * net/rcirc.el (rcirc-debug):
11792 * net/newst-treeview.el (newsticker--treeview-list-add-item)
11793 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
11794 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
11795 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
11796 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
11797 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
11798 (newsticker--treeview-list-clear-highlight)
11799 (newsticker--treeview-list-update-highlight)
11800 (newsticker--treeview-list-highlight-start)
11801 (newsticker--treeview-tree-update-highlight)
11802 (newsticker--treeview-get-selected-item)
11803 (newsticker-treeview-mark-list-items-old)
11804 (newsticker--treeview-set-current-node):
11805 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11806 * net/newst-backend.el (newsticker--get-news-by-funcall)
11807 (newsticker--get-news-by-wget, newsticker--image-get)
11808 (newsticker--image-sentinel):
11809 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
11810 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
11811 (eudc-ph-close-session):
11812 * net/eudc.el (eudc-save-options):
11813 * language/thai-word.el (thai-update-word-table):
11814 * language/japan-util.el (japanese-string-conversion):
11815 * international/titdic-cnv.el (tsang-quick-converter)
11816 (ziranma-converter, ctlau-converter):
11817 * international/mule-cmds.el (describe-language-environment):
11818 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
11819 (skkdic-convert-postfix, skkdic-convert-prefix):
11820 (skkdic-convert-okuri-nasi, skkdic-convert):
11821 * emacs-lisp/re-builder.el (reb-update-overlays):
11822 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
11823 * emacs-lisp/gulp.el (gulp-send-requests):
11824 * emacs-lisp/find-gc.el (trace-call-tree):
11825 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
11826 (eieio-describe-generic):
11827 * emacs-lisp/eieio-base.el (eieio-persistent-read):
11828 * emacs-lisp/edebug.el (edebug-outside-excursion):
11829 * emacs-lisp/debug.el (debugger-make-xrefs):
11830 * emacs-lisp/cust-print.el (custom-prin1-to-string):
11831 * emacs-lisp/chart.el (chart-new-buffer):
11832 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
11833 Use with-current-buffer.
11834 * textmodes/artist.el (artist-system): Don't call
11835 copy-sequence on a fresh string.
11836 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
11837
11838 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
11839
11840 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
11841 is no item to edit. (Bug#4820)
11842 (todo-top-priorities): Restore point and restore narrowing in Todo
11843 buffer. (Bug#4820)
11844
11845 2009-10-31 Glenn Morris <rgm@gnu.org>
11846
11847 * net/ange-ftp.el (top-level): Don't require dired when compiling.
11848 (comint-last-output-start, comint-last-input-start)
11849 (comint-last-input-end): Don't defvar when compiling.
11850 (ange-ftp-process-file): Use bound-and-true-p.
11851
11852 * pcmpl-rpm.el (top-level): Move provide statement to end.
11853 (pcmpl-rpm): Remove unused custom group.
11854
11855 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
11856
11857 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
11858
11859 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
11860 (byte-compile-warnings): Add `constants' as an option.
11861 (byte-compile-callargs-warn, byte-compile-arglist-warn)
11862 (display-call-tree): Update for byte-compile-fdefinition possibly
11863 returning `(macro lambda ...)'. (Bug#4778)
11864 (byte-compile-variable-ref, byte-compile-setq-default):
11865 Respect `constants' member of byte-compile-warnings.
11866
11867 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11868
11869 * vc-bzr.el (vc-bzr-revision-keywords): New var.
11870 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
11871 to "submit:".
11872
11873 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
11874
11875 * textmodes/ispell.el (ispell-skip-region-alist):
11876 * international/mule-conf.el (eight-bit):
11877 * international/fontset.el (font-encoding-alist):
11878 * startup.el (pure-space-overflow-message):
11879 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
11880 * paths.el (gnus-nntp-service, rmail-spool-directory)
11881 (term-file-prefix):
11882 * files.el (save-some-buffers-action-alist):
11883 * cmuscheme.el (same-window-buffer-names):
11884 * ielm.el (same-window-buffer-names):
11885 * shell.el (same-window-buffer-names):
11886 * mail/sendmail.el (same-window-buffer-names):
11887 * progmodes/inf-lisp.el (same-window-buffer-names):
11888 * bindings.el (mode-line-client)
11889 (mode-line-column-line-number-mode-map):
11890 * language/tibetan.el (tibetan-precomposition-rule-regexp)
11891 (tibetan-precomposed-regexp): Purecopy string arguments.
11892
11893 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
11896 (calcDigit-nondigit):
11897 * calc/calc-yank.el (calc-copy-to-buffer):
11898 * calc/calc-units.el (calc-invalidate-units-table):
11899 * calc/calc-trail.el (calc-trail-yank):
11900 * calc/calc-store.el (calc-insert-variables):
11901 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
11902 * calc/calc-prog.el (calc-read-parse-table):
11903 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
11904 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
11905 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
11906 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
11907 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
11908 (calc-graph-name, calc-graph-find-command, calc-graph-view)
11909 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
11910 * calc/calc-ext.el (calc-realign):
11911 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11912 (calc-embedded-finish-edit, calc-embedded-make-info)
11913 (calc-embedded-finish-command, calc-embedded-stack-change):
11914 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11915
11916 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11917 shell-dynamic-complete-filename in preference to
11918 comint-dynamic-complete-filename.
11919
11920 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11921 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11922 Don't consider whether the display supports colors.
11923 (bookmark-import-new-list): Use dolist.
11924 (bookmark-bmenu-mode-map): Move initialization into declaration.
11925 (bookmark-bmenu-list): Use dolist, simplify.
11926 (bookmark-show-all-annotations): Use save-selected-window and dolist.
11927 (menu-bar-final-items): Use push.
11928
11929 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11930
11931 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11932 it works on remote files.
11933 (vc-hg-diff): Don't pass any `--cwd' argument.
11934
11935 2009-10-27 Kevin Ryde <user42@zip.com.au>
11936
11937 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11938 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11939 (Further to Bug#3921).
11940
11941 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
11942
11943 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11944 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11945 calling `tramp-imap-put-file'. Add file size to the call.
11946 (tramp-imap-get-file-entries): Compute also user name, file size,
11947 and date.
11948 (tramp-imap-handle-insert-directory): Insert uid and gid.
11949 (tramp-imap-handle-file-attributes): Transform uid and gid
11950 according to `id-format'.
11951 (tramp-imap-put-file): New optional parameter SIZE. Encode file
11952 size in header X-Size.
11953
11954 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
11955
11956 * simple.el (transpose-subr): Give clearer error when the mark
11957 is not set. (Bug#4807)
11958
11959 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
11960
11961 * net/tramp.el (tramp-perl-file-truename): New defconst.
11962 Perl code contributed by yary <not.com@gmail.com> (tiny change).
11963 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11964 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11965 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11966
11967 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11968 Ignore `dired-call-process'.
11969 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11970
11971 2009-10-26 Julian Scheid <julians37@gmail.com>
11972
11973 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11974 (tramp-get-remote-readlink): New defun.
11975 (tramp-handle-file-truename): Use it.
11976 (tramp-handle-file-exists-p): Check file-attributes cache, assume
11977 file exists if cache value present.
11978 (tramp-check-cached-permissions): New defun.
11979 (tramp-handle-file-readable-p): Use it.
11980 (tramp-handle-file-writable-p): Likewise.
11981 (tramp-handle-file-executable-p): Likewise.
11982 (tramp-handle-file-name-all-completions): Try using Perl to get
11983 partial completions. When perl not available, combine `cd' and
11984 `ls' into single remote operation and use shell expansion to get
11985 partial remote directory contents. Set `file-exists-p' cache for
11986 directory and any files returned by ls. Change cache handling to
11987 support partial directory contents. Use error message emitted by
11988 remote `cd' or Perl code for local tramp-error.
11989 (tramp-do-copy-or-rename-file-directly): Avoid separate
11990 tramp-send-command-and-check call.
11991 (tramp-handle-process-file): Merge three remote ops into one.
11992 Do not flush all caches when `process-file-side-effects' is set.
11993 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11994 file-attributes shows uid/gid to be set already.
11995
11996 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
11997
11998 * textmodes/tex-mode.el (tex-dvi-view-command)
11999 (tex-show-queue-command, tex-open-quote):
12000 * progmodes/ruby-mode.el (auto-mode-alist)
12001 (interpreter-mode-alist): Purecopy strings.
12002
12003 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12004
12005 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12006 string for the hook, keymap and abbrev table.
12007
12008 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12009
12010 * x-dnd.el (x-dnd-xdnd-to-action):
12011 * startup.el (fancy-startup-text, fancy-about-text): Change to
12012 defconst from defvar.
12013
12014 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12015
12016 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12017 Purecopy initialization strings.
12018
12019 * mail/sendmail.el (mail-header-separator)
12020 (mail-personal-alias-file):
12021 * mail/rmail.el (rmail-default-dont-reply-to-names)
12022 (rmail-ignored-headers, rmail-retry-ignored-headers)
12023 (rmail-highlighted-headers, rmail-secondary-file-directory)
12024 (rmail-secondary-file-regexp):
12025 * files.el (null-device, file-name-invalid-regexp)
12026 (locate-dominating-stop-dir-regexp)
12027 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12028 (interpreter-mode-alist): Use mapcar instead of mapc.
12029
12030 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12031
12032 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12033 (completion-ignored-extensions):
12034 (debug-ignored-errors): Purecopy strings.
12035
12036 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12039 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12040 (pcomplete--here): Use push.
12041
12042 * subr.el (all-completions): Declare the 4th arg obsolete.
12043
12044 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12045
12046 * pcomplete.el (pcomplete-unquote-argument-function): New var.
12047 (pcomplete-unquote-argument): New function.
12048 (pcomplete--common-suffix): Always pay attention to case.
12049 (pcomplete--table-subvert): Quote and unquote the text.
12050 (pcomplete--common-quoted-suffix): New function.
12051 (pcomplete-std-complete): Use it and pcomplete-begin.
12052
12053 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12054 we're inside a dedicated or minibuffer window.
12055
12056 2009-10-24 Karl Fogel <kfogel@red-bean.com>
12057
12058 * bookmark.el: Update documentation, especially documentation
12059 of `bookmark-alist' and of the bookmark file format.
12060 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
12061
12062 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
12063
12064 * mail/emacsbug.el (report-emacs-bug): Clarify that the
12065 keybindings apply to the mail buffer (Bug#4003). Shrink help
12066 window to buffer.
12067
12068 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12069 (global-whitespace-mode, global-whitespace-newline-mode)
12070 (whitespace-toggle-options, global-whitespace-toggle-options):
12071 Doc fix (Bug#3660).
12072
12073 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
12074 of xmltok-start before the end tag was inserted (Bug#2840).
12075
12076 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
12077 patterns that are preceded by an open-paren (Bug#1320).
12078
12079 2009-10-24 Sven Joachim <svenjoac@gmx.de>
12080
12081 * files.el (delete-directory): Delete symlinks to directories with
12082 delete-file (Bug#4739).
12083
12084 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
12085
12086 * vc.el (vc-backend-for-registration): Rename from
12087 vc-get-backend-for-registration. Update callers.
12088
12089 * international/mule-cmds.el (set-language-info-alist):
12090 Purecopy lang-env.
12091 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
12092 (charset): Purecopy the name.
12093 (define-char-code-property): Purecopy string arguments.
12094
12095 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12096 Purecopy string arguments.
12097
12098 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12099 * ediff-hook.el (menu-bar-ediff-menu):
12100 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
12101 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
12102
12103 2009-10-24 Glenn Morris <rgm@gnu.org>
12104
12105 * comint.el (comint-dynamic-list-completions):
12106 * term.el (term-dynamic-list-completions): Use choose-completion rather
12107 than obsolete alias mouse-choose-completion.
12108
12109 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
12110 file-cache-choose-completion.
12111 (file-cache-choose-completion): Handle an optional event argument.
12112 (file-cache-mouse-choose-completion): Make it an obsolete alias.
12113
12114 * progmodes/octave-mod.el (octave-complete-symbol):
12115 Use choose-completion if mouse-choose-completion is ever removed.
12116
12117 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
12118 use.
12119
12120 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
12121 compiler.
12122
12123 * vc-hooks.el (vc-responsible-backend): Fix declaration.
12124
12125 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12128 Ignore `pred' now that we receive one.
12129 Handle test-completion specially.
12130
12131 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12132
12133 * vc.el (vc-responsible-backend): Throw an error if not backend is
12134 found. Remove the REGISTER argument. Move the code dealing with
12135 REGISTER ...
12136 (vc-get-backend-for-registration): ... here. New function.
12137 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12138 of vc-responsible-backend, pass the file name instead of the
12139 directory name.
12140
12141 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12144 New funs.
12145 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
12146 (pcomplete-comint-setup): Don't modify a global var via
12147 accidental side-effects.
12148 (pcomplete-shell-setup): Adjust call accordingly.
12149 (pcomplete-parse-comint-arguments): Use push.
12150
12151 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
12152
12153 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12154 Allow uncapitalized info node names (Bug#3921).
12155
12156 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12157 to the DEBUG file (Bug#3781).
12158
12159 2009-10-23 Jari Aalto <jari.aalto@cante.net>
12160
12161 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12162 dictionary entry (Bug#4579).
12163
12164 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
12165
12166 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12167 from `rfn-eshadow-update-overlay-hook' when unloading.
12168 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12169 "rsyncc". Adjust doc string.
12170 (tramp-temp-buffer-file-name): New buffer-local defvar.
12171 (tramp-handle-insert-file-contents, tramp-handle-write-region):
12172 Keep temporary file when indicated by method ("rsync" and
12173 "rsyncc").
12174 (tramp-handle-write-region): Handle APPEND.
12175 (tramp-delete-temp-file-function): New defun. Added to
12176 `kill-buffer-hook'.
12177
12178 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
12179
12180 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12181
12182 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12183
12184 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12185 (color-name-rgb-alist, tty-standard-colors)
12186 (tty-color-mode-alist): Change to defconst.
12187
12188 * simple.el (mark-inactive): Purecopy message.
12189
12190 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12191 (global-map, yank-menu):
12192 * textmodes/ispell.el (ispell-menu-map):
12193 * net/eudc.el (eudc-tools-menu):
12194 * international/mule-cmds.el (describe-language-environment-map)
12195 (setup-language-environment-map, set-coding-system-map)
12196 (mule-menu-keymap):
12197 * vc-hooks.el (vc-menu-entry, vc-menu-map):
12198 * replace.el (occur-mode-map):
12199 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12200
12201 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
12202
12203 * calc/calc.el (math-read-number, math-read-number-simple): Use
12204 `save-match-data'.
12205
12206 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12207
12208 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12209 rather than fiddling with global-map bindings, since it should only
12210 affect per-terminal settings.
12211 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12212
12213 * minibuffer.el (completion-table-with-terminator): Allow to specify
12214 the terminator-regexp.
12215
12216 * simple.el (switch-to-completions): Look for *Completions* in other
12217 frames as well.
12218
12219 * pcomplete.el: Allow the use of completion-tables.
12220 (pcomplete-std-complete): New command.
12221 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12222 (pcomplete--here): Use a function for `form' rather than an expression,
12223 so it can be byte-compiled.
12224 (pcomplete-here, pcomplete-here*): Adjust accordingly.
12225 Add edebug declaration.
12226 (pcomplete-show-completions): Remove unused var `curbuf'.
12227 (pcomplete-do-complete, pcomplete-stub):
12228 Don't assume `completions' is a list of strings any more.
12229
12230 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
12231
12232 * find-dired.el (find-name-arg): Fix typo in docstring.
12233
12234 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12237 (pcmpl-linux-fs-types): Same, and update to new modules layout.
12238
12239 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12240 pcomplete-entries.
12241
12242 * comint.el (comint-read-input-ring, comint-write-input-ring)
12243 (comint-substitute-in-file-name)
12244 (comint-dynamic-complete-as-filename)
12245 (comint-dynamic-simple-complete)
12246 (comint-dynamic-list-filename-completions)
12247 (comint-dynamic-list-completions)
12248 (comint-redirect-results-list-from-process): Minor simplifications.
12249
12250 2009-10-21 Kevin Ryde <user42@zip.com.au>
12251
12252 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12253 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12254 the first form. And insert a blank line after ";;; Code" since
12255 that's usual style. (Bug#4612)
12256
12257 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12258
12259 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12260
12261 * minibuffer.el (completion-table-with-terminator): Properly implement
12262 boundaries, in case `terminator' appears in the suffix.
12263 (completion--embedded-envvar-table): Don't return boundaries if
12264 there's no valid completion. Simplify.
12265 (completion-file-name-table): New completion table extracted from
12266 completion--file-name-table.
12267 (completion--file-name-table): Use it.
12268 (read-file-name-predicate): Declare obsolete.
12269 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
12270 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
12271 completion-file-name-table, and use the `pred' argument.
12272 * files.el (locate-file-completion-table): Use the `pred' arg rather
12273 than read-file-name-predicate.
12274 (abbreviate-file-name): Use \` rather than ^ for BOS.
12275
12276 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
12277
12278 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
12279 vc-responsible-backend to register, it causes problems.
12280
12281 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
12284
12285 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
12286
12287 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
12288 (tramp-smb-handle-file-attributes): Use it.
12289 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
12290 (tramp-smb-handle-insert-directory): Use `mapc' rather than
12291 `mapcar'. Use `tramp-smb-get-stat-capability'.
12292 Add `dired-filename' text properties.
12293 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
12294 (tramp-smb-maybe-open-connection): Simplify check for smbclient
12295 version.
12296
12297 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * subr.el (read-key-delay): Reduce to 0.01.
12300 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
12301 (bug#4751).
12302
12303 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
12306
12307 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
12308 (Info-menu): Remove unused vars `last' and `completions'.
12309 (Info-index-nodes): Remove unused var `node'.
12310
12311 * info.el (Info-complete-menu-item): Use complete-with-action.
12312
12313 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
12314
12315 Make vc-annotate work through copies and renames.
12316 * vc-annotate.el (vc-annotate-extract-revision-at-line):
12317 Return the file name too.
12318 (vc-annotate-revision-at-line)
12319 (vc-annotate-find-revision-at-line)
12320 (vc-annotate-revision-previous-to-line)
12321 (vc-annotate-show-log-revision-at-line): Update to get the file
12322 name from vc-annotate-extract-revision-at-line.
12323 (vc-annotate-show-diff-revision-at-line-internal): Change the
12324 argument to mean whether to show a file diff or not. Get the file
12325 name from vc-annotate-extract-revision-at-line.
12326 (vc-annotate-show-diff-revision-at-line):
12327 Update vc-annotate-show-diff-revision-at-line call.
12328 (vc-annotate-warp-revision): Add an optional file argument.
12329
12330 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
12331 (vc-git-annotate-extract-revision-at-line): Also return the file
12332 name if found.
12333
12334 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
12335 command. Remove unused code.
12336 (vc-hg-annotate-re): Update to match --follow output.
12337 (vc-hg-annotate-extract-revision-at-line): Also return the file
12338 name if found.
12339
12340 * vc.el: Update annotate-extract-revision-at-line documentation.
12341
12342 2009-10-18 Kevin Ryde <user42@zip.com.au>
12343
12344 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
12345 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
12346
12347 * net/browse-url.el (browse-url): Identify alist with "consp and
12348 not functionp" and let all other things go down the `apply' leg,
12349 as suggested by Stefan. (Further to bug#4531.)
12350
12351 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
12352
12353 * minibuffer.el (read-file-name): Check for repeat before putting
12354 a default argument in file-name-history (Bug#4657).
12355
12356 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
12357 read syntax (Bug#4737).
12358
12359 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
12360
12361 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12362
12363 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
12364 (html-tag-alist, html-tag-help): Add descriptions for undocumented
12365 entries and make note of obsolete tags.
12366
12367 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12368
12369 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
12370
12371 2009-10-18 Glenn Morris <rgm@gnu.org>
12372
12373 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
12374 grep, so that binary files (eg international/uni-bidi.el) can match.
12375 Remove test for "UnicodeData" files, since it is hopefully unnecessary
12376 now, and in any case the file header format has changed.
12377
12378 2009-10-17 Glenn Morris <rgm@gnu.org>
12379
12380 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
12381 (flyspell-get-word, flyspell-large-region)
12382 (flyspell-auto-correct-previous-word): Doc/error message fixes.
12383
12384 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
12385
12386 * Makefile.in (ELCFILES): Add ede/shell.
12387
12388 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
12389
12390 * term/common-win.el (x-colors): Purecopy it.
12391
12392 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
12395 permissive for when the buffer is empty.
12396 (tar-header-block-tokenize): Decode the username and groupname.
12397 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
12398
12399 2009-10-17 Eric Ludlam <zappo@gnu.org>
12400
12401 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
12402 contains multibyte characters, choose first applicable coding
12403 system automatically.
12404
12405 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12406
12407 * international/mule-cmds.el (select-safe-coding-system): If the file
12408 has a coding cookie, use it regardless of any other setting (bug#4712).
12409
12410 2009-10-17 Glenn Morris <rgm@gnu.org>
12411
12412 * foldout.el (foldout-mouse-swallow-events):
12413 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
12414
12415 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
12416 (dired-keep-marker-copy, dired-keep-marker-hardlink)
12417 (dired-keep-marker-symlink, dired-dwim-target)
12418 (dired-copy-preserve-time): Do not autoload these defcustoms.
12419
12420 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
12421 messages from messing up the file coding. (Bug#4623)
12422
12423 2009-10-17 Jari Aalto <jari.aalto@cante.net>
12424
12425 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
12426 if no match is found for the current dictionary. (Bug#4578)
12427
12428 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
12429 optional, since that is how it is documented, and this is often called
12430 with a nil argument. (Bug#4577)
12431 (flyspell-external-point-words, flyspell-auto-correct-word)
12432 (flyspell-correct-word-before-point, flyspell-word-search-forward)
12433 (flyspell-word-search-backward): Remove nil argument in calls to
12434 flyspell-get-word, since it is not needed now.
12435
12436 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
12437
12438 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
12439
12440 2009-10-16 Glenn Morris <rgm@gnu.org>
12441
12442 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
12443
12444 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12445
12446 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
12447 (ange-ftp-file-size): New function.
12448 (ange-ftp-file-attributes): Use it.
12449
12450 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
12451
12452 * net/tramp-smb.el (tramp-smb-version): New defvar.
12453 (tramp-smb-maybe-open-connection): Use it, in order to avoid
12454 repeated checks.
12455
12456 2009-10-16 Glenn Morris <rgm@gnu.org>
12457
12458 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
12459 Maybe copy some custom properties from old to new name. (Bug#4706)
12460
12461 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
12462
12463 * subr.el (error, sit-for, start-process-shell-command)
12464 (start-file-process-shell-command): Set the calling convention
12465 after the function definition.
12466
12467 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 * subr.el (error, sit-for, start-process-shell-command)
12470 (start-file-process-shell-command): Use the new
12471 set-advertised-calling-convention feature.
12472
12473 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
12474
12475 * international/ucs-normalize.el (ucs-normalize-version):
12476 Change to 1.2.
12477 (check-range): Adjust for Unicode 5.2.
12478
12479 2009-10-15 Juri Linkov <juri@jurta.org>
12480
12481 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
12482 to the `menu-item' format.
12483
12484 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
12485
12486 * net/tramp.el (tramp-replace-environment-variables): Do not fail
12487 if the environment variable does not exist.
12488
12489 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12490 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
12491 parameter.
12492 (tramp-smb-handle-add-name-to-file)
12493 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12494 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12495 (tramp-smb-handle-file-attributes)
12496 (tramp-smb-do-file-attributes-with-stat)
12497 (tramp-smb-handle-file-local-copy)
12498 (tramp-smb-handle-insert-directory)
12499 (tramp-smb-handle-make-directory)
12500 (tramp-smb-handle-make-directory-internal)
12501 (tramp-smb-handle-make-symbolic-link)
12502 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
12503 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
12504 (tramp-smb-maybe-open-connection): Apply the changed parameters.
12505 (tramp-smb-read-file-entry): Read Disk names in compressed format.
12506 Handle long file names.
12507 (tramp-smb-get-cifs-capabilities): Check, whether the connection
12508 process is running.
12509 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
12510 Read share names with "-g" option.
12511
12512 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
12513
12514 * net/rcirc.el (rcirc-view-log-file): New command.
12515 (rcirc-track-minor-mode-map): Remove C-c ` binding.
12516 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
12517 specified.
12518
12519 2009-10-15 Glenn Morris <rgm@gnu.org>
12520
12521 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
12522 from the second command-line argument.
12523 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
12524 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
12525 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
12526 w32-batch-update-autoloads.
12527 * emacs-lisp/autoload.el (autoload-make-program): New variable.
12528 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
12529
12530 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
12531 the headers cannot be located. Simplify, subtracting superflous
12532 save-excursions.
12533
12534 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
12535
12536 Replace completion-base-size by completion-base-position to fix bugs
12537 such as (bug#4699).
12538 * simple.el (completion-base-position): New var.
12539 (completion-base-size): Mark as obsolete.
12540 (choose-completion): Make it work for mouse events as well.
12541 Pass the new base-position to choose-completion-string.
12542 (choose-completion-guess-base-position): New function, extracted from
12543 choose-completion-delete-max-match.
12544 (choose-completion-delete-max-match): Use it. Make obsolete.
12545 (choose-completion-string): Use the new base-position info.
12546 (completion-root-regexp): Delete.
12547 (completion-setup-function): Preserve completion-base-position.
12548 Eliminate obsolete base-size manipulation.
12549 * minibuffer.el (display-completion-list): Don't mess with base-size.
12550 (minibuffer-completion-help): Set completion-base-position instead.
12551 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
12552 choose-completion.
12553 * textmodes/bibtex.el (bibtex-complete):
12554 * emacs-lisp/crm.el (crm--choose-completion-string):
12555 Adjust to new calling convention.
12556 * complete.el (partial-completion-mode): Use minibufferp to avoid
12557 bumping into incompatible change to choose-completion-string-functions.
12558 * ido.el (ido-choose-completion-string): Make its calling convention
12559 more permissive.
12560 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
12561 base-size manipulation.
12562 (comint-dynamic-list-input-ring): Use dotimes and push.
12563 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
12564 fundamental-mode. Use `or'.
12565
12566 2009-10-14 Juri Linkov <juri@jurta.org>
12567
12568 * misearch.el (multi-isearch-next-buffer-from-list)
12569 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
12570
12571 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * Makefile.in (compile-onefile): Load `bytecomp' rather than
12574 `bytecomp.el'.
12575
12576 * minibuffer.el (completion-pcm--merge-completions): Make sure the
12577 string we return is all made up of text from the completions rather
12578 than part from the completions and part from the input (bug#4219).
12579
12580 * ido.el (ido-everywhere): Use define-minor-mode.
12581
12582 * buff-menu.el (list-buffers, ctl-x-map):
12583 Mark the entry points with ;;;###autoload cookies.
12584
12585 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
12586
12587 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
12588 correctly in the detached head case.
12589 (vc-git-print-log): Remove unused binding.
12590
12591 * vc.el (vc-responsible-backend): When a directory is passed for
12592 for registration create a VC repository if no backend is
12593 responsible for the directory argument.
12594 (vc-deduce-fileset): Tell vc-responsible-backend to register.
12595
12596 * vc.el: Move comments about RCS and SCCS ...
12597 * vc-rcs.el:
12598 * vc-sccs.el: ... here, respectively.
12599
12600 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * minibuffer.el (completion--file-name-table): Return nil if there's
12603 no file completion, even if substitute-in-file-name changed
12604 the string (bug#4708).
12605
12606 2009-10-13 Juri Linkov <juri@jurta.org>
12607
12608 * files-x.el (read-file-local-variable-value): Don't filter out
12609 minor modes from mode name completion (bug#4664).
12610
12611 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12612
12613 * international/mule-cmds.el (ucs-names): Remove exclusion of
12614 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
12615
12616 2009-10-13 Kenichi Handa <handa@m17n.org>
12617
12618 * international/uni-name.el: Regenerated.
12619
12620 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12621
12622 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
12623 should be automatically buffer-local, but isn't.)
12624
12625 2009-10-12 Sam Steingold <sds@gnu.org>
12626
12627 * progmodes/compile.el (compilation-next-error-function): Fix the
12628 timestamps if the buffer has been visited before.
12629 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
12630 non-anchored patterns, like the perl one (bug#3928).
12631
12632 2009-10-12 Glenn Morris <rgm@gnu.org>
12633
12634 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
12635 Let-bind `size'.
12636
12637 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
12638
12639 * proced.el (proced-unload-function): New function.
12640
12641 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
12642 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
12643 Doc fix.
12644
12645 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
12646
12647 2009-10-11 Juri Linkov <juri@jurta.org>
12648
12649 * files-x.el (read-file-local-variable-value):
12650 Provide default value only for bound variables (bug#4664).
12651
12652 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
12653
12654 * net/tramp.el (tramp-local-host-p): Function shall return nil for
12655 connection methods like smb.
12656
12657 * net/tramp-cache.el (tramp-flush-connection-property): The hash
12658 can be empty.
12659
12660 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12661 (tramp-smb-file-name-handler-alist): Add handlers for
12662 `add-name-to-file', `make-symbolic-link'.
12663 (tramp-smb-handle-add-name-to-file)
12664 (tramp-smb-do-file-attributes-with-stat)
12665 (tramp-smb-handle-make-symbolic-link)
12666 (tramp-smb-get-cifs-capabilities): New defuns.
12667 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12668 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12669 (tramp-smb-handle-file-local-copy)
12670 (tramp-smb-handle-make-directory-internal)
12671 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
12672 The file name syntax depends on cifs capabilities.
12673 (tramp-smb-handle-file-attributes):
12674 Call `tramp-smb-do-file-attributes-with-stat' if possible.
12675 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
12676 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
12677
12678 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
12679
12680 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
12681 (eieio-defclass): Apply deftype handler and setf-method properties
12682 directly.
12683 (eieio-add-new-slot): Avoid union function from cl library.
12684 (eieio--typep): New function.
12685 (eieio-perform-slot-validation): Use it.
12686
12687 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12688
12689 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
12690 Update documentation to refer to the variables documented in r1.135.
12691 (Bug#4188)
12692
12693 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12694
12695 * bookmark.el (Info-suffix-list): Remove this unused variable.
12696 (bookmark-current-point): Remove this obsolete variable.
12697 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
12698 Adjust for removal of bookmark-current-point.
12699
12700 (bookmarks-already-loaded, bookmark-current-buffer)
12701 (bookmark-yank-point): Document. (Bug#4188)
12702
12703 2009-10-10 Glenn Morris <rgm@gnu.org>
12704
12705 * frame.el (frame-height): Doc fix.
12706
12707 * calendar/calendar.el (calendar-split-width-threshold): New option.
12708 (calendar-basic-setup): Use calendar-split-width-threshold.
12709
12710 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
12711
12712 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
12713 Ideographic Supplement" range (U+1F200..U+1F2FF).
12714
12715 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12716
12717 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
12718 since the list will have been rebuilt anyway. (Bug#4349)
12719
12720 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12721
12722 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
12723 (bookmark-bmenu-execute-deletions): Don't save here, as
12724 bookmark-delete will now do so if necessary.
12725 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
12726 (Bug#4348)
12727
12728 2009-10-09 Glenn Morris <rgm@gnu.org>
12729
12730 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
12731
12732 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12733
12734 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
12735 (bookmark-jump-other-window): Just invoke bookmark-jump with new
12736 argument now, so the two function's behaviors will match. (Bug#3645)
12737
12738 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
12739
12740 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
12741 (tramp-file-name-real-host, tramp-file-name-port):
12742 Apply `save-match-data'.
12743
12744 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
12745 case both directories are remote.
12746 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
12747 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
12748
12749 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12750
12751 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
12752
12753 2009-10-07 Glenn Morris <rgm@gnu.org>
12754
12755 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
12756 of concat.
12757
12758 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12759
12760 * files-x.el (read-file-local-variable): Include some
12761 non-user-variables in the completion table (bug#4664).
12762
12763 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
12764
12765 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
12766 message.
12767
12768 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12769 (tramp-smb-file-name-handler-alist): Add handler for
12770 `copy-directory', `expand-file-name', `set-file-modes'.
12771 (tramp-smb-handle-copy-directory)
12772 (tramp-smb-handle-expand-file-name)
12773 (tramp-smb-handle-set-file-modes): New defuns.
12774 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
12775 (tramp-smb-handle-file-attributes): Simplify check for retrieving
12776 entry.
12777 (tramp-smb-handle-insert-directory): Don't flush the cache.
12778 (tramp-smb-maybe-open-connection): Check for samba client and
12779 server versions.
12780
12781 2009-10-07 Eli Zaretskii <eliz@gnu.org>
12782
12783 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
12784 to not error out of search for "^lisp=" fails.
12785
12786 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12787
12788 * makefile.w32-in (WINS_UPDATES): New macro.
12789 (custom-deps, finder-data, autoloads): Use it.
12790
12791 2009-10-07 Glenn Morris <rgm@gnu.org>
12792
12793 * Makefile.in (autoloads): Revert previous change.
12794 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
12795 the list of preloaded files passed on the command-line, get
12796 it from src/Makefile.
12797
12798 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
12799 show the original buffer rather than a random one.
12800
12801 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
12802
12803 * help.el (describe-no-warranty): Place point in a slightly better
12804 position in the GPLv3 text.
12805
12806 2009-10-06 Sam Steingold <sds@gnu.org>
12807
12808 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
12809 the comm attribute is present before calling regexp-quote.
12810
12811 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
12812
12813 * play/animate.el (animate-string): For good effect, make sure
12814 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
12815
12816 * play/animate.el (animate-sequence, animate-birthday-present):
12817 * misc.el (butterfly): Don't set `indent-tabs-mode'.
12818
12819 2009-10-06 Glenn Morris <rgm@gnu.org>
12820
12821 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
12822
12823 * emacs-lisp/autoload.el (autoload-excludes): New variable.
12824 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
12825 (batch-update-autoloads): Process a string value of autoload-excludes,
12826 set during the build process.
12827 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
12828
12829 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
12830 inside with-parsed... macro so that `v' is defined.
12831
12832 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
12833 * progmodes/fortran.el (fortran-end-of-block)
12834 (fortran-beginning-of-block):
12835 Also push mark in the macro case.
12836
12837 * emerge.el (emerge-show-file-name):
12838 * calc/calc.el (calc-quit):
12839 * calc/calc-misc.el (calc-big-or-small):
12840 * calc/calc-graph.el (calc-graph-view):
12841 * calc/calc-ext.el (calc-reset):
12842 * calendar/calendar.el (calendar-basic-setup):
12843 Use window-full-height-p.
12844
12845 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
12846 header we don't understand, don't insert another. (Bug#4624)
12847 If changing mime charset, insert the new one in the right place.
12848
12849 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
12850
12851 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
12852 (cal-tex-cursor-month): Correctly increment the end date for diary and
12853 holiday listing. (Bug#4626)
12854
12855 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12856
12857 * help-fns.el (describe-function-1): Don't burp if the function is not
12858 a symbol.
12859
12860 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
12861
12862 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
12863 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
12864 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
12865 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
12866
12867 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
12868 (eieio-default-superclass): Reflow docstrings.
12869 (this, class-option-assoc, defclass, eieio-class-un-autoload)
12870 (eieio-unbind-method-implementations, defmethod)
12871 (eieio-validate-slot-value, eieio-validate-class-slot-value)
12872 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
12873 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
12874 (eieio-slot-originating-class-p, eieio-slot-name-index)
12875 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
12876 (constructor, initialize-instance, no-next-method, object-print)
12877 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
12878 Fix typos in docstrings.
12879 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
12880 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
12881 (next-method-p): Doc fixes.
12882 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
12883 Fix typos in error messages.
12884 (eieio-defmethod): Fix typo in description of generic method.
12885
12886 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
12887 (eieio-persistent-save-interactive, slot-missing):
12888 Fix typos in docstrings.
12889 (eieio-instance-inheritor-slot-boundp): Doc fix.
12890
12891 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
12892 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
12893
12894 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
12895 (eieio-custom-object-apply-reset):
12896 Fix typos in docstrings and error messages.
12897
12898 * emacs-lisp/eieio-datadebug.el (data-debug-show):
12899 Fix typo in docstring.
12900
12901 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12902 (eieio-browse-tree): Doc fix.
12903 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12904 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12905 Fix typos in docstrings.
12906
12907 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12908 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12909 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12910 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12911 Reflow docstrings.
12912
12913 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
12914
12915 * vc-hg.el (log-view-vc-backend): Declare for compiler.
12916 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12917 Set log-view-vc-backend so that diff can work.
12918
12919 * log-view.el (log-view-diff): Use vc-diff-internal instead of
12920 vc-version-diff.
12921 (vc-diff-internal): Autoload this instead of vc-version-diff.
12922
12923 2009-10-05 Eli Zaretskii <eliz@gnu.org>
12924
12925 * simple.el (eval-expression): Doc fix.
12926
12927 * progmodes/cwarn.el (cwarn-mode): Doc fix.
12928
12929 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
12930
12931 * files.el (directory-files-no-dot-files-regexp): New defconst.
12932 (delete-directory): Use it.
12933 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
12934
12935 * net/tramp.el (tramp-verbose): Fix docstring.
12936 (tramp-methods): Add recursive option to `tramp-copy-args'.
12937 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
12938 "scp1_old", "scp2_old", "rsync", "rsyncc".
12939 (tramp-default-method): Check also for `auth-source-user-or-password'.
12940 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12941 Add handler for `copy-directory'.
12942 (tramp-handle-copy-directory): New defun.
12943 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12944 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12945 Optimize sent command.
12946
12947 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12948
12949 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12950 window if necessary.
12951
12952 * calendar/calendar.el (calendar-basic-setup): Don't call
12953 switch-to-buffer in a dedicated window.
12954
12955 2009-10-05 Karl Fogel <kfogel@red-bean.com>
12956
12957 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12958 don't do anything related to relocating, just return nil.
12959 (bookmark-error-no-filename): New error.
12960 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12961 bookmark has no file. Don't even attempt to handle things that
12962 are not files; the whole point of custom handlers is to keep that
12963 knowledge elsewhere anyway. Tighten some comments.
12964 (bookmark-file-or-variation-thereof): Remove now-unused function.
12965 (bookmark-location): Doc string fix.
12966 (Bug#4250)
12967
12968 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12969
12970 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12971 don't use a file dialog, because they usually don't know how to read
12972 a directory target from the user. (Bug#4230)
12973 Also, make sure the prompt can display directories as well as files.
12974
12975 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12976
12977 * bookmark.el (bookmark-set, bookmark-buffer-name):
12978 Improve doc strings. (Bug#1193)
12979
12980 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12981
12982 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12983 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12984 (bookmark-get-annotation, bookmark-set-annotation)
12985 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12986 (bookmark-set-position, bookmark-get-front-context-string)
12987 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12988 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12989 (bookmark-jump-other-window, bookmark-handle-bookmark)
12990 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12991 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12992 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12993 Improve doc strings to say whether bookmark can be a string or
12994 a record or both, and make other consistency and clarity fixes.
12995 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12996 (bookmark-default-annotation-text, bookmark-yank-word)
12997 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12998 (bookmark-import-new-list, bookmark-maybe-rename)
12999 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13000 (bookmark-bmenu-bookmark): Give these doc strings.
13001 (bookmark-bmenu-check-position): Give this a doc string, but also
13002 add a FIXME comment about how the function may be pointless.
13003 (bookmark-default-handler): Rework doc string and change a
13004 parameter name, to clarify that this takes a bookmark record
13005 not a bookmark name.
13006 (bookmark-set): Change a parameter name to indicate its meaning,
13007 and improve the doc string a bit.
13008 (Bug#4188)
13009
13010 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13011
13012 * bookmark.el (bookmark-alist): Document the new `handler' element
13013 in the param alist.
13014 (bookmark-make-record-function): Adjust documentation for above.
13015 (Bug#4193)
13016
13017 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13018
13019 * info.el (Info-bookmark-make-record): Document this function.
13020 (Info-bookmark-jump): Document with a doc string, not just a comment.
13021 (Bug#4203)
13022
13023 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
13024
13025 * files.el (copy-directory): New defun.
13026
13027 * dired-aux.el (dired-copy-file-recursive): Use it.
13028
13029 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
13030
13031 * files-x.el (modify-dir-local-variable)
13032 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13033 docstrings.
13034
13035 * recentf.el (recentf-unload-function): New function.
13036
13037 2009-10-04 Glenn Morris <rgm@gnu.org>
13038
13039 * window.el (window-full-height-p): Add doc string.
13040
13041 2009-10-04 Martin Rudalics <rudalics@gmx.at>
13042
13043 * window.el (window-full-height-p): New function. (Bug#4543)
13044
13045 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
13046
13047 * vc.el: Remove commented out code.
13048 (vc-derived-from-dir-mode): Remove, unused.
13049 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13050
13051 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
13052
13053 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13054 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
13055 there could be recursive loading when `default-directory' is a
13056 remote file name. (Bug#4614)
13057
13058 2009-10-03 Glenn Morris <rgm@gnu.org>
13059
13060 * calendar/calendar.el (calendar-basic-setup): Handle the case where
13061 the frame is wide.
13062 (calendar-generate-window): Test for shrinkability rather than width.
13063
13064 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
13065 reusing existing buffers, in case we happen to visit two files with the
13066 same basename. (Bug#4593)
13067
13068 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13069
13070 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
13071 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
13072 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
13073 subdirs of cedet as well.
13074 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
13075
13076 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
13079 Obey advertised-signature-table.
13080
13081 * help-fns.el (help-function-arglist): Don't check
13082 advertised-signature-table.
13083 (describe-function-1): Do it here instead so it also applies to subrs.
13084
13085 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
13086
13087 * simple.el (start-file-process): Say in the doc-string, that file
13088 handlers might not support pty association, if PROGRAM is nil.
13089
13090 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
13091 HOST and USER are strings. They are nil, when there are
13092 incomplete entries in ~/.netrc, for example.
13093 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
13094 root directory ("device busy" error otherwise).
13095
13096 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
13097 Flush file properties of created directory.
13098
13099 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13100
13101 * makefile.w32-in (WINS_BASIC): Remove cedet.
13102 (WINS_CEDET): Add cedet.
13103 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
13104
13105 2009-10-02 Kevin Ryde <user42@zip.com.au>
13106
13107 * net/browse-url.el (browse-url): Pass any symbol in
13108 browse-url-browser-function to `apply', since if you've mistakenly put
13109 an unbound symbol then the error is clearer. (Bug#4531)
13110
13111 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13112
13113 * allout.el (allout-init, allout-back-to-current-heading)
13114 (allout-beginning-of-current-entry, allout-ascend-to-depth)
13115 (allout-ascend, allout-up-current-level, allout-end-of-level)
13116 (allout-previous-visible-heading, allout-forward-current-level)
13117 (allout-backward-current-level, allout-show-children):
13118 * apropos.el (apropos-describe-plist):
13119 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
13120 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
13121 * completion.el (add-completion, add-permanent-completion):
13122 * descr-text.el (describe-text-category, describe-char):
13123 * desktop.el (desktop-lazy-abort):
13124 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13125 * dired.el (dired-build-subdir-alist):
13126 * ediff.el (ediff-version):
13127 * elide-head.el (elide-head, elide-head-show):
13128 * emerge.el (emerge-version):
13129 * env.el (getenv):
13130 * face-remap.el (variable-pitch-mode):
13131 * faces.el (describe-face):
13132 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13133 (dired-at-point):
13134 * files.el (find-file-existing, auto-save-mode):
13135 * font-lock.el (font-lock-fontify-buffer):
13136 * help-fns.el (describe-function, describe-variable)
13137 (describe-syntax, describe-categories):
13138 * help.el (view-lossage, describe-bindings, describe-key)
13139 (describe-mode):
13140 * hexl.el (hexl-current-address):
13141 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13142 * info.el (Info-goto-emacs-key-command-node):
13143 * log-edit.el (log-edit-insert-cvs-template)
13144 (log-edit-insert-cvs-rcstemplate):
13145 * menu-bar.el (menu-bar-mode):
13146 * mouse.el (mouse-appearance-menu):
13147 * newcomment.el (comment-indent-new-line):
13148 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13149 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13150 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13151 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13152 * recentf.el (recentf-mode):
13153 * savehist.el (savehist-mode, savehist-save):
13154 * shadowfile.el (shadow-copy-files):
13155 * simple.el (kill-ring-save, next-line, previous-line)
13156 (normal-erase-is-backspace-mode):
13157 * strokes.el (strokes-update-window-configuration)
13158 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13159 (strokes-xpm-for-stroke):
13160 * time.el (emacs-uptime, emacs-init-time):
13161 * tutorial.el (tutorial--describe-nonstandard-key)
13162 (tutorial--detailed-help):
13163 * type-break.el (type-break-mode)
13164 (type-break-mode-line-message-mode, type-break-query-mode)
13165 (type-break-guesstimate-keystroke-threshold):
13166 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13167 * version.el (emacs-version):
13168 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13169 * winner.el (winner-mode):
13170 * calendar/timeclock.el (timeclock-in, timeclock-out)
13171 (timeclock-status-string, timeclock-change)
13172 (timeclock-workday-remaining-string)
13173 (timeclock-workday-elapsed-string)
13174 (timeclock-when-to-leave-string):
13175 * calendar/todo-mode.el (todo-add-category):
13176 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13177 * emacs-lisp/autoload.el (update-file-autoloads):
13178 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13179 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13180 (checkdoc-message-text, checkdoc-defun):
13181 * emacs-lisp/debug.el (debugger-list-functions):
13182 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13183 * emacs-lisp/eieio-opt.el (eieio-describe-class)
13184 (eieio-describe-generic):
13185 * emacs-lisp/lisp-mnt.el (lm-synopsis):
13186 * emacs-lisp/shadow.el (list-load-path-shadows):
13187 * emulation/cua-base.el (cua-mode):
13188 * emulation/edt.el (edt-set-scroll-margins):
13189 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13190 (tpu-toggle-regexp, tpu-toggle-search-direction)
13191 (tpu-toggle-rectangle, tpu-toggle-control-keys):
13192 * emulation/tpu-extras.el (tpu-set-scroll-margins):
13193 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13194 (viper-set-parsing-style-toggling-macro)
13195 (viper-set-emacs-state-searchstyle-macros):
13196 * emulation/viper.el (viper-set-hooks):
13197 * eshell/esh-mode.el (eshell-truncate-buffer):
13198 * international/mule-cmds.el (prefer-coding-system)
13199 (describe-input-method, describe-language-environment):
13200 * international/mule-diag.el (list-character-sets)
13201 (describe-character-set, describe-coding-system)
13202 (describe-fontset, list-fontsets, list-input-methods):
13203 * mail/sendmail.el (mail-signature):
13204 * net/ange-ftp.el (ange-ftp-copy-file):
13205 * net/browse-url.el (browse-url):
13206 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13207 * net/quickurl.el (quickurl-add-url):
13208 * net/rcirc.el (names, topic):
13209 * net/xesam.el (xesam-mode):
13210 * play/5x5.el (5x5-new-game):
13211 * play/yow.el (apropos-zippy):
13212 * progmodes/ada-mode.el (ada-mode-version):
13213 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13214 (f90-end-of-block)
13215 (f90-beginning-of-block):
13216 * progmodes/fortran.el (fortran-end-of-block)
13217 (fortran-beginning-of-block):
13218 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13219 * progmodes/python.el (python-describe-symbol, python-shell):
13220 * term/ns-win.el (ns-print-buffer):
13221 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13222 * textmodes/flyspell.el (flyspell-mode-on):
13223 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13224 (pages-directory-for-addresses):
13225 * textmodes/table.el (table-recognize-cell)
13226 (table-query-dimension, table-generate-source)
13227 (table-insert-sequence, table--warn-incompatibility):
13228 * textmodes/tex-mode.el (tex-validate-buffer):
13229 * textmodes/texinfmt.el (texinfmt-version)
13230 (texinfo-format-buffer):
13231 Use `called-interactively-p' instead of `interactive-p'.
13232
13233 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13234
13235 * image-mode.el (image-toggle-display):
13236 * emacs-lisp/elp.el (elp-instrument-function):
13237 * emacs-lisp/advice.el (ad-make-advised-definition):
13238 * emacs-lisp/easy-mmode.el (define-minor-mode):
13239 * net/browse-url.el (browse-url-maybe-new-window):
13240 * progmodes/sh-script.el (sh-learn-buffer-indent):
13241 Pass new argument 'any to `called-interactively-p'.
13242
13243 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
13244
13245 * international/uni-bidi.el:
13246 * international/uni-category.el:
13247 * international/uni-combining.el:
13248 * international/uni-comment.el:
13249 * international/uni-decimal.el:
13250 * international/uni-decomposition.el:
13251 * international/uni-digit.el:
13252 * international/uni-lowercase.el:
13253 * international/uni-mirrored.el:
13254 * international/uni-name.el:
13255 * international/uni-numeric.el:
13256 * international/uni-old-name.el:
13257 * international/uni-titlecase.el:
13258 * international/uni-uppercase.el:
13259 Regenerate from Unicode 5.2.0 data.
13260
13261 2009-10-01 Glenn Morris <rgm@gnu.org>
13262
13263 * Makefile.in (ELCFILES): Regenerate.
13264
13265 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13266
13267 * subr.el (interactive-p): Mark obsolete.
13268 (called-interactively-p): Make the optional-ness of `kind' obsolete.
13269 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
13270 advertised-signature-table for subroutines as well.
13271
13272 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
13273 (set-advertised-calling-convention): New function.
13274 (make-obsolete, define-obsolete-function-alias)
13275 (make-obsolete-variable, define-obsolete-variable-alias):
13276 Make the optional-ness of `when' obsolete.
13277 (define-obsolete-face-alias): Make `when' non-optional.
13278 * help-fns.el (help-function-arglist):
13279 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
13280 Use advertised-signature-table.
13281
13282 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
13283
13284 * files.el (delete-directory): New defun. The original function
13285 in fileio.c has been renamed to `delete-directory-internal'.
13286
13287 * dired.el (dired-delete-file): Call `delete-directory' with
13288 RECURSIVE parameter.
13289
13290 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
13291 parameter RECURSIVE. Implementation is missing.
13292
13293 * net/tramp.el (tramp-handle-make-directory): Flush upper
13294 directory's file properties.
13295 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
13296 (tramp-handle-dired-recursive-delete-directory): Flush directory
13297 properties after the remove command only.
13298
13299 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13300 Handle optional parameter RECURSIVE.
13301
13302 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13303 Handle optional parameter RECURSIVE.
13304
13305 * net/tramp-smb.el (tramp-smb-errors): Add error message for
13306 connection timeout.
13307 (tramp-smb-handle-delete-directory): Handle optional parameter
13308 RECURSIVE.
13309
13310 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
13313 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
13314 (byte-compile-defmacro): Use backquotes.
13315
13316 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
13317
13318 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
13319 has no associated file.
13320 (vc-resynch-buffer): Use vc-dir-buffers.
13321
13322 2009-10-01 Glenn Morris <rgm@gnu.org>
13323
13324 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
13325 (chart-file-count):
13326 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
13327 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
13328 * emacs-lisp/eieio-opt.el (eieio-describe-class):
13329 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
13330 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
13331 (eieio-copy-parents-into-subclass, make-instance, class-children)
13332 (eieio-generic-form):
13333
13334 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
13335 match-data. (Bug#4555).
13336
13337 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
13338 rather than parsing it as a regexp. This relaxes the layout
13339 requirements and makes errors easier to detect.
13340 (check-declare-verify): Check file is regular.
13341 (check-declare-directory): Doc fix.
13342 * subr.el (declare-function): Doc fix.
13343
13344 * ibuffer.el (ibuffer-format-qualifier):
13345 * isearch.el (hi-lock-regexp-okay):
13346 * calc/calc.el (math-zerop):
13347 * mail/uce.el (rmail-msgbeg, rmail-msgend):
13348 * term/w32-win.el (setup-default-fontset, set-fontset-font):
13349 Remove unused declarations.
13350
13351 2009-09-30 Eric Ludlam <zappo@gnu.org>
13352
13353 * emacs-lisp/eieio.el (boolean-p): Delete.
13354
13355 2009-09-30 Glenn Morris <rgm@gnu.org>
13356
13357 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
13358
13359 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
13360 filename is not a string.
13361
13362 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
13363
13364 * files.el (safe-local-eval-forms): Fix typo.
13365
13366 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13367
13368 * vc-hooks.el (vc-dir-buffers): New var.
13369 (vc-state-refresh): New function.
13370 (vc-state): Use it.
13371 (vc-after-save): Always ask the backend to recompute the new state.
13372 Always call vc-dir if necessary, using vc-dir-buffers.
13373 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
13374 Use vc-dir-buffers.
13375 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
13376 (vc-dir-prepare-status-buffer, vc-dir-update)
13377 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
13378 Don't call expand-file-name on default-directory.
13379
13380 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13381
13382 * speedbar.el (speedbar-item-delete):
13383 * calc/calc-prog.el (calc-kbd-if):
13384 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
13385
13386 * epa.el (epa-key-list-mode-map):
13387 * hi-lock.el (hi-lock-menu): Fix typos in menus.
13388
13389 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
13390 (hs-show-hook): Fix typo in docstring.
13391
13392 2009-09-29 Glenn Morris <rgm@gnu.org>
13393
13394 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
13395 file-name-nondirectory call preventing location of cedet files.
13396 (check-declare-verify): Use literal search rather than re-search.
13397 Add basic defmethod and defclass, and define-overloadable-function.
13398
13399 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13400 Use tramp-compat-file-attributes rather than nonexistent
13401 tramp-compat-handle-file-attributes.
13402
13403 * Makefile.in (lisptagsfiles4): New.
13404 (AUTOGENEL): Add cedet loaddefs files.
13405 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
13406 (update-elclist, compile-always, backup-compiled-files)
13407 (bootstrap-clean): Add yet another directory level.
13408 (update-elclist): Use LC_COLLATE rather than COLLATE.
13409 (ELCFILES): Update, via `make update-elclist'.
13410
13411 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13412
13413 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
13414 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
13415 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
13416
13417 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
13418
13419 * Makefile.in (lisptagsfiles3): Define.
13420 (TAGS, TAGS-LISP): Use it.
13421 (update-elclist): Add third directory level to look for elc files.
13422 (compile-always): Likewise.
13423 (backup-compiled-files): Likewise.
13424 (bootstrap-clean): Likewise.
13425 (ELCFILES): Update.
13426
13427 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
13428
13429 * Makefile.in (ELCFILES): Add CEDET files.
13430
13431 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
13432
13433 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
13434
13435 * net/tramp.el (top): Require tramp-imap.
13436
13437 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13438 Use `tramp-compat-handle-file-attributes'.
13439
13440 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
13441
13442 * net/tramp-imap.el: New package.
13443
13444 2009-09-28 Eric Ludlam <zappo@gnu.org>
13445
13446 * emacs-lisp/chart.el:
13447 * emacs-lisp/eieio-base.el:
13448 * emacs-lisp/eieio-comp.el:
13449 * emacs-lisp/eieio-custom.el:
13450 * emacs-lisp/eieio-datadebug.el:
13451 * emacs-lisp/eieio-opt.el:
13452 * emacs-lisp/eieio-speedbar.el:
13453 * emacs-lisp/eieio.el: New files.
13454
13455 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13456
13457 * whitespace.el (whitespace-trailing-regexp)
13458 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
13459 Fix doc string.
13460
13461 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
13462
13463 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
13464 menu.
13465
13466 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
13467 menu-bar-ediff-menu.
13468
13469 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
13470 define-overloadable-function.
13471
13472 * progmodes/autoconf.el: Provide autoconf as well, so that this
13473 file can be `require'd.
13474
13475 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
13476
13477 * emacs-lisp/autoload.el (generated-autoload-feature)
13478 (generated-autoload-load-name): New vars.
13479 (autoload-rubric, autoload-generate-file-autoloads): Use them.
13480 (make-autoload): Recognize define-overloadable-function and
13481 defclass forms (for EIEIO).
13482
13483 * Makefile.in (update-subdirs): Exclude cedet directory.
13484
13485 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
13486
13487 * term/ns-win.el: Don't set the region face background. (Bug#4381)
13488
13489 * faces.el: Default light-background background for region face to
13490 ns_selection_color under NS.
13491
13492 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
13493
13494 * net/imap-hash.el: New library, see NEWS.
13495
13496 * Makefile.in (ELCFILES): Add imap-hash.el.
13497
13498 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
13499
13500 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
13501 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
13502 * help-macro.el (make-help-screen): Avoid using an ambiguous function
13503 definition where the docstring could be taken for the return value.
13504
13505 2009-09-26 Glenn Morris <rgm@gnu.org>
13506
13507 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
13508 Add option to only show images below a certain size.
13509 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
13510 save-excursion calls.
13511
13512 2009-09-26 Eli Zaretskii <eliz@gnu.org>
13513
13514 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
13515 subdirectories) and eieio.
13516
13517 2009-09-26 Alan Mackenzie <acm@muc.de>
13518
13519 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
13520 buggy bracketing. (Bug#4289)
13521
13522 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
13523 character constants (as case labels). (Bug#4289)
13524
13525 2009-09-25 Juri Linkov <juri@jurta.org>
13526
13527 * files.el (safe-local-eval-forms): Allow time-stamp in
13528 before-save-hook (Bug#4554).
13529
13530 2009-09-25 Drew Adams <drew.adams@oracle.com>
13531
13532 * menu-bar.el (list-buffers-directory): Doc fix.
13533
13534 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
13535
13536 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
13537 Try and avoid copying twice the same paragraph.
13538 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
13539 Remove save-excursion.
13540 (log-edit-changelog-entry): Do it here instead.
13541
13542 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
13543
13544 * bs.el (bs--get-file-name): Use `list-buffers-directory'
13545 when available, instead of hardcoding mode names. Doc fix.
13546
13547 * menu-bar.el (list-buffers-directory): Add docstring.
13548 Make automatically buffer-local.
13549
13550 * dired.el (dired-mode):
13551 * files.el (cd-absolute):
13552 * pcvs.el (cvs-temp-buffer):
13553 * pcvs-util.el (cvs-get-buffer-create):
13554 * shell.el (shell-mode):
13555 * vc-dir.el (vc-dir-mode):
13556 Don't make `list-buffers-directory' buffer local.
13557
13558 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
13559
13560 * comint.el (comint-exec, comint-run, make-comint):
13561 Doc fixes (Bug#4542).
13562
13563 2009-09-25 Glenn Morris <rgm@gnu.org>
13564
13565 * mail/rmailmm.el (rmail-mime): New custom group.
13566 Move all defcustoms in this file into this group.
13567 (rmail-mime-media-type-handlers-alist): Revert previous change.
13568 (rmail-mime-show-images): New option.
13569 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
13570 references to it, since it wasn't actually used for anything.
13571 (rmail-mime-insert-image): New function.
13572 (rmail-mime-image): Use rmail-mime-insert-image.
13573 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
13574 obey the value of `rmail-mime-show-images' option. Print the size of
13575 attachments.
13576
13577 2009-09-25 David Engster <deng@randomsample.de>
13578
13579 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
13580
13581 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13582
13583 * whitespace.el: Does not highlight trailing spaces While point is
13584 at end of line. Does not highligt spaces at beginning of buffer
13585 while point is at beginning of buffer. Does not highlight spaces
13586 at end of buffer while point is at end of buffer. (Bug#4177)
13587 New version 12.0.
13588 (whitespace-display-mappings): Adjust initialization.
13589 (whitespace-point, whitespace-font-lock-refontify): New vars.
13590 (whitespace-color-on, whitespace-color-off): Adjust code.
13591 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
13592 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
13593 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
13594
13595 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
13596
13597 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
13598
13599 * textmodes/sgml-mode.el: Remove xml-mode alias.
13600
13601 * files.el (auto-mode-alist, conf-mode-maybe)
13602 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
13603
13604 2009-09-24 Alan Mackenzie <acm@muc.de>
13605
13606 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
13607 c-forward-conditionals, but it doesn't move point and doesn't set
13608 the mark.
13609 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
13610 (c-down-conditional-with-else, c-backward-conditional)
13611 (c-forward-conditional): Refactor to use c-scan-conditionals.
13612
13613 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13614
13615 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13616 (help-default-arg-highlight): Remove.
13617 (help-highlight-arg): New function.
13618 (help-do-arg-highlight): Use it.
13619 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
13620
13621 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13622
13623 * term.el (term-set-scroll-region, term-handle-ansi-escape):
13624 Undo last change, which didn't fix the problem and introduced others.
13625
13626 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
13627
13628 * progmodes/gdb-mi.el: Don't require speedbar.
13629 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13630
13631 2009-09-24 Glenn Morris <rgm@gnu.org>
13632
13633 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13634
13635 * term/ns-win.el (ns-reg-to-script): Define for compiler.
13636
13637 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13638 there is no newline after the final mime boundary. (Bug#4539)
13639 Move markers on insertion so that any buttons inserted don't end up in
13640 the next part of a multipart message.
13641 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
13642 (rmail-mime-bulk-handler): Optionally handle images.
13643 (rmail-mime-image): New button action.
13644 (rmail-mime-image-handler): New function.
13645 (rmail-mime-mode): New mode.
13646 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
13647
13648 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13649
13650 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
13651 than just dropping elements from it (bug#4504).
13652
13653 * term.el (term-set-scroll-region): Don't move cursor any more.
13654 (term-handle-ansi-escape): Call term-goto here instead.
13655 Suggested by Ivan Kanis <apple@kanis.eu>.
13656
13657 * term.el: Require CL.
13658 (term-ansi-reset): New function.
13659 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
13660 (term-handle-colors-array): Simplify.
13661
13662 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13663
13664 * allout.el (allout-overlay-interior-modification-handler)
13665 (allout-obtain-passphrase):
13666 * epa-file.el (epa-file-write-region):
13667 * ps-print.el (ps-begin-job):
13668 * vc-hooks.el (vc-toggle-read-only):
13669 * vc-rcs.el (vc-rcs-rollback):
13670 * vc-sccs.el (vc-sccs-rollback):
13671 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
13672 (vc-version-diff, vc-revert, vc-rollback):
13673 * wdired.el (wdired-check-kill-buffer):
13674 * emacs-lisp/authors.el (authors):
13675 * net/socks.el (socks-open-connection):
13676 * net/zeroconf.el (zeroconf-service-add-hook):
13677 * obsolete/vc-mcvs.el (vc-mcvs-register):
13678 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
13679 (gdb-select-frame):
13680 * progmodes/grep.el (lgrep, rgrep):
13681 * progmodes/idlw-help.el (idlwave-help-check-locations)
13682 (idlwave-help-html-link, idlwave-help-assistant-open-link):
13683 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13684 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
13685 (reftex-toc-rename-label): Fix typos in error messages.
13686
13687 * dired-aux.el (dired-do-shell-command): Reflow docstring.
13688 (dired-copy-how-to-fn): Doc fix.
13689 (dired-files-attributes, dired-read-shell-command):
13690 Fix typos in docstrings.
13691
13692 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
13693 (dired-x-find-file-other-window): Reflow docstrings.
13694 (dired-omit-marker-char, dired-read-shell-command)
13695 (dired-x-submit-report): Fix typos in docstrings.
13696
13697 * shell.el (shell-mode-hook):
13698 * view.el (View-scroll-line-forward):
13699 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
13700 Fix typos in docstrings.
13701
13702 * net/dig.el (dig-invoke): Fix typo in docstring.
13703 (query-dig): Reflow docstring.
13704
13705 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
13706 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
13707 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
13708 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
13709 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
13710 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
13711 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
13712 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
13713 (idlwave-completion-map, idlwave-current-indent)
13714 (idlwave-custom-ampersand-surround, idlwave-customize)
13715 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
13716 (idlwave-define-abbrev, idlwave-determine-class-special)
13717 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
13718 (idlwave-end-block-reg, idlwave-end-of-statement)
13719 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
13720 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
13721 (idlwave-explicit-class-listed, idlwave-file-header)
13722 (idlwave-fill-paragraph, idlwave-find-class-definition)
13723 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
13724 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
13725 (idlwave-in-quote, idlwave-indent-action-table)
13726 (idlwave-indent-expand-table, idlwave-indent-line)
13727 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
13728 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
13729 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
13730 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
13731 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
13732 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
13733 (idlwave-outlawed-buffers, idlwave-popup-select)
13734 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
13735 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
13736 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
13737 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
13738 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
13739 (idlwave-statement-type, idlwave-struct-skip)
13740 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
13741 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
13742 (idlwave-what-module-find-class): Fix typos in docstrings.
13743 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
13744 (idlwave-calculate-cont-indent, idlwave-expand-equal)
13745 (idlwave-find-module, idlwave-find-structure-definition)
13746 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
13747 (idlwave-list-load-path-shadows, idlwave-next-statement)
13748 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
13749 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
13750 (idlwave-template): Reflow docstrings.
13751
13752 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
13753 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
13754 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
13755 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
13756 (idlwave-shell-display-line, idlwave-shell-display-wframe)
13757 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
13758 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
13759 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
13760 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
13761 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
13762 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
13763 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
13764 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
13765 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
13766 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
13767 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
13768 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
13769 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
13770 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
13771 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
13772 Fix typos in docstrings.
13773 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
13774 (idlwave-shell-hide-output, idlwave-shell-mode)
13775 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
13776 Reflow docstrings.
13777
13778 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
13779
13780 2009-09-24 Ivan Kanis <apple@kanis.eu>
13781
13782 * term.el (term-bold-attribute): New var.
13783 (term-handle-colors-array): Use it.
13784
13785 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
13786
13787 * progmodes/gdb-mi.el (gdb-version): New variable.
13788 (gdb-non-stop-handler): Set gdb-version.
13789 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
13790 Condition "--thread" option on gdb-version.
13791 (gdb-invalidate-threads): Remove unused argument.
13792
13793 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13794
13795 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
13796 to looking-back to avoid ridiculous slow down in large files (bug#4511).
13797
13798 2009-09-23 Glenn Morris <rgm@gnu.org>
13799
13800 * mail/rmail.el (rmail-reply): Don't try to add a References header when
13801 replying to mail without References or Message-Id. (Bug#4525)
13802
13803 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
13804
13805 * term/ns-win.el (ns-reg-to-script): New variable.
13806
13807 2009-09-23 Daiki Ueno <ueno@unixuser.org>
13808
13809 * epg.el (epg-wait-for-status): Preserve existing 'error results.
13810
13811 2009-09-22 Sam Steingold <sds@gnu.org>
13812
13813 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
13814 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
13815 to 1 because hg returns status 1 when nothing is found.
13816 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
13817
13818 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
13819
13820 * textmodes/fill.el: Convert to utf-8 encoding.
13821 (fill-french-nobreak-p): Remove redundant » and « inherited from our
13822 pre-Unicode days.
13823
13824 * add-log.el (change-log-fill-forward-paragraph): New function.
13825 (change-log-mode): Use it so fill-region DTRT.
13826 Set fill-indent-according-to-mode here rather than in
13827 change-log-fill-paragraph.
13828 (change-log-fill-paragraph): Remove.
13829
13830 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
13831
13832 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
13833 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
13834
13835 2009-09-22 Glenn Morris <rgm@gnu.org>
13836
13837 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
13838 the scroll-bar scroll the calendar window rather than the buffer.
13839
13840 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
13841 commands that move point (as opposed to scrolling).
13842
13843 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
13844
13845 * emacs-lisp/elint.el (elint): New custom group.
13846 (elint-log-buffer): Make it a defcustom.
13847 (elint-scan-preloaded, elint-ignored-warnings)
13848 (elint-directory-skip-re): New options.
13849 (elint-builtin-variables): Doc fix.
13850 (elint-preloaded-env): New variable.
13851 (elint-unknown-builtin-args): Add an entry for encode-time.
13852 (elint-extra-errors): Make it a variable rather than a constant.
13853 (elint-preloaded-skip-re): New constant.
13854 (elint-directory): Skip files matching elint-directory-skip-re.
13855 (elint-features): New variable, local to linted buffers.
13856 (elint-update-env): Initialize elint-features. Possibly add
13857 elint-preloaded-env to the buffer's environment.
13858 (elint-get-top-forms): Bind elint-current-pos, for log messages.
13859 Skip quoted forms.
13860 (elint-init-form): New function, extracted from elint-init-env.
13861 Make non-list forms a warning rather than an error.
13862 Add the mode-map for define-derived-mode. Handle define-minor-mode,
13863 easy-menu-define, put that adds an error-condition, and provide.
13864 When requiring cl, also require cl-macs. Really require cl, to handle
13865 some cl macros. Store required libraries in the list elint-features,
13866 so as not to re-load them. Treat cc-require like require.
13867 (elint-init-env): Call elint-init-form to do the work.
13868 Handle eval-and-compile and such like.
13869 (elint-add-required-env): Do not clear messages.
13870 (elint-special-forms): Add handlers for function, defalias, if, when,
13871 unless, and, or.
13872 (elint-form): Add optional argument to ignore elint-special-forms,
13873 useful to prevent recursive calls from handlers. Doc fix.
13874 Respect elint-ignored-warnings.
13875 (elint-form): Respect elint-ignored-warnings.
13876 (elint-bound-variable, elint-bound-function): New variables.
13877 (elint-unbound-variable): Respect elint-bound-variable.
13878 (elint-get-args): Respect elint-bound-function.
13879 (elint-check-cond-form): Add some simple handling for (f)boundp and
13880 featurep tests.
13881 (elint-check-defalias-form): New handler.
13882 (elint-check-let-form): Make an empty let a warning rather than an
13883 error.
13884 (elint-check-setq-form): Make an empty setq a warning rather than an
13885 error. Respect elint-ignored-warnings.
13886 (elint-check-defvar-form): Accept null doc-strings.
13887 (elint-check-conditional-form): New handler. Does some simple-minded
13888 checking of featurep and (f)boundp tests.
13889 (elint-put-function-args): New function.
13890 (elint-initialize): Use elint-scan-doc-file rather than
13891 elint-find-builtin-variables. Use elint-put-function-args.
13892 Possibly scan preloaded-file-list.
13893 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
13894 extend to handle functions as well.
13895
13896 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
13897
13898 * linum.el (linum-delete-overlays, linum-update-window):
13899 Do not modify the right margin. (Bug#3971)
13900
13901 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
13902
13903 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
13904 nxml-mode instead of xml-mode.
13905
13906 2009-09-21 Kevin Ryde <user42@zip.com.au>
13907
13908 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
13909
13910 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * net/dig.el (dig-mode): Use define-derived-mode.
13913
13914 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
13915
13916 * vc-dispatcher.el (vc-do-command): Return the process object in
13917 the asynchronous case. Use when instead of if. Do not run
13918 vc-exec-after to display a message if not enabled. (Bug#4463)
13919
13920 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13921 properties to the stash strings.
13922 (vc-git-stash-list): Return a list of strings.
13923 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13924 (vc-git-stash-show-at-point): New functions.
13925 (vc-git-stash-map): New keymap.
13926
13927 * register.el (ctl-x-r-map): Define the keys here instead of
13928 using autoload.
13929
13930 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
13931
13932 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13933 list, to workaround performance problem (bug#4485).
13934
13935 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
13936
13937 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13938
13939 2009-09-20 Daiki Ueno <ueno@unixuser.org>
13940
13941 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13942 Document that this option is not recommended to use.
13943
13944 2009-09-19 Glenn Morris <rgm@gnu.org>
13945
13946 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13947 variable `var'.
13948
13949 * calc/calc-alg.el (var):
13950 * calc/calcalg2.el (var): Define for compiler.
13951
13952 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
13953
13954 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13955 Doc fix (Bug#3932).
13956
13957 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13958
13959 * time-stamp.el (time-stamp-month-dd-yyyy)
13960 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13961 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13962 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13963 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13964 Remove functions that have been obsolete since 1995 (Bug#4436).
13965
13966 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13967 indent buffer only if called interactively (Bug#4452).
13968
13969 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
13970 Eli Zaretskii <eliz@gnu.org>
13971
13972 This fixes bug#4197 (merged to bug#865, though not identical).
13973 * server.el (server-auth-dir): Add docstring note about FAT32.
13974 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13975 but warn against using them.
13976
13977 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
13978
13979 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13980 older GDB where there is no has_more field.
13981
13982 2009-09-19 Glenn Morris <rgm@gnu.org>
13983
13984 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13985
13986 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
13987
13988 * files.el (auto-mode-alist): Change default for XML files to nXML
13989 mode (Bug#4169).
13990
13991 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
13992
13993 * server.el (server-ensure-safe-dir): Pass 'integer
13994 to `file-attributes', as suggested.
13995
13996 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
13997
13998 * dired-aux.el (dired-query-alist): Remove spurious backslash.
13999 (dired-query): Use read-key.
14000
14001 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
14002
14003 * cus-start.el (ns-use-qd-smoothing): Remove.
14004
14005 2009-09-18 Glenn Morris <rgm@gnu.org>
14006
14007 * allout.el (top-level): Remove unnecessary progn.
14008
14009 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14010
14011 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14012 definition of abbrev table.
14013
14014 * speedbar.el (speedbar-track-mouse):
14015 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14016 * net/eudc.el (eudc-expand-inline):
14017 * net/newst-backend.el (newsticker--cache-read-feed):
14018 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14019 condition-case handlers.
14020
14021 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
14022
14023 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14024 (gdb-var-list): Add an element for has_more field.
14025 (gdb-non-stop-handler): Enable pretty printing for STL containers.
14026 (gdb-var-create-handler, gdb-var-list-children-handler-1)
14027 (gdb-var-update-handler-1): Parse output of dynamic variable
14028 objects (STL containers).
14029 (gdb-var-delete-1): Pass var1 as an explicit second argument.
14030 (gdb-get-field): Delete alias. Use bindat-get-field directly.
14031
14032 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14033 gdb-var-list.
14034 (gud-speedbar-buttons): Make node expandable if expression "has more"
14035 children.
14036
14037 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
14038
14039 * startup.el (emacs-quick-startup): Remove variable and all uses.
14040 (command-line): Set `inhibit-x-resources' instead.
14041 (command-line-1): Use `inhibit-x-resources' instead.
14042
14043 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
14044
14045 * subr.el: Fix last change to avoid using the `unless' macro,
14046 which breaks bootstrapping.
14047
14048 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14049
14050 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14051 extended definitions, in case we reload subr.el after having
14052 loaded CL.
14053 (eval-next-after-load): Mark as obsolete.
14054
14055 2009-09-17 Juri Linkov <juri@jurta.org>
14056
14057 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14058 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14059 (menu-bar-showhide-menu, menu-bar-tools-menu)
14060 (menu-bar-describe-menu, menu-bar-help-menu)
14061 (minibuffer-local-completion-map, minibuffer-local-map):
14062 Fix list quoting.
14063
14064 2009-09-17 Glenn Morris <rgm@gnu.org>
14065
14066 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
14067 arguments, whether or not it has a handler.
14068
14069 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
14070
14071 * simple.el (hard-newline): Give it a doc-string.
14072
14073 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14074 (lisp-mode-syntax-table): Give them doc-strings.
14075
14076 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
14077
14078 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
14079 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
14080 (menu-bar-options-menu, menu-bar-showhide-menu)
14081 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
14082 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
14083 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
14084 (menu-bar-options-menu, menu-bar-tools-menu)
14085 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
14086 (menu-bar-help-menu):
14087 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
14088 string arguments.
14089
14090 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
14091 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
14092 calls for the menu names and :help.
14093
14094 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14095
14096 * mouse.el (minor-mode-menu-from-indicator): Pay attention
14097 to :minor-mode-function (bug#4455).
14098
14099 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14100
14101 * startup.el (command-line): Initialize the window-system after
14102 processing the command-line.
14103
14104 * textmodes/page.el (what-page): Make sure we don't inf-loop if
14105 page-delimiter matches the empty string.
14106
14107 2009-09-16 Glenn Morris <rgm@gnu.org>
14108
14109 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
14110 byte-compile-not-obsolete-var. It's a list now.
14111 (byte-compile-not-obsolete-funcs): New variable.
14112 (byte-compile-warn-obsolete): Don't warn about functions if they are in
14113 byte-compile-not-obsolete-funcs.
14114 (byte-compile-variable-ref, byte-compile-defvar): Update for
14115 byte-compile-not-obsolete-vars name-change and list nature.
14116 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
14117 and variables behind (f)boundp tests.
14118 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
14119
14120 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14121
14122 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14123
14124 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14125
14126 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14127 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14128 Don't autoload.
14129
14130 2009-09-15 Stephen Eglen <stephen@gnu.org>
14131
14132 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14133 the virtual-buffers, use the name of the buffer specified by
14134 find-file-noselect, as the match may be a symlink. (This was a
14135 problem if the target and the symlink had different names.)
14136
14137 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14138
14139 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14140
14141 * desktop.el (desktop-path): Check user-emacs-directory.
14142
14143 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14144
14145 * loadup.el: Use after-load-functions to GC after loading each file.
14146 Remove the explicit GC calls that used to be sprinkled around.
14147
14148 * subr.el (after-load-functions): New hook.
14149 (do-after-load-evaluation): Run it. Use string-match-p to detect
14150 `obsolete' packages, rather than painfully extracting the relevant
14151 directory name.
14152
14153 2009-09-15 Glenn Morris <rgm@gnu.org>
14154
14155 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14156 free variable `doc'.
14157
14158 * dired.el (dired-mode-map): Add menu entry for async shell command.
14159
14160 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14161 variables, also consider the .elc files, since the .el files are
14162 normally gzipped (subsequent code locates the .el.gz from the .elc).
14163
14164 * calc/calc-prog.el (arglist): Define for compiler.
14165
14166 * calendar/diary-lib.el (diary-display-function): Change the default to
14167 fancy display.
14168 (body): Define for compiler.
14169
14170 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14171 (byte-compile-file-form, byte-compile-lambda)
14172 (byte-compile-top-level-body, byte-compile-form)
14173 (byte-compile-variable-ref, byte-compile-setq)
14174 (byte-compile-setq-default, byte-compile-body)
14175 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14176 (batch-byte-compile): Give some more local variables with common names
14177 a "bytecomp-" prefix to avoid masking warnings about free variables.
14178
14179 * startup.el (command-line-1): Give local variables with common names a
14180 distinguishing prefix, so as not to hide free variable warnings during
14181 bootstrap.
14182
14183 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14184 clever and add a suffix to make a unique name, just let the user decide
14185 whether or not to overwrite it. If the input is a directory, write the
14186 default filename to that directory. (Bug#4388)
14187 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14188 is a filename-as-a-directory.
14189
14190 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * textmodes/page.el (what-page): Don't move to beginning of line.
14193 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14194
14195 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14196
14197 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14198
14199 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
14200
14201 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14202 * help.el (help-for-help-internal): Add purecopy calls for text.
14203
14204 * vc.el (top): print-log method now takes an optional SHORTLOG
14205 argument. Add a new method: root.
14206 (vc-root-diff, vc-print-root-log): New functions.
14207 (vc-log-short-style): New variable.
14208 (vc-print-log-internal): Add support for showing short logs.
14209
14210 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14211 vc-print-root-log and vc-print-root-diff.
14212
14213 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14214 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14215 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14216 short logs.
14217
14218 * vc-cvs.el (vc-cvs-print-log):
14219 * vc-mtn.el (vc-mtn-print-log):
14220 * vc-rcs.el (vc-rcs-print-log):
14221 * vc-sccs.el (vc-sccs-print-log):
14222 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14223 that is ignored for now.
14224
14225 * vc-mtn.el (vc-mtn-annotate-command):
14226 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14227
14228 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14229
14230 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14231 to function-key-map, and give them ascii-character property.
14232 * term/x-win.el (x-alternatives-map):
14233 * term/ns-win.el (ns-alternatives-map):
14234 * term/internal.el (msdos-key-remapping-map):
14235 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14236
14237 2009-09-14 Glenn Morris <rgm@gnu.org>
14238
14239 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14240 temp-buffers (2009-09-12).
14241
14242 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14245 the new read-key function.
14246
14247 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14248
14249 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14250 is defined (Bug#4405).
14251
14252 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
14253
14254 * recentf.el (recentf-cleanup): Use a hash table to find
14255 duplicates (Bug#4407).
14256
14257 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
14258
14259 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14260 kp-0 to ascii equivalents (Bug#4325).
14261
14262 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14263
14264 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
14265
14266 * eshell/em-hist.el:
14267 * eshell/em-dirs.el (eshell-complete-user-reference):
14268 Declare pcomplete functions and variables to avoid compiler warnings.
14269
14270 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
14271
14272 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
14273 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
14274 * eshell/em-alias.el (eshell-aliases-file):
14275 * eshell/em-hist.el (eshell-history-file-name):
14276 Use expand-file-name instead of concat to make file names (Bug#4308).
14277
14278 2009-09-13 Glenn Morris <rgm@gnu.org>
14279
14280 * ediff-merg.el (ediff-do-merge):
14281 * filesets.el (filesets-run-cmd):
14282 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
14283 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
14284 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
14285 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
14286 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
14287 Replace empty `let's with `progn'.
14288
14289 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * mail/sendmail.el (send-mail-function):
14292 * tooltip.el (tooltip-mode):
14293 * simple.el (transient-mark-mode):
14294 * rfn-eshadow.el (file-name-shadow-mode):
14295 * frame.el (blink-cursor-mode):
14296 * font-core.el (global-font-lock-mode):
14297 * files.el (temporary-file-directory)
14298 (small-temporary-file-directory, auto-save-file-name-transforms):
14299 * epa-hook.el (auto-encryption-mode):
14300 * composite.el (global-auto-composition-mode):
14301 Use custom-initialize-delay.
14302 * startup.el (command-line): Don't explicitly call
14303 custom-reevaluate-setting for all the above vars.
14304 * custom.el (custom-initialize-safe-set)
14305 (custom-initialize-safe-default): Delete.
14306
14307 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14308
14309 * term/x-win.el (x-initialize-window-system):
14310 * term/w32-win.el (w32-initialize-window-system):
14311 * term/ns-win.el (ns-initialize-window-system): Don't call
14312 mouse-wheel-mode since it's enabled globally by default already.
14313
14314 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
14315 actually define the variable, but only silences the byte-compiler.
14316 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
14317 before looking it up.
14318 (mouse-wheel-scroll-amount): Also reset the bindings if this value
14319 is changed.
14320
14321 2009-09-12 Glenn Morris <rgm@gnu.org>
14322
14323 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
14324 1000.
14325 (elint-add-required-env): Don't beep on error.
14326 (elint-forms): In case of error, return ENV unchanged.
14327 (elint-init-env): Skip non-list forms.
14328 (elint-log): Handle unknown file positions.
14329
14330 2009-09-12 Daiki Ueno <ueno@unixuser.org>
14331
14332 * epg.el (epg-make-context): Add autoload cookie.
14333 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
14334 (epg-decrypt-string, epg-start-verify, epg-verify-file)
14335 (epg-verify-string, epg-start-sign, epg-sign-file)
14336 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
14337 (epg-encrypt-string, epg-start-export-keys)
14338 (epg-export-keys-to-file, epg-export-keys-to-string)
14339 (epg-start-import-keys, epg-import-keys-from-file)
14340 (epg-import-keys-from-string, epg-start-receive-keys)
14341 (epg-receive-keys, epg-import-keys-from-server)
14342 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
14343 (epg-sign-keys, epg-start-generate-key)
14344 (epg-generate-key-from-file, epg-generate-key-from-string):
14345 Remove autoload cookie.
14346
14347 2009-09-12 Eli Zaretskii <eliz@gnu.org>
14348
14349 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
14350 reevaluation of trash-directory.
14351
14352 * mwheel.el: Fix last change.
14353 (mouse-wheel-mode): New defvar.
14354 (mouse-wheel-mode): Remove autoload cookie.
14355
14356 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14357
14358 * mwheel.el (mwheel-installed-bindings): New var.
14359 (mouse-wheel-mode): Use it, so as to make sure we really remove all
14360 the bindings we set last time. Use custom-initialize-delay.
14361 * loadup.el: Load mwheel after term/*-win.el.
14362 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
14363 and mouse-wheel-up-event now that their first evaluation is done
14364 sufficiently late to be correct.
14365
14366 * startup.el (tutorial-directory): Make it a defcustom.
14367 Use custom-initialize-delay rather than eval-at-startup to set it.
14368 * image.el (image-load-path): Make it a defcustom.
14369 Use custom-initialize-delay rather than eval-at-startup to set it.
14370 * subr.el (eval-at-startup): Remove.
14371 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
14372
14373 * subr.el (do-after-load-evaluation): Warn the user after loading an
14374 obsolete package.
14375
14376 2009-09-12 Glenn Morris <rgm@gnu.org>
14377
14378 * proced.el (proced-mark-alt): Remove alias.
14379 (proced-mode-map): Remove proced-mark-alt.
14380
14381 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
14382 Elint file and directory. Remove initialization entry.
14383
14384 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
14385 commands.
14386 (elint-current-buffer): Set mode-line-process.
14387 (elint-init-env): Handle define-derived-mode.
14388 Fix declare-function with unspecified arglist. Guard against odd
14389 defalias statements (eg iso-insert's 8859-1-map).
14390 (elint-add-required-env): Use a temp buffer.
14391 (elint-form): Just print the function/macro name, not the whole form.
14392 Return env unchanged if we fail to parse a macro.
14393 (elint-forms): Guard against parse errors.
14394 (elint-output): New function, to handle batch mode.
14395 (elint-log-message): Add optional argument. Use elint-output.
14396 (elint-set-mode-line): New function.
14397
14398 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
14399
14400 * emacs-lisp/elp.el (elp-not-profilable): Add more
14401 functions (Bug#4233).
14402
14403 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
14404
14405 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
14406 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
14407
14408 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14409
14410 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
14411 (gdb-var-list-children): Use json parsing.
14412
14413 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
14414
14415 * progmodes/js.el (js--proper-indentation): Handle the case where
14416 char-before is null. Reported by Deniz Dogan.
14417
14418 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14419
14420 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
14421
14422 2009-09-11 Daiki Ueno <ueno@unixuser.org>
14423
14424 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
14425 (epg-digest-algorithm-alist): Add SHA224.
14426 (epg-context-set-passphrase-callback)
14427 (epg-context-set-progress-callback): Add description about
14428 callback function.
14429
14430 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * custom.el (custom-delayed-init-variables): New var.
14433 (custom-initialize-delay): New function.
14434 * startup.el (command-line): "Re"evaluate all vars in
14435 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
14436 explicitly any more.
14437 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
14438 to avoid creating a ~/.emacs.d at build-time (bug#4347).
14439
14440 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
14441
14442 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14443
14444 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
14445 (gdb-var-update-handler): Use json parsing.
14446
14447 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14448
14449 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
14450 decode annotated text, regardless of language environment. (Bug#2741)
14451
14452 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14453
14454 * Makefile.in (autoloads): Make rmail.el writable as well.
14455
14456 2009-09-11 Glenn Morris <rgm@gnu.org>
14457
14458 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
14459 loaddefs.el.
14460 * dired.el: Regenerate with extracted autoloads.
14461 * Makefile.in (autoloads): Make dired.el writable.
14462
14463 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
14464 * ibuffer.el: Regenerate with extracted autoloads.
14465 * Makefile.in (autoloads): Make ibuffer.el writable.
14466
14467 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
14468 * version.el (emacs-copyright, emacs-major-version)
14469 (emacs-minor-version): Reformat doc-strings for make-docfile.
14470
14471 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
14472 functions and variables, since they must be stuff specific to some other
14473 platform.
14474 (apropos-print): Make mouse-click message less specific about button.
14475
14476 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
14477 that records where a macro was defined.
14478 * help-fns.el (describe-function-1): Mention if a function has a
14479 compiler-macro.
14480 * help-mode.el (help-function-cmacro): New button.
14481
14482 * locate.el (top-level): Always require dired.
14483 (locate-mode-map): Initialize inside the defvar.
14484
14485 * net/ange-ftp.el (dired-compress-file): Declare.
14486 (ange-ftp-dired-compress-file): Add doc string.
14487
14488 * term/ns-win.el (x-display-name, x-setup-function-keys):
14489 Unify doc-strings with X versions.
14490
14491 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14492
14493 * emulation/crisp.el (crisp-mode-map): Move initialization
14494 into declaration.
14495 (crisp-mode): Use define-minor-mode.
14496
14497 * progmodes/xscheme.el (xscheme-evaluation-commands):
14498 Put a :advertised-binding property rather than using
14499 advertised-xscheme-send-previous-expression.
14500 (advertised-xscheme-send-previous-expression): Declare obsolete.
14501 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
14502 `advertised-undo'.
14503 (crisp-mode): Add corresponding bindings to
14504 undo's :advertised-binding instead.
14505 * dired.el (dired-mode-map): Put a :advertised-binding property rather
14506 than using dired-advertised-find-file.
14507 (dired-advertised-find-file):
14508 * simple.el (advertised-undo):
14509 * wid-edit.el (advertised-widget-backward): Declare obsolete.
14510 (widget-keymap): Put a :advertised-binding property rather
14511 than using advertised-widget-backward.
14512 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
14513 than using advertised-undo.
14514 * tutorial.el (tutorial--default-keys): Adjust accordingly.
14515
14516 2009-09-10 Simon South <ssouth@slowcomputing.org>
14517
14518 * progmodes/delphi.el (delphi-tab): Indent region when Transient
14519 Mark mode is enabled and region is active; otherwise indent or
14520 insert TAB as usual.
14521 (delphi-mode): Update description of TAB-key binding.
14522
14523 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * subr.el (define-key-rebound-commands): Mark obsolete.
14526 * startup.el (precompute-menubar-bindings): Remove.
14527 (normal-top-level): Remove obsolete code that tried to precompute
14528 menubar bindings.
14529 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
14530 define-key-rebound-commands and precompute-menubar-bindings.
14531
14532 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
14533
14534 * net/imap.el (imap-interactive-login): Better messages.
14535 (imap-open): Fix bug with renamed buffer on reconnect.
14536 (imap-authenticate): Add buffer-local imap-last-authenticator variable
14537 for easier debugging and cleaner code. On successful (guessed based on
14538 server capabilities) secondary authentication, set imap-state
14539 correctly.
14540 (imap-last-authenticator): Define imap-last-authenticator as a variable
14541 to avoid warnings.
14542
14543 2009-09-10 Glenn Morris <rgm@gnu.org>
14544
14545 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
14546
14547 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
14548 (byte-compile-file-form-autoload): Don't warn about unknown functions
14549 where the autoload statement comes after the use.
14550 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
14551 that any handlers inside the body (eg require) are in turn respected.
14552
14553 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
14554 effects.
14555
14556 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
14557 and syntax and abbrev tables basic docs, if they don't have any.
14558
14559 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
14560
14561 * international/mule-cmds.el (top-level): Require cl when compiling.
14562 (view-hello-file): Use default-value rather than
14563 default-enable-multibyte-characters.
14564
14565 * progmodes/fortran.el: Move all safe and risky properties into the
14566 defcustoms.
14567
14568 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
14569 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
14570 * mail/undigest.el:
14571 Put autoloads in rmail.el rather than loaddefs.el.
14572 * mail/rmail.el: Regenerate with extracted autoloads.
14573
14574 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
14575 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
14576
14577 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
14578
14579 Reported in thread for Bug#4375.
14580 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
14581 "-data-evaluate-expression" instead of print.
14582 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
14583 (gdb-tooltip-print): Parse output from above MI command.
14584 (gdb): Revert 2009-08-11 change. User should detach inferior
14585 manually.
14586
14587 Remove the word "separate" from IO functions as inferior
14588 output is now never displayed in the GUD buffer.
14589
14590 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
14591
14592 * startup.el (command-line-normalize-file-name): On Windows and
14593 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
14594
14595 2009-09-10 Juri Linkov <juri@jurta.org>
14596
14597 * isearch.el (isearch-text-char-description): Propertize escape
14598 character sequences with the `escape-glyph' face. (Bug#4344)
14599
14600 * simple.el (shell-command): Set asynchronous process filter to
14601 `comint-output-filter'. (Bug#4343)
14602
14603 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
14604 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
14605 the list. Move "asm" to the bottom.
14606 (grep-find-ignored-directories): Add `choice' with nil value
14607 to empty the list easily.
14608 (grep-find-ignored-files): New option.
14609 (grep-files-history): Set to nil by default instead of '("ch" "el").
14610 (grep-compute-defaults): Add "<X>" to `grep-template'.
14611 (grep-read-files): Bind new local variables `default-alias' and
14612 `default-extension'. Use a list of default values for the file prompt.
14613 (lgrep): Add `--exclude=' command line options composed from
14614 `grep-find-ignored-files'.
14615 (rgrep): Add `-name' command line options composed from
14616 `grep-find-ignored-files'. (Bug#4301)
14617
14618 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
14619
14620 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14621 (bug#4368).
14622
14623 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
14624
14625 * calendar/time-date.el (autoload):
14626 Expand define-obsolete-function-alias into defalias and make-obsolete
14627 for old Emacsen that Gnus supports.
14628 (with-no-warnings): Define it for old Emacsen.
14629 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14630 is available.
14631 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14632 float-time is available; suppress compile warning for time-to-seconds.
14633
14634 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
14635
14636 * net/imap.el (imap-message-map): Docstring fix.
14637
14638 2009-09-09 Glenn Morris <rgm@gnu.org>
14639
14640 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14641 line numbers too. (Bug#4374)
14642
14643 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
14644
14645 * smerge-mode.el (smerge-remove-props, smerge-refine):
14646 Use with-silent-modifications (bug#4342).
14647
14648 * subr.el (with-silent-modifications): New macro.
14649
14650 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
14651
14652 * files.el (top-level): Require `cl' when compiling.
14653
14654 2009-09-07 Glenn Morris <rgm@gnu.org>
14655
14656 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
14657
14658 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
14659 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
14660
14661 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
14662
14663 * vc-git.el (vc-git-annotate-command): Use separator to parse
14664 arguments correctly.
14665
14666 2009-09-06 Eli Zaretskii <eliz@gnu.org>
14667
14668 * proced.el (proced-mode): Doc fix.
14669
14670 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
14671
14672 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
14673 lstat fails.
14674 (tramp-do-file-attributes-with-ls): Check for file existence at
14675 remote end.
14676 (tramp-do-file-attributes-with-stat): Likewise.
14677 (tramp-convert-file-attributes): Return nil when attr is nil.
14678
14679 2009-09-05 Glenn Morris <rgm@gnu.org>
14680
14681 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
14682 properties to this button.
14683 (diary-fancy-display): Don't extend the button to the final newline.
14684 (diary-fancy-display-mode): Continue to define "q" as a local key.
14685
14686 * calendar/cal-china.el (holiday-chinese): Make it slightly more
14687 efficient.
14688
14689 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
14690
14691 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
14692 (byte-compile-dest-file-function): New option.
14693 (byte-compile-dest-file): Doc fix.
14694 Obey byte-compile-dest-file-function.
14695 (byte-compile-cl-file-p): New function.
14696 (byte-compile-eval): Only suppress noruntime warnings about cl functions
14697 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
14698 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
14699 than for file being previously loaded.
14700 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
14701 (byte-compile-file-form-require): Handle the case where requiring a file
14702 indirectly causes CL to be loaded.
14703
14704 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14705
14706 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
14707 before killing the old buffer, since by the time `kill-buffer' is
14708 run so many buffer variables have been set to nil that it may not
14709 behave as expected. (Bug#4061)
14710
14711 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14712
14713 * files.el (find-alternate-file): If the old buffer is modified
14714 and visiting a file, behave similarly to `kill-buffer' when
14715 killing it, thus reverting to the pre-1.878 behavior; see
14716 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
14717 for discussion. Also, consult `buffer-file-name' as a variable
14718 not as a function, for consistency with the rest of the code.
14719
14720 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
14721
14722 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
14723 also when adding a new directory.
14724
14725 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
14726 defun.
14727
14728 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14729
14730 * files.el (locate-file-completion-table): Make it provide boundary
14731 information, so partial-completion works better.
14732
14733 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
14734
14735 * mail/footnote.el (Footnote-text-under-cursor):
14736 Check footnote-text-marker-alist before using it (bug#4324).
14737
14738 2009-09-04 Glenn Morris <rgm@gnu.org>
14739
14740 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
14741 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
14742 * play/solitaire.el, play/tetris.el:
14743 Remove leading * from defcustom and defface docs.
14744
14745 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
14746 necessary.
14747 (diary-fancy-overriding-map): New variable.
14748 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
14749 Use view-mode.
14750
14751 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
14752 goto-line.
14753
14754 2009-09-03 Glenn Morris <rgm@gnu.org>
14755
14756 * arc-mode.el (archive-mode):
14757 * dos-fns.el (set-default-process-coding-system):
14758 * man.el (Man-getpage-in-background):
14759 * menu-bar.el (menu-bar-describe-menu):
14760 * server.el (server-process-filter):
14761 * startup.el (command-line):
14762 * tar-mode.el (tar-header-block-tokenize, tar-extract):
14763 * w32-fns.el (set-default-process-coding-system):
14764 * x-dnd.el (x-dnd-handle-file-name):
14765 * international/mule-cmds.el (mule-menu-keymap)
14766 (set-default-coding-systems, language-info-alist, set-language-info)
14767 (set-language-environment, standard-display-european-internal)
14768 (set-locale-environment):
14769 * international/mule-diag.el (mule-diag):
14770 * mail/emacsbug.el (report-emacs-bug):
14771 * mail/rmail.el (rmail-mode):
14772 * mail/sendmail.el (mail-setup):
14773 Use default-value rather than default-enable-multibyte-characters.
14774
14775 * progmodes/f90.el: Move all safe properties into the defcustoms.
14776 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
14777
14778 * calendar/appt.el (appt-check):
14779 * calendar/diary-lib.el (diary-set-header, diary-live-p)
14780 (diary-check-diary-file, diary-list-entries)
14781 (diary-include-other-diary-files, diary-simple-display)
14782 (diary-fancy-display, diary-print-entries)
14783 (diary-mark-included-diary-files, diary-make-entry):
14784 Don't call substitute-in-file-name on diary-file.
14785
14786 2009-09-03 Eduard Wiebe <usenet@pusto.de>
14787 Stefan Monnier <monnier@iro.umontreal.ca>
14788
14789 * mail/footnote.el (footnote-prefix): Make it a defcustom.
14790 (footnote-mode-map): Move initialization into the declaration.
14791 (footnote-minor-mode-map): Define it rather than changing global-map.
14792 (footnote-mode): Use define-minor-mode.
14793
14794 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
14795
14796 * net/tramp.el (tramp-handle-file-attributes-with-ls)
14797 (tramp-do-file-attributes-with-perl)
14798 (tramp-do-file-attributes-with-stat): Rename from
14799 `tramp-handle-file-attributes-with-*'.
14800 (tramp-handle-file-attributes): Use them.
14801 (tramp-do-directory-files-and-attributes-with-perl)
14802 (tramp-do-directory-files-and-attributes-with-stat): Rename from
14803 `tramp-handle-directory-files-and-attributes-with-*'.
14804 (tramp-handle-directory-files-and-attributes): Use them.
14805 (tramp-method-out-of-band-p): Additional parameter SIZE.
14806 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
14807 (tramp-handle-write-region): Use it.
14808 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
14809 (tramp-handle-vc-registered): Check, whether the first run did
14810 return files to be tested.
14811 (tramp-advice-make-auto-save-file-name): Do not call directly
14812 `tramp-handle-make-auto-save-file-name', because this would bypass
14813 the locking mechanism.
14814
14815 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
14816 (file-remote-p, process-file, start-file-process, set-file-times)
14817 (tramp-compat-file-attributes): Compatibility functions shall not
14818 call directly `tramp-handle-*', because this would bypass the
14819 locking mechanism.
14820 (tramp-compat-number-sequence): New defun.
14821
14822 2009-09-02 Glenn Morris <rgm@gnu.org>
14823
14824 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
14825 alias for float-time.
14826 (time-to-number-of-days): In Emacs, use float-time.
14827 * net/newst-backend.el (time-add): Suppress warnings from compat
14828 function.
14829 * time.el (emacs-uptime, emacs-init-time):
14830 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
14831 Use float-time rather than time-to-seconds.
14832
14833 * minibuffer.el (completion-initials-expand): Fix typo.
14834
14835 * faces.el (modeline, modeline-inactive, modeline-highlight)
14836 (modeline-buffer-id):
14837 * info.el (info-menu-5): Mark these face aliases as obsolete.
14838
14839 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14840
14841 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
14842 space ...
14843 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
14844 no "--thread" option.
14845 (gdb-stopped): Don't print "Switched to thread" message when it is
14846 unchanged.
14847
14848 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
14849
14850 * minibuffer.el (completion-try-completion)
14851 (completion-all-completions): Remove ill-defined (and
14852 mistakenly installed and luckily never used nor documented)
14853 `completion-styles' property.
14854 (completion-initials-expand, completion-initials-all-completions)
14855 (completion-initials-try-completion): New functions.
14856 (completion-styles-alist): Add doc to each entry.
14857 Add new `initials' entry.
14858
14859 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14860
14861 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
14862 MI command -var-evaluate-expression.
14863 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
14864 and tweak for case of string child.
14865 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
14866
14867 2009-09-01 Glenn Morris <rgm@gnu.org>
14868
14869 * add-log.el (change-log-date-face, change-log-name-face)
14870 (change-log-email-face, change-log-file-face, change-log-list-face)
14871 (change-log-conditionals-face, change-log-function-face)
14872 (change-log-acknowledgement-face):
14873 * cus-edit.el (custom-invalid-face, custom-rogue-face)
14874 (custom-modified-face, custom-set-face, custom-changed-face)
14875 (custom-saved-face, custom-button-face, custom-button-pressed-face)
14876 (custom-documentation-face, custom-state-face, custom-comment-face)
14877 (custom-comment-tag-face, custom-variable-tag-face)
14878 (custom-variable-button-face, custom-face-tag-face)
14879 (custom-group-tag-face-1, custom-group-tag-face):
14880 * diff-mode.el (diff-header-face, diff-file-header-face)
14881 (diff-index-face, diff-hunk-header-face, diff-removed-face)
14882 (diff-added-face, diff-changed-face, diff-function-face)
14883 (diff-context-face, diff-nonexistent-face):
14884 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
14885 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
14886 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
14887 (Info-title-4-face):
14888 * isearch.el (isearch-lazy-highlight-face):
14889 * log-view.el (log-view-file-face, log-view-message-face):
14890 * paren.el (show-paren-match-face, show-paren-mismatch-face):
14891 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
14892 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
14893 (cvs-msg-face):
14894 * smerge-mode.el (smerge-mine-face, smerge-other-face)
14895 (smerge-base-face, smerge-markers-face):
14896 * wid-edit.el (widget-documentation-face, widget-button-face)
14897 (widget-field-face, widget-single-line-field-face)
14898 (widget-inactive-face, widget-button-pressed-face):
14899 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
14900 (woman-addition-face):
14901 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
14902 (eshell-ls-executable-face, eshell-ls-readonly-face)
14903 (eshell-ls-unreadable-face, eshell-ls-special-face)
14904 (eshell-ls-missing-face, eshell-ls-archive-face)
14905 (eshell-ls-backup-face, eshell-ls-product-face)
14906 (eshell-ls-clutter-face):
14907 * eshell/em-prompt.el (eshell-prompt-face):
14908 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
14909 * obsolete/old-whitespace.el (whitespace-highlight-face):
14910 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
14911 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
14912 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
14913 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14914 (antlr-font-lock-literal-face):
14915 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14916 (ebrowse-root-class-face, ebrowse-file-name-face)
14917 (ebrowse-default-face, ebrowse-member-attribute-face)
14918 (ebrowse-member-class-face, ebrowse-progress-face):
14919 * progmodes/make-mode.el (makefile-space-face):
14920 * progmodes/sh-script.el (sh-heredoc-face):
14921 * textmodes/flyspell.el (flyspell-incorrect-face)
14922 (flyspell-duplicate-face):
14923 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14924 * textmodes/texinfo.el (texinfo-heading-face):
14925 Mark face aliases with "-face" suffix as obsolete.
14926
14927 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14928 compiler.
14929
14930 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14931 (eudc-bob-sound-menu): Use defvar rather than defconst, since
14932 easy-menu-define wants to modify these.
14933
14934 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14935
14936 * net/browse-url.el (browse-url-file-url):
14937 * term/internal.el (dos-codepage-setup):
14938 Use default-value rather than default-enable-multibyte-characters.
14939
14940 * progmodes/etags.el (etags-goto-tag-location):
14941 * progmodes/flymake.el (flymake-highlight-line)
14942 (flymake-goto-file-and-line, flymake-goto-line):
14943 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14944 (gdb-goto-breakpoint):
14945 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14946 * progmodes/python.el (python-find-function)
14947 (python-pdbtrack-track-stack-file):
14948 * progmodes/verilog-mode.el (verilog-surelint-off):
14949 * term/ns-win.el (ns-open-file-select-line):
14950 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14951 Use forward-line rather than goto-line.
14952
14953 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14954 * textmodes/reftex-index.el (reftex-display-index):
14955 * textmodes/reftex-ref.el (reftex-offer-label-menu):
14956 * textmodes/reftex-toc.el (reftex-toc):
14957 Remove unnecessary bindings of default-major-mode (all are followed by
14958 major-mode check and possible mode switch).
14959
14960 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14961
14962 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14963 Handle watchpoints (bug#4282).
14964 (def-gdb-thread-buffer-command): Enable thread to be selected by
14965 clicking without selecting threads buffer first.
14966 (gdb-current-context-command): Use selected frame so that "up",
14967 "down" etc work in the GUD buffer.
14968 (gdb-update): Find selected frame before rendering stack buffer.
14969 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14970
14971 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
14972
14973 * progmodes/sym-comp.el (displayed-completions): Remove.
14974 (symbol-complete): Use minibuffer-complete.
14975
14976 2009-08-31 Glenn Morris <rgm@gnu.org>
14977
14978 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14979
14980 * apropos.el (apropos-symbols-internal):
14981 Handle (obsolete) face aliases.
14982
14983 * faces.el (describe-face): Adjust the output format to be more like
14984 describe-variable, and to mention (obsolete) face aliases.
14985 Adjust the whitespace so that help-setup-xref works.
14986
14987 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14988 * calendar/diary-lib.el (diary-button-face):
14989 Mark these face aliases as obsolete.
14990
14991 * calendar/calendar.el (calendar-today): Doc fix.
14992
14993 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14994
14995 * progmodes/gdb-mi.el (gdb-control-all-threads)
14996 (gdb-control-current-thread): Force tool bar update.
14997 (gdb-non-stop-handler): New function.
14998 (gdb-init-1): Use it to test if non-stop mode is supported.
14999 Remove unused gdbmi buffer type.
15000
15001 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15002
15003 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15004 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
15005
15006 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
15007
15008 * comint.el (comint-exec-1): Check command is non-null first.
15009 Part of gdb-mi.el change (2009-08-28).
15010
15011 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15012
15013 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15014
15015 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
15016
15017 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15018 instead of `dolist' to avoid a recursive require when bootstrapping.
15019
15020 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15021
15022 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15023
15024 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15025
15026 * net/imap.el (imap-send-command): Simplify.
15027 (imap-wait-for-tag): point-max -> buffer-size.
15028
15029 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15030
15031 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15032 with constant argument.
15033
15034 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15035
15036 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15037
15038 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15039 Change default, since most of our files don't have a history.
15040 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15041 the user.
15042
15043 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15044 Add comint-run.
15045
15046 * calc/calc.el: Improve commenting convention.
15047 (calc-digit-map, toplevel): Simplify.
15048
15049 * comint.el (comint-insert-input): Be careful to only set point if we
15050 don't delegate to some other command.
15051
15052 * proced.el (proced-signal-list): Make it an alist.
15053 (proced-grammar-alist): Capitalize names.
15054 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15055 Disable undo manually and make it read-only.
15056 Use completion-annotate-function.
15057
15058 * minibuffer.el (minibuffer-message): If the current buffer is not
15059 a minibuffer, insert the message in the echo area rather than at the
15060 end of the buffer.
15061 (completion-annotate-function): New variable.
15062 (minibuffer-completion-help): Use it.
15063 (completion--embedded-envvar-table): Environment vars are
15064 always case-sensitive.
15065
15066 2009-08-30 Glenn Morris <rgm@gnu.org>
15067
15068 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
15069 from fortran-current-defun.
15070 (fortran-beginning-of-subprogram): Be more precise about finding the
15071 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
15072 (fortran-end-of-subprogram): Simplify.
15073 (fortran-current-defun): Use fortran-start-prog-re.
15074
15075 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
15076
15077 * subr.el (do-after-load-evaluation): Simplify.
15078
15079 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
15080
15081 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
15082
15083 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
15084 (vc-rcs-print-log): Use it.
15085
15086 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
15087
15088 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15089
15090 * paths.el (abbrev-file-name): Move to abbrev.el.
15091 * abbrev.el (abbrev-file-name): Move from paths.el.
15092 Obey user-emacs-directory.
15093 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
15094 user-emacs-directory.
15095 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
15096 abbrev-file-name and calc-settings-file any more.
15097 * startup.el (command-line): Recompute abbrev-file-name and
15098 abbreviated-home-dir.
15099 (normal-no-mouse-startup-screen): Improve the generic code and get rid
15100 of the special code for when C-h bindings haven't been changed.
15101 (display-startup-echo-area-message): Use with-current-buffer.
15102 (command-line-1): Use a list of strings, rather than a list of lists
15103 of strings for longopts.
15104
15105 * files.el (get-free-disk-space): Use / for default-directory.
15106
15107 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
15108 Use with-current-buffer.
15109
15110 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
15111 Recognize immutable variables like most-positive-fixnum.
15112 (byte-compile-setq-default): Check and warn if trying to assign
15113 to an immutable variable, or a non-variable.
15114
15115 * progmodes/cc-vars.el (c-comment-continuation-stars):
15116 * progmodes/cc-engine.el (c-looking-at-bos):
15117 * progmodes/cc-cmds.el (c-toggle-auto-state)
15118 (c-forward-into-nomenclature, c-backward-into-nomenclature)
15119 (c-comment-line-break-function): Add version of obsolescence.
15120
15121 2009-08-28 Juri Linkov <juri@jurta.org>
15122
15123 * files.el (magic-fallback-mode-alist): Add ZIP magic number
15124 associated with `archive-mode'.
15125
15126 * image.el (image-type-header-regexps): Use only JPEG magic number
15127 to determine JPEG images, and don't use `image-jpeg-p' because
15128 Emacs can display non-JFIF non-Exif JPEG images.
15129
15130 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15131
15132 * arc-mode.el (archive-mode):
15133 * emacs-lisp/re-builder.el (re-builder-unload-function):
15134 Protect against the default value of `major-mode' being nil.
15135
15136 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15137
15138 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15139 Fix typos in docstrings.
15140
15141 * progmodes/js.el (js--macro-decl-re): Doc fix.
15142 (js--plain-method-re, js--split-name): Refloc docstring.
15143 (js--class-styles, js--make-merged-item, js--splice-into-items):
15144 Fix typos in docstrings; reflow docstrings.
15145 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15146 (js--variable-decl-matcher, js--inside-pitem-p)
15147 (js--parse-state-at-point, js--get-all-known-symbols)
15148 (js--symbol-history, js-find-symbol, js--js-references)
15149 (js--moz-interactor, js--js-encode-value, js--read-tab):
15150 Fix typos in docstrings.
15151
15152 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15153
15154 * textmodes/reftex.el (reftex-get-file-buffer-force):
15155 * progmodes/verilog-mode.el (verilog-batch-execute-func):
15156 * emulation/viper.el (viper-go-away, viper-set-hooks):
15157 * emacs-lisp/re-builder.el (re-builder-unload-function):
15158 * emacs-lisp/bytecomp.el (byte-compile-file):
15159 * ses.el (ses-unload-function):
15160 * hexl.el (hexl-find-file):
15161 * files.el (normal-mode):
15162 * ehelp.el (with-electric-help):
15163 * autoinsert.el (auto-insert-alist):
15164 * arc-mode.el (archive-mode):
15165 Use (default-value 'major-mode) instead of default-major-mode.
15166
15167 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15168 * international/mule.el (load-with-code-conversion):
15169 * emacs-lisp/debug.el (debug):
15170 * ediff-vers.el (ediff-rcs-get-output-buffer):
15171 * dired.el (dired-internal-noselect): Don't let-bind
15172 default-major-mode around code that doesn't use it.
15173 E.g. buffer creation via get-buffer-create doesn't use it.
15174
15175 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
15176
15177 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15178 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15179 when writing the temp file. Otherwise, epa-file gets confused.
15180 (tramp-register-file-name-handlers): Make it a defun. Move also
15181 `epa-file-handler' to the front of `file-name-handler-alist'.
15182
15183 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15184
15185 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15186 start right after a ^M.
15187 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15188 (tramp-completion-file-name-regexp-separate)
15189 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15190 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15191 Don't modify last-coding-system-used by accident.
15192 (tramp-completion-file-name-handler): Apply the checks here,
15193 instead during registration.
15194 (tramp-register-file-name-handlers): Renamed from
15195 `tramp-register-file-name-handler'. Register both
15196 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15197 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
15198
15199 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
15200
15201 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15202 Remove variable ...
15203 (gdb-init-1, gdb-display-separate-io-buffer)
15204 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15205 references to it.
15206 (gdb-inferior-io-mode): Use make-comint-in-buffer.
15207 (gdb-inferior-filter): Use comint-output-filter to stop
15208 echoing and remove ^M characters.
15209
15210 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15211
15212 * emulation/viper-init.el (viper-restore-cursor-type):
15213 * emulation/cua-base.el (cua--update-indications):
15214 Replace default-cursor-type with (default-value 'cursor-type).
15215
15216 * mail/sendmail.el (mail-recover-1):
15217 * international/mule-diag.el (describe-current-coding-system-briefly)
15218 (describe-current-coding-system):
15219 * international/mule-cmds.el (select-safe-coding-system)
15220 (select-message-coding-system)
15221 (set-language-environment-coding-systems, set-locale-environment):
15222 * hexl.el (hexl-insert-multibyte-char):
15223 * dos-w32.el (find-buffer-file-type-coding-system):
15224 * simple.el (what-cursor-position):
15225 Replace uses of default-buffer-file-coding-system
15226 with (default-value 'buffer-file-coding-system).
15227
15228 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15229 Replace uses of default-cursor-in-non-selected-windows
15230 with (default-value 'cursor-in-non-selected-windows).
15231 Use with-current-buffer.
15232
15233 * mail/feedmail.el: Use CL macros.
15234 (feedmail-run-the-queue, feedmail-send-it-immediately):
15235 * dos-w32.el (find-buffer-file-type): Replace uses of
15236 default-buffer-file-type with (default-value 'buffer-file-type).
15237
15238 2009-08-28 Glenn Morris <rgm@gnu.org>
15239
15240 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15241 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15242 Use default-value of major-mode rather than default-major-mode.
15243
15244 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15245
15246 * Makefile.in (update-elcfiles): Report left over elc files.
15247
15248 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15249 expand-file-name and with-current-buffer.
15250 (mail-get-names, mail-directory): Use with-current-buffer.
15251
15252 * vc.el (vc-read-revision): New function.
15253 (vc-version-diff, vc-merge): Use it.
15254
15255 2009-08-27 Sam Steingold <sds@gnu.org>
15256
15257 * simple.el (kill-do-not-save-duplicates): New user option.
15258 (kill-new): When it is non-nil, and the new string is the same as
15259 the latest kill, set replace to t to avoid duplicates in kill-ring.
15260
15261 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
15262
15263 * net/tramp.el (tramp-handle-process-file): Do not flush all
15264 caches when `process-file-side-effects' is set.
15265 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
15266 instead of `tramp-find-file-exists-command'.
15267 Unset `process-file-side-effects'.
15268
15269 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
15270
15271 * net/tramp.el (tramp-methods): New method "rsyncc".
15272 (top): Add completion function for "rsyncc".
15273 (tramp-message-show-message): New defvar.
15274 (tramp-message, tramp-error): Use it.
15275 (tramp-do-copy-or-rename-file-directly): Extend check for direct
15276 remote copying.
15277 (tramp-do-copy-or-rename-file-out-of-band): Handle new
15278 `tramp-methods' entry `copy-env' of "rsyncc".
15279 (tramp-vc-registered-read-file-names): New defconst.
15280 (tramp-vc-registered-file-names): New defvar.
15281 (tramp-handle-vc-registered): Implement optimization strategy.
15282 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
15283 (tramp-vc-file-name-handler): New defun.
15284 (tramp-get-ls-command, tramp-get-test-command)
15285 (tramp-get-file-exists-command, tramp-get-remote-ln)
15286 (tramp-get-remote-perl, tramp-get-remote-stat)
15287 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
15288
15289 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
15290 (tramp-cache-inhibit-cache): Extend doc string. It allows also
15291 timestamps.
15292 (tramp-get-file-property): Check for timestamps in
15293 `tramp-cache-inhibit-cache'.
15294 (tramp-set-file-property): Write timestamp.
15295
15296 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15297
15298 * language/japan-util.el (japanese-symbol-table): Add entries for
15299 cp932-2-byte.
15300
15301 * international/characters.el: Add category `j' to cp932-2-byte.
15302
15303 2009-08-27 Kenichi Handa <handa@m17n.org>
15304
15305 * international/fontset.el (build-default-fontset-data): New macro.
15306 (setup-default-fontset): Use build-default-fontset-data for CJK,
15307 tibetan, ethiopic, and ipa.
15308
15309 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15310
15311 * cus-start.el (default-major-mode): Customize `major-mode' instead.
15312 (enable-multibyte-characters): Not customizable any more.
15313
15314 * subr.el (default-mode-line-format, default-header-line-format)
15315 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
15316 (default-direction-reversed, default-truncate-lines)
15317 (default-left-margin, default-tab-width, default-case-fold-search)
15318 (default-left-margin-width, default-right-margin-width)
15319 (default-left-fringe-width, default-right-fringe-width)
15320 (default-fringes-outside-margins, default-scroll-bar-width)
15321 (default-vertical-scroll-bar, default-indicate-empty-lines)
15322 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
15323 (default-fringe-cursor-alist, default-scroll-up-aggressively)
15324 (default-scroll-down-aggressively, default-fill-column)
15325 (default-cursor-type, default-buffer-file-type)
15326 (default-cursor-in-non-selected-windows)
15327 (default-buffer-file-coding-system, default-major-mode)
15328 (default-enable-multibyte-characters): Mark as obsolete.
15329
15330 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
15331
15332 * vc-dir.el (vc-dir-update): Remove debug helper.
15333
15334 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
15335
15336 2009-08-26 Sam Steingold <sds@gnu.org>
15337
15338 * simple.el (save-interprogram-paste-before-kill): New user option.
15339 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
15340 save the interprogram-paste into kill-ring before overriding it
15341 with the Emacs kill.
15342
15343 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15344
15345 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
15346 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
15347 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
15348 and move to vc-rcs.el.
15349 (vc-default-next-revision): Rename to vc-rcs-next-revision and
15350 move to vc-rcs.el.
15351 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
15352 (vc-rcs-update-changelog): Remove.
15353 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
15354 and move to vc-rcs.el.
15355
15356 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
15357 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
15358 renaming.
15359 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
15360 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
15361 vc.el, renamed to be RCS specific.
15362
15363 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
15364 New functions.
15365 (vc-cvs-update-changelog): Move here from vc.el.
15366
15367 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
15368 New functions.
15369
15370 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
15371
15372 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
15373
15374 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15375
15376 * vc-git.el (vc-git-register): Use "git add" for directories.
15377 (vc-git-stash, vc-git-stash-show): New functions.
15378 (vc-git-extra-menu-map): Bind them.
15379
15380 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
15381 directory correctly in case the item is a directory itself.
15382
15383 * vc.el: Document the desired behavior for reverted files in the
15384 `added' state.
15385 (vc-default-prettify-state-info): Remove function, unused.
15386
15387 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
15388
15389 2009-08-26 Glenn Morris <rgm@gnu.org>
15390
15391 * bindings.el (standard-mode-line-format): Reposition dashes in
15392 which-func entry. (Bug#4217)
15393
15394 * files.el (enable-local-variables, enable-local-eval)
15395 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
15396 the defcustoms.
15397 (auto-mode-alist, ignored-local-variables)
15398 (save-some-buffers-action-alist): Move risky declarations to the
15399 definitions.
15400 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
15401 (font-lock-defaults, format-alist, imenu--index-alist)
15402 (imenu-generic-expression, input-method-alist, minor-mode-alist)
15403 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
15404 (mode-line-modified, mode-line-mule-info, mode-line-position)
15405 (mode-line-process, mode-line-remote, outline-level)
15406 (parse-time-rules, rmail-output-file-alist)
15407 (special-display-buffer-names, vc-mode):
15408 Move risky declarations to the relevant files.
15409 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
15410 (mode-line-modified, mode-line-process, mode-line-position)
15411 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
15412 * font-core.el (font-lock-defaults):
15413 * format.el (format-alist):
15414 * vc-hooks.el (vc-mode):
15415 * window.el (special-display-buffer-names):
15416 * international/mule-cmds.el (input-method-alist):
15417 Define riskiness here (dumped file) rather than in files.el.
15418 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
15419 * imenu.el (imenu-generic-expression, imenu--index-alist):
15420 * outline.el (outline-level):
15421 * time.el (display-time-string):
15422 * calendar/parse-time.el (parse-time-rules):
15423 * mail/rmailout.el (rmail-output-file-alist):
15424 Autoload riskiness here, rather than placing in files.el.
15425
15426 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
15427
15428 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
15429
15430 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
15431
15432 * simple.el (process-file-side-effects): New defvar.
15433
15434 * dired-aux.el (dired-show-file-type):
15435 * vc.el (vc-diff-internal):
15436 * vc-arch.el (vc-arch-diff):
15437 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
15438 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
15439 * vc-git.el (vc-git-registered, vc-git-working-revision)
15440 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
15441 (vc-git--empty-db-p):
15442 * vc-hooks.el (vc-user-login-name):
15443 * vc-svn.el (vc-svn-registered, vc-svn-state)
15444 (vc-svn-dir-extra-headers, vc-svn-find-revision):
15445 * progmodes/grep.el (grep-probe): Let-bind
15446 `process-file-side-effects' with nil.
15447
15448 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
15449
15450 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
15451 daemon. Replace ping by checking for running service for bluez
15452 and zeroconf. (Bug#4239)
15453
15454 2009-08-25 Kevin Ryde <user42@zip.com.au>
15455
15456 * net/dig.el (dig): Add autoload cookie.
15457
15458 2009-08-25 Glenn Morris <rgm@gnu.org>
15459
15460 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
15461 load-history for absolute file-names.
15462 (byte-compile-file-form-require): Warn about use of the cl package.
15463
15464 * format.el (format-alist): Doc fix.
15465
15466 * play/bubbles.el (top-level): Don't require cl at run-time.
15467
15468 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
15469 run-time cl).
15470
15471 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
15472
15473 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
15474 from cl package.
15475 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
15476
15477 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
15478
15479 * calc/calc-alg.el (math-trig-rewrite)
15480 (math-hyperbolic-trig-rewrite): New functions.
15481 (calc-simplify): Simplify trig functions when asked.
15482
15483 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15484
15485 * diff-mode.el (diff-find-source-location): Avoid goto-line.
15486
15487 2009-08-24 Kenichi Handa <handa@m17n.org>
15488
15489 * language/ind-util.el (mapthread): Delete it.
15490 (combinatorial): New function.
15491 (indian--puthash-cv): Use combinatorial instead of mapthread.
15492
15493 2009-08-22 Kevin Ryde <user42@zip.com.au>
15494
15495 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
15496 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
15497 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
15498 Clarify docstring that the value is strings not symbols.
15499 (checkdoc-list-of-strings-p): New function.
15500
15501 2009-08-22 Glenn Morris <rgm@gnu.org>
15502
15503 * files.el (auto-mode-alist):
15504 * hippie-exp.el (he-concat-directory-file-name):
15505 * lpr.el (lpr-windows-system, printer-name):
15506 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
15507 * ps-print.el (ps-windows-system):
15508 * startup.el (command-line):
15509 * emulation/viper-ex.el (viper-glob-function):
15510 * international/mule-cmds.el (set-language-environment-coding-systems):
15511 * net/ange-ftp.el (ange-ftp-write-region):
15512 * obsolete/fast-lock.el (fast-lock-cache-name):
15513 Remove code for defunct system-types emx, macos, mswindows, next-mach,
15514 unisoft-unix, vax-vms, win32, w32.
15515
15516 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
15517 given name if the pattern is not more specific.
15518
15519 * calendar/lunar.el (lunar-phase-names): New option.
15520 (lunar-phase): Doc fix.
15521 (lunar-cycles-per-year): New constant.
15522 (lunar-index): New function.
15523 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
15524 (lunar-phase-name): Use lunar-phase-names.
15525 (calendar-lunar-phases): Use format.
15526 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
15527
15528 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
15529 Copy imenu-example--name-and-position function here for own use.
15530 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
15531
15532 * bs.el (bs--redisplay):
15533 * cus-edit.el (custom-redraw):
15534 * ibuffer.el (ibuffer-bury-buffer):
15535 * server.el (server-goto-line-column):
15536 * startup.el (command-line-1):
15537 * strokes.el (strokes-xpm-for-stroke):
15538 * term.el (term-display-buffer-line):
15539 * view.el (View-goto-line):
15540 * calc/calc.el (calc-do, calc-trail-buffer):
15541 * play/gamegrid.el (gamegrid-add-score-insecure):
15542 * progmodes/ada-mode.el (ada-compile-goto-error):
15543 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
15544 (ebrowse-select-1st-to-9nth):
15545 * progmodes/cperl-mode.el (cperl-time-fontification):
15546 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
15547 * progmodes/gud.el (gud-display-line):
15548 (idlwave-shell-display-line):
15549 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
15550 * progmodes/make-mode.el (makefile-browser-toggle):
15551 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
15552 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
15553 * textmodes/picture.el (picture-draw-rectangle):
15554 * textmodes/reftex-index.el (reftex-index-goto-letter):
15555 (reftex-select-jump-to-previous):
15556 * textmodes/reftex-sel.el (reftex-find-start-point)
15557 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
15558 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
15559 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
15560 * textmodes/tex-mode.el (tex-compilation-parse-errors):
15561 * textmodes/two-column.el (2C-associated-buffer):
15562 Use forward-line rather than goto-line.
15563
15564 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
15565 goto-line.
15566
15567 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
15568 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
15569 (quick-check-list-to-regexp): Declare.
15570
15571 * progmodes/make-mode.el (makefile-browser-insert-selection):
15572 Use goto-char rather than goto-line.
15573
15574 * progmodes/prolog.el (compilation-error-regexp-alist)
15575 (compilation-forget-errors): Declare.
15576
15577 2009-08-22 Juri Linkov <juri@jurta.org>
15578
15579 * progmodes/grep.el (lgrep, rgrep): At the beginning
15580 set `dir' to `default-directory' unless `dir' is a non-nil
15581 readable directory. (Bug#4052)
15582 (lgrep, rgrep): Change a weird way to report an error
15583 from using `read-string' to using `error'.
15584 Instead of using interactive arguments in the function body,
15585 add new argument `confirm'.
15586
15587 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15588
15589 * textmodes/remember.el (remember-buffer):
15590 * progmodes/cperl-mode.el (cperl-vc-header-alist):
15591 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
15592 (icalendar-extract-ical-from-buffer):
15593 * net/newst-treeview.el (newsticker-groups-filename):
15594 * net/newst-backend.el (newsticker-cache-filename):
15595 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
15596 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
15597 (speedbar-add-ignored-path-regexp, speedbar-line-path)
15598 (speedbar-buffers-line-path, speedbar-path-line)
15599 (speedbar-buffers-line-path):
15600 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
15601 (epg-sign-keys):
15602 * epa.el (epa-display-verify-result):
15603 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
15604
15605 2009-08-21 Glenn Morris <rgm@gnu.org>
15606
15607 * progmodes/js.el (inferior-moz-process): Fix declaration.
15608
15609 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15610
15611 * obsolete/rnewspost.el (news-mail-reply):
15612 Use goto-char rather than goto-line.
15613
15614 * term/ns-win.el (ns-open-file-select-line):
15615 Use line-beginning-position rather than goto-line.
15616
15617 * apropos.el (apropos-command):
15618 * ehelp.el (electric-helpify):
15619 * printing.el (pr-show-setup):
15620 * strokes.el (strokes-help):
15621 * tutorial.el (tutorial--describe-nonstandard-key)
15622 (tutorial--detailed-help):
15623 * woman.el (woman-mini-help, woman-display-extended-fonts):
15624 * calc/calc-help.el (calc-describe-key):
15625 * emulation/edt.el (edt-electric-helpify):
15626 * international/mule-diag.el (mule-diag):
15627 * play/yow.el (apropos-zippy):
15628 * progmodes/python.el (python-describe-symbol):
15629 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15630 * textmodes/table.el (*table--cell-describe-mode)
15631 (*table--cell-describe-bindings):
15632 Use help-print-return-message rather than the now obsolete alias.
15633
15634 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15635 (calendar-cursor-to-visible-date):
15636 * play/5x5.el (5x5-position-cursor):
15637 * play/decipher.el (decipher):
15638 * play/gomoku.el (gomoku-goto-xy):
15639 * play/landmark.el (lm-goto-xy):
15640 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15641 (mpuz-paint-digit):
15642 Use forward-line, not goto-line.
15643
15644 * mail/rmail.el (rmail-obsolete): Delete custom group.
15645 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
15646 (rmail-remote-password, rmail-remote-password-required):
15647 Remove unneeded :set-after and :set properties.
15648
15649 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
15650
15651 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
15652
15653 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
15654
15655 * loadup.el: Remove leftover macos code.
15656
15657 * vc-git.el (vc-git-annotate-command): Run asynchronously.
15658 Explicitly pass the date format to git blame so that user local
15659 so that the output format can be parsed.
15660
15661 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
15662
15663 * net/dbus.el (top): Don't check for (getenv
15664 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
15665
15666 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
15667
15668 * log-edit.el (log-edit-strip-single-file-name): New var.
15669 (log-edit-insert-changelog): Use it. Bug#3571
15670
15671 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15672
15673 * subr.el (read-passwd): Use read-key so keypad keys work as well.
15674 Bug#3287
15675
15676 * help.el (help-print-return-message): Rename from
15677 print-help-return-message.
15678
15679 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
15680 cvs-mode-map parent hack.
15681 (log-view-mode): Derive from special-mode.
15682
15683 * linum.el (linum-mode): window-size-change-functions is redundant.
15684 Adapt to new window-configuration-change-hook behavior.
15685 (linum-after-size, linum-after-config): Remove.
15686
15687 * imenu.el (imenu-example--name-and-position)
15688 (imenu-example--lisp-extract-index-name)
15689 (imenu-example--create-lisp-index, imenu-example--create-c-index):
15690 Mark as obsolete.
15691
15692 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
15693 (inferior-prolog-mode): Use it.
15694 (inferior-prolog-load-file): Reset list of errors.
15695
15696 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15697
15698 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
15699
15700 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
15701
15702 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
15703
15704 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
15705 is running already.
15706
15707 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15708
15709 * subr.el (listify-key-sequence-1): Use normal syntax since those
15710 integers are nowadays always represented by the same (positive) number
15711 on all platforms.
15712 (read-key-empty-map): New const.
15713 (read-key-delay): New var.
15714 (read-key): New function.
15715 (force-mode-line-update): Use with-current-buffer.
15716 (locate-user-emacs-file): Don't forget to abbreviate the file name.
15717 (start-process-shell-command, start-file-process-shell-command):
15718 Discourage the use of command-args.
15719
15720 2009-08-19 Glenn Morris <rgm@gnu.org>
15721
15722 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
15723
15724 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * simple.el (choose-completion-string): Don't rely on
15727 minibuffer-completing-file-name and ad-hoc checks to decide whether
15728 to continue completion or not.
15729
15730 * minibuffer.el (minibuffer-hide-completions): New function.
15731 (completion--do-completion): Use it.
15732 (completions-annotations): New face.
15733 (completion--insert-strings): Use it.
15734 (completion-pcm--delim-wild-regex): Add docstring.
15735 (completion-pcm--string->pattern): Add support for 0-width delimiters
15736 in completion-pcm--delim-wild-regex.
15737
15738 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
15739
15740 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
15741 Remove unused var `buffer-modified-p'.
15742
15743 * minibuffer.el (completion--do-completion): Move point for the #b001
15744 case as well (bug#4176).
15745 (minibuffer-complete, minibuffer-complete-word): Don't move point.
15746
15747 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
15748
15749 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
15750 and :session buses.
15751
15752 2009-08-18 Kenichi Handa <handa@m17n.org>
15753
15754 * international/ucs-normalize.el (ucs-normalize-version):
15755 Change to 1.1.
15756 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
15757 (utf-8-hfs): Make it perform normalization on encoding too.
15758
15759 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
15760 (sentence-end-without-space): Delete duplicated chars.
15761 (sentence-end-base): Likewise.
15762
15763 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
15764 (html-mode): Delete duplicated chars from sentence-end-base.
15765
15766 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
15767 (texinfo-mode): Delete duplicated chars from sentence-end-base.
15768
15769 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
15770
15771 * files.el (hack-one-local-variable): If the mode function is for
15772 a minor mode, pass it an argument (Bug#4148).
15773
15774 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
15775
15776 * net/tramp.el (tramp-register-completion-file-name-handler):
15777 Check also for (member 'partial-completion completion-styles).
15778
15779 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15780
15781 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
15782 abbrev (Bug#3943).
15783
15784 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
15785
15786 * progmodes/cperl-mode.el: Merge upstream 6.2.
15787 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
15788 (cperl-forward-re): Check cperl-brace-recursing.
15789 (cperl-highlight-charclass): New function.
15790 (cperl-find-pods-heres): Use it.
15791 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
15792 (cperl-beautify-regexp-piece): Fix column calculation.
15793 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
15794 (cperl-beautify-level): Don't process entire regexp.
15795 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
15796 calling man.
15797 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
15798 (cperl-init-faces): Build a list in the normal way.
15799
15800 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15801
15802 * calendar/parse-time.el (parse-time-string-chars): Save match
15803 data.
15804
15805 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
15806
15807 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
15808 (sql-product): Use it.
15809 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
15810 (sql-set-product): Add completion.
15811 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
15812 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
15813 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
15814 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
15815 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
15816 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
15817 (sql-highlight-db2-keywords): Remove.
15818 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
15819 (sql-highlight-product): Use derived-mode-p.
15820 (sql-set-sqli-buffer): Use with-current-buffer.
15821 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
15822 Simplify.
15823
15824 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
15825
15826 * term.el: Fix commenting convention, turn comments into docstrings.
15827
15828 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
15829
15830 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
15831
15832 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
15833
15834 * calendar/parse-time.el (parse-time-string-chars): Compute using
15835 character classes, to handle non-ascii characters (Bug#3190).
15836
15837 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15838
15839 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
15840 another heredoc if the user adds another < (Bug#3226).
15841
15842 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
15843 Don't initialize based on window-system (Bug#4124).
15844
15845 * facemenu.el (facemenu-read-color): Use a completion function
15846 that accepts any defined color, such as RGB triplets (Bug#3677).
15847
15848 * files.el (get-free-disk-space): Change fallback default
15849 directory to /. Expand DIR argument before switching to fallback.
15850 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
15851
15852 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15853
15854 * files.el (load-library): Doc fix.
15855
15856 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
15857
15858 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
15859 (viper-if-string): Redefine C-s in the minibuffer to insert the last
15860 incremental search string.
15861
15862 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
15863 XEmacs.
15864
15865 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
15866 (ediff-merge-region-is-non-clash)
15867 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
15868 Also check if the job is really a merge job.
15869
15870 * ediff.el (ediff-current-file): New function.
15871
15872 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15873
15874 * progmodes/js.el: Edit docstrings throughout to follow Emacs
15875 conventions.
15876 (js-insert-and-indent): Delete function.
15877 (js-mode-map): Don't bind keys to js-insert-and-indent.
15878 (js-beginning-of-defun): Rename from js--beginning-of-defun.
15879 (js-end-of-defun): Rename from js--end-of-defun.
15880 (js-auto-indent-flag): Delete variable.
15881
15882 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
15883
15884 * progmodes/js.el: Remove proclaim statement.
15885 Defvar which-func-imenu-joiner-function to silence compiler.
15886
15887 * files.el (auto-mode-alist): Use js-mode for .js files.
15888
15889 * progmodes/js2-mode.el: Remove file.
15890
15891 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
15892
15893 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
15894
15895 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
15896
15897 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
15898 Karl Landstrom <karl.landstrom@brgeight.se>
15899
15900 * progmodes/js.el: New file.
15901
15902 2009-08-14 Mark A. Hershberger <mah@everybody.org>
15903
15904 * timezone.el (timezone-parse-date): Add ability to understand ISO
15905 basic format (minimal separators) dates in addition to the
15906 already-supported extended format dates.
15907
15908 2009-08-14 Eli Zaretskii <eliz@gnu.org>
15909
15910 * international/ucs-normalize.el: Add a `coding' file variable.
15911
15912 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15913
15914 2009-08-14 Sam Steingold <sds@gnu.org>
15915
15916 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15917
15918 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
15919
15920 * faces.el (help-argument-name): Define it here instead of
15921 help-fns.el, because in daemon mode help-fns.el may be loaded when
15922 faces are still uninitialized (Bug#1078).
15923
15924 * help-fns.el (help-argument-name): Move defface to faces.el.
15925
15926 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
15927
15928 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15929 create buffer with a pty but no process so that GDB can make the
15930 inferior the controlling process.
15931
15932 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
15933
15934 * international/ucs-normalize.el: New file.
15935
15936 2009-08-13 Richard Stallman <rms@gnu.org>
15937
15938 * mail/rmail.el (rmail-get-attr-names):
15939 Accept an attribute header that is too short.
15940
15941 * mail/rmail.el (rmail-forget-messages):
15942 Ignore nil elt in rmail-message-vector. Use dotimes.
15943
15944 * progmodes/compile.el (compilation-goto-locus):
15945 Use next-error-move-function.
15946
15947 * simple.el (next-error-move-function): New variable.
15948
15949 2009-08-12 Juri Linkov <juri@jurta.org>
15950
15951 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15952 always non-nil. (Bug#4052)
15953
15954 * replace.el (read-regexp): Return empty string when
15955 `default-value' is nil.
15956 (keep-lines-read-args): Don't use empty string as the
15957 default value for `read-regexp'. (Bug#2495)
15958
15959 2009-08-12 Juri Linkov <juri@jurta.org>
15960
15961 * international/mule-cmds.el (ucs-insert): Change arguments
15962 from `arg' to `character', `count', `inherit' to be the same
15963 as in `insert-char'. Doc fix. (Bug#4039)
15964
15965 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15966
15967 2009-08-12 Juri Linkov <juri@jurta.org>
15968
15969 * files-x.el: New file.
15970
15971 * files.el: Move code that deals with adding/deleting
15972 file/directory-local variables to files-x.el.
15973
15974 * Makefile.in (ELCFILES): Add files-x.elc.
15975
15976 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
15977
15978 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15979 to use `goto-line'.
15980 (gdb-place-breakpoints, gdb-get-location): Rewritten without
15981 `goto-line'.
15982 (gdb-invalidate-disassembly): Do not refresh upon receiving
15983 'update signal. Instead, update all disassembly buffers only after
15984 threads list.
15985 (gdb): Send -target-detach when buffer is killed (Bug#3794).
15986 (gdb-starting): Moved -data-list-register-names...
15987 (gdb-stopped): ...here so it's sent when first thread stops.
15988 (gdb-registers-handler-custom): Do nothing if register names are
15989 unknown yet.
15990
15991 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15992 from `gdb-mi.el' to avoid extra tangling.
15993
15994 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15995 change which breaks `gud-def' definitions used in `gdb'.
15996 (gdb-update-gud-running): No extra fuss for updating frame number.
15997
15998 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
15999
16000 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16001 (describe-language-environment-map, setup-language-environment-map)
16002 (set-coding-system-map): Move initialization into declaration.
16003 (set-language-info-alist): Last arg to define-key-after can be skipped.
16004
16005 * international/quail.el (quail-completion-1): Simplify.
16006 (quail-define-rules): Use slightly more compact code.
16007 (quail-insert-decode-map): Propertize keys, compact columns.
16008
16009 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16010 Add goto-line.
16011
16012 2009-08-10 Miles Bader <miles@gnu.org>
16013
16014 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16015 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16016 (js2-instance-member, js2-private-member, js2-private-function-call)
16017 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16018 (js2-magic-paren, js2-external-variable):
16019 Remove "-face" suffix from face names.
16020 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16021 (js2-highlight-undeclared-vars, js2-peek-token)
16022 (js2-parse-function-params, js2-mode-show-errors)
16023 (js2-mode-show-warnings, js2-make-magic-delimiter)
16024 (js2-mode-highlight-magic-parens): Update to use new face names.
16025
16026 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
16027
16028 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16029 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
16030
16031 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
16032
16033 * subr.el: Provide hashtable-print-readable.
16034
16035 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16036 hs-c-like-adjust-block-beginning.
16037 (hs-hide-block-at-point): Stop hiding at the beginning of
16038 hs-block-end-regexp (Bug#700).
16039
16040 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
16041
16042 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16043 a macro.
16044 (gdb-registers-handler-custom): Do not fail when register names
16045 are unavailable.
16046
16047 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16048
16049 * progmodes/gdb-mi.el (gdb-control-all-threads)
16050 (gdb-control-current-thread): Interactive setters for
16051 `gdb-gud-control-all-threads' to use in menu.
16052 (gdb-show-run-p): Show «Go» when process is not active.
16053 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
16054 gud/thread.xpm and gud/all.xpm.
16055
16056 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
16057
16058 * net/net-utils.el (net-utils-font-lock-keywords): New var.
16059 (nslookup-font-lock-keywords): Make it a variable.
16060 (net-utils-mode): New mode for viewing diagnostic network output.
16061 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
16062 (net-utils-run-simple): New function.
16063 (ifconfig, iwconfig, netstat, arp, route): Use it.
16064
16065 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16066
16067 * progmodes/gdb-mi.el (gdb-read-memory-custom)
16068 (gdb-memory-set-address, def-gdb-set-positive-number)
16069 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
16070 after changing settings.
16071 (gdb-invalidate-disassembly): Update when first shown.
16072 (gdb-edit-locals-value): Fixed.
16073 (gdb-registers-handler-custom): Print registers in right order and
16074 allow changing register values (only for current thread yet).
16075 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
16076 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
16077 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
16078 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
16079 info in mode name.
16080 (gdb-registers-mode-map): TAB to switch to locals.
16081
16082 2009-08-08 Eli Zaretskii <eliz@gnu.org>
16083
16084 * mail/rmail.el (rmail-add-mbox-headers)
16085 (rmail-set-message-counters-counter): Search for
16086 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
16087
16088 2009-08-08 Glenn Morris <rgm@gnu.org>
16089
16090 * Makefile.in (ELCFILES): Update.
16091
16092 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16093
16094 * mail/sendmail.el (mail-yank-original): Set
16095 buffer-file-coding-system from the one used by the message whose
16096 text is yanked.
16097
16098 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
16099 to "windows" when "pgnuplot" is used.
16100 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
16101 call accept-process-output if "pgnuplot" is used.
16102 (calc-graph-init): Don't send -display and -geometry to
16103 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
16104 running "pgnuplot -V" with shell-command-to-string.
16105
16106 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
16107 the default.
16108
16109 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16110
16111 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
16112 org/org-latex.elc.
16113
16114 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
16115
16116 * vc-dispatcher.el (vc-resynch-window): Update comment.
16117
16118 * term.el (term-handle-ansi-escape): Add comments with the
16119 terminfo capabilities implemented.
16120
16121 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
16122
16123 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16124 (gdb-var-create-handler): Rewritten using JSON parser.
16125 (gdb-propertize-header): Moved earlier.
16126 (gdb-set-header): Removed to avoid duplication.
16127 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16128 Refresh disassembly buffers only after threads list have been
16129 update.
16130 (gdb-threads-header, gdb-registers-header): Per-buffer header line
16131 variables.
16132
16133 2009-08-04 Juri Linkov <juri@jurta.org>
16134
16135 * files.el: Commands to add/delete file/directory-local variables.
16136 (read-file-local-variable, read-file-local-variable-value)
16137 (read-file-local-variable-mode, modify-file-local-variable)
16138 (modify-file-local-variable-prop-line)
16139 (modify-dir-local-variable): New functions.
16140 (add-file-local-variable, delete-file-local-variable)
16141 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16142 (add-dir-local-variable, delete-dir-local-variable)
16143 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16144 (copy-dir-locals-to-file-locals-prop-line): New commands.
16145
16146 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
16147
16148 * abbrev.el (insert-abbrev-table-description): Prettify output.
16149 Suggested by Karl Chen.
16150
16151 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
16152
16153 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16154 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16155 (gdb-overlay-arrow-position, gdb-thread-position)
16156 (gdb-disassembly-position): Declare variables.
16157 (gdb-wait-for-pending): Function now.
16158 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16159 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16160 compilation goes smoothly.
16161 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16162 (gdb-non-stop-setting): New customization setting which replaces
16163 `gdb-non-stop' so changing it doesn't break active GDB session.
16164 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16165 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16166 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16167 (gdb-show-threads-by-default): New customization options.
16168 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16169 routines.
16170 (gdb-get-buffer-create): Send buffers update signal when they are
16171 created.
16172 (gdb-invalidate-locals, gdb-invalidate-registers)
16173 (gdb-invalidate-breakpoints)
16174 (gdb-invalidate-threads, gdb-invalidate-disassembly)
16175 (gdb-invalidate-memory): Accept update signal.
16176 (gdb-current-context-command): Use --frame option.
16177 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16178 Implement `gdb-frame-number' selection logic.
16179 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16180 whether to show GUD toolbar buttons.
16181 (gdb-thread-exited): Unselect current thread when it exits.
16182 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16183 (gdb-mark-line): Routine which sets overlay arrow or inverses
16184 video on fringeless displays.
16185 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16186 to build aligned columns of data in GDB buffers and set text
16187 properties line-by-line.
16188 (gdb-invalidate-breakpoints)
16189 (gdb-breakpoints-list-handler-custom)
16190 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16191 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16192 (gdb-registers-handler-custom): Align data columns.
16193 (gdb-locals-handler-custom): Now prints data like in variable
16194 declarations.
16195 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16196 Removed confusing buttons.
16197 (gdb-invalidate-threads): Append --frame.
16198 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16199 between breakpoints/threads buffers.
16200 (gdb-set-window-buffer): Now can ignore dedicated windows.
16201 (gdb-propertize-header): Use `gdb-set-window-buffer'.
16202 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16203 (def-gdb-thread-buffer-gud-command): Replaces
16204 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16205 for fine thread control.
16206 (gdb-preempt-existing-or-display-buffer): New function used to
16207 display bound buffers without breaking window layout.
16208 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16209 (gdb-select-frame): New version of `gdb-frames-select' which now
16210 sets `gdb-frame-number' so commands may use --frame option instead
16211 of inner debugger state.
16212 (gdb-frame-handler): Do not set `gdb-frame-number'.
16213 (gdb-threads-mode-map): Select threads with mouse.
16214
16215 * progmodes/gud.el (gdb-gud-context-call): Declare function to
16216 avoid compilation warning.
16217 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16218 `gdb-show-stop-p`.
16219
16220 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16221 Argument `key' renamed to `buffer-type'.
16222 (gdb-current-context-buffer-name): Do not add thread info to
16223 buffer name when no thread is selected.
16224 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16225 command (bug 3794).
16226 (gdb-thread-selected): Handle `=thread-selected' notification.
16227 (gdb-wait-for-pending): New macro to deal with congestion problems.
16228 (gdb-breakpoints-list-handler-custom): Don't fail on pending
16229 breakpoints.
16230 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16231 This fixes problem similar to one described in bug 3947.
16232 (gud-menu-map): More menu items.
16233 (gdb-init-1): Reset `gdb-thread-number' to nil.
16234
16235 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16236 non-stop settings.
16237
16238 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16239 (gdb-current-context-command): Do not append --thread if
16240 `gdb-thread-number' is nil.
16241 (gdb-running-threads-count, gdb-stopped-threads-count): New
16242 variables.
16243 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16244 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16245 customization options.
16246 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16247 GUD commands.
16248 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16249 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16250 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16251 set `gdb-thread-number' and update `gud-running' properly.
16252 (gdb-running): Update threads list when new threads appear.
16253 (gdb-stopped): Support non-stop operation and new thread switching
16254 logic.
16255 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16256 (gdb-json-partial-output): New set of JSON routines.
16257 (def-gdb-auto-update-trigger): New `signal-list' optional
16258 argument.
16259 (gdb-thread-list-handler-custom): Update `gud-running',
16260 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16261 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16262 (gdb-continue-thread, gdb-step-thread): New commands for fine
16263 thread execution control.
16264 (gud-menu-map): New menu items to switch non-stop options.
16265 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
16266 (gdb-send): Mimic RET properly (bug 3794).
16267
16268 * progmodes/gdb-mi.el (gdb-rules-name-maker)
16269 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
16270 gdb-buffer-rules.
16271 (def-gdb-auto-update-handler): New nopreserve optional argument.
16272 (gdb-stack-list-frames-custom): Print stack from top to bottom.
16273
16274 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
16275 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
16276 (gdb-parent-mode): New mode to derive other GDB modes from.
16277 (gdb-display-disassembly-for-thread)
16278 (gdb-frame-disassembly-for-thread): New commands for threads
16279 buffer.
16280
16281 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
16282 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
16283 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
16284 (gdb-update): We now store all GDB buffers in a list so that they
16285 can be updated by traversing a list instead of calling invalidate
16286 triggers explicitly.
16287 (def-gdb-trigger-and-handler): New macro to define trigger-handler
16288 pair for GDB buffer.
16289 (gdb-stack-buffer-name): Add thread information.
16290 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
16291 handle pending triggers.
16292 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
16293 (def-gdb-thread-buffer-simple-command)
16294 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
16295 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
16296 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
16297 New commands which show buffers bound to thread.
16298 (gdb-stack-list-locals-regexp): Removed unused regexp.
16299
16300 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
16301 (gdb-locals-buffer-name, gdb-registers-buffer-name)
16302 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
16303 to (gud-comint-buffer) in *-buffer-name functions
16304 because (gdb-get-target-string) already does that.
16305 (gdb-locals-handler-custom, gdb-registers-handler-custom)
16306 (gdb-changed-registers-handler): Rewritten without regexps.
16307
16308 * progmodes/gdb-mi.el: Basic thread selection support.
16309 (gdb-thread-number): New variable.
16310 (gdb-current-context-command): New macro which adds --thread
16311 option to command.
16312 (gdb-threads-mode-map): Select thread with SPC.
16313 (gdb-thread-list-handler-custom): Mark current thread with overlay
16314 arrow. Synchronize GDB thread and Emacs thread.
16315 (gdb-select-thread): New command which selects current thread.
16316 (gdb-invalidate-frames, gdb-invalidate-locals)
16317 (gdb-invalidate-registers): Use --thread option.
16318
16319 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
16320
16321 * net/tramp.el (top): Make check for tramp-gvfs loading more
16322 robust. (Bug#3977)
16323 (tramp-handle-insert-file-contents): `unwind-protect' must be
16324 inside `with-parsed-tramp-file-name'.
16325
16326 * net/tramp-gvfs.el (top): Remove superfluous message when loading
16327 fails.
16328
16329 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
16330
16331 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
16332 directory if CLASSPATH is not set.
16333
16334 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
16335
16336 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
16337 New defconst.
16338 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
16339
16340 2009-08-02 Kevin Ryde <user42@zip.com.au>
16341
16342 * net/newst-backend.el (newsticker--raw-url-list-defaults):
16343 Update freshmeat link. Delete newsforge.com as it seems gone.
16344
16345 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16346
16347 * select.el (x-set-selection): Doc fix (Bug#4021).
16348
16349 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
16350
16351 * help-fns.el (describe-variable): Treat list return values from
16352 dir-locals-find-file properly (Bug#4005).
16353
16354 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
16355
16356 * net/tramp.el (tramp-debug-message): Print also microseconds.
16357
16358 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
16359
16360 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
16361 or END is non-nil.
16362 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
16363 (tramp-get-debug-buffer): Change `outline-regexp' according to new
16364 format.
16365
16366 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
16367 (tramp-get-file-property): Use it.
16368
16369 * autorevert.el (auto-revert-handler): Allow
16370 `auto-revert-tail-mode' for remote files.
16371
16372 2009-08-02 Jason Rumney <jasonr@gnu.org>
16373
16374 * minibuffer.el (read-file-name): Treat confirm options to
16375 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
16376
16377 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16378
16379 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
16380 (font-lock-variable-name-face, font-lock-constant-face): Darken
16381 the colors for light backgrounds.
16382
16383 2009-08-01 Eli Zaretskii <eliz@gnu.org>
16384
16385 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
16386 month names. (Bug#3987)
16387
16388 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
16389
16390 * simple.el (line-move-finish): Pass whole number to
16391 line-move-to-column.
16392 (line-move-visual): Perform hscroll to the recorded position.
16393
16394 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
16395
16396 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
16397
16398 2009-07-29 Alan Mackenzie <acm@muc.de>
16399
16400 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
16401
16402 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
16403
16404 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
16405 (gdb-place-breakpoints): Use full path when setting breakpoints.
16406
16407 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
16408
16409 * calc/calc.el (calc-mode-map): Add keybinding for
16410 `calc-transpose-lines'.
16411
16412 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
16413
16414 * calc/calc-misc.el (calc-transpose-lines): New function.
16415
16416 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
16417
16418 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
16419 Simplify check for out-of-band methods.
16420 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
16421 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
16422
16423 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
16424
16425 * vc-git.el (vc-git-checkin): Fix typo.
16426
16427 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
16428
16429 * progmodes/js2-mode.el: New file.
16430
16431 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
16432
16433 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
16434 (gud-menu-map): Adjust tooltip accordingly.
16435
16436 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
16437
16438 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
16439 (vc-bzr-log-view-mode): Adjust log-view-file-re.
16440
16441 * add-log.el (change-log-mode-map): Add a menu.
16442
16443 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
16444
16445 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
16446 function returns nil.
16447 (dbus-handle-event): Handle special return value :ignore.
16448 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
16449
16450 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
16451
16452 * view.el (view-mode-enable): Don't define Helper-return-blurb if
16453 it's not needed.
16454
16455 2009-07-25 Eli Zaretskii <eliz@gnu.org>
16456
16457 Fix Bug#3888:
16458
16459 * w32-vars.el (x-select-enable-clipboard): Doc fix.
16460
16461 * term/pc-win.el (x-display-name, x-colors)
16462 (x-select-enable-clipboard, x-select-text): Doc fix.
16463
16464 * term/common-win.el (x-display-name, x-colors): Doc fix.
16465
16466 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
16467 (xw-defined-colors): Doc fix.
16468
16469 * w32-fns.el (x-select-text, x-setup-function-keys)
16470 (x-get-selection, x-set-selection): Doc fix.
16471
16472 * term/x-win.el (x-select-text, x-setup-function-keys)
16473 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
16474
16475 * select.el (x-set-selection): Doc fix.
16476
16477 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
16478
16479 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
16480 instead of "IsNSSSupportAvailable". Avahi ought to work also when
16481 "IsNSSSupportAvailable" method is not available. Reported by
16482 Steve Youngs <steve@sxemacs.org>.
16483
16484 2009-07-24 Kenichi Handa <handa@m17n.org>
16485
16486 * international/characters.el: Fix setting of category ?C, ?|, ?K,
16487 and ?H. Fix setting of case for Latin Extended and Greek Extended.
16488 (build-unicode-category-table): Fix range checks.
16489
16490 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
16491
16492 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
16493 the buffer we try to sync is current when calling
16494 vc-resynch-buffer.
16495
16496 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
16497 not show up to date files.
16498
16499 2009-07-24 Glenn Morris <rgm@gnu.org>
16500
16501 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
16502 Add autoload cookies. If necessary, initialize.
16503 (elint-log): Handle non-file buffers.
16504 (elint-initialize): Add optional argument to reinitialize.
16505 (elint-find-builtin-variables): Save excursion.
16506
16507 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
16508
16509 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
16510 for Lint.
16511
16512 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
16513
16514 * vc.el (vc-print-log-internal): New function, split out from ...
16515 (vc-print-log): ... here.
16516 (vc-dir-move-to-goal-column): Declare.
16517
16518 * vc-git.el (vc-git-add-signoff): New variable.
16519 (vc-git-checkin): Use it.
16520 (vc-git-toggle-signoff): New function.
16521 (vc-git-extra-menu-map): Bind it to menu.
16522 (vc-git--run-command-string): Accept a nil FILE argument.
16523 (vc-git-stash-list): New function.
16524 (vc-git-dir-extra-headers): Use it.
16525
16526 2009-07-23 Glenn Morris <rgm@gnu.org>
16527
16528 * help-fns.el (describe-variable): Describe ignored and risky local
16529 variables in a similar way to that in which we describe safe ones.
16530
16531 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
16532 (byte-compile-output-file-form, byte-compile-output-docform)
16533 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
16534 Give some more local variables with common names a "bytecomp-" prefix,
16535 so as not to shadow things during compilation.
16536 * emacs-lisp/cl-macs.el (load-time-value)
16537 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
16538 `outbuffer' to `bytecomp-outbuffer'.
16539
16540 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
16541 since the next two variables cover them automatically now.
16542 (elint-builtin-variables, elint-autoloaded-variables): New.
16543 (elint-unknown-builtin-args): Remove all members, since they can be
16544 parsed automatically now.
16545 (elint-extra-errors): New.
16546 (elint-env-add-env, elint-env-add-macro): Use cadr.
16547 (elint-current-buffer): Use or. Change final message.
16548 (elint-get-top-forms): Use line-end-position.
16549 (elint-init-env): Use cadr. Handle autoload, declare-function,
16550 and defalias.
16551 (elint-add-required-env): Doc fix. Use or. Standardize error.
16552 (regexp-assoc): Remove unused function.
16553 (elint-top-form): Set elint-current-pos, to record the start of the
16554 top-level form, for compilation-mode.
16555 (elint-form): Trap errors in macro expansion. Use dolist.
16556 (elint-unbound-variable): Use elint-builtin-variables and
16557 elint-autoloaded-variables.
16558 (elint-get-args): Use cadr, or.
16559 (elint-check-cond-form): Use dolist, cadr.
16560 (elint-check-condition-case-form): Doc fix. Use cadr.
16561 Use elint-extra-errors.
16562 (elint-log): New function.
16563 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
16564 Distinguish errors and warnings.
16565 (elint-log-message): Use with-current-buffer. Inhibit read-only.
16566 Use a bytecomp-style format.
16567 (elint-clear-log): Preserve default-directory. Inhibit read-only.
16568 (elint-get-log-buffer): Use compilation mode. Disable undo.
16569 Don't truncate lines.
16570 (elint-initialize): Set builtin and autoloaded variable lists.
16571 Only process elint-unknown-builtin-args if non-nil.
16572 (elint-find-builtin-variables, elint-find-autoloaded-variables):
16573 New functions.
16574 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
16575
16576 2009-07-22 Kevin Ryde <user42@zip.com.au>
16577
16578 * net/newst-backend.el (newsticker--parse-atom-1.0)
16579 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
16580 (newsticker--parse-rss-1.0):
16581 * progmodes/idlwave.el (idlwave-mode):
16582 * progmodes/idlw-shell.el (idlwave-shell-mode):
16583 * progmodes/vera-mode.el (vera-mode):
16584 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
16585 * progmodes/vhdl-mode.el (vhdl-mode):
16586 * textmodes/table.el (table-generate-source)
16587 (table--warn-incompatibility):
16588 Hyperlink urls in docstrings with URL `...'.
16589
16590 2009-07-22 Glenn Morris <rgm@gnu.org>
16591
16592 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
16593 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
16594 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
16595 Remove leading * from defcustom docs.
16596
16597 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
16598
16599 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
16600 defcustom doc.
16601 (list-load-path-shadows): Optionally, just return shadows as a string.
16602
16603 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
16604
16605 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
16606
16607 * mail/rmailedit.el (rmail-edit-mode): Use
16608 auto-save-include-big-deletions.
16609
16610 * mail/rmail.el (rmail-variables): Use
16611 auto-save-include-big-deletions.
16612
16613 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16614 changes.
16615
16616 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
16617
16618 * calc/calc.el (calc-undo-length): New variable.
16619 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16620
16621 2009-07-21 Richard Stallman <rms@gnu.org>
16622
16623 * files.el (auto-save-mode): Handle buffer-save-size = -2
16624 for toggling mode.
16625
16626 2009-07-21 Glenn Morris <rgm@gnu.org>
16627
16628 * textmodes/ispell.el (ispell-looking-back): Update declaration.
16629
16630 * calendar/todo-mode.el (calendar-current-date): Update declaration.
16631
16632 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16633 silence compiler. Instead...
16634 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16635 (ps-print-ensure-fontified): Update for above function name changes.
16636
16637 * printing.el (pr-mh-get-msg-num, pr-mh-show)
16638 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16639 silence compiler. Instead...
16640 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16641 (mh-show-buffer): Only define for compiler.
16642 (pr-mh-current-message): Update for above function name changes.
16643
16644 * files.el (abort-if-file-too-large): Explicitly pass `filename'
16645 as an argument.
16646 (find-file-noselect, insert-file-1): Update for above change.
16647
16648 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
16649
16650 * mail/mailclient.el (mailclient-send-it): Fix message.
16651
16652 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
16653 (edebug-eval): Check cl-debug-env is bound.
16654 (print-level, print-circle): Don't redefine built-in variables.
16655
16656 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
16657 (custom-print-vectors): Remove old comments from doc.
16658
16659 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
16660 (emerge-version): Make the variable an obsolete alias for the
16661 emacs-version variable. Make the function obsolete.
16662 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
16663 Emerge options, rather than merging in into the main Options menu.
16664 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
16665 and auto advance modes. Disable edit/fast items when not relevant.
16666
16667 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
16668
16669 * term/vt420.el (terminal-init-vt420): Fix typo.
16670
16671 2009-07-20 Sam Steingold <sds@gnu.org>
16672
16673 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
16674 variable (removed from compile.el on 2004-03-11).
16675
16676 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
16677
16678 * files.el (hack-local-variables-filter): Fix last change.
16679
16680 2009-07-19 Juri Linkov <juri@jurta.org>
16681
16682 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
16683 (dir-local-variables-alist): New buffer-local variable.
16684 (hack-local-variables-filter): If variable is not dir-local,
16685 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
16686 because file-local overrides dir-local.
16687 (c-postprocess-file-styles) <declare-function>:
16688 Remove obsolete declaration.
16689 (hack-dir-local-variables): Add dir-local variable/value pair to
16690 `dir-local-variables-alist' and remove duplicates. Doc fix.
16691
16692 * help-fns.el (describe-variable): Add information about
16693 file-local and dir-local variables.
16694
16695 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
16696
16697 * files.el (hack-local-variables-filter): Rewrite.
16698
16699 2009-07-19 Glenn Morris <rgm@gnu.org>
16700
16701 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
16702 Silence compiler by only defining on XEmacs.
16703
16704 * international/mule.el (auto-coding-regexp-alist): Only match
16705 BABYL... at the start of buffer, not of lines. (Bug#3790)
16706
16707 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
16708 non-calendar buffers (Bug#3862). Restore "not on a date" message.
16709 (cal-menu-context-mouse-menu): Doc fix.
16710
16711 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
16712
16713 * simple.el (mail-user-agent): Doc fix. Set :version tag.
16714
16715 2009-07-18 Juri Linkov <juri@jurta.org>
16716
16717 * info.el: Virtual Info keyword finder.
16718 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
16719 (Info-finder-file): New variable.
16720 (Info-finder-find-file): New function.
16721 (finder-known-keywords, finder-package-info)
16722 (find-library-name, lm-commentary): Use defvar and
16723 declare-function to silence compiler warnings.
16724 (Info-finder-find-node): New function.
16725 (info-finder): New command.
16726
16727 * subr.el (process-kill-buffer-query-function): New function.
16728 (add-hook)<kill-buffer-query-functions>: Add hook
16729 `process-kill-buffer-query-function'.
16730
16731 2009-07-18 Alan Mackenzie <acm@muc.de>
16732
16733 * progmodes/cc-mode.el (c-before-hack-hook)
16734 (c-postprocess-file-styles): Give invocation of `c-set-style'
16735 DONT-OVERRIDE parameter of t. Already set style variables will
16736 thus not be overridden by style settings given by `c-file-syle'.
16737
16738 * files.el (hack-local-variables-filter): Remove entries with
16739 duplicate keys from `file-local-variables-alist'.
16740
16741 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16742
16743 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
16744 x-set-selection if display-selections-p returns nil for the
16745 current frame.
16746
16747 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
16748
16749 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
16750
16751 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16752
16753 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
16754 Accept nil in addition to a regexp.
16755 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
16756 Accept nil in addition to a regexp.
16757 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
16758 buffers that have an associated file. Handle nil values of
16759 desktop-buffers-not-to-save and desktop-files-not-to-save.
16760 (Bug#3833)
16761
16762 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16763 (x-disown-selection-internal): New functions.
16764
16765 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
16766
16767 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
16768 warning.
16769 (gdb-breakpoints-header): Move forward to avoid compiler warning.
16770 (gdb-make-header-line-mouse-map): Remove duplicate definition.
16771
16772 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
16773
16774 * simple.el (set-mark): Revert last change.
16775
16776 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
16777
16778 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
16779 rendering of pngs is not possible instead of messaging a long
16780 description.
16781
16782 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
16783
16784 * w32-fns.el (x-selection-owner-p): New function.
16785
16786 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
16787 (mouse-yank-at-click, mouse-yank-primary): If
16788 select-active-regions is non-nil, deactivate the mark before
16789 insertion.
16790
16791 * simple.el (deactivate-mark, set-mark): Only save selection if we
16792 own it.
16793
16794 2009-07-17 Kenichi Handa <handa@m17n.org>
16795
16796 * case-table.el (describe-buffer-case-table): Fix for the case
16797 that KEY is a cons.
16798
16799 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
16800
16801 * vc-rcs.el (vc-rcs-find-file-hook):
16802 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
16803
16804 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
16805
16806 * net/tramp.el (tramp-wait-for-output): Handle the case when
16807 commands do not return a newline but a null byte before the shell
16808 prompt. (Bug#3858)
16809
16810 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16811
16812 * term/ns-win.el (ns-set-alpha): Don't declare.
16813 (ns-set-background-alpha): Remove function.
16814
16815 2009-07-16 Kevin Ryde <user42@zip.com.au>
16816
16817 * emacs-lisp/copyright.el (copyright-update): Save match-data across
16818 y-or-n-p, for safety.
16819
16820 2009-07-16 Richard Stallman <rms@gnu.org>
16821
16822 * files.el (auto-save-mode): If buffer-saved-size is -2,
16823 don't clobber it.
16824
16825 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
16826 (rmail-retry-ignored-headers): Add more uninteresting fields.
16827
16828 2009-07-15 Jari Aalto <jari.aalto@cante.net>
16829
16830 * net/rcirc.el (rcirc): Use history variables.
16831 (rcirc-server-name-history, rcirc-nick-name-history)
16832 (rcirc-server-port-history): New variables.
16833
16834 2009-07-15 Kenichi Handa <handa@m17n.org>
16835
16836 * international/mule-cmds.el (set-language-environment-charset):
16837 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
16838 ignore them.
16839
16840 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
16841 Delete unibyte-display.
16842
16843 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16844
16845 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
16846
16847 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16848
16849 * simple.el (deactivate-mark): Optional argument FORCE.
16850 (set-mark): Use deactivate-mark.
16851
16852 * info.el (Info-search): No need to check transient-mark-mode
16853 before calling deactivate-mark.
16854
16855 * select.el (x-set-selection): Doc fix.
16856 (x-valid-simple-selection-p): Allow buffer values.
16857 (xselect--selection-bounds): Handle buffer values. Suggested by
16858 David De La Harpe Golden.
16859
16860 * mouse.el (mouse-set-region, mouse-drag-track): Call
16861 copy-region-as-kill before setting the mark, to let
16862 select-active-regions work.
16863
16864 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
16865
16866 * simple.el (deactivate-mark): If select-active-regions is
16867 non-nil, copy the selection data into a string.
16868 (activate-mark): If select-active-regions is non-nil, set the
16869 selection to the current buffer.
16870 (set-mark): Update selection if select-active-regions is non-nil.
16871
16872 * select.el (x-valid-simple-selection-p): Allow buffer values.
16873
16874 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
16875
16876 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
16877 and more featureful message-mode.
16878
16879 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
16880
16881 * select.el (x-set-selection): Doc fix.
16882 (x-valid-simple-selection-p): Disallow selection data consisting
16883 of a list or cons of integers, since that is not used.
16884 (xselect--selection-bounds, xselect--int-to-cons): New functions.
16885 (xselect-convert-to-string, xselect-convert-to-length)
16886 (xselect-convert-to-filename, xselect-convert-to-charpos)
16887 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
16888
16889 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
16890
16891 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
16892 output in -break-info command (Emacs bug #3794).
16893
16894 2009-07-14 Glenn Morris <rgm@gnu.org>
16895
16896 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
16897 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
16898 (edebug-print-length, edebug-print-level, edebug-print-circle)
16899 (edebug-sit-for-seconds, edebug-view-outside)
16900 (edebug-bounce-point, edebug-set-global-break-condition)
16901 (edebug-Go-nonstop-mode, edebug-trace-mode)
16902 (edebug-Trace-fast-mode, edebug-continue-mode)
16903 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
16904 (edebug-visit-eval-list): Doc fixes.
16905
16906 * subr.el (def-edebug-spec): Doc fix.
16907
16908 2009-07-14 Kenichi Handa <handa@m17n.org>
16909
16910 * international/characters.el: Fix setting of category ?C.
16911
16912 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
16913
16914 * term/ns-win.el (x-select-font): defalias x-select-font to
16915 ns-popup-font-panel instead of generate-fontset-menu.
16916
16917 2009-07-12 Eli Zaretskii <eliz@gnu.org>
16918
16919 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
16920
16921 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
16922
16923 * arc-mode.el (archive-find-type): Allow for a PK00 string before
16924 the PK\003\004 header (Bug#3770).
16925
16926 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
16927
16928 * pcomplete.el (pcomplete-comint-setup): Check for
16929 shell-dynamic-complete-filename too.
16930
16931 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
16932
16933 * simple.el (temporary-goal-column): Change the value for
16934 line-move-visual to a cons cell.
16935 (line-move-visual): Record or set the window hscroll, if
16936 necessary (Bug#3494).
16937 (line-move-1): Handle cons value of temporary-goal-column.
16938
16939 2009-07-11 Kenichi Handa <handa@m17n.org>
16940
16941 * international/mule-diag.el (describe-character-set): Don't show
16942 width.
16943
16944 2009-07-10 Sam Steingold <sds@gnu.org>
16945
16946 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16947 Omake sometimes indents the errors it prints, so allow all
16948 regexps to start with spaces.
16949
16950 2009-07-10 Eli Zaretskii <eliz@gnu.org>
16951
16952 * cus-edit.el (customize-changed-options-previous-release):
16953 Bump value to 22.1. (Bug#3804)
16954
16955 2009-07-08 Sam Steingold <sds@gnu.org>
16956
16957 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16958 to be a cons cell (test . ignored-directory) to selectively ignore
16959 some directories depending on the location of the search.
16960
16961 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
16962
16963 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16964 remote user is root, on the local host.
16965 (tramp-local-host-p): Either the local user or the remote user
16966 must be root. (Bug#3771)
16967
16968 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16969
16970 * progmodes/gdb-mi.el (gdb): Remove description of
16971 gdb-use-separate-io-buffer.
16972 (menu): Don't allow toggling of or enable
16973 gdb-use-separate-io-buffer from menubar.
16974
16975 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16976
16977 * mail/unrmail.el (unrmail): Make sure the message ends with two
16978 newlines (Bug#3769).
16979
16980 2009-07-08 Glenn Morris <rgm@gnu.org>
16981
16982 * calendar/calendar.el (calendar-current-date): Rework previous change.
16983
16984 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
16985
16986 * calendar/calendar.el (calendar-current-date):
16987 Add an optional argument giving an offset from today.
16988
16989 2009-07-08 Glenn Morris <rgm@gnu.org>
16990
16991 * tutorial.el (tutorial--describe-nonstandard-key):
16992 Adjust the message for when a key has been unbound.
16993 (help-with-tutorial): Hide the arch-tag.
16994
16995 2009-07-08 Kenichi Handa <handa@m17n.org>
16996
16997 * international/fontset.el (setup-default-fontset): For each
16998 script, append (not set) font-specs.
16999
17000 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17001 docstring.
17002
17003 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17004
17005 * progmodes/gdb-mi.el (gdb-init-1): Move sending
17006 -data-list-register-names to ...
17007 (gdb-starting): ... here because GDB 7.0 requires execution to
17008 have started when using this MI command.
17009 (gdb-set-header): New function to distinguish select and
17010 unselected tabs in gdb buffers.
17011 (gdb-propertize-header): New macro that uses gdb-set-header.
17012 (gdb-breakpoints-header, gdb-locals-header): Use it.
17013 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17014
17015 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
17016
17017 * Makefile.in (ELCFILES): Remove fadr.elc.
17018
17019 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
17020
17021 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17022 may contain frame information, so `string-match' should be used.
17023 (gdb-update): Disassembly is invalidated through
17024 `gdb-get-selected-frame'.
17025 (gdb-pad-string): New function to pad string with spaces.
17026 (gdb-invalidate-disassembly): Invalidate only if the buffer
17027 exists.
17028 (gdb-disassembly-handler-custom): Column alignment.
17029 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17030 placing new ones.
17031 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17032 end of line, too.
17033 (gdb-frame-handler): Match convention to for disassembly buffer
17034 mode name.
17035 (gdb-stack-list-frames-handler): Rewritten without regexps.
17036 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17037 not highlight breakpoints without line information.
17038 (gdb-input): Add trailing newline to command.
17039
17040 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17041 buffer properly.
17042 (gdb-breakpoints-list-handler-custom): Replacement for
17043 `gdb-break-list-handler'. Using real parser instead of regexps
17044 now.
17045 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17046 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17047 to place breakpoints.
17048 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17049 functions.
17050 (gdb-disassembly-handler-custom): Show overlay arrow.
17051 (gdb-disassembly-place-breakpoints): Show breakpoints in
17052 disassembly buffer.
17053 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17054 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17055 instead of parsing breakpoints buffer. Fixed old menu references
17056 in `gud-menu-map'.
17057
17058 * fadr.el: Remove.
17059
17060 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17061 (gdb-memory-address): New variable which holds top address of
17062 memory page shown in memory buffer.
17063 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
17064 customization variables.
17065 New functions:
17066 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
17067 display the memory buffer.
17068 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
17069 buffer display parameters.
17070 (def-gdb-memory-format, gdb-memory-format-binary)
17071 (gdb-memory-format-octal, gdb-memory-format-unsigned)
17072 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
17073 Functions for setting memory buffer format.
17074 (gdb-memory-unit-word, gdb-memory-unit-halfword)
17075 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
17076 unit size used in memory buffer.
17077 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
17078 to next/previous page of memory buffer.
17079 Now using (bindat-get-field) instead of fadr functions.
17080
17081 2009-07-07 Sam Steingold <sds@gnu.org>
17082
17083 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
17084 non-top-level files.
17085
17086 2009-07-07 Kenichi Handa <handa@m17n.org>
17087
17088 * international/mule-cmds.el (reset-language-environment): Put
17089 the highset priority to the charset iso-8859-1.
17090
17091 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17092
17093 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
17094 to the end of the line when locating the block (Bug#700).
17095
17096 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
17097
17098 * net/tramp.el (tramp-handle-write-region): Flush file properties
17099 in case of short track.
17100
17101 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
17102
17103 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
17104 Coded custom representation of verilog error regular expressions
17105 to work with Emacs-22's new format.
17106 (verilog-error-regexp-xemacs-alist): Coded custom representation
17107 of verilog error regular expressions to work with XEmacs format.
17108 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
17109 error recognition into XEmacs.
17110 (verilog-error-regexp-add-emacs): Hook routine to install verilog
17111 error recognition into Emacs-22.
17112
17113 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17114
17115 * woman.el: Remove stand-alone closing parentheses.
17116 (woman-file-name, woman2-format-paragraphs)
17117 (woman-leave-blank-lines): Code cleanup.
17118 (woman-use-own-frame): Change default to nil.
17119 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
17120 defaults to inherit from default faces.
17121 (woman2-process-escapes): Consume the newline after a stand-alone
17122 filler character (Bug#3651).
17123
17124 2009-07-06 Glenn Morris <rgm@gnu.org>
17125
17126 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17127 (top-level): Move provide to the end.
17128 (ffap): Remove defunct URL from custom group.
17129
17130 * subr.el (eval-after-load): Doc fix.
17131
17132 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
17133
17134 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17135 `calc-embedded-word' is called twice.
17136
17137 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17138
17139 * files.el (find-alternate-file-other-window, find-alternate-file):
17140 Obey confirm-nonexistent-file-or-buffer.
17141
17142 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
17143
17144 * dired-aux.el (dired-show-file-type): Handle remote files.
17145
17146 2009-07-05 Jari Aalto <jari.aalto@cante.net>
17147
17148 * desktop.el (desktop-globals-to-save):
17149 Add file-name-history (Bug#2750).
17150
17151 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
17152
17153 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17154
17155 2009-07-04 Johan Bockgård <bojohan@gnu.org>
17156
17157 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17158 property on entire argument since this is what eshell-lisp-command
17159 expects.
17160
17161 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
17162
17163 * net/tramp-gvfs.el (tramp-gvfs-methods)
17164 (tramp-gvfs-zeroconf-domain)
17165 (tramp-bluez-discover-devices-timeout): Add version flag.
17166 (tramp-gvfs-handler-mounted-unmounted)
17167 (tramp-gvfs-connection-mounted-p): Polish handling of
17168 incompatibilities between GVFS 0.2 and 1.0.
17169
17170 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
17171
17172 * cus-start.el (all): Add make-pointer-invisible.
17173
17174 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
17175
17176 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17177 formatted correctly.
17178
17179 2009-07-02 Juri Linkov <juri@jurta.org>
17180
17181 * info.el: Virtual Info files and nodes.
17182 (Info-virtual-files, Info-virtual-nodes): New variables.
17183 (Info-current-node-virtual): New variable.
17184 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17185 New functions.
17186 (Info-file-supports-index-cookies): Use Info-virtual-file-p
17187 to check for a virtual file instead of checking a fixed list
17188 of node names.
17189 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17190 instead of ad-hoc processing of "dir" and (apropos history toc).
17191 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17192 instead of ad-hoc processing of "dir" and (apropos history toc).
17193 Reread a file when moving from a virtual node.
17194 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17195 (Info-directory-toc-nodes, Info-directory-find-file)
17196 (Info-directory-find-node): New functions.
17197 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17198 (Info-history): Move part of code to
17199 `Info-history-find-node'.
17200 (Info-history-toc-nodes, Info-history-find-file)
17201 (Info-history-find-node): New functions.
17202 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17203 (Info-toc): Move part of code to `Info-toc-find-node'.
17204 (Info-toc-find-node): New function.
17205 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
17206 the current Info file name to references because now the node
17207 "*TOC*" belongs to the same Info manual.
17208 (Info-toc-build): Rename from `Info-build-toc'.
17209 (Info-toc-nodes): Rename input argument `file' to `filename'.
17210 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17211 instead of ad-hoc processing of ("dir" apropos history toc).
17212 (Info-index-nodes): Use Info-virtual-file-p
17213 to check for a virtual file instead of checking a fixed list
17214 of node names.
17215 (Info-index-node): Add check for `Info-current-node-virtual'.
17216 Raise `save-match-data' higher up the tree to contain
17217 `search-forward' too (bug fix).
17218 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17219 (Info-virtual-index-nodes): New variable.
17220 (Info-virtual-index-find-node, Info-virtual-index): New functions.
17221 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17222 (Info-apropos-file, Info-apropos-nodes): New variables.
17223 (Info-apropos-toc-nodes, Info-apropos-find-file)
17224 (Info-apropos-find-node, Info-apropos-matches): New functions.
17225 (info-apropos): Move part of code to `Info-apropos-find-node' and
17226 `Info-apropos-matches'.
17227 (Info-mode-map): Bind "I" to `Info-virtual-index'.
17228 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17229 for a virtual file instead of checking a fixed list of node names.
17230
17231 * simple.el (async-shell-command): New command.
17232
17233 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17234
17235 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17236 instead of `mount-info'.
17237
17238 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
17239
17240 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17241 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17242
17243 2009-07-02 Kenichi Handa <handa@m17n.org>
17244
17245 * international/mule.el (set-keyboard-coding-system): Force *-unix
17246 coding-system to avoid eol conversion.
17247
17248 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
17249
17250 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17251 Add handler for `process-file', `shell-command' and
17252 `start-file-process'.
17253 (tramp-gvfs-handle-shell-command)
17254 (tramp-gvfs-handle-start-file-process)
17255 (tramp-gvfs-handle-process-file): New defuns.
17256 (tramp-synce-list-devices): Simplify check for existence of property.
17257
17258 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
17259
17260 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17261
17262 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
17263
17264 * language/korean.el (set-language-info-alist): Add korean-cp949,
17265 cp949 to spec.
17266
17267 2009-07-01 Kenichi Handa <handa@m17n.org>
17268
17269 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
17270
17271 * international/encoded-kb.el: Deleted.
17272
17273 * international/mule.el (set-keyboard-coding-system): Perform the
17274 necessary setup here instead of calling encoded-kbd-setup-display.
17275
17276 2009-07-01 Glenn Morris <rgm@gnu.org>
17277
17278 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
17279
17280 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
17281
17282 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
17283
17284 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
17285
17286 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
17287 Handle also the 'rename case, when setting file modes. (Bug#3712)
17288 (tramp-default-file-modes): Remove execute permissions.
17289
17290 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
17291 (top): Add a default for "synce" in `tramp-default-user-alist'.
17292 Add completion function for "synce" method.
17293 (tramp-hal-service, tramp-hal-path-manager)
17294 (tramp-hal-interface-manager, tramp-hal-interface-device):
17295 New defconst.
17296 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
17297 (tramp-synce-list-devices, tramp-synce-parse-device-names):
17298 New defuns.
17299
17300 * net/trampver.el: Update release number.
17301
17302 2009-06-30 Kenichi Handa <handa@m17n.org>
17303
17304 * international/fontset.el (setup-default-fontset): Add CJK fonts
17305 for symbols and the other miscellaneous characters.
17306
17307 * language/korea-util.el (setup-korean-environment-internal):
17308 Make char-width-table suitable for Korean environments.
17309 (exit-korean-environment): Cancel above.
17310
17311 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
17312 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
17313 setup-function to make char-width-table suitable for respective
17314 environments, and an exit-function to cancel that.
17315
17316 * language/japan-util.el (setup-japanese-environment-internal):
17317 Call use-cjk-char-width-table with arg `ja_JP'.
17318
17319 * international/characters.el (cjk-char-width-table): Delete it.
17320 (cjk-char-width-table-list): New variable.
17321 (use-cjk-char-width-table): New arg local-name.
17322 (use-default-char-width-table): Fix for the case that Emacs is
17323 already using the default char-width-table.
17324
17325 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
17326
17327 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
17328 modes mandatory. (Bug#3712)
17329
17330 2009-06-29 Alan Mackenzie <acm@muc.de>
17331
17332 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
17333 correction between the visible width of TABs and their number of bytes.
17334
17335 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
17336
17337 * server.el (server-buffer-done): Prevent kill-buffer from
17338 prompting by clearing the buffer modification flag (Bug#3696).
17339
17340 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
17341
17342 * progmodes/verilog-mode.el (verilog-beg-of-statement)
17343 (verilog-endcomment-reason-re): Support unique case and priority case.
17344 (verilog-basic-complete-re): Support localparam lineup.
17345 (verilog-beg-of-statement-1): Fix for robustness, unique case.
17346 (verilog-set-auto-endcomments): Fix for unique case, always_comb
17347 commenting.
17348 (verilog-leap-to-case-head): Now support *nested* unique &
17349 priority case statements.
17350 (verilog-auto-lineup): Make just declarations the default (as it
17351 had been).
17352 (verilog-leap-to-case-head): Support priority/unique case statements.
17353 (verilog-auto-lineup): Rework to give users radio buttons to
17354 select the various styles of automatic lineup.
17355 (verilog-error-regexp-alist): Rework to support the XEmacs style
17356 of error regular expressions from compilers, lint tools &
17357 simulators. Note that GNU Emacs has made it impossible for a mode
17358 to load such things.
17359 (electric-verilog-terminate-line, verilog-indent-declaration)
17360 (verilog-auto-wiure): Rework for radio button selection of
17361 auto-lineup selection of specification of auto lineup.
17362 (verilog-beg-of-statement-1): Redesign to support proper operation
17363 in additional code, based on testing with auto-lineup.
17364 (verilog-calculate-indent, assignments & declarations)
17365 (verilog-backward-token): Enhance to support auto-lineup of
17366 assignments & declarations.
17367 (verilog-in-directive-p, verilog-at-struct-p): New function for
17368 easy test of whether we are.
17369 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
17370 to support safe execution at almost anyline.
17371 (verilog-calc-1): Properly support indenting deep inside generate
17372 blocks.
17373 (verilog-init-font): Remove definition & use of verilog-init-font,
17374 as it is redundant with font-lock-defaults.
17375 (verilog-mode): Alter the definition of verilog-font-lock-defaults
17376 to avoid circular calls if syntax-ppss is a function (as is the
17377 case now in 22.x GNU Emacs) as that function would sometimes call
17378 itself, leading to (nearly) infinite recursion.
17379 (verilog-ovm-begin-re, verilog-ovm-end-re)
17380 (verilog-ovm-statement-re, verilog-leap-to-head)
17381 (verilog-backward-token): Add support for OVM macros. Some are
17382 complete statements, and others open and close scopes like begin
17383 and end.
17384 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
17385 (verilog-defun-level-generate-only-re): Really fix the defun-list
17386 compilation issue.
17387 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
17388 coverpoint, constraint and cross statements.
17389 (verilog-defun-level-list, verilog-generate-defun-level-list)
17390 (verilog-all-defun-level-list): Redo these specifications - it is
17391 too hard to support eval-when compile aggregation of lists also
17392 built at when-compile time.
17393 (verilog-defun-level-list): Place defconsts of variables used in
17394 building regular expressions which are built in eval-when-compile
17395 bodies in the same eval-when-compile body to facilitate compile
17396 without load.
17397 (verilog-beg-block-re-ordered): Support indenting
17398 virtual/protected tasks and functions.
17399 (verilog-defun-level-list, verilog-in-generate-region-p)
17400 (verilog-backward-ws&directives, verilog-calc-1): Speed up
17401 indentation of some module items (generate items).
17402 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
17403 across virtual/protected tasks and functions.
17404
17405 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
17406
17407 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
17408 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
17409 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
17410 in concatenations. Reported by Yishay Belkind.
17411 (verilog-auto-ascii-enum): Support one-hot state machines in
17412 AUTOASCIIENUM. Suggested by Lloyd Gomez.
17413 (verilog-auto-inst, verilog-auto-inst-port): Include interface
17414 modport in AUTOINST and add vl-modport for users. Reported by
17415 David Rogoff.
17416 (verilog-auto-inout-module, verilog-auto-inst)
17417 (verilog-decls-get-interfaces, verilog-insert-definition)
17418 (verilog-insert-one-definition, verilog-read-decls)
17419 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
17420 (verilog-sig-modport, verilog-signals-combine-bus)
17421 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
17422 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
17423 Suggested by David Rogoff.
17424 (verilog-repair-open-comma): Fix non-insertion of comma when
17425 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
17426 (verilog-make-width-expression): Simplify [A-1:0] expression
17427 widths to just {A{1'b0}}.
17428 (verilog-mode): Cleanup checkdoc warnings.
17429 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
17430 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
17431 inputs/outputs or data type. Suggested by Vasu Kandadi.
17432 (next-error-last-buffer): Fix byte-compiler warning.
17433 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
17434 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
17435 or shell command text during AUTO expansion. Suggested by Tad Truex.
17436 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
17437 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
17438 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
17439 in AUTOINOUT. Reported by Matthew Lovell.
17440 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
17441 causing use of <= assignments. Reported by Alex Reed.
17442 (verilog-read-decls): Fix triand, trior, wand, wor to be
17443 recognized by AUTOWIRE. Reported by Spencer Isaacson.
17444 (verilog-extended-complete-re): Support import "DPI-C" functions.
17445 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
17446 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
17447 (verilog-insert-date, verilog-insert-year)
17448 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
17449 Windows systems. Reported by Michael Potts.
17450 (verilog-read-module-name): Fix AUTOINST when the child module
17451 declaration's name is a tick define. Reported by Elliot Mednick.
17452 (verilog-read-decls): Fix V2K parameter bit subscripts getting
17453 passed to next parameter's definition. Reported by Bruce T.
17454 (verilog-read-decls): Fix detecting "parameter int" when using
17455 AUTOINSTPARAM. Reported by Bruce T.
17456 (verilog-goto-defun): Fix goto not finding modules unless first
17457 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
17458 (verilog-mode): Expand -f flag arguments on entry to mode so
17459 verilog-goto-defun will work. Reported by Lawrence Butcher.
17460 (verilog-getopt): Expand environment variables in -f file
17461 arguments. Suggested by Lawrence Butcher.
17462 (verilog-set-define): Fix "Symbol's value as variable is void"
17463 when reading enumerations.
17464 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
17465 Suggested by Stephen Peltan.
17466 (verilog-read-defines): Fix reading of enumerations in include
17467 files. Reported by Steve Peltan.
17468
17469 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17470
17471 * files.el (trash-directory): Fix defcustom type.
17472
17473 2009-06-28 Juri Linkov <juri@jurta.org>
17474
17475 * help-fns.el (describe-function-1): Correctly locate adviced
17476 functions in hyperlink (Bug#2438).
17477
17478 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
17479
17480 * files.el (trash-directory): Change default to nil.
17481 (move-file-to-trash): If trash-directory is nil and
17482 system-move-file-to-trash is unbound, perform freedesktop-style
17483 trashing.
17484
17485 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17486
17487 * files.el (move-file-to-trash): Add freedesktop trash
17488 support (Bug#973).
17489
17490 2009-06-28 Glenn Morris <rgm@gnu.org>
17491
17492 * autorevert.el (global-auto-revert-non-file-buffers)
17493 (global-auto-revert-mode): Doc fixes.
17494
17495 2009-06-27 Johan Bockgård <bojohan@gnu.org>
17496
17497 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
17498
17499 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
17500
17501 * faces.el (x-handle-named-frame-geometry): Ensure that we have
17502 opened an X connection before calling x-get-resource (Bug#3194).
17503
17504 * play/doctor.el: Remove reference to obsolete website.
17505 (make-doctor-variables): Correct grammar mistake (Bug#2633).
17506
17507 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
17508
17509 Remove find-file-not-found-hook VC method. (Bug#2757)
17510 * vc-hooks.el (vc-file-not-found-hook)
17511 (vc-default-find-file-not-found-hook): Remove functions.
17512 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
17513 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
17514 * vc.el:
17515 * vc-hg.el:
17516 * vc-git.el: Do not mention find-file-not-found-hook VC method.
17517
17518 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
17519
17520 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
17521 compatibility function for `looking-back'.
17522
17523 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
17524 Use `ispell-looking-back'.
17525
17526 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
17527
17528 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
17529 rather than `filename'.
17530
17531 2009-06-23 Miles Bader <miles@gnu.org>
17532
17533 * face-remap.el (text-scale-set): New function.
17534
17535 2009-06-23 Glenn Morris <rgm@gnu.org>
17536
17537 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
17538
17539 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
17540
17541 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
17542
17543 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
17544
17545 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
17546 Simplify Persian conditionals.
17547
17548 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
17549 variable `filename'.
17550
17551 * comint.el (comint-insert-input): Doc fix.
17552
17553 * Makefile.in (ELCFILES): Fix typo in previous change.
17554
17555 2009-06-23 Miles Bader <miles@gnu.org>
17556
17557 * cus-start.el: Add entry for `recenter-redisplay'.
17558
17559 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17560
17561 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
17562 Add an optional argument for the backend, use it instead of
17563 calling vc-backend.
17564 (vc-mode-line): Add an optional argument for the backend.
17565 Pass the backend to vc-state and vc-working-revision. Move code for
17566 special handling for vc-state being a buffer to ...
17567
17568 * vc-rcs.el (vc-rcs-find-file-hook):
17569 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
17570
17571 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
17572 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
17573 vc-stay-local-p and vc-mode-line calls.
17574
17575 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
17576 (vc-cvs-diff, vc-cvs-annotate-command)
17577 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
17578 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
17579 vc-mode-line calls.
17580
17581 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
17582 direct comparison.
17583 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
17584 backend when calling vc-mode-line.
17585 (vc-register): Do not create a closure for calling the vc register
17586 function, call it directly.
17587
17588 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17589
17590 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
17591 to make it obvious item can be clicked.
17592
17593 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
17594
17595 2009-06-23 Kenichi Handa <handa@m17n.org>
17596
17597 * language/korea-util.el (korean-key-bindings): Change the binding
17598 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
17599 same command.
17600
17601 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
17602
17603 Sync with Tramp 2.1.16.
17604
17605 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
17606
17607 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
17608 when a loading of a package fails. Completion function for rsync
17609 is `tramp-completion-function-alist-ssh'.
17610 (all): Replace all calls of `split-string' and
17611 `tramp-split-string' by `tramp-compat-split-string'.
17612 (tramp-default-method): Use `tramp-compat-process-running-p'.
17613 (tramp-default-proxies-alist): Allow also Lisp forms.
17614 (tramp-remote-path): Add choice "Private Directories".
17615 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17616 (tramp-domain-regexp): Allow also "-", "_" and ".".
17617 (tramp-end-of-output): Remove newlines, and add "$" at the end.
17618 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17619 (tramp-debug-message): Insert header line in debug buffer.
17620 (tramp-handle-directory-files-and-attributes-with-stat):
17621 Care about filenames with spaces, or starting with "-".
17622 (tramp-handle-dired-uncache): New defun.
17623 (tramp-handle-insert-directory): Don't flush the directory from
17624 cache, this is handled by `dired-uncache' now.
17625 (tramp-handle-insert-file-contents): Improve error handling.
17626 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17627 Quote `tramp-end-of-output'.
17628 (tramp-action-password): Improve trace message.
17629 (tramp-check-for-regexp): Both echoes must be present, before removing.
17630 (tramp-open-connection-setup-interactive-shell): Trace coding system.
17631 (tramp-compute-multi-hops): Eval cons cells of
17632 `tramp-default-proxies-alist'.
17633 (tramp-maybe-open-connection): Use the same command pattern for
17634 first hop and further hops.
17635 (tramp-wait-for-output): Remove handling of newlines.
17636 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17637 (tramp-split-string): Remove function. It is handled in
17638 tramp-compat now.
17639
17640 * net/tramp-cmds.el (tramp-bug):
17641 Recommend `tramp-cleanup-all-connections' in the bug mail.
17642
17643 * net/tramp-compat.el (tramp-compat-split-string)
17644 (tramp-compat-process-running-p): New defuns.
17645
17646 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
17647 for `dired-uncache'.
17648
17649 * net/tramp-gvfs.el: New package.
17650
17651 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17652 Add handler for `dired-uncache'.
17653 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
17654
17655 * net/trampver.el: Update release number. Make version check fit
17656 for SXEmacs 22.
17657
17658 2009-06-22 Jim Meyering <meyering@redhat.com>
17659
17660 Automatically handle .xz suffix (XZ-compressed files), too.
17661 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
17662 XZ is the successor to LZMA: <http://tukaani.org/xz/>
17663
17664 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
17665 Nick Roberts <nickrob@snap.net.nz>
17666
17667 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
17668 repository (http://sphinx.net.ru/hg/gdb-mi/).
17669
17670 2009-06-22 Glenn Morris <rgm@gnu.org>
17671
17672 * files.el (dir-locals-collect-mode-variables): Allow for any number of
17673 `mode' and `eval' entries. (Bug#3430)
17674
17675 * Makefile.in (ELCFILES): Add fadr.elc.
17676
17677 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
17678 differing behavior of \n and ^ in strings. (Bug#3385)
17679
17680 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
17681
17682 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
17683 property.
17684 (lisp-indent-function): Make it a defcustom.
17685
17686 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
17687
17688 * progmodes/gdb-ui.el: Replace with ...
17689 * progmodes/gdb-mi.el: ... this file.
17690 * progmodes/gud.el: Modify for gdb-mi.el.
17691
17692 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
17693
17694 * fadr.el: New file.
17695
17696 See ChangeLog.14 for earlier changes.
17697
17698 ;; Local Variables:
17699 ;; coding: utf-8
17700 ;; End:
17701
17702 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
17703
17704 This file is part of GNU Emacs.
17705
17706 GNU Emacs is free software: you can redistribute it and/or modify
17707 it under the terms of the GNU General Public License as published by
17708 the Free Software Foundation, either version 3 of the License, or
17709 (at your option) any later version.
17710
17711 GNU Emacs is distributed in the hope that it will be useful,
17712 but WITHOUT ANY WARRANTY; without even the implied warranty of
17713 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17714 GNU General Public License for more details.
17715
17716 You should have received a copy of the GNU General Public License
17717 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.