* net/soap-client.el:
[bpt/emacs.git] / lisp / ChangeLog
1 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
2
3 * net/soap-client.el:
4 * net/soap-inspect.el: New files.
5
6 2011-02-16 Leo <sdl.web@gmail.com>
7
8 * dired-x.el (dired-mode-map, dired-extra-startup):
9 Remove dired-copy-filename-as-kill since it's already in dired.el.
10
11 2011-02-16 Glenn Morris <rgm@gnu.org>
12
13 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
14 Doc fixes. Add :set property, replacing top-level calls.
15 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
16 (dired-guess-shell-gnutar): Test tar version rather than system-type.
17 (dired-extra-startup, dired-man, dired-info): Doc fixes.
18 (dired-clean-up-after-deletion): Use when and dolist.
19 (dired-jump): Use unless and when.
20 (dired-virtual): Use line-end-position.
21 (dired-default-directory-alist): Rename from default-directory-alist.
22 (dired-default-directory): Update for above name change.
23 (dired-vm): Drop VM < 5 and simplify.
24 (dired-buffer-more-recently-used-p): Rewrite.
25 (dired-filename-at-point): Use when and or.
26 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
27 Update callers.
28
29 2011-02-15 Glenn Morris <rgm@gnu.org>
30
31 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
32
33 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
34
35 * vc/vc-git.el (vc-git-root-log-format): New option for
36 customizing log format.
37 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
38 (vc-git-log-view-mode): Use it.
39 (vc-git-expanded-log-entry): New function.
40 (vc-git-log-view-mode): Use it. Truncate lines in root log.
41
42 * vc/vc-hg.el (vc-hg-root-log-template): New option for
43 customizing log format.
44 (vc-hg-print-log): Use it.
45 (vc-hg-expanded-log-entry): New function.
46 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
47 vc-hg-expanded-log-entry. Truncate lines in root log.
48
49 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
50
51 * vc/log-view.el (log-view-mode-menu): Add
52 log-view-toggle-entry-display.
53
54 2011-02-14 Glenn Morris <rgm@gnu.org>
55
56 * dired-x.el: Don't require man when compiling.
57 (dired-omit-extensions, dired-local-variables-file)
58 (dired-x-hands-off-my-keys): Make them defcustoms.
59 (Man-support-local-filenames, Man-getpage-in-background): Declare.
60 (vm-visit-folder): Declare rather than defining.
61 (dired-x-help-address, dired-x-variable-list): Remove.
62 (dired-x-submit-report): Make it an obsolete alias.
63
64 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
65
66 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
67
68 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
69
70 * net/imap.el: Bring it back.
71
72 2011-02-13 Alan Mackenzie <acm@muc.de>
73
74 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
75 narrow-to-region call that cuts context off the end (Bug#7722).
76
77 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Refactor
78 nested if-forms with a simple cond.
79 (c-forward-<>-arglist): Revert 2011-01-31 change.
80
81 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
82
83 * vc/log-view.el: New command log-view-toggle-entry-display for
84 toggling log entries between concise and detailed forms.
85 (log-view-toggle-entry-display): New command.
86 (log-view-mode-map): Bind RET to it.
87 (log-view-expanded-log-entry-function): New variable.
88 (log-view-current-entry, log-view-inside-comment-p)
89 (log-view-current-tag): New functions.
90 (log-view-toggle-mark-entry): Use log-view-current-entry and
91 log-view-end-of-defun instead of searching directly with
92 log-view-message-re.
93 (log-view-end-of-defun): Likewise. Add optional ARG for
94 compatibility with end-of-defun.
95 (log-view-end-of-defun): Ignore comments and VC buttons.
96
97 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
98 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
99
100 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
101
102 * net/imap.el: Remove file. All the functionality is in nnimap.el.
103
104 * net/imap-hash.el: Remove file.
105
106 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
107
108 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
109
110 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
111 call.
112
113 * net/tramp-imap.el: Remove file.
114
115 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
116
117 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
118 widget library for buttons, just use button.el.
119
120 * vc/log-view.el (log-view-mode-map): Don't inherit from
121 widget-keymap.
122
123 2011-02-12 Glenn Morris <rgm@gnu.org>
124
125 * emacs-lisp/cl-seq.el (union, nunion, intersection)
126 (nintersection, set-difference, nset-difference)
127 (set-exclusive-or, nset-exclusive-or): Doc fix.
128
129 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
130
131 * faces.el (face-attr-match-p): Handle the obsolete :bold and
132 :italic props, so that frame-set-background-mode works. (Bug#7966)
133
134 * simple.el (next-error): Doc fix.
135
136 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
137
138 * dired-aux.el (dired-create-files): Adapt destination name to
139 match the new behavior of copy-directory.
140
141 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
142
143 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
144 from rmail-dont-reply-to-names. Callers changed.
145 (mail-dont-reply-to): Rename from mail-dont-reply-to.
146 (rmail-dont-reply-to): Make it an obsolete alias.
147
148 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
149 nil, and make obsolete (Bug#7888).
150 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
151
152 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
153
154 * mail/rmailsort.el (rmail-sort-by-correspondent)
155 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
156
157 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
158
159 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
160
161 * files.el (copy-directory): New argument COPY-CONTENTS for
162 copying directory contents into another existing directory.
163
164 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
165
166 * minibuffer.el (completion-table-case-fold): New function for
167 creating a case-insensitive completion table.
168
169 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
170
171 * net/tramp.el (tramp-default-method): Also check if
172 `auth-source-search' is bound.
173 (tramp-read-passwd): Use `auth-source-search' instead of
174 `auto-source-user-or-password'.
175
176 * net/tramp-imap.el: Autoload `auto-source-search' instead of
177 `auto-source-user-or-password.
178 (tramp-imap-passphrase-callback-function): Use it.
179
180 * net/imap-hash.el: Autoload `auto-source-search' instead of
181 `auto-source-user-or-password.
182 (imap-hash-open-connection): Use it.
183
184 * mail/smtpmail.el: Autoload `auto-source-search' instead of
185 `auto-source-user-or-password.
186 (smtpmail-try-auth-methods): Use it.
187
188 2011-02-12 Phil Hagelberg <phil@hagelb.org>
189
190 * emacs-lisp/package.el: Allow packages to be reinstalled.
191 (package--write-file-no-coding): Remove EXCL arg.
192 (package-unpack-single): Don't use it.
193
194 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
195
196 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
197 in each sub directory.
198 (vc-svn-registered): Use vc-svn-root.
199 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
200 (vc-svn-repository-hostname): Use "svn info".
201
202 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
203
204 * simple.el (delete-trailing-whitespace): New optional buffer
205 bound parameters.
206
207 2011-02-11 Bastien Guerry <bzg@altern.org>
208
209 * files.el (basic-save-buffer): save unmodified buffers when
210 the file pointed by buffer-file-name doesn't exist.
211
212 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
213
214 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
215
216 2011-02-11 Glenn Morris <rgm@gnu.org>
217
218 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
219
220 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
221
222 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
223
224 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * server.el (server-process-filter): Use pcase.
227
228 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
229 conflicting ways.
230 (smie-indent--parent): Extend to "parent of arg".
231 (smie-indent-inside-string): New function.
232 (smie-indent-functions): Use it.
233
234 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
235 bzr locking race condition.
236
237 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
238 still valid before using it.
239
240 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
241 `message' -> `compilation-message' rename (bug#8004).
242
243 Move keymap initialization into declaration.
244 * textmodes/enriched.el (enriched-mode-map):
245 * textmodes/bib-mode.el (bib-mode-map):
246 * term/lk201.el (lk201-function-map):
247 * tar-mode.el (tar-mode-map):
248 * replace.el (occur-mode-map):
249 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
250 * progmodes/idlw-help.el (idlwave-help-mode-map):
251 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
252 * play/solitaire.el (solitaire-mode-map):
253 * play/snake.el (snake-mode-map, snake-null-map):
254 * play/pong.el (pong-mode-map):
255 * play/handwrite.el (menu-bar-handwrite-map):
256 * play/gametree.el (gametree-mode-map):
257 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
258 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
259 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
260 (newsticker--url-keymap):
261 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
262 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
263 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
264 (menu-bar-edit-menu, menu-bar-custom-menu)
265 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
266 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
267 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
268 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
269 (menu-bar-tools-menu, menu-bar-describe-menu)
270 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
271 (menu-bar-help-menu):
272 * mail/rmailsum.el (rmail-summary-mode-map):
273 * kmacro.el (kmacro-step-edit-map):
274 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
275 (ibuffer-mode-operate-map):
276 * hi-lock.el (hi-lock-menu, hi-lock-map):
277 * emulation/vip.el (vip-mode-map):
278 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
279 * bookmark.el (bookmark-bmenu-mode-map):
280 * help-mode.el (help-mode-map): Move initialization into declaration.
281
282 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
283
284 * net/rcirc.el: Add PRIVMSG and CTCP functions.
285 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
286 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
287 (rcirc-cmd-me, rcirc-authenticate): Use them.
288
289 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
290
291 * allout.el: Synopsis: Change allout user configuration so
292 auto-activation is controlled solely by customization
293 `allout-auto-activation'.
294
295 (allout-auto-activation-helper) (allout-setup): New autoloads
296 implement new custom set procedure for allout-auto-activation.
297 Also, explicitly invoke
298 (allout-setup) after allout-auto-activation is custom-defined, to
299 effect the settings in emacs sessions besides the few where
300 allout-auto-activation customization is donea.
301 (allout-auto-activation): Use allout-auto-activation-helper to
302 :set. Revise the docstring.
303 (allout-init): Reduce functionality to just customizing
304 allout-auto-activation, and mark obsolete.
305 (allout-mode): Respect string values for allout-auto-activation.
306 Run allout-after-copy-or-kill-hook without any args.
307 (allout-mode) (allout-layout) (allout-default-layout)
308 (outlineify-sticky): Adjust docstring for new scheme.
309 (allout-after-copy-or-kill-hook): No arguments - hook implementers
310 should concentrate on the kill ring.
311
312 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
313
314 * password-cache.el (password-cache-remove): Accept secrets that are
315 not strings.
316
317 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
320 of here-doc that immediately follows a comment.
321
322 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
323
324 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
325
326 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
327 available.
328 (rcirc-ctcp-sender-PING): New function.
329
330 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
333 Remove the mark/nomark handling, and activate shift-select-mode instead.
334
335 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
336
337 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
338
339 * calc/calc-units.el (math-logunits-quant): Add support for
340 non-logarithmic units.
341
342 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
343
344 * allout.el (allout-after-copy-or-kill-hook): New hook for
345 extension-specific processing of killed text.
346 (allout-mode): Include new allout-after-copy-or-kill-hook among
347 mentioned hooks.
348 (allout-kill-line) (allout-kill-topic): Ensure that processing
349 after kill happens even if barf-if-buffer-read-only is raised.
350 Include new allout-after-copy-or-kill-hook among that subsequent
351 processing.
352 (allout-deannotate-hidden): Actually remove the annotation text
353 properties.
354
355 * allout.el (allout-listify-exposed): Copy text sans text properties.
356
357 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
358
359 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
360
361 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
362
363 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
364
365 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
366
367 * calc/calc.el (calc-logunits-field-reference): Rename from
368 `calc-default-field-reference-level'.
369 (calc-logunits-power-reference): Rename from
370 `calc-default-power-reference-level'
371
372 * calc/calc-units.el (math-logunits-quant): Rename from
373 `math-logunits-level'
374 (math-logunits-plus): Rename from math-logcombine.
375 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
376 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
377 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
378 New functions.
379 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
380 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
381 (calc-logunits-quantity): Rename from `calc-level'.
382 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
383 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
384 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
385 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
386 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
387 New functions.
388
389 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
390 (calc-ul-prefix-help): Remove.
391 (calc-l-prefix-help): New function.
392 (calc-full-help): Add reference to `calc-l-prefix-help'.
393
394 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
395
396 * calc/README: Mention logarithmic units.
397
398 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
399
400 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
401 non-ASCII characters (Bug#7925).
402
403 2011-02-05 Glenn Morris <rgm@gnu.org>
404
405 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
406
407 * calendar/diary-lib.el (diary-font-lock-keywords):
408 Tweak diary-time-regexp match. (Bug#7891)
409
410 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
411 (f90-mode): Use it for mode's `find-tag-default-function' property.
412
413 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
414
415 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
416
417 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
418
419 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
420 (Bug#6386).
421
422 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
425 font-lock-syntax-table remappings.
426 (sh-here-doc-markers, sh-here-doc-re): Remove.
427 (sh-font-lock-close-heredoc): Remove.
428 (sh-syntax-propertize-here-doc): New function.
429 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
430 instead of the sh-here-doc-re.
431 (sh-font-lock-paren): Don't do anything in comments or strings.
432 Handle line continuations. Accept a few more chars.
433 Don't rely on the font-lock-syntax-table remappings.
434 `esac' is not a valid pattern.
435 (sh-syntax-propertize-function): Handle here-docs differently, so we
436 don't bother syntax-propertizing the insides.
437
438 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
439 Handle new bashisms ";&" and ";;&" (bug#7947).
440
441 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
442
443 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
444 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
445
446 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
447
448 * net/tramp.el (tramp-postfix-method-format)
449 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
450 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
451 (tramp-postfix-user-regexp, tramp-prefix-port-format)
452 (tramp-prefix-port-regexp, tramp-postfix-host-format)
453 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
454 Doc fix.
455
456 2011-02-04 Sam Steingold <sds@gnu.org>
457
458 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
459
460 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
461
462 * international/mule-util.el (with-coding-priority): Doc fix.
463
464 2011-02-04 Eli Zaretskii <eliz@gnu.org>
465
466 * arc-mode.el (archive-mode-map): Fix a typo in last change.
467
468 2011-02-03 Sam Steingold <sds@gnu.org>
469
470 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
471 Do not error out when `func' is nil.
472
473 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
474
475 * net/tramp-sh.el (tramp-remote-path): Add default settings for
476 `tramp-default-remote-path' to the docstring.
477 (tramp-get-remote-path): Suppress error message when `getconf
478 PATH' fails.
479
480 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
481
482 2011-02-03 Glenn Morris <rgm@gnu.org>
483
484 * vc/vc-hg.el (vc-hg-command): Doc fix.
485
486 * term/w32-win.el (libpng-version): Declare for compiler.
487
488 * msb.el: No need to load dired while compiling.
489
490 * emacs-lisp/elint.el (elint-standard-variables):
491 Remove a couple of built-ins that now have doc-strings.
492
493 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
494 `require' is automatically `eval-and-compile'd.
495
496 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
497 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
498
499 * strokes.el (strokes-fill-current-buffer-with-whitespace):
500 Move definition before use.
501 (strokes-report-bug): Make it obsolete.
502
503 2011-02-02 Sam Steingold <sds@gnu.org>
504
505 * apropos.el (apropos-print): Now that `apropos-mode' inherits
506 from `special-mode', entering it makes the buffer read-only, so
507 call it only when everything has been already inserted.
508 * emacs-lisp/ert.el (ert--setup-results-buffer)
509 (ert-results-pop-to-backtrace-for-test-at-point)
510 (ert-results-pop-to-messages-for-test-at-point)
511 (ert-results-pop-to-timings): Ditto.
512 * emacs-lisp/package.el (package--list-packages): Ditto.
513 * play/solitaire.el (solitaire): Ditto.
514
515 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
516
517 * progmodes/compile.el: Make all faces inherit.
518 (compilation-warning): Inherit from font-lock-variable-name-face.
519 (compilation-info): Inherit from font-lock-type-face.
520 (compilation-line-number): Reassign to font-lock-keyword-face.
521 (compilation-column-number): Reassign to font-lock-doc-face.
522 (compilation-leave-directory-face): Reassign to
523 font-lock-builtin-face.
524
525 2011-02-02 Eli Zaretskii <eliz@gnu.org>
526
527 * dired.el (dired-insert-directory): Don't invoke `ls' when
528 ls-lisp.el is used to emulate it.
529
530 2011-02-01 Julien Danjou <julien@danjou.info>
531
532 * color.el (color-gradient): Add a color-gradient function.
533
534 2011-02-01 Sam Steingold <sds@gnu.org>
535
536 * simple.el (special-mode-map): Bind "h" to `describe-mode';
537 bind "z" to `kill-this-buffer'.
538 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
539 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
540 (apropos-mode): Inherit from `special-mode'.
541 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
542 * bookmark.el (bookmark-bmenu-mode): Define using
543 `define-derived-mode' inheriting from `special-mode'.
544 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
545 * image-mode.el (image-mode-map): Ditto.
546 * replace.el (occur-mode): Define using
547 `define-derived-mode' inheriting from `special-mode'.
548 * tar-mode.el (tar-mode): Inherit from `special-mode'.
549 * calendar/diary-lib.el (diary-fancy-display-mode):
550 Inherit from `special-mode-map'.
551 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
552 Inherit from `special-mode'.
553 * emacs-lisp/package.el (package-menu-mode-map): Copy from
554 `special-mode-map'.
555 (package-menu-mode): Define using `define-derived-mode'
556 inheriting from `special-mode'.
557 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
558 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
559 (xesam-mode-map): Define separately.
560 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
561 * progmodes/compile.el (compilation-minor-mode-map)
562 (compilation-mode-map): Inherit from `special-mode-map'.
563 * vc/diff-mode.el (diff-mode-shared-map):
564 Inherit from `special-mode-map'.
565 * vc/log-view.el (log-view-mode-map): Add a comment.
566
567 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
568
569 * custom.el (load-theme): Define return value. Drop use of
570 unsafep; call custom-theme-load-confirm for non-known-safe themes.
571 (custom-theme-load-confirm): Scroll in the correct window.
572 (custom-enabled-themes): Add custom-safe-themes to :set-after.
573
574 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
575 checkbox if load-theme fails.
576
577 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
578
579 * progmodes/compile.el (compilation-next-error): Check there's
580 a message before using it (bug#7941).
581
582 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
583
584 * calc/calc-mtx.el (math-lud-pivot-check): New function.
585 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
586 of potential pivots.
587
588 2011-01-31 Alan Mackenzie <acm@muc.de>
589
590 * progmodes/cc-cmds.el (c-forward-over-illiterals):
591 Continue parsing if we encounter a naked # (Bug#7595).
592 (c-beginning-of-statement): Avoid loop in locating the beginning
593 of a macro.
594
595 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
596
597 * files.el (copy-directory): Fix arguments to recursive call.
598
599 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
600
601 * files.el (copy-directory): If destination is an existing
602 directory, copy into a subdirectory there.
603
604 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
605
606 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
607 files.
608
609 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
610
611 * image-dired.el (image-dired-mouse-display-image): No-op if no
612 file is found (Bug#7817).
613
614 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
615
616 2011-01-31 Kenichi Handa <handa@m17n.org>
617
618 * international/quail.el (quail-keyboard-layout-alist):
619 Remove superfluous SPC for "pc105-uk" (bug#7927).
620
621 2011-01-31 Glenn Morris <rgm@gnu.org>
622
623 * msb.el (msb-menu-bar-update-buffers): Update for changed
624 argument handling of menu-bar-select-frame. (Bug#7902)
625
626 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
627
628 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
629 to the recursion depth (Bug#7722).
630
631 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
632
633 * term/ns-win.el (ns-find-file): Expand ns-input-file with
634 command-line-default-directory (Bug#7872).
635
636 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * progmodes/compile.el (compilation--flush-directory-cache):
639 New function, extracted from compilation--remove-properties.
640 (compilation--remove-properties, compilation--parse-region): Use it.
641 (compilation--previous-directory): Handle one more case.
642 (compilation-enable-debug-messages): Remove.
643 (compilation-parse-errors, compilation--flush-parse): Just remove the
644 left over debug messages.
645
646 2011-01-31 Sam Steingold <sds@gnu.org>
647
648 * progmodes/compile.el (compilation-enable-debug-messages):
649 Add a variable to make the parsing messages introduced in
650 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
651 (compilation-parse-errors, compilation--flush-parse): Use it.
652
653 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
654
655 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
656 (rcirc-nick-completion-format): New defcustom.
657 (rcirc-complete): Use it.
658
659 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
660
661 * net/rcirc.el: Clean log filenames (Bug#7933).
662 (rcirc-log-write): Use convert-standard-filename.
663 (rcirc-log-filename-function): Documentation updates.
664
665 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
666
667 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
668 Check report-emacs-bug-can-use-osx-open and use that if t.
669 (report-emacs-bug-can-use-osx-open): New function.
670 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
671 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
672
673 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
674
675 * vc/vc-dispatcher.el (vc-set-async-update): New function for
676 updating Dired or VC-dir buffers after async command completes.
677
678 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
679 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
680
681 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
682 completions if it exists. Use vc-set-async-update.
683 (vc-git-pull): Use vc-set-async-update.
684
685 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
686 read-shell-command. Use vc-set-async-update.
687 (vc-hg-merge-branch): Use vc-set-async-update.
688
689 2011-01-29 Daiki Ueno <ueno@unixuser.org>
690
691 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
692 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
693 (Bug#7931).
694
695 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * progmodes/compile.el: Avoid an N² behavior in grep.
698 (compilation--previous-directory): New fun.
699 (compilation--previous-directory-cache): New var.
700 (compilation--remove-properties): Flush it.
701 (compilation-directory-properties, compilation-error-properties):
702 Use the new fun to speed up looking for the current directory.
703
704 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
705
706 * vc/vc-hg.el (vc-hg-history): New var.
707 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
708 (vc-hg-merge-branch): New function.
709
710 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
711 the other way around.
712
713 * vc/vc-git.el (vc-git-branches, vc-git-pull)
714 (vc-git-merge-branch): New functions.
715 (vc-git-history): New var.
716
717 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
718
719 * vc/vc-dispatcher.el (vc-do-async-command): New function.
720
721 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
722 vc-do-async-command.
723
724 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
725 Callers changed.
726
727 2011-01-28 Leo <sdl.web@gmail.com>
728
729 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
730 highlighting to the "this function is advised" message.
731
732 * help-mode.el (help-mode-finish): Apply highlighting here, to
733 avoid clobbering by substitute-command-keys (Bug#6304).
734
735 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
736
737 * woman.el (woman0-roff-buffer): Process roff escape sequences
738 occurring prior to the first request (Bug#7843).
739
740 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * progmodes/compile.el: Don't use font-lock any more.
743 (compilation-error-regexp-alist-alist): Change handling of makepp
744 so it preserves the warning/error distinction on subsequent files.
745 Simplify various rules.
746 (compilation-directory-properties): Use font-lock-face.
747 Add a compilation-message property.
748 (compilation-internal-error-properties): Use font-lock-face.
749 Don't set the compilation-debug property here.
750 (compilation--put-prop, compilation--remove-properties)
751 (compilation--parse-region, compilation--ensure-parse)
752 (compilation--ensure-parse): New functions.
753 (compilation-parse-errors): New function, largely inspired of
754 compilation-mode-font-lock-keywords. Set compilation-debug here.
755 (compilation--parsed): New var.
756 (compilation--flush-parse): Use compilation--ensure-parse.
757 (compilation-start): Don't call font-lock.
758 (compilation-turn-on-font-lock): Remove.
759 (compilation-setup): Don't set font-lock-extra-managed-props not change
760 other font-lock settings, other than keywords.
761 Don't activate font-lock-mode.
762 Set change-major-mode-hook and before-change-functions.
763 (compilation--unsetup): Remove properties and hooks.
764 (compilation-next-single-property-change): New function.
765 (compilation-next-error): Use it to parse when needed.
766 (compile-goto-error): Parse buffer as needed.
767 (compilation--compat-error-properties): Don't need a dummy `face'
768 property any more.
769
770 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
773 (compilation-process-setup-function): Fix docstring's false promises.
774 (compilation-error-regexp-alist-alist): Catch omake's continuous
775 recompilation message and avoid reuse of old markers.
776 (compilation-parse-errors-function): Declare obsolete.
777 (compilation-buffer-modtime): Remove.
778 (compilation--make-cdrloc, compilation--loc->col)
779 (compilation--loc->line, compilation--loc->file-struct)
780 (compilation--loc->marker, compilation--loc->visited)
781 (compilation--make-file-struct, compilation--file-struct->file-spec)
782 (compilation--file-struct->formats)
783 (compilation--file-struct->loc-tree): New macros. Use them.
784 (compilation--message): New defstruct. Use them.
785 (compilation-next-error-function): Don't mess with timestamps to try
786 and guess when to reparse.
787
788 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
791 (tex-old-error-file-name): New function,
792 extracted from tex-compilation-parse-errors.
793 (tex-compilation-parse-errors): Remove.
794 (tex-error-regexp-alist): New var.
795 (tex-shell): Use it to avoid compilation-parse-errors-function.
796
797 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
798 (grep-mode-font-lock-keywords): Remove regexp that seems like
799 a left-over from before we used compile.el.
800 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
801 modifying the buffer within with-silent-modifications.
802
803 * progmodes/compile.el: Cleanup text-properties namespace by using
804 `compilation-message' instead of `message', `compilation-directory'
805 instead of `directory', and `compilation-debug' instead of `debug'.
806 (compilation-last-buffer, compilation-parsing-end)
807 (compilation-error-list, compilation-old-error-list): Move to the
808 compatibility part of the code.
809 (compilation-error-properties): If `file' is a function, let it return
810 a file name.
811 (compilation-mode-font-lock-keywords): Be more conservative with the
812 omake "^ *" pattern prefix, to try and minimize the risk of
813 pathologically slow regexp matching.
814 (compilation-start): Use inhibit-read-only.
815 (compilation--unsetup): New function.
816 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
817 (compilation-filter): Minor tweaks.
818 (compilation-next-error-function): Try and avoid abusing variables.
819 (compilation--flush-file-structure): New fun.
820 (compilation-fake-loc): Use it to improve behavior when file is reused.
821 (debug-ignored-errors): Add "Moved past last ...".
822 (compilation--compat-error-properties)
823 (compilation--compat-parse-errors): Rename by doubling the "-".
824
825 Port features from the previous prolog.el to the new one.
826 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
827 (prolog-program-name, prolog-program-switches, prolog-consult-string)
828 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
829 variable and use a function to compute the value dynamically.
830 (prolog-prompt-regexp): Add regexp for GNU Prolog.
831 (prolog-continued-prompt-regexp): Remove, unused.
832 (prolog-find-value-by-system): Try and use the value of prolog-system
833 in the *prolog* buffer if it helps.
834 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
835 (prolog-zip-on): ..and check prolog-system and version here instead.
836 (prolog-inferior-self-insert-command): New command.
837 (prolog-inferior-mode-map): Use it.
838 (prolog-inferior-error-regexp-alist): New var.
839 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
840 (prolog-input-filter): Use derived-mode-p.
841 (prolog-inferior-guess-flavor): New function.
842 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
843 make-comint to avoid running comint-mode twice.
844 (prolog-inferior-buffer): New fun.
845 (prolog-old-process-region, prolog-old-process-file):
846 Don't call prolog-bsts here...
847 (prolog-build-prolog-command): ...do it here instead.
848 (prolog-old-process-region, prolog-old-process-file):
849 Use compilation-fake-loc and compilation-forget-errors.
850 (prolog-consult-compile-region): Use bolp.
851
852 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
853
854 * image-mode.el (image-display-size): Doc fix (Bug#7820).
855
856 2011-01-27 Sam Steingold <sds@gnu.org>
857
858 * midnight.el (clean-buffer-list-kill-never-buffer-names):
859 Remove "*server*" which is never created by emacs server.
860
861 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
862
863 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
864 there are some diff switches.
865
866 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
869 Copy change made to ruby-font-lock-syntactic-keywords.
870
871 * htmlfontify.el: Make it obey the font-lock-face text property.
872 Miscellaneous cleanup such as:
873 - Don't hide expressions after a closing paren.
874 - Move initial setq into let.
875 - Hoist common parts out of ifs.
876 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
877 (hfy-face-at): Use get-text-property instead.
878 (hfy-prop-invisible-p): Use invisible-p if available.
879 (htmlfontify-manual): Use \\[...].
880 (hfy-html-quote-regex): Use [...].
881 (hfy-combined-face-spec): Simplify.
882 (hfy-compile-face-map): Don't presume point-min==1.
883 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
884 match end of string.
885 (hfy-text-p): η-reduce.
886 (hfy-tags-for-file): Receive cache-hash directly.
887 (hfy-mark-tag-names): Adjust call.
888
889 2011-01-27 Glenn Morris <rgm@gnu.org>
890
891 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
892 (msb-after-load-hook): Remove eval-after-load wackiness.
893
894 2011-01-25 Sam Steingold <sds@gnu.org>
895
896 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
897 literal "diff" (important for windows-nt).
898
899 2011-01-25 Glenn Morris <rgm@gnu.org>
900
901 * emacs-lisp/copyright.el (copyright-at-end-flag)
902 (copyright-names-regexp): Add safety properties.
903 (copyright-year-ranges): New option.
904 (copyright-find-end): New function, split from copyright-update-year.
905 (copyright-update-year): Use copyright-find-end.
906 (copyright-fix-years): Optionally, convert years to ranges.
907 Handle years continued over comment lines.
908 Do not mess with the fill-prefix.
909 Do not call copyright-update.
910 (copyright-update-directory): Optionally, fix years rather than update.
911 Skip directories. Find files with only safe local vars.
912
913 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * files.el (file-name-non-special): Only change buffer-file-name after
916 insert-file-contents if it's `visit'ing the file (bug#7854).
917
918 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
919
920 * dired.el (dired-revert): Doc fix (Bug#7758).
921
922 * simple.el (line-move-visual): Doc fix (Bug#7594).
923
924 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
925
926 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
927 here-doc which ends with an underscore.
928 (ruby-mode-set-encoding): Skip shebang line always.
929 (ruby-mode-map): Bind C-c C-c to comment-region.
930 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
931 (ruby-forward-sexp): Stop after literal hash key labels.
932 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
933 bracket.
934
935 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
936
937 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
938 the correct buffer (Bug#7650).
939
940 2011-01-25 Glenn Morris <rgm@gnu.org>
941
942 * comint.el (comint-mode): Doc fix. (Bug#7897)
943
944 * simple.el (do-auto-fill): Give it a doc string.
945
946 * button.el (make-text-button): Doc fix. (See bug#7881)
947
948 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
951 Don't move backward, so as not to fall in an inf-loop (bug#7736).
952
953 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
954 Handle ?" and friends differently (e.g. don't use backrefs).
955
956 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
957
958 * calc/calc.el (calc-default-power-reference-level)
959 (calc-default-field-reference-level): New variables.
960 * calc/calc-units.el (math-standard-units): Add dB and Np.
961 (math-logunits): New variable.
962 (math-extract-logunits, math-logcombine, calcFunc-luplus)
963 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
964 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
965 New functions.
966 (math-find-base-units-rec): Add entry for ln(10).
967 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
968 (calc-ul-prefix-help): New function.
969 * calc/calc-ext.el (calc-init-extensions): Autoload new units
970 functions. Add keybindings for new units functions.
971
972 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
973
974 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
975 rcirc buffers. (Bug#4940)
976
977 2011-01-22 Glenn Morris <rgm@gnu.org>
978
979 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
980 split out from copyright-update-year.
981 (copyright-update): Don't mess with the GPL version if we don't own the
982 copyright. Update license regexp, and remove no longer needed
983 Esperanto stuff.
984 (copyright-fix-years): Use copyright-find-copyright.
985
986 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
987
988 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
989
990 2011-01-22 Jari Aalto <jari.aalto@cante.net>
991
992 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
993 (lm): Rename to landmark.
994 (lm-test-run): Rename to landmark-test-run.
995
996 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
997
998 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
999 "Case sensitive" menu item.
1000
1001 2011-01-22 Roland McGrath <roland@frob.com>
1002
1003 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1004 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1005
1006 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1009
1010 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1011
1012 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1013 Assume foo(bar) is a manpage reference rather than some unquoted
1014 symbol (bug#7705).
1015
1016 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1019 Suggested by Flo <sensorflo@gmail.com>.
1020
1021 2011-01-22 Glenn Morris <rgm@gnu.org>
1022
1023 * progmodes/compile.el (compilation-error-regexp-alist):
1024 Fix custom type. (Bug#7812)
1025
1026 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1027
1028 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1029 allout-number-siblings, in keeping with what obtained due to
1030 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1031 (prefixed) ?i.
1032 (allout-before-change-handler): Better expose spots affected by
1033 undo.
1034
1035 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1036
1037 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1038
1039 2011-01-22 Phil Hagelberg <phil@evri.com>
1040
1041 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1042 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1043 (pcmpl-ssh-config-hosts): New function.
1044 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1045 pcmpl-ssh-known-hosts.
1046
1047 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1048
1049 * calc/calc-undo.el (calc-undo): Autoload it.
1050 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1051 and autoload for `calc-undo'.
1052 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1053 * calc/calc-prog.el:
1054 * calc/calc-graph.el:
1055 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1056
1057 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1058
1059 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1060 keybindings to `calc-undo'.
1061
1062 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1063
1064 Don't mess with *temp*.
1065 * obsolete/spell.el: Move from textmodes/spell.el.
1066 (spell-string):
1067 * term.el (term-read-input-ring):
1068 * startup.el (display-startup-echo-area-message):
1069 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1070 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1071 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1072 point-min==1.
1073
1074 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1075
1076 * allout.el (allout-institute-keymap): Use fset instead of
1077 reapplying defalias.
1078
1079 (allout-hotspot-key-handler): Check for non-control-modified
1080 bindings for hotspot characters if there are no control-modified
1081 versions.
1082
1083 * allout.el: Summary - migrate to defining allout mode using
1084 define-minor-mode instead of defun. Significantly clean-up
1085 internal keymap provisions, refactoring and, in the process,
1086 removing a lot of accumulated cruft.
1087
1088 allout-mode-map is now a keymap by virtue of being a defalias to
1089 allout-mode-map-value, which contains the actual keymap structure.
1090
1091 (allout-mode): Use define-minor-mode rather than defun.
1092 Remove now-unnecessary minor-mode setup activities from the body.
1093 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1094 entry will be '(allout-mode . allout-mode-map) - see
1095 allout-mode-map-value, below. Adjust docstring to track changes.
1096 (allout-minor-mode): Remove this defalias, now that we're using
1097 define-minor-mode.
1098 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1099 keymap is allout-mode-map-value, via defalias.
1100 (allout-mode-map-value): The variable holding the actual mode
1101 keymap structure, by virtue of defalias from allout-mode-map.
1102 (allout-compose-and-institute-keymap): Rename from
1103 allout-bind-keys, and including the binding-composition
1104 functionality of the former produce-allout-mode-map and
1105 allout-setup-mode-map.
1106 (allout-institute-keymap): Take over the "setup" part of the former
1107 allout-setup-mode-map. Reassign allout-mode-map-value value and
1108 update the defalias.
1109 (allout-command-prefix) (allout-prefixed-keybindings)
1110 (allout-unprefixed-keybindings):
1111 Use allout-compose-and-institute-keymap to process the bindings.
1112 (allout-unprefixed-keybindings): Remove extraneous '?' question
1113 marks.
1114 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1115 user can customize if they want to use that binding.
1116 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1117 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1118 elided that, previously, instead of the one for \C-h.)
1119 (allout-hotspot-key-handler): Remove attempt to resolve the key
1120 through the literal key-string lookup on allout-keybindings-list.
1121 That probably hasn't worked for a Long Time, and removal of
1122 allout-keybindings-list further simplifies the keybindings
1123 situation.
1124 (allout-pre-command-business): Use allout-mode-map-value instead
1125 of allout-mode-map.
1126 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1127 the bindings if they want to use a keybinding having a trailing
1128 \C-h. No deprecation needed since this feature was never in a
1129 release.
1130 (allout-keybindings-list): Remove. It's not been useful for a
1131 while. (See allout-hotspot-key-handler changes, above.)
1132 (produce-allout-mode-map): Remove. Consolidate into
1133 allout-compose-and-institute-keymap.
1134 (allout-mode-map-adjustments): Remove. No longer necessary with
1135 removal of allout-preempt-trailing-ctrl-h.
1136 (allout-setup-mode-map): Remove. Consolidate into
1137 allout-compose-and-institute-keymap and allout-institute-keymap.
1138
1139 2011-01-20 Glenn Morris <rgm@gnu.org>
1140
1141 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1142
1143 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1144
1145 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1146
1147 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1148
1149 * files.el (find-alternate-file, basic-save-buffer)
1150 (basic-save-buffer-2, revert-buffer, recover-file)
1151 (kill-buffer-ask, abort-if-file-too-large)
1152 (set-visited-file-name, write-file, backup-buffer)
1153 (basic-save-buffer, save-some-buffers):
1154 * dired-aux.el (dired-compress-file): Callers changed.
1155
1156 2011-01-19 Glenn Morris <rgm@gnu.org>
1157
1158 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1159 Also check the property status. (Bug#7861)
1160
1161 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1162
1163 * net/tramp.el (tramp-debug-message): Extend function exclude
1164 list. Use `regexp-opt'.
1165
1166 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1169 highlighting doesn't spill over subsequent lines.
1170
1171 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1172 keymap expression. Improve docstring.
1173
1174 * electric.el (electric-indent-post-self-insert-function):
1175 Don't auto-indent for indent-to-left-margin, it's too often
1176 counter-productive.
1177
1178 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1179
1180 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1181 spaces if the frame was resized, so that the full visible buffer
1182 serves as canvas for strokes.
1183
1184 2011-01-16 Glenn Morris <rgm@gnu.org>
1185
1186 * info-xref.el (info-xref-docstrings): Replace cl function.
1187 Also skip directories.
1188
1189 2011-01-16 Kevin Ryde <user42@zip.com.au>
1190
1191 * info-xref.el: Version 3.
1192 (info-xref-check, info-xref-check-all): Move commentary details
1193 into docstrings for better visibility.
1194 Use compilation-mode for the results buffer.
1195 (info-xref-output, info-xref-output-error, info-xref-with-output)
1196 (info-xref-filename, info-xref-in-progress):
1197 New internals for this.
1198 (info-xref-check-list, info-xref-check-buffer)
1199 (info-xref-check-all-custom): Use those.
1200 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1201 (info-xref-output-heading): Rename from info-xref-filename-heading.
1202 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1203 (info-xref-filename-heading): Move to output managing section.
1204 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1205 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1206 (info-xref-subfile-p): Move to generic section with those two.
1207 (info-xref-check-node): New function split from
1208 info-xref-check-buffer, shared by info-xref-docstrings.
1209 (info-xref-goto-node-p): Move to a checking section with that func.
1210 (info-xref-unavail): New counter.
1211 (info-xref-check-node): Use it.
1212 (info-xref-with-output): Show count of unavailables at end of output.
1213 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1214 symlinks. Exclude .texi files. Exclude Emacs backup files.
1215 (info-xref-check-all-custom): Fix quietening viper-mode and
1216 gnus-registry-install -- use setq not let so as not to unbind
1217 after load.
1218
1219 2011-01-16 Juri Linkov <juri@jurta.org>
1220
1221 * isearch.el (isearch-abort): Don't quit if search has
1222 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1223
1224 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1225
1226 * files.el (backup-buffer): Make last-resort backup file in
1227 .emacs.d (Bug#6953).
1228
1229 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1230 make it with permission 700.
1231
1232 2011-01-15 Kenichi Handa <handa@m17n.org>
1233
1234 * mail/rmailmm.el (rmail-mime-insert-header):
1235 Set rmail-mime-coding-system to a cons whose car is the last coding
1236 system used to decode the header.
1237 (rmail-mime-find-header-encoding): New function.
1238 (rmail-mime-insert-decoded-text):
1239 Override rmail-mime-coding-system if it is a cons.
1240 (rmail-show-mime): If only a header part was decoded, find the
1241 coding system while ignoring mm-charset-override-alist.
1242
1243 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1244
1245 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1246
1247 2011-01-15 Kenichi Handa <handa@m17n.org>
1248
1249 * mail/rmailmm.el (rmail-mime-next-item)
1250 (rmail-mime-previous-item): Delete them.
1251 (rmail-mime-shown-mode): Recursively call for children.
1252 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1253 Callers changed.
1254 (rmail-mime-raw-mode): Recursively call for children.
1255 (rmail-mode-map): Change mapping of tab and backtab to
1256 forward-button and backward-button respectively.
1257 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1258 button.
1259 (rmail-mime-update-tagline): New function.
1260 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1261 body display is changed.
1262 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1263 (rmail-mime-image): Delete this button type.
1264 (rmail-mime-toggle): New button type.
1265 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1266 body display is changed. Change the save button label to "Save".
1267 Don't process show/hide button here.
1268 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1269 the body display is changed. Unconditionally call
1270 rmail-mime-insert for children.
1271 (rmail-mime-handle): Update `display' vector of the just inserted
1272 entity.
1273 (rmail-mime-process): If mail-header-parse-content-type returns
1274 nil, use "text/plain" as the fallback type.
1275 (rmail-mime-insert): For raw-mode, recursively call
1276 rmail-mim-insert for children.
1277 (rmail-mime): Handle the case that the current buffer is not rmail
1278 buffer (e.g. in summary buffer).
1279
1280 2011-01-15 Kenichi Handa <handa@m17n.org>
1281
1282 * mail/rmailmm.el (rmail-mime-next-item)
1283 (rmail-mime-previous-item): Skip the body of a non-multipart
1284 entity if a tagline is shown.
1285
1286 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1289 (tmm-prompt): Simplify.
1290 (tmm-add-prompt): Remove unused var `win'.
1291
1292 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1293 to minor mode which used nil accidentally to mean "turn off".
1294
1295 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1296
1297 * net/tramp-sh.el (tramp-find-inline-compress)
1298 (tramp-get-inline-coding): Quote command after pipe symbol for
1299 local calls under W32. (Bug#6784)
1300
1301 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1302
1303 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1304 only when running under W32.
1305
1306 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1307
1308 * progmodes/grep.el (grep-compute-defaults): Quote the program
1309 file name after the pipe symbol in Grep templates. (Bug#6784)
1310 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1311
1312 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1313
1314 * buff-menu.el (Buffer-menu-buffer-list): New var.
1315 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1316 restricted buffer list is not lost on revert (Bug#7749).
1317
1318 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1319
1320 * net/ldap.el (ldap-search-internal): Discard stderr output.
1321
1322 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1323
1324 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1325
1326 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1329
1330 2011-01-15 Kenichi Handa <handa@m17n.org>
1331
1332 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1333 part as a plain text.
1334 (rmail-mime-process-multipart): Set the default content-type to
1335 nil for unknown multipart subtypes (bug#7651).
1336
1337 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * hexl.el (hexl-mode-old-*): Remove.
1340 (hexl-mode--old-var-vals): New var to replace them.
1341 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1342 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1343 Use them to set local vars (bug#7846).
1344 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1345 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1346 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1347
1348 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1349 (smerge-resolve--normalize-re): New var.
1350 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1351 (smerge-resolve): Use them.
1352 * newcomment.el (comment-only-p): New function.
1353 (comment-or-uncomment-region): Use it.
1354
1355 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1356
1357 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1358 table, get the value before switching to the output buffer. (Bug#7733)
1359
1360 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1361
1362 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1363
1364 2011-01-14 Kim F. Storm <storm@cua.dk>
1365
1366 * emulation/cua-base.el (cua--init-keymaps):
1367 Remap exchange-point-and-mark in cua-global-keymap.
1368
1369 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1370
1371 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1372 loop keyword.
1373
1374 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1377 Require CL.
1378 (easy-menu-create-menu, easy-menu-convert-item-1):
1379 Use :label rather than nil for labels. Use `case'.
1380 Add :enable as alias for :active.
1381 (easy-menu-binding): Obey :label.
1382
1383 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 Use run-mode-hooks for major mode hooks (bug#513).
1386 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1387 Rename from reftex-toc-map.
1388 (reftex-toc-mode): Use define-derived-mode.
1389 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1390 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1391 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1392 (reftex-select-label-mode, reftex-select-bib-mode):
1393 Use define-derived-mode.
1394 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1395 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1396 Move init into delcaration.
1397 (reftex-index-mode, reftex-index-phrases-mode):
1398 Use define-derived-mode.
1399 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1400 speedbar-syntax-table. Move init into declaration.
1401 (speedbar-mode-map): Rename from speedbar-key-map.
1402 Move init into declaration.
1403 (speedbar-file-key-map): Move init into declaration.
1404 (speedbar-mode): Use define-derived-mode.
1405 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1406 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1407 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1408 (chart-face-list): Move initialization into declaration.
1409 (chart-mode): Use define-derived-mode.
1410 * calculator.el (calculator-mode-map): Move init into declaration.
1411 (calculator-mode): Use define-derived-mode.
1412
1413 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1414 work for nested comments.
1415
1416 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1417 (prolog-use-prolog-tokenizer-flag): Change default when
1418 syntax-propertize can be used.
1419 (prolog-syntax-propertize-function): New var.
1420 (prolog-mode-variables): Move make-local-variable into `set'.
1421 Don't make comment-column local since we don't set it.
1422 Set comment-add (as it was in previous prolog.el). Use dolist.
1423 Set syntax-propertize-function.
1424 (prolog-mode, prolog-inferior-mode):
1425 Call prolog(-inferior)-menu directly, not through the mode-hook.
1426 (prolog-buffer-module, prolog-indent-level)
1427 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1428 (prolog-comment-limits, prolog-goto-comment-column):
1429 Use line-(end|beginning)-position.
1430 (prolog-build-prolog-command): Tighten up regexp.
1431 (prolog-consult-compile): Move make-local-variable into `set'.
1432 (prolog-consult-compile-filter, prolog-goto-next-paren)
1433 (prolog-help-on-predicate, prolog-clause-info)
1434 (prolog-mark-predicate): Don't let+setq.
1435 (prolog-indent-line): Use indent-line-to.
1436 Only call prolog-goto-comment-column if necessary.
1437 (prolog-indent-level): Use bobp.
1438 (prolog-first-pos-on-line): Remove, not used any more.
1439 (prolog-in-string-or-comment): Use syntax-ppss if available.
1440 (prolog-help-on-predicate): Use read-string.
1441 (prolog-goto-predicate-info): Simplify.
1442 (prolog-read-predicate): Use `default' rather than `initial'.
1443 (prolog-temporary-file): Use make-temp-file to close a security hole.
1444 (prolog-toggle-sicstus-sd): New command.
1445 (prolog-electric-underscore, prolog-variables-to-anonymous):
1446 Use dynamic-scoping as it was meant.
1447 (prolog-menu): Move menu definitions to top-level.
1448 Use a toggle-button for Sicstus's source debugger.
1449 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1450 to "System".
1451 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1452 Move other menu definition to top-level.
1453
1454 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1455
1456 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1457 name. Keep original document's directory as default-directory
1458 (bug#6446).
1459 (doc-view-initiate-display): Fall back to normal mode when
1460 doc-view-mode cannot be enabled, also when extracting the document
1461 text into a separate buffer (bug#6446).
1462
1463 * simple.el (shell-command): Don't error out if shell command
1464 buffer contains text with non-nil read-only property when erasing
1465 the buffer.
1466
1467 2011-01-13 Kim F. Storm <storm@cua.dk>
1468
1469 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1470 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1471 items when cycling through the matches.
1472
1473 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1474
1475 * dired-x.el (dired-omit-verbose): New defcustom that allows
1476 disabling the omit messages.
1477 (dired-omit-expunge): Use it.
1478
1479 2011-01-13 Christian Ohler <ohler@gnu.org>
1480
1481 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1482
1483 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1484
1485 * font-lock.el (font-lock-verbose): Default to nil.
1486
1487 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1488
1489 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1490 (compose-mail): New arg RETURN-ACTION.
1491 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1492
1493 * mail/sendmail.el (mail-return-action): New var.
1494 (mail-mode): Make it buffer-local.
1495 (mail-bury): Obey it. Move special Rmail window handling to
1496 rmail-mail-return.
1497 (mail, mail-setup): New arg RETURN-ACTION.
1498 (sendmail-user-agent-compose): Move from simple.el.
1499
1500 * mail/rmail.el (rmail-mail-return): New function.
1501 (rmail-start-mail): Pass it to compose-mail.
1502
1503 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1504
1505 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1506 menus. Add menu item for customize-themes.
1507
1508 * cus-theme.el (customize-themes):
1509 * emacs-lisp/package.el (package--list-packages):
1510 Use switch-to-buffer.
1511
1512 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1513
1514 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1515
1516 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1517
1518 * progmodes/prolog.el: Fix up coding convention and such.
1519 (prolog-indent-width): Use the same default as in
1520 previous prolog.el rather than tab-width which depends on which buffer
1521 is current when the file is loaded.
1522 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1523 is not available.
1524 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1525 (prolog-known-systems): Remove.
1526 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1527 Move initialization into declaration.
1528 (prolog-mode-map): Move initialization into declaration.
1529 Remove system-specific mode-map vars, since they referred to the same
1530 keymap anyway.
1531 (prolog-mode-variables): Obey the user's preference w.r.t
1532 adaptive-fill-mode. Prefer symbol-value to `eval'.
1533 (prolog-mode-keybindings-edit): Add compatibility bindings.
1534 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1535 (mercury-mode-map): New var.
1536 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1537 (prolog-ensure-process, prolog-process-insert-string)
1538 (prolog-consult-compile): Use with-current-buffer.
1539 (prolog-guess-fill-prefix): Simplify data flow.
1540 (prolog-replace-in-string): New function to use instead of
1541 replace-in-string.
1542 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1543 (prolog-uncomment-region): Use `uncomment-region' when available.
1544 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1545 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1546 of int-to-char and char-to-int.
1547 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1548
1549 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1550
1551 * progmodes/prolog.el: Replace by a whole new file.
1552
1553 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1556 (declare-function, undefined, insert-for-yank)
1557 (replace-regexp-in-string): Follow checkdoc's recommendations.
1558
1559 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1562 refreshing the diary buffer.
1563
1564 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1565
1566 * allout.el: Add 2011 to the file copyright.
1567 (allout-encrypt-string): Prevent encryption from adding an extra
1568 newline at the end of the topic body.
1569 (allout-version): Increment to 2.3.
1570
1571 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1572
1573 * net/dbus.el (dbus-unregister-service): Complete doc.
1574 Fix call of dbus-error signal.
1575 (dbus-register-property): Use `dont-register' keyword.
1576
1577 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1578
1579 * net/dbus.el (dbus-unregister-service): Translate returned
1580 integer into a symbol.
1581 (dbus-register-property): Use `dbus-register-service' to do the
1582 name registration.
1583
1584 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1585
1586 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1587 Suggested by Joakim Verona.
1588
1589 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1590
1591 * wid-edit.el (visibility): Replace :on-image and :off-image
1592 widget properties with :on-glyph and :off-glyph, for consistency
1593 with the `visibility' widget.
1594 (widget-toggle-value-create, widget-visibility-value-create):
1595 Merge into a single function `widget-toggle-value-create'.
1596
1597 * cus-edit.el (custom-variable-value-create, custom-visibility)
1598 (custom-face-edit-value-create, custom-face-value-create):
1599 Replace :on-image and :off-image widget properties with :on-glyph and
1600 :off-glyph, for consistency with the `visibility' widget.
1601
1602 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1603
1604 * net/ldap.el (ldap-search-internal): Don't use eval.
1605
1606 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1607
1608 * subr.el (read-char-choice): Use read-key.
1609
1610 * custom.el (custom-safe-themes): Rename from
1611 custom-safe-theme-files. Add :risky tag.
1612 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1613 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1614
1615 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1616
1617 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1618 from Search and add a label to Undo.
1619
1620 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1621 inappropriate buttons and adding :vert-only tags.
1622
1623 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1624 removal of Help tool-bar button. Remove Undo button for space.
1625
1626 * info.el (info-tool-bar-map): Add :vert-only tags.
1627
1628 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1629
1630 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1631 image backend support. Either of them is fine.
1632
1633 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1634
1635 * subr.el (y-or-n-p): Doc fix.
1636
1637 * custom.el (custom-safe-theme-files): New defcustom.
1638 (custom-theme-load-confirm): New function.
1639 (load-theme): Load theme using `load', confirming with
1640 custom-theme-load-confirm if necessary.
1641
1642 * subr.el (read-char-choice): New function, factored out from
1643 dired-query and hack-local-variables-confirm.
1644
1645 * dired-aux.el (dired-query):
1646 * files.el (hack-local-variables-confirm): Use it.
1647
1648 * dired-aux.el (dired-compress-file):
1649 * files.el (abort-if-file-too-large, find-alternate-file)
1650 (set-visited-file-name, write-file, backup-buffer)
1651 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1652 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1653 Use new format string args for y-or-n-p and yes-or-no-p.
1654
1655 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1656
1657 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1658 [gcc-include]: Tighten file name match, add match for column
1659 number. (Bug#7806)
1660 [gnu]: Remove unused group.
1661
1662 2011-01-08 Glenn Morris <rgm@gnu.org>
1663
1664 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1665
1666 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1667
1668 2011-01-07 Sam Steingold <sds@gnu.org>
1669
1670 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1671 the `explicit-shell-file-name' because that is the
1672 non-interactive shell.
1673
1674 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1675
1676 * subr.el (y-or-n-p): Accept format string args.
1677
1678 2011-01-07 Glenn Morris <rgm@gnu.org>
1679
1680 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1681
1682 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1683
1684 * allout.el (allout-back-to-current-heading): Ensure return to
1685 the visible containing topic, rather than a collapsed one.
1686 (allout-view-change-hook): Remove hook that was deprecated long ago.
1687 (allout-exposure-change-hook): Remove documentation remarks
1688 concerning removed allout-view-change-hook.
1689 (allout-flag-region): Remove invocation of and documentation
1690 remarks concerning allout-view-change-hook.
1691
1692 2011-01-06 Glenn Morris <rgm@gnu.org>
1693
1694 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1695 (vc-bzr-annotate-extract-revision-at-line):
1696 Handle authors with embedded spaces. (Bug#7792)
1697
1698 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1699
1700 * doc-view.el (doc-view-image-width): New variable.
1701 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1702 backend for PNG images, and do dynamic rescaling instead of
1703 reconverting the whole doc.
1704
1705 2011-01-05 Glenn Morris <rgm@gnu.org>
1706
1707 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1708
1709 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1710
1711 * allout.el: Reconcile with changes in line movement behavior for
1712 long text lines that cross more than a single physical window
1713 line, ie when truncate-lines is nil.
1714 (allout-next-visible-heading): Provide for change in line-move
1715 behavior on long lines when truncate-lines is nil. In that case,
1716 line-move can wind up on the same textual line when it moves to
1717 the next window line, and moving to the bullet position after the
1718 move yields zero advancement. Add logic to detect and compensate
1719 for the lack of progress.
1720 (allout-current-topic-collapsed-p): move-end-of-line respect for
1721 field boundaries is different when operating with body lines
1722 shorter than window width versus ones greater than window width,
1723 which can yield false negatives in this function. Avoid
1724 difference by applying move-end-of-line while field-text-motion is
1725 inhibited.
1726
1727 2011-01-04 Glenn Morris <rgm@gnu.org>
1728
1729 * textmodes/rst.el (rst-compile-toolsets):
1730 Add pdf and s5 to option alist.
1731
1732 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1733
1734 * net/dbus.el (dbus-register-property): Add optional parameter
1735 dont-register-service. Updated docstring accordingly.
1736
1737 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1738
1739 * textmodes/rst.el (rst-compile-pdf-preview)
1740 (rst-compile-slides-preview): Remove extra line.
1741
1742 2011-01-04 Glenn Morris <rgm@gnu.org>
1743
1744 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1745 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1746 default to `prog' without a .py extension.
1747 (rst-compile-pdf-preview, rst-compile-slides-preview):
1748 Use program names from rst-compile-toolsets, rather than hard-coding.
1749 (rst-portable-mark-active-p): Fix presumed typo.
1750
1751 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1752
1753 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1754 libpng versions both before and after 1.4.0. (Bug#7716)
1755
1756 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1757
1758 * time.el (display-time-mode): Mention display-time-interval in
1759 the doc string. (Bug#7713)
1760
1761 2011-01-02 Kenichi Handa <handa@m17n.org>
1762
1763 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1764 condition-case and return an error message string if something
1765 goes wrong.
1766 (rmail-show-mime): Adjust for the above change. Insert the
1767 header by rmail-mime-insert-header.
1768
1769 2011-01-02 Kenichi Handa <handa@m17n.org>
1770
1771 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1772 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1773 (rmail-mime-mbox-buffer)
1774 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1775 (rmail-mime-entity): Argument changed. All codes handling an
1776 entity object are changed.
1777 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1778 the above change.
1779 (rmail-mime-entity-children, rmail-mime-entity-handler)
1780 (rmail-mime-entity-tagline): New functions.
1781 (rmail-mime-message-p): New function.
1782 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1783 (rmail-mime-entity-segment, rmail-mime-next-item)
1784 (rmail-mime-previous-item, rmail-mime-shown-mode)
1785 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1786 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1787 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1788 New functions.
1789 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1790 (rmail-mime-insert-decoded-text): New function.
1791 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1792 (rmail-mime-insert-image): Argument changed. Caller changed.
1793 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1794 (rmail-mime-set-bulk-data): New function.
1795 (rmail-mime-insert-bulk): Argument changed.
1796 (rmail-mime-multipart-handler): Return t.
1797 (rmail-mime-process-multipart): Argument changed.
1798 Handle "multipart/alternative" here.
1799 (rmail-mime-process): Argument changed.
1800 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1801 (rmail-mime-insert): Argument changed. Handle raw display mode.
1802 (rmail-mime): Argument changed. Handle toggling of raw display
1803 mode.
1804 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1805 rmail-mime-view-buffer.
1806 (rmail-insert-mime-forwarded-message): Likewise.
1807 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1808
1809 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1810 non-nil, handle the header in rmail-show-mime-function.
1811
1812 2011-01-02 Leo <sdl.web@gmail.com>
1813
1814 * help-fns.el (describe-variable): Fix previous change.
1815
1816 2011-01-02 Juri Linkov <juri@jurta.org>
1817
1818 * isearch.el (isearch-lazy-highlight-error): New variable.
1819 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1820 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1821 to the current value of `isearch-error' (Bug#7468).
1822
1823 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1824
1825 * help-fns.el (describe-variable): Don't emit trailing whitespace
1826 (Bug#7511).
1827
1828 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1829
1830 * textmodes/rst.el (rst-compile-pdf-preview)
1831 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1832
1833 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1834
1835 * emulation/edt-mapper.el: Override mapping of function keys so
1836 that the later call to read-key-sequence works.
1837
1838 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1839
1840 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1841 Unix EOLs. (Bug#7589)
1842
1843 2011-01-02 Leo <sdl.web@gmail.com>
1844
1845 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1846 if point is not behind eshell-last-output-end (Bug#7585).
1847
1848 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * files.el (file-local-variables-alist):
1851 Make permanent-local (bug#7767).
1852
1853 2011-01-02 Glenn Morris <rgm@gnu.org>
1854
1855 * version.el (emacs-copyright): Set short copyright year to 2011.
1856
1857 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1858
1859 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1860 an existing temp buffer. (Bug#7746)
1861
1862 2011-01-02 Glenn Morris <rgm@gnu.org>
1863
1864 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1865 multiple addresses. (Bug#7760)
1866
1867 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1868
1869 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1870 do-auto-fill if everything points back to allout-auto-fill.
1871 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1872 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1873
1874 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1875
1876 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1877 and "scpx".
1878
1879 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1880
1881 * doc-view.el (doc-view-set-doc-type): New function refactored
1882 from doc-view-mode.
1883 (doc-view-fallback-mode): New function.
1884 (doc-view-mode): Use it.
1885 (doc-view-mode-maybe): New function that checks if doc-view-mode
1886 can be used and falls back to the next best mode otherwise.
1887
1888 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1889 DVI, OpenDocument, and MS Office files.
1890
1891 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1892
1893 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1894
1895 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1896
1897 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1898 on a copy of auto-mode-alist, because that deletes with side
1899 effects.
1900
1901 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1902
1903 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1904 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1905 fallback instead of hard coding fundamental mode.
1906
1907 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1908
1909 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1910 Office) files also for searching.
1911
1912 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1913
1914 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1915 Office) files. Not yet enabled via auto-mode-list.
1916 (doc-view-unoconv-program): New custom variable.
1917 (doc-view-mode-p): Handle new odf document type.
1918 (doc-view-odf->pdf): New conversion function.
1919 (doc-view-convert-current-doc): Call it for odf files.
1920 (doc-view-mode): Recognize newly supported file extensions.
1921
1922 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1923
1924 * net/tramp.el (tramp-default-method-alist)
1925 (tramp-default-user-alist)
1926 (tramp-local-host-regexp, tramp-prefix-domain-format)
1927 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1928
1929 * net/tramp-ftp.el:
1930 * net/tramp-gvfs.el:
1931 * net/tramp-gw.el:
1932 * net/tramp-imap.el:
1933 * net/tramp-sh.el:
1934 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1935 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1936
1937 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1938
1939 * saveplace.el (save-place-alist-to-file): Save list sorted and
1940 pretty-printed, so that it is mergeable by line-based text merging,
1941 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1942
1943 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1944
1945 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1946 (allout-mode): Argument "toggle" => "force".
1947 Refine the docstring.
1948 Remove special provisions for reactivation, besides the 'force'
1949 argument.
1950 Consolidate layout provisions coce directly into the activation
1951 condition branch, now that we've removed those provisions.
1952 (allout-unload-function): Explicitly activate the mode before
1953 deactivating, if it's initially deactivated.
1954 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1955 warnings for version of function used only where
1956 set-buffer-multibyte is unavailable.
1957
1958 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1959
1960 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1961 are handled by the menu-bar entries. As before, don't use
1962 :visibile to avoid changing the tool-bar.
1963
1964 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1965
1966 * net/secrets.el (secrets-delete-alias): New defun.
1967
1968 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1969
1970 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1971 methods, otherwise ~/.ssh/config would be ignored.
1972
1973 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * emacs-lisp/rx.el: Make it a superset of sregex.
1976 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1977 of args, add `regex' alias.
1978 (rx-info): Add arg to distinguish head and standalone forms.
1979 (rx-check, rx-form): Pass the corresponding arg.
1980 (rx-**): Simplify.
1981 (rx-repeat): Make it work for any number of args.
1982 (rx-syntax): Make it accept syntax chars as is.
1983 * obsolete/sregex.el: Move from emacs-lisp/.
1984 * emacs-lisp/re-builder.el: Remove sregex support.
1985 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1986
1987 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1988
1989 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1990 PRIMARY first, then the clipboard. (Bug#7699)
1991
1992 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1995 print-number-table.
1996
1997 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1998
1999 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2000 .emacs.elc (Bug#7530).
2001
2002 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2003 image spec (Bug#7480).
2004
2005 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2006
2007 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2008 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2009 Move from lisp/.
2010
2011 2010-12-20 Leo <sdl.web@gmail.com>
2012
2013 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2014 always be performed (Bug#7680).
2015
2016 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2017
2018 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2019 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2020 mouse-region-match.
2021
2022 * color.el: Move from gnus/.
2023
2024 * vc/diff.el (diff-better-file-name): Function deleted.
2025 abbreviating file names causes problems with shell-quote-argument.
2026 (diff-no-select): Just use expand-file-name.
2027
2028 * tool-bar.el (tool-bar--image-expression): New function.
2029 (tool-bar-local-item, tool-bar--image-exp): Use it.
2030 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2031 Use :enable instead of :visible to avoid changing the tool-bar
2032 configuration unnecessarily.
2033
2034 * info.el (info-tool-bar-map): Add separators.
2035
2036 2010-12-17 Ken Brown <kbrown@cornell.edu>
2037
2038 * loadup.el: Use version numbers in Cygwin build.
2039
2040 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2041
2042 * ido.el (ido-file-internal): Ask for confirmation before
2043 overwriting an existing file (Bug#1238).
2044
2045 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2046
2047 * tool-bar.el (tool-bar-setup): Add separators.
2048
2049 * menu-bar.el (featurep): Use menu-bar-separator.
2050
2051 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2052
2053 Migrate allout encryption provisions from pgg to epg.
2054
2055 * allout.el (allout-toggle-current-subtree-encryption)
2056 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2057 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2058 for simpler universal argument interpretation.
2059 (allout-toggle-subtree-encryption): Adjust docstring to describe
2060 changed encryption provisions. Change fetch-pass to keymode-cue, for
2061 simpler universal argument interpretation. Remove provisions for
2062 handling key type and identity - they'll all be within
2063 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2064 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2065 for keypair recipients (universal argument > 1) and, in addition,
2066 associating the specified recipients with the outline (universal
2067 argument > 4) using a file local variable setting for
2068 'epa-file-encrypt-to'.
2069 Require epa, for recipients handling.
2070 Change how regexp filtering elements are named.
2071 Describe the problem with caching of incorrect symmetric-decryption
2072 keys.
2073 Use the epa-passphrase-callback-function, in case the user is using
2074 GnuPG v1.
2075 Support saving of the selected keypair recipients when invoked with a
2076 keymode-cue > 4.
2077 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2078 Require 'epa.
2079 Establish epg-context with armoring and default epg-protocol.
2080 Remove all passphrase cache, verification, and hinting code.
2081 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2082 No longer used, delete.
2083 (allout-mode): Adjust docstring to describe changed encryption
2084 provisions. Describe the problem with caching of incorrect
2085 symmetric-decryption keys.
2086 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2087 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2088 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2089 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2090 Obsolete, remove.
2091
2092 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2093
2094 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2095 key selection prompt; make 'silent as default (Bug#7487).
2096
2097 2010-12-16 Leo <sdl.web@gmail.com>
2098
2099 * eshell/eshell.el (eshell-directory-name):
2100 Use locate-user-emacs-file (Bug#7578).
2101
2102 2010-12-15 Glenn Morris <rgm@gnu.org>
2103
2104 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2105
2106 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2107 Scott Evans <gse@antisleep.com>
2108
2109 * rect.el (rectange--default-line-number-format)
2110 (rectangle-number-line-callback): New functions.
2111 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2112
2113 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2114
2115 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2116 Delete unused variables.
2117 (move-to-column-force): Remove function obsolete since 21.2.
2118
2119 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2120
2121 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2122 (tramp-handle-insert-file-contents): Do not set permanent-local
2123 property.
2124
2125 * net/tramp-cache.el (tramp-persistency-file-name):
2126 Use `locate-user-emacs-file' if fboundp.
2127
2128 * net/tramp-sh.el (tramp-methods): Add "ksu".
2129 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2130 method list.
2131
2132 2010-12-14 Glenn Morris <rgm@gnu.org>
2133
2134 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2135 (find-tag-marker-ring): Declare.
2136 (js-find-symbol): Require etags.
2137
2138 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2139 Require mail-utils.
2140 (mail-alias-file): Don't autoload. Doc fix.
2141 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2142 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2143 Mark as obsolete, and risky.
2144 (mail-setup): Simplify.
2145
2146 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2147 * mail/sendmail.el (build-mail-aliases): Update autoload.
2148
2149 * dired.el (dired-trivial-filenames, dired-chown-program)
2150 (dired-auto-revert-buffer): Remove autoload cookies.
2151 * mail/sendmail.el (mail-recover-1): Require 'dired.
2152
2153 * dired.el (dired-subdir-switches, dired-chown-program)
2154 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2155 Make into defcustoms.
2156 (dired-chown-program): Simplify initialization.
2157
2158 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2159
2160 2010-12-13 Romain Francoise <romain@orebokech.com>
2161
2162 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2163
2164 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2165
2166 * net/netrc.el (netrc-point-at-eol): Remove the unused
2167 netrc-point-at-old and netrc-bound-and-true-p bindings.
2168 (netrc-parse): Cache the netrc contents.
2169
2170 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2171
2172 * subr.el (posn-col-row): Evaluate header-line-format in the
2173 context of the POSITION window's buffer.
2174
2175 2010-12-13 Glenn Morris <rgm@gnu.org>
2176
2177 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2178 (with-silent-modifications): Doc fixes.
2179
2180 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2181
2182 * net/tramp.el (tramp-action-password, tramp-process-actions):
2183 Revert previous from. Use `save-restriction'.
2184
2185 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2186
2187 * calendar/diary-lib.el (diary-list-sexp-entries):
2188 Handle case of no newline at end of file. (Bug#7536)
2189
2190 2010-12-13 Glenn Morris <rgm@gnu.org>
2191
2192 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2193
2194 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2195
2196 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2197 (tramp-process-actions): Do not widen.
2198
2199 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2200 Protect buffer-modified value. (Bug#7557)
2201
2202 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2203
2204 * log-edit.el (log-edit-changelog-entries):
2205 Regexp quote filename. (Bug#7505)
2206
2207 2010-12-13 Tom Breton <tehom@panix.com>
2208
2209 * cus-edit.el (custom-save-all):
2210 Bind print-length and print-level to nil. (Bug#7581)
2211
2212 2010-12-13 Glenn Morris <rgm@gnu.org>
2213
2214 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2215 Run hooks to update menu contents. (Bug#7586)
2216
2217 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2218 file names, for the sake of MS Windows. (Bug#7588)
2219
2220 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2223 empty lines without a leading space.
2224
2225 2010-12-13 Leo <sdl.web@gmail.com>
2226
2227 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2228 while mapping over marks (Bug#6810).
2229
2230 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2231
2232 * image-dired.el (image-dired-db-file)
2233 (image-dired-temp-image-file, image-dired-gallery-dir)
2234 (image-dired-temp-rotate-image-file): Set default values relative
2235 to image-dired-dir (Bug#7518).
2236
2237 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2238
2239 * format.el (format-decode-run-method): Pass args FROM and TO, not
2240 point-min and point-max, to shell-command-on-region (Bug#7488).
2241
2242 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2243
2244 * frame.el (blink-cursor-mode): Make default t for ns.
2245
2246 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2247
2248 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2249
2250 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2251
2252 * comint.el (comint-dynamic-list-input-ring)
2253 (comint-dynamic-complete-filename)
2254 (comint-replace-by-expanded-filename)
2255 (comint-dynamic-simple-complete)
2256 (comint-dynamic-list-filename-completions)
2257 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2258
2259 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2260 Doc fix (Bug#7471).
2261
2262 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2263
2264 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2265 (Bug#7533).
2266
2267 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2268
2269 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2270 (Bug#7491).
2271
2272 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2273
2274 * files.el (file-relative-name): Handle UNC file names on
2275 DOS/Windows. (Bug#4674)
2276
2277 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2278
2279 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2280 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2281 (epg-context-set-passphrase-callback): Mention that the callback
2282 is not called when used with GnuPG 2.x.
2283
2284 2010-12-13 Glenn Morris <rgm@gnu.org>
2285
2286 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2287 Ensure ps-footer-font-size-internal is initialized.
2288 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2289
2290 2010-12-13 Kenichi Handa <handa@m17n.org>
2291
2292 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2293 within condition-case.
2294 (rmail-show-mime): Don't use condition-case.
2295 (rmail-search-mime-message): New function.
2296 (rmail-search-mime-message-function): Set to
2297 rmail-search-mime-message.
2298
2299 2010-12-13 Leo <sdl.web@gmail.com>
2300
2301 * ido.el (ido-common-initialization): New function. (bug#3274)
2302 (ido-mode): Use it.
2303 (ido-completing-read): Call it.
2304
2305 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2306
2307 * bookmark.el (bookmark-name-from-full-record): Rename back to
2308 this original name from `bookmark-name-from-record' reverting part
2309 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2310 As Drew Adams pointed out, there was no reason to cause churn for
2311 third-party callers.
2312
2313 2010-12-12 Alan Mackenzie <acm@muc.de>
2314
2315 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2316 template arglist, check that the current language supports this.
2317
2318 2010-12-11 Glenn Morris <rgm@gnu.org>
2319
2320 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2321 state of the file matches. (Bug#7544)
2322 (vc-bzr-register, vc-bzr-checkin)
2323 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2324 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2325
2326 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2327
2328 2010-12-11 Karel Klíč <kklic@redhat.com>
2329
2330 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2331
2332 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2333
2334 Derive from prog-mode, use derived-mode-p, and fix up various
2335 minor style issues in lisp/progmodes.
2336
2337 * progmodes/vhdl-mode.el (vhdl-mode):
2338 * progmodes/verilog-mode.el (verilog-mode):
2339 * progmodes/vera-mode.el (vera-mode):
2340 * progmodes/sql.el (sql-mode):
2341 * progmodes/scheme.el (scheme-mode):
2342 * progmodes/perl-mode.el (perl-mode):
2343 * progmodes/octave-inf.el (inferior-octave-mode):
2344 * progmodes/autoconf.el (autoconf-mode):
2345 * progmodes/m4-mode.el (m4-mode):
2346 * progmodes/inf-lisp.el (inferior-lisp-mode):
2347 * progmodes/idlwave.el (idlwave-mode):
2348 * progmodes/icon.el (icon-mode):
2349 * progmodes/idlw-help.el (idlwave-help-mode):
2350 * progmodes/dcl-mode.el (dcl-mode):
2351 * progmodes/idlw-shell.el (idlwave-shell-mode):
2352 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2353 (ebrowse-member-mode, ebrowse-electric-position-mode):
2354 Use define-derived-mode.
2355
2356 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2357 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2358 (xscheme-debugger-mode-p, xscheme-send-string-1):
2359 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2360 (tcl-load-file, tcl-restart-with-file):
2361 * progmodes/ps-mode.el (ps-run-running):
2362 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2363 * progmodes/js.el (js--get-all-known-symbols):
2364 * progmodes/inf-lisp.el (inferior-lisp-proc):
2365 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2366 (idlwave-template, idlwave-update-buffer-routine-info)
2367 (idlwave-update-current-buffer-info)
2368 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2369 (idlwave-scan-class-info, idlwave-fix-keywords)
2370 (idlwave-list-buffer-load-path-shadows):
2371 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2372 (idlwave-toolbar-remove):
2373 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2374 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2375 (idlwave-shell-menu-def):
2376 * progmodes/idlw-complete-structtag.el
2377 (idlwave-prepare-structure-tag-completion):
2378 * progmodes/gud.el (gud-set-buffer):
2379 * progmodes/f90.el (f90-backslash-not-special):
2380 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2381
2382 * progmodes/xscheme.el (xscheme-start)
2383 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2384 * progmodes/which-func.el (which-function):
2385 * progmodes/vhdl-mode.el (vhdl-set-style):
2386 * progmodes/verilog-mode.el (verilog-set-compile-command)
2387 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2388 (verilog-set-define, verilog-auto-reeval-locals):
2389 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2390 * progmodes/simula.el (simula-mode):
2391 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2392 * progmodes/python.el (python-check, python-mode):
2393 * progmodes/prolog.el (prolog-mode-variables):
2394 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2395 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2396 * progmodes/delphi.el (delphi-mode):
2397 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2398 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2399 (c-font-lock-init): Move make-local-variable to their setq.
2400
2401 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2402 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2403 make-local-hook.
2404 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2405 (sh-set-shell): Don't set require-final-newline since it's already done
2406 by prog-mode.
2407 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2408 since we never set it.
2409 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2410 Use read-string and standard prompt.
2411 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2412 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2413 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2414 (meta-common-mode-map): Rename from meta-mode-map.
2415 Remove C-m binding, which is a user preference, not mode specific.
2416 (meta-common-mode): New major mode; replace meta-common-initialization.
2417 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2418 around with font-lock.
2419 * progmodes/etags.el (select-tags-table-mode):
2420 Derive from special-mode.
2421 * progmodes/octave-mod.el (octave-mode):
2422 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2423 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2424 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2425 Let define-derived-mode do its job.
2426 * progmodes/cpp.el (cpp-edit-mode-map):
2427 Move initialization into declaration.
2428 (cpp-edit-mode): Use define-derived-mode.
2429 (cpp-edit-load): Use derived-mode-p.
2430 * progmodes/mixal-mode.el (mixal-mode):
2431 * progmodes/f90.el (f90-mode):
2432 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2433 require-final-newline since prog-mode does it already.
2434 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2435 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2436 * progmodes/antlr-mode.el: Require cc-mode upfront.
2437 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2438 the declaration.
2439 (antlr-directory-dependencies, antlr-show-makefile-rules):
2440 Use derived-mode-p.
2441 (antlr-language-option): Don't assume point-min==1.
2442 (antlr-mode): Use define-derived-mode.
2443 * progmodes/ada-mode.el: Use derived-mode-p.
2444 (ada-mode): Use define-derived-mode.
2445 Use hack-local-variables-hook.
2446
2447 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2448
2449 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2450 (texinfo-mode): Don't disable adaptive-fill-mode.
2451 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2452 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2453 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2454 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2455 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2456 (texinfo-insert-@quotation, texinfo-insert-@samp)
2457 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2458 (texinfo-insert-@uref): Use define-skeleton.
2459 (texinfo-insert-@-with-arg): Delete.
2460
2461 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2462
2463 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2464 nil, do quote archive member names. (Bug#6144)
2465
2466 2010-12-10 Glenn Morris <rgm@gnu.org>
2467
2468 * files.el (diff-no-select): Declare.
2469
2470 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2471 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2472
2473 * comint.el (comint-input-ring-file-name): Doc fix.
2474
2475 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2476
2477 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2478 New functions.
2479 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2480 Use them instead of `nil' and `>', respectively.
2481 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2482 instead of `nil'.
2483 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2484 and menu-bar-positive-p instead of `nil' and `>', respectively.
2485 (Bug#1077)
2486
2487 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2488
2489 * whitespace.el (whitespace-newline-mode): Code fix.
2490
2491 2010-12-09 Glenn Morris <rgm@gnu.org>
2492
2493 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2494 Rename functions without commas, update callers.
2495
2496 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2497
2498 * whitespace.el (whitespace-cleanup-region):
2499 Clean up spaces before tabs. (Bug#7582)
2500
2501 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2502
2503 * bookmark.el: Adjust parameter names and doc strings to resolve
2504 confusion over whether "bookmark" meant a bookmark name or a
2505 bookmark record. Along the way, shorten one function's name for
2506 similar reasons. (Issue #7548)
2507 (bookmark-name-from-record): New name for
2508 `bookmark-name-from-full-record'. All callers changed.
2509 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2510 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2511 (bookmark-get-annotation, bookmark-set-annotation)
2512 (bookmark-get-filename, bookmark-set-filename)
2513 (bookmark-get-position, bookmark-set-position)
2514 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2515 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2516 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2517 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2518 Rename `bookmark' parameter to `bookmark-name-or-record', to
2519 clearly show its role, and shorten or adjust doc strings accordingly.
2520 (bookmark-set-name): Same, and pass the parameter directly to
2521 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2522 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2523 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2524 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2525 and in some cases shorten doc string accordingly.
2526 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2527 and `new-name', and adjust an internal variable to avoid confusion.
2528 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2529 parameter in doc string.
2530
2531 2010-12-08 Glenn Morris <rgm@gnu.org>
2532
2533 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2534 from gdb's history file. (Bug#7575)
2535
2536 * mail/emacsbug.el (report-emacs-bug):
2537 Try to handle some other mail clients.
2538
2539 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2542 Use string-prefix-p.
2543 (file-name-version-regexp): New var.
2544 (file-name-sans-versions):
2545 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2546 (jka-compr-get-compression-info): Use dolist.
2547 (jka-compr-compression-info-list): Don't bother specifying
2548 version/backup regexps.
2549
2550 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2551
2552 * simple.el (just-one-space): Make argument n default to 1 if
2553 omitted.
2554
2555 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * electric.el (electric-indent-post-self-insert-function):
2558 Delete trailing newlines even if we don't reindent.
2559
2560 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * minibuffer.el (completion-at-point): Remove the `arg'.
2563 * bindings.el (complete-symbol): Move back from minibuffer.el.
2564
2565 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2566
2567 * simple.el (just-one-space): Delete newlines for negative arg.
2568
2569 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2572 (ansi-color-filter-apply): Simplify.
2573 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2574
2575 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2576
2577 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2578
2579 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2580
2581 * dired.el (dired-use-ls-dired): Set default to a special
2582 "unspecified" value.
2583 (dired-insert-directory): When called the first time, check
2584 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2585
2586 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2587
2588 * replace.el: Add "collect" feature to occur.
2589 (occur-collect-regexp-history): New var.
2590 (occur-read-primary-args): Return a replace string for nlines,
2591 if needed.
2592 (occur): Extend the meaning of nlines.
2593
2594 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2597 (which-func-update-1): Distinguish symbols from strings.
2598 (which-function): Stay within 80 columns.
2599
2600 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2603
2604 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2605 Improve docstring.
2606 (comment-style): Use comment-styles's docs to describe values.
2607
2608 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2609
2610 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2611 and ns-show-prefs (Bug#7535).
2612
2613 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2614 bindings (Bug#7535).
2615
2616 2010-12-03 Glenn Morris <rgm@gnu.org>
2617
2618 * nxml/nxml-mode.el: Require rng-nxml.
2619 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2620 Remove declarations.
2621
2622 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2623 * nxml/rng-nxml.el, nxml/rng-valid.el:
2624 Remove leading `*' from defcustom docs.
2625
2626 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2627 (normal-top-level-add-to-load-path, tty-handle-args):
2628 Convert comments to basic doc-strings.
2629
2630 * net/browse-url.el (browse-url-url-at-point)
2631 (browse-url-default-browser): Remove autoload cookies.
2632
2633 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2634 Remove more undefined cl functions.
2635
2636 * vc/diff.el (diff-sentinel): Make new arguments optional.
2637 * ibuf-ext.el (diff-sentinel): Update declaration.
2638
2639 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2640
2641 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2642 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2643 (epg-context-set-passphrase-callback): Mention that the callback
2644 is not called when used with GnuPG 2.x.
2645
2646 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2647
2648 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2649 (tramp-file-name-port): Check also for `tramp-default-port'.
2650 (tramp-get-connection-name): New defun.
2651 (tramp-get-connection-process): Use it.
2652 (tramp-debug-message): Extend function exclude list.
2653 (tramp-drop-volume-letter): Fix doc string.
2654
2655 * net/tramp-cmds.el: Remove solved todo item.
2656
2657 * net/tramp-efs.el:
2658 * net/tramp-ftp.el:
2659 * net/tramp-gvfs.el:
2660 * net/tramp-gw.el:
2661 * net/tramp-imap.el:
2662 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2663 and `tramp-default-user-alist', respectively.
2664
2665 * net/tramp-gw.el (tramp-gw-open-connection):
2666 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2667
2668 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2669 `tramp-file-name-port'.
2670
2671 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2672 and "psftp". Exchange "%k" marker with options.
2673 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2674 Compute size of link target.
2675 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
2676 `tramp-current-*' up due to gateway methods. Optimize computing of
2677 copy arguments. Use `tramp-get-connection-name' and
2678 `tramp-get-connection-buffer'. Improve debug messages.
2679 (tramp-compute-multi-hops): Remove port determination.
2680 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2681
2682 * net/trampver.el: Update release number.
2683
2684 2010-12-02 Glenn Morris <rgm@gnu.org>
2685
2686 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2687 Avoid infinite loop over windows. (Bug#7492)
2688
2689 * progmodes/flymake.el (flymake-check-file-limit):
2690 Allow nil to mean "no limit".
2691 (flymake-check-patch-master-file-buffer): Update for above change.
2692 Allow a .tex file-name extension to be optional.
2693 (flymake-master-tex-init): Also match \include statements.
2694
2695 2010-11-30 Sam Steingold <sds@gnu.org>
2696
2697 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2698 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2699 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2700 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2701 define-derived-mode').
2702 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2703 users who want to call `nxml-parent-document-set'.
2704
2705 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2706
2707 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2708 stand-alone lines, since that is handled by log-edit-match-to-eoh
2709 (Bug#6465).
2710
2711 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2712
2713 * dired.el (dired-get-filename): Replace backslashes with slashes
2714 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2715 * locate.el (locate-default-make-command-line): Don't consider
2716 drive letter and root directory part of
2717 `directory-listing-before-filename-regexp'. (Bug#7308)
2718 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2719
2720 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2723 of :smie-open/close-alist.
2724 (smie-next-sexp): Make it accept a "start token" as argument.
2725 (smie-indent-keyword): Be careful not to misidentify tokens that span
2726 more than one line, as empty lines. Add argument `token'.
2727
2728 2010-11-27 Kenichi Handa <handa@m17n.org>
2729
2730 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2731 multipart subtypes, insert all as usual.
2732
2733 * mail/rmail.el: Require rfc2047.
2734
2735 2010-11-27 Kenichi Handa <handa@m17n.org>
2736
2737 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2738 (rmail-mime-entity-disposition)
2739 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2740 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2741 (rmail-mime-save): Handle the case that the button's `data' is a
2742 MIME entity.
2743 (rmail-mime-insert-text): New function.
2744 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2745 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2746 (rmail-mime-insert-bulk): New function mostly copied from the old
2747 rmail-mime-bulk-handler.
2748 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2749 (rmail-mime-process-multipart): New function mostly copied from
2750 the old rmail-mime-multipart-handler.
2751 (rmail-mime-show): Just call rmail-mime-process.
2752 (rmail-mime-process): New function mostly copied from the old
2753 rmail-mime-show.
2754 (rmail-mime-insert-multipart, rmail-mime-parse)
2755 (rmail-mime-insert, rmail-show-mime)
2756 (rmail-insert-mime-forwarded-message)
2757 (rmail-insert-mime-resent-message): New functions.
2758 (rmail-insert-mime-forwarded-message-function): Set to
2759 rmail-insert-mime-forwarded-message.
2760 (rmail-insert-mime-resent-message-function): Set to
2761 rmail-insert-mime-resent-message.
2762
2763 * mail/rmailsum.el: Require rfc2047.
2764 (rmail-header-summary): Handle multiline Subject: field.
2765 (rmail-summary-line-decoder): Change the default to
2766 rfc2047-decode-string.
2767
2768 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2769 (rmail-mime-feature): Change the default to `rmailmm'.
2770 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2771 (rmail-display-labels): Likewise.
2772 (rmail-show-message-1): Check rmail-enable-mime, and use
2773 rmail-show-mime-function for a MIME message. Decode the headers
2774 according to RFC2047.
2775
2776 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * progmodes/which-func.el (which-func-imenu-joiner-function):
2779 Return a string, as expected.
2780 (which-function-mode): Make sure we stop any previous timer before
2781 starting a new one.
2782
2783 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2784
2785 * net/tramp.el (tramp-default-method-alist)
2786 (tramp-default-user-alist, tramp-default-proxies-alist):
2787 Adapt custom options type. (Bug#7445)
2788
2789 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2790
2791 * progmodes/python.el: Add Ipython support (Bug#5390).
2792 (python-shell-prompt-alist)
2793 (python-shell-continuation-prompt-alist): New options.
2794 (python--set-prompt-regexp): New function.
2795 (inferior-python-mode, run-python, python-shell):
2796 Require ansi-color. Use python--set-prompt-regexp to set the comint
2797 prompt based on the Python interpreter.
2798 (python--prompt-regexp): New var.
2799 (python-check-comint-prompt)
2800 (python-comint-output-filter-function): Use it.
2801 (run-python): Use a pipe (Bug#5694).
2802
2803 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2804
2805 * progmodes/python.el (run-python): Doc fix.
2806 (python-keep-current-directory-in-path): New var (Bug#7454).
2807
2808 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2809
2810 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2811 Prompt user before actually printing.
2812
2813 2010-11-27 Glenn Morris <rgm@gnu.org>
2814
2815 * startup.el (package-enable-at-startup, package-initialize):
2816 Remove unnecessary declarations.
2817
2818 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2819
2820 * international/characters.el (glyphless-char-display-control):
2821 Exclude newline and TAB from the c0-control group.
2822
2823 2010-11-27 Glenn Morris <rgm@gnu.org>
2824
2825 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2826 (expand-mail-aliases): Remove unnecessary autoload.
2827
2828 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2829
2830 * shell.el (shell-dir-cookie-re): Move definition before use.
2831
2832 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2833 Replace undefined CL functions.
2834
2835 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2836
2837 * simple.el (prog-mode): Set bidi-paragraph-direction to
2838 left-to-right.
2839
2840 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2841
2842 2010-11-26 Glenn Morris <rgm@gnu.org>
2843
2844 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2845 diary-outlook-formats can be sensitive to calendar-date-style.
2846 (diary-outlook-formats): Simplify the default setting.
2847 (diary-from-outlook-internal): Pass subject and body as arguments.
2848 Use dolist rather than dotimes. Don't save the diary buffer.
2849 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2850 Pass subject and body as explicit arguments to the -internal function.
2851
2852 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2853
2854 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2855 parsing them. This makes mailto:...?subject=foo\nbar work.
2856
2857 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * vc/diff.el (diff): Fix last change.
2860
2861 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2864 (pcase--dontcare-upats): New var.
2865 (pcase-let, pcase-let*): Generate better code.
2866 Accept the same bodies as `let'.
2867 (pcase-dolist): New macro.
2868 (pcase--trivial-upat-p): New helper function.
2869 (pcase--expand): Strip leading "(let nil" if any.
2870
2871 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2872
2873 * mail/mailclient.el (browse-url): Require.
2874 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2875 use the external browser function to send the mail (bug#7469).
2876
2877 * net/browse-url.el (browse-url-browser-function): Revert the
2878 default back to the previous value, since the new value broke
2879 mailclient.el.
2880 (browse-url-mailto-function): New variable for mailto: URLs.
2881 (browse-url): Use the new variable for mailto: URLs.
2882
2883 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2884
2885 * eshell/esh-cmd.el (eshell-parse-command):
2886 * eshell/esh-arg.el (eshell-parse-arguments):
2887 * eshell/em-script.el (eshell-source-file):
2888 Use with-silent-modifications.
2889
2890 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2891
2892 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2893 for a merge location.
2894
2895 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2896 (vc-bzr-merge-branch): Always prompt.
2897 (vc-bzr-async-command): Use the full branch filename.
2898
2899 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * shell.el (shell): Use current-buffer by default if it's already
2902 a shell mode buffer and its process is dead.
2903 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2904
2905 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2906
2907 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2908 Mention that the keywords should be comma separated.
2909
2910 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2911
2912 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2913 Accept optional prefix arg meaning to prompt for a command.
2914 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2915 prefix arg meaning to prompt for a command.
2916 (vc-pull): Alias for vc-update.
2917
2918 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2919 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2920 (vc-bzr-merge-branch): New functions, implementing merge-branch
2921 and pull operations.
2922
2923 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * Makefile.in: Fix up last merge.
2926
2927 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2928 (diff-sentinel): Get them as arguments instead.
2929 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2930 (diff-file-local-copy, diff-better-file-name): New funs.
2931 (diff-no-select): Rename from diff-into-buffer.
2932 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2933 Prefer closures to buffer-local variables.
2934 (diff): Adjust accordingly.
2935 (diff-buffer-with-file): Move from files.el.
2936 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2937 (diff-buffer-internal): Remove.
2938 (diff-buffer-buffer): Remove.
2939 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2940 the buffer name used, and so as not to mess up windows and frames.
2941
2942 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2943
2944 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2945 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2946 (diff-buffer-with-file): Use it.
2947 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2948 (diff): Use it.
2949
2950 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2951
2952 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2953 \ref's or \pageref's value as default instead of initial input.
2954
2955 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2956
2957 * files.el (backup-by-copying-when-mismatch): The default value is
2958 now t.
2959
2960 * startup.el (normal-top-level):
2961 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2962 `backup-by-copying-when-mismatch'.
2963
2964 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2965
2966 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2967
2968 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2969
2970 * progmodes/python.el (python-font-lock-keywords):
2971 Highlight top-level augmented assignments (Bug#6445).
2972
2973 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2974
2975 * term/ns-win.el (ns-right-control-modifier)
2976 (ns-right-command-modifier): Defvar them.
2977
2978 * cus-start.el (all): Add ns-right-control-modifier and
2979 ns-right-command-modifier (Bug#7458).
2980
2981 2010-11-20 Glenn Morris <rgm@gnu.org>
2982
2983 * emacs-lisp/authors.el (authors-ignored-files)
2984 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2985
2986 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2987
2988 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2989 (report-emacs-bug-parse-query-results)
2990 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2991 keywords used for querying the bug database to show them in the
2992 existing bugs buffer.
2993
2994 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2995
2996 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2997
2998 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2999
3000 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3001
3002 * international/characters.el (glyphless-char-display-control):
3003 Make it a defcustom, with update-glyphless-char-display as its
3004 :set attribute.
3005 (top level): Don't call update-glyphless-char-display.
3006
3007 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3008
3009 Sync with Tramp 2.2.0.
3010
3011 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3012 `file-remote-p' (due to compatibility).
3013
3014 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3015 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3016
3017 * net/trampver.el: Update release number.
3018
3019 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3020
3021 * faces.el (glyphless-char): Define value for `pc'.
3022
3023 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3024
3025 Implemented a bug querying mechanism.
3026 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3027 (report-emacs-bug-create-existing-bugs-buffer)
3028 (report-emacs-bug-parse-query-results)
3029 (report-emacs-bug-query-existing-bugs): New functions.
3030
3031 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3032
3033 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3034 a \ref{} or \pageref{} macro, then use its value as initial input.
3035
3036 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3037
3038 * calc/calc-units.el (math-build-units-table-buffer):
3039 calc/README: Mention that the TeX specific units won't use the
3040 `tex' prefix in TeX mode.
3041 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3042 prefix for units in TeX mode.
3043
3044 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * simple.el (kill-new, kill-append, kill-region):
3047 * comint.el (comint-kill-region): Make the yank-handler argument
3048 obsolete.
3049
3050 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3053 that are both openers (resp. closers) and something else.
3054 (smie-grammar): Loosen definition of valid values.
3055 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3056 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3057 (smie-indent-after-keyword): Adjust users.
3058 (smie-indent-keyword): Don't indent empty lines.
3059
3060 * vc-hg.el (vc-hg-program): New var.
3061 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3062 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3063
3064 2010-11-18 Glenn Morris <rgm@gnu.org>
3065
3066 * emacs-lisp/autoload.el (autoload-find-destination): The function
3067 coding-system-eol-type may return non-numeric values. (Bug#7414)
3068
3069 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3070
3071 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3072
3073 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3074
3075 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3076
3077 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3078
3079 * textmodes/picture.el (picture-mouse-set-point): Don't use
3080 posn-col-row; explicitly compute the motion based on the posn at
3081 the window-start (Bug#7390).
3082
3083 2010-11-18 Glenn Morris <rgm@gnu.org>
3084
3085 * novice.el (disabled-command-function):
3086 Fix 2009-11-15 change. (Bug#7384)
3087
3088 2010-11-18 Glenn Morris <rgm@gnu.org>
3089
3090 * calendar/calendar.el (diary-iso-date-forms): Make elements
3091 mutually exclusive. (Bug#7377)
3092
3093 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3096 when filling the remaining "unconstrained" values.
3097
3098 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3101 safety predicate.
3102
3103 * files.el (safe-local-variable-p): Gracefully handle errors.
3104
3105 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3106 Use smie-indent-virtual when indenting relative to an opener.
3107 (smie-rule-separator): Use smie-rule-parent.
3108 (smie-indent-keyword): Consult rules, even for openers at bol.
3109 (smie-indent-comment-close): Try to align closer's content.
3110
3111 2010-11-18 Glenn Morris <rgm@gnu.org>
3112
3113 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3114
3115 2010-11-18 Glenn Morris <rgm@gnu.org>
3116
3117 * printing.el (pr-menu-bind): Doc fix.
3118
3119 * speedbar.el (speedbar-toggle-images): Doc fix.
3120
3121 * progmodes/python.el (python-shell): Doc fix.
3122
3123 * wid-edit.el (widget-field-use-before-change)
3124 (widget-use-overlay-change): Doc fixes.
3125
3126 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 Minor cleanup to improve style.
3129 * textmodes/rst.el (rst-update-section): Use point-marker.
3130 (rst-get-decoration): Eliminate unneeded assignment.
3131 (rst-promote-region, rst-straighten-decorations)
3132 (rst-section-tree, rst-adjust): Use point-marker.
3133 (rst-toc-mode-mouse-goto): Avoid setq.
3134 (rst-shift-region-guts, rst-shift-region-left)
3135 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3136 (rst-convert-bullets-to-enumeration): Use copy-marker.
3137
3138 * minibuffer.el (completion-fail-discreetly): New var.
3139 (completion--do-completion): Use it.
3140
3141 * electric.el (electric-pair-pairs): New var.
3142 (electric-pair-post-self-insert-function): Use it.
3143 (electric-layout-post-self-insert-function): Don't insert a before
3144 newline unless it's actually needed.
3145
3146 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * progmodes/python.el (run-python): Explain why we remove the current
3149 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3150
3151 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3152
3153 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3156 (octave-mode-map): Don't bind ;, SPC, and LF.
3157 (octave-auto-indent, octave-auto-newline): Remove.
3158 (electric-layout-rules): Declare.
3159 (octave-mode): Set electric-layout-rules.
3160 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3161 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3162 (octave-electric-space): Remove.
3163
3164 * electric.el (electric-layout-mode): New minor mode.
3165 (electric--after-char-pos): New function.
3166 (electric-indent-post-self-insert-function): Use it.
3167 (electric-layout-rules): New var.
3168 (electric-layout-post-self-insert-function): New function.
3169 (electric-indent-mode): Make them interact better.
3170
3171 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3174 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3175 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3176
3177 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3178
3179 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3180 Make sure to check inside the word (Bug#6761).
3181
3182 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3183
3184 * startup.el (command-line): If the cursorColor resource is set,
3185 change the cursor face-spec (Bug#7392).
3186
3187 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3188
3189 The main features of the following allout.el changes are:
3190 - implement user customization for the allout key bindings
3191 - add a customization control by which the user can inhibit use of
3192 a trailing Ctrl-H, so by default it's reserved for use with
3193 describe-prefix-bindings
3194 - adapt to new version of called-interactively-p, while
3195 maintaining backwards compatibility with old version
3196 - fix hotspot navigation so i works properly with meta-modified keys
3197
3198 * allout.el (allout-keybindings, allout-bind-keys)
3199 (allout-keybindings-binding, allout-prefixed-keybindings)
3200 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3201 (allout-keybindings-list, allout-mode-map-adjustments)
3202 (allout-setup-mode-map): Establish allout-mode keymaps as user
3203 customizable settings, and also establish a customizable setting which
3204 regulates whether or not a trailing control-h is reserved for use with
3205 describe-prefix-bindings - and inhibit it by default, so that control-h
3206 *is* reserved for describe-prefix-bindings unless the user changes it.
3207
3208 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3209 and accurately between modified and unmodified events, and handle
3210 modified events more comprehensively.
3211
3212 * allout.el (allout-substring-no-properties):
3213 Alias to use or provide version of `substring-no-properties'.
3214 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3215
3216 * allout.el (allout-next-single-char-property-change):
3217 Alias to use or provide version of `next-single-char-property-change'.
3218 (allout-annotate-hidden, allout-hide-by-annotation):
3219 Use `allout-next-single-char-property-change'.
3220
3221 * allout.el (allout-select-safe-coding-system):
3222 Alias to use or provide version of `select-safe-coding-system'.
3223 (allout-toggle-subtree-encryption):
3224 Use `allout-select-safe-coding-system'.
3225
3226 * allout.el (allout-set-buffer-multibyte):
3227 Alias to use or provide version of `set-buffer-multibyte'.
3228 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3229
3230 * allout.el (allout-called-interactively-p): Macro for using the
3231 different versions of called-interactively-p identically, depending on
3232 the subroutine's argument signature.
3233 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3234 Use `(interactive "p")' instead of `(called-interactively-p)'.
3235
3236 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3237 (allout-previous-visible-heading, allout-forward-current-level)
3238 (allout-backward-current-level, allout-show-children):
3239 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3240
3241 * allout.el (allout-before-change-handler):
3242 Exempt edits to the (overlaid) character after the allout outline
3243 bullet from edit confirmation prompt.
3244
3245 * allout.el (allout-add-resumptions):
3246 Ensure that it respects correct buffer for keybindings.
3247
3248 * allout.el (allout-beginning-of-line):
3249 Use `allout-previous-single-char-property-change' alias for the sake of
3250 diverse compatibility.
3251
3252 * allout.el (allout-end-of-line):
3253 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3254
3255 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3256
3257 * frame.el (frame-notice-user-settings): Don't clobber other
3258 user-set parameters when calling face-set-after-frame-default in
3259 response to background-color parameter (Bug#7373).
3260
3261 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3262
3263 * international/characters.el (glyphless-char-display-control):
3264 Rename from glyphless-char-control; all users changed. Doc fix.
3265 Signal an error if display method is not one of the recognized
3266 symbols.
3267
3268 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3271 (tramp-compat-line-end-position): Remove them.
3272
3273 * net/tramp.el (tramp-parse-rhosts-group)
3274 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3275 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3276 (tramp-parse-netrc-group, tramp-parse-putty-group)
3277 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3278 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3279 (tramp-sh-handle-file-selinux-context)
3280 (tramp-sh-handle-file-name-all-completions)
3281 (tramp-sh-handle-insert-directory)
3282 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3283 (tramp-wait-for-output, tramp-send-command-and-read)
3284 * net/tramp-smb.el (tramp-smb-read-file-entry)
3285 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3286
3287 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3288 `point-at-bol'.
3289 (tramp-remote-coding-commands): Add an alternative using "base64
3290 -d -i". This is needed for older base64 versions from GNU
3291 coreutils. Reported by Klaus Reichl
3292 <Klaus.Reichl@thalesgroup.com>.
3293
3294 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3295
3296 * simple.el (count-words-region): New function.
3297
3298 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * shell.el (shell-dir-cookie-re): New custom variable.
3301 (shell-dir-cookie-watcher): New function.
3302
3303 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3304 and compilation-mode (bug#7350).
3305
3306 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3307 highlight when one of them is empty.
3308
3309 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3310 trailing space.
3311 (skeleton-newline): New function.
3312 (skeleton-internal-1): Use it.
3313
3314 * simple.el (open-line): `newline' may strip trailing space.
3315
3316 2010-11-12 Kevin Ryde <user42@zip.com.au>
3317
3318 * international/mule-cmds.el (princ-list): Use mapc.
3319
3320 2010-11-12 Glenn Morris <rgm@gnu.org>
3321
3322 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3323 Use it to replace all instances of "*Compile-Log*"
3324
3325 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3328 indentation specs.
3329
3330 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * progmodes/modula2.el: Use SMIE and skeleton.
3333 (m2-mode-syntax-table): (*..*) can be nested.
3334 Add //...\n. Fix paren syntax.
3335 (m2-mode-map): Remove LF and TAB bindings.
3336 (m2-indent): Add safety property.
3337 (m2-smie-grammar): New var.
3338 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3339 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3340 (m2-mode): Use define-derived-mode.
3341 (m2-newline, m2-tab): Remove.
3342 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3343 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3344 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3345 (m2-import): Use define-skeleton.
3346
3347 2010-11-11 Glenn Morris <rgm@gnu.org>
3348
3349 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3350
3351 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3352 (ls-lisp-verbosity): Add custom :set-after property.
3353 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3354 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3355 (ls-lisp-insert-directory): Update caller.
3356 (ls-lisp-set-options): New function.
3357 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3358 Doc fix.
3359
3360 * play/landmark.el (lm-prompt-for-move):
3361 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3362
3363 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3364
3365 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3366 (idlwave-study-twins): Prefix dynamic local variable `name'.
3367 (idlwave-routine-twin-compare): Update for above change.
3368
3369 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3370 Prefix dynamic local variables `name', `kwd', and `link'.
3371 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3372 * progmodes/idlw-complete-structtag.el
3373 (idlwave-complete-structure-tag-help):
3374 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3375 (idlwave-complete-sysvar-tag-help)
3376 (idlwave-complete-class-structure-tag-help):
3377 Update for above name changes.
3378
3379 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3380
3381 * net/browse-url.el (browse-url-browser-function): Change the
3382 default to use `browse-url-mail' on mailto: URLs.
3383
3384 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3385
3386 * emacs-lisp/package.el (package-read-all-archive-contents):
3387 Reset package-archive-contents to nil before re-reading.
3388
3389 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3390
3391 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3392 already found as misspellings by (flyspell-large-region), just
3393 do highlighting (bug#7322).
3394
3395 2010-11-10 Glenn Morris <rgm@gnu.org>
3396
3397 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3398
3399 * emulation/edt.el (edt-with-position): New macro.
3400 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3401 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3402 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3403
3404 * emulation/tpu-extras.el (tpu-with-position): New macro.
3405 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3406
3407 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3408
3409 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3410 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3411 (texinfo-master-menu, texinfo-insert-node-lines)
3412 (texinfo-multiple-files-update):
3413 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3414 Use line-beginning-position.
3415
3416 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3417 No recent Emacs supports system-type `emx'.
3418
3419 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3420 (ada-command-separator, ada-default-prj-properties)
3421 (ada-find-any-references): Update for above name change.
3422
3423 * dirtrack.el (dirtrack-directory-function)
3424 (dirtrack-canonicalize-function):
3425 * filecache.el (file-cache-completion-ignore-case)
3426 (file-cache-case-fold-search, file-cache-ignore-case):
3427 * term.el (serial-port-is-file-p): Cosmetic change.
3428
3429 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3430 Remove non-existent `windows-95' system-type.
3431 * dired.el (dired-chown-program): Remove non-existent `linux'
3432 system-type.
3433
3434 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3435 (ping-program-options): Remove non-existent `linux' system-type.
3436
3437 * startup.el (package-initialize): Update declaration.
3438
3439 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3440 (ls-lisp-handle-switches): Use time-less-p.
3441 (ls-lisp-format-time): Use float-time.
3442
3443 * textmodes/remember.el (remember-time-to-seconds): Remove.
3444 (remember-store-in-mailbox): Use float-time.
3445
3446 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3447
3448 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3449 never a real function.
3450 (with-no-warnings): Remove compat stub, now unused.
3451 (time-less-p): Doc fix.
3452 (time-to-number-of-days): Simplify.
3453
3454 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3455 Remove.
3456 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3457 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3458 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3459 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3460 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3461
3462 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3463 (eshell-shuffle-files, eshell-shorthand-tar-command)
3464 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3465 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3466 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3467 Prefix dynamic local variable `matches'.
3468
3469 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3470 Prefix dynamic local variable `skeleton'.
3471
3472 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3473
3474 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3475 in mail buffer; make yank-action always a command that yanks original
3476 buffer.
3477
3478 2010-11-09 Glenn Morris <rgm@gnu.org>
3479
3480 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3481
3482 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3485 completion field (bug#7211).
3486
3487 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3488 Fix handling of backslash escapes.
3489 (python-quote-syntax): Adjust accordingly.
3490
3491 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3492
3493 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3494 (vc-mtn-workfile-branch): Adjust to new output format.
3495
3496 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * international/mule-cmds.el (princ-list): Mark as obsolete.
3499
3500 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3501
3502 * emacs-lisp/smie.el: New package.
3503
3504 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3505
3506 * files.el (backup-by-copying-when-mismatch):
3507 Set `permanent-local' property.
3508
3509 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3510 `permanent-local' property for `backup-by-copying-when-mismatch'.
3511
3512 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3513
3514 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3515
3516 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3517
3518 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3519 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3520 AUTOINOUT for SV style multidimensional arrays, bug294.
3521 Reported by Eric Mastromarchi.
3522 (verilog-preprocess): Use with-current-buffer and
3523 font-lock-fontify-buffer to cleanup style issues.
3524
3525 2010-11-09 Glenn Morris <rgm@gnu.org>
3526
3527 * locate.el (locate, locate-mode): Doc fixes.
3528
3529 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3530
3531 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3532 user for confirmation.
3533 (server-force-stop): Use it.
3534 (server-start): Use server-force-stop for kill-emacs-hook, to
3535 avoid user interaction while killing Emacs.
3536
3537 2010-11-09 Glenn Morris <rgm@gnu.org>
3538
3539 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3540 (meta-indent-line): Simplify.
3541
3542 * vc/emerge.el (emerge-line-number-in-buf):
3543 * textmodes/ispell.el (ispell-region):
3544 * textmodes/fill.el (current-fill-column):
3545 * progmodes/xscheme.el (xscheme-send-current-line):
3546 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3547 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3548 * progmodes/sh-script.el (sh-handle-prev-do):
3549 * progmodes/meta-mode.el (meta-indent-line):
3550 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3551 (idlwave-in-quote):
3552 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3553 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3554 * progmodes/fortran.el (fortran-looking-at-if-then):
3555 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3556 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3557 (cperl-find-pods-heres):
3558 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3559 * net/quickurl.el (quickurl-list-insert):
3560 * net/ldap.el (ldap-search-internal):
3561 * net/eudc.el (eudc-expand-inline):
3562 * mail/sendmail.el (sendmail-send-it):
3563 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3564 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3565 (viper-brac-function):
3566 * calc/calc-yank.el (calc-do-grab-region):
3567 * calc/calc-keypd.el (calc-keypad-press):
3568 * term.el (term-move-columns, term-insert-spaces):
3569 * speedbar.el (speedbar-highlight-one-tag-line):
3570 * simple.el (current-word):
3571 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3572 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3573 (Info-scroll-down):
3574 * hippie-exp.el (he-line-beg):
3575 * epa.el (epa--marked-keys):
3576 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3577 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3578 (dired-relist-entry):
3579 * buff-menu.el (Buffer-menu-buffer):
3580 * array.el (current-line):
3581 * allout.el (allout-resolve-xref)
3582 (allout-latex-verbatim-quote-curr-line):
3583 Replace yet more uses of end-of-line etc with line-end-position, etc.
3584
3585 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3588 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3589 (checkdoc-syntax-table): Initialize in the declaration.
3590 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3591 the mode on unconditionally.
3592
3593 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3594 (extent-end-position, extent-start-position): Remove setf method for
3595 non-existing functions (bug#7319).
3596
3597 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3598
3599 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3600 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3601 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3602 (smie-prec2->grammar): Rename from smie-prec2-levels.
3603 (smie-grammar): Rename from smie-op-levels.
3604 (smie-indent--hanging-p): Rename from smie-hanging-p.
3605 (smie-rule-hanging-p): New alias.
3606 (smie-indent--bolp): Rename from smie-bolp.
3607 (smie-indent--hanging-p): New alias.
3608 (smie--token): New dynamically bound variable.
3609 (smie-indent--parent): New function.
3610 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3611 (smie-rule-next-p): Rename from smie-next-p.
3612 (smie-rule-prev-p): Rename from smie-prev-p.
3613 (smie-rule-sibling-p, smie-rule-parent)
3614 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3615 (smie-rule-separator-outdent): New var.
3616 (smie-indent--rule): Merge with smie-indent--column.
3617 (smie-indent-forward-token, smie-indent-backward-token):
3618 Also recognize close parens.
3619 (smie-indent-keyword): Don't use smie-indent--column any more.
3620 (smie-indent-after-keyword): Ignore closers by default.
3621 (smie-indent-line): Use with-demoted-errors.
3622 * progmodes/octave-mod.el (octave-smie-grammar):
3623 Rename from octave-smie-op-levels.
3624 (octave-smie-rules): Adjust to new behavior.
3625 * progmodes/prolog.el (prolog-smie-grammar):
3626 Rename from prolog-smie-op-levels.
3627
3628 2010-11-07 Glenn Morris <rgm@gnu.org>
3629
3630 * eshell/esh-util.el (subst-char-in-string)
3631 (directory-files-and-attributes): These compatibility definitions are
3632 not needed on any version of Emacs since at least 21.4.
3633
3634 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3635 (verilog-get-end-of-line): Remove.
3636 (verilog-within-string, verilog-re-search-forward-substr)
3637 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3638 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3639 Use point-at-bol, point-at-eol.
3640 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3641 Remove.
3642 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3643 (electric-pascal-terminate-line, pascal-set-auto-comments)
3644 (pascal-indent-paramlist, pascal-indent-declaration)
3645 (pascal-get-lineup-indent, pascal-func-completion)
3646 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3647 Use point-at-bol, point-at-eol.
3648 * progmodes/flymake.el (flymake-line-beginning-position)
3649 (flymake-line-end-position): Remove.
3650 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3651 * eshell/esh-util.el (line-end-position, line-beginning-position):
3652 Remove compat definitions.
3653
3654 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3655 Use end-of-line N.
3656 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3657 Use line-end-position.
3658
3659 * emacs-lisp/chart.el (chart-zap-chars):
3660 * play/decipher.el (decipher-set-map):
3661 * progmodes/ada-mode.el (ada-get-current-indent)
3662 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3663 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3664 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3665 (ada-get-all-references):
3666 * progmodes/cperl-mode.el (cperl-electric-paren)
3667 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3668 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3669 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3670 (cperl-word-at-point-hard):
3671 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3672 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3673 (idlwave-shell-display-line):
3674 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3675 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3676 * progmodes/js.el (js--re-search-forward-inner)
3677 (js--re-search-backward-inner):
3678 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3679 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3680 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3681 * textmodes/flyspell.el (flyspell-process-localwords):
3682 * textmodes/ispell.el (ispell-buffer-local-parsing)
3683 (ispell-buffer-local-dict, ispell-buffer-local-words):
3684 Use point-at-bol and point-at-eol.
3685
3686 * speedbar.el (speedbar-generic-item-info)
3687 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3688 (speedbar-add-indicator, speedbar-check-vc-this-line)
3689 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3690 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3691 Replace more uses of end-of-line etc with line-end-position.
3692
3693 2010-11-06 Glenn Morris <rgm@gnu.org>
3694
3695 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3696 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3697 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3698 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3699 (texinfo-multiple-files-update):
3700 * textmodes/table.el (table--probe-cell-left-up)
3701 (table--probe-cell-right-bottom):
3702 * textmodes/picture.el (picture-tab-search):
3703 * textmodes/page-ext.el (pages-copy-header-and-position)
3704 (pages-directory-for-addresses):
3705 * progmodes/vera-mode.el (vera-get-offset):
3706 * progmodes/simula.el (simula-calculate-indent):
3707 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3708 * progmodes/prolog.el (end-of-prolog-clause):
3709 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3710 * progmodes/icon.el (indent-icon-exp):
3711 * progmodes/etags.el (tag-re-match-p):
3712 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3713 * progmodes/ebnf2ps.el (ebnf-begin-file):
3714 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3715 (dcl-save-local-variable):
3716 * play/life.el (life-setup):
3717 * play/gametree.el (gametree-looking-at-ply):
3718 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3719 * mail/sendmail.el (mail-mode-auto-fill):
3720 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3721 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3722 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3723 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3724 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3725 * type-break.el (type-break-file-keystroke-count):
3726 * term.el (term-replace-by-expanded-history-before-point)
3727 (term-skip-prompt, term-extract-string):
3728 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3729 (speedbar-contract-line, speedbar-toggle-line-expansion)
3730 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3731 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3732 * sort.el (sort-skip-fields):
3733 * skeleton.el (skeleton-internal-list):
3734 * simple.el (line-move-finish, line-move-to-column):
3735 * shell.el (shell-forward-command):
3736 * misc.el (copy-from-above-command):
3737 * makesum.el (double-column):
3738 * ebuff-menu.el (electric-buffer-update-highlight):
3739 * dired.el (dired-move-to-end-of-filename):
3740 * dframe.el (dframe-popup-kludge):
3741 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3742 * arc-mode.el (archive-get-lineno):
3743 Use line-end-position and line-beginning-position.
3744
3745 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3746 (idlwave-study-twins): Prefix dynamic local `class'.
3747 (idlwave-routine-twin-compare): Update for above name change.
3748
3749 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3750 Use boundp tests to silence compiler. Update for changed name of
3751 bytecomp-filename variable.
3752
3753 * emulation/viper-cmd.el (viper-read-string-with-history):
3754 Prefix dynamic local `initial'.
3755 (viper-minibuffer-standard-hook): Update for above name change.
3756
3757 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3758 (elint-init-form): Update for above name change.
3759
3760 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3761 local variables `cbeg' and `cend' a prefix.
3762 (mail-extr-voodoo): Update for above name change.
3763
3764 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3765 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3766 (reftex-toc-promote-action): Doc fix.
3767
3768 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3769 `prompt', `data' a prefix.
3770 (reftex-select-post-command-hook, reftex-select-callback)
3771 (reftex-select-mouse-accept, reftex-select-read-cite):
3772 Update for above name changes.
3773
3774 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3775 `refstyle' to reftex-refstyle.
3776 (reftex-offer-label-menu): Update for above name change.
3777 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3778 `refstyle' name change.
3779
3780 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3781 with with-current-buffer.
3782 (diff, template): Give dynamic local variables a prefix.
3783 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3784 (emerge-line-number-in-buf): Update for above name change.
3785 (emerge-combine-versions-internal): Rename local `template' to
3786 emerge-combine-template.
3787 (emerge-combine-versions-edit): Update for above name change.
3788
3789 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3790
3791 * textmodes/reftex-cite.el
3792 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3793 entries with whitespace after \bibitem.
3794 (reftex-create-bibtex-file): Match entries containing numbers and
3795 symbol constituents. Make sure that entries with whitespace at
3796 various places are found.
3797
3798 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3799
3800 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3801
3802 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3803
3804 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3805
3806 2010-11-05 Glenn Morris <rgm@gnu.org>
3807
3808 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3809 (woman2-roff-buffer): Give local variable `request' a prefix.
3810 (woman0-macro): Rename argument `request' in the same way.
3811 (woman-request): New name for `request' dynamic variable.
3812 (woman-unquote, woman-forward-arg): Update for above name change.
3813 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3814 (woman1-unquote): New name for `unquote' dynamic variable.
3815 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3816 (woman-translations): Rename from `translations'. No longer global.
3817 (woman2-tr, woman-translate): Update for above name change.
3818 (woman-translate): Check for bound variable.
3819 (woman2-roff-buffer): Give local variable `translations' a prefix.
3820
3821 * play/doctor.el: Give all local variables a prefix. Update callers.
3822 (doc$, doctor-put-meaning): Use backquote.
3823
3824 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3825 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3826
3827 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3828 variables bytes, ptr, op a prefix.
3829 (disassemble-offset): Update for above change.
3830
3831 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3832
3833 * emacs-lisp/package.el (package-unpack): Remove no-op.
3834 (package--builtins, package--dir): Doc fix.
3835 (package-activate-1, package-activate, package-install)
3836 (package-compute-transaction): Fix error message.
3837 (package-delete): Use delete-directory. Omit system packages.
3838 (package-initialize): Set package-alist to nil first.
3839 (package-menu-mark-delete, package-menu-mark-install): Don't add
3840 symbols that are inconsistent with the package state.
3841 (package-menu-execute): Perform deletions and installations as
3842 single batch operations.
3843
3844 2010-11-03 Glenn Morris <rgm@gnu.org>
3845
3846 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3847 (props): Remove unnecessary declaration.
3848
3849 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3850 set-process-query-on-exit-flag.
3851
3852 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3853 (reftex-toc-do-promote): Remove unused local `mpos'.
3854 (reftex-toc-restore-region): Make `mpos' local to this function.
3855
3856 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3857
3858 * play/landmark.el (lm-losing-threshold): Correct spelling.
3859 (lm-human-plays): Use new name.
3860
3861 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3862 (gomoku-human-plays): Use new name.
3863
3864 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3865 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3866 (gomoku-score-trans-table, gomoku-winning-threshold)
3867 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3868
3869 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3870
3871 * emacs-lisp/package.el: Don't put built-in packages in
3872 package-alist, to avoid loading inefficiencies.
3873 (package-built-in-p): Make VERSION optional, and treat it as a
3874 minimum acceptable version.
3875 (package-activate): Search separately for built-in packages.
3876 Emit a warning if a dependency fails.
3877 (define-package): Handle most common case, where there is no
3878 obsolete package, first.
3879 (package-compute-transaction): Print required version in error.
3880 (package--initialized): New variable.
3881 (list-packages): Use it.
3882 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3883 built-in packages in packages-alist; keep it separate.
3884 Set package--initialized.
3885 (describe-package): Avoid activating packages as a side-effect.
3886 Search separately for built-in packages.
3887 (describe-package-1): Handle the case where an elpa package is
3888 simultaneously built-in and available/installed.
3889 (package-installed-p, package--generate-package-list):
3890 Search separately for built-in packages.
3891 (package-load-descriptor): Doc fix.
3892
3893 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3896 Handle __DATA__ and __END__.
3897
3898 2010-11-02 Noah Friedman <friedman@splode.com>
3899
3900 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3901 nil, do not ask to recompile files that are not already compiled,
3902 and do not recompile them.
3903
3904 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3905
3906 * emacs-lisp/package.el (package-initialize): Ensure that
3907 obsoleted built-in packages are not in package-activated-list
3908 during activation.
3909 (describe-package-1): Make the "installed" status override
3910 "built-in".
3911
3912 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3913
3914 * subr.el (version-separator, version-regexp-alist): Remove '*'
3915 from docstring.
3916 (version-list-<=, version<=, version=): Doc fix.
3917
3918 2010-11-01 Kenichi Handa <handa@m17n.org>
3919
3920 * faces.el (glyphless-char): Inherit underline for tty.
3921
3922 2010-11-01 Kenichi Handa <handa@m17n.org>
3923
3924 Implement various display methods for glyphless characters.
3925
3926 * international/characters.el (char-acronym-table): New variable.
3927 (glyphless-char-control): New variable.
3928 (update-glyphless-char-display): New function.
3929
3930 * faces.el (glyphless-char): New face.
3931
3932 2010-11-01 Glenn Morris <rgm@gnu.org>
3933
3934 * calendar/holidays.el (general-holidays, oriental-holidays)
3935 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3936 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3937 the definitions of their targets.
3938
3939 * emacs-lisp/smie.el (smie): New custom group.
3940 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3941
3942 * faces.el (xw-defined-colors, x-setup-function-keys):
3943 * mouse-sel.el (x-select-text):
3944 * term/w32console.el (x-setup-function-keys): Update declarations.
3945
3946 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3947
3948 * textmodes/ispell.el (comment-add): Declare.
3949
3950 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3951 Declare.
3952
3953 * info.el (finder-keywords-hash, package-alist): Declare.
3954
3955 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3956
3957 * finder.el (finder-compile-keywords): Don't use intern-soft,
3958 since package names may not yet exist in the obarray.
3959
3960 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3961
3962 * vc/vc-arch.el (vc-arch-checkin):
3963 * vc/vc-cvs.el (vc-cvs-checkin):
3964 * vc/vc-mtn.el (vc-mtn-checkin):
3965 * vc/vc-rcs.el (vc-rcs-checkin):
3966 * vc/vc-sccs.el (vc-sccs-checkin):
3967 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3968 since 2010-04-21 commit by Stefan Monnier.
3969
3970 2010-11-01 Glenn Morris <rgm@gnu.org>
3971
3972 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3973
3974 * startup.el (package-enable-at-startup, package-initialize):
3975 Silence compiler.
3976
3977 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3978 Silence compiler.
3979
3980 2010-10-31 Julien Danjou <julien@danjou.info>
3981
3982 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3983 (byte-recompile-directory):
3984 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3985 Use `byte-recompile-file'.
3986
3987 2010-10-31 Glenn Morris <rgm@gnu.org>
3988
3989 * cus-start.el: Handle standard values via a keyword.
3990 Only set version property if specified.
3991 (cursor-in-non-selected-windows, menu-bar-mode)
3992 (tool-bar-mode, show-trailing-whitespace):
3993 Do not specify standard values.
3994 (transient-mark-mode, temporary-file-directory): Use :standard.
3995
3996 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3997
3998 * term/x-win.el (x-get-selection-value): New function that gets
3999 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4000
4001 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4002
4003 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4004 preserve owner and group when editing files. (Bug#7289)
4005
4006 2010-10-31 Glenn Morris <rgm@gnu.org>
4007
4008 * speedbar.el (speedbar-mode):
4009 * play/fortune.el (fortune-in-buffer, fortune):
4010 * play/gomoku.el (gomoku-mode):
4011 * play/landmark.el (lm-mode):
4012 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4013 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4014
4015 * select.el (x-selection): Mark it as an obsolete alias.
4016
4017 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4018
4019 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4020 major-mode (bug#7284).
4021
4022 2010-10-31 Glenn Morris <rgm@gnu.org>
4023
4024 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4025 rather than just an unused variable that inherits from the real one.
4026
4027 2010-10-31 Alan Mackenzie <acm@muc.de>
4028
4029 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4030 This fixes bug #7185.
4031
4032 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4033
4034 * startup.el (command-line): Search for package directories, and
4035 don't load package.el if none are found.
4036
4037 * emacs-lisp/package.el (describe-package, list-packages):
4038 Call package-initialize if it has not been called yet.
4039
4040 2010-10-30 Alan Mackenzie <acm@muc.de>
4041
4042 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4043 which fontifies the tail of an enum.
4044 (c-basic-matchers-after): Insert a call to the above new function.
4045 This fixes bug #7264.
4046
4047 2010-10-30 Glenn Morris <rgm@gnu.org>
4048
4049 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4050 tool-bar-mode, transient-mark-mode. (Bug#7306)
4051 Include the :set property in the dumped Emacs.
4052
4053 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 SMIE: change indent rules format, improve smie-setup.
4056 * emacs-lisp/smie.el (smie-precs-precedence-table)
4057 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4058 Mark them pure so the tables gets built at compile time.
4059 (smie-bnf-precedence-table): Store the closer-alist in the table.
4060 (smie-prec2-levels): Preserve the closer-alist.
4061 (smie-blink-matching-open): Be more forgiving in case of indentation.
4062 (smie-hanging-p): Rename from smie-indent--hanging-p.
4063 (smie-bolp): Rename from smie-indent--bolp.
4064 (smie--parent, smie--after): New dynamic vars.
4065 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4066 (smie-indent-rules): Remove.
4067 (smie-indent--offset-rule): Remove fun.
4068 (smie-rules-function): New var.
4069 (smie-indent--rule): New fun.
4070 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4071 (smie-indent-exps): Use it.
4072 (smie-setup): Setup paren blinking; add keyword args for token
4073 functions; extract closer-alist from op-levels.
4074 (smie-indent-debug-log): Remove var.
4075 (smie-indent-debug): Remove fun.
4076 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4077 (prolog-smie-rules): New fun to replace it.
4078 (prolog-mode-variables): Simplify.
4079 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4080 it's setup automatically.
4081 (octave-smie-indent-rules): Remove.
4082 (octave-smie-rules): New fun to replace it.
4083 (octave-mode): Simplify.
4084
4085 2010-10-29 Glenn Morris <rgm@gnu.org>
4086
4087 * files.el (temporary-file-directory): Remove (already defined in C).
4088 * cus-start.el: Add temporary-file-directory.
4089
4090 * abbrev.el (abbrev-mode):
4091 * composite.el (auto-composition-mode):
4092 * menu-bar.el (menu-bar-mode):
4093 * simple.el (transient-mark-mode):
4094 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4095 that they do not define the associated variables twice.
4096 * simple.el (transient-mark-mode): Remove defvar.
4097 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4098 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4099 Handle multiple groups, and also custom-delayed-init-variables.
4100 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4101
4102 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4105 (pcase-if): Add one minor optimization.
4106 (pcase-split-equal): Rename from pcase-split-eq.
4107 (pcase-split-member): Rename from pcase-split-memq.
4108 (pcase-u1): Add strings to the member optimization.
4109 Add `guard' variant of predicates.
4110 (pcase-q1): Add string patterns.
4111
4112 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4115
4116 2010-10-28 Glenn Morris <rgm@gnu.org>
4117
4118 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4119 Move menu-bar related settings to ../menu-bar.el.
4120 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4121 Move ns-specific settings here from term/ns-win.el.
4122
4123 * simple.el (x-selection-owner-p): Remove unused declaration.
4124
4125 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * minibuffer.el (completion-cycling): New var (bug#7266).
4128 (minibuffer-complete, completion--do-completion):
4129 Use completion--flush-all-sorted-completions.
4130 (minibuffer-complete): Only cycle if completion-cycling is set.
4131 (completion--flush-all-sorted-completions): Unset completion-cycling.
4132 (minibuffer-force-complete): Set completion-cycling.
4133 (completion-all-sorted-completions): Move declaration before first use.
4134
4135 2010-10-28 Leo <sdl.web@gmail.com>
4136
4137 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4138 which changes the order of matches seen by users (bug#7231).
4139
4140 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4141
4142 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4143 Don't confuse -omega as "-o mega".
4144
4145 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4146
4147 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4148 (log-edit-author): New dynamic var.
4149 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4150 to return the author if different from committer.
4151 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4152
4153 * play/landmark.el: Adjust commenting convention.
4154 (lm-nil-score): Rename from nil-score.
4155 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4156 (OOOOscore): Move into a let in lm-score-trans-table.
4157 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4158
4159 * electric.el (electric-indent-chars): Autoload.
4160 * progmodes/octave-mod.el (octave-mode):
4161 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4162 (ruby-mode-abbrev-table): Merge initialization and declaration.
4163
4164 2010-10-27 Glenn Morris <rgm@gnu.org>
4165
4166 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4167 variable.
4168
4169 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4170
4171 * term/ns-win.el: Restore require of cl when compiling.
4172 (menu-bar-final-items): Remove non-existent `windows' menu.
4173 (ns-handle-nxopen): Optionally handle the temp-case.
4174 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4175 (ns-insert-file, ns-find-file): Use `pop'.
4176
4177 2010-10-26 Glenn Morris <rgm@gnu.org>
4178
4179 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4180
4181 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4182
4183 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4184 global map.
4185 * term/common-win.el (x-setup-function-keys): Remove most of the
4186 keymappings. Comment on the remaining ones.
4187
4188 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4189
4190 * server.el (server-port): New option. (Bug#854)
4191 (server-start): Use server-port.
4192
4193 2010-10-26 Glenn Morris <rgm@gnu.org>
4194
4195 * term/ns-win.el (ns-version-string): Remove unused declaration.
4196 (ns-invocation-args): Change to x-invocation-args.
4197 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4198 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4199 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4200 Use x-invocation-args instead of ns-invocation-args.
4201 (ns-initialize-window-system, handle-args-function-alist):
4202 Use x-handle-args instead of ns-handle-args.
4203 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4204 * startup.el (command-line-ns-option-alist): Replace
4205 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4206 ns-handle-iconic with the x- equivalents.
4207
4208 * term/common-win.el (x-select-enable-clipboard):
4209 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4210
4211 * term/ns-win.el: No need to require cl when compiling.
4212 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4213 (xw-defined-colors): Use the common-win definitions.
4214 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4215 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4216 * term/common-win.el (x-select-text, x-alternatives-map)
4217 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4218 * loadup.el [ns]: Load common-win.
4219
4220 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4221
4222 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4223 recipients; expand mail aliases (Bug#7280).
4224
4225 2010-10-25 Glenn Morris <rgm@gnu.org>
4226
4227 * term/common-win.el (x-handle-switch): Simplify with pop.
4228 Optionally handle numeric switches.
4229 (x-handle-numeric-switch): Just call x-handle-switch.
4230 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4231 (x-handle-name-switch, x-handle-display, x-handle-args):
4232 Simplify with pop.
4233
4234 * term/ns-win.el: Do not require easymenu.
4235 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4236 <spell>: Move adjustments to menu-bar.el.
4237 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4238 <separator-undo, spell>: Move ns-win's adjustments here.
4239 * loadup.el [ns]: Do not load easymenu.
4240
4241 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4242
4243 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4244 Delete (Bug#7222).
4245
4246 * startup.el (fancy-startup-tail): Instead of using inline images,
4247 refer to image files from etc/.
4248
4249 * wid-edit.el (checkbox): Likewise.
4250 (widget-image-find): Center image specs.
4251
4252 2010-10-24 Glenn Morris <rgm@gnu.org>
4253
4254 * term/ns-win.el (x-select-text): Doc fix.
4255 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4256 (x-select-text): Move to term/common-win.
4257 * term/w32-win.el (xw-defined-colors): Move to common-win.
4258 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4259 (x-setup-function-keys, x-select-text): Move to common-win.
4260 * term/common-win.el (x-select-text, x-alternatives-map)
4261 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4262 definitions here.
4263
4264 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4265
4266 * net/mairix.el (mairix-searches-mode-map):
4267 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4268
4269 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4270
4271 * verilog-mode.el (verilog-directive-re): Make this variable
4272 auto-built for efficiency of execution and updating.
4273 (verilog-extended-complete-re): Support 'pure' fucntion & task
4274 declarations (these have no bodies).
4275 (verilog-beg-of-statement): General cleanup to enable support of
4276 'pure' fucntion & task declarations (these have no bodies).
4277 These efforts together fix Verilog bug210 from veripool; which was also
4278 noticed by Steve Pearlmutter.
4279 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4280 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4281 Support `elsif. Reported by Shankar Giri.
4282 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4283 attribute handling for lining up declarations and assignments.
4284 (verilog-beg-of-statement-1): Fix issue where continued declaration
4285 is indented differently if it is after a begin..end clock.
4286 (verilog-in-attribute-p, verilog-skip-backward-comments)
4287 (verilog-skip-forward-comment-p): Support proper treatment of
4288 attributes by indent code. Reported by Jeff Steele.
4289 (verilog-in-directive-p): Fix comment to correctly describe function.
4290 (verilog-backward-up-list, verilog-in-struct-region-p)
4291 (verilog-backward-token, verilog-in-struct-p)
4292 (verilog-in-coverage-p, verilog-do-indent)
4293 (verilog-pretty-declarations): Use verilog-backward-up-list as
4294 wrapper around backward-up-list inorder to properly skip comments.
4295 Reported by David Rogoff.
4296 (verilog-property-re, verilog-endcomment-reason-re)
4297 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4298 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4299 of if). Reported by Max Bjurling and
4300 (verilog-calc-1): Fix for clocking block in modport
4301 declaration. Reported by Brian Hunter.
4302
4303 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4304
4305 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4306 (verilog-gate-keywords, verilog-read-sub-decls)
4307 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4308 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4309 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4310 (verilog-read-decls): Fix spaces in V2K module parameters causing
4311 mis-identification as interfaces, bug287.
4312 (verilog-read-decls): Fix not treating "parameter string" as a
4313 parameter in AUTOINSTPARAM.
4314 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4315 treating `elsif similar to `endif inside AUTOSENSE.
4316 (verilog-do-indent): Implement correct automatic or static task or
4317 function end comment highlight. Reported by Steve Pearlmutter.
4318 (verilog-font-lock-keywords-2): Fix highlighting of single
4319 character pins, bug264. Reported by Michael Laajanen.
4320 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4321 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4322 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4323 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4324 (verilog-pretty-expr): Fix interactive arguments, bug272.
4325 Reported by Mark Johnson.
4326 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4327 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4328 bug269. Suggested by Gary Delp.
4329 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4330 (verilog-preprocessor, verilog-set-compile-command):
4331 Create verilog-preprocess and verilog-preprocessor to show
4332 preprocessed output.
4333 (verilog-get-beg-of-line, verilog-get-end-of-line)
4334 (verilog-modi-file-or-buffer, verilog-modi-name)
4335 (verilog-modi-point, verilog-within-string): Move defmacro's
4336 before first use to avoid warning. Reported by Steve Pearlmutter.
4337 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4338 (verilog-colorize-region, verilog-highlight-buffer)
4339 (verilog-highlight-includes, verilog-highlight-modules)
4340 (verilog-highlight-region, verilog-mode): Rename colorize to
4341 highlight to match other packages. Disable module highlighting,
4342 as received speed complaints, reenable for experimentation only
4343 using new verilog-highlight-modules.
4344 (verilog-read-decls): Fix regexp stack overflow in very large
4345 AUTO_TEMPLATEs, bug250.
4346 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4347 (verilog-scan): Create verilog-save-buffer-state to standardize
4348 making insignificant changes that shouldn't call hooks.
4349 (verilog-save-no-change-functions, verilog-save-scan-cache)
4350 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4351 Create verilog-save-no-change-functions to wrap verilog-scan
4352 preservation, and fix to work with nested preserved calls.
4353 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4354 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4355 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4356 (verilog-submit-bug-report): Update variable list to be complete.
4357 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4358 breaking on-the-fly font-locking.
4359 (verilog-colorize-buffer, verilog-colorize-include-files)
4360 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4361 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4362 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4363 AUTOINST cell instance name, middle mouse button now finds-file on
4364 it. Suggested by Brad Dobbie.
4365 (verilog-alw-get-temps, verilog-auto-reset)
4366 (verilog-auto-sense-sigs, verilog-read-always-signals)
4367 (verilog-read-always-signals-recurse): Fix loop indexes being
4368 AUTORESET. AUTORESET now assumes any variables in the
4369 initialization section of a for() should be ignored.
4370 Reported by Dan Dever.
4371 (verilog-error-font-lock-keywords)
4372 (verilog-error-regexp-emacs-alist)
4373 (verilog-error-regexp-xemacs-alist): Fix error detection of
4374 Cadence HAL, reported by David Asher. Repair drift between the
4375 three similar error variables.
4376 (verilog-modi-lookup, verilog-modi-lookup-cache)
4377 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4378 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4379 Fix slow verilog-auto expansion on very large files.
4380 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4381 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4382 "{1*2{...". Broke in last revision.
4383 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4384 submodule connections with replications "{#{a},#{b}}".
4385
4386 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4387
4388 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4389 Fix typo in docstring.
4390
4391 2010-10-24 Kenichi Handa <handa@m17n.org>
4392
4393 * face-remap.el (text-scale-adjust): Call read-event with a proper
4394 prompt.
4395
4396 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4397
4398 * emacs-lisp/unsafep.el: Don't mark functions that display
4399 messages as safe. Suggested by Johan Bockgård.
4400
4401 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4404 Turn comments into docstrings.
4405
4406 * minibuffer.el (completion--replace): Move point where it belongs
4407 when there's a common suffix (bug#7215).
4408
4409 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4410
4411 Merge read-color and facemenu-read-color (Bug#7242).
4412
4413 * faces.el (read-color): Use the completion code from
4414 facemenu-read-color. Require match in completion. Doc fix.
4415
4416 * facemenu.el (facemenu-read-color): Alias for read-color.
4417 (facemenu-set-foreground, facemenu-set-background):
4418 Use read-color.
4419
4420 * frame.el (set-background-color, set-foreground-color)
4421 (set-cursor-color, set-mouse-color, set-border-color):
4422 Use read-color.
4423
4424 2010-10-24 Leo <sdl.web@gmail.com>
4425
4426 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4427 argument of delete-file and delete-directory (Bug#7011).
4428
4429 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4430
4431 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4432 button-buffer-map.
4433
4434 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4435
4436 * emacs-lisp/package.el (package--generate-package-list): Make the
4437 *Packages* buffer read-only.
4438
4439 2010-10-24 Alan Mackenzie <acm@muc.de>
4440
4441 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4442 result of `c-beginning-of-decl-1' between invocations of a lambda
4443 function (Bug #7265).
4444
4445 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4446
4447 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4448 executable is not available on the system (Bug#7268).
4449
4450 2010-10-24 Glenn Morris <rgm@gnu.org>
4451
4452 * select.el (selection-coding-system, next-selection-coding-system):
4453 Sync doc with C versions.
4454
4455 * w32-vars.el (x-select-enable-clipboard):
4456 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4457 * term/common-win.el (x-select-enable-clipboard): Move here.
4458
4459 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4460 definition of C variable.
4461
4462 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4463 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4464 Don't redefine things that are defined in C.
4465 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4466 (show-trailing-whitespace, auto-hscroll-mode)
4467 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4468 Set up the appropriate custom properties.
4469
4470 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4471
4472 Bind "C-c ]" to ...
4473 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4474 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4475 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4476 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4477
4478 2010-10-23 Glenn Morris <rgm@gnu.org>
4479
4480 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4481 say what it was.
4482
4483 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4484 Sync docs with C version.
4485
4486 * term/ns-win.el (xw-defined-colors):
4487 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4488
4489 * term/pc-win.el (x-select-enable-clipboard):
4490 * term/x-win.el (x-select-enable-clipboard):
4491 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4492
4493 * comint.el (comint-password-prompt-regexp): Make it less vague.
4494 Bump version.
4495
4496 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4497
4498 * help.el (finder-by-keyword): Remove unnecessary autoload.
4499
4500 2010-10-22 Glenn Morris <rgm@gnu.org>
4501
4502 * loadup.el: Unconditionally load float-sup.
4503 * paren.el (show-paren-delay):
4504 * emacs-lisp/float-sup.el:
4505 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4506 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4507 (lazy-lock-stealth-verbose): Assume float support.
4508 * ps-print.el: Assume float support on Emacs.
4509 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4510 Remove non-float branch.
4511
4512 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4513 src/Makefile no longer being pre-processed.
4514
4515 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * emacs-lisp/find-func.el (find-library): Use test-completion.
4518
4519 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4520
4521 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4522
4523 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4524
4525 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4526 space in stat format string.
4527 (tramp-send-command): Unset $PS1 when using here documents, in
4528 order not to get several prompts.
4529 (tramp-get-inline-coding): Return `nil' in case of errors.
4530
4531 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4532
4533 * hexl.el (hexl-mode, hexl-mode-exit):
4534 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4535 (hexl-revert-buffer-function): New function.
4536 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4537
4538 2010-10-19 Alan Mackenzie <acm@muc.de>
4539
4540 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4541 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4542 that these keywords aren't wrongly matched as identifiers.
4543
4544 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4545 setting of c-new-BEG and c-new-END from c-before-change to
4546 c-after-change. (Bug#7181)
4547
4548 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4549
4550 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4551 Don't mark as safe.
4552
4553 * custom.el (custom-theme-set-variables): Likewise.
4554 (load-theme): Add custom-theme-set-faces and
4555 custom-theme-set-variables to safe-functions while loading.
4556 (custom-enabled-themes): Mark as risky.
4557
4558 2010-10-18 Julien Danjou <julien@danjou.info>
4559
4560 * bindings.el: Remove end dashes in default mode-line-format.
4561
4562 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4563
4564 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4565 to delete-forward-char.
4566
4567 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4568 deletechar, and hence delete-forward-char.
4569
4570 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * repeat.el (repeat): Use read-key (bug#6256).
4573
4574 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4575
4576 * emacs-lisp/unsafep.el: Don't mark functions that display
4577 messages as safe. Suggested by Johan Bockgård.
4578
4579 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4580
4581 * minibuffer.el (completion--replace): Move point where it belongs
4582 when there's a common suffix (bug#7215).
4583
4584 2010-10-19 Kenichi Handa <handa@m17n.org>
4585
4586 * international/characters.el: Add category '|' (word breakable)
4587 to fullwidth characters.
4588
4589 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4590
4591 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4592 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4593 order to make stat results a float. Patch by Andreas Schwab
4594 <schwab@linux-m68k.org>.
4595
4596 2010-10-18 Julien Danjou <julien@danjou.info>
4597
4598 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4599 hidden by `make-pointer-invisible'.
4600
4601 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * files.el (locate-file-completion-table): Strip non-matching elements
4604 before checking length of list (bug#7238).
4605
4606 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4607
4608 * custom.el (custom-theme-set-variables): Mark as a safe function.
4609 (load-theme): Check forms using unsafep.
4610
4611 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4612
4613 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4614
4615 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4616 Fix aspell data file searching (bug#7230).
4617
4618 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4619
4620 * cus-theme.el (custom-theme--migrate-settings): New var.
4621 (customize-create-theme): Allow editing the `user' theme.
4622 (custom-theme-add-variable, custom-theme-add-var-1)
4623 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4624 to the front of each variable or face widget.
4625 (custom-theme-write): Save theme settings in the correct order.
4626 Optionally, remove saved settings from user customizations.
4627 (custom-theme-write-variables, custom-theme-write-faces):
4628 Save only the checked widgets.
4629 (customize-themes): Add a link for migrating custom settings.
4630
4631 * custom.el (custom-declare-theme, provide-theme):
4632 Use custom-theme-name-valid-p.
4633 (custom-theme-name-valid-p): Remove checks that are now
4634 unnecessary since themes no longer obey load-path.
4635
4636 * cus-edit.el (custom-variable-value-create): For the simple
4637 style, hide documentation string when hidden.
4638
4639 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4640
4641 * cus-edit.el (custom-variable, custom-face): Combine the
4642 :inhibit-magic and :display-style properties into a single
4643 :custom-style property.
4644 (custom-toggle-hide-variable, custom-toggle-hide-face):
4645 New functions. If hiding an edited value, save it to :shown-value.
4646 (custom-variable-value-create, custom-face-value-create): Use them.
4647 (custom-magic-reset): Allow magic property to be unset.
4648
4649 * custom.el: Custom themes no longer use load-path.
4650 (custom-theme-load-path): New option. Change built-in theme
4651 directory to etc/.
4652 (custom-enabled-themes): Add custom-theme-load-path dependency.
4653 (custom-theme--load-path): New function.
4654 (load-theme, custom-available-themes): Use it.
4655
4656 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4657 (customize-themes): Link to custom-theme-load-path variable.
4658 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4659 :custom-style property.
4660
4661 * themes/*.el: Moved to etc/.
4662
4663 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4664
4665 * textmodes/reftex-cite.el
4666 (reftex-extract-bib-entries-from-thebibliography): Do not move
4667 point when searching for \bibitem entries. Match entries with
4668 spaces or tabs in front of arguments.
4669
4670 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4671
4672 * cus-theme.el (customize-create-theme): Delete overlays after
4673 erasing. If given a THEME arg, display only the faces of that arg
4674 instead of custom-theme--listed-faces.
4675 (custom-theme-variable-menu, custom-theme-variable-action)
4676 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4677 (custom-theme-add-variable, custom-theme-add-face): Apply value
4678 from the theme settings, instead of the current value.
4679 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4680 (custom-theme-visit-theme): Allow calling outside theme buffers.
4681 (custom-theme-merge-theme): Don't enable the theme when merging.
4682 (custom-theme-write-variables, custom-theme-write-faces): Use the
4683 :shown-value properties to save buffer values, not global ones.
4684 (customize-themes): Display a warning about user customizations.
4685
4686 * cus-edit.el (custom-variable-value-create)
4687 (custom-face-value-create): Obey new special properties
4688 :shown-value and :inhibit-magic.
4689
4690 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4691
4692 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4693 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4694 <dale@codefu.org>.
4695
4696 2010-10-14 Kenichi Handa <handa@m17n.org>
4697
4698 * mail/rmail.el (rmail-show-message-1): Catch an error of
4699 base64-decode-region and just show an error message (bug#7165).
4700
4701 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4702 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4703 a font-spec (bug#7197).
4704
4705 2010-10-14 Glenn Morris <rgm@gnu.org>
4706
4707 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4708
4709 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4710
4711 * international/mule.el (define-coding-system):
4712 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4713 * composite.el (compose-region): Fix typo in docstring.
4714
4715 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4716
4717 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4718 only after checking the theme-face property.
4719
4720 * faces.el (face-spec-reset-face): Reset all attributes in one
4721 single call to set-face-attribute.
4722 (face-spec-match-p): Make it a defsubst.
4723 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4724 (x-create-frame-with-faces, tty-create-frame-with-faces)
4725 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4726 frame-set-background-mode, since they are recomputed immediately
4727 afterwards in face-set-after-frame-default.
4728 (face-set-after-frame-default): Minor optimization.
4729 (cursor): Provide non-trivial defface spec.
4730
4731 * custom.el (custom-theme-recalc-face): Simplify.
4732
4733 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4734
4735 * calc/calc-alg.el (math-var): Rename from `var'.
4736 (math-is-polynomial, math-is-poly-rec): Replace `var'
4737 with `math-var'.
4738
4739 * calc/calcalg2.el (math-var): Rename from `var'.
4740 (calcFunc-table, math-scan-for-limits): Replace `var'
4741 with `math-var'.
4742
4743 2010-10-13 Glenn Morris <rgm@gnu.org>
4744
4745 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4746
4747 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4748
4749 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4750
4751 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4752
4753 * net/tls.el (tls-program): Remove spurious %s from openssl.
4754 (tls-starttls-switches): Remove starttls hack.
4755 (open-tls-stream): Ditto.
4756 (tls-find-starttls-argument): Ditto.
4757
4758 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4759
4760 * image.el (image-library-alist): Declare as obsolete alias.
4761 (image-type-available-p): Use `dynamic-library-alist'.
4762
4763 * term/w32-win.el (dynamic-library-alist):
4764 Use instead of `image-library-alist'.
4765
4766 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4767
4768 * subr.el (last): Make it faster. (Bug#7174)
4769
4770 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4771
4772 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4773
4774 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4775
4776 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4777 (describe-theme-1): Extract doc from unloaded themes.
4778
4779 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4780
4781 * themes/tango-theme.el:
4782 * themes/tango-dark-theme.el:
4783 * themes/wheatgrass-theme.el: New files.
4784
4785 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4786
4787 * cus-theme.el (describe-theme, customize-themes)
4788 (custom-theme-save): New commands.
4789 (custom-new-theme-mode-map): Bind C-x C-s.
4790 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4791 (customize-create-theme): New optional arg THEME.
4792 (custom-theme-revert): Use it.
4793 (custom-theme-visit-theme): Remove dead code.
4794 (custom-theme-merge-theme): Use custom-available-themes.
4795 (custom-theme-write): Make interactive.
4796 (custom-theme-write): Use custom-theme-name-valid-p.
4797 (describe-theme-1, custom-theme-choose-revert)
4798 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4799 New funs.
4800 (custom-theme-allow-multiple-selections): New option.
4801 (custom-theme-choose-mode): New major mode.
4802
4803 * custom.el (custom-theme-set-variables): Remove dead code.
4804 Obey custom--inhibit-theme-enable.
4805 (custom--inhibit-theme-enable): New var.
4806 (provide-theme): Obey it.
4807 (load-theme): Replace load with manual read/eval, in order to
4808 check for correctness. Use custom-theme-name-valid-p.
4809 (custom-theme-name-valid-p): New function.
4810 (custom-available-themes): Use it.
4811
4812 * cus-edit.el (custom--initialize-widget-variables): New function.
4813 (Custom-mode): Use it.
4814
4815 * cus-face.el (custom-theme-set-faces): Remove dead code.
4816 Obey custom--inhibit-theme-enable.
4817
4818 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4819
4820 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4821
4822 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4823
4824 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4825
4826 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4827 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4828 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4829
4830 * cus-start.el (all): ns-right-alternate-modifier is new.
4831
4832 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * emacs-lisp/lisp.el (lisp-completion-at-point):
4835 Use emacs-lisp-mode-syntax-table for the whole function.
4836
4837 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4838
4839 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4840 instead of font-lock-mode before adding keywords.
4841 Remove hi-lock-mode off code. Remove inhibit hack.
4842 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4843 non-nil; removed hook inhibit hack.
4844
4845 2010-10-12 Glenn Morris <rgm@gnu.org>
4846
4847 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4848 (load-path-shadows-find): ... to this.
4849 (list-load-path-shadows): Update for above change.
4850
4851 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4852
4853 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4854
4855 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4856 Fix comment for declare-function.
4857
4858 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4859
4860 * custom.el (custom-fix-face-spec): New function; code moved from
4861 custom-face-edit-fix-value.
4862 (custom-push-theme): Use it when checking if a face has been
4863 changed outside customize.
4864 (custom-available-themes): New function.
4865 (load-theme): Use it.
4866
4867 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4868
4869 * custom.el (custom-push-theme): Cleanup (use cond).
4870 (disable-theme): Recompute the saved-face property.
4871 (custom-theme-recalc-face): Follow face alias before setting prop.
4872
4873 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4874 New variables, containing checkbox images.
4875
4876 * startup.el (fancy-startup-tail):
4877 * wid-edit.el (checkbox): Use them.
4878
4879 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4880
4881 * shell.el (shell-mode-map):
4882 * progmodes/modula2.el (m2-mode-map):
4883 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4884 * play/mpuz.el (mpuz-mode-map):
4885 * play/landmark.el (lm-mode-map):
4886 * play/decipher.el (decipher-mode-map):
4887 * play/5x5.el (5x5-mode-map):
4888 * net/telnet.el (telnet-mode-map):
4889 * net/quickurl.el (quickurl-list-mode-map):
4890 * net/mairix.el (mairix-searches-mode-map):
4891 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4892 * net/dig.el (dig-mode-map):
4893 * mail/mspools.el (mspools-mode-map):
4894 * hexl.el (hexl-mode-map):
4895 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4896 (wordstar-C-o-map, wordstar-C-q-map):
4897 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4898 * emacs-lisp/chart.el (chart-map):
4899 * edmacro.el (edmacro-mode-map):
4900 * erc/erc-list.el (erc-list-menu-mode-map):
4901 * array.el (array-mode-map): Declare and define in one step.
4902
4903 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4904
4905 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4906
4907 * epa.el (epa-passphrase-callback-function): Display filename
4908 passed as the 3rd arg.
4909 * epa-file.el (epa-file-passphrase-callback-function):
4910 Pass filename to epa-passphrase-callback-function.
4911
4912 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4913
4914 * cus-edit.el (custom-face-widget-to-spec)
4915 (custom-face-get-current-spec, custom-face-state): New functions.
4916 (custom-face-set, custom-face-mark-to-save)
4917 (custom-face-value-create, custom-face-state-set): Use them.
4918
4919 * cus-theme.el (custom-theme--listed-faces): New var.
4920 (customize-create-theme): Use *Custom Theme* as the buffer name.
4921 Set revert-buffer-function. Optional arg BUFFER. Insert all
4922 faces listed in custom-theme--listed-faces.
4923 (custom-theme-revert): New function.
4924 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4925 bottom of the list.
4926 (custom-theme-write): Prompt for theme name if empty.
4927 (custom-theme-write-variables): Use dolist.
4928 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4929
4930 2010-10-09 Alan Mackenzie <acm@muc.de>
4931
4932 Enhance fontification of declarators to take account of the
4933 presence/absence of "typedef".
4934
4935 * cc-engine.el (c-forward-type): New &optional param
4936 "brace-block-too".
4937 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4938 presence of either or both of a "struct"-like keyword and "typedef".
4939
4940 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4941 fontification of declarators which follow a "}".
4942 (c-font-lock-declarations): Fontify declarators according to the
4943 presence/absence of "typedef".
4944
4945 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4946 for "typedef".
4947 (c-typedef-decl-key): New lang variable built from
4948 c-typedef-decl-kwds.
4949
4950 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4951
4952 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4953 since that's too annoying. Move the filter groups commands to
4954 TAB/backtab.
4955
4956 * epa.el (epa-passphrase-callback-function): Say what we're
4957 querying the password for.
4958
4959 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4960 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4961
4962 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4963
4964 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4965 (custom-magic-value-create): Pad button tags with spaces.
4966 (custom-face-edit): New variable.
4967 (custom-face-value-create): Determine whether to use the usual
4968 face editor here, instead of using custom-face-selected.
4969 Pass face defaults to custom-face-edit widget.
4970 (custom-face-selected, custom-display-unselected): Delete widgets.
4971 (custom-display-unselected-match): Function removed.
4972 (custom-face-set, custom-face-mark-to-save):
4973 Accept custom-face-edit widgets as the direct widget child.
4974
4975 * wid-edit.el (widget--completing-widget): New var.
4976 (widget-default-complete): Bind it when doing completion.
4977 (widget-string-complete, widget-file-complete): Use it.
4978
4979 2010-10-09 Glenn Morris <rgm@gnu.org>
4980
4981 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4982 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4983 (holiday-hebrew-misc): Small simplifications.
4984
4985 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4986
4987 * net/browse-url.el: Don't require thingatpt, term, dired,
4988 executable, or w3-auto when compiling.
4989 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4990 Declare.
4991 (browse-url-text-emacs): Require term.
4992
4993 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4994
4995 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4996
4997 2010-10-08 Glenn Morris <rgm@gnu.org>
4998
4999 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5000
5001 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5002 (shadows-compare-text-p): Make it an obsolete alias for...
5003 (load-path-shadows-compare-text): ... new name.
5004 (find-emacs-lisp-shadows): Update for above name change.
5005 (load-path-shadows-same-file-or-nonexistent): New name for the old
5006 shadow-same-file-or-nonexistent.
5007
5008 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5009
5010 * minibuffer.el (completion--some, completion--do-completion)
5011 (minibuffer-complete-and-exit, minibuffer-completion-help)
5012 (completion-basic-try-completion)
5013 (completion-basic-all-completions)
5014 (completion-pcm--find-all-completions): Use lexical-let to
5015 avoid some false matches in variable completion (Bug#7056)
5016
5017 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5018
5019 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5020
5021 2010-10-08 Leo <sdl.web@gmail.com>
5022
5023 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5024 return non-nil if the file exists (Bug#7090).
5025
5026 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * minibuffer.el (completion--replace):
5029 Better preserve markers (bug#7138).
5030
5031 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5032
5033 * server.el (server-process-filter): Doc fix.
5034
5035 2010-10-08 Drew Adams <drew.adams@oracle.com>
5036
5037 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5038
5039 2010-10-08 Glenn Morris <rgm@gnu.org>
5040
5041 * vc/ediff-wind.el (ediff-setup-control-frame):
5042 * vc/ediff-ptch.el (ediff-default-backup-extension):
5043 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5044 (ediff-exec-process): Remove system-types emx, windows-95.
5045
5046 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5047
5048 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5049
5050 * cus-edit.el (custom-variable, custom-face): Doc fix.
5051 (custom-face-edit): Add value-create attribute.
5052 (custom-face-edit-value-create)
5053 (custom-face-edit-value-visibility-action): New functions.
5054 Hide unused face attributes by default, and add a visibility toggle.
5055 (custom-face-edit-deactivate): Show empty values with shadow face.
5056 (custom-face-selected): Only use this for face specs with default
5057 attributes.
5058 (custom-face-value-create): Cleanup.
5059
5060 * wid-edit.el (widget-checklist-value-create): Use dolist.
5061 (widget-checklist-match-find): Make second arg optional.
5062
5063 2010-10-07 Glenn Morris <rgm@gnu.org>
5064
5065 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5066 Prefix things.
5067
5068 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5069 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5070 load-path-shadows-mode, update references.
5071 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5072 Rename variable and button.
5073 (list-load-path-shadows): Update button caller.
5074
5075 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5078 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5079 (smie-merge-prec2s): Handle those new entries.
5080 (smie-prec2-levels): Only set precedence to nil for actual
5081 openers/closers.
5082 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5083 that is now unnecessary.
5084
5085 2010-10-07 Miles Bader <miles@gnu.org>
5086
5087 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5088
5089 2010-10-07 Glenn Morris <rgm@gnu.org>
5090
5091 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5092 (mail-position-on-field): Remove declarations.
5093 (mail-position-on-field): Autoload it.
5094 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5095 and mail-header-end. Don't require sendmail.
5096
5097 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5098 (shadow-mode): New mode.
5099 (shadow-find-file): New button.
5100 (list-load-path-shadows): Use shadow-mode and buttons.
5101
5102 * iimage.el (iimage-version): Remove.
5103 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5104 Turn into defcustoms.
5105 (iimage-mode-map): Give it a doc string.
5106
5107 * calendar/appt.el (appt-activate): Give a warning rather than an error
5108 if there is no diary-file.
5109
5110 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5111
5112 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5113 Use `tramp-handle-find-backup-file-name'.
5114
5115 2010-10-06 Glenn Morris <rgm@gnu.org>
5116
5117 * font-core.el (font-lock-defaults-alist): Remove variable.
5118 (font-lock-mode): Doc fix.
5119 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5120 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5121 (font-lock-set-defaults): Doc fix.
5122 Do not consult font-lock-defaults-alist.
5123
5124 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5125
5126 * emacs-lisp/cl.el: No longer provide cl-19.
5127
5128 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5129
5130 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5131 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5132 New defuns, taken from tramp-smb.el.
5133 (tramp-coding-system-change-eol-conversion)
5134 (tramp-set-process-query-on-exit-flag): Remove.
5135
5136 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5137 (tramp-compat-coding-system-change-eol-conversion)
5138 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5139 from tramp.el.
5140
5141 * net/tramp-gvfs.el:
5142 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5143 by `tramp-compat-set-process-query-on-exit-flag'.
5144
5145 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5146 Use `tramp-handle-directory-files-and-attributes',
5147 `tramp-handle-file-exists-p' and
5148 `tramp-handle-file-newer-than-file-p'.
5149 (tramp-imap-handle-file-exists-p)
5150 (tramp-imap-handle-file-executable-p)
5151 (tramp-imap-handle-file-readable-p)
5152 (tramp-imap-handle-directory-files-and-attributes)
5153 (tramp-imap-handle-file-newer-than-file-p): Remove.
5154
5155 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5156 by `tramp-compat-set-process-query-on-exit-flag' and
5157 `tramp-coding-system-change-eol-conversion' by
5158 `tramp-compat-coding-system-change-eol-conversion'.
5159
5160 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5161 Use `tramp-handle-directory-files-and-attributes',
5162 `tramp-handle-file-exists-p' and
5163 `tramp-handle-file-newer-than-file-p'.
5164 (tramp-smb-handle-directory-files-and-attributes)
5165 (tramp-smb-handle-file-exists-p)
5166 (tramp-smb-handle-file-newer-than-file-p): Remove.
5167 (tramp-smb-maybe-open-connection):
5168 Replace `tramp-set-process-query-on-exit-flag' by
5169 `tramp-compat-set-process-query-on-exit-flag'.
5170
5171 2010-10-05 Glenn Morris <rgm@gnu.org>
5172
5173 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5174
5175 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5176
5177 Continue reorganization of load dependencies. (Bug#7156)
5178
5179 * net/tramp.el (tramp-handle-file-local-copy-hook)
5180 (tramp-delete-temp-file-function): Move down.
5181 (tramp-exists-file-name-handler): Move up.
5182 (tramp-register-file-name-handlers): Simplify autoload.
5183 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5184 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5185 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5186 (tramp-handle-file-name-completion)
5187 (tramp-handle-file-name-directory)
5188 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5189 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5190 (tramp-handle-find-backup-file-name)
5191 (tramp-handle-insert-file-contents, tramp-handle-load)
5192 (tramp-handle-substitute-in-file-name)
5193 (tramp-handle-unhandled-file-name-directory)
5194 (tramp-mode-string-to-int, tramp-local-host-p)
5195 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5196
5197 * net/tramp-gvfs.el (top):
5198 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5199
5200 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5201 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5202
5203 2010-10-04 Glenn Morris <rgm@gnu.org>
5204
5205 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5206 (appt-activate): Give status messages.
5207
5208 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5209
5210 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5211 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5212 `gnutls-negotiate' (formerly `starttls-negotiate').
5213 Remove trivial wrapper `starttls-open-stream'.
5214
5215 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5216
5217 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5218 log-outgoing commands.
5219 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5220 to create a buffer local revert-buffer-function variable.
5221 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5222 revert-buffer-function lambda.
5223
5224 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5225
5226 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5227 `gnutls-boot'. Make TYPE the only required parameter.
5228 Allow TRUSTFILES and KEYFILES to be lists.
5229 (open-ssl-stream): Use it.
5230
5231 2010-10-03 Glenn Morris <rgm@gnu.org>
5232
5233 * subr.el (directory-sep-char): Remove obsolete variable.
5234 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5235 it is "necessary".
5236
5237 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5238 * vc/vc.el (vc-static-header-alist): Doc fix.
5239 * vc/vc-cvs.el (vc-cvs-header):
5240 * vc/vc-rcs.el (vc-rcs-header):
5241 * vc/vc-sccs.el (vc-sccs-header):
5242 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5243 * obsolete/vc-mcvs.el (vc-mcvs-header):
5244 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5245 on XEmacs.
5246
5247 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5248
5249 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5250 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5251
5252 2010-10-03 Glenn Morris <rgm@gnu.org>
5253
5254 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5255
5256 * textmodes/rst.el (rst-font-lock-keywords-function):
5257 Drop Emacs 20 code.
5258
5259 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5260
5261 * printing.el: Drop Emacs 20 code.
5262
5263 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5264 without having used appt.el already).
5265
5266 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5267 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5268 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5269 XEmacs.
5270 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5271 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5272
5273 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5274 (charset-width, find-charset-region, chars-in-region, forward-point)
5275 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5276 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5277 Remove compatibility cruft (none of these are used by ps*.el).
5278
5279 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5280
5281 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5282
5283 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5284
5285 * server.el (server-process-filter, server-return-error):
5286 Give emacsclient time to shut down after receiving an error string.
5287
5288 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * files.el (remote-file-name-inhibit-cache): New defcustom.
5291
5292 * time.el (display-time-file-nonempty-p):
5293 Use `remote-file-name-inhibit-cache'.
5294
5295 * net/tramp.el (tramp-completion-reread-directory-timeout):
5296 Fix docstring.
5297
5298 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5299 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5300 `remote-file-name-inhibit-cache'. Check also for an integer
5301 value. Add/increase counter when `tramp-verbose' >= 10.
5302 (tramp-set-file-property): Add/increase counter when
5303 `tramp-verbose' >= 10.
5304
5305 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5306 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5307 (tramp-bug): Set tramp-autoload cookie. Report all interned
5308 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5309 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5310 characters only in strings.
5311
5312 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5313 to backward compatibility.
5314
5315 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5316 (tramp-handle-file-name-all-completions)
5317 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5318 (tramp-open-connection-setup-interactive-shell):
5319 Call `tramp-cleanup-connection' directly.
5320
5321 2010-10-02 Glenn Morris <rgm@gnu.org>
5322
5323 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5324
5325 * subr.el (char-bytes): Remove obsolete function.
5326
5327 * isearch.el (isearch-return-char): Remove obsolete function.
5328
5329 * mouse.el: No longer provide mldrag.
5330 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5331 Remove obsolete aliases.
5332
5333 * comint.el (comint-kill-output): Remove obsolete alias.
5334
5335 * composite.el (decompose-composite-char): Remove obsolete function.
5336 * ps-def.el (decompose-composite-char): Remove unused function.
5337
5338 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5339
5340 * outline.el (outline-visible): Remove obsolete function.
5341
5342 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5343 * faces.el (internal-find-face, internal-get-face)
5344 (frame-update-faces, frame-update-face-colors)
5345 (x-frob-font-weight, x-frob-font-slant)
5346 (internal-frob-font-weight, internal-frob-font-slant)
5347 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5348 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5349 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5350 since Emacs 21.1.
5351 * emulation/viper-util.el (viper-get-face):
5352 * obsolete/lucid.el (find-face, get-face): Use facep.
5353 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5354 Remove unused functions.
5355 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5356
5357 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5358 delete tempfile if interrupted during compilation.
5359
5360 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5361
5362 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5363 gnutls-cli.
5364 (tls-program): Add --insecure to be consistent with the defaults from
5365 openssl s_client. Now all three commands are insecure.
5366
5367 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5368
5369 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5370 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5371 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5372
5373 2010-10-01 Glenn Morris <rgm@gnu.org>
5374
5375 * obsolete/sc.el: Remove file.
5376
5377 * files.el (temporary-file-directory): On darwin, also try
5378 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5379
5380 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5381
5382 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5383 Let's not break compatibility gratuitously, shall we?
5384
5385 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5386
5387 * net/tls.el (tls-starttls-switches): New variable.
5388 (tls-find-starttls-argument): Use it.
5389 (open-tls-stream): Ditto.
5390
5391 * net/netrc.el (netrc-credentials): Return the value of the "default"
5392 entry.
5393 (netrc-machine): Ditto.
5394
5395 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5396
5397 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5398
5399 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5400
5401 * server.el (server-start): Don't write pid to the authentication file.
5402 (server-create-tty-frame): Don't send pid.
5403 (server-process-filter): Send pid at the start of every connection.
5404
5405 2010-09-30 Glenn Morris <rgm@gnu.org>
5406
5407 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5408 (show-all-diary-entries): Remove obsolete function aliases.
5409
5410 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5411 Remove options, obsolete since 22.1.
5412 (appt-display-format, appt-display-message):
5413 Remove backwards-compatibility code.
5414 (appt-check): No longer check appt-issue-message.
5415 (appt-make-list): No longer autoload it. Doc fix. No longer
5416 activate the package.
5417
5418 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5419
5420 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5421 (starttls-negotiate): Just call boot, and let the handshake be
5422 triggered from the read loop.
5423
5424 2010-09-29 Glenn Morris <rgm@gnu.org>
5425
5426 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5427 not displaying the diary.
5428 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5429 * calendar/appt.el (appt-check): No longer need to kill diary.
5430
5431 * calendar/diary-lib.el (diary-list-entries): Move the
5432 "Preparing..." message entirely here.
5433 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5434 messages to diary-list-entries.
5435 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5436 diary-display-function.
5437
5438 * calendar/diary-lib.el (diary-include-other-diary-files):
5439 Trap some recursive includes.
5440
5441 * calendar/appt.el (appt-activate): Check diary file.
5442
5443 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5444
5445 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5446 construction.
5447
5448 * calendar/time-date.el: No need to require cl for Emacs 21.
5449
5450 2010-09-28 Glenn Morris <rgm@gnu.org>
5451
5452 * calendar/appt.el (appt-check): Minor simplification.
5453
5454 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5455
5456 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5457 citation prefix.
5458
5459 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5460
5461 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5462 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5463
5464 2010-09-27 Kenichi Handa <handa@m17n.org>
5465
5466 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5467 "ustar" format.
5468
5469 2010-09-27 Kenichi Handa <handa@m17n.org>
5470
5471 * international/mule.el (define-coding-system): Docstring fixed.
5472
5473 * international/mule-diag.el (describe-character-set): Use princ
5474 with proper print-length and print-level instead of insert.
5475
5476 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5477
5478 * window.el (walk-windows): Doc fix (bug#7105).
5479
5480 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * emacs-lisp/float-sup.el (e): Remove.
5483
5484 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5485
5486 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5487 variable.
5488 (starttls-negotiate): Use it.
5489
5490 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5491
5492 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5493 back.
5494
5495 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5498
5499 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5500
5501 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5502
5503 * net/netrc.el (netrc-store-data): New function.
5504
5505 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5506
5507 * net/gnutls.el: GnuTLS glue code to set up a connection.
5508
5509 2010-09-25 Julien Danjou <julien@danjou.info>
5510
5511 * notifications.el: Call dbus-register-signal only if it is bound.
5512
5513 2010-09-25 Glenn Morris <rgm@gnu.org>
5514
5515 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5516 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5517 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5518 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5519 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5520 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5521 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5522 * eshell/esh-util.el, eshell/esh-var.el:
5523 Remove leading `*' from docs of faces and defcustoms.
5524
5525 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5526
5527 * eshell/em-ls.el (eshell-ls-archive-regexp):
5528 * eshell/esh-util.el (eshell-tar-regexp):
5529 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5530 * info.el (Info-suffix-list):
5531 * international/mule.el (auto-coding-alist):
5532 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5533 * progmodes/etags.el (tags-compression-info-list):
5534 Support xz compression.
5535
5536 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5537
5538 * files.el (get-free-disk-space): Don't assume the "df" output
5539 columns line up (Bug#6995).
5540
5541 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5542
5543 * finder.el (finder-unknown-keywords):
5544 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5545 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5546
5547 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5548
5549 * server.el (server-start): Revert part of 2010-08-08 change. Using
5550 address 127.0.0.1 for local host is now done in Fmake_network_process.
5551
5552 2010-09-24 Glenn Morris <rgm@gnu.org>
5553
5554 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5555 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5556 * textmodes/css-mode.el, textmodes/dns-mode.el:
5557 Move autoloaded auto-mode-alist entries to files.el.
5558 * files.el (auto-mode-alist): Move entries here.
5559
5560 2010-09-23 Glenn Morris <rgm@gnu.org>
5561
5562 * isearch.el (isearch-lazy-highlight-cleanup)
5563 (isearch-lazy-highlight-initial-delay)
5564 (isearch-lazy-highlight-interval)
5565 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5566 * net/net-utils.el (ipconfig-program-options):
5567 Move aliases to options before the associated definitions.
5568
5569 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * newcomment.el (comment-normalize-vars): Better test validity of
5572 comment-end-skip.
5573
5574 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5577 (float-e): New name for `e'.
5578 (degrees-to-radians, radians-to-degrees):
5579 * calendar/solar.el (solar-longitude):
5580 * calculator.el (calculator-registers, calculator-funcall):
5581 * textmodes/artist.el (artist-spray-random-points):
5582 * play/bubbles.el (bubbles--initialize-images): Use new names.
5583
5584 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5585
5586 Update to CEDET 1.0's version of EIEIO.
5587
5588 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5589 New function.
5590 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5591 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5592 (class-precedence-list): If class is nil, return nil.
5593 (eieio-generic-call): If class of first input arg is nil, don't
5594 look up static methods, and do check for primary methods.
5595 (initialize-instance): See if the default needs to be evaluated
5596 during the constructor.
5597 (eieio-perform-slot-validation-for-default): Don't do the check
5598 for values that will eventually be evaluated.
5599 (eieio-eval-default-p): New function.
5600 (eieio-default-eval-maybe): Use it.
5601
5602 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5603
5604 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5605 method-invocation-order.
5606 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5607 (eieio-class-precedence-dfs): Compute class precedence list using
5608 dfs algorithm.
5609 (eieio-class-precedence-bfs): Compute class precedence list using
5610 bfs algorithm.
5611 (eieio-class-precedence-c3): Compute class precedence list using
5612 c3 algorithm.
5613 (class-precedence-list): New function.
5614 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5615 (inconsistent-class-hierarchy): New error symbol.
5616 (call-next-method): Stow the replacement argument list for future
5617 call-next-method invocations.
5618
5619 2010-09-23 Glenn Morris <rgm@gnu.org>
5620
5621 * calendar/appt.el (appt-check): If not displaying the diary,
5622 use (diary 1) to only get the entries we need.
5623 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5624 that it is in day order. (Bug#7019)
5625
5626 * calendar/appt.el (appt-check): Rather than showing the diary,
5627 just turn off invisible display, and only if needed.
5628
5629 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5630
5631 2010-09-23 Glenn Morris <rgm@gnu.org>
5632
5633 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5634 (byte-compile-defvar, byte-compile-cl-warn):
5635 Start warnings with lower-case, like the majority.
5636
5637 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5638
5639 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5640
5641 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5642 * files.el (auto-mode-alist): Move ld-script entries here, further down
5643 the list.
5644
5645 * vc/add-log.el: Don't require timezone when compiling.
5646 (timezone-make-date-sortable): Autoload it.
5647 (change-log-sortable-date-at): Don't require timezone.
5648 Use `ignore-errors'.
5649
5650 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5651 Move alias before definition, so it does not need autoloading.
5652
5653 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5654 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5655 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5656 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5657 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5658 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5659 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5660 * textmodes/tex-mode.el, textmodes/two-column.el:
5661 Remove leading `*' from docs of defcustoms etc.
5662
5663 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5664
5665 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5666
5667 2010-09-22 Dan Christensen <jdc@uwo.ca>
5668
5669 * calendar/time-date.el (date-to-time): Try using parse-time-string
5670 first before using the slower timezone-make-date-arpa-standard.
5671
5672 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5673
5674 * calendar/time-date.el (format-seconds): Comment fix.
5675
5676 2010-09-22 Glenn Morris <rgm@gnu.org>
5677
5678 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5679 is not automatically buffer-local.
5680
5681 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5684 (smie-indent-comment): Be more careful with comment-start-skip.
5685 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5686 (smie-indent-functions): Use them.
5687
5688 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5689
5690 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5691
5692 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5693
5694 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5695 tool-bar-position. Don't modify frame parameters here.
5696 (menu-bar-options-save): Add tool-bar-position.
5697
5698 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5699
5700 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * textmodes/reftex-parse.el (reftex-what-macro)
5703 (reftex-context-substring): Let-bind forward-sexp-function to nil
5704 since we don't need/want to treat \begin...\end as a block (bug#7053).
5705
5706 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5707
5708 * simple.el (blink-matching-open): Use syntax-class.
5709
5710 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5711 Set invisibility spec for pascal's outline mode.
5712 (pascal-outline-change): Clean up calling convention.
5713 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5714
5715 * progmodes/prolog.el (prolog-smie-forward-token)
5716 (prolog-smie-backward-token): New functions.
5717 (prolog-mode-variables): Use them to parse "!," correctly.
5718 Set up smie-blink-matching for ".".
5719
5720 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5721 and `end'.
5722 (ispell-region, ispell-process-line): Update users.
5723
5724 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5725 point-min==1.
5726
5727 * textmodes/ispell.el: Fix commenting convention.
5728 (ispell-parse-output): Simplify, use push.
5729 (ispell-region): Use match-string-no-properties.
5730 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5731 (ispell-minor-mode): Use define-minor-mode.
5732 (ispell-message): Remove unused var `skip-regexp'.
5733 (ispell-add-per-file-word-list): Use dynamic let-binding.
5734 Try and use the proper comment marker.
5735
5736 * mail/sendmail.el: Fix commenting convention.
5737 (sendmail-send-it): Use line-beginning-position.
5738
5739 * help-fns.el (describe-variable): Add original value, if applicable.
5740
5741 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5742
5743 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5744
5745 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5746
5747 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5748
5749 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5750 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5751 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5752 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5753 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5754 something like "." can also be a closer.
5755 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5756 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5757 Rename internal functions to use "--". Update callers.
5758
5759 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5760
5761 * fringe.el (fringe-styles): New var.
5762 (fringe-mode, fringe-query-style): Use it.
5763
5764 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5765
5766 * progmodes/sql.el: Version 2.8
5767 (sql-login-params): Update widget structure; changes still needed.
5768 (sql-product-alist): Add :list-all and :list-table features for
5769 SQLite, Postgres and MySQL products.
5770 (sql-redirect): Handle default value.
5771 (sql-execute, sql-execute-feature): New functions.
5772 (sql-read-table-name): New function.
5773 (sql-list-all, sql-list-table): New functions. User API.
5774 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5775 for above functions.
5776 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5777 for above functions.
5778 (sql-postgres-login-params): Add user and database defaults.
5779 (sql-buffer-live-p): Bug fix.
5780 (sql-product-history): New variable.
5781 (sql-read-product): New function. Use it.
5782 (sql-set-product, sql-product-interactive): Use it.
5783 (sql-connection-history): New variable.
5784 (sql-read-connection): New function. Use it.
5785 (sql-connect): New function.
5786 (sql-for-each-login): Redesign function interface.
5787 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5788 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5789 (sql-comint): Check for program. Existing live buffer.
5790 (sql-comint-postgres): Add port parameter.
5791
5792 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5793
5794 * emacs-lisp/warnings.el: Fix commenting convention.
5795 (display-warning): Use special mode and make the buffer read-only.
5796
5797 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5798
5799 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5800 empty string when it follows a repeated or optional pattern.
5801
5802 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5805 (indent-region): Use indent-according-to-mode.
5806
5807 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5808
5809 * fringe.el (fringe-mode): Doc fix.
5810
5811 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5812
5813 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5814 refreshing the preview buffer.
5815
5816 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5817
5818 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5819 (latex-syntax-propertize-rules): New consts; replace
5820 tex-font-lock-syntactic-keywords.
5821 (tex-env-mark, latex-env-before-change): New functions.
5822 (latex-electric-env-pair-mode): New minor mode.
5823 (tex-font-lock-verb): Change arguments; do move point.
5824 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5825 representation as a form of comment.
5826 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5827 (doctex-syntax-propertize-rules): New const; replaces
5828 doctex-font-lock-syntactic-keywords.
5829 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5830
5831 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5832 (fortran-make-syntax-propertize-function): New function; replaces
5833 fortran-font-lock-syntactic-keywords.
5834 (fortran-mode): Use it.
5835 (fortran-line-length): Use it. Improve interactive spec.
5836
5837 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5838 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5839 when adding surrounding \(..\).
5840
5841 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5842
5843 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5844
5845 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5846 Use with-current-buffer.
5847
5848 * isearch.el (isearch-face): Rename from `isearch'.
5849 (isearch-highlight): Use new name.
5850
5851 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5852
5853 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5854 5, for `half' width fringes. (Bug#6933)
5855
5856 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5859 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5860
5861 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5862
5863 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5864
5865 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5866 in calculating new frame position. Add more space between new and
5867 parent on the left (Bug#7048).
5868
5869 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5870
5871 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5872 defmacro.
5873
5874 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5875
5876 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5877
5878 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5879 obsolete alias for x-selection-value.
5880
5881 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5882
5883 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5884
5885 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5886 cookie.
5887
5888 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5889
5890 * net/tramp-compat.el (tramp-compat-with-temp-message)
5891 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5892 (tramp-compat-process-put): New defuns.
5893
5894 * net/tramp.el (top):
5895 * net/tramp-gvfs.el (top):
5896 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5897
5898 * net/tramp.el (tramp-progress-reporter-update):
5899 Use `tramp-compat-funcall'.
5900
5901 * net/tramp.el (tramp-process-actions):
5902 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5903 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5904 (tramp-get-remote-stat, tramp-get-remote-readlink):
5905 Use `tramp-compat-with-temp-message'.
5906
5907 * net/tramp-sh.el (top): Require 'cl.
5908 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5909 (tramp-open-connection-setup-interactive-shell):
5910 Use `tramp-compat-process-put'.
5911
5912 2010-09-15 Alan Mackenzie <acm@muc.de>
5913
5914 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5915 indentation.
5916 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5917
5918 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5919
5920 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5921 `lexical' for warnings related to lexical scoping.
5922 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5923 global vars which don't have a prefix and could hence affect lexical
5924 scoping in unrelated files.
5925
5926 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5927
5928 * net/imap.el: Revert back to version
5929 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5930 seem problematic.
5931
5932 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5933
5934 * obsolete/old-whitespace.el (whitespace-unload-function):
5935 Explicitly pass `obarray' to `unintern' to avoid a warning.
5936
5937 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5940 Add `when' argument. Update callers.
5941
5942 * subr.el (unintern): Declare the obarray arg mandatory.
5943
5944 2010-09-14 Glenn Morris <rgm@gnu.org>
5945
5946 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5947 Doc fixes.
5948
5949 * calendar/diary-lib.el (diary-included-files): New variable.
5950 (diary-list-entries): Maybe initialize diary-included-files.
5951 (diary-include-other-diary-files): Append to diary-included-files.
5952 * calendar/appt.el (appt-update-list): Also check the members of
5953 diary-included-files. (Bug#6999)
5954 (appt-check): Doc fix.
5955
5956 2010-09-14 David Reitter <david.reitter@gmail.com>
5957
5958 * simple.el (line-move-visual): Do not truncate goal column to
5959 integer size. (Bug#7020)
5960
5961 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5962
5963 * repeat.el (repeat): Allow repeating when the last event is a click.
5964 Suggested by Drew Adams (bug#6256).
5965
5966 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5967
5968 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5969 Replace setting HGRCPATH to "" by some less invasive --config options.
5970
5971 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * font-lock.el (font-lock-beginning-of-syntax-function):
5974 Mark as obsolete.
5975
5976 2010-09-14 Glenn Morris <rgm@gnu.org>
5977
5978 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5979 and tool-bar modes. (Bug#6211)
5980 (menu-bar-mode): Move setting of standard-value after the
5981 minor-mode definition, otherwise it seems to have no effect.
5982
5983 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5984
5985 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5986 Fix typo. (Bug#6976)
5987
5988 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5989
5990 * whitespace.el: Allow cleaning up blanks without blank
5991 visualization (Bug#6651). Adjust help window for
5992 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5993 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5994 (whitespace-style): Add new value 'face. Adjust docstring.
5995 (whitespace-space, whitespace-hspace, whitespace-tab):
5996 Adjust foreground property face.
5997 (whitespace-line-column): Adjust docstring and type declaration.
5998 (whitespace-style-value-list, whitespace-toggle-option-alist)
5999 (whitespace-help-text): Adjust const initialization.
6000 (whitespace-toggle-options, global-whitespace-toggle-options):
6001 Adjust docstring.
6002 (whitespace-display-window, whitespace-interactive-char)
6003 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6004 (whitespace-help-scroll): New fun.
6005
6006 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6007
6008 * calendar/time-date.el (format-seconds): Comment fix.
6009
6010 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6011
6012 * progmodes/sql.el: Version 2.7.
6013 (sql-buffer-live-p): Improve detection.
6014 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6015 (sql-set-sqli-buffer): Use it.
6016 (sql-product-interactive): Run `sql-set-sqli-hook'.
6017 (sql-rename-buffer): Code cleanup.
6018 (sql-redirect, sql-redirect-value): New functions. More to come.
6019
6020 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6021
6022 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.
6023 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6024 (TRAMP_SRC): New macro.
6025 ($(lisp)/net/tramp-loaddefs.el): New target.
6026
6027 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6028
6029 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6030
6031 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6032
6033 * net/tramp.el (top): Don't show loading message. Require just
6034 'tramp-compat, everything else is required there.
6035 Use `ignore-errors' where appropriate.
6036 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6037 (tramp-terminal-type, tramp-end-of-output)
6038 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6039 (tramp-completion-function-alist-ssh)
6040 (tramp-completion-function-alist-telnet)
6041 (tramp-completion-function-alist-su)
6042 (tramp-completion-function-alist-putty, tramp-remote-path)
6043 (tramp-remote-process-environment, tramp-sh-extra-args)
6044 (tramp-actions-before-shell, tramp-uudecode)
6045 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6046 (tramp-perl-file-attributes)
6047 (tramp-perl-directory-files-and-attributes)
6048 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6049 (tramp-perl-encode, tramp-perl-decode)
6050 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6051 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6052 (tramp-handle-make-symbolic-link, tramp-handle-load)
6053 (tramp-handle-file-name-as-directory)
6054 (tramp-handle-file-name-directory)
6055 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6056 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6057 (tramp-do-file-attributes-with-ls)
6058 (tramp-do-file-attributes-with-perl)
6059 (tramp-do-file-attributes-with-stat)
6060 (tramp-handle-set-visited-file-modtime)
6061 (tramp-handle-verify-visited-file-modtime)
6062 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6063 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6064 (tramp-handle-file-selinux-context)
6065 (tramp-handle-set-file-selinux-context)
6066 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6067 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6068 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6069 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6070 (tramp-handle-file-ownership-preserved-p)
6071 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6072 (tramp-handle-directory-files-and-attributes)
6073 (tramp-do-directory-files-and-attributes-with-perl)
6074 (tramp-do-directory-files-and-attributes-with-stat)
6075 (tramp-handle-file-name-all-completions)
6076 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6077 (tramp-handle-copy-file, tramp-handle-copy-directory)
6078 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6079 (tramp-do-copy-or-rename-file-via-buffer)
6080 (tramp-do-copy-or-rename-file-directly)
6081 (tramp-do-copy-or-rename-file-out-of-band)
6082 (tramp-handle-make-directory, tramp-handle-delete-directory)
6083 (tramp-handle-delete-file)
6084 (tramp-handle-dired-recursive-delete-directory)
6085 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6086 (tramp-handle-insert-directory)
6087 (tramp-handle-unhandled-file-name-directory)
6088 (tramp-handle-expand-file-name)
6089 (tramp-handle-substitute-in-file-name)
6090 (tramp-handle-executable-find, tramp-process-sentinel)
6091 (tramp-handle-start-file-process, tramp-handle-process-file)
6092 (tramp-handle-call-process-region, tramp-handle-shell-command)
6093 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6094 (tramp-handle-insert-file-contents)
6095 (tramp-handle-insert-file-contents-literally)
6096 (tramp-handle-find-backup-file-name)
6097 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6098 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6099 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6100 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6101 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6102 (tramp-find-file-exists-command, tramp-open-shell)
6103 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6104 (tramp-open-connection-setup-interactive-shell)
6105 (tramp-local-coding-commands, tramp-remote-coding-commands)
6106 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6107 (tramp-inline-compress-commands, tramp-find-inline-compress)
6108 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6109 (tramp-send-command, tramp-wait-for-output)
6110 (tramp-send-command-and-check, tramp-barf-unless-okay)
6111 (tramp-send-command-and-read, tramp-mode-string-to-int)
6112 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6113 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6114 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6115 (tramp-method-out-of-band-p, tramp-local-host-p)
6116 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6117 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6118 (tramp-get-test-command, tramp-get-test-nt-command)
6119 (tramp-get-file-exists-command, tramp-get-remote-ln)
6120 (tramp-get-remote-perl, tramp-get-remote-stat)
6121 (tramp-get-remote-readlink, tramp-get-remote-trash)
6122 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6123 (tramp-get-local-uid, tramp-get-local-gid)
6124 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6125 tramp-sh.el.
6126 (tramp-methods, tramp-default-method-alist)
6127 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6128 Move initialization to tramp-sh.el.
6129 (tramp-temp-name-prefix): Make it a defconst.
6130 (tramp-dissect-file-name): Don't check anymore for multi-hop
6131 methods.
6132 (tramp-debug-outline-regexp): Add a docstring.
6133 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6134 (tramp-get-debug-buffer): Use it.
6135
6136 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6137 initialization forms.
6138 (tramp-set-connection-property): Don't protect `tramp-message'
6139 call, it isn't necessary any longer.
6140 (tramp-dump-connection-properties): Use `ignore-errors'.
6141
6142 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6143 'password-cache and 'auth-source.
6144
6145 * net/tramp-gvfs.el (top):
6146 * net/tramp-smb.el (top): Require 'tramp-sh.
6147
6148 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6149
6150 * net/tramp-sh.el: New file, derived from tramp.el.
6151 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6152 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6153 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6154 Use `ignore-errors' where appropriate.
6155 (tramp-sh-file-name-handler-alist): Rename from
6156 `tramp-file-name-handler-alist'.
6157 (tramp-send-command-and-check): Return t or nil. Remove all
6158 `zerop' checks, where called.
6159 (tramp-handle-set-file-modes)
6160 (tramp-do-copy-or-rename-file-directly)
6161 (tramp-handle-delete-directory, tramp-handle-delete-file)
6162 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6163 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6164 (tramp-get-remote-ln): Set tramp-autoload cookie.
6165
6166 * net/tramp-fish.el: Remove file.
6167
6168 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6169
6170 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6171 buffer-file-name to avoid file-locking. (Bug#7026)
6172
6173 2010-09-13 Julien Danjou <julien@danjou.info>
6174
6175 * notifications.el (notifications-notify): Add support for
6176 image-path and sound-name.
6177 (notifications-specification-version): Add this variable.
6178
6179 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6180
6181 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6182
6183 2010-09-12 Leo <sdl.web@gmail.com>
6184
6185 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6186 (rcirc-completion-start): New variables.
6187 (rcirc-nick-completions): Rename to rcirc-completions.
6188 (rcirc-nick-completion-start-offset): Delete.
6189 (rcirc-completion-at-point): New function for constructing
6190 completion data for both nicks and irc commands. Add to
6191 completion-at-point-functions in rcirc mode.
6192 (rcirc-complete): Rename from rcirc-nick-complete; use
6193 rcirc-completion-at-point.
6194 (defun-rcirc-command): Update rcirc-client-commands.
6195
6196 2010-09-11 Glenn Morris <rgm@gnu.org>
6197
6198 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6199 atomically, to avoid parallel build errors. (Bug#4196)
6200
6201 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6202
6203 * progmodes/sql.el: Version 2.6
6204 (sql-dialect): Synonym for "sql-product".
6205 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6206 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6207 Set "sql-buffer" to buffer name not buffer object so multiple sql
6208 interactive buffers work properly. Reverts misguided changes in
6209 earlier work.
6210 (sql-comint): Make sure different buffer name is used if "*SQL*"
6211 buffer is for a different product.
6212 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6213 login param.
6214 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6215 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6216 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6217 Accept new buffer name or prompt for one.
6218 (sql-port): Default to zero.
6219 (sql-comint-mysql): Handle "sql-port" as a numeric.
6220 (sql-port-history): Delete unused variable.
6221 (sql-get-login): Default "sql-port" to a number.
6222 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6223 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6224 "sqlite3" executables.
6225 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6226 (sql-buffer-live-p): New function.
6227 (sql-mode-menu, sql-send-string): Use it.
6228 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6229 syntax pattern.
6230 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6231 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6232
6233 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6234
6235 * net/netrc.el (netrc-credentials): New convenience function.
6236
6237 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6240 to replace texinfo-font-lock-syntactic-keywords.
6241 (texinfo-mode): Use it.
6242
6243 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6244 Use syntax-propertize-function.
6245
6246 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6247 replace sgml-font-lock-syntactic-keywords.
6248 (sgml-mode): Use it.
6249
6250 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6251 since we don't use it.
6252
6253 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6254
6255 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6256 if available.
6257 (vhdl-fontify-buffer): Adjust.
6258
6259 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6260 replace tcl-font-lock-syntactic-keywords.
6261 (tcl-mode): Use it.
6262
6263 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6264 replace simula-font-lock-syntactic-keywords.
6265 (simula-mode): Use it.
6266
6267 * progmodes/sh-script.el (sh-st-symbol): Remove.
6268 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6269 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6270 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6271 (sh-font-lock-paren): Set syntax-multiline.
6272 (sh-font-lock-syntactic-keywords): Remove.
6273 (sh-syntax-propertize-function): New function to replace it.
6274 (sh-mode): Use it.
6275
6276 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6277 Define while compiling.
6278 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6279 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6280 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6281 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6282 (ruby-here-doc-end-syntax): Only define when
6283 syntax-propertize is not available.
6284 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6285 New functions.
6286 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6287 (electric-indent-chars): Silence bytecompiler.
6288 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6289 electric-indent-chars.
6290
6291 * progmodes/python.el (python-syntax-propertize-function): New var to
6292 replace python-font-lock-syntactic-keywords.
6293 (python-mode): Use it.
6294 (python-quote-syntax): Simplify and adjust to new use.
6295
6296 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6297 replace perl-font-lock-syntactic-keywords.
6298 (perl-syntax-propertize-special-constructs): New fun to replace
6299 perl-font-lock-special-syntactic-constructs.
6300 (perl-font-lock-syntactic-face-function): New fun.
6301 (perl-mode): Use it.
6302
6303 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6304 to replace octave-font-lock-close-quotes.
6305 (octave-syntax-propertize-function): New function to replace
6306 octave-font-lock-syntactic-keywords.
6307 (octave-mode): Use it.
6308
6309 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6310 replaces mixal-font-lock-syntactic-keywords.
6311 (mixal-mode): Use it.
6312
6313 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6314 New var; replaces makefile-font-lock-syntactic-keywords.
6315 (makefile-mode): Use it.
6316 (makefile-imake-mode): Adjust.
6317
6318 * progmodes/js.el (js--regexp-literal): Define while compiling.
6319 (js-syntax-propertize-function): New var; replaces
6320 js-font-lock-syntactic-keywords.
6321 (js-mode): Use it.
6322
6323 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6324 replaces gdb-script-font-lock-syntactic-keywords.
6325 (gdb-script-mode): Use it.
6326
6327 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6328 (fortran--font-lock-syntactic-keywords): New var.
6329 (fortran-line-length): Update syntax-propertize-function and
6330 fortran--font-lock-syntactic-keywords.
6331
6332 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6333
6334 * progmodes/cfengine.el (cfengine-mode):
6335 Use syntax-propertize-function.
6336 (cfengine-font-lock-syntactic-keywords): Remove.
6337
6338 * progmodes/autoconf.el (autoconf-mode):
6339 Use syntax-propertize-function.
6340 (autoconf-font-lock-syntactic-keywords): Remove.
6341
6342 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6343 (ada-after-change-function, ada-initialize-syntax-table-properties)
6344 (ada-handle-syntax-table-properties): Only define when
6345 syntax-propertize is not available.
6346 (ada-mode): Use syntax-propertize-function.
6347
6348 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6349 (font-lock-fontify-syntactic-keywords-region): Move handling of
6350 font-lock-syntactically-fontified to...
6351 (font-lock-default-fontify-region): ...here.
6352 Let syntax-propertize-function take precedence.
6353 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6354
6355 * emacs-lisp/syntax.el (syntax-propertize-function)
6356 (syntax-propertize-chunk-size, syntax-propertize--done)
6357 (syntax-propertize-extend-region-functions): New vars.
6358 (syntax-propertize-wholelines, syntax-propertize-multiline)
6359 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6360 (syntax-propertize): New functions.
6361 (syntax-propertize-rules): New macro.
6362 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6363 (syntax-ppss): Call syntax-propertize.
6364
6365 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6366
6367 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6368
6369 * textmodes/ispell.el (ispell-init-process): Improve comments.
6370 XEmacs compatibility changes regarding (add-hook) 'local option
6371 and (set-process-query-on-exit-flag).
6372
6373 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6374
6375 * net/tramp-cache.el (tramp-parse-connection-properties):
6376 Set tramp-autoload cookie.
6377
6378 2010-09-09 Glenn Morris <rgm@gnu.org>
6379
6380 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6381 (imagemagick-register-types): Doc fix.
6382
6383 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6386
6387 * progmodes/js.el (require): Require is already "eval-and-compile".
6388 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6389 (js--re-search-backward): Use js--re-search-forward.
6390
6391 * progmodes/fortran.el (fortran-line-length): Don't recompute
6392 syntactic keywords redundantly a second time.
6393
6394 * progmodes/ada-mode.el: Replace "(set '" with setq.
6395 (ada-mode): Simplify.
6396 (ada-create-case-exception, ada-adjust-case-interactive)
6397 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6398 (ada-search-ignore-string-comment, ada-move-to-start)
6399 (ada-move-to-end): Use with-syntax-table.
6400
6401 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6402 (font-lock-unfontify-region, font-lock-default-fontify-region):
6403 Update usage correspondingly.
6404 (font-lock-fontify-syntactic-keywords-region):
6405 Set parse-sexp-lookup-properties buffer-locally here.
6406 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6407
6408 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6409
6410 2010-09-08 Glenn Morris <rgm@gnu.org>
6411
6412 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6413 Error if not compiled with -DBYTE_CODE_METER.
6414
6415 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6416 Ignore dir-locals-file.
6417
6418 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6419
6420 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6421 Not a const.
6422 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6423 for the `gnu' messages.
6424 (compilation-set-skip-threshold): New command.
6425 (compilation-start): Use \' rather than $.
6426 (compilation-forget-errors): Use clrhash.
6427
6428 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6429
6430 * textmodes/ispell.el (ispell-valid-dictionary-list):
6431 Simplify logic.
6432
6433 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6434
6435 Migrate to Tramp 2.2. Rearrange load dependencies.
6436 (Bug#1529, Bug#5448, Bug#5705)
6437
6438 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6439 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6440 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6441
6442 * net/tramp.el (top): Remove all other tramp-* loads except
6443 tramp-compat.el. Remove all changes to tramp-unload-hook for
6444 other tramp-* packages. Rearrange defun order. Change calls of
6445 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6446 `tramp-compat-octal-to-decimal' to new function names.
6447 (tramp-terminal-type, tramp-initial-end-of-output)
6448 (tramp-methods, tramp-foreign-file-name-handler-alist)
6449 (tramp-tramp-file-p, tramp-completion-mode-p)
6450 (tramp-send-command-and-check, tramp-get-remote-path)
6451 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6452 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6453 (with-file-property, with-connection-property): Move to
6454 tramp-cache.el.
6455 (tramp-local-call-process, tramp-decimal-to-octal)
6456 (tramp-octal-to-decimal): Move to tramp-compat.el.
6457 (tramp-handle-shell-command): Do not require 'shell.
6458 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6459 symbols.
6460 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6461
6462 * net/tramp-cache.el (top): Require 'tramp. Add to
6463 `tramp-unload-hook'.
6464 (tramp-cache-data, tramp-get-file-property)
6465 (tramp-set-file-property, tramp-flush-file-property)
6466 (tramp-flush-directory-property, tramp-get-connection-property)
6467 (tramp-set-connection-property, tramp-flush-connection-property)
6468 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6469 cookie.
6470 (with-file-property, with-connection-property): New defuns, moved
6471 from tramp.el.
6472 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6473 macro.
6474
6475 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6476 (tramp-version): Set tramp-autoload cookie.
6477
6478 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6479 changes to tramp-unload-hook for other tramp-* packages. Add to
6480 `tramp-unload-hook'.
6481 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6482 (tramp-compat-call-process): New defuns, moved from tramp.el.
6483
6484 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6485 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6486 Add to `tramp-unload-hook'. Change call of
6487 `tramp-compat-decimal-to-octal' to new function name.
6488 (tramp-fish-method): Make it a defconst.
6489 (tramp-fish-file-name-p): Make it a defsubst.
6490 (tramp-fish-method, tramp-fish-file-name-handler)
6491 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6492
6493 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6494 `tramp-foreign-file-name-handler-alist'. Add to
6495 `tramp-unload-hook'.
6496 (tramp-ftp-method): Make it a defconst.
6497 (tramp-ftp-file-name-p): Make it a defsubst.
6498 (tramp-ftp-method, tramp-ftp-file-name-handler)
6499 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6500
6501 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6502 `tramp-foreign-file-name-handler-alist'. Add to
6503 `tramp-unload-hook'. Change checks, whether package can be
6504 loaded.
6505 (tramp-gvfs-file-name-p): Make it a defsubst.
6506 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6507 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6508 (tramp-gvfs-handle-file-directory-p): New defun.
6509 (tramp-gvfs-file-name-handler-alist): Use it.
6510
6511 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6512 `tramp-foreign-file-name-handler-alist'. Add to
6513 `tramp-unload-hook'.
6514 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6515 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6516 defconst.
6517 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6518 (tramp-gw-open-connection): Set tramp-autoload cookie.
6519
6520 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6521 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6522 Add to `tramp-unload-hook'. Change checks, whether package can be
6523 loaded.
6524 (tramp-imap-file-name-p): Make it a defsubst.
6525 (tramp-imap-method, tramp-imaps-method)
6526 (tramp-imap-file-name-handler)
6527 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6528
6529 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6530 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6531 Add to `tramp-unload-hook'. Change checks, whether package can be
6532 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6533 function name.
6534 (tramp-smb-tunnel-method): Make it a defconst.
6535 (tramp-smb-file-name-p): Make it a defsubst.
6536 (tramp-smb-method, tramp-smb-file-name-handler)
6537 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6538
6539 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6540 (tramp-uuencode-region): Set tramp-autoload cookie.
6541
6542 * net/trampver.el (top) Add to `tramp-unload-hook'.
6543 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6544 cookie. Update release number.
6545
6546 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6547
6548 * textmodes/ispell.el (ispell-start-process): Make sure original
6549 arg list is properly initialized (Bug#6993, Bug#6994).
6550
6551 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6552
6553 * files.el (directory-abbrev-alist): Use \` as default regexp.
6554
6555 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6556 chars like - or ] (bug#6984).
6557 (rx-any-condense-range): Explode 2-char ranges.
6558
6559 2010-09-06 Glenn Morris <rgm@gnu.org>
6560
6561 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6562
6563 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6564
6565 * textmodes/bibtex.el:
6566 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6567
6568 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6569
6570 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6571 since no callers use it.
6572 (imap-message-get): Ditto.
6573 (imap-message-put): Ditto.
6574 (imap-mailbox-map): Ditto.
6575 (imap-mailbox-put): Ditto.
6576 (imap-mailbox-get): Ditto.
6577 (imap-mailbox-get): Revert last change for this function.
6578
6579 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6580
6581 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6582 callers to use `imap-fetch' instead. According to the comments, this
6583 should be safe, since all other IMAP clients use the 1:* syntax.
6584 (imap-enable-exchange-bug-workaround): Remove.
6585 (imap-debug): Remove -- doesn't seem very useful.
6586
6587 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6588
6589 * net/imap.el (imap-log): New convenience function used throughout
6590 instead of repeating the same code all over the place.
6591
6592 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6593
6594 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6595 when mouse-drag-copy-region is non-nil (Bug#6956).
6596
6597 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6598
6599 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6600 Improve regexps (Bug#6987).
6601 (dired-sort-toggle): Search more robustly for -t flag.
6602
6603 * files.el (get-free-disk-space): Search more robustly for
6604 "available" column. Suggested by Ehud Karni
6605 <ehud@unix.mvs.co.il>.
6606
6607 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6608
6609 * international/uni-bidi.el:
6610 * international/uni-category.el:
6611 * international/uni-combining.el:
6612 * international/uni-decimal.el:
6613 * international/uni-mirrored.el:
6614 * international/uni-name.el: Regenerate.
6615
6616 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6617
6618 * electric.el (electric-indent-post-self-insert-function):
6619 Don't reindent with a sloppy indentation function.
6620
6621 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6622 border case in change-log-mode.
6623
6624 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6625
6626 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6627 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6628 Recognize leading tab in gcc-include regexp. Ignore names with
6629 leading "from" or "in" in gnu regexp (Bug#6937).
6630
6631 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6634 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6635 (ispell-start-process): Avoid setq and simplify logic.
6636 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6637 (kill-buffer-hook): Don't use it globally with code that uses
6638 expand-file-name since that may call kill-buffer via
6639 code_conversion_restore.
6640
6641 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6642
6643 * emacs-lisp/package.el (package-directory-list): Only call
6644 file-name-nondirectory on a string.
6645
6646 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6647
6648 * emacs-lisp/package.el (package--download-one-archive):
6649 Ensure that archive-contents is valid before saving it.
6650 (package-activate-1, package-mark-obsolete, define-package)
6651 (package-compute-transaction, package-list-maybe-add): Use push.
6652
6653 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 Use SMIE's blink-paren for octave-mode.
6656 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6657 Backslashes do not escape single-quotes, single-quotes do.
6658 (octave-block-else-regexp, octave-block-end-regexp)
6659 (octave-block-match-alist): Remove.
6660 (octave-smie-bnf-table): New var, with old content.
6661 (octave-smie-op-levels): Use it.
6662 (octave-smie-closer-alist): New var.
6663 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6664 (octave-blink-matching-block-open): Remove.
6665 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6666 (octave-electric-space): Let self-insert-command run expand-abbrev and
6667 blink parens.
6668
6669 * electric.el (electricity): New group.
6670 (electric-indent-chars): New var.
6671 (electric-indent-post-self-insert-function): New fun.
6672 (electric-indent-mode): New minor mode.
6673 (electric-pair-skip-self): New custom.
6674 (electric-pair-post-self-insert-function): New function.
6675 (electric-pair-mode): New minor mode.
6676
6677 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6678 calcAlg-blink-matching-open.
6679 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6680 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6681 Use the new blink-matching-check-function.
6682
6683 Provide blink-matching support to SMIE.
6684 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6685 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6686 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6687
6688 * simple.el (newline): Fix last change to properly remove itself from
6689 the hook.
6690
6691 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * simple.el (newline): Eliminate optimization.
6694 Use post-self-insert-hook to set hard-newline and things before
6695 running post-self-insert-hook.
6696 (blink-matching-check-mismatch): New function.
6697 (blink-matching-check-function): New variable.
6698 (blink-matching-open): Use them.
6699 Skip back forward over prefix chars skipped by forward-sexp.
6700 Don't check if the parens are backslash escaped.
6701 (blink-paren-post-self-insert-function): Check backslash escaping here.
6702
6703 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6704
6705 * emacs-lisp/package.el (package-menu-mode-map):
6706 Change package-menu-revert bindings to revert-buffer.
6707 (package-menu-mode): Set revert-buffer-function.
6708 (package-menu-revert): Doc fix.
6709
6710 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6711
6712 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6713 `default-directory' unless using Ispell per-directory personal
6714 dictionaries and not in a mini-buffer under XEmacs.
6715 (kill-buffer-hook): Do not kill ispell process on exit when
6716 `ispell-process-directory' is "~/". (Bug#6143)
6717
6718 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6719
6720 * simple.el (kill-new): Call interprogram-cut-function with only
6721 one argument.
6722
6723 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6724 Remove cut buffer from error message.
6725
6726 * term/x-win.el (x-select-text):
6727 * term/pc-win.el (x-selection-value):
6728 * term/ns-win.el (x-selection-value):
6729 * eshell/em-term.el:
6730 * w32-fns.el (x-get-selection-value):
6731 * mouse-sel.el (mouse-sel-set-selection-function):
6732 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6733
6734 * term/x-win.el: Update documentation for x-last-selected-text-*.
6735 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6736 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6737 (x-select-text): Remove argument PUSH, update documentation.
6738 Remove cut-buffer code.
6739 (x-selection-value-internal): Was previously x-selection-value.
6740 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6741 Update documentation, remove cut-buffer code.
6742 Call x-selection-value-internal.
6743 (x-clipboard-yank): Call x-selection-value-internal.
6744 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6745
6746 * term/pc-win.el (x-last-selected-text):
6747 x-cut-buffer-or-selection-value renamed to x-selection-value
6748 (x-select-text): Remove argument PUSH, update documentation.
6749
6750 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6751 x-cut-buffer-or-selection-value renamed to x-selection-value
6752 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6753 (x-select-text): Remove argument PUSH, update documentation.
6754
6755 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6756
6757 * w32-fns.el (x-last-selected-text):
6758 x-cut-buffer-or-selection-value renamed to x-selection-value.
6759 (x-cut-buffer-max): Remove.
6760 (x-select-text): Remove argument PUSH, update documentation.
6761
6762 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6763
6764 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6765
6766 * mouse-sel.el (mouse-sel-get-selection-function):
6767 x-cut-buffer-or-selection-value renamed to x-selection-value.
6768 (x-select-text): Remove optional push.
6769
6770 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * simple.el (blink-paren-function): Move from C to here.
6773 (blink-paren-post-self-insert-function): New function.
6774 (post-self-insert-hook): Use it.
6775
6776 * emacs-lisp/pcase.el (pcase-split-memq):
6777 Fix overenthusiastic optimisation.
6778 (pcase-u1): Handle the case of a lambda pred.
6779
6780 2010-08-31 Kenichi Handa <handa@m17n.org>
6781
6782 * international/mule-cmds.el (standard-display-european-internal):
6783 Setup standard-display-table for 8-bit characters by storing 8-bit
6784 characters in the element vector.
6785
6786 * disp-table.el (standard-display-8bit):
6787 Setup standard-display-table for 8-bit characters by storing 8-bit
6788 characters in the element vector.
6789 (standard-display-european): Likewise.
6790
6791 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6792
6793 * textmodes/nroff-mode.el (nroff-view): New command.
6794 (nroff-mode-map): Bind it to C-c C-c.
6795
6796 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * emacs-lisp/smie.el (smie-down-list): New command.
6799
6800 Remove old indentation and navigation code on octave-mode.
6801 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6802 smie-down-list rather than add a binding for octave-down-block.
6803 (octave-mark-block, octave-blink-matching-block-open):
6804 Rely on forward-sexp-function.
6805 (octave-fill-paragraph): Don't narrow, so you can use
6806 indent-according-to-mode.
6807 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6808 (octave-in-block-p, octave-re-search-forward-kw)
6809 (octave-re-search-backward-kw, octave-indent-calculate)
6810 (octave-end-as-array-index-p, octave-block-end-offset)
6811 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6812 (octave-down-block, octave-backward-up-block, octave-up-block)
6813 (octave-before-magic-comment-p, octave-indent-line): Remove.
6814
6815 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6816
6817 * emacs-lisp/package.el (package--read-archive-file): Just use
6818 `read', to avoid copying an additional string.
6819 (package-menu-mode): Set header-line-format here.
6820 (package-menu-refresh, package-menu-revert): Signal an error if
6821 not in the Package Menu.
6822 (package-menu-package-list): New var.
6823 (package--generate-package-list): Operate on the current buffer;
6824 don't assume that it is *Packages*, since the user may rename it.
6825 Allow persistent package listings and sort keys using
6826 package-menu-package-list and package-menu-package-sort-key.
6827 (package-menu--version-predicate): Fix version calculation.
6828 (package-menu-sort-by-column): Don't select the window.
6829 (package--list-packages): Create the *Packages* buffer.
6830 Set package-menu-package-list-key.
6831 (list-packages): Sorting by status is now the default.
6832 (package-buffer-info): Use match-string-no-properties.
6833 (define-package): Add a &rest argument for future proofing, but
6834 don't use it yet.
6835 (package-install-from-buffer, package-install-buffer-internal):
6836 Merge into a single function, package-install-from-buffer.
6837 (package-install-file): Change caller.
6838
6839 * finder.el: Load finder-inf using `require'.
6840 (finder-list-matches): Sorting by status is now the default.
6841 (finder-compile-keywords): Simpify printing.
6842
6843 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6846 (octave-mode-map): Remove special bindings for forward/backward-block
6847 and octave-backward-up-block. Use smie-close-block.
6848 (octave-continuation-marker-regexp): New var.
6849 (octave-continuation-regexp): Use it.
6850 (octave-operator-table, octave-smie-op-levels)
6851 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6852 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6853 (octave-mode): Use SMIE.
6854 (octave-close-block): Delete.
6855
6856 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6857
6858 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6859 CLIPBOARD, not in PRIMARY. (Bug#6944)
6860
6861 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6862
6863 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6864 a list of parents.
6865 (smie-indent-column): Allow indirection through variables.
6866
6867 * composite.el (save-buffer-state): Delete, unused.
6868 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6869 (font-lock-default-fontify-region): Use with-syntax-table.
6870 * jit-lock.el (with-buffer-unmodified): Remove.
6871 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6872
6873 Use `declare' in defmacros.
6874 * window.el (save-selected-window):
6875 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6876 * progmodes/python.el (def-python-skeleton):
6877 * net/dbus.el (dbus-ignore-errors):
6878 * jka-cmpr-hook.el (with-auto-compression-mode):
6879 * international/mule.el (with-category-table):
6880 * emacs-lisp/timer.el (with-timeout):
6881 * emacs-lisp/lisp-mnt.el (lm-with-file):
6882 * emacs-lisp/eieio.el (with-slots):
6883 * emacs-lisp/easymenu.el (easy-menu-define):
6884 * emacs-lisp/debug.el (debugger-env-macro):
6885 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6886 (Multiple-value-call, Multiple-value-prog1):
6887 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6888 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6889 edebug rule to definition.
6890 * emacs-lisp/lisp-mode.el (save-selected-window)
6891 (with-current-buffer, combine-after-change-calls)
6892 (with-output-to-string, with-temp-file, with-temp-buffer)
6893 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6894 (dolist, dotimes, when, unless):
6895 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6896
6897 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6898
6899 * finder.el: Require `package'.
6900 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6901 (finder-package-info): Var deleted.
6902 (finder-keywords-hash, finder--builtins-alist): New vars.
6903 (finder-compile-keywords): Compute package--builtins and
6904 finder-keywords-hash instead of finder-keywords-hash, respecting
6905 the "Package" header.
6906 (finder-unknown-keywords, finder-list-matches):
6907 Use finder-keywords-hash and package--list-packages.
6908 (finder-mode): Don't set font-lock-defaults.
6909 (finder-exit): We don't use "*Finder-package*" and "*Finder
6910 Category*" buffers anymore.
6911
6912 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6913 (package--builtins): Set default value to nil.
6914 (package-initialize): Load precomputed value of package--builtins
6915 from finder-inf.el.
6916 (package-alist, package-compute-transaction)
6917 (package-download-transaction): Improve docstring.
6918 (package-read-all-archive-contents): Do not change
6919 package--builtins here.
6920 (list-packages): Make package-list-packages an alias for this.
6921 Sort by status by default.
6922 (package--list-packages): Add optional PACKAGES arg.
6923 (describe-package-1): Use font-lock-face property. For built-in
6924 packages, insert file commentary.
6925 (package--generate-package-list): Rename from
6926 package-list-packages-internal; all callers changed. Add optional
6927 PACKAGES arg. Add alphabetical sort fallbacks.
6928 (package-menu--version-predicate, package-menu--status-predicate)
6929 (package-menu--description-predicate)
6930 (package-menu--name-predicate): New functions.
6931
6932 * info.el (Info-finder-find-node): Search package-alist instead of
6933 finder-package-info.
6934
6935 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6936
6937 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6938 "alpha" and "beta".
6939 (version-to-list): Handle versions like "10.3d".
6940
6941 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6944 (macroexp-accumulate): Use `declare'.
6945
6946 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6947
6948 * whitespace.el (whitespace-style): Adjust type declaration.
6949
6950 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6951
6952 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6953 empty argument to gvfs-copy.
6954
6955 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6956
6957 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6958 handle new TRASH arg of `delete-file'.
6959
6960 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6961
6962 * net/tramp.el (tramp-handle-insert-directory): Don't use
6963 `forward-word', its default syntax could be changed.
6964
6965 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6966 Michael Albinus <michael.albinus@gmx.de>
6967
6968 Implement compression for inline methods.
6969
6970 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6971 (tramp-copy-size-limit): Allow also nil.
6972 (tramp-inline-compress-commands): New defconst.
6973 (tramp-find-inline-compress, tramp-get-inline-compress)
6974 (tramp-get-inline-coding): New defuns.
6975 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6976 replaced by `tramp-get-inline-coding'.
6977 (tramp-handle-file-local-copy, tramp-handle-write-region)
6978 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6979
6980 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6981
6982 Detect ssh 'ControlMaster' argument automatically in some cases.
6983
6984 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6985 (tramp-default-method): Use it.
6986
6987 2010-08-26 Karel Klíč <kklic@redhat.com>
6988
6989 * net/tramp.el (tramp-file-name-for-operation):
6990 Add file-selinux-context.
6991
6992 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6993
6994 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6995
6996 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6997
6998 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6999 (Bug#6907).
7000
7001 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7002
7003 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7004 (js-paren-indent-offset, js-square-indent-offset)
7005 (js-curly-indent-offset): New options.
7006 (js--proper-indentation): Use them.
7007
7008 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7009
7010 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7011 instead of inspecting font-lock properties (Bug#6916).
7012
7013 2010-08-26 David Reitter <david.reitter@gmail.com>
7014
7015 * server.el (server-visit-files): Run pre-command-hook and
7016 post-command-hook for each buffer while it is current (Bug#6910).
7017 (server-execute): Do not run hooks here.
7018
7019 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7020
7021 Sync with Tramp 2.1.19.
7022
7023 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7024 (tramp-reporter-dump-variable, tramp-load-report-modules)
7025 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7026 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7027
7028 * net/tramp-compat.el (top): Do not autoload
7029 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7030 only when `start-file-process' is not bound.
7031 (byte-compile-not-obsolete-vars): Define if not bound.
7032 (tramp-compat-funcall): New defmacro.
7033 (tramp-compat-line-beginning-position)
7034 (tramp-compat-line-end-position)
7035 (tramp-compat-temporary-file-directory)
7036 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7037 (tramp-compat-copy-file, tramp-compat-copy-directory)
7038 (tramp-compat-delete-file, tramp-compat-delete-directory)
7039 (tramp-compat-number-sequence, tramp-compat-process-running-p):
7040 Use it.
7041 (tramp-advice-file-expand-wildcards): Do not use
7042 `tramp-handle-file-remote-p'.
7043 (tramp-compat-make-temp-file): Simplify fallback implementation.
7044 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7045 (tramp-compat-copy-tree): Remove function.
7046 (tramp-compat-delete-file): New defun.
7047 (tramp-compat-delete-directory): Provide implementation for older
7048 Emacsen.
7049 (tramp-compat-file-attributes): Handle only
7050 `wrong-number-of-arguments' error.
7051
7052 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7053 Add PRESERVE_SELINUX_CONTEXT.
7054 (tramp-fish-handle-delete-file): Add TRASH arg.
7055 (tramp-fish-handle-directory-files-and-attributes):
7056 Do not use `tramp-fish-handle-file-attributes.
7057 (tramp-fish-handle-file-local-copy)
7058 (tramp-fish-handle-insert-file-contents)
7059 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7060
7061 * net/tramp-gvfs.el (top): Require url-util.
7062 (tramp-gvfs-mount-point): Remove.
7063 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7064 and `set-file-selinux-context'.
7065 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7066 (tramp-gvfs-handle-file-selinux-context)
7067 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7068 (with-tramp-dbus-call-method): Format trace message.
7069 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7070 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7071 Implement backup call, when operation on local files fails.
7072 Use progress reporter. Flush properties of changed files.
7073 (tramp-gvfs-handle-delete-file): Add TRASH arg.
7074 Use `tramp-compat-delete-file'.
7075 (tramp-gvfs-handle-expand-file-name): Expand "~/".
7076 (tramp-gvfs-handle-make-directory): Make more traces.
7077 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7078 (tramp-gvfs-url-file-name): Hexify file name in url.
7079 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7080 into account for the resulting file name.
7081 (tramp-gvfs-handler-askquestion): Preserve current message, in
7082 order to let progress reporter continue afterwards. (Bug#6257)
7083 Return dummy mountpoint, when the answer is "no".
7084 See `tramp-gvfs-maybe-open-connection'.
7085 (tramp-gvfs-handler-mounted-unmounted)
7086 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7087 attribute "default_location". Set "prefix" property.
7088 Handle default-location.
7089 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7090 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7091 exists. Raise an error, if not (due to a corresponding answer
7092 "no" in interactive questions, for example).
7093 Use `tramp-compat-funcall'.
7094
7095 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7096 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7097 (tramp-imap-do-copy-or-rename-file)
7098 (tramp-imap-handle-insert-file-contents)
7099 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7100 (tramp-imap-handle-delete-file): Add TRASH arg.
7101
7102 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7103 Add PRESERVE-SELINUX-CONTEXT.
7104 (tramp-smb-handle-copy-file)
7105 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7106 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7107 Use `with-progress-reporter'.
7108 (tramp-smb-handle-delete-file): Add TRASH arg.
7109
7110 * net/tramp.el (tramp-methods): Move hostname to the end in all
7111 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
7112 appropriate.
7113 (tramp-verbose): Describe verbose level 9.
7114 (tramp-completion-function-alist)
7115 (tramp-file-name-regexp, tramp-chunksize)
7116 (tramp-local-coding-commands, tramp-remote-coding-commands)
7117 (with-connection-property, tramp-completion-mode-p)
7118 (tramp-action-process-alive, tramp-action-out-of-band)
7119 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7120 (tramp-exists-file-name-handler): Fix docstring.
7121 (tramp-remote-process-environment): Use `format' instead of
7122 `concat'. Protect version string by apostroph.
7123 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7124 XEmacs.
7125 (tramp-file-name-regexp-unified)
7126 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7127 not regard the volume letter as remote filename. (Bug#5447)
7128 (tramp-perl-file-attributes)
7129 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7130 (tramp-vc-registered-read-file-names): Read input as
7131 here-document, otherwise the command could exceed maximum length
7132 of command line.
7133 (tramp-file-name-handler-alist): Add `file-selinux-context' and
7134 `set-file-selinux-context'.
7135 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7136 backtrace functions.
7137 (tramp-error-with-buffer): Don't show the connection buffer when
7138 we are in completion mode.
7139 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7140 (tramp-handle-file-selinux-context)
7141 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7142 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7143 New defuns.
7144 (with-progress-reporter): New defmacro.
7145 (tramp-debug-outline-regexp): New defconst.
7146 (top, tramp-rfn-eshadow-setup-minibuffer)
7147 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7148 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7149 (tramp-completion-mode-p, tramp-check-for-regexp)
7150 (tramp-open-connection-setup-interactive-shell)
7151 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7152 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7153 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7154 Use `tramp-compat-funcall'.
7155 (tramp-handle-make-symbolic-link): Flush file properties.
7156 (tramp-handle-load, tramp-handle-file-local-copy)
7157 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7158 (tramp-handle-vc-registered, tramp-maybe-send-script)
7159 (tramp-find-shell): Use `with-progress-reporter'.
7160 (tramp-do-file-attributes-with-stat): Add space in format string,
7161 in order to work around a bug in pdksh. Reported by Gilles Pion
7162 <gpion@lfdj.com>.
7163 (tramp-handle-verify-visited-file-modtime): Do not send a command
7164 when the connection is not established.
7165 (tramp-handle-set-file-times): Simplify the check for utc.
7166 (tramp-handle-directory-files-and-attributes)
7167 (tramp-get-remote-path): Use `copy-tree'.
7168 (tramp-completion-handle-file-name-all-completions): Ensure, that
7169 non remote files are still checked. Oops.
7170 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7171 Handle PRESERVE-SELINUX-CONTEXT.
7172 (tramp-do-copy-or-rename-file): Add progress reporter.
7173 (tramp-do-copy-or-rename-file-directly): Do not use
7174 `tramp-handle-file-remote-p'.
7175 (tramp-do-copy-or-rename-file-out-of-band):
7176 Use `tramp-compat-delete-directory'.
7177 (tramp-do-copy-or-rename-file-out-of-band)
7178 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7179 Use `format-spec-make'.
7180 (tramp-handle-delete-file): Add TRASH arg.
7181 (tramp-handle-dired-uncache): Flush directory cache, not only file
7182 cache.
7183 (tramp-handle-expand-file-name)
7184 (tramp-completion-handle-file-name-all-completions)
7185 (tramp-completion-handle-file-name-completion):
7186 Use `tramp-connectable-p'.
7187 (tramp-handle-start-file-process): Set connection property "vec".
7188 Use it, in order to invalidate file caches. Check only for
7189 `remote-tty' process property.
7190 Implement tty setting. (Bug#4604, Bug#6360)
7191 (tramp-file-name-for-operation): Add `call-process-region' and
7192 `set-file-selinux-context'.
7193 (tramp-find-foreign-file-name-handler)
7194 (tramp-advice-make-auto-save-file-name)
7195 (tramp-set-auto-save-file-modes): Remove superfluous check for
7196 `stringp'. This is done inside `tramp-tramp-file-p'.
7197 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7198 operations when we are in completion mode. This gives the user
7199 the chance to correct the file name in the minibuffer.
7200 (tramp-completion-mode-p): Use `non-essential'.
7201 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7202 compatibility: Use `completion-ignore-case' if
7203 `read-file-name-completion-ignore-case' does not exist.
7204 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7205 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7206 `tramp-open-shell'.
7207 (tramp-action-password): Hide password prompt before next run.
7208 (tramp-process-actions): Widen connection buffer for the trace.
7209 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7210 process property. Trace stty settings if `tramp-verbose' >= 9.
7211 Apply workaround for IRIX64 bug. Move argument of last
7212 `tramp-send-command' where it belongs to.
7213 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7214 front of `login-args'.
7215 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7216 on "/dev/null" instead of "/".
7217 (tramp-get-ls-command-with-dired): Make test for "--dired"
7218 stronger.
7219 (tramp-set-auto-save-file-modes): Adapt version check.
7220 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7221 (tramp-handle-process-file): Call the program in a subshell, in
7222 order to preserve working directory.
7223 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7224 `tramp-remote-sh' from `tramp-methods'.
7225 (tramp-get-ls-command): Make test for "--color=never" stronger.
7226 (tramp-check-for-regexp): Use (forward-line 1).
7227
7228 * net/trampver.el: Update release number.
7229
7230 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7231
7232 * help.el (help-map): Bind `C-h P' to describe-package.
7233
7234 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7235
7236 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7237 when downloading archives.
7238 (describe-package-1): Add package commentary.
7239 (package-install-button-action): New function.
7240 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7241 (package-menu-view-commentary): Function removed.
7242 (package-list-packages-internal): Hide the `package' package too.
7243
7244 2010-08-25 Kenichi Handa <handa@m17n.org>
7245
7246 * language/misc-lang.el ("Arabic"): New language environment.
7247 Setup composition-function-table for Arabic characters.
7248
7249 * international/fontset.el (setup-default-fontset): Fix typo for
7250 arabic OTF spec (fini->fina).
7251
7252 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7253
7254 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7255 on all frames.
7256
7257 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7258
7259 * whitespace.el: Allow cleaning up blanks without blank
7260 visualization (Bug#6651). Adjust help window for
7261 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7262 instead of whitespace-line-column (from EmacsWiki). New version
7263 13.1.
7264 (whitespace-style): Add new value 'face. Adjust docstring.
7265 (whitespace-space, whitespace-hspace, whitespace-tab):
7266 Adjust foreground property face.
7267 (whitespace-line-column): Adjust docstring and type declaration.
7268 (whitespace-style-value-list, whitespace-toggle-option-alist)
7269 (whitespace-help-text): Adjust const initialization.
7270 (whitespace-toggle-options, global-whitespace-toggle-options):
7271 Adjust docstring.
7272 (whitespace-display-window, whitespace-interactive-char)
7273 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7274 (whitespace-help-scroll): New fun.
7275
7276 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7277
7278 * emacs-lisp/package.el (list-packages): Alias for
7279 package-list-packages.
7280
7281 2010-08-24 Kevin Ryde <user42@zip.com.au>
7282
7283 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7284 (Bug#5651).
7285
7286 * progmodes/ruby-mode.el (ruby): Add defgroup.
7287
7288 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7289
7290 * progmodes/python.el: Add Ipython support (Bug#5390).
7291 (python-shell-prompt-alist)
7292 (python-shell-continuation-prompt-alist): New options.
7293 (python--set-prompt-regexp): New function.
7294 (inferior-python-mode, run-python, python-shell):
7295 Require ansi-color. Use python--set-prompt-regexp to set the comint
7296 prompt based on the Python interpreter.
7297 (python--prompt-regexp): New var.
7298 (python-check-comint-prompt)
7299 (python-comint-output-filter-function): Use it.
7300 (run-python): Use a pipe (Bug#5694).
7301
7302 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7303
7304 * progmodes/python.el (python-send-region): Send a different
7305 Python command if Ipython is in use.
7306 (python-check-version): Use a Python command to find the version.
7307
7308 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7309
7310 * mouse.el (mouse-yank-primary): Avoid setting primary when
7311 deactivating the mark (Bug#6872).
7312
7313 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7314
7315 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7316 with "else" (Bug#3991).
7317
7318 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7319
7320 * net/dbus.el: Accept UNIX domain sockets as bus address.
7321 (top): Don't initialize `dbus-registered-objects-table' anymore,
7322 this is done in dbusbind,c.
7323 (dbus-check-event): Adapt test for bus.
7324 (dbus-return-values-table, dbus-unregister-service)
7325 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7326 Adapt doc string.
7327
7328 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7329
7330 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7331
7332 2010-08-22 Juri Linkov <juri@jurta.org>
7333
7334 * simple.el (read-extended-command): New function with the logic
7335 for `completing-read' moved to Elisp from `execute-extended-command'.
7336 Use `function-called-at-point' in `minibuffer-default-add-function'
7337 to get a command name for M-n (bug#5364, bug#5214).
7338
7339 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7340
7341 * startup.el (command-line-1): Issue warning for ignored arguments
7342 --unibyte, etc (Bug#6886).
7343
7344 2010-08-22 Leo <sdl.web@gmail.com>
7345
7346 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7347 (ignore, bright, dim, keyword): Split list of nicknames before
7348 passing to rcirc-add-or-remove (Bug#6894).
7349
7350 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7351
7352 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7353
7354 2010-08-22 Leo <sdl.web@gmail.com>
7355
7356 Fix buffer-list rename&refresh after killing a buffer in ido.
7357 * ido.el: Revert Óscar's.
7358 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7359 Remember the buffers at head, rather than their name.
7360 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7361
7362 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7363 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7366 extra backslash added to each line (bug#6890).
7367
7368 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7371
7372 2010-08-22 Glenn Morris <rgm@gnu.org>
7373
7374 * menu-bar.el (menu-bar-games-menu): Add landmark.
7375
7376 2010-08-22 Glenn Morris <rgm@gnu.org>
7377
7378 * align.el (align-regexp): Make group and spacing arguments
7379 use the interactive defaults when non-interactive. (Bug#6698)
7380
7381 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7382 expansion, so as not to need sendmail.
7383 (mail-text-start): Remove declaration.
7384 (rmail-retry-failure): Require sendmail.
7385
7386 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7387
7388 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7389
7390 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * progmodes/flymake.el (flymake-start-syntax-check-process):
7393 Use `start-file-process' in order to let it run also on remote hosts.
7394
7395 2010-08-22 Kenichi Handa <handa@m17n.org>
7396
7397 * files.el: Add `word-wrap' as safe local variable.
7398
7399 2010-08-22 Glenn Morris <rgm@gnu.org>
7400
7401 * woman.el (woman-translate): Case matters. (Bug#6849)
7402
7403 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7404
7405 * simple.el (kill-region): Doc fix (Bug#6787).
7406
7407 2010-08-22 Glenn Morris <rgm@gnu.org>
7408
7409 * calendar/diary-lib.el (diary-header-line-format):
7410 Fit it to the window, not the frame.
7411
7412 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7413
7414 * subr.el (ignore-errors): Add debug declaration.
7415
7416 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7417
7418 * whitespace.el (whitespace-color-off): Remove post-command-hook
7419 locally.
7420
7421 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7424
7425 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7426
7427 * cus-edit.el (custom-group-value-create): Add extra newline
7428 before end line (Bug#6876).
7429
7430 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7431
7432 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7433 when extending it. Before killing on the second click, check if
7434 the buffer is the correct one. Doc fix.
7435 (mouse-secondary-save-then-kill): Allow usage without first
7436 calling mouse-start-secondary, by defaulting to point. Don't save
7437 an empty secondary selection. Doc fix.
7438
7439 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7440
7441 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7442 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7443 New version 13.0.
7444 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7445 Adjust initialization.
7446 (whitespace-bob-marker, whitespace-eob-marker)
7447 (whitespace-buffer-changed): New vars.
7448 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7449 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7450 (whitespace-post-command-hook, whitespace-display-char-on):
7451 Adjust code.
7452 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7453 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7454
7455 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7456
7457 * files.el (locate-file-completion-table): Only list the .el and .elc
7458 extensions if there's no other choice (bug#5955).
7459
7460 * facemenu.el (facemenu-self-insert-data): New var.
7461 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7462 New functions.
7463 (facemenu-add-face): Use them.
7464
7465 * simple.el (blink-matching-open): Obey forward-sexp-function.
7466
7467 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * simple.el (prog-mode-map): New var.
7470 (prog-indent-sexp): New command.
7471
7472 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7473
7474 * progmodes/prolog.el (smie): Require.
7475
7476 * emacs-lisp/smie.el (smie-default-backward-token)
7477 (smie-default-forward-token): Strip properties.
7478 (smie-next-sexp): Be more careful with associative operators.
7479 (smie-forward-sexp-command): Generalize.
7480 (smie-backward-sexp-command): Simplify.
7481 (smie-closer-alist): New var.
7482 (smie-close-block): New command.
7483 (smie-indent-debug-log): New var.
7484 (smie-indent-offset-rule): Add a few more cases.
7485 (smie-indent-column): New function.
7486 (smie-indent-after-keyword): Use it.
7487 (smie-indent-keyword): Use it.
7488 Fix up the opener code's point position.
7489 (smie-indent-comment): Only applies at BOL.
7490 (smie-indent-debug): New command.
7491
7492 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7493 declarations that are useful before running the macro.
7494
7495 2010-08-18 Joakim Verona <joakim@verona.se>
7496
7497 * image.el (imagemagick-types-inhibit): New variable.
7498 (imagemagick-register-types): New function.
7499 * image-mode.el (image-transform-properties): New function.
7500 (image-transform-set-scale, image-transform-fit-to-height)
7501 (image-transform-set-rotation, image-transform-set-resize)
7502 (image-transform-fit-to-width, image-transform-fit-to-height):
7503 New functions.
7504 (image-toggle-display-image): Support image transforms.
7505
7506 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7507
7508 * image.el (create-animated-image): Don't add heuristic mask to image
7509 (Bug#6839).
7510
7511 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7512
7513 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7514 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7515
7516 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7519
7520 Font-lock '...' strings, plus various simplifications and fixes.
7521 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7522 (octave-font-lock-close-quotes): New function.
7523 (octave-font-lock-syntactic-keywords): New var.
7524 (octave-mode): Use it. Set beginning-of-defun-function.
7525 (octave-mode-map): Don't override the <foo>-defun commands.
7526 (octave-mode-menu): Pass it directly to easy-menu-define;
7527 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7528 (octave-block-match-alist): Fix up last change so that
7529 octave-close-block uses the more specific keyword.
7530 (info-lookup-mode): Silence byte-compiler.
7531 (octave-beginning-of-defun): Not interactive any more.
7532 Optimize slightly.
7533 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7534 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7535 (octave-completion-at-point-function): Make sure point is within
7536 beg..end.
7537 (octave-reindent-then-newline-and-indent):
7538 Use reindent-then-newline-and-indent.
7539 (octave-add-octave-menu): Remove.
7540
7541 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7542
7543 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7544 (report-emacs-bug-can-use-xdg-email): New functions.
7545 (report-emacs-bug): Set can-xdg-email to result of
7546 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7547 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7548 about it.
7549
7550 * net/browse-url.el (browse-url-default-browser): Add cond
7551 for browse-url-xdg-open.
7552 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7553
7554 2010-08-17 Glenn Morris <rgm@gnu.org>
7555
7556 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7557 (c-fontify-recorded-types-and-refs): Define for compiler.
7558 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7559 before use.
7560
7561 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7562 Fix format call.
7563
7564 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7565
7566 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7567 properties.
7568 (tramp-handle-process-file): Call the program in a subshell, in
7569 order to preserve working directory.
7570 (tramp-action-password): Hide password prompt before next run.
7571 (tramp-process-actions): Widen connection buffer for the trace.
7572
7573 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7574
7575 * net/rcirc.el (rcirc-log-process-buffers): New option.
7576 (rcirc-print): Use it.
7577 (rcirc-generate-log-filename): New function.
7578 (rcirc-log-filename-function): Change default to
7579 rcirc-generate-log-filename (Bug#6828).
7580
7581 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7582
7583 * simple.el (deactivate-mark): If select-active-regions is `only',
7584 only set selection for temporarily active regions.
7585
7586 * cus-start.el: Change defcustom for select-active-regions.
7587
7588 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7589
7590 * mouse.el (mouse--drag-set-mark-and-point): New function.
7591 (mouse-drag-track): Use LOCATION arg to push-mark.
7592 Use mouse--drag-set-mark-and-point to take click-count into
7593 consideration when updating point and mark (Bug#6840).
7594
7595 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7596
7597 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7598 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7599
7600 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7601
7602 * font-lock.el (lisp-font-lock-keywords-2):
7603 Add combine-after-change-calls, condition-case-no-debug,
7604 with-demoted-errors, and with-silent-modifications (Bug#6025).
7605
7606 2010-08-14 Kevin Ryde <user42@zip.com.au>
7607
7608 * emacs-lisp/copyright.el (copyright-update-year)
7609 (copyright-update): Temporary switch-to-buffer to ensure the
7610 buffer change being queried is visible (Bug#5394).
7611
7612 2010-08-14 Tom Tromey <tromey@redhat.com>
7613
7614 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7615 (Bug#6733).
7616
7617 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7618
7619 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7620 MS-DOS. (Bug#6689)
7621
7622 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7623
7624 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7625 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7626 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7627 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7628 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7629 Call menu-bar-set-tool-bar-position.
7630
7631 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7632
7633 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7634 comment style (bug#6834).
7635 * progmodes/scheme.el (scheme-mode-syntax-table):
7636 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7637 "b" flag in "' 14b" syntax.
7638
7639 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7640 for (un)commenting the region and performing completion.
7641 (octave-mode-menu): Use standard commands for help and completion.
7642 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7643 (octave-mode): Use define-derived-mode.
7644 Set completion-at-point-functions and don't set columns.
7645 Don't disable adaptive-fill-regexp.
7646 (octave-describe-major-mode, octave-comment-region)
7647 (octave-uncomment-region, octave-comment-indent)
7648 (octave-indent-for-comment): Remove.
7649 (octave-indent-calculate): Rename from calculate-octave-indent.
7650 (octave-indent-line, octave-fill-paragraph): Update caller.
7651 (octave-initialize-completions): No need to make an alist.
7652 (octave-completion-at-point-function): New function.
7653 (octave-complete-symbol): Use it.
7654 (octave-insert-defun): Use define-skeleton.
7655
7656 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7657 (octave-mode-map): Use comment-dwim (bug#6829).
7658
7659 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7660
7661 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7662 indentation of inserted comment.
7663
7664 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7665
7666 * faces.el (region): Add type gtk that uses gtk colors.
7667
7668 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7669 Handle theme-name change.
7670
7671 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7672
7673 * progmodes/sql.el: Version 2.5
7674 (sql-product-alist): Add :prompt-cont-regexp property for several
7675 database products.
7676 (sql-prompt-cont-regexp): New variable.
7677 (sql-output-newline-count, sql-output-by-send):
7678 New variables. Record number of newlines in input text.
7679 (sql-send-string): Handle multiple filters and count newlines.
7680 (sql-send-magic-terminator): Count terminator newline.
7681 (sql-interactive-remove-continuation-prompt): Filters output to
7682 remove continuation prompts; one for each newline.
7683 (sql-interactive-mode): Set up new variables, prompt regexp and
7684 output filter.
7685 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7686 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7687
7688 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7689
7690 * emacs-lisp/pcase.el: New file.
7691
7692 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7693
7694 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7695 as here-document, otherwise the command could exceed maximum
7696 length of command line.
7697 (tramp-handle-vc-registered): Call script accordingly.
7698 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7699
7700 2010-08-10 Kenichi Handa <handa@m17n.org>
7701
7702 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7703 composable pattern.
7704
7705 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7706
7707 * emacs-lisp/package.el (package-version-split)
7708 (package--version-first-nonzero, package-version-compare):
7709 Functions removed.
7710 (package-directory-list, package-load-all-descriptors)
7711 (package--built-in, package-activate, define-package)
7712 (package-installed-p, package-compute-transaction)
7713 (package-read-all-archive-contents)
7714 (package--add-to-archive-contents, package-buffer-info)
7715 (package-tar-file-info, package-list-packages-internal):
7716 Use version-to-list and version-list-*.
7717
7718 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7719 Use version-to-list.
7720 (package-upload-buffer-internal): Use version-list-<=.
7721
7722 2010-08-09 Kenichi Handa <handa@m17n.org>
7723
7724 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7725 composable pattern.
7726
7727 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7728
7729 * tutorial.el (tutorial--default-keys): C-d is now bound to
7730 delete-forward-char (Bug#6826).
7731
7732 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7733 for `double' value of mouse-1-click-follows-link (Bug#6807).
7734
7735 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7736
7737 * replace.el (replace-highlight): Bind isearch-forward and
7738 isearch-error, ensuring that highlighting is updated if the user
7739 switches the search direction (Bug#6808).
7740
7741 * isearch.el (isearch-lazy-highlight-forward): New var.
7742 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7743 (isearch-lazy-highlight-update): Use it.
7744
7745 2010-08-08 Kenichi Handa <handa@m17n.org>
7746
7747 * international/mule.el (define-charset): Store NAME as :base property.
7748 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7749 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7750 current priority. Force using the designation of the specific
7751 charset by adding `charset' text property. Improve the whole algorithm.
7752
7753 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7754
7755 * emulation/pc-select.el (pc-selection-mode-hook)
7756 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7757 (pc-selection-mode): Fix typos in docstrings.
7758
7759 2010-08-08 Kenichi Handa <handa@m17n.org>
7760
7761 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7762 ctext-non-standard-encodings-alist here.
7763
7764 * international/mule.el (ctext-non-standard-encodings-alist):
7765 Add "koi8-r" and "microsoft-cp1251".
7766 (ctext-standard-encodings): New variable.
7767 (ctext-non-standard-encodings-table): List only elements for
7768 non-standard encodings.
7769 (ctext-pre-write-conversion): Adjust for the above change.
7770 Check ctext-standard-encodings.
7771
7772 * international/mule-conf.el (compound-text): Doc fix.
7773 (ctext-no-compositions): Doc fix.
7774 (compound-text-with-extensions): Doc fix.
7775
7776 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7779
7780 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7781
7782 * progmodes/which-func.el (which-func-format): Split help-echo text
7783 into lines, like other mode-line tooltips.
7784
7785 * server.el (server-start): When using TCP sockets, force IPv4
7786 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7787
7788 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7791
7792 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7793
7794 * term.el (term-delimiter-argument-list): Reflow docstring.
7795 (term-read-input-ring, term-write-input-ring, term-send-input)
7796 (term-bol, term-erase-in-display, serial-supported-or-barf):
7797 Fix typos in docstrings.
7798
7799 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7802
7803 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7804
7805 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7806
7807 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7808
7809 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7810 Fix typo in docstring (bug#6747).
7811
7812 2010-08-08 Leo <sdl.web@gmail.com>
7813
7814 * eshell/esh-io.el (eshell-get-target): Better detection of
7815 read-only file (Bug#6762).
7816
7817 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7818
7819 * align.el (align-default-spacing): Doc fix.
7820 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7821
7822 2010-08-08 Stephen Peters <speters@itasoftware.com>
7823
7824 * calendar/icalendar.el
7825 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7826 (icalendar--get-weekday-numbers): New.
7827 (icalendar--convert-recurring-to-diary): Handle multiple byday
7828 values in weekly rules. (Bug#6766)
7829
7830 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7831
7832 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7833 (icalendar--create-uid, icalendar-export-region)
7834 (icalendar--parse-summary-and-rest): Code formatting.
7835
7836 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7837
7838 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7839 to italicize headers.
7840 (calc-highlight-selections-with-faces): New variable.
7841 (calc-selected-face, calc-nonselected-face): New faces.
7842
7843 * calc/calccomp.el (math-comp-highlight-string): Use
7844 `calc-highlight-selections-with-faces' to determine how to highlight
7845 sub-formulas.
7846
7847 * calc/calc-sel.el (calc-show-selections): Change message to when
7848 using faces to highlight selections.
7849
7850 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7851
7852 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7853 Add SQLite 3 keywords, functions and datatypes.
7854 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7855 (Bug#6686).
7856
7857 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7858
7859 * simple.el (select-active-regions): Move to keyboard.c.
7860 (deactivate-mark): Used saved-region-selection.
7861 (select-active-region): Function removed.
7862 (activate-mark, set-mark, push-mark-command)
7863 (handle-shift-selection): Don't call it.
7864 (keyboard-quit): Avoid adding the region to the window selection.
7865
7866 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7867 select-active-regions implementation.
7868 (mouse-yank-at-click): Doc fix.
7869
7870 * cus-start.el: Add custom declaration for select-active-regions.
7871
7872 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7873
7874 * simple.el (delete-forward-char): Doc fix.
7875
7876 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7877 after reading the tutorial.
7878
7879 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7880
7881 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7882 Fix for the case that a C style comment has its delimiters alone on
7883 their respective lines.
7884
7885 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7886
7887 * net/tramp.el (tramp-handle-start-file-process): Set connection
7888 property "vec".
7889 (tramp-process-sentinel): Use it for flushing the cache.
7890 We cannot do it via the process buffer, the buffer could be deleted
7891 already when running the sentinel.
7892
7893 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7894
7895 * comint.el (comint-mode): Make directory tracking functions
7896 functional on remote files. (Bug#6764)
7897
7898 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7899
7900 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7901
7902 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7903
7904 * emacs-lisp/find-gc.el (find-gc-source-files):
7905 Rename unexec.c => unexcoff.c.
7906
7907 * emacs-lisp/authors.el (authors-fixed-entries):
7908 Rename unexec.c => unexcoff.c.
7909
7910 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7911
7912 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7913 cache, not only file cache.
7914 (tramp-process-sentinel): New defun.
7915 (tramp-handle-start-file-process): Use it, in order to invalidate
7916 file caches.
7917
7918 2010-08-03 Leo <sdl.web@gmail.com>
7919
7920 * server.el (server-start): Simplify loop.
7921
7922 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7923
7924 * frame.el (screen-height, screen-width, set-screen-width)
7925 (set-screen-height): Remove ancient compatibility aliases.
7926
7927 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7928 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7929
7930 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7931 that change current buffer.
7932
7933 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7934
7935 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7936 beginning of the string. Use `string-match-p'. (Bug#6765)
7937
7938 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7939
7940 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7941
7942 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7943
7944 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7945 (package--builtins): Tweak descriptions.
7946 (package-print-package): Upcase descriptions if necessary.
7947 Show all built-in packages in font-lock-builtin-face.
7948 (package-list-packages-internal): Omit "emacs" package.
7949 Show status of built-in packages as "built-in".
7950
7951 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7952
7953 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7954 before killing to preserve the primary selection (Bug#6701).
7955
7956 * term/x-win.el (x-select-text): Doc fix.
7957
7958 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7959
7960 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7961 (objc-font-lock-extra-types):
7962 * progmodes/cc-mode.el (c-basic-common-init):
7963 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7964 (c++-make-template-syntax-table)
7965 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7966 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7967 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7968 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7969 * progmodes/cc-fonts.el (c-make-inverse-face)
7970 (c-basic-matchers-after):
7971 * progmodes/cc-engine.el (c-forward-keyword-clause)
7972 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7973 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7974 (c-guess-continued-construct, c-guess-basic-syntax):
7975 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7976 The above functions were modified or created.
7977
7978 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7979
7980 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7981
7982 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7983
7984 * files.el (bidi-paragraph-direction): Define safe local values.
7985
7986 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7987 language-info-alist. Remove outdated FIXME in a comment.
7988
7989 2010-07-31 Alan Mackenzie <acm@muc.de>
7990
7991 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7992 Auto-fill broken in C/C++ modes.
7993
7994 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7995
7996 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7997 (menu-bar-showhide-tool-bar-menu-customize-disable)
7998 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7999 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8000 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8001 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8002 make a menu for Options => toolbar that can move it.
8003
8004 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8005
8006 * emacs-lisp/package-x.el (package--make-rss-entry):
8007 (package-maint-add-news-item, package--update-news)
8008 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8009
8010 * emacs-lisp/package.el (package-archive-url): Rename from
8011 package-archive-id.
8012 (package-install): Doc fix.
8013 (package-download-single, package-download-tar, package-install)
8014 (package-menu-view-commentary): Callers changed.
8015
8016 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8017
8018 * net/tramp.el (tramp-handle-start-file-process): Check only for
8019 `remote-tty' process property.
8020 (tramp-open-shell): Don't check for tty.
8021 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8022 process property.
8023
8024 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8025 host.
8026
8027 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8028
8029 * emacs-lisp/package.el (package-load-list, package-archives)
8030 (package-archive-contents, package-user-dir)
8031 (package-directory-list, package--builtins, package-alist)
8032 (package-activated-list, package-obsolete-alist): Mark as risky.
8033
8034 2010-07-28 Phil Hagelberg <phil@evri.com>
8035
8036 Add support for non-default package repositories.
8037 * emacs-lisp/package.el (package-archive-base): Var deleted.
8038 (package-archives): New variable.
8039 (package-archive-contents): Doc fix.
8040 (package-load-descriptor): Do nothing if descriptor file is missing.
8041 (package--write-file-no-coding): New function.
8042 (package-unpack-single): Use it.
8043 (package-archive-id): New function.
8044 (package-download-single, package-download-tar)
8045 (package-menu-view-commentary): Use it.
8046 (package-installed-p): Make second argument optional.
8047 (package-read-all-archive-contents): New function.
8048 (package-initialize): Use it.
8049 (package-read-archive-contents): Add ARCHIVE argument.
8050 (package--add-to-archive-contents): New function.
8051 (package-install): Don't call package-read-archive-contents.
8052 (package--download-one-archive): Store archive file in a
8053 subdirectory of package-user-dir.
8054 (package-menu-execute): Remove spurious line movement.
8055
8056 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8057
8058 * cus-start.el (tool-bar-style): Add text-image-horiz.
8059
8060 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8061
8062 * progmodes/gud.el (gud-common-init): Check for remoteness of
8063 `file', and not of `default-directory'.
8064
8065 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8066
8067 * net/tramp.el (tramp-methods): Move hostname to the end in all
8068 ssh `tramp-login-args'.
8069 (tramp-verbose): Describe verbose level 9.
8070 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8071 (tramp-open-connection-setup-interactive-shell): Trace stty
8072 settings if `tramp-verbose' >= 9.
8073 (tramp-handle-start-file-process): Implement tty setting.
8074 (Bug#4604, Bug#6360)
8075
8076 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8077 `tramp-verbose' to 9.
8078
8079 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8080
8081 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8082 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8083 Remove references to package `lisp-re' (bug#4369).
8084
8085 2010-07-27 Tom Tromey <tromey@redhat.com>
8086
8087 * progmodes/js.el (js-mode):
8088 * progmodes/make-mode.el (makefile-mode):
8089 * progmodes/simula.el (simula-mode):
8090 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8091
8092 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8093
8094 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8095
8096 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8097 (display-time-world-buffer-name, display-time-world-mode-map):
8098 Fix typos in docstrings.
8099
8100 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8101
8102 * image-mode.el (image-display-size): New function.
8103 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8104 (image-mode-fit-frame): Use it (Bug#6639).
8105
8106 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8107
8108 * dired.el (dired-buffers-for-dir): Handle list values of
8109 dired-directory (Bug#6636).
8110
8111 2010-07-26 Sam Steingold <sds@gnu.org>
8112
8113 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8114 Do not call `x-get-selection' the second time, reuse the value.
8115
8116 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8117
8118 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8119 which consist of control chars only. Suggested by Richard Stallman.
8120
8121 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8122
8123 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8124 exists before passing an error to find-file-not-found-functions
8125 (bug#6723).
8126
8127 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8128
8129 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8130 Remove leading nil element, adjust values.
8131 (tetris-shapes, tetris-shape-scores):
8132 Change representation of shapes and remove some redundancy.
8133 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8134 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8135 Adjust for working with new representation of shapes.
8136 (tetris-shape-rotations): New function.
8137 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8138 (tetris-rotate-prev, tetris-rotate-next):
8139 Adjust for working with the new version of tetris-test-shape.
8140
8141 2010-07-23 Markus Triska <markus.triska@gmx.at>
8142
8143 * progmodes/ps-mode.el: Use comint (bug#5954).
8144 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8145 (ps-mode-other-newline): Simplify.
8146 (ps-run-mode): Derive from comint-mode instead of
8147 fundamental-mode, yielding input history etc.
8148 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8149 (ps-run-send-string): Adapt for comint-mode.
8150 (ps-run-newline): Remove now unneeded function.
8151
8152 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8153
8154 * net/tramp.el (tramp-methods): Move hostname to the end in all
8155 plink `tramp-login-args'.
8156
8157 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8158
8159 * net/tramp.el (tramp-open-shell): New defun.
8160 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8161 Use it.
8162
8163 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8164
8165 * net/tramp.el (tramp-file-name-regexp-unified)
8166 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8167 not regard the volume letter as remote filename. (Bug#5447)
8168
8169 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8170
8171 * custom.el (custom-declare-variable): Give a clearer error message
8172 when the docstring is missing (bug#6476).
8173
8174 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8175
8176 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8177 (sql-login-params): New widget definition.
8178 (sql-oracle-login-params, sql-mysql-login-params)
8179 (sql-solid-login-params, sql-sybase-login-params)
8180 (sql-informix-login-params, sql-ingres-login-params)
8181 (sql-ms-login-params, sql-postgres-login-params)
8182 (sql-interbase-login-params, sql-db2-login-params)
8183 (sql-linter-login-params): Use it.
8184 (sql-sqlite-login-params): Use it; Define "database" parameter as
8185 a file name.
8186 (sql-sqlite-program): Change to "sqlite3".
8187 (sql-comint-sqlite): Make sure database name is complete.
8188 (sql-for-each-login): New function.
8189 (sql-connect, sql-save-connection): Use it.
8190 (sql-get-login-ext): New function.
8191 (sql-get-login): Use it.
8192 (sql-make-alternate-buffer-name): Handle :file parameters.
8193
8194 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8195
8196 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8197 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8198
8199 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8200
8201 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8202
8203 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8204
8205 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8206
8207 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8208
8209 * net/tramp.el (tramp-get-ls-command)
8210 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8211 instead of "/".
8212
8213 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8214
8215 * progmodes/sql.el: Version 2.3.
8216 (sql-connection-alist): Change keys from symbols to strings;
8217 enhanced the widget definition.
8218 (sql-mode-menu): Add submenu to select connections.
8219 (sql-interactive-mode-menu): Add "Save Connection" item.
8220 (sql-add-product): Fix menu item.
8221 (sql-get-product-feature): Improved error handling.
8222 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8223 (sql-make-alternate-buffer-name): Simplified.
8224 (sql-product-interactive): Handle missing product.
8225 (sql-connect): Support string keys, minor improvements.
8226 (sql-save-connection): New function.
8227 (sql-connection-menu-filter): New function.
8228
8229 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8230
8231 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8232 (tramp-open-connection-setup-interactive-shell):
8233 Apply workaround for IRIX64 bug. Move argument of last
8234 `tramp-send-command' where it belongs to.
8235
8236 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8237
8238 * net/tramp.el (tramp-perl-file-attributes)
8239 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8240 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8241 front of `login-args'.
8242
8243 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8246 Set `show-trailing-whitespace' to nil.
8247 (display-time-world-display): Simplify.
8248
8249 2010-07-18 Alan Mackenzie <acm@muc.de>
8250
8251 Enhance `c-file-style' in file/directory local variables.
8252 * progmodes/cc-mode.el (c-count-cfss): New function.
8253 (c-before-hack-hook): Call `c-set-style' differently according to
8254 whether c-file-style was set in file or directory local
8255 variables.
8256
8257 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8258
8259 * progmodes/sql.el: Version 2.2.
8260 (sql-product, sql-user, sql-database, sql-server, sql-port):
8261 Use defcustom :safe keyword rather than putting safe-local-variable
8262 property.
8263 (sql-password): Use defcustom :risky keyword rather than putting
8264 risky-local-variable property.
8265 (sql-oracle-login-params, sql-sqlite-login-params)
8266 (sql-solid-login-params, sql-sybase-login-params)
8267 (sql-informix-login-params, sql-ingres-login-params)
8268 (sql-ms-login-params, sql-postgres-login-params)
8269 (sql-interbase-login-params, sql-db2-login-params)
8270 (sql-linter-login-params): Add `port' option.
8271 (sql-get-product-feature): Add NO-INDIRECT parameter.
8272 (sql-comint-oracle, sql-comint-sybase)
8273 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8274 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8275 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8276 (sql-comint-linter): Rename sql-connect-* functions to
8277 sql-comint-*.
8278 (sql-product-alist, sql-mode-menu): Rename as above and
8279 :sqli-connect-func to :sqli-comint-func.
8280 (sql-connection): New variable.
8281 (sql-interactive-mode): Set it.
8282 (sql-connection-alist): New variable.
8283 (sql-connect): New function.
8284 (sql--alt-buffer-part, sql--alt-if-not-empty)
8285 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8286
8287 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8288
8289 * image-mode.el (image-bookmark-make-record): Do not set context
8290 in an image (Bug#6650).
8291
8292 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8293
8294 * simple.el (select-active-region): New function.
8295 (push-mark-command, set-mark, activate-mark)
8296 (handle-shift-selection): Use it.
8297 (deactivate-mark): Don't check for size of region.
8298
8299 * mouse.el (mouse-drag-track): Use select-active-region.
8300
8301 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8302
8303 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8304 "--dired" stronger.
8305
8306 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8307
8308 * term/x-win.el (x-select-enable-primary): Change default to nil.
8309 (x-select-enable-clipboard): Add :version keyword.
8310
8311 * mouse.el (mouse-drag-copy-region):
8312 * simple.el (select-active-regions): Likewise.
8313
8314 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8315
8316 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8317 (vc-coding-system-for-diff): Use it to decide whether to inherit
8318 from the file the EOL format for reading the diffs of that file.
8319 (Bug#4451)
8320
8321 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8322
8323 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8324 unibyte, so compressed attachments are not compressed again.
8325
8326 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8327
8328 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8329 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8330 (tramp-find-shell): Simplify setting connection property.
8331 (tramp-get-ls-command): Make test for "--color=never" stronger.
8332
8333 2010-07-15 Simon South <ssouth@member.fsf.org>
8334
8335 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8336 blocks within record declarations (i.e. variant parts) correctly.
8337
8338 2010-07-15 Simon South <ssouth@member.fsf.org>
8339
8340 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8341 over literal tokens when parsing so newlines aren't "absorbed" by
8342 single-line comments. Corrects the indentation of case blocks
8343 that have a comment on the first line.
8344
8345 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8346
8347 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8348 by Drew Adams (Bug#5504).
8349
8350 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8351
8352 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8353 now that Unicode is used (Bug#6594).
8354
8355 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8356
8357 * term/x-win.el (x-select-enable-clipboard): Default to t.
8358 (x-initialize-window-system): Don't overwrite Paste menu item.
8359
8360 * simple.el (select-active-regions): Default to t.
8361 (push-mark-command): Don't overwrite primary with empty string.
8362
8363 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8364 (mouse-drag-copy-region): Default to nil.
8365
8366 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8367 Cut/Copy/Paste menu bar items.
8368
8369 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8370
8371 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8372 Patch applied by Karl Fogel.
8373
8374 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8375 and `bookmark-current-buffer' if they have been already set in
8376 another buffer (e.g gnus-art).
8377
8378 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8379 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8380
8381 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8382
8383 * bookmark.el (bookmark-make-record-default): Allow unneeded
8384 information to be omitted from the record.
8385
8386 Adjust declarations and calls:
8387
8388 * info.el (bookmark-make-record-default): Adjust declaration.
8389 (Info-bookmark-make-record): Adjust call.
8390
8391 * woman.el (bookmark-make-record-default): Adjust declaration.
8392 (woman-bookmark-make-record): Adjust call.
8393
8394 * man.el (bookmark-make-record-default): Adjust declaration.
8395 (Man-bookmark-make-record): Adjust call.
8396
8397 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8398
8399 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8400
8401 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8402
8403 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8404 This is also from Thierry Volpiatto's patch in bug #6444. However,
8405 because it was extraneous to the functional change in that patch,
8406 and causes a re-indendation, I am committing it separately.
8407
8408 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8409
8410 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8411 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8412 Patch applied by Karl Fogel (Bug#6444).
8413
8414 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8415
8416 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8417
8418 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8419
8420 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8421 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8422 (ns-alternatives-map): Change S-tab binding to backtab
8423 (bug#6616).
8424
8425 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8426 under ns.
8427
8428 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8429
8430 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8431 (Bug#5806)
8432
8433 * language/tv-util.el (tai-viet-re): Remove format.
8434
8435 2010-07-12 Kenichi Handa <handa@m17n.org>
8436
8437 * language/hebrew.el: Remove no-byte-compile declaration.
8438 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8439 composition-function-table for 3-character looking back.
8440 (hebrew-font-get-precomposed): New function.
8441 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8442
8443 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8444
8445 * mouse.el (mouse-drag-track): Handle select-active-regions
8446 (Bug#6612).
8447
8448 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8449
8450 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8451 empty argument to gvfs-copy.
8452
8453 2010-07-10 Glenn Morris <rgm@gnu.org>
8454
8455 * calendar/calendar.el (calendar-week-end-day): New function.
8456 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8457 Respect calendar-week-start-day. (Bug#6606)
8458 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8459 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8460 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8461 respect calendar-week-start-day.
8462
8463 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8464
8465 * simple.el (use-region-p): Doc fix (Bug#6607).
8466
8467 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8468
8469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8470 Add regexps for cucumber and ruby.
8471
8472 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8473
8474 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8475 (epa-file-insert-file-contents): Hack to prevent
8476 find-file from opening empty buffer when decryption failed
8477 (bug#6568).
8478
8479 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8480
8481 * textmodes/ispell.el (ispell-alternate-dictionary):
8482 Use file-readable-p.
8483 Return nil if no word-list is found at default locations.
8484 (ispell-complete-word-dict): Default to nil.
8485 (ispell-command-loop): Use 'word-list' when using lookup-words.
8486 (lookup-words): Use ispell-complete-word-dict or
8487 ispell-alternate-dictionary. Check for word-list availability
8488 and handle errors if needed with better messages (Bug#6539).
8489 (ispell-complete-word): Use ispell-complete-word-dict or
8490 ispell-alternate-dictionary.
8491
8492 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8493
8494 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8495 builtins (BufferError, BytesWarning, WindowsError; callables
8496 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8497
8498 2010-07-07 Glenn Morris <rgm@gnu.org>
8499
8500 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8501 (zone-shift-left): Ignore intangibility, and any errors from
8502 forward-char.
8503 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8504 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8505 deleting, and copying text properties.
8506 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8507 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8508 to point-max is hard.
8509 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8510 (zone-fill-out-screen): Ignore intangibility.
8511
8512 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8513
8514 * menu-bar.el (menu-bar-mode):
8515 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8516 if it has been set.
8517
8518 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8519 word/line selection (Bug#6565).
8520
8521 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8522
8523 * net/dbus.el (dbus-send-signal): Declare function.
8524
8525 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8526
8527 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8528 (dbus-register-property): New optional argument EMITS-SIGNAL.
8529 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8530
8531 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8532
8533 * mouse.el (mouse-drag-overlay): Variable deleted.
8534 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8535 (mouse--remap-link-click-p): New function.
8536 (mouse-drag-track): Handle dragging by using temporary Transient
8537 Mark mode, instead of a special overlay.
8538 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8539 mouse-show-mark.
8540
8541 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8542 deleted.
8543
8544 2010-07-02 Juri Linkov <juri@jurta.org>
8545
8546 * autoinsert.el (auto-insert-alist): Fix readability
8547 by using dotted pair notation for lambda.
8548
8549 2010-07-02 Juri Linkov <juri@jurta.org>
8550
8551 * faces.el (read-face-name): Rename arg `string-describing-default'
8552 to `default'. Doc fix. Display the default value in quotes
8553 in the prompt. With empty input, return the `default' arg,
8554 unless the default value is a string (in which case return nil).
8555 (describe-face): Replace the string `default' arg of `read-face-name'
8556 with the symbol `default'.
8557
8558 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8559
8560 * emulation/viper-cmd.el (viper-delete-backward-char)
8561 (viper-del-backward-char-in-insert)
8562 (viper-del-backward-char-in-replace, viper-change)
8563 (viper-backward-indent): Replace delete-backward-char with
8564 delete-char (Bug#6552).
8565
8566 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8567
8568 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8569
8570 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8571
8572 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8573 argument passed to frame-creation-function (Bug#5378).
8574
8575 * faces.el (x-handle-named-frame-geometry)
8576 (x-handle-reverse-video, x-create-frame-with-faces)
8577 (face-set-after-frame-default, tty-create-frame-with-faces):
8578 Don't separately consult default-frame-alist. It is now passed as the
8579 PARAMETER argument.
8580
8581 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8582
8583 * startup.el (command-line): Don't call tool-bar-setup in a
8584 tty-only build.
8585
8586 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8587
8588 * ruler-mode.el (ruler--save-header-line-format): New fun.
8589 (ruler-mode): Use it as a setter function, so as not to overwrite
8590 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8591
8592 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8593
8594 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8595 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8596 (vc-log-outgoing): Use it.
8597 (vc-diff-internal): Set diff-vc-backend.
8598
8599 * vc/diff-mode.el (diff-vc-backend): New var.
8600
8601 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8602
8603 * dynamic-setting.el (font-setting-change-default-font):
8604 Remove call to message.
8605
8606 2010-06-28 Kenichi Handa <handa@m17n.org>
8607
8608 * international/quail.el (quail-insert-kbd-layout): Fix the
8609 showing of untranslated characters.
8610
8611 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8612
8613 * simple.el (delete-active-region): New option.
8614 (delete-backward-char): Implement in Lisp.
8615 (delete-forward-char): New command.
8616
8617 * mouse.el (mouse-region-delete-keys): Deleted.
8618 (mouse-show-mark): Simplify.
8619
8620 * bindings.el (global-map): Bind delete and DEL, the former to
8621 delete-forward-char.
8622
8623 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8624
8625 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8626 (ruby-mode): Bind indent-line-function (Bug#5119).
8627
8628 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8629
8630 * startup.el (command-line): Recognize "0" X resource value.
8631
8632 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8633
8634 * startup.el (command-line): Use X resources to set the value of
8635 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8636
8637 * menu-bar.el (menu-bar-mode):
8638 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8639 Set init-value to t.
8640
8641 * frame.el (frame-notice-user-settings): Don't change
8642 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8643 vice versa (Bug#2249).
8644
8645 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8646
8647 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8648
8649 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8650
8651 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8652 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8653
8654 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8655 default directories are expanded (Bug#6143).
8656
8657 2010-06-24 Juri Linkov <juri@jurta.org>
8658
8659 * minibuffer.el (completions-format): Change default from nil to
8660 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8661
8662 2010-06-24 Juri Linkov <juri@jurta.org>
8663
8664 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8665 buffer-locally to lambda that re-runs the vc diff command.
8666 (Bug#6447)
8667
8668 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8669
8670 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8671 echo area is in use (Bug#3412).
8672
8673 2010-06-22 Glenn Morris <rgm@gnu.org>
8674
8675 * textmodes/texinfmt.el (texinfo-format-region)
8676 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8677 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8678 (texinfo-format-option, texinfo-noindent):
8679 Use line-beginning-position and line-end-position.
8680
8681 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8682 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8683 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8684 utf-8 characters.
8685
8686 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8687
8688 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8689 forward-line fallout.
8690
8691 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8692
8693 * mouse.el (mouse-appearance-menu): Add docstring.
8694
8695 * help.el (describe-key): Print up-event using key-description.
8696
8697 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8698
8699 * net/zeroconf.el (zeroconf-resolve-service)
8700 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8701 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8702
8703 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8704
8705 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8706
8707 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8708
8709 Avoid displaying files with a nil state in vc-dir.
8710 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8711 cases that cause insertion.
8712 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8713 with a nil state.
8714
8715 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8716
8717 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8718
8719 2010-06-29 Leo <sdl.web@gmail.com>
8720
8721 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8722
8723 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8724
8725 * generic-x.el (bat-generic-mode): Fix regexp for command line
8726 switches (Bug#5719).
8727
8728 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8729
8730 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8731 of nconc to avoid pure storage error (Bug#6239).
8732
8733 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8734
8735 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8736 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8737 bindings of bookmark-automatically-show-annotations (Bug#6515).
8738
8739 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8740
8741 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8742 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8743
8744 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8745
8746 * comint.el (make-comint, make-comint-in-buffer): Mention return
8747 value in the docstrings. (Bug#6498)
8748
8749 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8750
8751 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8752 since it is not present when using some non-default switches.
8753
8754 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8755
8756 * simple.el (compose-mail): Fix doc string to refer to
8757 `compose-mail-user-agent-warnings', instead of to the
8758 nonexistent `compose-mail-check-user-agent'.
8759
8760 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8761
8762 Fix an indentation bug:
8763
8764 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8765 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8766 of existing values.
8767
8768 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8769 (c-clear->-pair-props-if-match-before): now return t when they've
8770 cleared properties, nil otherwise.
8771 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8772 by taking account of the existing value.
8773
8774 * progmodes/cc-defs.el
8775 (c-clear-char-property-with-value-function): Fix this to clear the
8776 property rather than overwriting it with nil.
8777
8778 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8779
8780 * emacs-lisp/package.el (package-print-package): Add link to
8781 package description via describe-package.
8782 (describe-package-1): List package requirements. Add button to
8783 perform installation.
8784 (package-menu-describe-package): New command.
8785
8786 * help-mode.el (help-package): New button type.
8787
8788 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8789
8790 * emacs-lisp/package.el: Move package-list-packages binding to
8791 menu-bar.el.
8792 (describe-package, describe-package-1, package--dir): New funs.
8793 (package-activate-1): Use package--dir.
8794
8795 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8796
8797 * help-mode.el (help-package-def): New button type.
8798
8799 * menu-bar.el: Move package-list-packages binding here from
8800 package.el.
8801
8802 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8803
8804 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8805
8806 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * emacs-lisp/edebug.el (edebug-read-list):
8809 Phase out old-style backquotes.
8810
8811 2010-06-17 Juri Linkov <juri@jurta.org>
8812
8813 * help-mode.el (help-mode): Set buffer-local variable
8814 revert-buffer-function to help-mode-revert-buffer.
8815 (help-mode-revert-buffer): New function.
8816
8817 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8818 before popping to "*info*" (like in other Info functions).
8819 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8820 old-history-forward. Pop to old-buffer-name or "*info*" to
8821 recreate the killed buffer. Set Info-history-forward from
8822 old-history-forward.
8823 (Info-breadcrumbs-depth): Add :group and :version.
8824
8825 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8826
8827 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8828
8829 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8830
8831 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8832 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8833
8834 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8835
8836 * emacs-lisp/package.el (package-menu-mode-map):
8837 Move initialization into declaration.
8838
8839 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8840
8841 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8842
8843 * emacs-lisp/package.el (package-archive-base): Point to
8844 elpa.gnu.org.
8845 (package-enable, package-load-list): New defcustoms.
8846 (package-user-dir, package-directory-list): Turn into defcustoms.
8847 Don't include package-user-dir in package-directory-list.
8848 (package--builtins-base): Don't include Emacs as a "package".
8849 (package-subdirectory-regexp): New var.
8850 (package-load-all-descriptors, package-compute-transaction)
8851 (package-download-transaction): Obey package-load-list.
8852 (package-activate-1): Rename from package-do-activate.
8853 (package-list-packages-internal): Check package-load-list.
8854 (package-load-descriptor, package-generate-autoloads)
8855 (package-unpack, package-unpack-single)
8856 (package--read-archive-file, package-delete):
8857 Use expand-file-name.
8858
8859 * emacs-lisp/package-x.el: New file. Package uploading
8860 functionality split out from package.el.
8861
8862 * startup.el (command-line): Load packages after reading init file.
8863
8864 2010-06-17 Tom Tromey <tromey@redhat.com>
8865
8866 * emacs-lisp/package.el: New file.
8867
8868 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8869
8870 Fix vc-annotate for renamed files when using Git.
8871 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8872 ls-files. Doe not pass the object as a file name to cat-file, it
8873 is not a file name.
8874 (vc-git-annotate-command): Pass the file name using -- to avoid
8875 ambiguity with the revision.
8876 (vc-git-previous-revision): Pass a relative file name.
8877
8878 2010-06-22 Glenn Morris <rgm@gnu.org>
8879
8880 * progmodes/js.el (js-mode-map): Use standard capitalization and
8881 ellipses for menu entries.
8882
8883 * wid-edit.el (widget-complete): Doc fix.
8884
8885 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8886
8887 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8888
8889 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8890
8891 Fix annotating other revisions for renamed files in vc-annotate.
8892 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8893 VC backend. Use it when non-nil.
8894 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8895 (Bug#6487).
8896
8897 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8898 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8899 Do not pass the file name to the 'previous-revision call when we
8900 don't want a file diff. (Bug#6489)
8901
8902 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8903
8904 Fix finding revisions for renamed files in vc-annotate.
8905 * vc/vc.el (vc-find-revision): Add an optional argument for
8906 the VC backend. Use it when non-nil.
8907 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8908 backend to vc-find-revision. (Bug#6487)
8909
8910 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8911
8912 Fix reading file names in Git annotate buffers.
8913 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8914 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8915
8916 2010-06-20 Alan Mackenzie <acm@muc.de>
8917
8918 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8919 in file local variables, set it first.
8920
8921 2010-06-19 Glenn Morris <rgm@gnu.org>
8922
8923 * descr-text.el (describe-char-unicode-data): Insert separating
8924 space when needed. (Bug#6422)
8925
8926 * progmodes/idlwave.el (idlwave-action-and-binding):
8927 Fix typo in 2009-12-03 change. (Bug#6450)
8928
8929 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8932 handling for `lambda' (misunderstanding).
8933
8934 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8935
8936 * calc/calc-poly.el (math-accum-factors): Make sure that
8937 constants aren't distributed after they are factored out.
8938
8939 2010-06-16 Juri Linkov <juri@jurta.org>
8940
8941 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8942 `list-colors-print'. (Bug#6332)
8943
8944 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8945
8946 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8949 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8950
8951 * font-lock.el (font-lock-major-mode): Rename from
8952 font-lock-mode-major-mode to distinguish it from
8953 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8954 (font-lock-set-defaults):
8955 * font-core.el (font-lock-default-function): Adjust users.
8956 (font-lock-mode): Don't set it at all.
8957
8958 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8961
8962 2010-06-16 Glenn Morris <rgm@gnu.org>
8963
8964 * calendar/appt.el (appt-time-msg-list): Doc fix.
8965 (appt-check): Let-bind appt-warn-time.
8966 (appt-add): Make the 3rd argument optional.
8967 Simplify argument names. Doc fix. Check for integer WARNTIME.
8968 Only add WARNTIME to the output list if non-nil.
8969
8970 2010-06-16 Ivan Kanis <apple@kanis.eu>
8971
8972 * calendar/appt.el (appt-check): Let the 3rd element of
8973 appt-time-msg-list specify the warning time.
8974 (appt-add): Add new argument with the warning time. (Bug#5176)
8975
8976 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8977
8978 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8979 older than version 1.6. (Bug#6361)
8980
8981 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8982
8983 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8984 used by cl-do-arglist. (Bug#6408)
8985
8986 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8987
8988 * textmodes/ispell.el (ispell-dictionary-base-alist):
8989 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8990 Suggested by Rolando Pereira (bug#6434).
8991
8992 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8993
8994 * facemenu.el (list-colors-sort): Doc fix.
8995
8996 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8997
8998 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8999
9000 2010-06-14 Juri Linkov <juri@jurta.org>
9001
9002 Add sort option `list-colors-sort'. (Bug#6332)
9003 * facemenu.el (color-rgb-to-hsv): New function.
9004 (list-colors-sort): New defcustom.
9005 (list-colors-sort-key): New function.
9006 (list-colors-display): Doc fix. Sort list according to the option
9007 `list-colors-sort'.
9008 (list-colors-print): Add HSV values to `help-echo' property of
9009 RGB strings.
9010
9011 2010-06-14 Juri Linkov <juri@jurta.org>
9012
9013 * compare-w.el: Move to the "vc" subdirectory.
9014
9015 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * image-mode.el (image-mode-map): Remap left-char and right-char.
9018
9019 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9020
9021 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9022
9023 * term/common-win.el (x-colors): Add all the color names defined
9024 in rgb.txt (Bug#6332).
9025
9026 * facemenu.el (list-colors-print): Don't print extra names if it
9027 will overflow the window width.
9028
9029 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9030 change (Bug#6343).
9031
9032 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9033
9034 * files.el (make-directory): Doc fix (bug#6396).
9035
9036 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9037
9038 * net/tramp.el (tramp-remote-process-environment): Protect version
9039 string by apostroph.
9040 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9041 XEmacs.
9042 (tramp-file-name-for-operation): Add `call-process-region'.
9043 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9044
9045 * net/tramp-compat.el (top): Do not autoload
9046 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9047 only when `start-file-process' is not bound.
9048 (tramp-advice-file-expand-wildcards): Do not use
9049 `tramp-handle-file-remote-p'.
9050 (tramp-compat-make-temp-file): Handle the case, that
9051 `make-temp-file' has no third argument EXTENSION.
9052
9053 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9054
9055 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9056
9057 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9058
9059 2010-06-11 Juri Linkov <juri@jurta.org>
9060
9061 * finder.el (finder-known-keywords): Add keyword "vc"
9062 for version control.
9063
9064 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9065 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9066 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9067 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9068
9069 2010-06-11 Juri Linkov <juri@jurta.org>
9070
9071 Move version control related files to the "vc" subdirectory.
9072 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9073 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9074 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9075 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9076 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9077 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9078 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9079 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9080 Move files to the "vc" subdirectory.
9081
9082 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9083
9084 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9085 (Bug#6367).
9086
9087 2010-06-11 Stephen Eglen <stephen@gnu.org>
9088
9089 * shell.el: Bind `shell-resync-dirs' to M-RET.
9090
9091 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9092
9093 * notifications.el: Move file from lisp/net, because it is
9094 supposed to talk locally to the user.
9095
9096 2010-06-10 Julien Danjou <julien@danjou.info>
9097
9098 * net/notifications.el (notifications-on-action-signal)
9099 (notifications-on-closed-signal): Pass notification id as first
9100 argument to the callback functions. Add docstrings.
9101 (notifications-notify): Fix docstring.
9102
9103 2010-06-10 Glenn Morris <rgm@gnu.org>
9104
9105 * emacs-lisp/authors.el (authors-ignored-files)
9106 (authors-valid-file-names): Add some files.
9107
9108 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9111 merge conflict, giving preference to the emacs-23 version of the code.
9112
9113 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * emacs-lisp/advice.el (ad-compile-function):
9116 Define warning-suppress-types before we let-bind it (bug#6275).
9117
9118 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9119 declare it, make it buffer-local and permanent-local (bug#6324).
9120 (vc-resynch-window): Adjust name.
9121 * vc-hooks.el (vc-find-file-hook): Adjust name.
9122
9123 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9124
9125 * net/notifications.el (notifications-notify): Fix docstring.
9126
9127 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9128
9129 Update to Unicode 6.0.0 beta.
9130 * international/charprop.el: Update copyright.
9131 * international/mule-cmds.el (ucs-names): Update character ranges.
9132 * international/uni-bidi.el:
9133 * international/uni-category.el:
9134 * international/uni-combining.el:
9135 * international/uni-comment.el:
9136 * international/uni-decimal.el:
9137 * international/uni-decomposition.el:
9138 * international/uni-digit.el:
9139 * international/uni-lowercase.el:
9140 * international/uni-mirrored.el:
9141 * international/uni-name.el:
9142 * international/uni-numeric.el:
9143 * international/uni-old-name.el:
9144 * international/uni-titlecase.el:
9145 * international/uni-uppercase.el: Regenerate.
9146
9147 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9148
9149 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9150 (smie-precs-precedence-table): Fix typo in docstring.
9151
9152 * vc-mtn.el (log-edit-extract-headers): Declare function.
9153
9154 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9155
9156 * net/notifications.el (dbus-register-signal): Declare function.
9157 (notifications-notify): Fix typos and reflow docstring.
9158
9159 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9160
9161 Improve VC create/retrieve tag/branch.
9162 * vc.el (vc-create-tag): Do not read the directory name for VCs
9163 with repository revision granularity. Adjust the tag/branch
9164 prompt. Reset VC properties.
9165 (vc-retrieve-tag): Do not read the directory name for VCs
9166 with repository revision granularity. Reset VC properties.
9167
9168 2010-06-09 Julien Danjou <julien@danjou.info>
9169
9170 * net/notifications.el: New file.
9171
9172 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9173
9174 Add optional support for resetting VC properties.
9175 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9176 call vc-file-clearprops when true.
9177 (vc-resynch-buffer): Add new optional argument, pass it down.
9178 (vc-resynch-buffers-in-directory): Likewise.
9179
9180 Improve support for special markup in the VC commit message.
9181 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9182 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9183 * vc-git.el (vc-git-checkin):
9184 * vc-bzr.el (vc-bzr-checkin): Likewise.
9185
9186 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9187
9188 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9189 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9190
9191 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9192
9193 * iimage.el: Remove images as soon as the underlying text is modified.
9194 (iimage-modification-hook): New function.
9195 (iimage-mode-buffer): Use it.
9196
9197 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9198
9199 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9200 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9201 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9202 (smie-indent-keyword): Add handling of open-paren keywords.
9203 (smie-indent-comment-continue): Don't assume comment-continue.
9204
9205 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9206
9207 * window.el (pop-to-buffer): Remove the conditional that
9208 compares new-window and old-window, so it will reselect
9209 the selected window unconditionally.
9210 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9211
9212 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * emacs-lisp/smie.el (smie-indent-offset-after)
9215 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9216 (smie-indent-after-keyword): Use them.
9217 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9218 (smie-indent-keyword): Tweak the black magic.
9219 (smie-indent-comment-continue): Strip comment-continue before use.
9220 (smie-indent-functions): Indent comments before keywords.
9221
9222 2010-06-06 Juri Linkov <juri@jurta.org>
9223
9224 * isearch.el (isearch-lazy-highlight-search): Fix looping
9225 by checking for empty match. This syncs this loop with the
9226 similar loop in `isearch-search'. (Bug#6362)
9227
9228 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9229
9230 * net/dbus.el (dbus-register-method): Declare function.
9231 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9232 (dbus-introspect): Doc fix.
9233 (dbus-event-bus-name, dbus-introspect-get-interface)
9234 (dbus-introspect-get-argument): Reflow docstrings.
9235
9236 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9237
9238 vc-log-incoming/vc-log-outgoing fixes for Git.
9239 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9240 incoming/outgoing logs.
9241 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9242 instead of vc-git-compute-remote.
9243 (vc-git-compute-remote): Remove.
9244
9245 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9246
9247 * term/common-win.el (x-colors): Add "dark green" and "dark
9248 turquoise" (Bug#6332).
9249
9250 2010-06-04 Juri Linkov <juri@jurta.org>
9251
9252 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9253 Instead of setting `replace' to t and replacing the same string
9254 with itself, don't do certain actions when
9255 kill-do-not-save-duplicates is non-nil and string is equal to car
9256 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9257 interprogram-paste strings to kill-ring, and don't push the input
9258 argument `string' to kill-ring.
9259 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9260
9261 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9262
9263 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9264
9265 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9266
9267 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9268 (tramp-gvfs-handler-mounted-unmounted)
9269 (tramp-gvfs-connection-mounted-p): Handle default-location.
9270
9271 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9272 move files to trash.
9273
9274 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9275
9276 * international/mule-cmds.el (nonascii-insert-offset)
9277 (nonascii-translation-table): Add obsolescence information.
9278
9279 * international/mule.el (make-translation-table-from-vector): Doc fix.
9280
9281 2010-06-03 Glenn Morris <rgm@gnu.org>
9282
9283 * desktop.el (desktop-clear-preserve-buffers):
9284 Add "*Warnings*" buffer. (Bug#6336)
9285
9286 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9287
9288 vc-log-incoming/vc-log-outgoing improvements for Git.
9289 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9290 short log.
9291 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9292
9293 Add bindings for vc-log-incoming and vc-log-outgoing.
9294 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9295 and vc-log-outgoing.
9296 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9297 and vc-log-outgoing.
9298
9299 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9300
9301 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9302 (rcirc-handler-366): Always sort nicknames.
9303
9304 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9305
9306 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9307
9308 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9309
9310 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9311
9312 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9315 (rcirc-sort-nicknames-join): Avoid setq.
9316
9317 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9318
9319 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9320 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9321 (rcirc-handler-366): Use them.
9322
9323 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 Split smie-indent-calculate into more manageable chunks.
9326 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9327 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9328 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9329 (smie-indent-exps): Extract from smie-indent-calculate.
9330 (smie-indent-functions): New var.
9331 (smie-indent-functions): Use them.
9332
9333 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9336 (smie-indent-calculate): Simplify and cleanup.
9337
9338 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9339
9340 * net/tramp-gvfs.el (top): Require url-util.
9341 (tramp-gvfs-mount-point): Remove.
9342 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9343 New defuns.
9344 (with-tramp-dbus-call-method): Format trace message.
9345 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9346 Implement backup call, when operation on local files fails.
9347 Use progress reporter. Flush properties of changed files.
9348 (tramp-gvfs-handle-make-directory): Make more traces.
9349 (tramp-gvfs-url-file-name): Hexify file name in url.
9350 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9351 into account for the resulting file name.
9352 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9353 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9354 (tramp-gvfs-handler-mounted-unmounted)
9355 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9356 attribute "default_location". Set "prefix" property.
9357 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9358 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9359 exists. Raise an error, if not (due to a corresponding answer
9360 "no" in interactive questions, for example).
9361
9362 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9363
9364 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9365
9366 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9367
9368 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9369 right-*. (Bug#6265)
9370
9371 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9372
9373 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9374 * vc-git.el (vc-git-compute-remote): New function.
9375 (vc-git-log-outgoing): Use it instead of hard coding a value.
9376 (vc-git-log-incoming): New function.
9377
9378 Improve state updating for VC tag commands.
9379 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9380 to update the state of all buffers in the directory.
9381
9382 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9383
9384 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9385
9386 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9387 `file-directory-p' to the filename part rather than to the whole text.
9388
9389 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9392
9393 2010-05-31 Drew Adams <drew.adams@oracle.com>
9394
9395 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9396
9397 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9398
9399 * subr.el (momentary-string-display): Just use read-event to read
9400 the exit event (Bug#6238).
9401
9402 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9403
9404 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9405
9406 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9409 Suggested by Eli Zaretskii <eliz@gnu.org>.
9410
9411 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9412
9413 * minibuffer.el (completion-file-name-table): Don't return a boundary
9414 past the end of `string' (bug#6299).
9415 (completion--file-name-table): Delegate to completion-file-name-table
9416 for the `boundaries' case.
9417
9418 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9419
9420 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9421 movement commands.
9422
9423 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9424 `path-separator', but maintain compatibility with Emacs 20.2.
9425
9426 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9427
9428 * server.el (server-process-filter): Receive parent-id argument
9429 from emacsclient.
9430 (server-create-window-system-frame): New arg. Pass parent-id as
9431 frame parameter.
9432
9433 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9434
9435 Bidi-sensitive word movement with arrow keys.
9436 * subr.el (right-arrow-command, left-arrow-command): Move to
9437 bindings.el.
9438
9439 * bindings.el (right-char, left-char): Move from subr.el and
9440 rename from right-arrow-command and left-arrow-command.
9441 (right-word, left-word): New functions.
9442 (global-map) <right>: Bind to right-char.
9443 (global-map) <left>: Bind to left-char.
9444 (global-map) <C-right>: Bind to right-word.
9445 (global-map) <C-left>: Bind to left-word.
9446
9447 * ls-lisp.el (ls-lisp-classify-file): New function.
9448 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9449 (ls-lisp-classify): Call ls-lisp-classify-file.
9450 (insert-directory): Remove blanks from switches.
9451
9452 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9453
9454 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9455 (ansi-color-drop-regexp): New constant.
9456 (ansi-color-apply, ansi-color-filter-region)
9457 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9458 (ansi-color-apply): Build string list before calling concat.
9459
9460 2010-05-28 Juri Linkov <juri@jurta.org>
9461
9462 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9463 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9464 (Bug#5270)
9465
9466 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9467
9468 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9469 to ignored backtrace functions.
9470 (with-progress-reporter): Expand docstring.
9471 (tramp-handle-delete-file): Implement TRASH argument.
9472 (tramp-get-remote-trash): New defun.
9473
9474 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9475
9476 * net/tramp-compat.el (tramp-compat-delete-file):
9477 Use `symbol-value' for backward compatibility.
9478
9479 * net/tramp.el (tramp-handle-make-symbolic-link)
9480 (tramp-handle-load)
9481 (tramp-do-copy-or-rename-file-via-buffer)
9482 (tramp-do-copy-or-rename-file-directly)
9483 (tramp-do-copy-or-rename-file-out-of-band)
9484 (tramp-handle-process-file, tramp-handle-call-process-region)
9485 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9486 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9487 (tramp-delete-temp-file-function): Use `delete-file' instead
9488 of `tramp-compat-delete-file'.
9489
9490 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9491 (tramp-fish-handle-make-symbolic-link)
9492 (tramp-fish-handle-process-file): Use `delete-file' instead
9493 of `tramp-compat-delete-file'.
9494
9495 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9496 Use `delete-file' instead of `tramp-compat-delete-file'.
9497
9498 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9499 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9500 `tramp-compat-delete-file'.
9501
9502 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9503 Use `delete-file' instead of `tramp-compat-delete-file'.
9504
9505 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9506 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9507 (tramp-smb-handle-write-region): Use `delete-file' instead of
9508 `tramp-compat-delete-file'.
9509 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9510
9511 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * dired.el (dired-delete-file): New arg TRASH.
9514 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9515 (dired-do-flagged-delete, dired-do-delete): Use trash.
9516
9517 * speedbar.el (speedbar-item-delete): Allow trashing.
9518
9519 * files.el (delete-directory): New arg TRASH.
9520
9521 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9522 (ange-ftp-rename-remote-to-remote)
9523 (ange-ftp-rename-local-to-remote)
9524 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9525 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9526 `delete-file'.
9527 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9528 allow trashing.
9529
9530 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9531 handle new TRASH arg of `delete-file'.
9532
9533 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9534 (tramp-handle-make-symbolic-link, tramp-handle-load)
9535 (tramp-do-copy-or-rename-file-via-buffer)
9536 (tramp-do-copy-or-rename-file-directly)
9537 (tramp-do-copy-or-rename-file-out-of-band)
9538 (tramp-handle-process-file, tramp-handle-call-process-region)
9539 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9540 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9541 (tramp-delete-temp-file-function): Use null TRASH arg in
9542 tramp-compat-delete-file call.
9543
9544 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9545 (tramp-fish-handle-delete-file)
9546 (tramp-fish-handle-make-symbolic-link)
9547 (tramp-fish-handle-process-file): Use null TRASH arg in
9548 `tramp-compat-delete-file' call.
9549
9550 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9551 arg in `tramp-compat-delete-file' call.
9552
9553 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9554 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9555 `tramp-compat-delete-file' call.
9556
9557 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9558 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9559 `tramp-compat-delete-file' call.
9560
9561 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9562 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9563 (tramp-smb-handle-write-region): Use null TRASH arg in
9564 tramp-compat-delete-file call.
9565 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9566 (tramp-smb-handle-delete-file): Rename arg.
9567
9568 * diff.el (diff-sentinel):
9569 * epg.el (epg--make-temp-file, epg-decrypt-string)
9570 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9571 * jka-compr.el (jka-compr-partial-uncompress)
9572 (jka-compr-call-process, jka-compr-write-region):
9573 * server.el (server-sentinel): Remove optional arg from
9574 delete-file, reverting 2010-05-03 change.
9575
9576 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9577
9578 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9579 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9580
9581 2010-05-27 Kenichi Handa <handa@m17n.org>
9582
9583 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9584 element of GSTRING is nil.
9585
9586 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * emacs-lisp/smie.el (smie-forward-token-function)
9589 (smie-backward-token-function): New vars.
9590 (smie-backward-sexp, smie-forward-sexp)
9591 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9592 (smie-default-backward-token): Rename from smie-backward-token and
9593 skip comments.
9594 (smie-default-forward-token): Rename from smie-forward-token and
9595 skip comments.
9596 (smie-next-sexp): Handle nil results from next-token.
9597 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9598
9599 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9600
9601 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9602 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9603
9604 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9605
9606 * htmlfontify.el (hfy-face-resolve-face): New function.
9607 (hfy-face-to-style): Use it (Bug#6279).
9608
9609 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9612 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9613
9614 2010-05-26 Glenn Morris <rgm@gnu.org>
9615
9616 * emulation/edt.el (edt-load-keys): Use locate-library.
9617
9618 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9619
9620 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9621 (log-edit-changelog-entries): Doc fix.
9622 (log-edit-changelog-insert-entries): Args changed.
9623 Rename relative filenames in ChangeLog entries. Delete tabs.
9624 (log-edit-insert-changelog-entries): Reorganize return value of
9625 `log-edit-changelog-entries' to pass filenames to
9626 log-edit-changelog-insert-entries.
9627
9628 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9629
9630 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9631 `image-dired-dired-insert-marked-thumbs' to
9632 `image-dired-dired-toggle-marked-thumbs'.
9633
9634 * image-dired.el: Require cl when compiling.
9635 (image-dired-dired-toggle-marked-thumbs): Rename from
9636 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9637 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9638 to 'no-dir. Skip files whose names don't match
9639 `image-file-name-regexp'. When file has a thumbnail overlay,
9640 delete it. (Bug#5270)
9641
9642 2010-05-25 Juri Linkov <juri@jurta.org>
9643
9644 * image-mode.el (image-mode): Add image-after-revert-hook to
9645 after-revert-hook.
9646 (image-after-revert-hook): New function. (Bug#5669)
9647
9648 2010-05-25 Juri Linkov <juri@jurta.org>
9649
9650 * image.el (image-animated-p): When delay between animated images
9651 is 0, set it to 10 (0.1 sec). (Bug#6258)
9652
9653 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9654
9655 * net/tramp.el (tramp-handle-insert-directory): Don't use
9656 `forward-word', its default syntax could be changed.
9657
9658 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9659
9660 * net/tramp.el (tramp-progress-reporter-update): New defun.
9661 (with-progress-reporter): Use it.
9662 (tramp-process-actions):
9663 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9664 Preserve current message, in order to let progress reporter continue
9665 afterwards. (Bug#6257)
9666
9667 2010-05-25 Glenn Morris <rgm@gnu.org>
9668
9669 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9670 Add :version.
9671
9672 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9673
9674 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9675 (rcirc-default-full-name): Change to "unknown".
9676 (rcirc-user-name-history): Add variable.
9677
9678 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9679 Jonathan Rockway <jon@jrock.us>
9680
9681 * net/rcirc.el (rcirc-server-alist): Add :pass.
9682 (rcirc): When prompting for connection parameters, also prompt for
9683 username and password.
9684 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9685 value to server when connecting.
9686
9687 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9690 (smie-merge-prec2s): Pass the tables as separate args.
9691 (smie-bnf-precedence-table): Adjust call accordingly.
9692 (smie-prec2-levels): Set levels at the end.
9693
9694 Replace Lisp calls to delete-backward-char by delete-char.
9695 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9696 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9697 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9698 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9699 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9700 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9701 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9702 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9703 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9704 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9705 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9706 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9707 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9708 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9709 delete-backward-char by calls to delete-char.
9710
9711 2010-05-25 Kenichi Handa <handa@m17n.org>
9712
9713 * language/hebrew.el (hebrew-shape-gstring): New function.
9714 Register it in composition-function-table for all Hebrew combining
9715 characters.
9716
9717 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * epa.el (epa--select-keys): Don't explicitly delete the window since
9720 that can fail (e.g. sole window in frame). Use dedication instead.
9721
9722 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9723
9724 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9725
9726 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9727
9728 * image.el (image-refresh): Define as an alias for image-flush.
9729
9730 * image-mode.el (image-toggle-display-image): Caller changed.
9731
9732 2010-05-21 Juri Linkov <juri@jurta.org>
9733
9734 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9735 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9736 whitespace, call wildcard-to-regexp on substrings and concat them
9737 with "\\|". (Bug#6114)
9738
9739 2010-05-21 Alan Mackenzie <acm@muc.de>
9740
9741 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9742 Replace parameter `here' with `here-' and `here-plus', which sandwich
9743 any pertinent CPP construct.
9744 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9745 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9746 CPP construct from taking part in the scanning.
9747
9748 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9749
9750 * net/tramp.el (tramp-do-copy-or-rename-file)
9751 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9752 Tune `with-progress-reporter' messages.
9753 (tramp-handle-vc-registered):
9754 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9755 (tramp-fish-handle-insert-file-contents)
9756 (tramp-fish-maybe-open-connection):
9757 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9758 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9759 (tramp-imap-handle-insert-file-contents)
9760 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9761
9762 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9763
9764 * add-log.el (change-log-font-lock-keywords):
9765 Highlight all authors in multi-author entries.
9766
9767 * smerge-mode.el (smerge-refine-ignore-whitespace)
9768 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9769 Fix typos in docstrings.
9770 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9771
9772 2010-05-21 Glenn Morris <rgm@gnu.org>
9773
9774 * progmodes/fortran.el (fortran-mode):
9775 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9776
9777 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9778 having a relative path in src/Makefile.in.
9779
9780 2010-05-20 Kevin Ryde <user42@zip.com.au>
9781
9782 * help-mode.el (help-make-xrefs): For Info node links turn
9783 newlines into spaces. Link node names with newlines are matched
9784 by help-xref-info-regexp and buttonized, this change ensures they
9785 can be followed successfully with RET. (Bug#6206)
9786
9787 2010-05-20 Juri Linkov <juri@jurta.org>
9788
9789 * locate.el (locate): Use pop-to-buffer instead of
9790 switch-to-buffer-other-window. (Bug#6204)
9791
9792 2010-05-20 Juri Linkov <juri@jurta.org>
9793
9794 * replace.el (replace-highlight): Fix lazy-highlighting
9795 for `M-s w str M-% str RET'.
9796
9797 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9798
9799 * isearch.el (isearch-yank-word-or-char): Pull next subword
9800 when `subword-mode' is activated. (Bug#6220)
9801
9802 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9803
9804 * isearch.el (isearch-update-post-hook): New hook.
9805 (isearch-update): Use the new hook. (Bug#6225)
9806
9807 2010-05-20 Juri Linkov <juri@jurta.org>
9808
9809 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9810 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9811 (Bug#6222)
9812
9813 2010-05-20 Juri Linkov <juri@jurta.org>
9814
9815 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9816 (Bug#6223)
9817
9818 2010-05-20 Juri Linkov <juri@jurta.org>
9819
9820 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9821 FILE-NAME to read from the minibuffer when called interactively
9822 with prefix argument instead of using buffer-file-name.
9823 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9824
9825 * dired.el: Update autoloads.
9826
9827 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9828
9829 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9830 nxml-finish-element, for consistency with SGML mode.
9831
9832 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9833 octave-close-block.
9834
9835 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9836
9837 * composite.el: Require cl when compiling.
9838 (reference-point-alist, compose-gstring-for-graphic)
9839 (compose-gstring-for-terminal): Fix typos in docstrings.
9840
9841 2010-05-19 Juri Linkov <juri@jurta.org>
9842
9843 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9844 set-window-parameter.
9845
9846 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9847
9848 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9849 where appropriate.
9850 (tramp-maybe-open-connection): Use it.
9851
9852 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9853
9854 * simple.el (move-end-of-line): Make sure we are at line beginning
9855 before backing up to end of previous line.
9856
9857 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9858
9859 * password-cache.el (password-cache-remove): Fix docstring.
9860
9861 * net/secrets.el: Autoload the widget functions.
9862 (secrets-search-items, secrets-create-item)
9863 (secrets-get-attributes, secrets-expand-item): Attributes will be
9864 stored on the password database without leading ":", as all other
9865 clients do as well.
9866 (secrets-mode): Fix docstring.
9867 (secrets-show-secrets): Provide it as autoloaded command only when
9868 D-Bus support is available. Check existence of Secret Service API.
9869
9870 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * indent.el (indent-region): Deactivate region (bug#6200).
9873
9874 2010-05-19 Glenn Morris <rgm@gnu.org>
9875
9876 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9877
9878 2010-05-19 Kenichi Handa <handa@m17n.org>
9879
9880 * composite.el: Register compose-gstring-for-graphic in
9881 composition-function-table only for combining characters (Mn, Mc, Me).
9882
9883 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9884
9885 * calc/calc-trail.el (calc-trail-isearch-forward)
9886 (calc-trail-isearch-backward): Ensure that the new window
9887 point is set correctly.
9888
9889 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9890
9891 * subr.el (read-quoted-char): Resolve modifiers after key
9892 remapping (bug#6212).
9893
9894 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9895
9896 Add visualization code for secrets.
9897 * net/secrets.el (secrets-mode): New major mode.
9898 (secrets-show-secrets, secrets-show-collections)
9899 (secrets-expand-collection, secrets-expand-item)
9900 (secrets-tree-widget-after-toggle-function)
9901 (secrets-tree-widget-show-password): New defuns.
9902
9903 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9904
9905 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9906 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9907 handled in smie-next-sexp.
9908 (smie-indent-calculate): Provide a starting indentation (so the
9909 recursion is well-founded ;-).
9910
9911 Fix handling of non-associative equal levels.
9912 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9913 when it's not needed.
9914 (smie-op-left, smie-op-right): New functions.
9915 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9916 Better handle equal levels to distinguish the associative case from
9917 the "multi-keyword construct" case.
9918 (smie-backward-sexp, smie-forward-sexp): Use it.
9919
9920 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9921
9922 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9923
9924 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9925 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9926
9927 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 Provide a simple generic indentation engine and use it for Prolog.
9930 * emacs-lisp/smie.el: New file.
9931 * progmodes/prolog.el (prolog-smie-op-levels)
9932 (prolog-smie-indent-rules): New var.
9933 (prolog-mode-variables): Use them to configure SMIE.
9934 (prolog-indent-line, prolog-indent-level): Remove.
9935
9936 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9937
9938 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9939 order before computing the averages.
9940
9941 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9942
9943 * calc/calc-vec.el (calc-histogram):
9944 (calcFunc-histogram): Allow vectors as inputs.
9945 (math-vector-avg): New function.
9946
9947 * calc/calc-ext.el (math-group-float): Have the number of digits
9948 being grouped depend on the radix (Bug#6189).
9949
9950 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9951
9952 * version.el (emacs-copyright, emacs-version): Don't define here,
9953 now that emacs.c defines it.
9954
9955 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9956
9957 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9958 "Describe Language Environment" menu item.
9959
9960 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9961
9962 Bidi-sensitive movement with arrow keys.
9963 * subr.el (right-arrow-command, left-arrow-command): New functions.
9964
9965 * bindings.el (global-map): Bind them to right and left arrow keys.
9966
9967 Don't override standard definition of convert-standard-filename.
9968 * files.el (convert-standard-filename):
9969 Call w32-convert-standard-filename and dos-convert-standard-filename on
9970 the corresponding systems.
9971
9972 * w32-fns.el (w32-convert-standard-filename): Rename from
9973 convert-standard-filename. Doc fix.
9974
9975 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9976 (convert-standard-filename): Don't defalias.
9977 (register-name-alist, make-register, register-value)
9978 (set-register-value, intdos): Obsolete aliases for the
9979 corresponding dos-* functions and variables.
9980 (dos-intdos): Add a doc string.
9981
9982 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9983
9984 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9985 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9986 (math-compose-tex-func):
9987 * calc/calccomp.el (math-compose-expr):
9988 * calc/calc-ext.el (math-format-flat-expr-fancy):
9989 * calc/calc-store.el (calc-read-var-name):
9990 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9991
9992 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9993 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9994 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9995 (math-standard-units): Add units.
9996
9997 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * progmodes/asm-mode.el (asm-mode):
10000 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10001
10002 * pcomplete.el (pcomplete-completions-at-point): New function,
10003 extracted from pcomplete-std-complete.
10004 (pcomplete-std-complete): Use it.
10005
10006 2010-05-15 Glenn Morris <rgm@gnu.org>
10007
10008 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10009 Remove references to CVS, RCS and Old directories.
10010
10011 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10012
10013 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10014 appropriate.
10015
10016 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10019 (sh-mode-syntax-table): Give it a default value instead.
10020 (sh-header-marker): Make buffer-local.
10021 (sh-mode): Move make-local-variable to the corresponding setq.
10022 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10023 Use complete-with-action.
10024
10025 * simple.el (prog-mode): New (abstract) major mode.
10026 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10027 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10028
10029 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10030
10031 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10032 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10033 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10034 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10035 (sql-escape-newlines-filter, sql-input-sender)
10036 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10037
10038 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10039
10040 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10041
10042 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10043 latex-open-block and C-c / to latex-close-block.
10044
10045 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10046 and C-c C-e to sgml-close-tag.
10047
10048 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10049
10050 * net/tramp.el (with-progress-reporter): Create reporter object
10051 only when the message would be displayed. Handle nested calls.
10052 (tramp-handle-load, tramp-handle-file-local-copy)
10053 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10054 (tramp-maybe-send-script, tramp-find-shell):
10055 Use `with-progress-reporter'.
10056 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10057 Fix message text.
10058
10059 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10060 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10061 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10062 Use `with-progress-reporter'.
10063
10064 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10065
10066 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10067 process everytime when spellchecking from the minibuffer (bug#6143).
10068
10069 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10072
10073 * dos-fns.el: Add "dos-" prefix for namespace control.
10074 (convert-standard-filename): Define as alias for
10075 dos-convert-standard-filename but only if applicable.
10076
10077 2010-05-12 Alan Mackenzie <acm@muc.de>
10078
10079 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10080 Push the mark at the start of these functions when appropriate.
10081
10082 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * minibuffer.el (completion-cycle-threshold): New custom var.
10085 (completion--do-completion): Use it.
10086 (minibuffer-complete): Use cycling if appropriate.
10087
10088 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10089
10090 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10091 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10092
10093 2010-05-11 Juri Linkov <juri@jurta.org>
10094
10095 * scroll-all.el (scroll-all-check-to-scroll):
10096 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10097
10098 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * iimage.el (iimage-mode-map): Move initialization into declaration.
10101 (iimage-mode-buffer): Use with-silent-modifications.
10102 Simplify calling convention. Adjust callers.
10103 (iimage-mode): Don't run hook redundantly.
10104
10105 * minibuffer.el (completion-pcm--pattern->regex):
10106 Fix last change (bug#6160).
10107
10108 2010-05-10 Juri Linkov <juri@jurta.org>
10109
10110 Remove nodes visited during Isearch from the Info history.
10111 * info.el (Info-isearch-initial-history)
10112 (Info-isearch-initial-history-list): New variables.
10113 (Info-isearch-start): Record initial values of
10114 Info-isearch-initial-history and Info-isearch-initial-history-list.
10115 Add Info-isearch-end to isearch-mode-end-hook.
10116 (Info-isearch-end): New function.
10117
10118 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10119
10120 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10121 format string, in order to work around a bug in pdksh.
10122 Reported by Gilles Pion <gpion@lfdj.com>.
10123 (tramp-handle-verify-visited-file-modtime): Do not send a command
10124 when the connection is not established.
10125 (tramp-handle-set-file-times): Simplify the check for utc.
10126
10127 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10128
10129 Fix use of `filter-buffer-substring' (rework previous change).
10130 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10131 (cua-repeat-replace-region):
10132 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10133 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10134 (cua-cut-region-to-global-mark): Use it.
10135
10136 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10137
10138 * progmodes/sql.el: Version 2.1.
10139 (sql-product-alist): Redesign structure of product info.
10140 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10141 (sql-port, sql-port-history): New variables.
10142 (sql-interactive-product): New variable.
10143 (sql-send-terminator): New variable.
10144 (sql-imenu-generic-expression): Add "Types" imenu entry.
10145 (sql-oracle-login-params, sql-sqlite-login-params)
10146 (sql-mysql-login-params, sql-solid-login-params)
10147 (sql-sybase-login-params, sql-informix-login-params)
10148 (sql-ingres-login-params, sql-ms-login-params)
10149 (sql-postgres-login-params, sql-interbase-login-params)
10150 (sql-db2-login-params, sql-linter-login-params)
10151 (sql-oracle-scan-on): New variables.
10152 (sql-mode-map): Add C-c C-i to start interactive mode.
10153 (sql-mode-menu): Update existing menu entries.
10154 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10155 (sql-mode-oracle-font-lock-keywords)
10156 (sql-mode-postgres-font-lock-keywords)
10157 (sql-mode-ms-font-lock-keywords)
10158 (sql-mode-sybase-font-lock-keywords)
10159 (sql-mode-informix-font-lock-keywords)
10160 (sql-mode-interbase-font-lock-keywords)
10161 (sql-mode-ingres-font-lock-keywords)
10162 (sql-mode-solid-font-lock-keywords)
10163 (sql-mode-mysql-font-lock-keywords)
10164 (sql-mode-sqlite-font-lock-keywords)
10165 (sql-mode-db2-font-lock-keywords)
10166 (sql-mode-linter-font-lock-keywords): Update initialization to
10167 reduce run-time complexity.
10168 (sql-add-product, sql-del-product): New functions.
10169 (sql-set-product-feature, sql-get-product-feature): New functions.
10170 (sql-product-font-lock): Update product API.
10171 (sql-add-product-keywords): New function.
10172 (sql-highlight-product): Update product API.
10173 (sql-help-list-products): New function.
10174 (sql-help): Dynamically lists free and non-free products.
10175 (sql-get-login): Correct bug in handling history and added
10176 prompt for port.
10177 (sql-copy-column): Copy without properties.
10178 (sqli-input-sender): Apply filters to SQLi input.
10179 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10180 Implement as a filter.
10181 (sql-escape-newlines-filter): Implement as a filter.
10182 (sql-remove-tabs-filter): New function.
10183 (sql-send-magic-terminator): New function.
10184 (sql-send-string): Implement magic terminator.
10185 (sql-send-region): Use `sql-send-string'.
10186 (sql-interactive-mode): Use product API.
10187 (sql-product-interactive): Use product API.
10188 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10189 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10190 (sql-db2, sql-linter): Use `sql-product-interactive'.
10191 (sql-connect): New function.
10192 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10193 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10194 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10195 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10196 Use `sql-connect'.
10197
10198 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10199
10200 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10201 New custom variable.
10202 (completion-pcm--string->pattern): Use it.
10203 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10204 Make it handle any symbol as `any'.
10205 (completion-pcm--merge-completions): Extract common suffix for the new
10206 `prefix' symbol as well.
10207 (completion-substring--all-completions): Use the new `prefix' symbol.
10208
10209 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10210
10211 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10212 not bound.
10213 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10214 (tramp-compat-funcall): New defmacro.
10215 (tramp-compat-line-beginning-position)
10216 (tramp-compat-line-end-position)
10217 (tramp-compat-temporary-file-directory)
10218 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10219 (tramp-compat-copy-file, tramp-compat-copy-directory)
10220 (tramp-compat-delete-file, tramp-compat-delete-directory)
10221 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10222 * net/tramp.el (top, with-progress-reporter)
10223 (tramp-rfn-eshadow-setup-minibuffer)
10224 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10225 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10226 (tramp-completion-mode-p, tramp-check-for-regexp)
10227 (tramp-open-connection-setup-interactive-shell)
10228 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10229 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10230 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10231 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10232 (tramp-reporter-dump-variable, tramp-load-report-modules)
10233 (tramp-append-tramp-buffers)
10234 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10235
10236 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10237
10238 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10239
10240 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10241 buffer-modtime. Adjust users.
10242
10243 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10244
10245 * international/mule.el (auto-coding-alist): Only purecopy
10246 car of each item, not the whole list (Bug#6083).
10247
10248 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10249
10250 * progmodes/js.el (js-mode): Make paragraph variables local before
10251 calling c-setup-paragraph-variables (Bug#6071).
10252
10253 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10254
10255 * composite.el (compose-region, reference-point-alist): Fix typos
10256 in the doc strings.
10257
10258 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10259
10260 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10261 gnuplot's "set" command.
10262
10263 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10264
10265 * abbrev.el (last-abbrev-text): Doc fix.
10266 (abbrev-prefix-mark): Don't escape parenthesis.
10267
10268 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10269
10270 * composite.el (find-composition): Doc fix.
10271
10272 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10273
10274 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10275 (sql-oracle-program, sql-sqlite-options)
10276 (sql-query-placeholders-and-send): Doc fixes.
10277 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10278 (sql-imenu-generic-expression, sql-buffer)
10279 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10280 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10281 (sql-mode-sybase-font-lock-keywords)
10282 (sql-mode-informix-font-lock-keywords)
10283 (sql-mode-interbase-font-lock-keywords)
10284 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10285 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10286 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10287 (sql-product-feature, sql-highlight-product)
10288 (comint-line-beginning-position, sql-rename-buffer)
10289 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10290 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10291 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10292 Fix typos in docstrings.
10293
10294 2010-05-08 Juri Linkov <juri@jurta.org>
10295
10296 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10297 property instead of `invisible' and `after-string' (bug#5998).
10298
10299 2010-05-08 Juri Linkov <juri@jurta.org>
10300
10301 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10302
10303 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10304
10305 * filecache.el (file-cache-add-directory-list)
10306 (file-cache-add-directory-recursively): Fix typos in docstrings.
10307
10308 2010-05-08 Kenichi Handa <handa@m17n.org>
10309
10310 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10311 (gujarati-composable-pattern): Fix typo.
10312
10313 2010-05-08 Kenichi Handa <handa@m17n.org>
10314
10315 * language/indian.el (oriya-composable-pattern)
10316 (tamil-composable-pattern, malayalam-composable-pattern):
10317 Add two-part vowels to "v" (vowel sign).
10318
10319 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10320
10321 * files.el (copy-directory): Handle symlinks (Bug#5982).
10322
10323 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10324
10325 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10326 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10327 (Bug#5846).
10328
10329 2010-05-08 Glenn Morris <rgm@gnu.org>
10330
10331 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10332
10333 * minibuffer.el (completion-at-point): Doc fix.
10334
10335 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10336
10337 * electric.el (Electric-command-loop): Minor tweak.
10338
10339 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10340 better with dedicated windows.
10341
10342 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10343
10344 * Version 23.2 released.
10345
10346 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10347 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 Highlight vendor specific properties.
10350 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10351 (css-proprietary-property): New face.
10352 (css-font-lock-keywords): Use them.
10353
10354 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10355
10356 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10357
10358 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10361 * files.el (auto-mode-alist): Remove redundant entries.
10362
10363 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10364 * simple.el (auto-save-mode): Move from files.el.
10365 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10366
10367 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10368
10369 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10370
10371 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10372
10373 * mail/binhex.el (binhex-decode-region-internal)
10374 * mail/uudecode.el (uudecode-decode-region-internal)
10375 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10376 (dns-read-type, dns-query)
10377 * pgg-parse.el (pgg-parse-armor)
10378 * pgg.el (pgg-verify-region)
10379 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10380 XEmacs.
10381
10382 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10383
10384 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10385
10386 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10387
10388 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10389 * emulation/cua-base.el (cua-repeat-replace-region):
10390 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10391 (cua-cut-region-to-global-mark):
10392 Remove text properties with `set-text-properties'.
10393
10394 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10395
10396 * net/tramp.el (top, with-progress-reporter):
10397 Use `symbol-function' inside `funcall'.
10398
10399 * net/tramp-compat.el (tramp-compat-file-attributes)
10400 (tramp-compat-delete-file, tramp-compat-delete-directory):
10401 Handle only `wrong-number-of-arguments' error.
10402
10403 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10404 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10405 inside `funcall'.
10406
10407 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10408
10409 * minibuffer.el (completion--sreverse, completion--common-suffix):
10410 New functions.
10411 (completion-pcm--merge-completions): Extract common suffix when safe.
10412
10413 * emacs-lisp/easy-mmode.el (define-minor-mode):
10414 Make :variable more flexible.
10415 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10416
10417 2010-05-05 Juri Linkov <juri@jurta.org>
10418
10419 Add `slow' and `history' tags to the desktop data.
10420
10421 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10422 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10423 (Info-finder-find-node): Require `finder.el' to be able
10424 to restore node from the desktop.
10425 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10426 data `Info-history' and `slow' tag in the assoc list.
10427 (Info-restore-desktop-buffer): Don't restore nodes with the
10428 `slow' tag. Restore `Info-history'.
10429
10430 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10431
10432 Add FORCE argument to `delete-file'.
10433
10434 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10435 forcing to delete the temporary file.
10436 (ange-ftp-delete-file): Add FORCE arg.
10437 (ange-ftp-rename-remote-to-remote)
10438 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10439 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10440 Force file deletion.
10441
10442 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10443
10444 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10445 (tramp-handle-make-symbolic-link, tramp-handle-load)
10446 (tramp-do-copy-or-rename-file-via-buffer)
10447 (tramp-do-copy-or-rename-file-directly)
10448 (tramp-do-copy-or-rename-file-out-of-band)
10449 (tramp-handle-process-file, tramp-handle-call-process-region)
10450 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10451 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10452 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10453
10454 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10455 (tramp-fish-handle-make-symbolic-link)
10456 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10457
10458 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10459 Use `tramp-compat-delete-file'.
10460
10461 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10462 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10463
10464 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10465 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10466
10467 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10468 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10469 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10470 Use `tramp-compat-delete-file'.
10471
10472 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10473
10474 Minor cleanups.
10475 * subr.el (add-minor-mode): Use push.
10476 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10477 * emulation/edt.el (edt-select-mode): Simplify.
10478
10479 Use define-minor-mode in more cases.
10480 * term/tvi970.el (tvi970-set-keypad-mode):
10481 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10482 (normal-erase-is-backspace-mode):
10483 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10484 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10485 (get-scroll-bar-mode): New function.
10486 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10487
10488 Use define-minor-mode for less obvious cases.
10489 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10490 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10491 * international/iso-ascii.el (iso-ascii-mode):
10492 * frame.el (auto-raise-mode, auto-lower-mode):
10493 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10494
10495 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10496
10497 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10498 in order to see error messages for failed logins.
10499
10500 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10501
10502 * diff.el (diff-sentinel):
10503
10504 * epg.el (epg--make-temp-file, epg-decrypt-string)
10505 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10506
10507 * jka-compr.el (jka-compr-partial-uncompress)
10508 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10509
10510 * server.el (server-sentinel): Use delete-file's new FORCE arg
10511 (Bug#6070).
10512
10513 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10514
10515 Use define-minor-mode where applicable.
10516 * view.el (view-mode):
10517 * type-break.el (type-break-query-mode)
10518 (type-break-mode-line-message-mode):
10519 * textmodes/reftex.el (reftex-mode):
10520 * term/vt100.el (vt100-wide-mode):
10521 * tar-mode.el (tar-subfile-mode):
10522 * savehist.el (savehist-mode):
10523 * ibuf-ext.el (ibuffer-auto-mode):
10524 * composite.el (auto-composition-mode):
10525 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10526 Use define-minor-mode.
10527 (vhdl-mode): Use static mode-line format.
10528 (vhdl-mode-line-update): Delete.
10529 (vhdl-create-mode-menu, vhdl-activate-customizations)
10530 (vhdl-hs-minor-mode): Don't bother calling it.
10531
10532 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10533
10534 * simple.el (with-wrapper-hook): Move.
10535 (buffer-substring-filters): Mark obsolete.
10536 (filter-buffer-substring-functions): New variable.
10537 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10538
10539 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10540 Michael Albinus <michael.albinus@gmx.de>
10541
10542 Implement compression for inline methods.
10543
10544 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10545 (tramp-copy-size-limit): Allow also nil.
10546 (tramp-inline-compress-commands): New defconst.
10547 (tramp-find-inline-compress, tramp-get-inline-compress)
10548 (tramp-get-inline-coding): New defuns.
10549 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10550 replaced by `tramp-get-inline-coding'.
10551 (tramp-handle-file-local-copy, tramp-handle-write-region)
10552 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10553
10554 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10557 Remove unused functions.
10558
10559 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10560 Set find-tag-default-function as a variable rather than a property.
10561
10562 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10563 * progmodes/etags.el (tags-completion-at-point-function):
10564 Remove left over interactive spec. Add autoloading stub.
10565 (complete-tag): Use tags-completion-at-point-function.
10566
10567 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10568
10569 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10570
10571 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10572
10573 * ido.el (ido-init-completion-maps): Remove C-v binding.
10574 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10575
10576 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10577
10578 * minibuffer.el (tags-completion-at-point-function): New function.
10579 (completion-at-point-functions): Use it.
10580
10581 * progmodes/etags.el (complete-tag): Revert last change.
10582
10583 2010-04-29 Alan Mackenzie <acm@muc.de>
10584
10585 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10586 off-by-one error (in end of macro position).
10587
10588 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10591 firefox is absent. Don't autoload.
10592 (browse-url-galeon-program): Don't autoload.
10593
10594 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10595
10596 * bindings.el (complete-symbol): Move into minibuffer.el.
10597
10598 * minibuffer.el (complete-tag): Move from etags.el. If tags
10599 completion cannot be performed, return nil instead of signalling
10600 an error.
10601 (completion-at-point): Make it an alias for complete-symbol.
10602 (complete-symbol): Move from bindings.el, and replace with the
10603 body of completion-at-point.
10604
10605 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10606
10607 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10608
10609 * net/tramp.el (tramp-remote-selinux-p): New defun.
10610 (tramp-handle-file-selinux-context)
10611 (tramp-handle-set-file-selinux-context): Use it.
10612
10613 2010-04-28 Sam Steingold <sds@gnu.org>
10614
10615 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10616 `safe-local-variable' if the value is a string or a symbol with
10617 the property `bug-reference-url-format'.
10618
10619 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10620
10621 * progmodes/bug-reference.el (bug-reference-url-format):
10622 Revert 2010-04-27 change due to security risk.
10623
10624 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10625
10626 Make it possible to locally disable a globally enabled mode.
10627 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10628 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10629 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10630 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10631 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10632 that subsequent hooks get a chance to disable it.
10633
10634 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10637 Avoid re-enabling a minor mode after the user turned the minor mode
10638 off if MODE-enable-in-buffers is run twice (typically once from
10639 fundamental-mode's after-change-major-mode-hook and a second time from
10640 run-mode-hook's own after-change-major-mode-hook).
10641
10642 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10643
10644 2010-04-27 Sam Steingold <sds@gnu.org>
10645
10646 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10647 `safe-local-variable' if the value is a string or a function, as
10648 documented and implemented on 2010-04-02.
10649
10650 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10651
10652 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10653 when method is 'kill.
10654
10655 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10656
10657 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10658 condition in default directory check.
10659 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10660 Kill ispell process when killing its associated buffer.
10661
10662 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10663
10664 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10665 but we aren't using it.
10666
10667 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10668
10669 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10670 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10671
10672 2010-04-24 Glenn Morris <rgm@gnu.org>
10673
10674 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10675 Ignore VCS-ignore files, and deleted nextstep preferences files.
10676 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10677 (authors-ambiguous-files): New list.
10678 (authors-valid-file-names): Add some deleted files.
10679 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10680 (authors-disambiguate-file-name): New function. (Bug#5501)
10681 (authors-canonical-file-name): Doc fix.
10682 Don't warn about obsolete files.
10683 (authors-canonical-file-name, authors-scan-el):
10684 Use authors-disambiguate-file-name.
10685
10686 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10687 Add autoload cookies.
10688 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10689 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10690 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10691 They have definitions / compiler macros in cl.el.
10692 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10693 Replace manual autoloads with generated ones.
10694 (htmlfontify-unload-rgb-file): Remove autoload.
10695 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10696
10697 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10700 (byte-compile-setq-default): Optimize for the
10701 single-var case and don't call byte-compile-form in this case to avoid
10702 inf-loop with byte-compile-set-default.
10703
10704 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10705
10706 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10707
10708 Implement SELINUX backends.
10709
10710 * net/tramp.el (tramp-file-name-handler-alist):
10711 Add `file-selinux-context' and `set-file-selinux-context'.
10712 (tramp-handle-file-selinux-context)
10713 (tramp-handle-set-file-selinux-context): New defuns.
10714 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10715 Handle PRESERVE-SELINUX-CONTEXT.
10716
10717 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10718 Add `file-selinux-context' and `set-file-selinux-context'.
10719 (tramp-gvfs-handle-file-selinux-context)
10720 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10721 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10722
10723 * net/ange-ftp.el (ange-ftp-copy-file):
10724 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10725 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10726 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10727 Add PRESERVE-SELINUX-CONTEXT.
10728
10729 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10730
10731 Synchronize with Tramp repository.
10732
10733 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10734 (tramp-action-process-alive, tramp-action-out-of-band)
10735 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10736 (tramp-exists-file-name-handler): Fix docstring.
10737 (with-progress-reporter): New defmacro.
10738 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10739 (tramp-maybe-open-connection): Use it.
10740
10741 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10742
10743 Detect ssh 'ControlMaster' argument automatically in some cases.
10744
10745 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10746 (tramp-default-method): Use it.
10747
10748 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10749
10750 * net/tramp.el (tramp-handle-copy-file): Add new optional
10751 parameter `preserve-selinux-context'.
10752 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10753
10754 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10755
10756 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10757 Ensure, that non remote files are still checked. Oops.
10758
10759 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10760
10761 Fix Bug#5840.
10762
10763 * icomplete.el (icomplete-completions): Use `non-essential'.
10764
10765 * net/tramp.el (tramp-connectable-p): New defun.
10766 (tramp-handle-expand-file-name)
10767 (tramp-completion-handle-file-name-all-completions)
10768 (tramp-completion-handle-file-name-completion): Use it.
10769
10770 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10773
10774 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10775
10776 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10777
10778 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10779
10780 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10781 is present.
10782
10783 * info.el (info-tool-bar-map): Add labels.
10784
10785 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10786
10787 * cus-edit.el (custom-commands): Add labels for tool bar.
10788 (custom-buffer-create-internal, Custom-mode): Adjust for
10789 labels in custom-commands.
10790
10791 * dynamic-setting.el: Renamed from font-setting.el.
10792
10793 2010-04-21 John Wiegley <jwiegley@gmail.com>
10794
10795 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10796 toggles the use of virtual buffers.
10797 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10798 (ido-toggle-virtual-buffers): New function.
10799
10800 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10801
10802 Use `define-derived-mode'; fix window selection; doc fixes.
10803 * play/tetris.el (tetris, tetris-update-speed-function)
10804 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10805 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10806 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10807 (tetris-pause-game): Fix typos in docstrings.
10808 (tetris-mode-map, tetris-null-map):
10809 Move initialization into declaration.
10810 (tetris-mode): Define with `define-derived-mode';
10811 set show-trailing-whitespace to nil.
10812 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10813
10814 2010-04-21 Karel Klíč <kklic@redhat.com>
10815
10816 * files.el (backup-buffer): Handle SELinux context, and return it
10817 if a backup was made by renaming.
10818 (backup-buffer-copy): Set SELinux context to the target file.
10819 (basic-save-buffer): Set SELinux context of the newly written file.
10820 (basic-save-buffer-1): Now it also returns any SELinux context.
10821 (basic-save-buffer-2): Set SELinux context of the newly created file,
10822 and return it.
10823 * net/tramp.el (tramp-file-name-for-operation):
10824 Add file-selinux-context.
10825
10826 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10827
10828 Make the log-edit comments use RFC822 format throughout.
10829
10830 * vc.el (vc-checkin, vc-modify-change-comment):
10831 Adjust to new vc-start/finish-logentry.
10832 (vc-find-conflicted-file): New command.
10833 (vc-transfer-file): Adjust to new vc-checkin.
10834 (vc-next-action): Improve scoping.
10835
10836 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10837 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10838
10839 * vc-git.el (vc-git-log-edit-mode): Remove.
10840 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10841 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10842
10843 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10844 (vc-start-logentry): Remove argument `extra'.
10845 (vc-finish-logentry): Remove extra args.
10846
10847 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10848 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10849 (vc-bzr-conflicted-files): New function.
10850
10851 * log-edit.el (log-edit-extra-flags)
10852 (log-edit-before-checkin-process): Remove.
10853 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10854 (log-edit-headers-alist): New var.
10855 (log-edit-header-contents-regexp): New const.
10856 (log-edit-match-to-eoh): New function.
10857 (log-edit-font-lock-keywords): Use them.
10858 (log-edit): Insert a "Summary:" header as default.
10859 (log-edit-mode): Mark font-lock rules as case-insensitive.
10860 (log-edit-done): Cleanup headers.
10861 (log-view-process-buffer): Remove.
10862 (log-edit-extract-headers): New function to replace it.
10863
10864 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * subr.el (default-direction-reversed): Remove obsolescence info.
10867
10868 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10871 windows/frames.
10872
10873 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10874 I.e. include text after point in the completion region.
10875 Also, return nil when we're not after/in a symbol.
10876
10877 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10878 default enable-multibyte-characters.
10879
10880 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * international/mule.el: Help the user choose a valid coding-system.
10883 (read-buffer-file-coding-system): New function.
10884 (set-buffer-file-coding-system): Use it. Prompt the user if the
10885 coding-system cannot encode all the chars.
10886
10887 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10888 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10889 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10890 Don't use *vc-bzr-shelve*.
10891
10892 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10893
10894 Fix the version number for added files.
10895 * vc-hg.el (vc-hg-working-revision): Check if the file is
10896 registered after hg parent fails (Bug#5961).
10897
10898 2010-04-19 Glenn Morris <rgm@gnu.org>
10899
10900 * htmlfontify.el (htmlfontify-buffer)
10901 (htmlfontify-copy-and-link-dir): Autoload entry points.
10902
10903 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10904
10905 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10906 name relative to the project root (Bug#5960).
10907
10908 2010-04-19 Glenn Morris <rgm@gnu.org>
10909
10910 * vc-git.el (vc-git-print-log): Doc fix.
10911
10912 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10913
10914 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10915
10916 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10917
10918 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10919 default settings (Bug#5928).
10920
10921 2010-04-19 Glenn Morris <rgm@gnu.org>
10922
10923 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10924 New function.
10925 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10926
10927 2010-04-19 Kenichi Handa <handa@m17n.org>
10928
10929 * language/indian.el (malayalam-composable-pattern): Fix previous
10930 change (add U+0D4D "SIGN VIRAMA").
10931 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10932 (tamil-composable-pattern): Fix typo in the regexp.
10933 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10934 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10935 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10936
10937 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10938
10939 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10940 paragraph-separate (Bug#5821).
10941
10942 2010-04-19 Juri Linkov <juri@jurta.org>
10943
10944 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10945
10946 * info.el (Info-find-node-2): Comment out code that skips
10947 breadcrumbs line.
10948 (Info-mouse-follow-link): New command.
10949 (Info-link-keymap): New keymap.
10950 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10951 Return a string with links instead of inserting breadcrumbs
10952 to the Info buffer.
10953 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10954 Instead of putting the `invisible' text property over the Info
10955 header, make an overlay over the Info header with the `invisible'
10956 property and `after-string' set to the string returned by
10957 `Info-breadcrumbs'.
10958
10959 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10960
10961 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10962 Reported by monkey@sandpframing.com.
10963
10964 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10965
10966 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10967 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10968 available in the "keyseq cache" any more.
10969
10970 * custom.el (defcustom): Add edebug spec.
10971
10972 2010-04-18 Juri Linkov <juri@jurta.org>
10973
10974 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10975
10976 * view.el (view-file, view-buffer): Move test for special mode-class
10977 from view-file to view-buffer.
10978
10979 * tar-mode.el (tar-extract): Turn if's into one cond
10980 like in arc-mode.el.
10981
10982 2010-04-18 Juri Linkov <juri@jurta.org>
10983
10984 Add 7z archive format support (bug#5475).
10985
10986 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10987 (archive-7z-extract): New defcustom.
10988 (archive-find-type): Add magic string for 7z.
10989 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10990 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10991 `buffer' arg of `call-process'.
10992 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10993 call the function `archive-7z-extract' with the variable
10994 `archive-7z-extract' let-bound to `archive-zip-extract'.
10995 (archive-7z-summarize, archive-7z-extract): New functions.
10996
10997 * international/mule.el (auto-coding-alist):
10998 * files.el (auto-mode-alist): Add 7z file extension.
10999
11000 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * loadup.el: Setup hash-cons for pure data.
11003
11004 Fix duplicate entries in cedet's loaddefs.el files.
11005 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11006 Should make most file-local generated-autoload-file unnecessary.
11007 (print-readably): Silence warnings.
11008 (autoload-find-destination): Take load-name as an arg to make sure
11009 it's the same as the one that will be in the file.
11010 (autoload-generate-file-autoloads): Adjust to above changes.
11011 Try to make the dataflow a bit simpler.
11012
11013 * cvs-status.el (cvs-refontify): Remove unused.
11014
11015 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11016
11017 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11018
11019 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11020 twos-complement mode.
11021
11022 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11023
11024 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11025 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11026 (calc-inverse): Add "Option" to message, as appropriate.
11027 (calc-hyperbolic): Add "Option" to message, as appropriate.
11028 (calc-option, calc-is-option): New functions.
11029
11030 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11031 (calc-option-prefix-help): New function.
11032
11033 * calc/calc-misc.el (calc-help): Add "Option" entry.
11034
11035 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11036 (calc-option-flag): New variable.
11037 (calc-do): Set `calc-option-flag to nil.
11038 (calc-set-mode-line): Add "Opt " as appropriate.
11039
11040 2010-04-16 Juri Linkov <juri@jurta.org>
11041
11042 Move scrolling commands from simple.el to window.el
11043 because their primitives are implemented in window.c.
11044
11045 * simple.el (scroll-error-top-bottom)
11046 (scroll-up-command, scroll-down-command, scroll-up-line)
11047 (scroll-down-line, scroll-other-window-down)
11048 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11049 * window.el (scroll-error-top-bottom)
11050 (scroll-up-command, scroll-down-command, scroll-up-line)
11051 (scroll-down-line, scroll-other-window-down)
11052 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11053 Move from simple.el to window.el because their primitives are
11054 implemented in window.c.
11055
11056 2010-04-16 Juri Linkov <juri@jurta.org>
11057
11058 * isearch.el (isearch-lookup-scroll-key): Check both
11059 `isearch-scroll' and `scroll-command' properties.
11060 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11061
11062 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11063
11064 * simple.el (scroll-up-command, scroll-down-command)
11065 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11066
11067 2010-04-15 Juri Linkov <juri@jurta.org>
11068
11069 * simple.el (scroll-up-command, scroll-down-command)
11070 (scroll-up-line, scroll-down-line): Put `scroll-command'
11071 property on the these symbols. Remove them from
11072 `scroll-preserve-screen-position-commands'.
11073
11074 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11075 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11076 Remove it from `scroll-preserve-screen-position-commands'.
11077
11078 * isearch.el (isearch-allow-scroll): Doc fix.
11079
11080 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11081
11082 * net/tramp.el (tramp-error-with-buffer): Don't show the
11083 connection buffer when we are in completion mode.
11084 (tramp-file-name-handler): Catch the error for some operations
11085 when we are in completion mode. This gives the user the chance to
11086 correct the file name in the minibuffer.
11087
11088 2010-04-15 Glenn Morris <rgm@gnu.org>
11089
11090 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11091
11092 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11093
11094 Simplify by using `define-derived-mode'.
11095 * info.el (Info-mode):
11096 * calendar/todo-mode.el (todo-mode):
11097 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11098 (gomoku-mode-map): Move initialization into declaration.
11099
11100 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11101
11102 Fix Bug#5840.
11103 * ido.el (ido-file-name-all-completions-1):
11104 * minibuffer.el (minibuffer-completion-help):
11105 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11106
11107 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11108
11109 * simple.el (non-essential): New var.
11110
11111 Add a new field `location' to bookmarks for non-file bookmarks.
11112 * bookmark.el (bookmark-location): Use the new field, if present.
11113 (bookmark-insert-location): Undo last change, not needed any more.
11114 * man.el (Man-bookmark-make-record):
11115 * woman.el (woman-bookmark-make-record): Add `location' field.
11116
11117 2010-04-14 Juri Linkov <juri@jurta.org>
11118
11119 * simple.el (scroll-error-top-bottom): New defcustom.
11120 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11121
11122 * emulation/pc-select.el (pc-select-override-scroll-error):
11123 Obsolete in favor of `scroll-error-top-bottom'.
11124
11125 2010-04-14 Juri Linkov <juri@jurta.org>
11126
11127 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11128 `scroll-up-command' and `M-v' to `scroll-down-command'.
11129
11130 * emulation/cua-rect.el (cua--init-rectangles):
11131 * forms.el (forms--change-commands):
11132 * image-mode.el (image-mode-map):
11133 Remap scroll-down-command and scroll-up-command
11134 in addition to scroll-down and scroll-up.
11135
11136 2010-04-14 Juri Linkov <juri@jurta.org>
11137
11138 * mwheel.el (scroll-preserve-screen-position-commands):
11139 Add mwheel-scroll to this list of commands.
11140
11141 * simple.el (scroll-preserve-screen-position-commands):
11142 Add scroll-up-command, scroll-down-command, scroll-up-line,
11143 scroll-down-line to this list of commands.
11144
11145 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 * obsolete/complete.el: Move from lisp/complete.el.
11148
11149 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11150
11151 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11152 to the minor mode function now turns the mode ON unconditionally.
11153
11154 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11155
11156 * vc-dir.el (vc-dir-kill-line): New command.
11157 (vc-dir-mode-map): Bind it to C-k.
11158
11159 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11160
11161 * woman.el: Add bookmark declarations to silence the compiler.
11162 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11163 step to compatibility between man and woman bookmarks.
11164 Adjust for Man-default-bookmark-title renaming.
11165 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11166
11167 * man.el: Add bookmark declarations to silence the compiler.
11168 (Man-name-local-regexp): Make it match NAME as well.
11169 (Man-getpage-in-background): Return the buffer.
11170 (Man-notify-when-ready): Use `case'.
11171 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11172 Don't hardcode "NAME". Simplify.
11173 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11174 Rename from Man-bookmark-make-record.
11175 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11176 we have the actual man-args. Use Man-getpage-in-background rather
11177 than `man' since the arg is already processed. Let bookmark.el do the
11178 window handling. Only wait for the relevant process.
11179 Don't forget to autoload.
11180
11181 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11182
11183 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11184
11185 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11186 New functions.
11187 (woman-mode): Setup bookmark support.
11188
11189 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11190 (man-bookmark-jump): New functions.
11191 (Man-mode): Setup bookmark support.
11192
11193 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11194
11195 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11196 recognize ssh-keygen prompt (Bug#2817).
11197
11198 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11199
11200 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11201
11202 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11203
11204 Synchronize with Tramp repository.
11205
11206 * net/tramp.el (tramp-completion-function-alist)
11207 (tramp-file-name-regexp, tramp-chunksize)
11208 (tramp-local-coding-commands, tramp-remote-coding-commands):
11209 Fix docstring.
11210 (tramp-remote-process-environment): Use `format' instead of `concat'.
11211 (tramp-handle-directory-files-and-attributes)
11212 (tramp-get-remote-path): Use `copy-tree'.
11213 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11214 compatibility: Use `completion-ignore-case' if
11215 `read-file-name-completion-ignore-case' does not exist.
11216 (tramp-do-copy-or-rename-file-directly): Do not use
11217 `tramp-handle-file-remote-p'.
11218 (tramp-do-copy-or-rename-file-out-of-band):
11219 Use `tramp-compat-delete-directory'.
11220 (tramp-do-copy-or-rename-file-out-of-band)
11221 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11222 Use `format-spec-make'.
11223 (tramp-find-foreign-file-name-handler)
11224 (tramp-advice-make-auto-save-file-name)
11225 (tramp-set-auto-save-file-modes): Remove superfluous check for
11226 `stringp'. This is done inside `tramp-tramp-file-p'.
11227 (tramp-debug-outline-regexp): New defconst.
11228 (tramp-get-debug-buffer): Use it.
11229 (tramp-check-for-regexp): Use (forward-line 1).
11230 (tramp-set-auto-save-file-modes): Adapt version check.
11231
11232 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11233 Wrap call of `featurep' for 2nd argument.
11234 (tramp-compat-make-temp-file): Simplify fallback implementation.
11235 (tramp-compat-copy-tree): Remove function.
11236 (tramp-compat-delete-directory): Provide implementation for older
11237 Emacsen.
11238
11239 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11240 Do not use `tramp-fish-handle-file-attributes.
11241
11242 * net/trampver.el: Update release number.
11243
11244 2010-04-10 Glenn Morris <rgm@gnu.org>
11245
11246 * progmodes/compile.el (compilation-save-buffers-predicate):
11247 Add missing :version tag.
11248
11249 2010-04-09 Sam Steingold <sds@gnu.org>
11250
11251 * progmodes/compile.el (compilation-save-buffers-predicate):
11252 Remove the "autoload" cookie.
11253
11254 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11255 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11256 and `bug-reference-prog-mode' can be used in hooks directly.
11257
11258 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11259
11260 Add --author support to git commit.
11261 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11262 (vc-git-log-edit-mode): New minor mode.
11263 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11264 New declarations.
11265
11266 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11267
11268 * vc-hooks.el, vc-git.el: Improve documentation comments.
11269
11270 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 Fix some of the problems in defsubst* (bug#5728).
11273 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11274 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11275
11276 2010-04-07 Sam Steingold <sds@gnu.org>
11277
11278 * progmodes/compile.el (compilation-save-buffers-predicate):
11279 New custom variable.
11280 (compile, recompile): Pass it to `save-some-buffers'.
11281
11282 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11283
11284 * wid-edit.el (widget-choose): Move cursor to the second line of
11285 the buffer (Bug#5695).
11286
11287 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11288
11289 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11290 * vc.el (vc-print-log-setup-buttons): New function split out from
11291 vc-print-log-internal.
11292 (vc-log-internal-common): New function, a parametrized version of
11293 vc-print-log-internal.
11294 (vc-print-log-internal): Just call vc-log-internal-common with the
11295 right arguments.
11296 (vc-incoming-outgoing-internal):
11297 (vc-log-incoming, vc-log-outgoing): New functions.
11298 (vc-log-view-type): New permanent local variable.
11299
11300 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11301
11302 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11303 of the dynamic bound vc-short-log.
11304 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11305
11306 * vc-git.el (vc-git-log-outgoing): New function.
11307 (vc-git-log-view-mode): Use vc-log-view-type instead
11308 of the dynamic bound vc-short-log.
11309
11310 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11311 of the dynamic bound vc-short-log. Highlight the tag.
11312 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11313 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11314 (vc-hg-incoming-mode): Remove.
11315 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11316
11317 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11318
11319 Fix default-directory for vc-root-diff.
11320 * vc.el (vc-root-diff): Bind default-directory to the root
11321 directory for the diff command.
11322
11323 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11324
11325 * progmodes/verilog-mode.el (verilog-forward-sexp):
11326 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11327 word keywords, suggested by Steve Pearlmutter.
11328 (verilog-pretty-declarations): Support lineup of declarations in
11329 port lists.
11330 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11331 fix bug for /* / comments.
11332 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11333 Speed up and simplfy as this is never called with a bound.
11334 (verilog-pretty-declarations): Enhance to line up declarations
11335 inside a parameter list, suggested by Alan Morgan.
11336 (verilog-pretty-expr): Tune assignment regular expression match
11337 string for corner cases; also use markers instead of character
11338 number as indent changes the later.
11339
11340 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11341
11342 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11343 as missing keyword.
11344 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11345 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11346 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11347 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11348 Tennant.
11349 (verilog-keywords):
11350 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11351 1800-2009 keywords, including "global.".
11352
11353 2010-04-06 John Wiegley <jwiegley@gmail.com>
11354
11355 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11356 appearing in buffer list (if a live buffer name matched a recentf
11357 file basename). Should use uniquify to offer a real solution.
11358
11359 2010-04-06 John Wiegley <jwiegley@gmail.com>
11360
11361 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11362 comment to code, and add a :version tag.
11363 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11364
11365 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11366
11367 Enable recentf-mode if using virtual buffers.
11368 * ido.el (recentf-list): Declare for byte-compiler.
11369 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11370 (ido-make-buffer-list): Simplify.
11371 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11372
11373 2010-04-05 Juri Linkov <juri@jurta.org>
11374
11375 Scrolling commands which scroll a line instead of full screen.
11376 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11377
11378 * simple.el (scroll-up-line, scroll-down-line): New commands.
11379 Put property isearch-scroll=t on them.
11380
11381 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11382 Remove commands.
11383
11384 2010-04-05 Juri Linkov <juri@jurta.org>
11385
11386 Scrolling commands which do not signal errors at top/bottom.
11387 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11388
11389 * simple.el (scroll-up-command, scroll-down-command): New commands.
11390 Put property isearch-scroll=t on them.
11391
11392 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11393 `scroll-down-command' and [next] from `scroll-up' to
11394 `scroll-up-command'.
11395
11396 * emulation/cua-base.el: Put property CUA=move on
11397 `scroll-up-command' and `scroll-down-command'.
11398 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11399 and `scroll-down-command' to `cua-scroll-down'.
11400
11401 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11402
11403 * help.el (describe-mode): Return nil.
11404
11405 2010-04-04 John Wiegley <jwiegley@gmail.com>
11406
11407 * ido.el (ido-use-virtual-buffers): New variable to indicate
11408 whether "virtual buffer" support is enabled for IDO.
11409 (ido-virtual): Face used to indicate virtual buffers in the list.
11410 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11411 exists, but a virtual buffer of that name does (which would be why
11412 it was in the list), recreate the buffer by reopening the file.
11413 (ido-make-buffer-list): If virtual buffers are being used, call
11414 `ido-add-virtual-buffers-to-list' before the make list hook.
11415 (ido-virtual-buffers): New variable which contains a copy of the
11416 current contents of the `recentf-list', albeit pared down for the
11417 sake of speed, and with proper faces applied.
11418 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11419 create a list of "virtual buffers" to present to the user in
11420 addition to the currently open set. Note that this logic could
11421 get rather slow if that list is too large. With the default
11422 `recentf-max-saved-items' of 200, there is little speed penalty.
11423
11424 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11425
11426 * font-lock.el: Require CL when compiling.
11427 (font-lock-turn-on-thing-lock): Use `case'.
11428
11429 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11430
11431 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11432 Zaretskii.
11433
11434 2010-04-02 Juri Linkov <juri@jurta.org>
11435
11436 * ehelp.el (electric-help-orig-major-mode):
11437 New buffer-local variable.
11438 (electric-help-mode): Set it to original major-mode. Doc fix.
11439 (with-electric-help): Use `electric-help-orig-major-mode' instead
11440 of (default-value 'major-mode). Doc fix.
11441 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11442
11443 2010-04-02 Sam Steingold <sds@gnu.org>
11444
11445 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11446 `vc-hg-command' with a list of flags.
11447
11448 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11449 Also accept "patch" and "RFE".
11450 (bug-reference-fontify): `bug-reference-url-format' can also be a
11451 function to be able to handle the bug kind.
11452 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11453
11454 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11455
11456 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11457 value to fboundp, it may not be a symbol.
11458
11459 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11460
11461 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11462
11463 2010-03-31 Juri Linkov <juri@jurta.org>
11464
11465 * simple.el (next-line, previous-line): Re-throw a signal
11466 with `signal' instead of using `ding'.
11467 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11468
11469 2010-03-31 Juri Linkov <juri@jurta.org>
11470
11471 * simple.el (keyboard-escape-quit): Raise deselecting the active
11472 region higher than exiting the minibuffer.
11473 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11474
11475 2010-03-31 Juri Linkov <juri@jurta.org>
11476
11477 * image.el (image-animated-p): Use `image-metadata' instead of
11478 `image-extension-data'. Get GIF extenstion data from metadata
11479 property `extension-data'.
11480
11481 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11482
11483 * simple.el (append-to-buffer): Simplify.
11484
11485 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11486
11487 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11488 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11489
11490 2010-03-31 Kenichi Handa <handa@m17n.org>
11491
11492 * language/sinhala.el (composition-function-table): Fix regexp for
11493 the new Unicode specification.
11494
11495 * language/indian.el (devanagari-composable-pattern)
11496 (tamil-composable-pattern, kannada-composable-pattern)
11497 (malayalam-composable-pattern): Adjust for the new Unicode
11498 specification.
11499 (bengali-composable-pattern, gurmukhi-composable-pattern)
11500 (gujarati-composable-pattern, oriya-composable-pattern)
11501 (telugu-composable-pattern): New variables to cope with the new
11502 Unicode specification. Use them in composition-function-table.
11503
11504 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11505
11506 Make tmm-menubar work for the Buffers menu again (bug#5726).
11507 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11508 vectors rather than cons cells, as used in menu-bar-update-buffers.
11509
11510 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11511
11512 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11513 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11514 electric punctuation for "{}();,:" (Bug#5586).
11515
11516 * mail/sendmail.el (mail-default-directory): Doc fix.
11517
11518 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11519
11520 * mail/sendmail.el (mail-default-directory): Doc fix.
11521
11522 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11523
11524 * subr.el (version-regexp-alist, version-to-list)
11525 (version-list-<, version-list-=, version-list-<=)
11526 (version-list-not-zero, version<, version<=, version=): Doc fix.
11527 (Bug#5744).
11528
11529 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11530
11531 * vc.el (vc-root-diff): Doc fix.
11532
11533 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11534
11535 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11536
11537 * simple.el (append-to-buffer): Fix last change.
11538
11539 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11540
11541 * simple.el (append-to-buffer): Ensure that point is preserved if
11542 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11543 (Bug#5749)
11544
11545 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * files.el (auto-mode-case-fold): Change default to t.
11548
11549 2010-03-30 Juri Linkov <juri@jurta.org>
11550
11551 * dired-x.el (dired-omit-mode): Doc fix.
11552
11553 2010-03-30 Juri Linkov <juri@jurta.org>
11554
11555 * replace.el (occur-accumulate-lines): Move occur-engine related
11556 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11557 to be located after `occur-engine'.
11558
11559 2010-03-30 Juri Linkov <juri@jurta.org>
11560
11561 Make occur handle multi-line matches cleanly with context.
11562 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11563
11564 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11565 (occur-engine): Add local variables `ret', `prev-after-lines',
11566 `prev-lines'. Use more arguments for `occur-context-lines'.
11567 Set first elem of its returned list to `data', and the second elem
11568 to `prev-after-lines'. Don't print the separator line.
11569 In the end, print remaining context after-lines.
11570 (occur-context-lines): Add new arguments `begpt', `endpt',
11571 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11572 after-lines of the previous match with before-lines of the
11573 current match and not overlap them. Return a list with two
11574 values: the output line and the list of context after-lines.
11575
11576 2010-03-30 Juri Linkov <juri@jurta.org>
11577
11578 * replace.el (occur-accumulate-lines): Fix a bug where the first
11579 context line at the beginning of the buffer was missing.
11580
11581 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11582
11583 * files.el: Make bidi-display-reordering safe variable for boolean
11584 values.
11585
11586 2010-03-29 Phil Hagelberg <phil@evri.com>
11587 Chong Yidong <cyd@stupidchicken.com>
11588
11589 * subr.el: Extend progress reporters to perform "spinning".
11590 (progress-reporter-update, progress-reporter-do-update):
11591 Handle non-numeric value arguments.
11592 (progress-reporter--pulse-characters): New var.
11593
11594 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11595
11596 * progmodes/compile.el (compilation-start): Fix regexp detection
11597 of initial cd command (Bug#5771).
11598
11599 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11600
11601 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11602
11603 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11604
11605 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11606 * progmodes/gdb-mi.el: Restore.
11607 * progmodes/gdb-ui.el: Remove.
11608 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11609
11610 2010-03-25 Glenn Morris <rgm@gnu.org>
11611
11612 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11613 all dired buffers, even tramp ones. (Bug#5755)
11614
11615 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11616
11617 Add "union tags" in mpc.el.
11618 * mpc.el: Remove backward compatibility code.
11619 (mpc-browser-tags): Change default.
11620 (mpc--find-memoize-union-tags): New var.
11621 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11622 (mpc-cmd-find): Handle the case where the playlist does not exist.
11623 Handle union-tags.
11624 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11625 (mpc-cmd-add): Use mpc-cmd-flush.
11626 (mpc-tagbrowser-tag-name): New fun.
11627 (mpc-tagbrowser-buf): Use it.
11628 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11629
11630 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 Misc cleanup.
11633 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11634 Use replace-regexp-in-string.
11635 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11636 (makefile-imake-mode-syntax-table): Move init into defvar.
11637 (makefile-mode): Use define-derived-mode.
11638
11639 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11640 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11641 not be present any more.
11642
11643 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11644
11645 * faces.el (set-face-attribute): Fix typo in docstring.
11646 (face-valid-attribute-values): Reflow docstring.
11647
11648 2010-03-24 Glenn Morris <rgm@gnu.org>
11649
11650 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11651
11652 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11653
11654 * indent.el (indent-for-tab-command): Doc fix.
11655
11656 2010-03-24 Alan Mackenzie <acm@muc.de>
11657
11658 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11659 Fix off-by-one error. Fixes bug #5747.
11660
11661 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11662
11663 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11664 (image-dired-read-comment): Doc fix.
11665
11666 * json.el (json-object-type, json-array-type, json-key-type)
11667 (json-false, json-null, json-read-number):
11668 * minibuffer.el (completion-in-region-functions):
11669 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11670 (cal-tex-cursor-week):
11671 * emacs-lisp/trace.el (trace-function):
11672 * eshell/em-basic.el (eshell/printnl):
11673 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11674 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11675 * obsolete/levents.el (allocate-event, event-key, event-object)
11676 (event-point, event-process, event-timestamp, event-to-character)
11677 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11678 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11679 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11680 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11681 (reftex-highlight-selection): Fix typos in docstrings.
11682
11683 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11684
11685 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11686
11687 2010-03-24 Glenn Morris <rgm@gnu.org>
11688
11689 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11690 2008-02-13 without comment; mark it obsolete.
11691 (rmail-highlight-headers): Use rmail-highlight-face once more.
11692
11693 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11694
11695 * woman.el (woman2-process-escapes): Only consume the newline if
11696 the filler character is on a line by itself (Bug#5729).
11697
11698 2010-03-24 Kenichi Handa <handa@m17n.org>
11699
11700 * language/indian.el (devanagari-composable-pattern): Add more
11701 consonants.
11702
11703 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11704
11705 * net/trampver.el: Update release number.
11706
11707 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11708
11709 * net/tramp.el (tramp-find-executable):
11710 Use `tramp-get-connection-buffer'. Make the regexp for checking
11711 output of "wc -l" more robust.
11712 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11713 (tramp-open-connection-setup-interactive-shell): Remove workaround
11714 for OpenSolaris bug, it is not needed anymore.
11715
11716 2010-03-24 Glenn Morris <rgm@gnu.org>
11717
11718 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11719
11720 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11721
11722 * files.el (auto-mode-alist): Accept more verilog file patterns.
11723
11724 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11725
11726 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11727
11728 2010-03-24 Glenn Morris <rgm@gnu.org>
11729
11730 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11731 log-edit-before-checkin-process.
11732
11733 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11734
11735 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11736
11737 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11738 (log-view-process-buffer, log-edit-extra-flags): Declare.
11739
11740 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11741
11742 2010-03-23 Sam Steingold <sds@gnu.org>
11743
11744 Fix bug#5620: recalculate all markers on compilation buffer
11745 modifications, not on file modifications.
11746 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11747 variable: the buffer modification time, for buffers not associated with
11748 files.
11749 (compilation-mode): Create it.
11750 (compilation-filter): Update it.
11751 (compilation-next-error-function): Use it instead of
11752 `visited-file-modtime' for timestamp.
11753
11754 2010-03-23 Juri Linkov <juri@jurta.org>
11755
11756 Implement Occur multi-line matches.
11757 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11758
11759 * replace.el (occur): Doc fix.
11760 (occur-engine): Set `begpt' to the beginning of the first line.
11761 Set `endpt' to the end of the last match line. At first, count
11762 line numbers between `origpt' and `begpt'. Split out code from
11763 `out-line' variable to new let-bindings `match-prefix' and
11764 `match-str'. In `out-line' add non-numeric prefix to all
11765 non-first lines of multi-line matches. Finally, count lines
11766 between `begpt' and `endpt' and add to `lines'.
11767
11768 2010-03-23 Juri Linkov <juri@jurta.org>
11769
11770 * replace.el (occur-accumulate-lines, occur-engine):
11771 Use `occur-engine-line' instead of duplicate code.
11772 (occur-engine-line): New function created from duplicate code
11773 in `occur-accumulate-lines' and `occur-engine'.
11774
11775 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11776 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11777
11778 2010-03-23 Juri Linkov <juri@jurta.org>
11779
11780 * finder.el: Remove TODO tasks.
11781
11782 * info.el (Info-finder-find-node): Add node "all"
11783 with all package info. Handle a list of multiple keywords
11784 separated by comma.
11785 (info-finder): In interactive use with a prefix argument,
11786 use `completing-read-multiple' to read a list of keywords
11787 separated by comma.
11788
11789 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 Add a new completion style `substring'.
11792 * minibuffer.el (completion-basic--pattern): New function.
11793 (completion-basic-try-completion, completion-basic-all-completions):
11794 Use it.
11795 (completion-substring--all-completions)
11796 (completion-substring-try-completion)
11797 (completion-substring-all-completions): New functions.
11798 (completion-styles-alist): New style `substring'.
11799
11800 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 Get rid of .elc files after removal of the corresponding .el.
11803 * Makefile.in (compile-clean): New target.
11804 (compile-main): Use it.
11805
11806 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11807
11808 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11809 don't do make there. When compiling with separate object dir, there
11810 is no Makefile there.
11811
11812 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11813
11814 Get rid of the ELCFILES abomination, again.
11815 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11816 (all, compile): Don't call compile-last.
11817 (compile-main): Build the "elcfiles" list dynamically.
11818 (compile-targets): New (internal) target.
11819
11820 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11821
11822 * Makefile.in (top_srcdir): Define.
11823 (abs_top_builddir): Define.
11824 (srcdir): Don't append `/..'.
11825 (EMACS): Use ${abs_top_builddir}.
11826 (all, compile, compile-always, compile-last): Don't set emacswd.
11827 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11828 $(srcdir).
11829 (lisp): Use $(srcdir) instead of @srcdir@.
11830
11831 2010-03-21 Juri Linkov <juri@jurta.org>
11832
11833 Fix message of multi-line occur regexps and multi-buffer header lines.
11834 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11835
11836 * replace.el (occur-1): Don't display regexp if it is longer
11837 than window-width. Use `query-replace-descr' to display regexp.
11838 (occur-engine): Don't display regexp in the buffer header for
11839 multi-buffer occur. Display a separate header line with total
11840 match count and regexp for multi-buffer occur.
11841 Use `query-replace-descr' to display regexp.
11842
11843 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11844
11845 * net/secrets.el: Fix parenthesis.
11846 (secrets-enabled): Fix parenthesis.
11847
11848 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11849
11850 Use more relative file and directory names.
11851 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11852 (setwins, setwins_almost, setwins_for_subdirs):
11853 Don't `cd'; output relative names.
11854 (all, compile, compile-always, compile-last): Set emacswd.
11855 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11856 Just cd to the lisp source dir so we can use relative file names.
11857
11858 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11859
11860 2010-03-20 Glenn Morris <rgm@gnu.org>
11861
11862 * textmodes/rst.el: Use faces for font-lock customization, and make the
11863 old -face variables obsolete.
11864 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11865 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11866 (rst-block-face, rst-external-face, rst-definition-face)
11867 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11868 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11869 Make obsolete.
11870 (rst-font-lock-keywords-function): Update for above changes.
11871
11872 2010-03-20 Juri Linkov <juri@jurta.org>
11873
11874 * s-region.el:
11875 * obsolete/s-region.el: Move to obsolete.
11876
11877 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11878
11879 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11880
11881 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11882
11883 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11884
11885 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11886
11887 Add special markup processing for commit logs.
11888 * log-edit.el (log-edit-extra-flags): New variable.
11889 (log-edit): Add new argument MODE. Use that mode when non-nil
11890 instead of the log-view-mode.
11891 (log-view-process-buffer): New function.
11892
11893 * vc.el: Document that the checkin method takes optional
11894 arguments. Document new backend specific method: log-view-mode.
11895 (vc-default-log-edit-mode): New function.
11896 (vc-checkin): Use a backend specific log-view-mode.
11897 Pass extra arguments to the checkin method.
11898 (vc-modify-change-comment): Pass a dummy extra argument.
11899
11900 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11901 log-edit.
11902 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11903 (vc-finish-logentry): Process the log buffer before passing it
11904 down. Pass log-edit-extra-flags.
11905
11906 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11907 command.
11908 (log-edit-extra-flags, log-edit-before-checkin-process):
11909 New declarations.
11910
11911 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11912 command.
11913 (log-edit-extra-flags, log-edit-before-checkin-process):
11914 New declarations.
11915 (vc-hg-log-edit-mode): New derived mode.
11916
11917 * vc-arch.el (vc-arch-checkin):
11918 * vc-cvs.el (vc-cvs-checkin):
11919 * vc-git.el (vc-git-checkin):
11920 * vc-mtn.el (vc-mtn-checkin):
11921 * vc-rcs.el (vc-rcs-checkin):
11922 * vc-sccs.el (vc-sccs-checkin):
11923 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11924
11925 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11926
11927 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11928 parent typo).
11929
11930 2010-03-19 Glenn Morris <rgm@gnu.org>
11931
11932 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11933
11934 2010-03-18 Glenn Morris <rgm@gnu.org>
11935
11936 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11937
11938 * replace.el (query-replace-history): Give it a doc string.
11939 (map-query-replace-regexp): Use query-replace-from-history-variable
11940 and query-replace-to-history-variable.
11941
11942 * mail/hashcash.el (declare-function): Remove duplicate definition.
11943
11944 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11945 Make it an obsolete alias for report-emacs-bug-address.
11946 (message-strip-special-text-properties): Declare.
11947 (report-emacs-bug): Remove test for a pretest bug address.
11948 Combine message-mode-specific code.
11949
11950 * mail/supercite.el: Don't require sendmail.
11951 (mh-in-header-p): Declare rather than using with-no-warnings.
11952 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11953 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11954
11955 * calendar/cal-french.el: Convert to utf-8.
11956
11957 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11958 Emacs scripts.
11959
11960 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11961
11962 * net/secrets.el (secrets-enabled): New variable. Use it instead
11963 of a subfeature.
11964
11965 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11966
11967 * net/secrets.el (top): Register the D-Bus signals only when the
11968 service "org.freedesktop.secrets" can be pinged.
11969 Provide subfeature `enabled'.
11970
11971 2010-03-14 Juri Linkov <juri@jurta.org>
11972
11973 Add finder unknown keywords.
11974
11975 * finder.el (finder-unknown-keywords): New function.
11976
11977 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11978 to create a Finder node with unknown keywords.
11979
11980 2010-03-14 Juri Linkov <juri@jurta.org>
11981
11982 * finder.el (finder-compile-keywords): Replace `princ' with
11983 `prin1' on a list of symbols interned from keyword strings.
11984
11985 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11986 a comma, then split keywords using a comma and optional whitespace.
11987 Otherwise, split by whitespace.
11988
11989 * complete.el:
11990 * face-remap.el:
11991 * log-view.el:
11992 * net/hmac-def.el:
11993 * net/hmac-md5.el:
11994 * net/netrc.el:
11995 * progmodes/mixal-mode.el: Fix keywords.
11996
11997 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11998
11999 * Makefile.in (ELCFILES): Add net/secrets.elc.
12000
12001 * net/secrets.el: New file.
12002
12003 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12004
12005 * facemenu.el (list-colors-display, list-colors-print): New arg
12006 callback. Use it to allow selecting colors.
12007
12008 * wid-edit.el (widget-image-insert): Insert image prop even if the
12009 current display is non-graphic.
12010 (widget-field-value-set): New fun.
12011 (editable-field): Use it.
12012 (widget-field-value-get): Clean up unused var.
12013 (widget-color-value-create, widget-color--choose-action):
12014 New funs. Allow using list-colors-display to choose color.
12015
12016 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12017
12018 * cus-edit.el: Resort topmost custom groups.
12019 (custom-buffer-sort-alphabetically): Default to t.
12020 (customize-apropos): Use apropos-parse-pattern.
12021 (custom-search-field): New var.
12022 (custom-buffer-create-internal): Add custom-apropos search field.
12023 (custom-add-parent-links): Don't display parent doc.
12024 (custom-group-value-create): Don't sort top-level custom group.
12025 (custom-magic-value-create): Show visibility button before option name.
12026
12027 (custom-variable-state): New fun, from custom-variable-state-set.
12028 (custom-variable-state-set): Use it.
12029 (custom-group-value-create): Hide options with standard values
12030 using the :hidden-states property. Use progress reporter.
12031
12032 (custom-show): Simplify.
12033 (custom-visibility): Disable images by default.
12034 (custom-variable): New property :hidden-states.
12035 (custom-variable-value-create): Enable images for
12036 custom-visibility widgets. Use :hidden-states property to
12037 determine initial visibility.
12038
12039 * wid-edit.el (widget-image-find): Give images center ascent.
12040 (visibility): Add :on-image and :off-image properties.
12041 (widget-visibility-value-create): Use them.
12042
12043 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12044
12045 * cus-edit.el (processes): Remove from development group.
12046 (oop, hypermedia): Delete group.
12047 (comm): Promote to top-level group.
12048
12049 * net/browse-url.el (browse-url):
12050 * net/xesam.el (xesam):
12051 * net/tramp.el (tramp):
12052 * net/goto-addr.el (goto-address):
12053 * net/ange-ftp.el (ange-ftp): Put in comm group.
12054
12055 * view.el (view): Remove from editing group.
12056
12057 * uniquify.el (uniquify): Put in files group.
12058
12059 * net/browse-url.el (browse-url):
12060 * ps-print.el (postscript): Put in external group.
12061
12062 * cus-edit.el (outlines):
12063 * textmodes/text-mode.el (text-mode-hook):
12064 * textmodes/table.el (table):
12065 * textmodes/picture.el (picture):
12066 * outline.el (outlines): Put in wp group.
12067
12068 * nxml/nxml-mode.el (nxml): Remove from wp group.
12069
12070 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12071
12072 * mail/metamail.el (metamail): Remove from hypermedia group.
12073
12074 * cus-edit.el (abbrev):
12075 * whitespace.el (whitespace):
12076 * vcursor.el (vcursor):
12077 * reveal.el (reveal):
12078 * hl-line.el (hl-line): Put in convenience group.
12079
12080 * epg-config.el (epg): Put in data group.
12081
12082 * emulation/pc-select.el (pc-select): Put in emulations group.
12083
12084 * calculator.el (calculator): Put in applications group.
12085
12086 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12087
12088 Add .dir-locals.el support for file-less buffers.
12089 * files.el (hack-local-variables): Split out code to apply local
12090 variable settings ...
12091 (hack-local-variables-apply): ... here. New function.
12092 (hack-dir-local-variables): Use the default directory for when the
12093 buffer does not have an associated file.
12094 (hack-dir-local-variables-non-file-buffer): New function.
12095 * diff-mode.el (diff-mode):
12096 * vc-annotate.el (vc-annotate-mode):
12097 * vc-dir.el (vc-dir-mode):
12098 * log-edit.el (log-edit-mode):
12099 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12100
12101 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12102
12103 Add support for shelving snapshots and for showing shelves.
12104 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12105 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12106 New functions.
12107 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12108 (vc-bzr-extra-menu-map): Map them.
12109
12110 2010-03-11 Glenn Morris <rgm@gnu.org>
12111
12112 * cus-edit.el (customize-changed-options-previous-release):
12113 Bump to 23.1.
12114
12115 * image.el (image-animate-max-time): Fix :version tag.
12116
12117 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12118
12119 * Branch for 23.2.
12120
12121 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * vc-git.el (vc-git-revision-table): Include remote branches.
12124
12125 2010-03-10 Kim F. Storm <storm@cua.dk>
12126
12127 Animated image API.
12128 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12129
12130 * image.el (image-animate-max-time): New defcustom.
12131 (image-animated-types): New defconst.
12132 (create-animated-image, image-animate-timer)
12133 (image-animate-start, image-animate-stop, image-animate-timeout)
12134 (image-animated-p): New functions.
12135
12136 * image-mode.el (image-toggle-display-image):
12137 Replace `create-image' with `create-animated-image'.
12138
12139 2010-03-09 Miles Bader <miles@gnu.org>
12140
12141 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12142 instead of "format:"; this ensures that the output is
12143 newline-terminated.
12144
12145 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12146
12147 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12148 that all errors are caught, and that the return value is always a
12149 list (Bug#5692).
12150
12151 2010-03-08 Kenichi Handa <handa@m17n.org>
12152
12153 * language/misc-lang.el (windows-1256): New coding system.
12154 (cp1256): New alias of windows-1256 (bug#5690).
12155
12156 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12157
12158 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12159 call to rfc822-bad-address. (Bug#5692)
12160
12161 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12162
12163 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12164 Use vc-git-root as default directory for revision path (Bug#5657).
12165
12166 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12167
12168 * calculator.el (calculator): Don't bind split-window-keep-point
12169 (Bug#5674).
12170
12171 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * vc-git.el: Re-flow to fit into 80 columns.
12174 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12175 Remove spurious `quote' element in each case alternative.
12176 (vc-git-show-log-entry): Use prog1.
12177 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12178
12179 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12180
12181 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12182
12183 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12184
12185 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12186 definition, not the name (Bug#5481).
12187
12188 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12189
12190 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12191 argument with a local variable. (Bug#5670)
12192
12193 2010-03-02 Juri Linkov <juri@jurta.org>
12194
12195 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12196
12197 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12198
12199 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12200 error when FILENAME and NEWNAME are existing remote directories.
12201
12202 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12203 parameter DIR-FLAG.
12204
12205 2010-03-02 Glenn Morris <rgm@gnu.org>
12206
12207 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12208 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12209
12210 2010-03-01 Kenichi Handa <handa@m17n.org>
12211
12212 * language/burmese.el (burmese-composable-pattern): Rename from
12213 myanmar-composable-pattern.
12214
12215 * international/characters.el (script-list):
12216 * international/fontset.el (script-representative-chars):
12217 Change myanmar to burmese.
12218 (otf-script-alist): Likewise.
12219 (setup-default-fontset): Likewise. Re-fix :otf spec.
12220
12221 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12222
12223 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12224
12225 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12226
12227 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12228
12229 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12230
12231 * net/tramp.el (tramp-handle-write-region): START can be a string.
12232 Take care in the checks. Reported by Dan Davison
12233 <davison@stats.ox.ac.uk>.
12234
12235 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12236
12237 * net/dbus.el (dbus-introspect, dbus-get-property)
12238 (dbus-set-property, dbus-get-all-properties):
12239 Use `dbus-call-method' when noninteractive. (Bug#5645)
12240
12241 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12242
12243 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12244 * emacs-lisp/elint.el (elint-add-required-env):
12245 * calendar/icalendar.el (icalendar--add-diary-entry):
12246 * calc/calcalg2.el (math-tracing-integral):
12247 * files.el (recover-session-finish): Use with-current-buffer
12248 instead of save-excursion.
12249
12250 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12251
12252 Fix in-buffer completion when after-change-functions modify the buffer.
12253 * minibuffer.el (completion--replace): New function.
12254 (completion--do-completion): Use it and use relative movement.
12255
12256 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12257
12258 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12259
12260 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12261
12262 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12263 Allow the characters _<> in the stack entry (Bug#5653).
12264
12265 2010-02-26 Kenichi Handa <handa@m17n.org>
12266
12267 * language/burmese.el: Fix entries in composition-function-table.
12268 (myanmar-composable-pattern): New variable.
12269
12270 * international/fontset.el (setup-default-fontset): Add an entry
12271 for myanmar.
12272
12273 * international/characters.el (script-list): Add Myanmar
12274 Extended-A.
12275
12276 2010-02-26 Glenn Morris <rgm@gnu.org>
12277
12278 * custom.el (custom-initialize-delay): Doc fix.
12279
12280 * mail/sendmail.el (send-mail-function): Autoload the call
12281 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12282
12283 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12284
12285 * files.el (hack-local-variables-filter): For eval forms, also
12286 check safe-local-variable-p (Bug#5636).
12287
12288 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12289
12290 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12291 setting the modes by `ignore-errors'. It might fail, for example
12292 if the file is not owned by the user but the group.
12293 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12294
12295 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12296
12297 * files.el (directory-listing-before-filename-regexp):
12298 Use stricter matching for iso-style dates, to avoid false matches with
12299 date-like filenames (Bug#5597).
12300
12301 * htmlfontify.el (htmlfontify): Doc fix.
12302
12303 * eshell/eshell.el (eshell): Doc fix.
12304
12305 * startup.el (fancy-about-screen): In mode-line, apply
12306 mode-line-buffer-id face only to the buffer name (Bug#5613).
12307
12308 2010-02-20 Kevin Ryde <user42@zip.com.au>
12309
12310 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12311 In `watcom' anchor regexp to start of line, to avoid slowness
12312 (Bug#5599).
12313
12314 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12315
12316 * subr.el (remove-yank-excluded-properties): Explain in a comment
12317 why `category' property is removed.
12318
12319 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12320
12321 * isearch.el (isearch-update-post-hook, isearch-update):
12322 Revert 2010-02-17 change.
12323
12324 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12325
12326 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12327 (icalendar--convert-weekly-to-ical)
12328 (icalendar--convert-yearly-to-ical)
12329 (icalendar--convert-block-to-ical)
12330 (icalendar--convert-cyclic-to-ical)
12331 (icalendar--convert-anniversary-to-ical): Take care of time
12332 specifications where hour has 1-digit only (Bug#5549).
12333
12334 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12335
12336 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12337 of disassemble output in GDB 7.1.
12338
12339 2010-02-19 Glenn Morris <rgm@gnu.org>
12340
12341 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12342 property. (Bug#5593)
12343
12344 2010-02-18 Sam Steingold <sds@gnu.org>
12345
12346 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12347
12348 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12349
12350 Use abbreviated file names in bookmarks (bug#5591).
12351 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12352 calls to expand-file-name.
12353 (bookmark-relocate): Use abbreviated file names in bookmarks.
12354 (bookmark-load): Use abbreviated file names in messages.
12355
12356 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12357
12358 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12359 expand "." and "..". Reported by Thierry Volpiatto
12360 <thierry.volpiatto@gmail.com>.
12361
12362 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12363
12364 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12365 permissions of the temporary file to "0600". In case the remote
12366 file has no read permissions for the owner, there might be
12367 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12368
12369 22010-02-18 Glenn Morris <rgm@gnu.org>
12370
12371 * emacs-lisp/authors.el (authors-renamed-files-alist):
12372 Add entries for INSTALL.CVS.
12373
12374 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12375
12376 * vc-bzr.el: Fix typo in Known Bugs section.
12377
12378 * isearch.el (isearch-update-post-hook): New hook.
12379 (isearch-update): Use the new hook.
12380
12381 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12382
12383 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12384 Fix errors in copying directories.
12385 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12386 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12387 (tramp-handle-delete-file)
12388 (tramp-handle-dired-recursive-delete-directory)
12389 (tramp-handle-write-region): Flush also the cache for the upper
12390 directory.
12391
12392 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12393
12394 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12395
12396 * cus-edit.el (hardware): Doc fix.
12397
12398 * man.el (man): Add to external custom group.
12399
12400 * delim-col.el (columns): Move to wp custom group.
12401
12402 * doc-view.el (doc-view): Add to data custom group.
12403
12404 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12405
12406 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12407 by ispell-parse-output (Bug#5575).
12408
12409 2010-02-16 Kenichi Handa <handa@m17n.org>
12410
12411 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12412 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12413 (skkdic-convert): Use `euc-japan' coding system for writing.
12414
12415 2010-02-16 Glenn Morris <rgm@gnu.org>
12416
12417 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12418 tex-main-file before using it. (Bug#5562)
12419
12420 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12423 warnings, since it is annoying for the user to see them each time he
12424 runs the code.
12425
12426 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12427
12428 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12429 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12430 instead of PROC for caching "first-password-request". Otherwise,
12431 new processes would not profit from passwords already entered.
12432
12433 * net/tramp-cache.el (tramp-dump-connection-properties):
12434 Don't save "first-password-request" property.
12435
12436 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12437
12438 * outline.el (outline-head-from-level):
12439 * simple.el (with-wrapper-hook):
12440 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12441 (elint-defun, elint-buffer-env, elint-top-form-logged)
12442 (elint-unbound-variable):
12443 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12444 Fix typos in docstrings.
12445
12446 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12447
12448 * files.el (insert-directory): When WILDCARD-REGEXP and
12449 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12450 whole directory. (Bug#5551)
12451
12452 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12453 dired's alignment sanity. (Bug#5516)
12454
12455 2010-02-14 Juri Linkov <juri@jurta.org>
12456
12457 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12458 Remove remaining ^H with their preceding chars. (Bug#5566)
12459
12460 2010-02-13 Glenn Morris <rgm@gnu.org>
12461
12462 * simple.el (transpose-subr): Give it a doc-string.
12463
12464 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12465 Doc fixes.
12466
12467 2010-02-12 Juri Linkov <juri@jurta.org>
12468
12469 * arc-mode.el (archive-unique-fname): Make directories for nested
12470 archives. (Bug#5540)
12471
12472 2010-02-12 Juri Linkov <juri@jurta.org>
12473
12474 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12475
12476 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * subr.el (copy-overlay): Handle deleted overlays.
12479
12480 * man.el (Man-completion-table): Don't signal an error if we can't run
12481 manual-program (bug#4056).
12482
12483 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12484
12485 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12486
12487 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12488
12489 * info.el (Info-bookmark-jump): Simplify.
12490
12491 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12492 (bookmark-default-handler): Accept new bookmark field `buffer'.
12493
12494 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12495
12496 * iswitchb.el (iswitchb-completions): Revert last change.
12497
12498 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12499
12500 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12501 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12502 This prevents file names like "~/" being listed literally.
12503
12504 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12505
12506 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12507 Remove dead code. (Bug#5546)
12508
12509 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12510
12511 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12512 correctly (Bug#5548).
12513
12514 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12515
12516 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12517 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12518
12519 2010-02-08 Kenichi Handa <handa@m17n.org>
12520
12521 * international/mule-util.el (with-coding-priority): Add autoload
12522 cookie for putting `lisp-indent-function'.
12523
12524 2010-02-07 Glenn Morris <rgm@gnu.org>
12525
12526 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12527 Move F2003 named interfaces from keywords-2 to keywords-1, and
12528 use function-name-face rather than constant-face.
12529 Simplify "abstract interface" regexp.
12530
12531 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12532
12533 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12534 ID-FORMAT. Pass it to `file-attributes'.
12535
12536 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12537
12538 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12539
12540 * faces.el (set-face-attribute): Allow calling
12541 internal-set-lisp-face-attribute with 'unspecified family and
12542 foundry argument (Bug#5536).
12543
12544 2010-02-07 Glenn Morris <rgm@gnu.org>
12545
12546 * progmodes/f90.el (f90-font-lock-keywords-2)
12547 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12548 Handle F2003 named interfaces.
12549
12550 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12551
12552 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12553 beg and end before calling c-get-state-before-change-functions.
12554
12555 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12556
12557 * vc-bzr.el (vc-bzr-dir-extra-headers):
12558 Disable the pending merges header.
12559
12560 2010-02-05 Juri Linkov <juri@jurta.org>
12561
12562 * doc-view.el (doc-view-mode):
12563 * image-mode.el (image-mode): Put property mode-class=special.
12564 (Bug#4896)
12565
12566 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12567
12568 * vc-svn.el (vc-svn-revision-table): New function.
12569
12570 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12571
12572 * net/ange-ftp.el (ange-ftp-insert-directory):
12573 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12574 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12575 Handle also directories. (Bug#5478)
12576
12577 2010-02-05 Glenn Morris <rgm@gnu.org>
12578
12579 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12580
12581 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12582
12583 * startup.el (command-line-1): Convert options beginning with a
12584 single dash as well (Bug#5519).
12585
12586 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12587
12588 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12589 * minibuffer.el (completion-initials-expand): Only check the presence
12590 of delims *within* the boundaries, since otherwise the / delim is
12591 always found for files.
12592
12593 Fix up various corner case problems.
12594 * doc-view.el (doc-view-last-page-number): New function.
12595 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12596 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12597 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12598 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12599 (doc-view-convert-current-doc): Don't create the resolution.el file
12600 here any more.
12601 (doc-view-pdf/ps->png): Do it here instead.
12602 (doc-view-already-converted-p): Check that resolution.el is present.
12603 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12604 windows that are not yet showing images.
12605
12606 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12607
12608 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12609 `dired-uncache' for every elemnt which is an absolute file name.
12610
12611 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12612 directory, handle its directory component.
12613 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12614 function is called permanently and creates noise, otherwise.
12615
12616 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12617 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12618 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12619
12620 2010-02-04 David Burger <dburger@google.com> (tiny change)
12621
12622 * macros.el (apply-macro-to-region-lines):
12623 Minor simplification. (Bug#5485)
12624
12625 2010-02-04 Glenn Morris <rgm@gnu.org>
12626
12627 * mail/rmail.el (rmail-show-message-1): Handle malformed
12628 quoted-printable text. (Bug#5441)
12629
12630 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12631
12632 * simple.el (visual-line-mode): Capitalize lighter.
12633
12634 2010-02-03 John Wiegley <jwiegley@gmail.com>
12635
12636 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12637 list of files considered for "virtual buffer" completions.
12638
12639 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12640
12641 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12642 also in case of (and (not full) (not wildcard)). This is needed
12643 when dired is called with a list of files, which are not in
12644 `default-directory'. (Bug#5478)
12645
12646 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12647
12648 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12649
12650 2010-02-02 Juri Linkov <juri@jurta.org>
12651
12652 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12653 from unidiff to allow function-line after @@.
12654
12655 2010-02-02 Juri Linkov <juri@jurta.org>
12656
12657 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12658 '(RCS SCCS) with inverted condition.
12659
12660 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12661
12662 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12663 messages.
12664
12665 2010-02-01 Juri Linkov <juri@jurta.org>
12666
12667 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12668 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12669 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12670 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12671
12672 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12673
12674 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12675 (doc-view-revert-buffer): New command.
12676 (doc-view-mode-map): Use it.
12677
12678 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12679
12680 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12681 pending merge is detected.
12682
12683 2010-01-31 Juri Linkov <juri@jurta.org>
12684
12685 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12686 beginning of interactive spec like all other grep commands do.
12687 Put "all" in front of "gz". (Bug#5260)
12688
12689 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12690
12691 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12692
12693 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12694
12695 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12696 regexp is incorrect (Bug#5476).
12697
12698 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12699
12700 * net/tramp.el (tramp-handle-insert-directory): Handle also
12701 symlinks, when FILENAME is not in `default-directory'.
12702
12703 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12704
12705 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12706 FILE is not in `default-directory'. (Bug#5478)
12707
12708 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12709 of SWITCHES. Handle the case, FILENAME is not in
12710 `default-directory'. (Bug#5478)
12711 (tramp-register-file-name-handlers): Add safe-magic property.
12712
12713 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12714
12715 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12716 unzip (Bug#5475).
12717
12718 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12719
12720 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12721 (flymake-master-make-header-init): Add other C++ filename masks.
12722 (flymake-find-possible-master-files)
12723 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12724
12725 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12726
12727 Fix some busybox annoyances.
12728
12729 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12730 not responding." string.
12731 (tramp-open-connection-setup-interactive-shell): Dump stty
12732 settings. Enable "neveropen" arg for all `tramp-send-command'
12733 calls. Handle "=" in variable values properly.
12734 (tramp-find-inline-encoding): Raise an error, when no encoding is
12735 found.
12736 (tramp-wait-for-output): Check, whether PROC buffer is available.
12737 Remove spurious " ^H" sequences, sent by busybox.
12738 (tramp-get-ls-command): Suppress coloring, if possible.
12739
12740 2010-01-28 Glenn Morris <rgm@gnu.org>
12741
12742 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12743
12744 * log-edit.el (log-edit-strip-single-file-name): Add missing
12745 :safe, :group, and :version tags.
12746
12747 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12748
12749 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12750 buffers. (Bug#5477)
12751
12752 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12753
12754 * files.el (delete-directory): Handle moving to trash without
12755 first doing recursion (Bug#5436).
12756
12757 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12758
12759 * vc-hooks.el (vc-path): Mark as obsolete.
12760
12761 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12762
12763 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12764 names too.
12765
12766 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12767 for the short log.
12768 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12769
12770 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12771
12772 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12773
12774 * vc-bzr.el (vc-bzr-revision-table): New function.
12775
12776 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12777
12778 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12779 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12780
12781 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12782
12783 Remove support for adding --signoff on commit.
12784 Future support will use an incompatible generic mechanism.
12785 * vc-git.el (vc-git-add-signoff): Remove variable.
12786 (vc-git-toggle-signoff): Remove function.
12787 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12788
12789 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12790 Rename from xterm-set-background-mode. Return t if the background mode
12791 was set.
12792 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12793 earlier, call it again in case the background mode has changed.
12794
12795 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12796
12797 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12798 (Bug#3541).
12799
12800 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12801
12802 * emacs-lisp/assoc.el (aelement): Doc fix.
12803 (aput, adelete, amake): Use lexical-let (Bug#5450).
12804
12805 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12806
12807 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12808 is the same as subprogram call, not declaration. (Bug#5435).
12809
12810 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12811
12812 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12813 (tramp-smb-maybe-open-connection): Use it.
12814
12815 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12816
12817 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12818
12819 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12822 just because we see "encoding: 8bit".
12823 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12824
12825 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12826
12827 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12828
12829 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12830
12831 * jka-compr.el (jka-compr-load): If load-file is not in
12832 load-history, try its file-truename version. (bug#5447)
12833
12834 2010-01-21 Alan Mackenzie <acm@muc.de>
12835
12836 Fix a situation where deletion of a cpp construct throws an error.
12837 * progmodes/cc-engine.el (c-invalidate-state-cache):
12838 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12839 special cpp construct is still in the buffer.
12840 (c-parse-state): Record the special cpp with markers, not numbers.
12841
12842 2010-01-21 Kenichi Handa <handa@m17n.org>
12843
12844 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12845 process last-command-event, as it is now decoded first (Bug#5380).
12846
12847 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12848
12849 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12850
12851 2010-01-20 Glenn Morris <rgm@gnu.org>
12852
12853 * indent.el (tab-always-indent): Fix custom-type.
12854
12855 2010-01-19 Alan Mackenzie <acm@muc.de>
12856
12857 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12858 buffer throws "args out of range".
12859 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12860 playing the role of delimiter.
12861
12862 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12863
12864 * progmodes/ada-mode.el: Fix bug#5400.
12865 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12866 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12867 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12868 Improve comments in "is" portion. Handle null procedure declaration.
12869 (ada-move-to-end): Improve doc string.
12870
12871 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12872
12873 * ido.el (ido-cur-list): Initialize to nil.
12874 Remove obsolete information from commentary.
12875 (ido-choice-list): Initialize to nil.
12876 (ido-get-bufname): Reject minibuffers.
12877 (ido-make-buffer-list): If "default" is a nonexistent
12878 buffer, ignore it, as per the function's comment.
12879 (ido-kill-buffer-internal): New function.
12880 (ido-kill-buffer-at-head): Use it.
12881 (ido-visit-buffer): Likewise.
12882
12883 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12884
12885 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12886
12887 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12888
12889 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12890 Fix typos in chart titles.
12891
12892 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12893 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12894 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12895 (describe-class, eieio-describe-generic, describe-generic):
12896 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12897 (eieio-speedbar-expand):
12898 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12899 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12900 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12901 (viper-del-backward-char-in-replace, viper-backward-indent)
12902 (viper-brac-function, viper-register-to-point, viper-submit-report):
12903 * net/tramp.el (tramp-remote-coding-commands):
12904 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12905 Fix typos in docstrings.
12906
12907 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12908
12909 * mail/sendmail.el (mail-yank-original): Set the mark if the
12910 specified function for yanking does not do it.
12911
12912 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12913
12914 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12915
12916 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12917 resyncing a directory.
12918
12919 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12920
12921 * progmodes/ada-mode.el: Fix bug#1920.
12922 (ada-ident-re): Delete ., allow multibyte characters.
12923 (ada-goto-label-re): New; matches goto labels.
12924 (ada-block-label-re): New; matches block labels.
12925 (ada-label-re): New; matches both.
12926 (ada-named-block-re): Deleted; callers changed to use
12927 `ada-block-label-re' instead.
12928 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12929 Use `ada-block-label-re'.
12930 (ada-indent-on-previous-lines): Improve handling of goto labels.
12931 (ada-get-indent-block-start): Special-case block label.
12932 (ada-get-indent-label): Split into `ada-indent-block-label' and
12933 `ada-indent-goto-label'.
12934 (ada-goto-stmt-start, ada-goto-next-non-ws):
12935 Optionally ignore goto labels.
12936 (ada-goto-next-word): Simplify.
12937 (ada-indent-newline-indent-conditional): Insert newline before
12938 trying to fix indentation; doc fix.
12939
12940 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12941
12942 * calc/calc.el (calc-command-flags): Give it an initial value.
12943
12944 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12945
12946 * files.el (minibuffer-with-setup-hook):
12947 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12948 (artist-key-draw-continously, artist-key-do-continously-continously)
12949 (artist-key-set-point-continously, artist-mouse-draw-continously):
12950 Fix typos in docstrings.
12951
12952 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12953
12954 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12955 Never return t (Bug#3898).
12956
12957 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12958
12959 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12960 can parse the output of the external commands (Bug#5279).
12961
12962 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12963
12964 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12965
12966 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12967
12968 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12969
12970 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12971
12972 * startup.el (command-line): Remove unused --icon-type arg.
12973 Handle --display arg, passing it to command-line-1 (Bug#5392).
12974
12975 2010-01-16 Mario Lang <mlang@delysid.org>
12976
12977 * emacs-lisp/chart.el (chart-translate-namezone):
12978 * textmodes/artist.el (artist-compute-popup-menu-table):
12979 Remove duplicated words in doc-strings.
12980
12981 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12982
12983 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12984 to mairix-search to suppress threading (Bug#5342).
12985
12986 2010-01-15 Kenichi Handa <handa@m17n.org>
12987
12988 * international/mule-cmds.el (canonicalize-coding-system-name):
12989 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12990
12991 2010-01-15 Glenn Morris <rgm@gnu.org>
12992
12993 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12994
12995 * wid-edit.el (widget-keymap): Doc fix.
12996
12997 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12998 former seems to be more widely accepted by various svn versions.
12999
13000 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13001
13002 * find-cmd.el (find-constituents):
13003 * vc-arch.el (vc-arch-root):
13004 * window.el (window-body-height, pop-up-frames):
13005 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13006 * progmodes/ada-stmt.el (ada-if):
13007 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13008 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13009 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13010 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13011
13012 * progmodes/flymake.el (flymake-post-syntax-check):
13013 Fix typo in error message.
13014
13015 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13016
13017 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13018 which is always a string. (Bug#5313)
13019
13020 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13021
13022 * progmodes/ada-xref.el (ada-default-prj-properties):
13023 Simplify previous change.
13024
13025 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13026
13027 * progmodes/ada-xref.el (ada-default-prj-properties):
13028 Default ada_project_path to $ADA_PROJECT_PATH.
13029
13030 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13031
13032 * progmodes/ada-mode.el (ada-create-keymap):
13033 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13034
13035 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13036
13037 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13038 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13039 (ada-get-current-indent, ada-imenu-generic-expression)
13040 (ada-which-function): Check for it.
13041
13042 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13043
13044 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13045 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13046
13047 2010-01-14 Glenn Morris <rgm@gnu.org>
13048
13049 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13050
13051 2010-01-14 Kenichi Handa <handa@m17n.org>
13052
13053 * composite.el (auto-composition-mode): Make it a buffer local
13054 variable (permanent-local).
13055 (auto-composition-function): Set the default value to
13056 auto-compose-chars.
13057 (auto-composition-mode): Make it a simple function, not a minor mode.
13058 (global-auto-composition-mode): Likewise.
13059 (turn-on-auto-composition-if-enabled): Delete it.
13060
13061 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13062
13063 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13064
13065 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13066
13067 * files.el (copy-directory): Compute target for recursive
13068 directories with identical names. (Bug#5343)
13069
13070 2010-01-12 Glenn Morris <rgm@gnu.org>
13071
13072 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13073 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13074
13075 2010-01-11 Sam Steingold <sds@gnu.org>
13076
13077 * imenu.el (imenu-default-create-index-function): Detect infinite
13078 loops caused by imenu-prev-index-position-function.
13079
13080 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13081
13082 * htmlfontify.el (htmlfontify-load-rgb-file)
13083 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13084 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13085 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13086 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13087 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13088 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13089 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13090 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13091 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13092 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13093 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13094 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13095 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13096 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13097 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13098 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13099 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13100 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13101 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13102 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13103 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13104 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13105 backslash-quoting from parentheses, etc.
13106
13107 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13108
13109 * progmodes/js.el: Autoload javascript-mode alias.
13110
13111 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13112
13113 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13114 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13115 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13116 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13117 Fix typos in docstrings.
13118 (ffap-url-regexp): Doc fix.
13119 (ffap-at-mouse): Fix typo in message.
13120
13121 2010-01-11 Glenn Morris <rgm@gnu.org>
13122
13123 * version.el (emacs-copyright): Set copyright year to 2010.
13124
13125 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * format.el (format-annotate-function): Only set
13128 write-region-post-annotation-function after running to-fn so as not to
13129 affect nested write-region calls (bug#5273).
13130
13131 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13132
13133 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13134 wisent/python.el.
13135
13136 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13137
13138 * man.el (Man-goto-section): Signal error if the section is not
13139 found (Bug#5317).
13140
13141 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13142
13143 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13144 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13145
13146 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13147
13148 * progmodes/compile.el: Don't treat compile-command as safe if
13149 compilation-read-command might be nil (Bug#4218).
13150
13151 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13152
13153 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13154 NS options.
13155
13156 2010-01-08 Kenichi Handa <handa@m17n.org>
13157
13158 * international/fontset.el (build-default-fontset-data):
13159 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13160
13161 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13162
13163 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13164 to `create-file-buffer' as it expects, not just a buffer name.
13165 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13166 to help uniquify. (Bug#3224)
13167
13168 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13169
13170 * font-setting.el (font-setting-change-default-font): Use user-spec
13171 instead of name.
13172
13173 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13174
13175 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13176
13177 2010-01-05 Tom Tromey <tromey@redhat.com>
13178
13179 * progmodes/python.el (python-font-lock-keywords):
13180 Handle qualified decorators (Bug#881).
13181
13182 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13183
13184 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13185 in a lightweight checkout.
13186
13187 2010-01-05 Kenichi Handa <handa@m17n.org>
13188
13189 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13190
13191 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13192
13193 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13194
13195 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13196
13197 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13198 checkouts. (Bug#618)
13199 (vc-bzr-log-view-mode): Also highlight the author.
13200 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13201 (vc-bzr-shelve-menu-map):
13202 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13203 (vc-bzr-shelve-apply): Make prompt more explicit.
13204
13205 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13206
13207 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13208 They are valid characters in URL paths (rfc3986), and at least
13209 Firefox does not understand the encoded version (Bug#3166).
13210
13211 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13212
13213 * progmodes/octave-mod.el (octave-end-keywords)
13214 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13215 Add "end" keyword (Bug#3061).
13216 (octave-end-as-array-index-p): New function.
13217 (calculate-octave-indent): Use it.
13218
13219 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13220
13221 * bookmark.el: Consistently put the text property on the bookmark name.
13222 (bookmark-bmenu-marks-width): Bump back to 2, to include
13223 annotation marks.
13224 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13225 property on the bookmark name, instead of not putting it at all.
13226 (bookmark-bmenu-list): Fix where we put the text property.
13227
13228 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13229
13230 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13231 for showing buffer modified state (as added in the previous change).
13232
13233 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13234
13235 * bookmark.el: Show modified state of bookmark buffer more accurately.
13236 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13237 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13238 (with-buffer-modified-unmodified): New macro.
13239 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13240 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13241 Use new macro to preserve the buffer modified state.
13242
13243 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13244
13245 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13246 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13247 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13248 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13249 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13250 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13251 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13252
13253 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13254
13255 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13256 Make the lines in the generated doc string shorter. (Bug#4668)
13257
13258 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13259
13260 * net/rcirc.el: Add follow-link binding (Bug#4738).
13261
13262 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13263
13264 * Makefile.in (bzr-update): Rename from cvs-update.
13265 (cvs-update): New target for backward compatibility.
13266
13267 * makefile.w32-in (bzr-update): Rename from cvs-update.
13268 (cvs-update): New target for backward compatibility.
13269
13270 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13271
13272 * bookmark.el: Remove gratuitous gratitude.
13273
13274 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13275
13276 * bookmark.el (bookmark-bmenu-any-marks): New function.
13277 (bookmark-bmenu-save): Clear buffer modification if no marks.
13278
13279 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13280
13281 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13282 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13283 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13284 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13285
13286 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13287 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13288 To: emacs-devel {_AT_} gnu.org
13289 Subject: bookmark.el bug report
13290 Date: Mon, 28 Dec 2009 14:19:16 +0800
13291 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13292
13293 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13294
13295 * bookmark.el: Improvements suggested by Drew Adams:
13296 (bookmark-bmenu-ensure-position): New name for
13297 `bookmark-bmenu-check-position'. Just ensure the position,
13298 don't return any meaningful value.
13299 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13300 New constants.
13301
13302 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13303
13304 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13305 (bookmark-yank-point, bookmark-bmenu-check-position):
13306 Fix typos in docstrings.
13307 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13308 (bookmark-name-from-full-record, bookmark-get-position)
13309 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13310 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13311 Remove useless quoting of parenthesis, etc. in docstrings.
13312
13313 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13314 (ediff-append-custom-diff): Fix typo in error message.
13315 (ediff-meta-mark-equal-files): Fix typos in messages.
13316
13317 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13318
13319 * net/imap-hash.el (imap-hash-make): Doc fix.
13320 (imap-hash-test): Fix typo in error message; reflow docstring.
13321 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13322 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13323 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13324 Fix typos in docstrings.
13325 (imap-hash-open-connection): Fix typo in error message.
13326
13327 * play/gomoku.el (gomoku): Fix typos in docstring.
13328
13329 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13330 (gdb-jsonify-buffer): Fix typos in docstring.
13331 (gdb-goto-breakpoint): Fix typo in error message.
13332 ("Display Other Windows"): Fix typo in help message.
13333 (gdb-speedbar-expand-node): Fix typo in question.
13334
13335 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13336 (idlwave-html-system-help-location, idlwave-html-help-location)
13337 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13338 (idlwave-help-browser-generic-args, idlwave-help-directory)
13339 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13340 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13341 (idlwave-online-help, idlwave-help-html-link)
13342 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13343 Fix typos in docstrings.
13344 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13345 Reflow docstrings.
13346 (idlwave-help-assistant-start): Fix typo in error message.
13347
13348 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13349 (octave-electric-space): Fix typos in docstrings.
13350
13351 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13352
13353 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13354
13355 2010-01-01 Juri Linkov <juri@jurta.org>
13356
13357 * comint.el (comint-input-ring-size): Make it a defcustom and
13358 increase the default to 500 (Bug#5148).
13359
13360 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13361
13362 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13363 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13364 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13365
13366 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13367
13368 Show working revision correctly for mercurial.
13369 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13370 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13371
13372 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13373
13374 Declare some functions for the byte-compiler.
13375 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13376 (speedbar-timer-fn, speedbar-change-expand-button-char)
13377 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13378
13379 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13380
13381 This changeset reverts GDB Graphical Interface to use annotations.
13382 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13383
13384 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13385
13386 Make vc-dir work on subdirectories of the bzr root.
13387 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13388 Return file names relative to it.
13389 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13390 relative directory to vc-bzr-after-dir-status.
13391
13392 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13393
13394 * font-lock.el (font-lock-refresh-defaults): New function, which
13395 can be used to let font-lock react to external changes in
13396 variables like font-lock-defaults and keywords.
13397 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13398
13399 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13400
13401 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13402
13403 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13404
13405 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13406
13407 Supersede color.diff settings in git log (bug#5211).
13408
13409 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13410 escape chars in its output when the user has color.diff set to `always'.
13411 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13412
13413 2009-12-26 Kevin Ryde <user42@zip.com.au>
13414
13415 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13416 node. Keep previous "Index" name to work with past coreutils too.
13417
13418 * man.el (man): Revise docstring a bit to show -a and -l as
13419 examples. Add -k description since support for it has otherwise
13420 been a secret. (Further to bug#3717.)
13421 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13422 "no matches" rather than "Can't find manpage", as the latter reads
13423 like -k was interpreted as a page name, which is not so. (Bug#5431)
13424
13425 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13426
13427 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13428 switches. Check also for //SUBDIRED// line.
13429
13430 2009-12-25 Kenichi Handa <handa@m17n.org>
13431
13432 * language/indian.el (devanagari-composable-pattern): Fix to
13433 handle ZWNJ and ZWJ. Use it in composition-function-table for
13434 Devanagari.
13435 (malayalam-composable-pattern): Fix previous change.
13436
13437 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13438
13439 * ps-print.el (ps-face-attributes): It was not returning the
13440 attribute face for faces specified as string. Reported by harven
13441 <harven@free.fr>. (Bug#5254)
13442 (ps-print-version): New version 7.3.5.
13443
13444 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13445
13446 * calendar/icalendar.el (icalendar--convert-tz-offset):
13447 Fix timezone names.
13448 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13449 (icalendar--add-diary-entry): Remove the trailing blank that
13450 diary-make-entry inserts.
13451
13452 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13453
13454 Make `file-expand-wildcards' work for remote files.
13455
13456 * files.el (file-expand-wildcards): In case of remote files, check
13457 only local file name part for wildcards. Provide feature 'files
13458 and subfeature 'remote-wildcards. (Bug#5198)
13459
13460 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13461 if there is already an established connection.
13462 (tramp-advice-file-expand-wildcards): Remove it.
13463
13464 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13465 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13466 Activate advice for older GNU Emacs versions. (Bug#5237)
13467
13468 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13469
13470 Some doc fixes (more needed).
13471
13472 * find-cmd.el (find-constituents): Reflow docstring.
13473 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13474 (find-generic): Doc fix.
13475
13476 2009-12-17 Juri Linkov <juri@jurta.org>
13477
13478 Fix regression from 23.1 to allow multiple modes in Local Variables.
13479
13480 * files.el (hack-local-variables-filter): While ignoring duplicates,
13481 don't take `mode' into account.
13482 (hack-local-variables-filter, hack-dir-local-variables):
13483 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13484
13485 2009-12-17 Juri Linkov <juri@jurta.org>
13486
13487 Make `dired-diff' safer. (Bug#5225)
13488
13489 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13490 `current' or when `file' is a directory of the `current' file.
13491
13492 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13493
13494 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13495 unconditionally preloaded files.
13496
13497 2009-12-16 Juri Linkov <juri@jurta.org>
13498
13499 Revert to old 23.1 logic of using the file at the mark as default.
13500 * dired-aux.el (dired-diff): Use the file at the mark as default
13501 if it's not the same as the current file, and the target dir is
13502 the current dir or the mark is active. Add the current file
13503 as the arg of `dired-dwim-target-defaults'. Use the default file
13504 in the prompt. (Bug#5225)
13505
13506 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13507
13508 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13509 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13510 (tramp-check-for-regexp): Check also, when an echoing shell stops
13511 to echo sent commands.
13512
13513 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13514
13515 * Makefile.in: Revert last change (Bug#5191).
13516
13517 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13518
13519 * vc-hg.el (vc-hg-print-log): Fix argument order.
13520 (vc-hg-working-revision): Make sure the command is executed in a
13521 known environment so that we can parse the output. (Bug#4417)
13522
13523 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13524
13525 * progmodes/python.el (python-symbol-completions): Remove text
13526 properties from symbol string before calling python-send-receive.
13527
13528 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13529
13530 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13531 when there are values for both file and line. (Bug#5060)
13532
13533 2009-12-14 Juri Linkov <juri@jurta.org>
13534
13535 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13536 whitespace after the file name of the first line of unified format,
13537 because git-diff doesn't output whitespace and file modification time
13538 after the file name.
13539
13540 2009-12-14 David Kastrup <dak@gnu.org>
13541
13542 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13543 check if it already has the `display' property added by
13544 `Info-display-images-node', and not put the `invisible' property
13545 in this case.
13546
13547 2009-12-13 Glenn Morris <rgm@gnu.org>
13548
13549 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13550 (report-emacs-bug): In message-mode, sort manually before storing
13551 original report text. (Bug#5178)
13552 Remove superfluous save-excursion.
13553
13554 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13555
13556 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13557 when responding to "GetAll" properties.
13558
13559 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13560
13561 * simple.el (compose-mail): Remove mail-setup-with-from from
13562 customization checks.
13563
13564 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13565
13566 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13567 RAR archives created on Unix systems.
13568
13569 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13572 the varalias that was accidentally removed by the 2009-11-19 change
13573 (bug#5186).
13574
13575 2009-12-12 Kenichi Handa <handa@m17n.org>
13576
13577 * language/indian.el (indian-compose-regexp): New function.
13578 (malayalam-composable-pattern): Fix the pattern.
13579 (composition-function-table): Set malayalam-composable-pattern for
13580 Malayalam characters.
13581
13582 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13583
13584 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13585 rather than down-mouse-1, based on follow-link conventions.
13586
13587 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13588 are compiled.
13589
13590 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13591
13592 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13593 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13594 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13595 (verilog-leap-to-head, verilog-backward-token):
13596 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13597
13598 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13599
13600 * progmodes/verilog-mode.el (verilog-auto-lineup)
13601 (verilog-nameable-item-re): Cleanup user-visible spelling and
13602 documentation errors. One reported by Gary Delp.
13603 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13604 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13605 package, bug195. Reported by Pierre-David Pfister.
13606
13607 2009-12-11 Glenn Morris <rgm@gnu.org>
13608
13609 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13610
13611 * mail/emacsbug.el: No longer require sendmail.
13612 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13613 (report-emacs-bug-orig-text): Doc fix.
13614 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13615 New local variables, to adapt to different mail-user-agents.
13616 (report-emacs-bug): Fix test for a gnu.org address.
13617 Use overlays for emphasis, since font-lock defeats 'face property.
13618 Pretest bugs also end up at the newsgroup these days.
13619 Stop message-mode stripping text properties.
13620 Set and use the new buffer-local variables.
13621 (report-emacs-bug-hook): Add doc-string.
13622 Remove some unnecessary save-excursions and simplify.
13623 Use the appropriate hook and send-command.
13624
13625 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13626 capitalization of some menu entries.
13627
13628 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13629
13630 * whitespace.el (whitespace-display-char-on):
13631 Ensure `buffer-display-table' is unique when two or more windows are
13632 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13633 New version 12.1.
13634
13635 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13636
13637 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13638 characters in the Attribute field.
13639
13640 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13641
13642 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13643
13644 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13645
13646 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13647 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13648 Disregard autoload-excludes.
13649 (update-directory-autoloads): Obey autoload-excludes here instead.
13650 But don't store its contents in no-autoloads and remove entries that
13651 refer to excludes files.
13652
13653 2009-12-10 Glenn Morris <rgm@gnu.org>
13654
13655 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13656 (expand-mail-aliases): Define for compiler.
13657
13658 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13659 Define for compiler.
13660
13661 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13662 appropriate for the mail-user-agent in use.
13663
13664 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13665
13666 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13667
13668 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13669
13670 Fix short log parsing and fontification.
13671 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13672 Fix fontification for the [merge] label.
13673
13674 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13675
13676 Drop some properties to avoid surprises (bug#5002).
13677 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13678 (hfy-fontify-buffer): Use it.
13679
13680 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13681
13682 Minor cleanup.
13683 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13684 Adjust all callers.
13685 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13686 args compulsory. Adjust callers.
13687 (ffap-gopher-at-point): Remove unused var `name'.
13688
13689 Get rid of the ELCFILES abomination.
13690 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13691 (compile-elcfiles): New phony target.
13692 (compile-main): Compute ELCFILES dynamically.
13693 (compile-clean): New target to remove left-over elc files.
13694 (compile, all): Use it.
13695
13696 2009-12-09 Kenichi Handa <handa@etlken>
13697
13698 * international/mule-diag.el: Require help-mode instead of help-fns.
13699
13700 2009-12-09 Kenichi Handa <handa@m17n.org>
13701
13702 * international/mule-cmds.el (ucs-names): Supply sufficiently
13703 fine ranges instead of pre-calculating accurate ranges.
13704 Iterate with bigger gc-cons-threshold.
13705
13706 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13707
13708 Add support for stashing a snapshot of the current tree.
13709 * vc-git.el (vc-git-stash-snapshot): New function.
13710 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13711
13712 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13713
13714 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13715 instead of `(beginning|end)-of-line'.
13716
13717 2009-12-08 Glenn Morris <rgm@gnu.org>
13718
13719 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13720
13721 * Makefile.in (ELCFILES): Regenerate.
13722
13723 2009-12-07 Juri Linkov <juri@jurta.org>
13724
13725 Don't lazy-highlight the comint output in history Isearch mode.
13726
13727 * comint.el (comint-history-isearch-search): Instead of
13728 `comint-line-beginning-position', use `comint-after-pmark-p'
13729 to check if point if before the process mark, and go to
13730 `process-mark' in this case.
13731
13732 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * textmodes/tex-mode.el (latex-complete)
13735 (latex-indent-or-complete): Remove.
13736 (latex-mode): Set completion-at-point-functions instead.
13737
13738 Provide a standard completion command and hook it into TAB.
13739 * minibuffer.el (completion-at-point-functions): New var.
13740 (completion-at-point): New command.
13741 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13742 * progmodes/python.el (python-mode-map): Use completion-at-point.
13743 (python-completion-at-point): Rename from python-partial-symbol and
13744 adjust for use in completion-at-point-functions.
13745 (python-mode): Setup completion-at-point for Python completion.
13746 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13747 extracted from lisp-complete-symbol.
13748 (lisp-complete-symbol): Use it.
13749 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13750 setup completion-at-point for Elisp completion.
13751 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13752 Use completion-at-point.
13753 * ielm.el (ielm-map): Use completion-at-point.
13754 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13755 * progmodes/sym-comp.el: Move to...
13756 * obsolete/sym-comp.el: Move from progmodes.
13757
13758 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13759
13760 Prevent save-buffer in Rmail buffers from using the coding-system
13761 of the current message, and from clobbering the encoding mnemonics
13762 in the mode line (Bug#4623).
13763
13764 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13765 flag, too.
13766 (rmail-message-encoding): New variable.
13767 (rmail-write-region-annotate): Record the encoding of the current
13768 message in rmail-message-encoding.
13769 (rmail-after-save-hook): New function, restores the encoding of
13770 the current message after the message collection is saved.
13771
13772 2009-12-07 Juri Linkov <juri@jurta.org>
13773
13774 * progmodes/grep.el (grep-read-files): Use `completing-read'
13775 instead of `read-string'. Set its `collection' arg to
13776 `read-file-name-internal'. (Bug#4301)
13777
13778 2009-12-07 Juri Linkov <juri@jurta.org>
13779
13780 Correctly restore original Isearch point. (Bug#4994)
13781
13782 * isearch.el (isearch-mode): Move `isearch-push-state' after
13783 `(run-hooks 'isearch-mode-hook)'.
13784 (isearch-cancel): When `isearch-push-state-function' is defined,
13785 let-bind `isearch-cmds' to the first state (the last element of
13786 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13787 function and restores the original point). Otherwise, move point
13788 to `isearch-opoint'.
13789
13790 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13791
13792 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13793 chars that don't have names, so the table can be built much faster at
13794 run-time.
13795
13796 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13797
13798 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13799 change. Suggested by David Kastrup.
13800
13801 * simple.el (compose-mail): Check for incompatibilities and warn.
13802 (compose-mail-user-agent-warnings): New option.
13803
13804 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13805
13806 Support showing a single log entry from vc-annotate.
13807 * vc.el (print-log): Add a new argument: START-REVISION.
13808 (vc-print-log-internal): Add a new optional argument and
13809 pass it to the backend.
13810 (vc-print-log, vc-print-root-log): Adjust callers.
13811 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13812 buffer already displays the requested log entry, use it.
13813 Otherwise display only the log entry in question.
13814 * vc-svn.el (vc-svn-print-log):
13815 * vc-mtn.el (vc-mtn-print-log):
13816 * vc-hg.el (vc-hg-state):
13817 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13818 (vc-git-show-log-entry): Return t on success.
13819 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13820 (vc-bzr-show-log-entry): Return t on success.
13821 * vc-rcs.el (vc-rcs-print-log):
13822 * vc-sccs.el (vc-sccs-print-log):
13823 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13824
13825 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13826
13827 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13828 Add menus to the meta mode. (Bug#5043)
13829
13830 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13831
13832 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13833 event-key.
13834
13835 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13836
13837 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13838
13839 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13840 Berbain <raphael.berbain@gmail.com>.
13841
13842 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13843 characters.
13844 (tramp-initial-end-of-output): New defconst.
13845 (tramp-methods, tramp-find-shell)
13846 (tramp-open-connection-setup-interactive-shell)
13847 (tramp-maybe-open-connection): Use it.
13848 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13849 Handle existence of `#' and `$'.
13850
13851 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13852 Use `tramp-initial-end-of-output'.
13853
13854 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13855
13856 Get the background mode from the terminal for xterm, and set
13857 faces accordingly.
13858 * term/xterm.el (xterm-set-background-mode): New function.
13859 (terminal-init-xterm): Use it in case xterm supports background
13860 color queries. Recompute faces after getting the background
13861 color.
13862
13863 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13864
13865 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13866 number comment back on its own line, for easier parsing.
13867
13868 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13869
13870 Make it work for non-file buffers (bug#5102).
13871 * doc-view.el (doc-view-current-cache-dir):
13872 Use doc-view-buffer-file-name rather than buffer-file-name.
13873 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13874
13875 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13876
13877 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13878 author field is too short.
13879
13880 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13881
13882 * vc-git.el (vc-git-print-log): Handle a limit argument.
13883 Display the short log in graph form and with labels.
13884 (vc-git-log-view-mode): Handle labels.
13885
13886 Make vc-revert change VC state from 'added to 'unregistered.
13887 * vc-git.el (vc-git-revert): Call git reset first.
13888
13889 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13890
13891 * net/newst-backend.el, net/newst-plainview.el:
13892 * net/newst-reader.el, net/newst-ticker.el:
13893 * net/newst-treeview.el, net/newsticker.el:
13894 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13895
13896 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13897
13898 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13899
13900 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13901 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13902 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13903 Update annotation regexp.
13904
13905 * simple.el (beginning-of-visual-line): Constrain to field
13906 boundaries (Bug#5106).
13907
13908 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13909
13910 * xml.el (xml-substitute-numeric-entities):
13911 Move newsticker--decode-numeric-entities in newst-backend.el to
13912 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13913 * net/newst-backend.el (newsticker--parse-generic-feed)
13914 (newsticker--parse-generic-items)
13915 (newsticker--decode-numeric-entities):
13916 Move newsticker--decode-numeric-entities in newst-backend.el to
13917 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13918
13919 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13920
13921 * progmodes/js.el (js--js-not): Add null to the list of values.
13922
13923 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13924
13925 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13926
13927 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13928
13929 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13930 delimiter if it is at the end of the current line.
13931 (bibtex-generate-url-list): Fix docstring.
13932
13933 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13936 minibuffer's content with itself.
13937 Fold the confirm-after-completion case into the `confirm' case.
13938 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13939
13940 2009-12-06 Kevin Ryde <user42@zip.com.au>
13941
13942 * ffap.el (ffap-rfc-path): Make this a defcustom since
13943 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13944
13945 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13946 manuals, similar to existing setup for help-mode. (Bug#3913.)
13947
13948 2009-12-05 Juri Linkov <juri@jurta.org>
13949
13950 Save and restore dired buffer's point positions too. (Bug#4880)
13951
13952 * dired.el (dired-save-positions): Return in the first element
13953 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13954 Doc fix.
13955 (dired-restore-positions): First restore buffer's position.
13956 While restoring window's positions, check if window still displays
13957 the original buffer.
13958
13959 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13960
13961 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13962 if possible.
13963
13964 * shell.el (shell): Require ansi-color (Bug#5113).
13965
13966 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13967
13968 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13969
13970 2009-12-05 Alan Mackenzie <acm@muc.de>
13971
13972 * progmodes/cc-mode.el (c-before-hack-hook)
13973 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13974 `c-file-style' to work again. This reversion restores the current
13975 software to its state in Emacs 23.1. (Bug#4146)
13976
13977 2009-12-05 Kevin Ryde <user42@zip.com.au>
13978
13979 * textmodes/sgml-mode.el (sgml-lexical-context):
13980 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13981
13982 2009-12-05 Juri Linkov <juri@jurta.org>
13983
13984 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13985 for virtual nodes. (Bug#4147)
13986 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13987 when moving from a virtual node.
13988 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13989 (Info-mode): Add `Info-virtual-index' to the docstring.
13990
13991 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13992
13993 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13994 track of the buffer position of the end of a BibTeX entry as this
13995 position may change during reformatting.
13996 (bibtex-format-entry): Remove whitespace before processing
13997 numerical fields so that we recognize the latter properly.
13998 (bibtex-reformat): Do not use push which changes the global value
13999 of bibtex-entry-format.
14000 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14001 (bibtex-field-re-init): Replace only space characters by regexp
14002 for whitespace.
14003 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14004 (bibtex-initialize): Also update bibtex-strings.
14005 (bibtex-kill-field): Preserve white space at end of entry.
14006 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14007 Update bibtex-reference-keys.
14008
14009 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14010
14011 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14012 point after a star, if that's the only place where modifications can
14013 make progress.
14014
14015 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14016
14017 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14018 in docstrings.
14019
14020 2009-12-04 Juri Linkov <juri@jurta.org>
14021
14022 * proced.el (proced): Call `(proced-update t)' to update process
14023 information instead of only running proced-post-display-hook.
14024 (proced-send-signal): Add a leading space to the buffer name
14025 " *Marked Processes*" to make this buffer ephemeral.
14026
14027 2009-12-04 Juri Linkov <juri@jurta.org>
14028
14029 * dired.el (dired-auto-revert-buffer): New defcustom.
14030 (dired-internal-noselect): Use it.
14031
14032 2009-12-04 Juri Linkov <juri@jurta.org>
14033
14034 Change roles of modes and functions in image-mode.el (Bug#5062).
14035
14036 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14037 in `auto-mode-alist'.
14038 (image-mode-previous-major-mode): New variable.
14039 (image-minor-mode-map): Rename from `image-mode-text-map'.
14040 (image-mode): Move graceful error-handling code from
14041 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14042 (image-minor-mode): Remove all image-handling code.
14043 Replace `image-mode-text-map' with `image-minor-mode-map'.
14044 Check for `image-type' in mode-line format string.
14045 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14046 (image-mode-as-text): New function with most code from
14047 `image-mode-maybe'.
14048 (image-toggle-display-text): Move code that removes image
14049 properties from `image-toggle-display' to here.
14050 (image-toggle-display-image): New function with code that adds
14051 image properties copied from `image-toggle-display'.
14052 (image-toggle-display): Remove most code with leaving only code
14053 that toggles between `image-mode-as-text' and `image-mode'.
14054
14055 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14056
14057 * net/newst-treeview.el
14058 (newsticker--treeview-list-highlight-start): Restored call to
14059 save-excursion: Selected item was stuck.
14060 (newsticker--treeview-list-select): New.
14061 (newsticker--treeview-item-show-text)
14062 (newsticker--treeview-item-show)
14063 (newsticker--treeview-item-update): Use new
14064 newsticker-treeview-item-mode.
14065 (newsticker-treeview-update): Keep current item.
14066 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14067 (newsticker--treeview-first-feed): Doc change.
14068 (newsticker-treeview-list-menu)
14069 (newsticker-treeview-item-menu): Add menu entries.
14070 (newsticker-treeview-item-mode): New.
14071
14072 * net/newst-backend.el (newsticker-customize): Delete other
14073 windows.
14074
14075 2009-12-04 Sam Steingold <sds@gnu.org>
14076
14077 * log-view.el (log-view-mode-map): "q" calls quit-window,
14078 like in all the other non-self-insert buffers.
14079
14080 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14081
14082 Minor cleanup.
14083 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14084 key decoding rather than do it manually via last-input-event +
14085 ascii-character.
14086 (term-exec): Use delete-and-extract-region.
14087 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14088 (term-process-pager): Remove unused var `i'.
14089 (term-dynamic-simple-complete): Make obsolete.
14090 (serial-update-config-menu): Remove unused vars `y' and `str'.
14091 (term-update-mode-line): Remove unused var `temp'.
14092
14093 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14094
14095 Limit the number of log entries displayed by default.
14096 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14097 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14098 using a prefix argument.
14099
14100 2009-12-03 Glenn Morris <rgm@gnu.org>
14101
14102 * progmodes/idlwave.el (class): Restore still useful declaration.
14103
14104 2009-12-03 Alan Mackenzie <acm@muc.de>
14105
14106 Enhance `c-parse-state' to run efficiently in "brace deserts".
14107
14108 * progmodes/cc-mode.el (c-basic-common-init):
14109 Call c-state-cache-init.
14110 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14111 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14112 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14113
14114 * progmodes/cc-langs.el (c-before-font-lock-function):
14115 c-extend-and-neutralize-syntax-in-CPP has been renamed
14116 c-neutralize-syntax-in-and-mark-CPP.
14117
14118 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14119 with `category' properties now, not `syntax-table' ones.
14120
14121 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14122 enhanced (but slower) version of c-end-of-macro that won't land
14123 inside a literal or on another awkward character.
14124 (c-state-cache-too-far, c-state-cache-start)
14125 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14126 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14127 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14128 (c-state-min-scan-pos, c-state-brace-pair-desert)
14129 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14130 buffer local variables.
14131 (c-state-literal-at, c-state-lit-beg)
14132 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14133 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14134 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14135 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14136 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14137 (c-renarrow-state-cache)
14138 (c-append-lower-brace-pair-to-state-cache)
14139 (c-state-push-any-brace-pair, c-append-to-state-cache)
14140 (c-remove-stale-state-cache)
14141 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14142 (c-invalidate-state-cache-1, c-parse-state-1)
14143 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14144 (c-parse-state): Enhance and refactor.
14145 (c-debug-parse-state): Amend to deal with all the new variables.
14146
14147 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14148 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14149 modify to use category text properties rather than syntax-table ones.
14150 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14151 to switch off/on the syntactic paren property of C++ template
14152 delimiters using the category property.
14153 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14154 template delims suppressed.
14155 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14156 New constant/macros which apply category properties to the start
14157 and end of preprocessor constructs.
14158 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14159 "comment out" the syntactic value of characters in preprocessor
14160 constructs.
14161 (c-with-cpps-commented-out)
14162 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14163 with characters in all or all but one preprocessor constructs
14164 "commented out".
14165
14166 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14167
14168 * proced.el (proced-filter-alist): Use regexp-quote.
14169
14170 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14171
14172 Cleanup.
14173 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14174 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14175 arguments. Expand `default-directory'.
14176
14177 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14178 the benefit of returning an expanded localname.
14179 (tramp-tramp-file-p): Handle the case NAME is not a string.
14180
14181 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14182
14183 Add support for bzr shelve/unshelve.
14184 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14185 (vc-bzr-extra-menu-map): New variables.
14186 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14187 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14188 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14189 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14190 (vc-bzr-dir-extra-headers): Display shelves.
14191
14192 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14193
14194 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14195
14196 * textmodes/bibtex.el (bibtex-complete-internal):
14197 Use completion-in-region.
14198 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14199
14200 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14201
14202 Support applying stashes. Improve UI.
14203 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14204 (vc-git-stash-apply, vc-git-stash-pop)
14205 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14206 (vc-git-stash-menu): New functions.
14207 (vc-git-stash-menu-map): New variable.
14208 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14209
14210 2009-12-03 Glenn Morris <rgm@gnu.org>
14211
14212 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14213 (vc-print-log-internal): Fix previous change.
14214 (vc-revert): Correct pluralization.
14215
14216 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14217
14218 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14219 it to be an alist any more.
14220 (makefile-complete): Use completion-in-region.
14221
14222 * progmodes/octave-mod.el (octave-complete-symbol):
14223 Use completion-in-region.
14224
14225 Misc cleanup.
14226 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14227 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14228 (idlwave-complete-class): Don't quote lambda.
14229 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14230 (idlwave-mode-map): Move initialization into declaration.
14231 (idlwave-action-and-binding): Use backquotes.
14232 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14233 Simplify.
14234 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14235 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14236 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14237 `parts', and `all-parts'.
14238 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14239 (idlwave-convert-xml-system-routine-info): Remove unused string
14240 `version-string'.
14241 (idlwave-display-user-catalog-widget): Use dolist.
14242 (idlwave-scanning-lib): Declare dynamically-scoped var.
14243 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14244 (completion-highlight-first-word-only): Declare to silence bytecomp.
14245 (idlwave-popup-select): Tighten scope of `resp'.
14246 (idlwave-find-struct-tag): Remove unused var `beg'.
14247 (idlwave-after-load-rinfo-hook): Declare.
14248 (idlwave-sintern-class-info): Remove unused var `taglist'.
14249 (idlwave-find-class-definition): Remove unused var `list'.
14250 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14251 (idlwave-what-module-find-class): Remove unused var `classes'.
14252
14253 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14254
14255 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14256
14257 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14258
14259 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14260 buffers visited. Remove redundant current-buffer-saving.
14261
14262 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14263
14264 Use completion-in-buffer and remove uses of dynamic scoping.
14265 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14266 (pascal-buffer-to-use, pascal-flag): Don't declare.
14267 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14268 (pascal-get-completion-decl, pascal-keyword-completion):
14269 Add `pascal-str' argument, save-excursion,
14270 return the found completions, and don't filter with pascal-pred.
14271 (pascal-completion-cache): New var.
14272 (pascal-completion): Don't switch buffer any more (it was never
14273 necessary). Don't save-excursion any more (it's done by the called
14274 subroutines). Use a cache to avoid redundant computations.
14275 Use complete-with-action rather than pascal-completion-response and
14276 let it apply the predicate as well.
14277 (pascal-complete-word): Use completion-in-buffer when
14278 pascal-toggle-completions is nil.
14279 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14280 not used any more.
14281 (pascal-comp-defun): Don't change buffer any more.
14282 Use complete-with-action rather than pascal-completion-response and
14283 let it apply the predicate as well.
14284 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14285 when neded.
14286
14287 2009-12-02 Kenichi Handa <handa@m17n.org>
14288
14289 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14290 shape for all Indic scripts.
14291
14292 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14293
14294 Use completion-in-buffer.
14295 * wid-edit.el (widget-field-text-end): New function.
14296 (widget-field-value-get): Use it.
14297 (widget-string-complete, widget-file-complete)
14298 (widget-color-complete): Use it and completion-in-region.
14299 (widget-complete): Don't narrow the buffer.
14300
14301 2009-12-02 Glenn Morris <rgm@gnu.org>
14302
14303 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14304 (rmail-select-summary): Use rmail-pop-to-buffer.
14305 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14306 rmail-pop-to-buffer, to prevent horizontal splits.
14307
14308 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14309 save-excursion with save-current-buffer.
14310 Widen before searching. (Bug#5093)
14311 (diary-list-sexp-entries): Remove superfluous save-excursion.
14312
14313 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14314
14315 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14316 name. (Bug#5038)
14317
14318 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14319
14320 * ido.el (ido-file-internal): Handle filenames at point that do
14321 not have a directory part. (Bug#5049)
14322
14323 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14324
14325 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14326 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14327
14328 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14329
14330 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14331 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14332 any more.
14333
14334 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14335
14336 * comint.el (comint-insert-input): Ignore clicks to the right of
14337 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14338
14339 * vc.el (vc-print-log-internal): Don't wait for the process to
14340 terminate before setting up the major mode.
14341
14342 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14343 in case.
14344
14345 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14346 the last element.
14347
14348 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14349
14350 2009-12-01 Glenn Morris <rgm@gnu.org>
14351
14352 * window.el (window--display-buffer-2): Fix previous changes.
14353
14354 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14355
14356 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14357
14358 2009-12-01 Glenn Morris <rgm@gnu.org>
14359
14360 * Makefile.in (ELCFILES): Add mpc.elc.
14361
14362 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14363
14364 * mpc.el: New file.
14365
14366 2009-12-01 Glenn Morris <rgm@gnu.org>
14367
14368 * window.el (window-to-use): Define for compiler.
14369
14370 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14371 consistent with others (no final period).
14372
14373 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14374 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14375
14376 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14377
14378 Make vc-print-log buttons work.
14379 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14380
14381 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14382
14383 * savehist.el (savehist-autosave-interval): Allow setting to nil
14384 through customize. (Bug#5056)
14385
14386 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14387
14388 Fix references to jit-lock properties.
14389 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14390 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14391 (perl-font-lock-special-syntactic-constructs):
14392 Quote jit-lock-defer-multiline property.
14393
14394 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14395
14396 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14397
14398 2009-11-30 Juri Linkov <juri@jurta.org>
14399
14400 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14401 value `buffer' of `multi-isearch-next-buffer-current-function'.
14402 Use `(current-buffer)' when `buffer' is nil.
14403 (multi-isearch-next-buffer-from-list): Don't fallback to
14404 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14405
14406 2009-11-30 Juri Linkov <juri@jurta.org>
14407
14408 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14409 of buffers with `get-buffer' to `multi-isearch-buffers'.
14410 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14411 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14412 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14413 FILES with `expand-file-name' converting relative file names
14414 to absolute. Doc fix. (Bug#4727)
14415
14416 2009-11-30 Juri Linkov <juri@jurta.org>
14417
14418 * misearch.el (multi-isearch-read-buffers)
14419 (multi-isearch-read-matching-buffers): New functions.
14420 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14421 Use them in the `interactive' spec. Doc fix.
14422 (multi-isearch-read-files, multi-isearch-read-matching-files):
14423 New functions.
14424 (multi-isearch-files, multi-isearch-files-regexp):
14425 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14426
14427 2009-11-30 Juri Linkov <juri@jurta.org>
14428
14429 * doc-view.el (doc-view-continuous):
14430 Rename from `doc-view-continuous-mode'.
14431 (doc-view-menu): Move "Toggle display" to the top.
14432 Add submenu "Continuous" with radio buttons "Off"/"On"
14433 and "Save as Default".
14434 (doc-view-scroll-up-or-next-page)
14435 (doc-view-scroll-down-or-previous-page)
14436 (doc-view-next-line-or-next-page)
14437 (doc-view-previous-line-or-previous-page):
14438 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14439
14440 2009-11-30 Juri Linkov <juri@jurta.org>
14441
14442 * comint.el (comint-mode-map): Rebind `M-r' from
14443 `comint-previous-matching-input' to
14444 `comint-history-isearch-backward-regexp'.
14445 Unbind `M-s' to allow global key binding `M-s'.
14446 Add menu items for `comint-history-isearch-backward' and
14447 `comint-history-isearch-backward-regexp'. (Bug#3746)
14448
14449 2009-11-30 Juri Linkov <juri@jurta.org>
14450
14451 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14452 For def=recenter, replace `recenter' with `recenter-top-bottom'
14453 that is called with `this-command' and `last-command' let-bound
14454 to `recenter-top-bottom'. When the last `def' was not `recenter',
14455 set `recenter-last-op' to nil. (Bug#4981)
14456
14457 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14458
14459 Minor cleanup and simplification.
14460 * filecache.el (file-cache-add-directory)
14461 (file-cache-add-directory-recursively)
14462 (file-cache-add-from-file-cache-buffer)
14463 (file-cache-delete-file-regexp, file-cache-delete-directory)
14464 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14465 (file-cache-temp-minibuffer-message): Delete function.
14466 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14467
14468 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14469 Don't signal an error when bumping into EOB in tr, s, or y.
14470
14471 2009-11-29 Juri Linkov <juri@jurta.org>
14472
14473 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14474 (Bug#4960)
14475
14476 * descr-text.el (describe-char-unidata-list): Use lowercase name
14477 for "Unicode name" like in other tags.
14478
14479 2009-11-29 Juri Linkov <juri@jurta.org>
14480
14481 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14482 New compatibility macro.
14483 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14484
14485 2009-11-29 Juri Linkov <juri@jurta.org>
14486
14487 Add defcustom to define the cycling order of `recenter-top-bottom'.
14488 (Bug#4981)
14489
14490 * window.el (recenter-last-op): Doc fix.
14491 (recenter-positions): New defcustom.
14492 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14493 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14494
14495 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14496
14497 Improve integration of Tramp and ange-ftp in eshell.
14498
14499 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14500 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14501 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14502
14503 * eshell/esh-util.el (top): Require also Tramp when compiling.
14504 (eshell-directory-files-and-attributes): Check for FTP remote
14505 connection.
14506 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14507 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14508 (eshell-file-attributes): Handle ".". Return `entry'.
14509
14510 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14511 (ange-ftp-directory-files-and-attributes)
14512 (ange-ftp-real-directory-files-and-attributes): New defuns.
14513
14514 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14515 shell with "exec" when possible. This prevents trailing prompts
14516 in `start-file-process'.
14517
14518 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14519
14520 Try and remove assumptions about point-min==1.
14521 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14522 (rng-compute-mode-line-string): Show the validation percentage in
14523 terms of the narrowed text, not the widened text.
14524 (rng-do-some-validation): Don't catch internal errors when debugging.
14525 (rng-first-error): Simplify.
14526 (rng-after-change-function): Remove work around. AFAIK the bug has
14527 been fixed a while ago.
14528
14529 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14530 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14531
14532 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14533
14534 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14535 `cd' doesn't always do it for us (bug#5067).
14536
14537 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14538 on 2009-10-25 as part of some other change (bug#5067).
14539
14540 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14541
14542 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14543 `suspicious'.
14544 (byte-compile-warnings): Use byte-compile-warning-types.
14545 (byte-compile-save-excursion): Warn about use of set-buffer right
14546 after save-excursion.
14547
14548 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14549 the excursion as well.
14550
14551 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14552
14553 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14554 providing a Tramp related implementation of "su" and "sudo".
14555 (eshell-unix-initialize): Add "su" and "sudo".
14556
14557 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14558
14559 * net/socks.el (socks-send-command): Convert binary request to
14560 unibyte before sending. This fixes mishandling of some port
14561 numbers such as 129.
14562
14563 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14564
14565 * help.el (describe-bindings-internal): Remove `interactive'.
14566
14567 * man.el (Man-completion-table): Trim a terminating "(".
14568 Remove the space between name page a section.
14569 Add the command's description on the `help-echo' property.
14570 Remove `process-connection-type' binding since it's unused by
14571 call-process.
14572 Provide completion for the "<section> <name>" format as well.
14573 (Man-default-man-entry): Remove spurious var shadowing the argument.
14574
14575 2009-11-26 Kevin Ryde <user42@zip.com.au>
14576
14577 * log-view.el: Add "Keywords: tools", since its other keywords
14578 aren't in finder-known-keywords, and following vc.el.
14579
14580 * sha1.el (sha1-string-external): default-directory "/" in case
14581 otherwise non-existent. process-connection-type pipe for touch of
14582 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14583
14584 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14585
14586 Misc coding convention cleanups.
14587 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14588 hfy-init-kludge-hooks.
14589 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14590 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14591 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14592 and push.
14593 (hfy-slant, hfy-weight): Use tables rather than code.
14594 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14595 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14596 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14597 (hfy-face-to-css): Remove `nconc' with single arg.
14598 (hfy-p-to-face-lennart): Use `or'.
14599 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14600 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14601 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14602 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14603 (hfy-force-fontification): Use run-hooks.
14604
14605 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14606
14607 Various minor fixes.
14608 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14609 Javascript belongs in the header, not the body.
14610 (hfy-javascript): Remove.
14611 (hfy-fontify-buffer): Don't insert it any more.
14612 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14613 Fix bug in invis handling when there were no invis props in a chunk.
14614
14615 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14616
14617 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14618
14619 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14620
14621 * finder.el (finder-mode-map): Add a menu.
14622
14623 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14624
14625 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14626 "unsigned" structs.
14627
14628 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14629 fork" statement better.
14630
14631 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14632
14633 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14634 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14635 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14636 Reported by Clay Douglass.
14637
14638 (verilog-auto-inst, verilog-auto-star-safe)
14639 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14640 Fix removing "// Interfaces" when saving .* expansions.
14641 Reported by Pierre-David Pfister.
14642
14643 2009-11-26 Glenn Morris <rgm@gnu.org>
14644
14645 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14646 the scope.
14647
14648 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14649
14650 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14651 Really use previous revision.
14652
14653 2009-11-25 Kevin Ryde <user42@zip.com.au>
14654
14655 * man.el (Man-completion-table): default-directory "/" in case
14656 doesn't otherwise exist. process-environment COLUMNS=999 so as
14657 not to truncate long names. process-connection-type pipe to avoid
14658 any chance of hitting the pseudo-tty TIOCGWINSZ.
14659 (man): completion-ignore-case t for friendliness and since man
14660 itself is case-insensitive on the command line.
14661 Further to Bug#3717.
14662
14663 * arc-mode.el: Add "Keywords: files", so the details in its
14664 commentary can be reached from finder-by-keyword.
14665 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14666 editing mode, but it's comms related and sgml-mode.el has "comm"
14667 on that basis too.
14668 * textmodes/bibtex-style.el: Add "Keywords: tex".
14669 * international/isearch-x.el, international/ja-dic-cnv.el:
14670 * international/ja-dic-utl.el, international/kkc.el:
14671 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14672
14673 2009-11-25 Juri Linkov <juri@jurta.org>
14674
14675 * man.el (Man-completion-table): Modify regexp to include
14676 section names to completion strings. (Bug#3717)
14677
14678 2009-11-25 Juri Linkov <juri@jurta.org>
14679
14680 Search recursively in gzipped files. (Bug#4982)
14681
14682 * progmodes/grep.el (grep-highlight-matches): Add new options
14683 `always' and `auto'. Doc fix.
14684 (grep-process-setup): Check `grep-highlight-matches' for
14685 `auto-detect' to determine the need to compute grep defaults.
14686 Move Windows/DOS specific --colors settings handling
14687 to `grep-compute-defaults'. Check `grep-highlight-matches'
14688 to get the value of "--color=".
14689 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14690 has the value `auto-detect'. Move Windows/DOS specific settings
14691 from `grep-process-setup'.
14692 (zrgrep): New command with alias `rzgrep'.
14693
14694 2009-11-25 Juri Linkov <juri@jurta.org>
14695
14696 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14697 to nil instead of switching off view-mode. (Bug#4896)
14698
14699 2009-11-25 Juri Linkov <juri@jurta.org>
14700
14701 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14702
14703 * mwheel.el (mwheel-scroll-up-function)
14704 (mwheel-scroll-down-function): New defvars.
14705 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14706 `scroll-up', and `mwheel-scroll-down-function' instead of
14707 `scroll-down'.
14708
14709 * doc-view.el (doc-view-scroll-up-or-next-page)
14710 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14711 Use this ARG in the call to image-scroll-up/image-scroll-down.
14712 Change `interactive' spec to "P". Goto next/previous page only
14713 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14714 SPC/DEL case). Doc fix.
14715 (doc-view-next-line-or-next-page)
14716 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14717 for consistency.
14718 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14719 `doc-view-scroll-up-or-next-page', and buffer-local
14720 `mwheel-scroll-down-function' to
14721 `doc-view-scroll-down-or-previous-page'.
14722
14723 2009-11-25 Juri Linkov <juri@jurta.org>
14724
14725 Provide additional default values (directories at other Dired
14726 windows) via M-n in the minibuffer of some Dired commands.
14727
14728 * dired-aux.el (dired-diff, dired-compare-directories)
14729 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14730 `minibuffer-default' in `minibuffer-with-setup-hook'.
14731 (dired-dwim-target-directory): Find a window that displays Dired
14732 buffer instead of failing when the next window is not Dired.
14733 Use `get-window-with-predicate' to find for the next Dired window.
14734 (dired-dwim-target-defaults): New function.
14735
14736 * ediff-util.el (ediff-read-file-name):
14737 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14738 in `minibuffer-with-setup-hook'.
14739
14740 2009-11-25 Juri Linkov <juri@jurta.org>
14741
14742 Provide additional default values (file name at point or at the
14743 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14744
14745 * minibuffer.el (read-file-name-defaults): New function.
14746 (read-file-name): Reset `minibuffer-default' to nil when
14747 it duplicates initial input `insdef'.
14748 Bind `minibuffer-default-add-function' to lambda that
14749 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14750 (minibuffer-insert-file-name-at-point): New command.
14751
14752 * files.el (file-name-at-point-functions): New defcustom.
14753 (find-file-default): Remove defvar.
14754 (find-file-read-args): Don't use `find-file-default'.
14755 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14756 to `read-file-name'.
14757 (find-file-literally): Use `read-file-name' with
14758 `confirm-nonexistent-file-or-buffer'.
14759
14760 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14761
14762 * dired.el (dired-read-dir-and-switches):
14763 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14764 to `read-file-name'.
14765 (dired-file-name-at-point): New function.
14766 (dired-mode): Add hook `dired-file-name-at-point' to
14767 `file-name-at-point-functions'.
14768
14769 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14770
14771 Really make the *Completions* window soft-dedicated (bug#5030).
14772 * window.el (window--display-buffer-2): Add `dedicated' argument.
14773 (display-buffer): Pass it when needed so the dedicated flag is set
14774 after calling set-window-buffer, which would otherwise reset it.
14775
14776 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14777
14778 * progmodes/meta-mode.el (meta-complete-symbol):
14779 * progmodes/etags.el (complete-tag):
14780 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14781 Use completion-in-region.
14782
14783 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14784 (dabbrev-completion): Use completion-in-region.
14785 (dabbrev--abbrev-at-point): Simplify regexp.
14786
14787 * abbrev.el (abbrev--before-point): Use word-motion functions
14788 if :regexp is not specified (bug#5031).
14789
14790 * subr.el (string-prefix-p): New function.
14791
14792 * man.el (Man-completion-cache): New var.
14793 (Man-completion-table): Use it.
14794
14795 * vc.el (vc-print-log-internal): Make `limit' optional for better
14796 compatibility (e.g. with vc-annotate.el).
14797
14798 2009-11-24 Kevin Ryde <user42@zip.com.au>
14799
14800 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14801 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14802
14803 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14804 when .el source file not found or other error.
14805
14806 2009-11-24 Markus Triska <markus.triska@gmx.at>
14807
14808 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14809
14810 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14811
14812 Handle the [back] button properly (bug#4979).
14813 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14814 Use help-setup-xref, help-buffer, and with-help-window.
14815 (describe-char): Add `buffer' argument.
14816 Pass proper command to help-setup-xref. Don't meddle with
14817 help-xref-stack-item directly.
14818 (describe-text-category): Use with-help-window and help-buffer.
14819
14820 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14821 for the displayed buffer (bug#4887).
14822
14823 * man.el (Man-completion-table): New function.
14824 (man): Use it.
14825
14826 2009-11-24 David Reitter <david.reitter@gmail.com>
14827
14828 * vc-git.el (vc-git-registered): Use checkout directory (where
14829 .git is) rather than the file's directory and a relative path spec
14830 to work around a bug in git.
14831
14832 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14833
14834 Improve handling of processes on remote hosts.
14835
14836 * eshell/esh-util.el (eshell-path-env): New defvar.
14837 (eshell-parse-colon-path): New defun.
14838 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14839
14840 * eshell/esh-ext.el (eshell-search-path):
14841 Use `eshell-parse-colon-path'.
14842 (eshell-remote-command): Remove argument HANDLER.
14843 (eshell-external-command): Check for FTP remote connection.
14844
14845 * eshell/esh-proc.el (eshell-gather-process-output):
14846 Use `file-truename', in order to start also symlinked files.
14847 Apply `start-file-process' instead of `start-process'.
14848 Shorten `command' to the local file name part.
14849
14850 * eshell/em-cmpl.el (eshell-complete-commands-list):
14851 Use `eshell-parse-colon-path'.
14852
14853 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14854
14855 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14856 to `eshell-directory-change-hook'.
14857
14858 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14859
14860 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14861 because it could be enabled automatically if view-read-only is non-nil.
14862
14863 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14864
14865 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14866 made on 2009-11-22.
14867
14868 2009-11-24 Glenn Morris <rgm@gnu.org>
14869
14870 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14871 deleted variable bookmark-bmenu-bookmark-column.
14872
14873 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14874
14875 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14876
14877 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14878
14879 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14880 two slashes to the "file:" prefix.
14881 (browse-url-file-url): De-munge Cygwin filenames before passing
14882 them to Windows browser.
14883 (browse-url-default-windows-browser): Use call-process.
14884
14885 2009-11-23 Juri Linkov <juri@jurta.org>
14886
14887 Implement DocView Continuous mode. (Bug#4896)
14888 * doc-view.el (doc-view-continuous-mode): New defcustom.
14889 (doc-view-mode-map): Bind C-n/<down> to
14890 `doc-view-next-line-or-next-page', C-p/<up> to
14891 `doc-view-previous-line-or-previous-page'.
14892 (doc-view-next-line-or-next-page)
14893 (doc-view-previous-line-or-previous-page): New commands.
14894
14895 2009-11-23 Juri Linkov <juri@jurta.org>
14896
14897 Implement Isearch in comint input history. (Bug#3746)
14898 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14899 `isearch-mode-hook'.
14900 (comint-history-isearch): New defcustom.
14901 (comint-history-isearch-backward)
14902 (comint-history-isearch-backward-regexp): New commands.
14903 (comint-history-isearch-message-overlay): New buffer-local variable.
14904 (comint-history-isearch-setup, comint-history-isearch-end)
14905 (comint-goto-input, comint-history-isearch-search)
14906 (comint-history-isearch-message, comint-history-isearch-wrap)
14907 (comint-history-isearch-push-state)
14908 (comint-history-isearch-pop-state): New functions.
14909
14910 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14911
14912 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14913 return.
14914 (tramp-handle-make-symbolic-link)
14915 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14916 Quote file names.
14917 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14918 (tramp-handle-process-file): Use it.
14919
14920 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14921
14922 * window.el (move-to-window-line-last-op): Remove.
14923 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14924
14925 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14926
14927 Make M-r mirror the new cycling behavior of C-l.
14928 * window.el (move-to-window-line-last-op): New var.
14929 (move-to-window-line-top-bottom): New command.
14930 (global-map): Bind M-r move-to-window-line-top-bottom.
14931
14932 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14933
14934 * dired-x.el (dired-guess-shell-alist-default):
14935 Support xz format. (Bug#4953)
14936
14937 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14938
14939 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14940 last-command-char/last-command-event.
14941 (viper-prefix-arg-value): Do correct conversion of event-char for
14942 XEmacs.
14943
14944 * emulation/viper-util.el, emulation/viper.el:
14945 Use viper-last-command-char instead of
14946 last-command-char/last-command-event.
14947
14948 * ediff-init.el, ediff-mult.el, ediff-util.el:
14949 Replace last-command-char and last-command-event
14950 with (ediff-last-command-char) everywhere.
14951
14952 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14953 created in fundamental mode.
14954
14955 * ediff.el (ediff-version): Revert the change of interactive-p to
14956 called-interactively-p.
14957
14958 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14959
14960 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14961 generation from word-movement command names.
14962
14963 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14964
14965 * cus-start.el (all): Add native condition for font-use-system-font.
14966
14967 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14968
14969 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14970 Correct the patch from 2009-11-18. (Bug#3910)
14971
14972 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14973
14974 * progmodes/subword.el: Rename from lisp/subword.el.
14975
14976 * subword.el: Rename to progmodes/subword.el.
14977
14978 * Makefile.in (ELCFILES): Adapt to subword.el move.
14979
14980 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14981 Stefan Monnier <monnier@iro.umontreal.ca>
14982
14983 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14984 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14985 (bookmark-bmenu-show-filenames): Use push.
14986 (bookmark-bmenu-hide-filenames): Use local var instead of
14987 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14988 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14989 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14990 filenames now that the bookmark names are always available.
14991
14992 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14993
14994 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14995 (bookmark-search-pattern): Move and leave unbound.
14996 (bookmark-bmenu-mode-map): Change binding.
14997 (bookmark-read-search-input): Simplify.
14998 Don't use text-char-description. Don't error on non-char events.
14999 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15000 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15001 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15002 Use a local var for the timer.
15003 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15004 (i.e. bookmark-bmenu-search).
15005
15006 2009-11-21 Glenn Morris <rgm@gnu.org>
15007
15008 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15009
15010 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15011
15012 * net/browse-url.el (browse-url-default-windows-browser):
15013 Use cygstart for cygwin.
15014
15015 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15016
15017 * bookmark.el: Formatting and doc fixes only:
15018 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15019 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15020 Minor grammar and punctuation fixes in doc string.
15021 (bookmark-read-search-input): Adjust to fit within 80 columns.
15022
15023 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15024
15025 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15026 (c-backward-into-nomenclature): Adapt to subword renaming.
15027
15028 * subword.el (subword-forward, subword-backward, subword-mark)
15029 (subword-kill, subword-backward-kill, subword-transpose)
15030 (subword-downcase, subword-upcase, subword-capitalize)
15031 (subword-forward-internal, subword-backward-internal):
15032 Rename from forward-subword, backward-subword, mark-subword,
15033 kill-subword, backward-kill-subword, transpose-subwords,
15034 downcase-subword, upcase-subword, capitalize-subword,
15035 forward-subword-internal, backward-subword-internal.
15036
15037 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15038
15039 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15040 New options.
15041 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15042 New vars.
15043 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15044 (bookmark-bmenu-filter-alist-by-regexp)
15045 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15046 (bookmark-bmenu-search): New command.
15047 (bookmark-bmenu-mode-map): Bind it.
15048
15049 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15050
15051 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15052 backward-subword to quit the byte-compiler.
15053
15054 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15055
15056 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15057
15058 * progmodes/cc-cmds.el (c-update-modeline)
15059 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15060 Refer to subword.el functions instead of cc-subword.el.
15061
15062 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15063 subword.el functions instead of cc-subword.el.
15064
15065 * progmodes/cc-subword.el: Rename to subword.el.
15066 * subword.el: Rename from progmodes/cc-subword.el.
15067 (subword-mode-map): Rename from c-subword-mode-map.
15068 (subword-mode): Rename from c-subword-mode.
15069 (global-subword-mode): New global minor mode.
15070 (forward-subword): Rename from c-forward-subword.
15071 (backward-subword): Rename from c-backward-subword.
15072 (mark-subword): Rename from c-mark-subword.
15073 (kill-subword): Rename from c-kill-subword.
15074 (backward-kill-subword): Rename from c-backward-kill-subword.
15075 (transpose-subwords): Rename from c-tranpose-subword.
15076 (downcase-subword): Rename from c-downcase-subword.
15077 (capitalize-subword): Rename from c-capitalize-subword.
15078 (forward-subword-internal): Rename from c-forward-subword-internal.
15079 (backward-subword-internal): Rename from c-backward-subword-internal.
15080
15081 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15082
15083 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15084 from a dired buffer.
15085 (vc-dired-deduce-fileset): New function.
15086 (vc-root-diff, vc-print-root-log): Use it.
15087
15088 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15089 nil LIMIT argument to vc-print-log-internal.
15090
15091 2009-11-20 Glenn Morris <rgm@gnu.org>
15092
15093 * Makefile.in (ELCFILES): Regenerate.
15094
15095 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15096
15097 * calc/calc.el (calc-set-mode-line):
15098 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15099 (math-format-number): Rename `math-format-complement-signed' to
15100 `math-format-twos-complement'.
15101
15102 * calc/calc-bin.el (math-format-twos-complement): Rename from
15103 math-format-complement-signed.
15104 (calc-radix): Rename `calc-complement-signed-mode' to
15105 `calc-twos-complement-mode'.
15106 (calc-octal-radix, calc-hex-radix): Add an argument for
15107 two's complement.
15108
15109 * calc/calc-embed.el (calc-embedded-mode-vars):
15110 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15111
15112 * calc/calc-ext.el (calc-init-extensions):
15113 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15114 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15115
15116 * calc/calc-units.el (math-build-units-table-buffer):
15117 Let `calc-twos-complement-mode' be nil.
15118
15119 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15120 entries.
15121
15122 * calc/calc-vec.el (calcFunc-vunpack):
15123 * calc/calc-aent.el (calc-do-calc-eval):
15124 * calc/calc-forms.el (math-format-date):
15125 * calc/calc-graph.el (calc-graph-plot):
15126 * calc/calc-math.el (math-use-emacs-fn):
15127 * calc/calccomp.el (math-compose-expr):
15128 Let `calc-twos-complement-mode' be nil.
15129
15130 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15131
15132 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15133 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15134 * minibuffer.el (completion-in-region-functions): New hook.
15135 (completion-in-region): New function.
15136 * emacs-lisp/lisp.el (lisp-complete-symbol):
15137 * pcomplete.el (pcomplete-std-complete): Use it.
15138
15139 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15140
15141 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15142 (latex-complete-alist): New vars.
15143 (latex-string-prefix-p, latex-complete-bibtex-keys)
15144 (latex-complete-envnames, latex-complete-refkeys)
15145 (latex-complete-data): New functions.
15146 (latex-complete, latex-indent-or-complete): New commands.
15147
15148 * window.el (display-buffer-mark-dedicated): New var.
15149 (display-buffer): Obey it.
15150 * minibuffer.el (minibuffer-completion-help): Use it.
15151
15152 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15153
15154 * filecache.el (file-cache-add-file): Use push and cons.
15155 (file-cache-delete-file-regexp): Use push.
15156 (file-cache-complete): Use completion-in-region.
15157
15158 * simple.el (with-wrapper-hook): Fix thinko.
15159
15160 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15161 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15162 Use with-current-buffer and string-to-number.
15163 (hfy-fallback-colour-values): Use assoc-string.
15164 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15165 (hfy-face-at): Remove unused var `found-face'.
15166 (hfy-compile-stylesheet): Remove unused var `css'.
15167 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15168 and `orig-buffer'.
15169 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15170 Use with-current-buffer.
15171 (hfy-text-p): Use expand-file-name and fewer setq.
15172
15173 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15174
15175 * htmlfontify.el, hfy-cmap.el: New files.
15176
15177 2009-11-19 Juri Linkov <juri@jurta.org>
15178
15179 * minibuffer.el (completions-format): New defcustom.
15180 (completion--insert-strings): Implement vertical format.
15181
15182 * simple.el (switch-to-completions): Move point to the first
15183 completion when point was at the beginning of the buffer.
15184
15185 2009-11-19 Juri Linkov <juri@jurta.org>
15186
15187 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15188
15189 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15190
15191 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15192
15193 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15194 (mail-signature): Change default to t.
15195 (mail-from-style): Deprecate `system-default' value.
15196 (mail-insert-from-field): For default value of mail-from-style,
15197 default to `angles' unless `angles' needs quoting and `parens'
15198 does not.
15199 (mail-citation-prefix-regexp): Use citation regexp from
15200 message-mode.
15201
15202 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15203
15204 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15205 Set variables for computing the prompt for reading password.
15206
15207 2009-11-19 Glenn Morris <rgm@gnu.org>
15208
15209 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15210
15211 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15212
15213 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15214 (newsticker-treeview-listwindow-height): Fix custom type.
15215
15216 2009-11-19 Kenichi Handa <handa@m17n.org>
15217
15218 * descr-text.el (describe-char-padded-string): Compose with TAB
15219 only if there's a font for CH.
15220 (describe-char): Fix the condition for detecting a trivial composition.
15221
15222 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15223
15224 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15225 more accurate version of the regexp. (Bug#3910)
15226
15227 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15228
15229 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15230
15231 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15232
15233 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15234 (font-setting-change-default-font): Fix typo in docstring.
15235
15236 2009-11-18 Alan Mackenzie <acm@muc.de>
15237
15238 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15239
15240 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15241
15242 * font-setting.el (font-use-system-font): Move ...
15243
15244 * cus-start.el (all): ... to here.
15245
15246 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15247
15248 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15249 Don't set `ad-return-value' if `ad-do-it' doesn't.
15250
15251 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15252 modification time.
15253
15254 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15255
15256 * menu-bar.el: Put "Use system font" in Option-menu.
15257 (menu-bar-options-save): Add font-use-system-font.
15258
15259 * loadup.el: If feature system-font-setting or font-render-setting is
15260 there, load font-setting.
15261
15262 * Makefile.in (ELCFILES): Add font-settings.el.
15263 * font-setting.el: New file.
15264
15265 2009-11-17 Glenn Morris <rgm@gnu.org>
15266
15267 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15268
15269 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15270 Preserve point in the list buffer. (Bug#4939)
15271 Use point-at-eol.
15272 (newsticker--treeview-list-update-highlight)
15273 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15274
15275 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15276
15277 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15278 Remove.
15279
15280 * calc/calc-ext.el (calc-init-extensions): Remove references to
15281 symclip.
15282
15283 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15284
15285 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15286 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15287 `calc-symclip'.
15288
15289 2009-11-16 Kevin Ryde <user42@zip.com.au>
15290
15291 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15292 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15293
15294 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15295 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15296 Ignore trailing spaces by omit-nulls to split-string (fixing
15297 regression from Emacs 21 due to the incompatible split-string
15298 change). (Bug #4928.)
15299
15300 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15301
15302 * vc.el (vc-log-show-limit): Default to 2000.
15303 (vc-print-log-internal): Insert buttons to request more entries
15304 when limiting the output.
15305
15306 * vc-sccs.el (vc-sccs-print-log):
15307 * vc-rcs.el (vc-rcs-print-log):
15308 * vc-cvs.el (vc-cvs-print-log):
15309 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15310 LIMIT is non-nil.
15311
15312 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15313
15314 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15315 error when `tramp-gvfs-dbus-event-vector' is set.
15316 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15317
15318 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15319
15320 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15321
15322 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15323
15324 * net/dbus.el (dbus-unregister-service): New defun.
15325 (dbus-register-property): Register the handlers of
15326 "org.freedesktop.DBus.Properties" for SERVICE.
15327 (dbus-property-handler): Fix docstring.
15328
15329 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15330
15331 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15332 Quote doc string reference in defvaralias as it is not in special form.
15333 (byte-compile-output-docform): Doc fix.
15334
15335 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15336
15337 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15338 (calc-complement-signed-mode): New variables.
15339 (calc-set-mode-line): Add indicator for twos-complements.
15340 (math-format-number): Format twos-complement notation.
15341
15342 * calc/calc-bin.el (calc-word-size): Reset the variables
15343 `math-2-word-size' and `math-half-2-word-size'.
15344 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15345 (calc-symclip): New functions.
15346
15347 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15348
15349 * calc/calc-embed.el (calc-embedded-mode-vars):
15350 Add `calc-complement-signed-mode' to the list of modes.
15351
15352 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15353 (calc-b-oper-keys): Add `calc-symclip' to list.
15354
15355 * calc/calc-ext.el (math-read-number-fancy): Read complement
15356 signed numbers.
15357 (calc-init-extensions): Add binding for `calc-symclip'.
15358 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15359
15360 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15361 `calc-symclip'.
15362 (calc-modes-menu): Add item for twos complement mode.
15363
15364 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15365
15366 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15367
15368 * register.el (jump-to-register, insert-register): Handle Semantic
15369 tags. From commented-out advice in semantic/senator.el.
15370
15371 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15372
15373 * vc.el (vc-log-show-limit): New variable.
15374 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15375 when using a prefix argument.
15376 (vc-print-log-internal): Add new argument LIMIT.
15377
15378 * vc-svn.el (vc-svn-print-log):
15379 * vc-mtn.el (vc-mtn-print-log):
15380 * vc-hg.el (vc-hg-print-log):
15381 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15382 pass it to the log command when set. Make the BUFFER argument
15383 non-optional.
15384
15385 * vc-sccs.el (vc-sccs-print-log):
15386 * vc-rcs.el (vc-rcs-print-log):
15387 * vc-git.el (vc-git-print-log):
15388 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15389 ignore it. Make the BUFFER argument non-optional
15390
15391 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15392
15393 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15394
15395 * dired.el (dired-mode-map): Move encryption items to "Operate"
15396 menu (Bug#4703).
15397
15398 * strokes.el (strokes-update-window-configuration): Make strokes
15399 buffer current before erasing (Bug#4906).
15400
15401 2009-11-15 Juri Linkov <juri@jurta.org>
15402
15403 * simple.el (set-mark-default-inactive): Add :type, :group
15404 and :version. (Bug#4876)
15405
15406 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15407
15408 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15409 (archive-unique-fname): ... here. (Bug#4929)
15410
15411 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15412
15413 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15414 with a real fix.
15415
15416 * novice.el (disabled-command-function): Add useful args.
15417 Setup the help buffer so that [back] works.
15418 Remove redundant call to help-mode.
15419 (disabled-command-function): Use `case'.
15420 (en/disable-command): New function extracted from enable-command.
15421 (enable-command, disable-command): Use it.
15422
15423 2009-11-14 Glenn Morris <rgm@gnu.org>
15424
15425 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15426 constants. (Bug#4913)
15427
15428 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15429
15430 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15431
15432 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15433 defined in C that have no doc-strings. (Bug#1063)
15434
15435 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15436
15437 * cus-edit.el (data, files):
15438 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15439
15440 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15441
15442 * simple.el (shell-command): Doc fix (Bug#4891).
15443
15444 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15445
15446 2009-11-14 Glenn Morris <rgm@gnu.org>
15447
15448 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15449 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15450 If they are already loaded, eval-after-load will do the right thing.
15451
15452 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15453 compiling.
15454
15455 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15456
15457 * simple.el (x-selection-owner-p): Declare.
15458 (read-mail-command): Use custom radio type rather than choice.
15459 (completion-no-auto-exit): Doc fix.
15460
15461 * custom.el (defgroup):
15462 * epg-config.el (epg): Doc fixes.
15463
15464 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15465
15466 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15467 * international/ccl.el (define-ccl-program): Do not purecopy the
15468 docstring, defconst does it anyway.
15469
15470 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15471
15472 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15473 a second time.
15474
15475 * x-dnd.el (x-dnd-maybe-call-test-function):
15476 * window.el (split-window-vertically):
15477 * whitespace.el (whitespace-help-on):
15478 * vc-rcs.el (vc-rcs-consult-headers):
15479 * userlock.el (ask-user-about-lock-help)
15480 (ask-user-about-supersession-help):
15481 * type-break.el (type-break-force-mode-line-update):
15482 * time-stamp.el (time-stamp-conv-warn):
15483 * terminal.el (te-set-output-log, te-more-break, te-filter)
15484 (te-sentinel, terminal-emulator):
15485 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15486 (term-write-input-ring, term-check-source, term-start-output-log):
15487 (term-display-buffer-line, term-dynamic-list-completions):
15488 (term-ansi-make-term, serial-term):
15489 * subr.el (selective-display):
15490 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15491 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15492 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15493 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15494 (speedbar-remove-localized-speedbar-support)
15495 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15496 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15497 (speedbar-buffers-line-directory):
15498 * simple.el (shell-command-on-region, append-to-buffer)
15499 (prepend-to-buffer):
15500 * shadowfile.el (shadow-save-todo-file):
15501 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15502 (scroll-bar-maybe-set-window-start):
15503 * sb-image.el (speedbar-image-dump):
15504 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15505 (load-save-place-alist-from-file):
15506 * ps-samp.el (ps-print-message-from-summary):
15507 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15508 (ps-background-image, ps-begin-job, ps-do-despool):
15509 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15510 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15511 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15512 (pr-call-process, pr-file-list, pr-interface-save):
15513 * novice.el (disabled-command-function)
15514 (enable-command, disable-command):
15515 * mouse.el (mouse-buffer-menu-alist):
15516 * mouse-copy.el (mouse-kill-preserving-secondary):
15517 * macros.el (kbd-macro-query):
15518 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15519 * informat.el (batch-info-validate):
15520 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15521 * hippie-exp.el (try-expand-dabbrev-visible):
15522 * help-mode.el (help-make-xrefs):
15523 * help-fns.el (describe-variable):
15524 * generic-x.el (bat-generic-mode-run-as-comint):
15525 * finder.el (finder-mouse-select):
15526 * find-dired.el (find-dired-sentinel):
15527 * filesets.el (filesets-file-close):
15528 * files.el (list-directory):
15529 * faces.el (list-faces-display, describe-face):
15530 * facemenu.el (list-colors-display):
15531 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15532 * epg.el (epg--process-filter, epg-cancel):
15533 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15534 (epa--read-signature-type):
15535 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15536 (emerge-file-names):
15537 * ehelp.el (electric-helpify):
15538 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15539 * ediff-vers.el (rcs-ediff-view-revision):
15540 * ediff-util.el (ediff-setup):
15541 * ediff-mult.el (ediff-append-custom-diff):
15542 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15543 (ediff-wordify):
15544 * echistory.el (Electric-command-history-redo-expression):
15545 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15546 * disp-table.el (describe-display-table):
15547 * dired.el (dired-find-buffer-nocreate):
15548 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15549 * dabbrev.el (dabbrev--same-major-mode-p):
15550 * chistory.el (list-command-history):
15551 * apropos.el (apropos-documentation):
15552 * allout.el (allout-obtain-passphrase):
15553 (allout-copy-exposed-to-buffer):
15554 (allout-verify-passphrase): Use with-current-buffer.
15555
15556 2009-11-13 Glenn Morris <rgm@gnu.org>
15557
15558 * Makefile.in (ELCFILES): Regenerate.
15559
15560 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15561
15562 * net/dbus.el (dbus-registered-objects-table): Rename from
15563 `dbus-registered-functions-table', because it contains also properties.
15564 (dbus-unregister-object): Unregister also properties.
15565 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15566 Use a timeout of 500 msec, in order to not block.
15567 (dbus-register-property, dbus-property-handler): New defuns.
15568
15569 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15570
15571 * simple.el (minibuffer-default-add-completions): Drop deprecated
15572 4th arg.
15573
15574 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15575
15576 * textmodes/artist.el (artist-mouse-choose-operation):
15577 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15578 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15579 (artist-compute-up-event-key): New function.
15580 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15581
15582 2009-11-13 Kenichi Handa <handa@m17n.org>
15583
15584 * language/japan-util.el: Make sure that the value of jisx0208
15585 property is jisx0208 character.
15586
15587 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15588
15589 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15590 car or each item, not the whole list.
15591
15592 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15593
15594 * minibuffer.el (minibuffer-completion-help):
15595 Use minibuffer-hide-completions.
15596
15597 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15598
15599 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15600 (dired-revert): Use them (bug#4880).
15601
15602 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15603
15604 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15605
15606 2009-11-12 Juri Linkov <juri@jurta.org>
15607
15608 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15609 New functions.
15610 (find-file-literally-at-point): Alias of `ffap-literally'.
15611
15612 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15613
15614 * textmodes/ispell.el (ispell-skip-region-alist):
15615 * textmodes/css-mode.el (auto-mode-alist):
15616 * progmodes/compile.el (auto-mode-alist):
15617 * international/mule.el (ctext-non-standard-encodings-alist)
15618 (ctext-non-standard-encodings-regexp):
15619 * simple.el (shell-command-switch, text-read-only):
15620 * replace.el (occur-mode-map):
15621 * paths.el (rmail-file-name):
15622 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15623 * find-file.el (ff-special-constructs):
15624 * files.el (file-name-handler-alist):
15625 * composite.el: Purecopy strings.
15626
15627 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15628
15629 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15630
15631 * widget.el (define-widget): Purecopy the docstring.
15632 * international/mule-cmds.el (charset): Do not purecopy the
15633 docstring here, define-widget does it.
15634
15635 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15636 * textmodes/bibtex-style.el (auto-mode-alist):
15637 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15638 * progmodes/compile.el (compile-command):
15639 * language/korea-util.el (default-korean-keyboard):
15640 * international/mule-conf.el (file-coding-system-alist):
15641 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15642 * tooltip.el (tooltip-frame-parameters):
15643 * newcomment.el (comment-end, comment-padding):
15644 * dired.el (dired-trivial-filenames):
15645 * comint.el (comint-file-name-prefix): Purecopy initial values.
15646
15647 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15648
15649 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15650 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15651 `tramp-unload'.
15652 (tramp-advice-make-auto-save-file-name)
15653 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15654 after removing the advice.
15655
15656 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15657
15658 * progmodes/grep.el (grep-regexp-alist):
15659 * international/mule-cmds.el (iso-2022-control-alist):
15660 * emacs-lisp/timer.el (timer-duration-words):
15661 * subr.el (version-separator, version-regexp-alist):
15662 * minibuffer.el (completion-styles-alist):
15663 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15664 Change defvars to defconsts.
15665
15666 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15667 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15668 * international/mule-conf.el: Allow to be byte compiled.
15669
15670 * international/mule.el (define-charset): Purecopy props.
15671 (load-with-code-conversion): Purecopy doc string and file name.
15672 (put-charset-property): Purecopy strings.
15673 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15674
15675 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15676 (define-char-code-property): Correctly purecopy the table.
15677
15678 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15679
15680 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15681
15682 * subr.el (add-hook): Purecopy strings.
15683 (eval-after-load): Purecopy load-history-regexp and the form.
15684
15685 * custom.el (custom-declare-group): Purecopy load-file-name.
15686
15687 * subr.el (menu-bar-separator): New defconst.
15688 * net/eudc.el (eudc-tools-menu):
15689 * international/mule-cmds.el (set-coding-system-map)
15690 (mule-menu-keymap):
15691 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15692 * vc-hooks.el (vc-menu-map):
15693 * replace.el (occur-mode-map):
15694 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15695 (menu-bar-edit-menu, menu-bar-goto-menu)
15696 (menu-bar-custom-menu, menu-bar-showhide-menu)
15697 (menu-bar-options-menu, menu-bar-tools-menu)
15698 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15699 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15700 (menu-bar-help-menu):
15701 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15702 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15703
15704 * term/x-win.el (x-gtk-stock-map):
15705 * progmodes/vera-mode.el (auto-mode-alist):
15706 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15707 (inferior-lisp-program, inferior-lisp-load-command):
15708 * progmodes/hideshow.el (hs-special-modes-alist):
15709 * progmodes/gud.el (same-window-regexps):
15710 * progmodes/grep.el (grep-program, find-program, xargs-program):
15711 * net/telnet.el (same-window-regexps):
15712 * net/rlogin.el (same-window-regexps):
15713 * language/ethiopic.el (font-ccl-encoder-alist):
15714 * vc-sccs.el (vc-sccs-master-templates):
15715 * vc-rcs.el (vc-rcs-master-templates):
15716 * subr.el (cl-assertion-failed):
15717 * simple.el (next-error-overlay-arrow-position):
15718 * lpr.el (lpr-command):
15719 * locate.el (locate-ls-subdir-switches):
15720 * info.el (same-window-regexps, info)
15721 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15722 * image-mode.el (image-mode, auto-mode-alist):
15723 * hippie-exp.el (hippie-expand-ignore-buffers):
15724 * format.el (format-alist):
15725 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15726 (find-name-arg):
15727 * facemenu.el (facemenu-keybindings):
15728 * dired.el (dired-listing-switches, dired-chown-program):
15729 * diff.el (diff-switches, diff-command):
15730 * cus-edit.el (same-window-regexps):
15731 * bindings.el (mode-line-mule-info)
15732 (mode-line-buffer-identification): Purecopy strings.
15733
15734 2009-11-11 Juri Linkov <juri@jurta.org>
15735
15736 * simple.el (dired-get-filename) <declare-function>:
15737 Tell the byte-compiler about dired-get-filename.
15738 (shell-command): In Dired mode, get filename from the current line
15739 as the default value.
15740
15741 2009-11-10 Glenn Morris <rgm@gnu.org>
15742
15743 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15744 * calendar/holidays.el, progmodes/cperl-mode.el:
15745 Update x-popup-menu declarations.
15746
15747 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15748 (list-load-path-shadows): Use dolist.
15749 (list-load-path-shadows): Use with-current-buffer.
15750
15751 2009-11-10 Juri Linkov <juri@jurta.org>
15752
15753 * minibuffer.el (read-file-name): Support a list of default values
15754 in `default-filename'. Use the first file name where only one
15755 element is required. Doc fix.
15756
15757 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15758
15759 * net/dbus.el (dbus-unregister-object): Release service, if no
15760 other method is registered for it.
15761
15762 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15763
15764 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15765 bookmark-sort-flag is non-nil (Bug#4653).
15766
15767 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15768
15769 * emulation/cua-base.el: Add CUA property to some CC mode commands
15770 (Bug#4100).
15771
15772 2009-11-08 Kevin Ryde <user42@zip.com.au>
15773
15774 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15775 at end of sentence (Bug#4818).
15776
15777 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15778
15779 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15780 Handle "see declaration of" MSFT statements (Bug#4100).
15781
15782 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15783
15784 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15785 (tramp-advice-file-expand-wildcards): Unload via
15786 `ad-remove-advice'.
15787
15788 * net/trampver.el: Update release number.
15789
15790 2009-11-08 Kevin Ryde <user42@zip.com.au>
15791
15792 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15793 `ad-do-it'.
15794
15795 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15796
15797 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15798 in order to keep context in SELinux.
15799
15800 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15801
15802 * dired-aux.el (dired-query): Place cursor in echo area and allow
15803 C-g.
15804
15805 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15806 menu item if not on a directory (Bug#4701).
15807
15808 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15809
15810 Sync with Tramp 2.1.17.
15811
15812 * net/tramp.el (tramp-handle-copy-directory): Don't use
15813 `file-remote-p' (due to compatibility).
15814
15815 * net/tramp-compat.el (tramp-compat-copy-directory)
15816 (tramp-compat-delete-directory): New defuns.
15817
15818 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15819 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15820 Use `tramp-compat-delete-directory'.
15821
15822 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15823 (tramp-smb-handle-delete-directory):
15824 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15825
15826 * net/trampver.el: Update release number.
15827
15828 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15829
15830 * tar-mode.el (tar-copy): Call write-region on the right buffer
15831 (Bug#4857).
15832
15833 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15834 by hand, if necessary (Bug#4878).
15835
15836 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15837
15838 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15839 align size column (Bug#4839).
15840
15841 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15842 statement.
15843
15844 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15845
15846 * progmodes/ld-script.el (auto-mode-alist):
15847 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15848
15849 * cus-face.el (custom-declare-face): Purecopy face spec.
15850
15851 2009-11-06 Kenichi Handa <handa@m17n.org>
15852
15853 * international/uni-bidi.el: Re-generated.
15854 * international/uni-category.el: Re-generated.
15855 * international/uni-combining.el: Re-generated.
15856 * international/uni-mirrored.el: Re-generated.
15857
15858 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15859
15860 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15861 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15862 (tex-start-options, slitex-run-command, latex-run-command)
15863 (tex-run-command, tex-directory):
15864 * textmodes/ispell.el (ispell-html-skip-alists)
15865 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15866 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15867 (adaptive-fill-regexp):
15868 * textmodes/dns-mode.el (auto-mode-alist):
15869 * progmodes/python.el (interpreter-mode-alist):
15870 * progmodes/etags.el (tags-compression-info-list):
15871 * progmodes/etags.el (tags-file-name):
15872 * net/browse-url.el (browse-url-galeon-program)
15873 (browse-url-firefox-program):
15874 * mail/sendmail.el (mail-signature-file)
15875 (mail-citation-prefix-regexp):
15876 * international/mule-conf.el (eight-bit):
15877 * international/latexenc.el (latex-inputenc-coding-alist):
15878 * international/fontset.el (x-pixel-size-width-font-regexp):
15879 * emacs-lisp/warnings.el (warning-type-format):
15880 * emacs-lisp/trace.el (trace-buffer):
15881 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15882 (emacs-lisp-mode-map):
15883 * calendar/holidays.el (holiday-solar-holidays)
15884 (holiday-bahai-holidays, holiday-islamic-holidays)
15885 (holiday-christian-holidays, holiday-hebrew-holidays)
15886 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15887 (hebrew-holidays-1, holiday-oriental-holidays)
15888 (holiday-general-holidays):
15889 * x-dnd.el (x-dnd-known-types):
15890 * tool-bar.el (tool-bar):
15891 * startup.el (site-run-file):
15892 * shell.el (shell-dumb-shell-regexp):
15893 * rfn-eshadow.el (file-name-shadow-tty-properties)
15894 (file-name-shadow-properties):
15895 * paths.el (remote-shell-program, news-directory):
15896 * mouse.el ([C-down-mouse-3]):
15897 * menu-bar.el (menu-bar-tools-menu):
15898 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15899 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15900 (jka-compr-compression-info-list):
15901 * isearch.el (search-whitespace-regexp):
15902 * image-file.el (image-file-name-extensions):
15903 * find-dired.el (find-ls-option):
15904 * files.el (directory-listing-before-filename-regexp)
15905 (directory-free-space-args, insert-directory-program)
15906 (list-directory-brief-switches, magic-fallback-mode-alist)
15907 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15908 (automount-dir-prefix):
15909 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15910 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15911 (face-font-registry-alternatives, face-font-registry-alternatives)
15912 (face-font-family-alternatives):
15913 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15914 (facemenu-foreground-menu, facemenu-face-menu):
15915 * epa-hook.el (epa-file-name-regexp):
15916 * dnd.el (dnd-protocol-alist):
15917 * textmodes/rst.el (auto-mode-alist):
15918 * button.el (default-button): Purecopy strings.
15919
15920 2009-11-06 Glenn Morris <rgm@gnu.org>
15921
15922 * Makefile.in (ELCFILES): Update.
15923
15924 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15925
15926 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15927 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15928
15929 * nxml/xsd-regexp.el (xsdre-gen-categories):
15930 * nxml/xmltok.el (xmltok-parse-entity):
15931 * nxml/rng-parse.el (rng-parse-validate-file):
15932 * nxml/rng-maint.el (rng-format-manual)
15933 (rng-manual-output-force-new-line):
15934 * nxml/rng-loc.el (rng-save-schema-location-1):
15935 * nxml/rng-cmpct.el (rng-c-parse-file):
15936 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15937 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15938
15939 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15940
15941 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15942 Remove extra save-excursions and make-variable-buffer-local's.
15943 Suggested by Stefan Monnier.
15944
15945 (verilog-getopt-file, verilog-module-inside-filename-p)
15946 (verilog-set-define): Merge GNU 1.35 and repair changes from
15947 switching to using with-current-buffer.
15948
15949 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15950 being treated as a number and confusing AUTORESET.
15951 Reported by Dan Dever.
15952
15953 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15954 Add verilog-auto-ignore-concat to fix backward compatibility with
15955 older verilog-modes. Reported by Dan Katz.
15956
15957 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15958 containing closing anchors "...$".
15959
15960 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15961 Reported by Wade Smith.
15962
15963 (verilog-batch-execute-func): Comment on function usage.
15964
15965 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15966
15967 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15968 for labels.
15969
15970 (verilog-label-re, verilog-calc-1): Support proper indent of named
15971 asserts.
15972
15973 (verilog-backward-token, verilog-basic-complete-re)
15974 (verilog-beg-of-statement, verilog-indent-re): Support proper
15975 indent of the assert statement at the beginning of a block of text.
15976
15977 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15978 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15979 tokens as begins.
15980
15981 2009-11-05 Glenn Morris <rgm@gnu.org>
15982
15983 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15984 Emacs 19. (Bug#1531)
15985 (byte-compile-fix-header): Update for the above change.
15986 Drop test for epoch::version.
15987
15988 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15989 * cus-dep.el (custom-make-dependencies):
15990 * finder.el (finder-compile-keywords):
15991 Use autoload-rubric's feature argument.
15992
15993 * calendar/diary-lib.el (top-level): Make load behave more like require.
15994
15995 * vc-git.el (vc-git-stash-map): Move definition before use.
15996
15997 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15998
15999 * custom.el (custom-declare-group): Purecopy standard-value.
16000 (custom-declare-group): Purecopy custom-prefix.
16001
16002 * international/mule.el (load-with-code-conversion):
16003 Call do-after-load-evaluation unconditionally.
16004
16005 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16006
16007 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16008
16009 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16010
16011 2009-11-04 Glenn Morris <rgm@gnu.org>
16012
16013 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16014 (byte-compile-compatibility): Remove option.
16015 (byte-compile-close-variables, byte-compile-fix-header)
16016 (byte-compile-insert-header, byte-compile-output-docform)
16017 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16018 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16019 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16020 (byte-compile-insert, byte-compile-defun):
16021 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16022 (byte-defop-compiler19): Remove.
16023 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16024 used by anything. Replace all calls with byte-defop-compiler.
16025
16026 2009-11-04 Juri Linkov <juri@jurta.org>
16027
16028 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16029 (menu-bar-options-menu): Don't quote the `prop' arg of
16030 `menu-bar-make-mm-toggle'.
16031
16032 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16033
16034 * calendar/calendar.el (cal-loaddefs):
16035 * calendar/diary-lib.el (diary-loaddefs):
16036 * calendar/holidays.el (hol-loaddefs):
16037 * eshell/esh-module.el (esh-groups): Load rather than require.
16038
16039 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16040
16041 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16042 point-min==1.
16043 (todo-top-priorities): Only display-buffer when called interactively.
16044 (todo-item-start): Don't save excursion point.
16045 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16046 (todo-insert-item-here, todo-file-item, todo-remove-item):
16047 Adjust uses of todo-item-start and todo-item-end.
16048
16049 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16050 (autoload-rubric): Don't use any more.
16051
16052 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16053 and only put a prop if it is non-nil.
16054
16055 2009-11-03 Juri Linkov <juri@jurta.org>
16056
16057 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16058 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16059
16060 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16061 and "Menu" to make top-level menu item visually one unit (like
16062 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16063 multi-word menu items). Fix :help string for quit-window.
16064
16065 2009-11-03 Glenn Morris <rgm@gnu.org>
16066
16067 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16068 (byte-compile-file-form-define-abbrev-table)
16069 (byte-compile-file-form-custom-declare-variable)
16070 (byte-compile-variable-ref, byte-compile-defvar):
16071 Whether or not a warning is enabled should only affect whether we issue
16072 the warning, not whether or not we collect the relevant data.
16073 Eg warnings can be turned on and off throughout the course of a file.
16074
16075 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16076 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16077
16078 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16079
16080 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16081 * play/mpuz.el (mpuz-create-buffer):
16082 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16083 (lm-print-y,s,noise, lm-print-w0, lm-init):
16084 * play/gomoku.el (gomoku-prompt-for-move):
16085 * play/fortune.el (fortune-in-buffer):
16086 * play/dissociate.el (dissociated-press):
16087 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16088 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16089 * mail/supercite.el (sc-eref-show):
16090 * mail/smtpmail.el (smtpmail-send-it):
16091 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16092 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16093 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16094 (rmail-summary-goto-msg, rmail-summary-expunge)
16095 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16096 (rmail-summary-add-label, rmail-summary-output-menu)
16097 (rmail-summary-output-body):
16098 * mail/rfc822.el (rfc822-addresses):
16099 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16100 * mail/mailpost.el (post-mail-send-it):
16101 * mail/hashcash.el (hashcash-generate-payment):
16102 * mail/feedmail.el (feedmail-run-the-queue)
16103 (feedmail-queue-send-edit-prompt-help-first)
16104 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16105 (feedmail-deduce-address-list):
16106 * eshell/esh-ext.el (eshell-remote-command):
16107 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16108 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16109 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16110 (viper-save-string-in-file, viper-valid-marker):
16111 * emulation/viper-keym.el (viper-toggle-key):
16112 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16113 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16114 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16115 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16116 (viper-exec-form-in-emacs, viper-brac-function):
16117 * emulation/viper.el (viper-delocalize-var):
16118 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16119 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16120 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16121 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16122 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16123 * emulation/edt.el (edt-electric-helpify):
16124 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16125 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16126 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16127 (cua-indent-to-global-mark-column):
16128 * calendar/diary-lib.el (calendar-mark-1):
16129 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16130 Use with-current-buffer.
16131 * emulation/viper.el (viper-delocalize-var): Use dolist.
16132
16133 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16134
16135 * comint.el (comint-replace-by-expanded-history-before-point):
16136 Replace !! with the previous input string literally (Bug#1795).
16137
16138 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16139
16140 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16141 to be made up of whitespace.
16142
16143 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16144
16145 * minibuffer.el (read-file-name): Don't use file dialogs for
16146 remote directories (Bug#99).
16147
16148 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16149
16150 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16151
16152 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16153
16154 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16155 instead of deleting the window or frame.
16156
16157 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16158
16159 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16160 Support face colors.
16161
16162 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16163 New function. Support face colors (Bug#1168).
16164 (tex-common-initialization): Use it.
16165
16166 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16167 mode allows it (Bug#1168).
16168
16169 2009-10-31 Juri Linkov <juri@jurta.org>
16170
16171 * facemenu.el (list-colors-display): Don't mark buffer as
16172 modified (Bug#3948).
16173
16174 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16175
16176 * international/mule-diag.el (list-character-sets-1):
16177 Minor message fix (Bug#3526).
16178
16179 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16180 Fix face property (Bug#4834).
16181 (etags-list-tags, etags-tags-apropos-additional)
16182 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16183 property.
16184
16185 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16186 items.
16187
16188 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16189
16190 * textmodes/two-column.el (2C-split):
16191 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16192 * textmodes/tex-mode.el (tex-set-buffer-directory):
16193 * textmodes/spell.el (spell-region, spell-string):
16194 * textmodes/reftex.el (reftex-erase-buffer):
16195 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16196 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16197 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16198 (reftex-select-item):
16199 * textmodes/reftex-ref.el (reftex-label-info-update)
16200 (reftex-offer-label-menu):
16201 * textmodes/reftex-index.el (reftex-index-change-entry)
16202 (reftex-index-phrases-info):
16203 * textmodes/reftex-global.el (reftex-create-tags-file)
16204 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16205 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16206 (reftex-view-crossref-from-bibtex):
16207 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16208 (reftex-extract-bib-entries-from-thebibliography)
16209 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16210 * textmodes/refbib.el (r2b-capitalize-title):
16211 (r2b-convert-buffer, r2b-help):
16212 * textmodes/page-ext.el (pages-directory)
16213 (pages-directory-goto-with-mouse):
16214 * textmodes/bibtex.el (bibtex-validate-globally):
16215 * textmodes/bib-mode.el (bib-capitalize-title):
16216 * textmodes/artist.el (artist-clear-buffer, artist-system):
16217 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16218 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16219 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16220 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16221 (xscheme-send-control-g-interrupt, xscheme-start-process)
16222 (xscheme-process-sentinel, xscheme-cd):
16223 * progmodes/verilog-mode.el (verilog-read-always-signals)
16224 (verilog-set-define, verilog-getopt-file)
16225 (verilog-module-inside-filename-p):
16226 * progmodes/sh-script.el:
16227 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16228 (python-pdbtrack-grub-for-buffer, python-execute-file):
16229 * progmodes/octave-inf.el (inferior-octave):
16230 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16231 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16232 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16233 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16234 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16235 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16236 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16237 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16238 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16239 (idlwave-shell-examine-display, idlwave-shell-run-region)
16240 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16241 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16242 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16243 (idlwave-help-get-help-buffer):
16244 * progmodes/gud.el (gud-basic-call, gud-find-class)
16245 (gud-tooltip-activate-mouse-motions-if-enabled):
16246 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16247 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16248 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16249 (ebrowse-tags-next-file):
16250 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16251 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16252 (ebnf-eps-finish-and-write):
16253 * progmodes/cpp.el (cpp-edit-save):
16254 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16255 * progmodes/cc-defs.el (c-emacs-features):
16256 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16257 (antlr-directory-dependencies):
16258 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16259 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16260 (ada-find-any-references, ada-make-filename-from-adaname)
16261 (ada-make-body-gnatstub):
16262 * obsolete/rnews.el (news-list-news-groups):
16263 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16264 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16265 * net/rcirc.el (rcirc-debug):
16266 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16267 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16268 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16269 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16270 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16271 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16272 (newsticker--treeview-list-clear-highlight)
16273 (newsticker--treeview-list-update-highlight)
16274 (newsticker--treeview-list-highlight-start)
16275 (newsticker--treeview-tree-update-highlight)
16276 (newsticker--treeview-get-selected-item)
16277 (newsticker-treeview-mark-list-items-old)
16278 (newsticker--treeview-set-current-node):
16279 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16280 * net/newst-backend.el (newsticker--get-news-by-funcall)
16281 (newsticker--get-news-by-wget, newsticker--image-get)
16282 (newsticker--image-sentinel):
16283 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16284 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16285 (eudc-ph-close-session):
16286 * net/eudc.el (eudc-save-options):
16287 * language/thai-word.el (thai-update-word-table):
16288 * language/japan-util.el (japanese-string-conversion):
16289 * international/titdic-cnv.el (tsang-quick-converter)
16290 (ziranma-converter, ctlau-converter):
16291 * international/mule-cmds.el (describe-language-environment):
16292 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16293 (skkdic-convert-postfix, skkdic-convert-prefix):
16294 (skkdic-convert-okuri-nasi, skkdic-convert):
16295 * emacs-lisp/re-builder.el (reb-update-overlays):
16296 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16297 * emacs-lisp/gulp.el (gulp-send-requests):
16298 * emacs-lisp/find-gc.el (trace-call-tree):
16299 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16300 (eieio-describe-generic):
16301 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16302 * emacs-lisp/edebug.el (edebug-outside-excursion):
16303 * emacs-lisp/debug.el (debugger-make-xrefs):
16304 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16305 * emacs-lisp/chart.el (chart-new-buffer):
16306 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16307 Use with-current-buffer.
16308 * textmodes/artist.el (artist-system): Don't call
16309 copy-sequence on a fresh string.
16310 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16311
16312 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16313
16314 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16315 is no item to edit. (Bug#4820)
16316 (todo-top-priorities): Restore point and restore narrowing in Todo
16317 buffer. (Bug#4820)
16318
16319 2009-10-31 Glenn Morris <rgm@gnu.org>
16320
16321 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16322 (comint-last-output-start, comint-last-input-start)
16323 (comint-last-input-end): Don't defvar when compiling.
16324 (ange-ftp-process-file): Use bound-and-true-p.
16325
16326 * pcmpl-rpm.el (top-level): Move provide statement to end.
16327 (pcmpl-rpm): Remove unused custom group.
16328
16329 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16330
16331 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16332
16333 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16334 (byte-compile-warnings): Add `constants' as an option.
16335 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16336 (display-call-tree): Update for byte-compile-fdefinition possibly
16337 returning `(macro lambda ...)'. (Bug#4778)
16338 (byte-compile-variable-ref, byte-compile-setq-default):
16339 Respect `constants' member of byte-compile-warnings.
16340
16341 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16342
16343 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16344 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16345 to "submit:".
16346
16347 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16348
16349 * textmodes/ispell.el (ispell-skip-region-alist):
16350 * international/mule-conf.el (eight-bit):
16351 * international/fontset.el (font-encoding-alist):
16352 * startup.el (pure-space-overflow-message):
16353 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16354 * paths.el (gnus-nntp-service, rmail-spool-directory)
16355 (term-file-prefix):
16356 * files.el (save-some-buffers-action-alist):
16357 * cmuscheme.el (same-window-buffer-names):
16358 * ielm.el (same-window-buffer-names):
16359 * shell.el (same-window-buffer-names):
16360 * mail/sendmail.el (same-window-buffer-names):
16361 * progmodes/inf-lisp.el (same-window-buffer-names):
16362 * bindings.el (mode-line-client)
16363 (mode-line-column-line-number-mode-map):
16364 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16365 (tibetan-precomposed-regexp): Purecopy string arguments.
16366
16367 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16368
16369 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16370 (calcDigit-nondigit):
16371 * calc/calc-yank.el (calc-copy-to-buffer):
16372 * calc/calc-units.el (calc-invalidate-units-table):
16373 * calc/calc-trail.el (calc-trail-yank):
16374 * calc/calc-store.el (calc-insert-variables):
16375 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16376 * calc/calc-prog.el (calc-read-parse-table):
16377 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16378 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16379 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16380 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16381 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16382 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16383 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16384 * calc/calc-ext.el (calc-realign):
16385 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16386 (calc-embedded-finish-edit, calc-embedded-make-info)
16387 (calc-embedded-finish-command, calc-embedded-stack-change):
16388 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16389
16390 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16391 shell-dynamic-complete-filename in preference to
16392 comint-dynamic-complete-filename.
16393
16394 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16395 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16396 Don't consider whether the display supports colors.
16397 (bookmark-import-new-list): Use dolist.
16398 (bookmark-bmenu-mode-map): Move initialization into declaration.
16399 (bookmark-bmenu-list): Use dolist, simplify.
16400 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16401 (menu-bar-final-items): Use push.
16402
16403 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16404
16405 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16406 it works on remote files.
16407 (vc-hg-diff): Don't pass any `--cwd' argument.
16408
16409 2009-10-27 Kevin Ryde <user42@zip.com.au>
16410
16411 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16412 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16413 (Further to Bug#3921).
16414
16415 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16416
16417 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16418 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16419 calling `tramp-imap-put-file'. Add file size to the call.
16420 (tramp-imap-get-file-entries): Compute also user name, file size,
16421 and date.
16422 (tramp-imap-handle-insert-directory): Insert uid and gid.
16423 (tramp-imap-handle-file-attributes): Transform uid and gid
16424 according to `id-format'.
16425 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16426 size in header X-Size.
16427
16428 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16429
16430 * simple.el (transpose-subr): Give clearer error when the mark
16431 is not set. (Bug#4807)
16432
16433 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16434
16435 * net/tramp.el (tramp-perl-file-truename): New defconst.
16436 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16437 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16438 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16439 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16440
16441 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16442 Ignore `dired-call-process'.
16443 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16444
16445 2009-10-26 Julian Scheid <julians37@gmail.com>
16446
16447 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16448 (tramp-get-remote-readlink): New defun.
16449 (tramp-handle-file-truename): Use it.
16450 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16451 file exists if cache value present.
16452 (tramp-check-cached-permissions): New defun.
16453 (tramp-handle-file-readable-p): Use it.
16454 (tramp-handle-file-writable-p): Likewise.
16455 (tramp-handle-file-executable-p): Likewise.
16456 (tramp-handle-file-name-all-completions): Try using Perl to get
16457 partial completions. When perl not available, combine `cd' and
16458 `ls' into single remote operation and use shell expansion to get
16459 partial remote directory contents. Set `file-exists-p' cache for
16460 directory and any files returned by ls. Change cache handling to
16461 support partial directory contents. Use error message emitted by
16462 remote `cd' or Perl code for local tramp-error.
16463 (tramp-do-copy-or-rename-file-directly): Avoid separate
16464 tramp-send-command-and-check call.
16465 (tramp-handle-process-file): Merge three remote ops into one.
16466 Do not flush all caches when `process-file-side-effects' is set.
16467 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16468 file-attributes shows uid/gid to be set already.
16469
16470 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16471
16472 * textmodes/tex-mode.el (tex-dvi-view-command)
16473 (tex-show-queue-command, tex-open-quote):
16474 * progmodes/ruby-mode.el (auto-mode-alist)
16475 (interpreter-mode-alist): Purecopy strings.
16476
16477 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16478
16479 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16480 string for the hook, keymap and abbrev table.
16481
16482 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16483
16484 * x-dnd.el (x-dnd-xdnd-to-action):
16485 * startup.el (fancy-startup-text, fancy-about-text): Change to
16486 defconst from defvar.
16487
16488 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16489
16490 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16491 Purecopy initialization strings.
16492
16493 * mail/sendmail.el (mail-header-separator)
16494 (mail-personal-alias-file):
16495 * mail/rmail.el (rmail-default-dont-reply-to-names)
16496 (rmail-ignored-headers, rmail-retry-ignored-headers)
16497 (rmail-highlighted-headers, rmail-secondary-file-directory)
16498 (rmail-secondary-file-regexp):
16499 * files.el (null-device, file-name-invalid-regexp)
16500 (locate-dominating-stop-dir-regexp)
16501 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16502 (interpreter-mode-alist): Use mapcar instead of mapc.
16503
16504 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16505
16506 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16507 (completion-ignored-extensions):
16508 (debug-ignored-errors): Purecopy strings.
16509
16510 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16511
16512 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16513 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16514 (pcomplete--here): Use push.
16515
16516 * subr.el (all-completions): Declare the 4th arg obsolete.
16517
16518 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16519
16520 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16521 (pcomplete-unquote-argument): New function.
16522 (pcomplete--common-suffix): Always pay attention to case.
16523 (pcomplete--table-subvert): Quote and unquote the text.
16524 (pcomplete--common-quoted-suffix): New function.
16525 (pcomplete-std-complete): Use it and pcomplete-begin.
16526
16527 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16528 we're inside a dedicated or minibuffer window.
16529
16530 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16531
16532 * bookmark.el: Update documentation, especially documentation
16533 of `bookmark-alist' and of the bookmark file format.
16534 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16535
16536 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16537
16538 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16539 keybindings apply to the mail buffer (Bug#4003). Shrink help
16540 window to buffer.
16541
16542 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16543 (global-whitespace-mode, global-whitespace-newline-mode)
16544 (whitespace-toggle-options, global-whitespace-toggle-options):
16545 Doc fix (Bug#3660).
16546
16547 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16548 of xmltok-start before the end tag was inserted (Bug#2840).
16549
16550 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16551 patterns that are preceded by an open-paren (Bug#1320).
16552
16553 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16554
16555 * files.el (delete-directory): Delete symlinks to directories with
16556 delete-file (Bug#4739).
16557
16558 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16559
16560 * vc.el (vc-backend-for-registration): Rename from
16561 vc-get-backend-for-registration. Update callers.
16562
16563 * international/mule-cmds.el (set-language-info-alist):
16564 Purecopy lang-env.
16565 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16566 (charset): Purecopy the name.
16567 (define-char-code-property): Purecopy string arguments.
16568
16569 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16570 Purecopy string arguments.
16571
16572 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16573 * ediff-hook.el (menu-bar-ediff-menu):
16574 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16575 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16576
16577 2009-10-24 Glenn Morris <rgm@gnu.org>
16578
16579 * comint.el (comint-dynamic-list-completions):
16580 * term.el (term-dynamic-list-completions): Use choose-completion rather
16581 than obsolete alias mouse-choose-completion.
16582
16583 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16584 file-cache-choose-completion.
16585 (file-cache-choose-completion): Handle an optional event argument.
16586 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16587
16588 * progmodes/octave-mod.el (octave-complete-symbol):
16589 Use choose-completion if mouse-choose-completion is ever removed.
16590
16591 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16592 use.
16593
16594 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16595 compiler.
16596
16597 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16598
16599 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16600
16601 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16602 Ignore `pred' now that we receive one.
16603 Handle test-completion specially.
16604
16605 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16606
16607 * vc.el (vc-responsible-backend): Throw an error if not backend is
16608 found. Remove the REGISTER argument. Move the code dealing with
16609 REGISTER ...
16610 (vc-get-backend-for-registration): ... here. New function.
16611 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16612 of vc-responsible-backend, pass the file name instead of the
16613 directory name.
16614
16615 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16616
16617 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16618 New funs.
16619 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16620 (pcomplete-comint-setup): Don't modify a global var via
16621 accidental side-effects.
16622 (pcomplete-shell-setup): Adjust call accordingly.
16623 (pcomplete-parse-comint-arguments): Use push.
16624
16625 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16626
16627 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16628 Allow uncapitalized info node names (Bug#3921).
16629
16630 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16631 to the DEBUG file (Bug#3781).
16632
16633 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16634
16635 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16636 dictionary entry (Bug#4579).
16637
16638 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16639
16640 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16641 from `rfn-eshadow-update-overlay-hook' when unloading.
16642 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16643 "rsyncc". Adjust doc string.
16644 (tramp-temp-buffer-file-name): New buffer-local defvar.
16645 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16646 Keep temporary file when indicated by method ("rsync" and
16647 "rsyncc").
16648 (tramp-handle-write-region): Handle APPEND.
16649 (tramp-delete-temp-file-function): New defun. Added to
16650 `kill-buffer-hook'.
16651
16652 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16653
16654 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16655
16656 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16657
16658 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16659 (color-name-rgb-alist, tty-standard-colors)
16660 (tty-color-mode-alist): Change to defconst.
16661
16662 * simple.el (mark-inactive): Purecopy message.
16663
16664 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16665 (global-map, yank-menu):
16666 * textmodes/ispell.el (ispell-menu-map):
16667 * net/eudc.el (eudc-tools-menu):
16668 * international/mule-cmds.el (describe-language-environment-map)
16669 (setup-language-environment-map, set-coding-system-map)
16670 (mule-menu-keymap):
16671 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16672 * replace.el (occur-mode-map):
16673 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16674
16675 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16676
16677 * calc/calc.el (math-read-number, math-read-number-simple):
16678 Use `save-match-data'.
16679
16680 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16681
16682 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16683 rather than fiddling with global-map bindings, since it should only
16684 affect per-terminal settings.
16685 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16686
16687 * minibuffer.el (completion-table-with-terminator): Allow to specify
16688 the terminator-regexp.
16689
16690 * simple.el (switch-to-completions): Look for *Completions* in other
16691 frames as well.
16692
16693 * pcomplete.el: Allow the use of completion-tables.
16694 (pcomplete-std-complete): New command.
16695 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16696 (pcomplete--here): Use a function for `form' rather than an expression,
16697 so it can be byte-compiled.
16698 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16699 Add edebug declaration.
16700 (pcomplete-show-completions): Remove unused var `curbuf'.
16701 (pcomplete-do-complete, pcomplete-stub):
16702 Don't assume `completions' is a list of strings any more.
16703
16704 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16705
16706 * find-dired.el (find-name-arg): Fix typo in docstring.
16707
16708 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16709
16710 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16711 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16712
16713 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16714 pcomplete-entries.
16715
16716 * comint.el (comint-read-input-ring, comint-write-input-ring)
16717 (comint-substitute-in-file-name)
16718 (comint-dynamic-complete-as-filename)
16719 (comint-dynamic-simple-complete)
16720 (comint-dynamic-list-filename-completions)
16721 (comint-dynamic-list-completions)
16722 (comint-redirect-results-list-from-process): Minor simplifications.
16723
16724 2009-10-21 Kevin Ryde <user42@zip.com.au>
16725
16726 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16727 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16728 the first form. And insert a blank line after ";;; Code" since
16729 that's usual style. (Bug#4612)
16730
16731 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16732
16733 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16734
16735 * minibuffer.el (completion-table-with-terminator): Properly implement
16736 boundaries, in case `terminator' appears in the suffix.
16737 (completion--embedded-envvar-table): Don't return boundaries if
16738 there's no valid completion. Simplify.
16739 (completion-file-name-table): New completion table extracted from
16740 completion--file-name-table.
16741 (completion--file-name-table): Use it.
16742 (read-file-name-predicate): Declare obsolete.
16743 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16744 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16745 completion-file-name-table, and use the `pred' argument.
16746 * files.el (locate-file-completion-table): Use the `pred' arg rather
16747 than read-file-name-predicate.
16748 (abbreviate-file-name): Use \` rather than ^ for BOS.
16749
16750 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16751
16752 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16753 vc-responsible-backend to register, it causes problems.
16754
16755 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16756
16757 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16758
16759 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16760
16761 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16762 (tramp-smb-handle-file-attributes): Use it.
16763 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16764 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16765 `mapcar'. Use `tramp-smb-get-stat-capability'.
16766 Add `dired-filename' text properties.
16767 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16768 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16769 version.
16770
16771 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16772
16773 * subr.el (read-key-delay): Reduce to 0.01.
16774 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16775 (bug#4751).
16776
16777 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16778
16779 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16780
16781 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16782 (Info-menu): Remove unused vars `last' and `completions'.
16783 (Info-index-nodes): Remove unused var `node'.
16784
16785 * info.el (Info-complete-menu-item): Use complete-with-action.
16786
16787 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16788
16789 Make vc-annotate work through copies and renames.
16790 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16791 Return the file name too.
16792 (vc-annotate-revision-at-line)
16793 (vc-annotate-find-revision-at-line)
16794 (vc-annotate-revision-previous-to-line)
16795 (vc-annotate-show-log-revision-at-line): Update to get the file
16796 name from vc-annotate-extract-revision-at-line.
16797 (vc-annotate-show-diff-revision-at-line-internal): Change the
16798 argument to mean whether to show a file diff or not. Get the file
16799 name from vc-annotate-extract-revision-at-line.
16800 (vc-annotate-show-diff-revision-at-line):
16801 Update vc-annotate-show-diff-revision-at-line call.
16802 (vc-annotate-warp-revision): Add an optional file argument.
16803
16804 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16805 (vc-git-annotate-extract-revision-at-line): Also return the file
16806 name if found.
16807
16808 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16809 command. Remove unused code.
16810 (vc-hg-annotate-re): Update to match --follow output.
16811 (vc-hg-annotate-extract-revision-at-line): Also return the file
16812 name if found.
16813
16814 * vc.el: Update annotate-extract-revision-at-line documentation.
16815
16816 2009-10-18 Kevin Ryde <user42@zip.com.au>
16817
16818 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16819 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16820
16821 * net/browse-url.el (browse-url): Identify alist with "consp and
16822 not functionp" and let all other things go down the `apply' leg,
16823 as suggested by Stefan. (Further to bug#4531.)
16824
16825 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16826
16827 * minibuffer.el (read-file-name): Check for repeat before putting
16828 a default argument in file-name-history (Bug#4657).
16829
16830 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16831 read syntax (Bug#4737).
16832
16833 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16834
16835 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16836
16837 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16838 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16839 entries and make note of obsolete tags.
16840
16841 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16842
16843 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16844
16845 2009-10-18 Glenn Morris <rgm@gnu.org>
16846
16847 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16848 grep, so that binary files (eg international/uni-bidi.el) can match.
16849 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16850 now, and in any case the file header format has changed.
16851
16852 2009-10-17 Glenn Morris <rgm@gnu.org>
16853
16854 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16855 (flyspell-get-word, flyspell-large-region)
16856 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16857
16858 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16859
16860 * Makefile.in (ELCFILES): Add ede/shell.
16861
16862 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16863
16864 * term/common-win.el (x-colors): Purecopy it.
16865
16866 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16867
16868 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16869 permissive for when the buffer is empty.
16870 (tar-header-block-tokenize): Decode the username and groupname.
16871 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16872
16873 2009-10-17 Eric Ludlam <zappo@gnu.org>
16874
16875 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16876 contains multibyte characters, choose first applicable coding
16877 system automatically.
16878
16879 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16880
16881 * international/mule-cmds.el (select-safe-coding-system): If the file
16882 has a coding cookie, use it regardless of any other setting (bug#4712).
16883
16884 2009-10-17 Glenn Morris <rgm@gnu.org>
16885
16886 * foldout.el (foldout-mouse-swallow-events):
16887 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16888
16889 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16890 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16891 (dired-keep-marker-symlink, dired-dwim-target)
16892 (dired-copy-preserve-time): Do not autoload these defcustoms.
16893
16894 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16895 messages from messing up the file coding. (Bug#4623)
16896
16897 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16898
16899 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16900 if no match is found for the current dictionary. (Bug#4578)
16901
16902 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16903 optional, since that is how it is documented, and this is often called
16904 with a nil argument. (Bug#4577)
16905 (flyspell-external-point-words, flyspell-auto-correct-word)
16906 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16907 (flyspell-word-search-backward): Remove nil argument in calls to
16908 flyspell-get-word, since it is not needed now.
16909
16910 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16911
16912 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16913
16914 2009-10-16 Glenn Morris <rgm@gnu.org>
16915
16916 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16917
16918 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16919
16920 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16921 (ange-ftp-file-size): New function.
16922 (ange-ftp-file-attributes): Use it.
16923
16924 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16925
16926 * net/tramp-smb.el (tramp-smb-version): New defvar.
16927 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16928 repeated checks.
16929
16930 2009-10-16 Glenn Morris <rgm@gnu.org>
16931
16932 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16933 Maybe copy some custom properties from old to new name. (Bug#4706)
16934
16935 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16936
16937 * subr.el (error, sit-for, start-process-shell-command)
16938 (start-file-process-shell-command): Set the calling convention
16939 after the function definition.
16940
16941 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16942
16943 * subr.el (error, sit-for, start-process-shell-command)
16944 (start-file-process-shell-command): Use the new
16945 set-advertised-calling-convention feature.
16946
16947 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16948
16949 * international/ucs-normalize.el (ucs-normalize-version):
16950 Change to 1.2.
16951 (check-range): Adjust for Unicode 5.2.
16952
16953 2009-10-15 Juri Linkov <juri@jurta.org>
16954
16955 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16956 to the `menu-item' format.
16957
16958 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16959
16960 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16961 if the environment variable does not exist.
16962
16963 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16964 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16965 parameter.
16966 (tramp-smb-handle-add-name-to-file)
16967 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16968 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16969 (tramp-smb-handle-file-attributes)
16970 (tramp-smb-do-file-attributes-with-stat)
16971 (tramp-smb-handle-file-local-copy)
16972 (tramp-smb-handle-insert-directory)
16973 (tramp-smb-handle-make-directory)
16974 (tramp-smb-handle-make-directory-internal)
16975 (tramp-smb-handle-make-symbolic-link)
16976 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16977 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16978 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16979 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16980 Handle long file names.
16981 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16982 process is running.
16983 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16984 Read share names with "-g" option.
16985
16986 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16987
16988 * net/rcirc.el (rcirc-view-log-file): New command.
16989 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16990 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16991 specified.
16992
16993 2009-10-15 Glenn Morris <rgm@gnu.org>
16994
16995 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16996 from the second command-line argument.
16997 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16998 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16999 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17000 w32-batch-update-autoloads.
17001 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17002 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17003
17004 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17005 the headers cannot be located. Simplify, subtracting superflous
17006 save-excursions.
17007
17008 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17009
17010 Replace completion-base-size by completion-base-position to fix bugs
17011 such as (bug#4699).
17012 * simple.el (completion-base-position): New var.
17013 (completion-base-size): Mark as obsolete.
17014 (choose-completion): Make it work for mouse events as well.
17015 Pass the new base-position to choose-completion-string.
17016 (choose-completion-guess-base-position): New function, extracted from
17017 choose-completion-delete-max-match.
17018 (choose-completion-delete-max-match): Use it. Make obsolete.
17019 (choose-completion-string): Use the new base-position info.
17020 (completion-root-regexp): Delete.
17021 (completion-setup-function): Preserve completion-base-position.
17022 Eliminate obsolete base-size manipulation.
17023 * minibuffer.el (display-completion-list): Don't mess with base-size.
17024 (minibuffer-completion-help): Set completion-base-position instead.
17025 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17026 choose-completion.
17027 * textmodes/bibtex.el (bibtex-complete):
17028 * emacs-lisp/crm.el (crm--choose-completion-string):
17029 Adjust to new calling convention.
17030 * complete.el (partial-completion-mode): Use minibufferp to avoid
17031 bumping into incompatible change to choose-completion-string-functions.
17032 * ido.el (ido-choose-completion-string): Make its calling convention
17033 more permissive.
17034 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17035 base-size manipulation.
17036 (comint-dynamic-list-input-ring): Use dotimes and push.
17037 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17038 fundamental-mode. Use `or'.
17039
17040 2009-10-14 Juri Linkov <juri@jurta.org>
17041
17042 * misearch.el (multi-isearch-next-buffer-from-list)
17043 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17044
17045 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17046
17047 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17048 `bytecomp.el'.
17049
17050 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17051 string we return is all made up of text from the completions rather
17052 than part from the completions and part from the input (bug#4219).
17053
17054 * ido.el (ido-everywhere): Use define-minor-mode.
17055
17056 * buff-menu.el (list-buffers, ctl-x-map):
17057 Mark the entry points with ;;;###autoload cookies.
17058
17059 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17060
17061 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17062 correctly in the detached head case.
17063 (vc-git-print-log): Remove unused binding.
17064
17065 * vc.el (vc-responsible-backend): When a directory is passed for
17066 for registration create a VC repository if no backend is
17067 responsible for the directory argument.
17068 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17069
17070 * vc.el: Move comments about RCS and SCCS ...
17071 * vc-rcs.el:
17072 * vc-sccs.el: ... here, respectively.
17073
17074 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17075
17076 * minibuffer.el (completion--file-name-table): Return nil if there's
17077 no file completion, even if substitute-in-file-name changed
17078 the string (bug#4708).
17079
17080 2009-10-13 Juri Linkov <juri@jurta.org>
17081
17082 * files-x.el (read-file-local-variable-value): Don't filter out
17083 minor modes from mode name completion (bug#4664).
17084
17085 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17086
17087 * international/mule-cmds.el (ucs-names): Remove exclusion of
17088 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17089
17090 2009-10-13 Kenichi Handa <handa@m17n.org>
17091
17092 * international/uni-name.el: Regenerated.
17093
17094 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17095
17096 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17097 should be automatically buffer-local, but isn't.)
17098
17099 2009-10-12 Sam Steingold <sds@gnu.org>
17100
17101 * progmodes/compile.el (compilation-next-error-function): Fix the
17102 timestamps if the buffer has been visited before.
17103 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17104 non-anchored patterns, like the perl one (bug#3928).
17105
17106 2009-10-12 Glenn Morris <rgm@gnu.org>
17107
17108 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17109 Let-bind `size'.
17110
17111 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17112
17113 * proced.el (proced-unload-function): New function.
17114
17115 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17116 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17117 Doc fix.
17118
17119 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17120
17121 2009-10-11 Juri Linkov <juri@jurta.org>
17122
17123 * files-x.el (read-file-local-variable-value):
17124 Provide default value only for bound variables (bug#4664).
17125
17126 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17127
17128 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17129 connection methods like smb.
17130
17131 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17132 can be empty.
17133
17134 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17135 (tramp-smb-file-name-handler-alist): Add handlers for
17136 `add-name-to-file', `make-symbolic-link'.
17137 (tramp-smb-handle-add-name-to-file)
17138 (tramp-smb-do-file-attributes-with-stat)
17139 (tramp-smb-handle-make-symbolic-link)
17140 (tramp-smb-get-cifs-capabilities): New defuns.
17141 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17142 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17143 (tramp-smb-handle-file-local-copy)
17144 (tramp-smb-handle-make-directory-internal)
17145 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17146 The file name syntax depends on cifs capabilities.
17147 (tramp-smb-handle-file-attributes):
17148 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17149 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17150 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17151
17152 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17153
17154 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17155 (eieio-defclass): Apply deftype handler and setf-method properties
17156 directly.
17157 (eieio-add-new-slot): Avoid union function from cl library.
17158 (eieio--typep): New function.
17159 (eieio-perform-slot-validation): Use it.
17160
17161 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17162
17163 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17164 Update documentation to refer to the variables documented in r1.135.
17165 (Bug#4188)
17166
17167 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17168
17169 * bookmark.el (Info-suffix-list): Remove this unused variable.
17170 (bookmark-current-point): Remove this obsolete variable.
17171 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17172 Adjust for removal of bookmark-current-point.
17173
17174 (bookmarks-already-loaded, bookmark-current-buffer)
17175 (bookmark-yank-point): Document. (Bug#4188)
17176
17177 2009-10-10 Glenn Morris <rgm@gnu.org>
17178
17179 * frame.el (frame-height): Doc fix.
17180
17181 * calendar/calendar.el (calendar-split-width-threshold): New option.
17182 (calendar-basic-setup): Use calendar-split-width-threshold.
17183
17184 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17185
17186 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17187 Ideographic Supplement" range (U+1F200..U+1F2FF).
17188
17189 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17190
17191 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17192 since the list will have been rebuilt anyway. (Bug#4349)
17193
17194 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17195
17196 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17197 (bookmark-bmenu-execute-deletions): Don't save here, as
17198 bookmark-delete will now do so if necessary.
17199 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17200 (Bug#4348)
17201
17202 2009-10-09 Glenn Morris <rgm@gnu.org>
17203
17204 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17205
17206 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17207
17208 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17209 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17210 argument now, so the two function's behaviors will match. (Bug#3645)
17211
17212 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17213
17214 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17215 (tramp-file-name-real-host, tramp-file-name-port):
17216 Apply `save-match-data'.
17217
17218 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17219 case both directories are remote.
17220 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17221 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17222
17223 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17224
17225 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17226
17227 2009-10-07 Glenn Morris <rgm@gnu.org>
17228
17229 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17230 of concat.
17231
17232 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17233
17234 * files-x.el (read-file-local-variable): Include some
17235 non-user-variables in the completion table (bug#4664).
17236
17237 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17238
17239 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17240 message.
17241
17242 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17243 (tramp-smb-file-name-handler-alist): Add handler for
17244 `copy-directory', `expand-file-name', `set-file-modes'.
17245 (tramp-smb-handle-copy-directory)
17246 (tramp-smb-handle-expand-file-name)
17247 (tramp-smb-handle-set-file-modes): New defuns.
17248 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17249 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17250 entry.
17251 (tramp-smb-handle-insert-directory): Don't flush the cache.
17252 (tramp-smb-maybe-open-connection): Check for samba client and
17253 server versions.
17254
17255 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17256
17257 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17258 to not error out of search for "^lisp=" fails.
17259
17260 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17261
17262 * makefile.w32-in (WINS_UPDATES): New macro.
17263 (custom-deps, finder-data, autoloads): Use it.
17264
17265 2009-10-07 Glenn Morris <rgm@gnu.org>
17266
17267 * Makefile.in (autoloads): Revert previous change.
17268 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17269 the list of preloaded files passed on the command-line, get
17270 it from src/Makefile.
17271
17272 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17273 show the original buffer rather than a random one.
17274
17275 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17276
17277 * help.el (describe-no-warranty): Place point in a slightly better
17278 position in the GPLv3 text.
17279
17280 2009-10-06 Sam Steingold <sds@gnu.org>
17281
17282 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17283 the comm attribute is present before calling regexp-quote.
17284
17285 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17286
17287 * play/animate.el (animate-string): For good effect, make sure
17288 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17289
17290 * play/animate.el (animate-sequence, animate-birthday-present):
17291 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17292
17293 2009-10-06 Glenn Morris <rgm@gnu.org>
17294
17295 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17296
17297 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17298 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17299 (batch-update-autoloads): Process a string value of autoload-excludes,
17300 set during the build process.
17301 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17302
17303 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17304 inside with-parsed... macro so that `v' is defined.
17305
17306 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17307 * progmodes/fortran.el (fortran-end-of-block)
17308 (fortran-beginning-of-block):
17309 Also push mark in the macro case.
17310
17311 * emerge.el (emerge-show-file-name):
17312 * calc/calc.el (calc-quit):
17313 * calc/calc-misc.el (calc-big-or-small):
17314 * calc/calc-graph.el (calc-graph-view):
17315 * calc/calc-ext.el (calc-reset):
17316 * calendar/calendar.el (calendar-basic-setup):
17317 Use window-full-height-p.
17318
17319 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17320 header we don't understand, don't insert another. (Bug#4624)
17321 If changing mime charset, insert the new one in the right place.
17322
17323 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17324
17325 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17326 (cal-tex-cursor-month): Correctly increment the end date for diary and
17327 holiday listing. (Bug#4626)
17328
17329 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17330
17331 * help-fns.el (describe-function-1): Don't burp if the function is not
17332 a symbol.
17333
17334 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17335
17336 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17337 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17338 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17339 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17340
17341 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17342 (eieio-default-superclass): Reflow docstrings.
17343 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17344 (eieio-unbind-method-implementations, defmethod)
17345 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17346 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17347 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17348 (eieio-slot-originating-class-p, eieio-slot-name-index)
17349 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17350 (constructor, initialize-instance, no-next-method, object-print)
17351 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17352 Fix typos in docstrings.
17353 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17354 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17355 (next-method-p): Doc fixes.
17356 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17357 Fix typos in error messages.
17358 (eieio-defmethod): Fix typo in description of generic method.
17359
17360 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17361 (eieio-persistent-save-interactive, slot-missing):
17362 Fix typos in docstrings.
17363 (eieio-instance-inheritor-slot-boundp): Doc fix.
17364
17365 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17366 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17367
17368 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17369 (eieio-custom-object-apply-reset):
17370 Fix typos in docstrings and error messages.
17371
17372 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17373 Fix typo in docstring.
17374
17375 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17376 (eieio-browse-tree): Doc fix.
17377 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17378 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17379 Fix typos in docstrings.
17380
17381 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17382 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17383 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17384 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17385 Reflow docstrings.
17386
17387 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17388
17389 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17390 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17391 Set log-view-vc-backend so that diff can work.
17392
17393 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17394 vc-version-diff.
17395 (vc-diff-internal): Autoload this instead of vc-version-diff.
17396
17397 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17398
17399 * simple.el (eval-expression): Doc fix.
17400
17401 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17402
17403 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17404
17405 * files.el (directory-files-no-dot-files-regexp): New defconst.
17406 (delete-directory): Use it.
17407 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17408
17409 * net/tramp.el (tramp-verbose): Fix docstring.
17410 (tramp-methods): Add recursive option to `tramp-copy-args'.
17411 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17412 "scp1_old", "scp2_old", "rsync", "rsyncc".
17413 (tramp-default-method): Check also for `auth-source-user-or-password'.
17414 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17415 Add handler for `copy-directory'.
17416 (tramp-handle-copy-directory): New defun.
17417 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17418 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17419 Optimize sent command.
17420
17421 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17422
17423 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17424 window if necessary.
17425
17426 * calendar/calendar.el (calendar-basic-setup): Don't call
17427 switch-to-buffer in a dedicated window.
17428
17429 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17430
17431 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17432 don't do anything related to relocating, just return nil.
17433 (bookmark-error-no-filename): New error.
17434 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17435 bookmark has no file. Don't even attempt to handle things that
17436 are not files; the whole point of custom handlers is to keep that
17437 knowledge elsewhere anyway. Tighten some comments.
17438 (bookmark-file-or-variation-thereof): Remove now-unused function.
17439 (bookmark-location): Doc string fix.
17440 (Bug#4250)
17441
17442 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17443
17444 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17445 don't use a file dialog, because they usually don't know how to read
17446 a directory target from the user. (Bug#4230)
17447 Also, make sure the prompt can display directories as well as files.
17448
17449 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17450
17451 * bookmark.el (bookmark-set, bookmark-buffer-name):
17452 Improve doc strings. (Bug#1193)
17453
17454 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17455
17456 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17457 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17458 (bookmark-get-annotation, bookmark-set-annotation)
17459 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17460 (bookmark-set-position, bookmark-get-front-context-string)
17461 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17462 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17463 (bookmark-jump-other-window, bookmark-handle-bookmark)
17464 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17465 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17466 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17467 Improve doc strings to say whether bookmark can be a string or
17468 a record or both, and make other consistency and clarity fixes.
17469 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17470 (bookmark-default-annotation-text, bookmark-yank-word)
17471 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17472 (bookmark-import-new-list, bookmark-maybe-rename)
17473 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17474 (bookmark-bmenu-bookmark): Give these doc strings.
17475 (bookmark-bmenu-check-position): Give this a doc string, but also
17476 add a FIXME comment about how the function may be pointless.
17477 (bookmark-default-handler): Rework doc string and change a
17478 parameter name, to clarify that this takes a bookmark record
17479 not a bookmark name.
17480 (bookmark-set): Change a parameter name to indicate its meaning,
17481 and improve the doc string a bit.
17482 (Bug#4188)
17483
17484 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17485
17486 * bookmark.el (bookmark-alist): Document the new `handler' element
17487 in the param alist.
17488 (bookmark-make-record-function): Adjust documentation for above.
17489 (Bug#4193)
17490
17491 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17492
17493 * info.el (Info-bookmark-make-record): Document this function.
17494 (Info-bookmark-jump): Document with a doc string, not just a comment.
17495 (Bug#4203)
17496
17497 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17498
17499 * files.el (copy-directory): New defun.
17500
17501 * dired-aux.el (dired-copy-file-recursive): Use it.
17502
17503 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17504
17505 * files-x.el (modify-dir-local-variable)
17506 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17507 docstrings.
17508
17509 * recentf.el (recentf-unload-function): New function.
17510
17511 2009-10-04 Glenn Morris <rgm@gnu.org>
17512
17513 * window.el (window-full-height-p): Add doc string.
17514
17515 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17516
17517 * window.el (window-full-height-p): New function. (Bug#4543)
17518
17519 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17520
17521 * vc.el: Remove commented out code.
17522 (vc-derived-from-dir-mode): Remove, unused.
17523 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17524
17525 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17526
17527 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17528 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17529 there could be recursive loading when `default-directory' is a
17530 remote file name. (Bug#4614)
17531
17532 2009-10-03 Glenn Morris <rgm@gnu.org>
17533
17534 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17535 the frame is wide.
17536 (calendar-generate-window): Test for shrinkability rather than width.
17537
17538 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17539 reusing existing buffers, in case we happen to visit two files with the
17540 same basename. (Bug#4593)
17541
17542 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17543
17544 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17545 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17546 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17547 subdirs of cedet as well.
17548 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17549
17550 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17551
17552 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17553 Obey advertised-signature-table.
17554
17555 * help-fns.el (help-function-arglist): Don't check
17556 advertised-signature-table.
17557 (describe-function-1): Do it here instead so it also applies to subrs.
17558
17559 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17560
17561 * simple.el (start-file-process): Say in the doc-string, that file
17562 handlers might not support pty association, if PROGRAM is nil.
17563
17564 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17565 HOST and USER are strings. They are nil, when there are
17566 incomplete entries in ~/.netrc, for example.
17567 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17568 root directory ("device busy" error otherwise).
17569
17570 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17571 Flush file properties of created directory.
17572
17573 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17574
17575 * makefile.w32-in (WINS_BASIC): Remove cedet.
17576 (WINS_CEDET): Add cedet.
17577 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17578
17579 2009-10-02 Kevin Ryde <user42@zip.com.au>
17580
17581 * net/browse-url.el (browse-url): Pass any symbol in
17582 browse-url-browser-function to `apply', since if you've mistakenly put
17583 an unbound symbol then the error is clearer. (Bug#4531)
17584
17585 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17586
17587 * allout.el (allout-init, allout-back-to-current-heading)
17588 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17589 (allout-ascend, allout-up-current-level, allout-end-of-level)
17590 (allout-previous-visible-heading, allout-forward-current-level)
17591 (allout-backward-current-level, allout-show-children):
17592 * apropos.el (apropos-describe-plist):
17593 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17594 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17595 * completion.el (add-completion, add-permanent-completion):
17596 * descr-text.el (describe-text-category, describe-char):
17597 * desktop.el (desktop-lazy-abort):
17598 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17599 * dired.el (dired-build-subdir-alist):
17600 * ediff.el (ediff-version):
17601 * elide-head.el (elide-head, elide-head-show):
17602 * emerge.el (emerge-version):
17603 * env.el (getenv):
17604 * face-remap.el (variable-pitch-mode):
17605 * faces.el (describe-face):
17606 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17607 (dired-at-point):
17608 * files.el (find-file-existing, auto-save-mode):
17609 * font-lock.el (font-lock-fontify-buffer):
17610 * help-fns.el (describe-function, describe-variable)
17611 (describe-syntax, describe-categories):
17612 * help.el (view-lossage, describe-bindings, describe-key)
17613 (describe-mode):
17614 * hexl.el (hexl-current-address):
17615 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17616 * info.el (Info-goto-emacs-key-command-node):
17617 * log-edit.el (log-edit-insert-cvs-template)
17618 (log-edit-insert-cvs-rcstemplate):
17619 * menu-bar.el (menu-bar-mode):
17620 * mouse.el (mouse-appearance-menu):
17621 * newcomment.el (comment-indent-new-line):
17622 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17623 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17624 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17625 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17626 * recentf.el (recentf-mode):
17627 * savehist.el (savehist-mode, savehist-save):
17628 * shadowfile.el (shadow-copy-files):
17629 * simple.el (kill-ring-save, next-line, previous-line)
17630 (normal-erase-is-backspace-mode):
17631 * strokes.el (strokes-update-window-configuration)
17632 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17633 (strokes-xpm-for-stroke):
17634 * time.el (emacs-uptime, emacs-init-time):
17635 * tutorial.el (tutorial--describe-nonstandard-key)
17636 (tutorial--detailed-help):
17637 * type-break.el (type-break-mode)
17638 (type-break-mode-line-message-mode, type-break-query-mode)
17639 (type-break-guesstimate-keystroke-threshold):
17640 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17641 * version.el (emacs-version):
17642 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17643 * winner.el (winner-mode):
17644 * calendar/timeclock.el (timeclock-in, timeclock-out)
17645 (timeclock-status-string, timeclock-change)
17646 (timeclock-workday-remaining-string)
17647 (timeclock-workday-elapsed-string)
17648 (timeclock-when-to-leave-string):
17649 * calendar/todo-mode.el (todo-add-category):
17650 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17651 * emacs-lisp/autoload.el (update-file-autoloads):
17652 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17653 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17654 (checkdoc-message-text, checkdoc-defun):
17655 * emacs-lisp/debug.el (debugger-list-functions):
17656 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17657 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17658 (eieio-describe-generic):
17659 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17660 * emacs-lisp/shadow.el (list-load-path-shadows):
17661 * emulation/cua-base.el (cua-mode):
17662 * emulation/edt.el (edt-set-scroll-margins):
17663 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17664 (tpu-toggle-regexp, tpu-toggle-search-direction)
17665 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17666 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17667 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17668 (viper-set-parsing-style-toggling-macro)
17669 (viper-set-emacs-state-searchstyle-macros):
17670 * emulation/viper.el (viper-set-hooks):
17671 * eshell/esh-mode.el (eshell-truncate-buffer):
17672 * international/mule-cmds.el (prefer-coding-system)
17673 (describe-input-method, describe-language-environment):
17674 * international/mule-diag.el (list-character-sets)
17675 (describe-character-set, describe-coding-system)
17676 (describe-fontset, list-fontsets, list-input-methods):
17677 * mail/sendmail.el (mail-signature):
17678 * net/ange-ftp.el (ange-ftp-copy-file):
17679 * net/browse-url.el (browse-url):
17680 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17681 * net/quickurl.el (quickurl-add-url):
17682 * net/rcirc.el (names, topic):
17683 * net/xesam.el (xesam-mode):
17684 * play/5x5.el (5x5-new-game):
17685 * play/yow.el (apropos-zippy):
17686 * progmodes/ada-mode.el (ada-mode-version):
17687 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17688 (f90-end-of-block)
17689 (f90-beginning-of-block):
17690 * progmodes/fortran.el (fortran-end-of-block)
17691 (fortran-beginning-of-block):
17692 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17693 * progmodes/python.el (python-describe-symbol, python-shell):
17694 * term/ns-win.el (ns-print-buffer):
17695 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17696 * textmodes/flyspell.el (flyspell-mode-on):
17697 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17698 (pages-directory-for-addresses):
17699 * textmodes/table.el (table-recognize-cell)
17700 (table-query-dimension, table-generate-source)
17701 (table-insert-sequence, table--warn-incompatibility):
17702 * textmodes/tex-mode.el (tex-validate-buffer):
17703 * textmodes/texinfmt.el (texinfmt-version)
17704 (texinfo-format-buffer):
17705 Use `called-interactively-p' instead of `interactive-p'.
17706
17707 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17708
17709 * image-mode.el (image-toggle-display):
17710 * emacs-lisp/elp.el (elp-instrument-function):
17711 * emacs-lisp/advice.el (ad-make-advised-definition):
17712 * emacs-lisp/easy-mmode.el (define-minor-mode):
17713 * net/browse-url.el (browse-url-maybe-new-window):
17714 * progmodes/sh-script.el (sh-learn-buffer-indent):
17715 Pass new argument 'any to `called-interactively-p'.
17716
17717 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17718
17719 * international/uni-bidi.el:
17720 * international/uni-category.el:
17721 * international/uni-combining.el:
17722 * international/uni-comment.el:
17723 * international/uni-decimal.el:
17724 * international/uni-decomposition.el:
17725 * international/uni-digit.el:
17726 * international/uni-lowercase.el:
17727 * international/uni-mirrored.el:
17728 * international/uni-name.el:
17729 * international/uni-numeric.el:
17730 * international/uni-old-name.el:
17731 * international/uni-titlecase.el:
17732 * international/uni-uppercase.el:
17733 Regenerate from Unicode 5.2.0 data.
17734
17735 2009-10-01 Glenn Morris <rgm@gnu.org>
17736
17737 * Makefile.in (ELCFILES): Regenerate.
17738
17739 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17740
17741 * subr.el (interactive-p): Mark obsolete.
17742 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17743 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17744 advertised-signature-table for subroutines as well.
17745
17746 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17747 (set-advertised-calling-convention): New function.
17748 (make-obsolete, define-obsolete-function-alias)
17749 (make-obsolete-variable, define-obsolete-variable-alias):
17750 Make the optional-ness of `when' obsolete.
17751 (define-obsolete-face-alias): Make `when' non-optional.
17752 * help-fns.el (help-function-arglist):
17753 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17754 Use advertised-signature-table.
17755
17756 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17757
17758 * files.el (delete-directory): New defun. The original function
17759 in fileio.c has been renamed to `delete-directory-internal'.
17760
17761 * dired.el (dired-delete-file): Call `delete-directory' with
17762 RECURSIVE parameter.
17763
17764 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17765 parameter RECURSIVE. Implementation is missing.
17766
17767 * net/tramp.el (tramp-handle-make-directory): Flush upper
17768 directory's file properties.
17769 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17770 (tramp-handle-dired-recursive-delete-directory): Flush directory
17771 properties after the remove command only.
17772
17773 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17774 Handle optional parameter RECURSIVE.
17775
17776 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17777 Handle optional parameter RECURSIVE.
17778
17779 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17780 connection timeout.
17781 (tramp-smb-handle-delete-directory): Handle optional parameter
17782 RECURSIVE.
17783
17784 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17785
17786 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17787 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17788 (byte-compile-defmacro): Use backquotes.
17789
17790 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17791
17792 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17793 has no associated file.
17794 (vc-resynch-buffer): Use vc-dir-buffers.
17795
17796 2009-10-01 Glenn Morris <rgm@gnu.org>
17797
17798 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17799 (chart-file-count):
17800 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17801 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17802 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17803 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17804 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17805 (eieio-copy-parents-into-subclass, make-instance, class-children)
17806 (eieio-generic-form):
17807
17808 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17809 match-data. (Bug#4555).
17810
17811 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17812 rather than parsing it as a regexp. This relaxes the layout
17813 requirements and makes errors easier to detect.
17814 (check-declare-verify): Check file is regular.
17815 (check-declare-directory): Doc fix.
17816 * subr.el (declare-function): Doc fix.
17817
17818 * ibuffer.el (ibuffer-format-qualifier):
17819 * isearch.el (hi-lock-regexp-okay):
17820 * calc/calc.el (math-zerop):
17821 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17822 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17823 Remove unused declarations.
17824
17825 2009-09-30 Eric Ludlam <zappo@gnu.org>
17826
17827 * emacs-lisp/eieio.el (boolean-p): Delete.
17828
17829 2009-09-30 Glenn Morris <rgm@gnu.org>
17830
17831 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17832
17833 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17834 filename is not a string.
17835
17836 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17837
17838 * files.el (safe-local-eval-forms): Fix typo.
17839
17840 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17841
17842 * vc-hooks.el (vc-dir-buffers): New var.
17843 (vc-state-refresh): New function.
17844 (vc-state): Use it.
17845 (vc-after-save): Always ask the backend to recompute the new state.
17846 Always call vc-dir if necessary, using vc-dir-buffers.
17847 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17848 Use vc-dir-buffers.
17849 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17850 (vc-dir-prepare-status-buffer, vc-dir-update)
17851 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17852 Don't call expand-file-name on default-directory.
17853
17854 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17855
17856 * speedbar.el (speedbar-item-delete):
17857 * calc/calc-prog.el (calc-kbd-if):
17858 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17859
17860 * epa.el (epa-key-list-mode-map):
17861 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17862
17863 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17864 (hs-show-hook): Fix typo in docstring.
17865
17866 2009-09-29 Glenn Morris <rgm@gnu.org>
17867
17868 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17869 file-name-nondirectory call preventing location of cedet files.
17870 (check-declare-verify): Use literal search rather than re-search.
17871 Add basic defmethod and defclass, and define-overloadable-function.
17872
17873 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17874 Use tramp-compat-file-attributes rather than nonexistent
17875 tramp-compat-handle-file-attributes.
17876
17877 * Makefile.in (lisptagsfiles4): New.
17878 (AUTOGENEL): Add cedet loaddefs files.
17879 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17880 (update-elclist, compile-always, backup-compiled-files)
17881 (bootstrap-clean): Add yet another directory level.
17882 (update-elclist): Use LC_COLLATE rather than COLLATE.
17883 (ELCFILES): Update, via `make update-elclist'.
17884
17885 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17886
17887 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17888 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17889 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17890
17891 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17892
17893 * Makefile.in (lisptagsfiles3): Define.
17894 (TAGS, TAGS-LISP): Use it.
17895 (update-elclist): Add third directory level to look for elc files.
17896 (compile-always): Likewise.
17897 (backup-compiled-files): Likewise.
17898 (bootstrap-clean): Likewise.
17899 (ELCFILES): Update.
17900
17901 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17902
17903 * Makefile.in (ELCFILES): Add CEDET files.
17904
17905 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17906
17907 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17908
17909 * net/tramp.el (top): Require tramp-imap.
17910
17911 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17912 Use `tramp-compat-handle-file-attributes'.
17913
17914 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17915
17916 * net/tramp-imap.el: New package.
17917
17918 2009-09-28 Eric Ludlam <zappo@gnu.org>
17919
17920 * emacs-lisp/chart.el:
17921 * emacs-lisp/eieio-base.el:
17922 * emacs-lisp/eieio-comp.el:
17923 * emacs-lisp/eieio-custom.el:
17924 * emacs-lisp/eieio-datadebug.el:
17925 * emacs-lisp/eieio-opt.el:
17926 * emacs-lisp/eieio-speedbar.el:
17927 * emacs-lisp/eieio.el: New files.
17928
17929 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17930
17931 * whitespace.el (whitespace-trailing-regexp)
17932 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17933 Fix doc string.
17934
17935 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17936
17937 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17938 menu.
17939
17940 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17941 menu-bar-ediff-menu.
17942
17943 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17944 define-overloadable-function.
17945
17946 * progmodes/autoconf.el: Provide autoconf as well, so that this
17947 file can be `require'd.
17948
17949 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17950
17951 * emacs-lisp/autoload.el (generated-autoload-feature)
17952 (generated-autoload-load-name): New vars.
17953 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17954 (make-autoload): Recognize define-overloadable-function and
17955 defclass forms (for EIEIO).
17956
17957 * Makefile.in (update-subdirs): Exclude cedet directory.
17958
17959 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17960
17961 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17962
17963 * faces.el: Default light-background background for region face to
17964 ns_selection_color under NS.
17965
17966 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17967
17968 * net/imap-hash.el: New library, see NEWS.
17969
17970 * Makefile.in (ELCFILES): Add imap-hash.el.
17971
17972 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17973
17974 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17975 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17976 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17977 definition where the docstring could be taken for the return value.
17978
17979 2009-09-26 Glenn Morris <rgm@gnu.org>
17980
17981 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17982 Add option to only show images below a certain size.
17983 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17984 save-excursion calls.
17985
17986 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17987
17988 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17989 subdirectories) and eieio.
17990
17991 2009-09-26 Alan Mackenzie <acm@muc.de>
17992
17993 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17994 Correct buggy bracketing. (Bug#4289)
17995
17996 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17997 character constants (as case labels). (Bug#4289)
17998
17999 2009-09-25 Juri Linkov <juri@jurta.org>
18000
18001 * files.el (safe-local-eval-forms): Allow time-stamp in
18002 before-save-hook (Bug#4554).
18003
18004 2009-09-25 Drew Adams <drew.adams@oracle.com>
18005
18006 * menu-bar.el (list-buffers-directory): Doc fix.
18007
18008 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18009
18010 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18011 Try and avoid copying twice the same paragraph.
18012 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18013 Remove save-excursion.
18014 (log-edit-changelog-entry): Do it here instead.
18015
18016 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18017
18018 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18019 when available, instead of hardcoding mode names. Doc fix.
18020
18021 * menu-bar.el (list-buffers-directory): Add docstring.
18022 Make automatically buffer-local.
18023
18024 * dired.el (dired-mode):
18025 * files.el (cd-absolute):
18026 * pcvs.el (cvs-temp-buffer):
18027 * pcvs-util.el (cvs-get-buffer-create):
18028 * shell.el (shell-mode):
18029 * vc-dir.el (vc-dir-mode):
18030 Don't make `list-buffers-directory' buffer local.
18031
18032 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18033
18034 * comint.el (comint-exec, comint-run, make-comint):
18035 Doc fixes (Bug#4542).
18036
18037 2009-09-25 Glenn Morris <rgm@gnu.org>
18038
18039 * mail/rmailmm.el (rmail-mime): New custom group.
18040 Move all defcustoms in this file into this group.
18041 (rmail-mime-media-type-handlers-alist): Revert previous change.
18042 (rmail-mime-show-images): New option.
18043 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18044 references to it, since it wasn't actually used for anything.
18045 (rmail-mime-insert-image): New function.
18046 (rmail-mime-image): Use rmail-mime-insert-image.
18047 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18048 obey the value of `rmail-mime-show-images' option. Print the size of
18049 attachments.
18050
18051 2009-09-25 David Engster <deng@randomsample.de>
18052
18053 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18054
18055 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18056
18057 * whitespace.el: Does not highlight trailing spaces While point is
18058 at end of line. Does not highligt spaces at beginning of buffer
18059 while point is at beginning of buffer. Does not highlight spaces
18060 at end of buffer while point is at end of buffer. (Bug#4177)
18061 New version 12.0.
18062 (whitespace-display-mappings): Adjust initialization.
18063 (whitespace-point, whitespace-font-lock-refontify): New vars.
18064 (whitespace-color-on, whitespace-color-off): Adjust code.
18065 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18066 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18067 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18068
18069 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18070
18071 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18072
18073 * textmodes/sgml-mode.el: Remove xml-mode alias.
18074
18075 * files.el (auto-mode-alist, conf-mode-maybe)
18076 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18077
18078 2009-09-24 Alan Mackenzie <acm@muc.de>
18079
18080 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18081 c-forward-conditionals, but it doesn't move point and doesn't set
18082 the mark.
18083 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18084 (c-down-conditional-with-else, c-backward-conditional)
18085 (c-forward-conditional): Refactor to use c-scan-conditionals.
18086
18087 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18088
18089 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18090 (help-default-arg-highlight): Remove.
18091 (help-highlight-arg): New function.
18092 (help-do-arg-highlight): Use it.
18093 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18094
18095 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18096
18097 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18098 Undo last change, which didn't fix the problem and introduced others.
18099
18100 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18101
18102 * progmodes/gdb-mi.el: Don't require speedbar.
18103 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18104
18105 2009-09-24 Glenn Morris <rgm@gnu.org>
18106
18107 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18108
18109 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18110
18111 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18112 there is no newline after the final mime boundary. (Bug#4539)
18113 Move markers on insertion so that any buttons inserted don't end up in
18114 the next part of a multipart message.
18115 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18116 (rmail-mime-bulk-handler): Optionally handle images.
18117 (rmail-mime-image): New button action.
18118 (rmail-mime-image-handler): New function.
18119 (rmail-mime-mode): New mode.
18120 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18121
18122 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18123
18124 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18125 than just dropping elements from it (bug#4504).
18126
18127 * term.el (term-set-scroll-region): Don't move cursor any more.
18128 (term-handle-ansi-escape): Call term-goto here instead.
18129 Suggested by Ivan Kanis <apple@kanis.eu>.
18130
18131 * term.el: Require CL.
18132 (term-ansi-reset): New function.
18133 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18134 (term-handle-colors-array): Simplify.
18135
18136 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18137
18138 * allout.el (allout-overlay-interior-modification-handler)
18139 (allout-obtain-passphrase):
18140 * epa-file.el (epa-file-write-region):
18141 * ps-print.el (ps-begin-job):
18142 * vc-hooks.el (vc-toggle-read-only):
18143 * vc-rcs.el (vc-rcs-rollback):
18144 * vc-sccs.el (vc-sccs-rollback):
18145 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18146 (vc-version-diff, vc-revert, vc-rollback):
18147 * wdired.el (wdired-check-kill-buffer):
18148 * emacs-lisp/authors.el (authors):
18149 * net/socks.el (socks-open-connection):
18150 * net/zeroconf.el (zeroconf-service-add-hook):
18151 * obsolete/vc-mcvs.el (vc-mcvs-register):
18152 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18153 (gdb-select-frame):
18154 * progmodes/grep.el (lgrep, rgrep):
18155 * progmodes/idlw-help.el (idlwave-help-check-locations)
18156 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18157 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18158 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18159 (reftex-toc-rename-label): Fix typos in error messages.
18160
18161 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18162 (dired-copy-how-to-fn): Doc fix.
18163 (dired-files-attributes, dired-read-shell-command):
18164 Fix typos in docstrings.
18165
18166 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18167 (dired-x-find-file-other-window): Reflow docstrings.
18168 (dired-omit-marker-char, dired-read-shell-command)
18169 (dired-x-submit-report): Fix typos in docstrings.
18170
18171 * shell.el (shell-mode-hook):
18172 * view.el (View-scroll-line-forward):
18173 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18174 Fix typos in docstrings.
18175
18176 * net/dig.el (dig-invoke): Fix typo in docstring.
18177 (query-dig): Reflow docstring.
18178
18179 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18180 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18181 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18182 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18183 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18184 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18185 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18186 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18187 (idlwave-completion-map, idlwave-current-indent)
18188 (idlwave-custom-ampersand-surround, idlwave-customize)
18189 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18190 (idlwave-define-abbrev, idlwave-determine-class-special)
18191 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18192 (idlwave-end-block-reg, idlwave-end-of-statement)
18193 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18194 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18195 (idlwave-explicit-class-listed, idlwave-file-header)
18196 (idlwave-fill-paragraph, idlwave-find-class-definition)
18197 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18198 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18199 (idlwave-in-quote, idlwave-indent-action-table)
18200 (idlwave-indent-expand-table, idlwave-indent-line)
18201 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18202 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18203 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18204 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18205 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18206 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18207 (idlwave-outlawed-buffers, idlwave-popup-select)
18208 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18209 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18210 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18211 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18212 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18213 (idlwave-statement-type, idlwave-struct-skip)
18214 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18215 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18216 (idlwave-what-module-find-class): Fix typos in docstrings.
18217 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18218 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18219 (idlwave-find-module, idlwave-find-structure-definition)
18220 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18221 (idlwave-list-load-path-shadows, idlwave-next-statement)
18222 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18223 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18224 (idlwave-template): Reflow docstrings.
18225
18226 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18227 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18228 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18229 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18230 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18231 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18232 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18233 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18234 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18235 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18236 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18237 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18238 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18239 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18240 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18241 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18242 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18243 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18244 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18245 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18246 Fix typos in docstrings.
18247 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18248 (idlwave-shell-hide-output, idlwave-shell-mode)
18249 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18250 Reflow docstrings.
18251
18252 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18253
18254 2009-09-24 Ivan Kanis <apple@kanis.eu>
18255
18256 * term.el (term-bold-attribute): New var.
18257 (term-handle-colors-array): Use it.
18258
18259 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18260
18261 * progmodes/gdb-mi.el (gdb-version): New variable.
18262 (gdb-non-stop-handler): Set gdb-version.
18263 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18264 Condition "--thread" option on gdb-version.
18265 (gdb-invalidate-threads): Remove unused argument.
18266
18267 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18268
18269 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18270 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18271
18272 2009-09-23 Glenn Morris <rgm@gnu.org>
18273
18274 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18275 replying to mail without References or Message-Id. (Bug#4525)
18276
18277 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18278
18279 * term/ns-win.el (ns-reg-to-script): New variable.
18280
18281 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18282
18283 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18284
18285 2009-09-22 Sam Steingold <sds@gnu.org>
18286
18287 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18288 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18289 to 1 because hg returns status 1 when nothing is found.
18290 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18291
18292 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18293
18294 * textmodes/fill.el: Convert to utf-8 encoding.
18295 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18296 pre-Unicode days.
18297
18298 * add-log.el (change-log-fill-forward-paragraph): New function.
18299 (change-log-mode): Use it so fill-region DTRT.
18300 Set fill-indent-according-to-mode here rather than in
18301 change-log-fill-paragraph.
18302 (change-log-fill-paragraph): Remove.
18303
18304 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18305
18306 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18307 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18308
18309 2009-09-22 Glenn Morris <rgm@gnu.org>
18310
18311 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18312 the scroll-bar scroll the calendar window rather than the buffer.
18313
18314 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18315 commands that move point (as opposed to scrolling).
18316
18317 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18318
18319 * emacs-lisp/elint.el (elint): New custom group.
18320 (elint-log-buffer): Make it a defcustom.
18321 (elint-scan-preloaded, elint-ignored-warnings)
18322 (elint-directory-skip-re): New options.
18323 (elint-builtin-variables): Doc fix.
18324 (elint-preloaded-env): New variable.
18325 (elint-unknown-builtin-args): Add an entry for encode-time.
18326 (elint-extra-errors): Make it a variable rather than a constant.
18327 (elint-preloaded-skip-re): New constant.
18328 (elint-directory): Skip files matching elint-directory-skip-re.
18329 (elint-features): New variable, local to linted buffers.
18330 (elint-update-env): Initialize elint-features. Possibly add
18331 elint-preloaded-env to the buffer's environment.
18332 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18333 Skip quoted forms.
18334 (elint-init-form): New function, extracted from elint-init-env.
18335 Make non-list forms a warning rather than an error.
18336 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18337 easy-menu-define, put that adds an error-condition, and provide.
18338 When requiring cl, also require cl-macs. Really require cl, to handle
18339 some cl macros. Store required libraries in the list elint-features,
18340 so as not to re-load them. Treat cc-require like require.
18341 (elint-init-env): Call elint-init-form to do the work.
18342 Handle eval-and-compile and such like.
18343 (elint-add-required-env): Do not clear messages.
18344 (elint-special-forms): Add handlers for function, defalias, if, when,
18345 unless, and, or.
18346 (elint-form): Add optional argument to ignore elint-special-forms,
18347 useful to prevent recursive calls from handlers. Doc fix.
18348 Respect elint-ignored-warnings.
18349 (elint-form): Respect elint-ignored-warnings.
18350 (elint-bound-variable, elint-bound-function): New variables.
18351 (elint-unbound-variable): Respect elint-bound-variable.
18352 (elint-get-args): Respect elint-bound-function.
18353 (elint-check-cond-form): Add some simple handling for (f)boundp and
18354 featurep tests.
18355 (elint-check-defalias-form): New handler.
18356 (elint-check-let-form): Make an empty let a warning rather than an
18357 error.
18358 (elint-check-setq-form): Make an empty setq a warning rather than an
18359 error. Respect elint-ignored-warnings.
18360 (elint-check-defvar-form): Accept null doc-strings.
18361 (elint-check-conditional-form): New handler. Does some simple-minded
18362 checking of featurep and (f)boundp tests.
18363 (elint-put-function-args): New function.
18364 (elint-initialize): Use elint-scan-doc-file rather than
18365 elint-find-builtin-variables. Use elint-put-function-args.
18366 Possibly scan preloaded-file-list.
18367 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18368 extend to handle functions as well.
18369
18370 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18371
18372 * linum.el (linum-delete-overlays, linum-update-window):
18373 Do not modify the right margin. (Bug#3971)
18374
18375 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18376
18377 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18378 Use nxml-mode instead of xml-mode.
18379
18380 2009-09-21 Kevin Ryde <user42@zip.com.au>
18381
18382 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18383
18384 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18385
18386 * net/dig.el (dig-mode): Use define-derived-mode.
18387
18388 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18389
18390 * vc-dispatcher.el (vc-do-command): Return the process object in
18391 the asynchronous case. Use when instead of if. Do not run
18392 vc-exec-after to display a message if not enabled. (Bug#4463)
18393
18394 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18395 properties to the stash strings.
18396 (vc-git-stash-list): Return a list of strings.
18397 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18398 (vc-git-stash-show-at-point): New functions.
18399 (vc-git-stash-map): New keymap.
18400
18401 * register.el (ctl-x-r-map): Define the keys here instead of
18402 using autoload.
18403
18404 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18405
18406 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18407 list, to workaround performance problem (bug#4485).
18408
18409 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18410
18411 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18412
18413 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18414
18415 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18416 Document that this option is not recommended to use.
18417
18418 2009-09-19 Glenn Morris <rgm@gnu.org>
18419
18420 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18421 variable `var'.
18422
18423 * calc/calc-alg.el (var):
18424 * calc/calcalg2.el (var): Define for compiler.
18425
18426 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18427
18428 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18429 Doc fix (Bug#3932).
18430
18431 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18432
18433 * time-stamp.el (time-stamp-month-dd-yyyy)
18434 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18435 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18436 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18437 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18438 Remove functions that have been obsolete since 1995 (Bug#4436).
18439
18440 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18441 indent buffer only if called interactively (Bug#4452).
18442
18443 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18444 Eli Zaretskii <eliz@gnu.org>
18445
18446 This fixes bug#4197 (merged to bug#865, though not identical).
18447 * server.el (server-auth-dir): Add docstring note about FAT32.
18448 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18449 but warn against using them.
18450
18451 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18452
18453 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18454 older GDB where there is no has_more field.
18455
18456 2009-09-19 Glenn Morris <rgm@gnu.org>
18457
18458 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18459
18460 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18461
18462 * files.el (auto-mode-alist): Change default for XML files to nXML
18463 mode (Bug#4169).
18464
18465 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18466
18467 * server.el (server-ensure-safe-dir): Pass 'integer
18468 to `file-attributes', as suggested.
18469
18470 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18471
18472 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18473 (dired-query): Use read-key.
18474
18475 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18476
18477 * cus-start.el (ns-use-qd-smoothing): Remove.
18478
18479 2009-09-18 Glenn Morris <rgm@gnu.org>
18480
18481 * allout.el (top-level): Remove unnecessary progn.
18482
18483 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18484
18485 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18486 definition of abbrev table.
18487
18488 * speedbar.el (speedbar-track-mouse):
18489 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18490 * net/eudc.el (eudc-expand-inline):
18491 * net/newst-backend.el (newsticker--cache-read-feed):
18492 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18493 condition-case handlers.
18494
18495 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18496
18497 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18498 (gdb-var-list): Add an element for has_more field.
18499 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18500 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18501 (gdb-var-update-handler-1): Parse output of dynamic variable
18502 objects (STL containers).
18503 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18504 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18505
18506 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18507 gdb-var-list.
18508 (gud-speedbar-buttons): Make node expandable if expression "has more"
18509 children.
18510
18511 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18512
18513 * startup.el (emacs-quick-startup): Remove variable and all uses.
18514 (command-line): Set `inhibit-x-resources' instead.
18515 (command-line-1): Use `inhibit-x-resources' instead.
18516
18517 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18518
18519 * subr.el: Fix last change to avoid using the `unless' macro,
18520 which breaks bootstrapping.
18521
18522 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18523
18524 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18525 extended definitions, in case we reload subr.el after having
18526 loaded CL.
18527 (eval-next-after-load): Mark as obsolete.
18528
18529 2009-09-17 Juri Linkov <juri@jurta.org>
18530
18531 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18532 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18533 (menu-bar-showhide-menu, menu-bar-tools-menu)
18534 (menu-bar-describe-menu, menu-bar-help-menu)
18535 (minibuffer-local-completion-map, minibuffer-local-map):
18536 Fix list quoting.
18537
18538 2009-09-17 Glenn Morris <rgm@gnu.org>
18539
18540 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18541 arguments, whether or not it has a handler.
18542
18543 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18544
18545 * simple.el (hard-newline): Give it a doc-string.
18546
18547 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18548 (lisp-mode-syntax-table): Give them doc-strings.
18549
18550 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18551
18552 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18553 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18554 (menu-bar-options-menu, menu-bar-showhide-menu)
18555 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18556 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18557 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18558 (menu-bar-options-menu, menu-bar-tools-menu)
18559 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18560 (menu-bar-help-menu):
18561 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18562 string arguments.
18563
18564 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18565 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18566 calls for the menu names and :help.
18567
18568 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18569
18570 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18571 to :minor-mode-function (bug#4455).
18572
18573 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18574
18575 * startup.el (command-line): Initialize the window-system after
18576 processing the command-line.
18577
18578 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18579 page-delimiter matches the empty string.
18580
18581 2009-09-16 Glenn Morris <rgm@gnu.org>
18582
18583 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18584 byte-compile-not-obsolete-var. It's a list now.
18585 (byte-compile-not-obsolete-funcs): New variable.
18586 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18587 byte-compile-not-obsolete-funcs.
18588 (byte-compile-variable-ref, byte-compile-defvar): Update for
18589 byte-compile-not-obsolete-vars name-change and list nature.
18590 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18591 and variables behind (f)boundp tests.
18592 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18593
18594 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18595
18596 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18597
18598 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18599
18600 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18601 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18602 Don't autoload.
18603
18604 2009-09-15 Stephen Eglen <stephen@gnu.org>
18605
18606 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18607 the virtual-buffers, use the name of the buffer specified by
18608 find-file-noselect, as the match may be a symlink. (This was a
18609 problem if the target and the symlink had different names.)
18610
18611 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18612
18613 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18614
18615 * desktop.el (desktop-path): Check user-emacs-directory.
18616
18617 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18618
18619 * loadup.el: Use after-load-functions to GC after loading each file.
18620 Remove the explicit GC calls that used to be sprinkled around.
18621
18622 * subr.el (after-load-functions): New hook.
18623 (do-after-load-evaluation): Run it. Use string-match-p to detect
18624 `obsolete' packages, rather than painfully extracting the relevant
18625 directory name.
18626
18627 2009-09-15 Glenn Morris <rgm@gnu.org>
18628
18629 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18630 free variable `doc'.
18631
18632 * dired.el (dired-mode-map): Add menu entry for async shell command.
18633
18634 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18635 variables, also consider the .elc files, since the .el files are
18636 normally gzipped (subsequent code locates the .el.gz from the .elc).
18637
18638 * calc/calc-prog.el (arglist): Define for compiler.
18639
18640 * calendar/diary-lib.el (diary-display-function): Change the default to
18641 fancy display.
18642 (body): Define for compiler.
18643
18644 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18645 (byte-compile-file-form, byte-compile-lambda)
18646 (byte-compile-top-level-body, byte-compile-form)
18647 (byte-compile-variable-ref, byte-compile-setq)
18648 (byte-compile-setq-default, byte-compile-body)
18649 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18650 (batch-byte-compile): Give some more local variables with common names
18651 a "bytecomp-" prefix to avoid masking warnings about free variables.
18652
18653 * startup.el (command-line-1): Give local variables with common names a
18654 distinguishing prefix, so as not to hide free variable warnings during
18655 bootstrap.
18656
18657 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18658 clever and add a suffix to make a unique name, just let the user decide
18659 whether or not to overwrite it. If the input is a directory, write the
18660 default filename to that directory. (Bug#4388)
18661 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18662 is a filename-as-a-directory.
18663
18664 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18665
18666 * textmodes/page.el (what-page): Don't move to beginning of line.
18667 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18668
18669 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18670
18671 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18672
18673 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18674
18675 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18676 * help.el (help-for-help-internal): Add purecopy calls for text.
18677
18678 * vc.el (top): print-log method now takes an optional SHORTLOG
18679 argument. Add a new method: root.
18680 (vc-root-diff, vc-print-root-log): New functions.
18681 (vc-log-short-style): New variable.
18682 (vc-print-log-internal): Add support for showing short logs.
18683
18684 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18685 vc-print-root-log and vc-print-root-diff.
18686
18687 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18688 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18689 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18690 short logs.
18691
18692 * vc-cvs.el (vc-cvs-print-log):
18693 * vc-mtn.el (vc-mtn-print-log):
18694 * vc-rcs.el (vc-rcs-print-log):
18695 * vc-sccs.el (vc-sccs-print-log):
18696 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18697 that is ignored for now.
18698
18699 * vc-mtn.el (vc-mtn-annotate-command):
18700 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18701
18702 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18703
18704 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18705 to function-key-map, and give them ascii-character property.
18706 * term/x-win.el (x-alternatives-map):
18707 * term/ns-win.el (ns-alternatives-map):
18708 * term/internal.el (msdos-key-remapping-map):
18709 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18710
18711 2009-09-14 Glenn Morris <rgm@gnu.org>
18712
18713 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18714 temp-buffers (2009-09-12).
18715
18716 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18717
18718 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18719 the new read-key function.
18720
18721 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18722
18723 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18724 is defined (Bug#4405).
18725
18726 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18727
18728 * recentf.el (recentf-cleanup): Use a hash table to find
18729 duplicates (Bug#4407).
18730
18731 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18732
18733 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18734 kp-0 to ascii equivalents (Bug#4325).
18735
18736 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18737
18738 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18739
18740 * eshell/em-hist.el:
18741 * eshell/em-dirs.el (eshell-complete-user-reference):
18742 Declare pcomplete functions and variables to avoid compiler warnings.
18743
18744 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18745
18746 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18747 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18748 * eshell/em-alias.el (eshell-aliases-file):
18749 * eshell/em-hist.el (eshell-history-file-name):
18750 Use expand-file-name instead of concat to make file names (Bug#4308).
18751
18752 2009-09-13 Glenn Morris <rgm@gnu.org>
18753
18754 * ediff-merg.el (ediff-do-merge):
18755 * filesets.el (filesets-run-cmd):
18756 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18757 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18758 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18759 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18760 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18761 Replace empty `let's with `progn'.
18762
18763 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18764
18765 * mail/sendmail.el (send-mail-function):
18766 * tooltip.el (tooltip-mode):
18767 * simple.el (transient-mark-mode):
18768 * rfn-eshadow.el (file-name-shadow-mode):
18769 * frame.el (blink-cursor-mode):
18770 * font-core.el (global-font-lock-mode):
18771 * files.el (temporary-file-directory)
18772 (small-temporary-file-directory, auto-save-file-name-transforms):
18773 * epa-hook.el (auto-encryption-mode):
18774 * composite.el (global-auto-composition-mode):
18775 Use custom-initialize-delay.
18776 * startup.el (command-line): Don't explicitly call
18777 custom-reevaluate-setting for all the above vars.
18778 * custom.el (custom-initialize-safe-set)
18779 (custom-initialize-safe-default): Delete.
18780
18781 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18782
18783 * term/x-win.el (x-initialize-window-system):
18784 * term/w32-win.el (w32-initialize-window-system):
18785 * term/ns-win.el (ns-initialize-window-system): Don't call
18786 mouse-wheel-mode since it's enabled globally by default already.
18787
18788 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18789 actually define the variable, but only silences the byte-compiler.
18790 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18791 before looking it up.
18792 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18793 is changed.
18794
18795 2009-09-12 Glenn Morris <rgm@gnu.org>
18796
18797 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18798 1000.
18799 (elint-add-required-env): Don't beep on error.
18800 (elint-forms): In case of error, return ENV unchanged.
18801 (elint-init-env): Skip non-list forms.
18802 (elint-log): Handle unknown file positions.
18803
18804 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18805
18806 * epg.el (epg-make-context): Add autoload cookie.
18807 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18808 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18809 (epg-verify-string, epg-start-sign, epg-sign-file)
18810 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18811 (epg-encrypt-string, epg-start-export-keys)
18812 (epg-export-keys-to-file, epg-export-keys-to-string)
18813 (epg-start-import-keys, epg-import-keys-from-file)
18814 (epg-import-keys-from-string, epg-start-receive-keys)
18815 (epg-receive-keys, epg-import-keys-from-server)
18816 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18817 (epg-sign-keys, epg-start-generate-key)
18818 (epg-generate-key-from-file, epg-generate-key-from-string):
18819 Remove autoload cookie.
18820
18821 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18822
18823 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18824 reevaluation of trash-directory.
18825
18826 * mwheel.el: Fix last change.
18827 (mouse-wheel-mode): New defvar.
18828 (mouse-wheel-mode): Remove autoload cookie.
18829
18830 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18831
18832 * mwheel.el (mwheel-installed-bindings): New var.
18833 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18834 the bindings we set last time. Use custom-initialize-delay.
18835 * loadup.el: Load mwheel after term/*-win.el.
18836 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18837 and mouse-wheel-up-event now that their first evaluation is done
18838 sufficiently late to be correct.
18839
18840 * startup.el (tutorial-directory): Make it a defcustom.
18841 Use custom-initialize-delay rather than eval-at-startup to set it.
18842 * image.el (image-load-path): Make it a defcustom.
18843 Use custom-initialize-delay rather than eval-at-startup to set it.
18844 * subr.el (eval-at-startup): Remove.
18845 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18846
18847 * subr.el (do-after-load-evaluation): Warn the user after loading an
18848 obsolete package.
18849
18850 2009-09-12 Glenn Morris <rgm@gnu.org>
18851
18852 * proced.el (proced-mark-alt): Remove alias.
18853 (proced-mode-map): Remove proced-mark-alt.
18854
18855 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18856 Elint file and directory. Remove initialization entry.
18857
18858 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18859 commands.
18860 (elint-current-buffer): Set mode-line-process.
18861 (elint-init-env): Handle define-derived-mode.
18862 Fix declare-function with unspecified arglist. Guard against odd
18863 defalias statements (eg iso-insert's 8859-1-map).
18864 (elint-add-required-env): Use a temp buffer.
18865 (elint-form): Just print the function/macro name, not the whole form.
18866 Return env unchanged if we fail to parse a macro.
18867 (elint-forms): Guard against parse errors.
18868 (elint-output): New function, to handle batch mode.
18869 (elint-log-message): Add optional argument. Use elint-output.
18870 (elint-set-mode-line): New function.
18871
18872 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18873
18874 * emacs-lisp/elp.el (elp-not-profilable): Add more
18875 functions (Bug#4233).
18876
18877 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18878
18879 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18880 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18881
18882 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18883
18884 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18885 (gdb-var-list-children): Use json parsing.
18886
18887 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18888
18889 * progmodes/js.el (js--proper-indentation): Handle the case where
18890 char-before is null. Reported by Deniz Dogan.
18891
18892 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18893
18894 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18895
18896 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18897
18898 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18899 (epg-digest-algorithm-alist): Add SHA224.
18900 (epg-context-set-passphrase-callback)
18901 (epg-context-set-progress-callback): Add description about
18902 callback function.
18903
18904 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18905
18906 * custom.el (custom-delayed-init-variables): New var.
18907 (custom-initialize-delay): New function.
18908 * startup.el (command-line): "Re"evaluate all vars in
18909 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18910 explicitly any more.
18911 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18912 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18913
18914 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18915
18916 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18917
18918 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18919 (gdb-var-update-handler): Use json parsing.
18920
18921 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18922
18923 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18924 decode annotated text, regardless of language environment. (Bug#2741)
18925
18926 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18927
18928 * Makefile.in (autoloads): Make rmail.el writable as well.
18929
18930 2009-09-11 Glenn Morris <rgm@gnu.org>
18931
18932 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18933 loaddefs.el.
18934 * dired.el: Regenerate with extracted autoloads.
18935 * Makefile.in (autoloads): Make dired.el writable.
18936
18937 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18938 * ibuffer.el: Regenerate with extracted autoloads.
18939 * Makefile.in (autoloads): Make ibuffer.el writable.
18940
18941 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18942 * version.el (emacs-copyright, emacs-major-version)
18943 (emacs-minor-version): Reformat doc-strings for make-docfile.
18944
18945 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18946 functions and variables, since they must be stuff specific to some other
18947 platform.
18948 (apropos-print): Make mouse-click message less specific about button.
18949
18950 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18951 that records where a macro was defined.
18952 * help-fns.el (describe-function-1): Mention if a function has a
18953 compiler-macro.
18954 * help-mode.el (help-function-cmacro): New button.
18955
18956 * locate.el (top-level): Always require dired.
18957 (locate-mode-map): Initialize inside the defvar.
18958
18959 * net/ange-ftp.el (dired-compress-file): Declare.
18960 (ange-ftp-dired-compress-file): Add doc string.
18961
18962 * term/ns-win.el (x-display-name, x-setup-function-keys):
18963 Unify doc-strings with X versions.
18964
18965 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18966
18967 * emulation/crisp.el (crisp-mode-map): Move initialization
18968 into declaration.
18969 (crisp-mode): Use define-minor-mode.
18970
18971 * progmodes/xscheme.el (xscheme-evaluation-commands):
18972 Put a :advertised-binding property rather than using
18973 advertised-xscheme-send-previous-expression.
18974 (advertised-xscheme-send-previous-expression): Declare obsolete.
18975 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18976 `advertised-undo'.
18977 (crisp-mode): Add corresponding bindings to
18978 undo's :advertised-binding instead.
18979 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18980 than using dired-advertised-find-file.
18981 (dired-advertised-find-file):
18982 * simple.el (advertised-undo):
18983 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18984 (widget-keymap): Put a :advertised-binding property rather
18985 than using advertised-widget-backward.
18986 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18987 than using advertised-undo.
18988 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18989
18990 2009-09-10 Simon South <ssouth@slowcomputing.org>
18991
18992 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18993 Mark mode is enabled and region is active; otherwise indent or
18994 insert TAB as usual.
18995 (delphi-mode): Update description of TAB-key binding.
18996
18997 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18998
18999 * subr.el (define-key-rebound-commands): Mark obsolete.
19000 * startup.el (precompute-menubar-bindings): Remove.
19001 (normal-top-level): Remove obsolete code that tried to precompute
19002 menubar bindings.
19003 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19004 define-key-rebound-commands and precompute-menubar-bindings.
19005
19006 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19007
19008 * net/imap.el (imap-interactive-login): Better messages.
19009 (imap-open): Fix bug with renamed buffer on reconnect.
19010 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19011 for easier debugging and cleaner code. On successful (guessed based on
19012 server capabilities) secondary authentication, set imap-state
19013 correctly.
19014 (imap-last-authenticator): Define imap-last-authenticator as a variable
19015 to avoid warnings.
19016
19017 2009-09-10 Glenn Morris <rgm@gnu.org>
19018
19019 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19020
19021 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19022 (byte-compile-file-form-autoload): Don't warn about unknown functions
19023 where the autoload statement comes after the use.
19024 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19025 that any handlers inside the body (eg require) are in turn respected.
19026
19027 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19028 effects.
19029
19030 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19031 and syntax and abbrev tables basic docs, if they don't have any.
19032
19033 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19034
19035 * international/mule-cmds.el (top-level): Require cl when compiling.
19036 (view-hello-file): Use default-value rather than
19037 default-enable-multibyte-characters.
19038
19039 * progmodes/fortran.el: Move all safe and risky properties into the
19040 defcustoms.
19041
19042 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19043 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19044 * mail/undigest.el:
19045 Put autoloads in rmail.el rather than loaddefs.el.
19046 * mail/rmail.el: Regenerate with extracted autoloads.
19047
19048 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19049 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19050
19051 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19052
19053 Reported in thread for Bug#4375.
19054 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19055 "-data-evaluate-expression" instead of print.
19056 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19057 (gdb-tooltip-print): Parse output from above MI command.
19058 (gdb): Revert 2009-08-11 change. User should detach inferior
19059 manually.
19060
19061 Remove the word "separate" from IO functions as inferior
19062 output is now never displayed in the GUD buffer.
19063
19064 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19065
19066 * startup.el (command-line-normalize-file-name): On Windows and
19067 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19068
19069 2009-09-10 Juri Linkov <juri@jurta.org>
19070
19071 * isearch.el (isearch-text-char-description): Propertize escape
19072 character sequences with the `escape-glyph' face. (Bug#4344)
19073
19074 * simple.el (shell-command): Set asynchronous process filter to
19075 `comint-output-filter'. (Bug#4343)
19076
19077 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19078 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19079 the list. Move "asm" to the bottom.
19080 (grep-find-ignored-directories): Add `choice' with nil value
19081 to empty the list easily.
19082 (grep-find-ignored-files): New option.
19083 (grep-files-history): Set to nil by default instead of '("ch" "el").
19084 (grep-compute-defaults): Add "<X>" to `grep-template'.
19085 (grep-read-files): Bind new local variables `default-alias' and
19086 `default-extension'. Use a list of default values for the file prompt.
19087 (lgrep): Add `--exclude=' command line options composed from
19088 `grep-find-ignored-files'.
19089 (rgrep): Add `-name' command line options composed from
19090 `grep-find-ignored-files'. (Bug#4301)
19091
19092 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19093
19094 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19095 (bug#4368).
19096
19097 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19098
19099 * calendar/time-date.el (autoload):
19100 Expand define-obsolete-function-alias into defalias and make-obsolete
19101 for old Emacsen that Gnus supports.
19102 (with-no-warnings): Define it for old Emacsen.
19103 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19104 is available.
19105 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19106 float-time is available; suppress compile warning for time-to-seconds.
19107
19108 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19109
19110 * net/imap.el (imap-message-map): Docstring fix.
19111
19112 2009-09-09 Glenn Morris <rgm@gnu.org>
19113
19114 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19115 line numbers too. (Bug#4374)
19116
19117 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19118
19119 * smerge-mode.el (smerge-remove-props, smerge-refine):
19120 Use with-silent-modifications (bug#4342).
19121
19122 * subr.el (with-silent-modifications): New macro.
19123
19124 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19125
19126 * files.el (top-level): Require `cl' when compiling.
19127
19128 2009-09-07 Glenn Morris <rgm@gnu.org>
19129
19130 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19131
19132 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19133 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19134
19135 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19136
19137 * vc-git.el (vc-git-annotate-command): Use separator to parse
19138 arguments correctly.
19139
19140 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19141
19142 * proced.el (proced-mode): Doc fix.
19143
19144 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19145
19146 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19147 lstat fails.
19148 (tramp-do-file-attributes-with-ls): Check for file existence at
19149 remote end.
19150 (tramp-do-file-attributes-with-stat): Likewise.
19151 (tramp-convert-file-attributes): Return nil when attr is nil.
19152
19153 2009-09-05 Glenn Morris <rgm@gnu.org>
19154
19155 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19156 properties to this button.
19157 (diary-fancy-display): Don't extend the button to the final newline.
19158 (diary-fancy-display-mode): Continue to define "q" as a local key.
19159
19160 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19161 efficient.
19162
19163 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19164
19165 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19166 (byte-compile-dest-file-function): New option.
19167 (byte-compile-dest-file): Doc fix.
19168 Obey byte-compile-dest-file-function.
19169 (byte-compile-cl-file-p): New function.
19170 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19171 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19172 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19173 than for file being previously loaded.
19174 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19175 (byte-compile-file-form-require): Handle the case where requiring a file
19176 indirectly causes CL to be loaded.
19177
19178 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19179
19180 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19181 before killing the old buffer, since by the time `kill-buffer' is
19182 run so many buffer variables have been set to nil that it may not
19183 behave as expected. (Bug#4061)
19184
19185 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19186
19187 * files.el (find-alternate-file): If the old buffer is modified
19188 and visiting a file, behave similarly to `kill-buffer' when
19189 killing it, thus reverting to the pre-1.878 behavior; see
19190 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19191 for discussion. Also, consult `buffer-file-name' as a variable
19192 not as a function, for consistency with the rest of the code.
19193
19194 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19195
19196 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19197 also when adding a new directory.
19198
19199 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19200 New defun.
19201
19202 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19203
19204 * files.el (locate-file-completion-table): Make it provide boundary
19205 information, so partial-completion works better.
19206
19207 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19208
19209 * mail/footnote.el (Footnote-text-under-cursor):
19210 Check footnote-text-marker-alist before using it (bug#4324).
19211
19212 2009-09-04 Glenn Morris <rgm@gnu.org>
19213
19214 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19215 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19216 * play/solitaire.el, play/tetris.el:
19217 Remove leading * from defcustom and defface docs.
19218
19219 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19220 necessary.
19221 (diary-fancy-overriding-map): New variable.
19222 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19223 Use view-mode.
19224
19225 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19226 goto-line.
19227
19228 2009-09-03 Glenn Morris <rgm@gnu.org>
19229
19230 * arc-mode.el (archive-mode):
19231 * dos-fns.el (set-default-process-coding-system):
19232 * man.el (Man-getpage-in-background):
19233 * menu-bar.el (menu-bar-describe-menu):
19234 * server.el (server-process-filter):
19235 * startup.el (command-line):
19236 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19237 * w32-fns.el (set-default-process-coding-system):
19238 * x-dnd.el (x-dnd-handle-file-name):
19239 * international/mule-cmds.el (mule-menu-keymap)
19240 (set-default-coding-systems, language-info-alist, set-language-info)
19241 (set-language-environment, standard-display-european-internal)
19242 (set-locale-environment):
19243 * international/mule-diag.el (mule-diag):
19244 * mail/emacsbug.el (report-emacs-bug):
19245 * mail/rmail.el (rmail-mode):
19246 * mail/sendmail.el (mail-setup):
19247 Use default-value rather than default-enable-multibyte-characters.
19248
19249 * progmodes/f90.el: Move all safe properties into the defcustoms.
19250 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19251
19252 * calendar/appt.el (appt-check):
19253 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19254 (diary-check-diary-file, diary-list-entries)
19255 (diary-include-other-diary-files, diary-simple-display)
19256 (diary-fancy-display, diary-print-entries)
19257 (diary-mark-included-diary-files, diary-make-entry):
19258 Don't call substitute-in-file-name on diary-file.
19259
19260 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19261 Stefan Monnier <monnier@iro.umontreal.ca>
19262
19263 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19264 (footnote-mode-map): Move initialization into the declaration.
19265 (footnote-minor-mode-map): Define it rather than changing global-map.
19266 (footnote-mode): Use define-minor-mode.
19267
19268 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19269
19270 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19271 (tramp-do-file-attributes-with-perl)
19272 (tramp-do-file-attributes-with-stat): Rename from
19273 `tramp-handle-file-attributes-with-*'.
19274 (tramp-handle-file-attributes): Use them.
19275 (tramp-do-directory-files-and-attributes-with-perl)
19276 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19277 `tramp-handle-directory-files-and-attributes-with-*'.
19278 (tramp-handle-directory-files-and-attributes): Use them.
19279 (tramp-method-out-of-band-p): Additional parameter SIZE.
19280 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19281 (tramp-handle-write-region): Use it.
19282 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19283 (tramp-handle-vc-registered): Check, whether the first run did
19284 return files to be tested.
19285 (tramp-advice-make-auto-save-file-name): Do not call directly
19286 `tramp-handle-make-auto-save-file-name', because this would bypass
19287 the locking mechanism.
19288
19289 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19290 (file-remote-p, process-file, start-file-process, set-file-times)
19291 (tramp-compat-file-attributes): Compatibility functions shall not
19292 call directly `tramp-handle-*', because this would bypass the
19293 locking mechanism.
19294 (tramp-compat-number-sequence): New defun.
19295
19296 2009-09-02 Glenn Morris <rgm@gnu.org>
19297
19298 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19299 alias for float-time.
19300 (time-to-number-of-days): In Emacs, use float-time.
19301 * net/newst-backend.el (time-add): Suppress warnings from compat
19302 function.
19303 * time.el (emacs-uptime, emacs-init-time):
19304 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19305 Use float-time rather than time-to-seconds.
19306
19307 * minibuffer.el (completion-initials-expand): Fix typo.
19308
19309 * faces.el (modeline, modeline-inactive, modeline-highlight)
19310 (modeline-buffer-id):
19311 * info.el (info-menu-5): Mark these face aliases as obsolete.
19312
19313 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19314
19315 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19316 space ...
19317 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19318 no "--thread" option.
19319 (gdb-stopped): Don't print "Switched to thread" message when it is
19320 unchanged.
19321
19322 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19323
19324 * minibuffer.el (completion-try-completion)
19325 (completion-all-completions): Remove ill-defined (and
19326 mistakenly installed and luckily never used nor documented)
19327 `completion-styles' property.
19328 (completion-initials-expand, completion-initials-all-completions)
19329 (completion-initials-try-completion): New functions.
19330 (completion-styles-alist): Add doc to each entry.
19331 Add new `initials' entry.
19332
19333 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19334
19335 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19336 MI command -var-evaluate-expression.
19337 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19338 and tweak for case of string child.
19339 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19340
19341 2009-09-01 Glenn Morris <rgm@gnu.org>
19342
19343 * add-log.el (change-log-date-face, change-log-name-face)
19344 (change-log-email-face, change-log-file-face, change-log-list-face)
19345 (change-log-conditionals-face, change-log-function-face)
19346 (change-log-acknowledgement-face):
19347 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19348 (custom-modified-face, custom-set-face, custom-changed-face)
19349 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19350 (custom-documentation-face, custom-state-face, custom-comment-face)
19351 (custom-comment-tag-face, custom-variable-tag-face)
19352 (custom-variable-button-face, custom-face-tag-face)
19353 (custom-group-tag-face-1, custom-group-tag-face):
19354 * diff-mode.el (diff-header-face, diff-file-header-face)
19355 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19356 (diff-added-face, diff-changed-face, diff-function-face)
19357 (diff-context-face, diff-nonexistent-face):
19358 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19359 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19360 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19361 (Info-title-4-face):
19362 * isearch.el (isearch-lazy-highlight-face):
19363 * log-view.el (log-view-file-face, log-view-message-face):
19364 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19365 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19366 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19367 (cvs-msg-face):
19368 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19369 (smerge-base-face, smerge-markers-face):
19370 * wid-edit.el (widget-documentation-face, widget-button-face)
19371 (widget-field-face, widget-single-line-field-face)
19372 (widget-inactive-face, widget-button-pressed-face):
19373 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19374 (woman-addition-face):
19375 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19376 (eshell-ls-executable-face, eshell-ls-readonly-face)
19377 (eshell-ls-unreadable-face, eshell-ls-special-face)
19378 (eshell-ls-missing-face, eshell-ls-archive-face)
19379 (eshell-ls-backup-face, eshell-ls-product-face)
19380 (eshell-ls-clutter-face):
19381 * eshell/em-prompt.el (eshell-prompt-face):
19382 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19383 * obsolete/old-whitespace.el (whitespace-highlight-face):
19384 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19385 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19386 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19387 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19388 (antlr-font-lock-literal-face):
19389 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19390 (ebrowse-root-class-face, ebrowse-file-name-face)
19391 (ebrowse-default-face, ebrowse-member-attribute-face)
19392 (ebrowse-member-class-face, ebrowse-progress-face):
19393 * progmodes/make-mode.el (makefile-space-face):
19394 * progmodes/sh-script.el (sh-heredoc-face):
19395 * textmodes/flyspell.el (flyspell-incorrect-face)
19396 (flyspell-duplicate-face):
19397 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19398 * textmodes/texinfo.el (texinfo-heading-face):
19399 Mark face aliases with "-face" suffix as obsolete.
19400
19401 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19402 compiler.
19403
19404 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19405 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19406 easy-menu-define wants to modify these.
19407
19408 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19409
19410 * net/browse-url.el (browse-url-file-url):
19411 * term/internal.el (dos-codepage-setup):
19412 Use default-value rather than default-enable-multibyte-characters.
19413
19414 * progmodes/etags.el (etags-goto-tag-location):
19415 * progmodes/flymake.el (flymake-highlight-line)
19416 (flymake-goto-file-and-line, flymake-goto-line):
19417 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19418 (gdb-goto-breakpoint):
19419 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19420 * progmodes/python.el (python-find-function)
19421 (python-pdbtrack-track-stack-file):
19422 * progmodes/verilog-mode.el (verilog-surelint-off):
19423 * term/ns-win.el (ns-open-file-select-line):
19424 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19425 Use forward-line rather than goto-line.
19426
19427 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19428 * textmodes/reftex-index.el (reftex-display-index):
19429 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19430 * textmodes/reftex-toc.el (reftex-toc):
19431 Remove unnecessary bindings of default-major-mode (all are followed by
19432 major-mode check and possible mode switch).
19433
19434 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19435
19436 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19437 Handle watchpoints (bug#4282).
19438 (def-gdb-thread-buffer-command): Enable thread to be selected by
19439 clicking without selecting threads buffer first.
19440 (gdb-current-context-command): Use selected frame so that "up",
19441 "down" etc work in the GUD buffer.
19442 (gdb-update): Find selected frame before rendering stack buffer.
19443 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19444
19445 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19446
19447 * progmodes/sym-comp.el (displayed-completions): Remove.
19448 (symbol-complete): Use minibuffer-complete.
19449
19450 2009-08-31 Glenn Morris <rgm@gnu.org>
19451
19452 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19453
19454 * apropos.el (apropos-symbols-internal):
19455 Handle (obsolete) face aliases.
19456
19457 * faces.el (describe-face): Adjust the output format to be more like
19458 describe-variable, and to mention (obsolete) face aliases.
19459 Adjust the whitespace so that help-setup-xref works.
19460
19461 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19462 * calendar/diary-lib.el (diary-button-face):
19463 Mark these face aliases as obsolete.
19464
19465 * calendar/calendar.el (calendar-today): Doc fix.
19466
19467 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19468
19469 * progmodes/gdb-mi.el (gdb-control-all-threads)
19470 (gdb-control-current-thread): Force tool bar update.
19471 (gdb-non-stop-handler): New function.
19472 (gdb-init-1): Use it to test if non-stop mode is supported.
19473 Remove unused gdbmi buffer type.
19474
19475 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19476
19477 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19478 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19479
19480 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19481
19482 * comint.el (comint-exec-1): Check command is non-null first.
19483 Part of gdb-mi.el change (2009-08-28).
19484
19485 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19486
19487 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19488
19489 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19490
19491 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19492 instead of `dolist' to avoid a recursive require when bootstrapping.
19493
19494 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19495
19496 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19497
19498 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19499
19500 * net/imap.el (imap-send-command): Simplify.
19501 (imap-wait-for-tag): point-max -> buffer-size.
19502
19503 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19504
19505 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19506 with constant argument.
19507
19508 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19509
19510 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19511
19512 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19513 Change default, since most of our files don't have a history.
19514 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19515 the user.
19516
19517 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19518 Add comint-run.
19519
19520 * calc/calc.el: Improve commenting convention.
19521 (calc-digit-map, toplevel): Simplify.
19522
19523 * comint.el (comint-insert-input): Be careful to only set point if we
19524 don't delegate to some other command.
19525
19526 * proced.el (proced-signal-list): Make it an alist.
19527 (proced-grammar-alist): Capitalize names.
19528 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19529 Disable undo manually and make it read-only.
19530 Use completion-annotate-function.
19531
19532 * minibuffer.el (minibuffer-message): If the current buffer is not
19533 a minibuffer, insert the message in the echo area rather than at the
19534 end of the buffer.
19535 (completion-annotate-function): New variable.
19536 (minibuffer-completion-help): Use it.
19537 (completion--embedded-envvar-table): Environment vars are
19538 always case-sensitive.
19539
19540 2009-08-30 Glenn Morris <rgm@gnu.org>
19541
19542 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19543 from fortran-current-defun.
19544 (fortran-beginning-of-subprogram): Be more precise about finding the
19545 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19546 (fortran-end-of-subprogram): Simplify.
19547 (fortran-current-defun): Use fortran-start-prog-re.
19548
19549 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19550
19551 * subr.el (do-after-load-evaluation): Simplify.
19552
19553 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19554
19555 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19556
19557 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19558 (vc-rcs-print-log): Use it.
19559
19560 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19561
19562 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19563
19564 * paths.el (abbrev-file-name): Move to abbrev.el.
19565 * abbrev.el (abbrev-file-name): Move from paths.el.
19566 Obey user-emacs-directory.
19567 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19568 user-emacs-directory.
19569 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19570 abbrev-file-name and calc-settings-file any more.
19571 * startup.el (command-line): Recompute abbrev-file-name and
19572 abbreviated-home-dir.
19573 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19574 of the special code for when C-h bindings haven't been changed.
19575 (display-startup-echo-area-message): Use with-current-buffer.
19576 (command-line-1): Use a list of strings, rather than a list of lists
19577 of strings for longopts.
19578
19579 * files.el (get-free-disk-space): Use / for default-directory.
19580
19581 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19582 Use with-current-buffer.
19583
19584 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19585 Recognize immutable variables like most-positive-fixnum.
19586 (byte-compile-setq-default): Check and warn if trying to assign
19587 to an immutable variable, or a non-variable.
19588
19589 * progmodes/cc-vars.el (c-comment-continuation-stars):
19590 * progmodes/cc-engine.el (c-looking-at-bos):
19591 * progmodes/cc-cmds.el (c-toggle-auto-state)
19592 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19593 (c-comment-line-break-function): Add version of obsolescence.
19594
19595 2009-08-28 Juri Linkov <juri@jurta.org>
19596
19597 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19598 associated with `archive-mode'.
19599
19600 * image.el (image-type-header-regexps): Use only JPEG magic number
19601 to determine JPEG images, and don't use `image-jpeg-p' because
19602 Emacs can display non-JFIF non-Exif JPEG images.
19603
19604 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19605
19606 * arc-mode.el (archive-mode):
19607 * emacs-lisp/re-builder.el (re-builder-unload-function):
19608 Protect against the default value of `major-mode' being nil.
19609
19610 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19611
19612 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19613 Fix typos in docstrings.
19614
19615 * progmodes/js.el (js--macro-decl-re): Doc fix.
19616 (js--plain-method-re, js--split-name): Refloc docstring.
19617 (js--class-styles, js--make-merged-item, js--splice-into-items):
19618 Fix typos in docstrings; reflow docstrings.
19619 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19620 (js--variable-decl-matcher, js--inside-pitem-p)
19621 (js--parse-state-at-point, js--get-all-known-symbols)
19622 (js--symbol-history, js-find-symbol, js--js-references)
19623 (js--moz-interactor, js--js-encode-value, js--read-tab):
19624 Fix typos in docstrings.
19625
19626 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19627
19628 * textmodes/reftex.el (reftex-get-file-buffer-force):
19629 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19630 * emulation/viper.el (viper-go-away, viper-set-hooks):
19631 * emacs-lisp/re-builder.el (re-builder-unload-function):
19632 * emacs-lisp/bytecomp.el (byte-compile-file):
19633 * ses.el (ses-unload-function):
19634 * hexl.el (hexl-find-file):
19635 * files.el (normal-mode):
19636 * ehelp.el (with-electric-help):
19637 * autoinsert.el (auto-insert-alist):
19638 * arc-mode.el (archive-mode):
19639 Use (default-value 'major-mode) instead of default-major-mode.
19640
19641 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19642 * international/mule.el (load-with-code-conversion):
19643 * emacs-lisp/debug.el (debug):
19644 * ediff-vers.el (ediff-rcs-get-output-buffer):
19645 * dired.el (dired-internal-noselect): Don't let-bind
19646 default-major-mode around code that doesn't use it.
19647 E.g. buffer creation via get-buffer-create doesn't use it.
19648
19649 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19650
19651 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19652 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19653 when writing the temp file. Otherwise, epa-file gets confused.
19654 (tramp-register-file-name-handlers): Make it a defun. Move also
19655 `epa-file-handler' to the front of `file-name-handler-alist'.
19656
19657 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19658
19659 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19660 start right after a ^M.
19661 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19662 (tramp-completion-file-name-regexp-separate)
19663 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19664 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19665 Don't modify last-coding-system-used by accident.
19666 (tramp-completion-file-name-handler): Apply the checks here,
19667 instead during registration.
19668 (tramp-register-file-name-handlers): Rename from
19669 `tramp-register-file-name-handler'. Register both
19670 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19671 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19672
19673 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19674
19675 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19676 Remove variable ...
19677 (gdb-init-1, gdb-display-separate-io-buffer)
19678 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19679 references to it.
19680 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19681 (gdb-inferior-filter): Use comint-output-filter to stop
19682 echoing and remove ^M characters.
19683
19684 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19685
19686 * emulation/viper-init.el (viper-restore-cursor-type):
19687 * emulation/cua-base.el (cua--update-indications):
19688 Replace default-cursor-type with (default-value 'cursor-type).
19689
19690 * mail/sendmail.el (mail-recover-1):
19691 * international/mule-diag.el (describe-current-coding-system-briefly)
19692 (describe-current-coding-system):
19693 * international/mule-cmds.el (select-safe-coding-system)
19694 (select-message-coding-system)
19695 (set-language-environment-coding-systems, set-locale-environment):
19696 * hexl.el (hexl-insert-multibyte-char):
19697 * dos-w32.el (find-buffer-file-type-coding-system):
19698 * simple.el (what-cursor-position):
19699 Replace uses of default-buffer-file-coding-system
19700 with (default-value 'buffer-file-coding-system).
19701
19702 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19703 Replace uses of default-cursor-in-non-selected-windows
19704 with (default-value 'cursor-in-non-selected-windows).
19705 Use with-current-buffer.
19706
19707 * mail/feedmail.el: Use CL macros.
19708 (feedmail-run-the-queue, feedmail-send-it-immediately):
19709 * dos-w32.el (find-buffer-file-type): Replace uses of
19710 default-buffer-file-type with (default-value 'buffer-file-type).
19711
19712 2009-08-28 Glenn Morris <rgm@gnu.org>
19713
19714 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19715 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19716 Use default-value of major-mode rather than default-major-mode.
19717
19718 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19719
19720 * Makefile.in (update-elcfiles): Report left over elc files.
19721
19722 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19723 expand-file-name and with-current-buffer.
19724 (mail-get-names, mail-directory): Use with-current-buffer.
19725
19726 * vc.el (vc-read-revision): New function.
19727 (vc-version-diff, vc-merge): Use it.
19728
19729 2009-08-27 Sam Steingold <sds@gnu.org>
19730
19731 * simple.el (kill-do-not-save-duplicates): New user option.
19732 (kill-new): When it is non-nil, and the new string is the same as
19733 the latest kill, set replace to t to avoid duplicates in kill-ring.
19734
19735 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19736
19737 * net/tramp.el (tramp-handle-process-file): Do not flush all
19738 caches when `process-file-side-effects' is set.
19739 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19740 instead of `tramp-find-file-exists-command'.
19741 Unset `process-file-side-effects'.
19742
19743 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19744
19745 * net/tramp.el (tramp-methods): New method "rsyncc".
19746 (top): Add completion function for "rsyncc".
19747 (tramp-message-show-message): New defvar.
19748 (tramp-message, tramp-error): Use it.
19749 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19750 remote copying.
19751 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19752 `tramp-methods' entry `copy-env' of "rsyncc".
19753 (tramp-vc-registered-read-file-names): New defconst.
19754 (tramp-vc-registered-file-names): New defvar.
19755 (tramp-handle-vc-registered): Implement optimization strategy.
19756 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19757 (tramp-vc-file-name-handler): New defun.
19758 (tramp-get-ls-command, tramp-get-test-command)
19759 (tramp-get-file-exists-command, tramp-get-remote-ln)
19760 (tramp-get-remote-perl, tramp-get-remote-stat)
19761 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19762
19763 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19764 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19765 timestamps.
19766 (tramp-get-file-property): Check for timestamps in
19767 `tramp-cache-inhibit-cache'.
19768 (tramp-set-file-property): Write timestamp.
19769
19770 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19771
19772 * language/japan-util.el (japanese-symbol-table): Add entries for
19773 cp932-2-byte.
19774
19775 * international/characters.el: Add category `j' to cp932-2-byte.
19776
19777 2009-08-27 Kenichi Handa <handa@m17n.org>
19778
19779 * international/fontset.el (build-default-fontset-data): New macro.
19780 (setup-default-fontset): Use build-default-fontset-data for CJK,
19781 tibetan, ethiopic, and ipa.
19782
19783 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19784
19785 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19786 (enable-multibyte-characters): Not customizable any more.
19787
19788 * subr.el (default-mode-line-format, default-header-line-format)
19789 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19790 (default-direction-reversed, default-truncate-lines)
19791 (default-left-margin, default-tab-width, default-case-fold-search)
19792 (default-left-margin-width, default-right-margin-width)
19793 (default-left-fringe-width, default-right-fringe-width)
19794 (default-fringes-outside-margins, default-scroll-bar-width)
19795 (default-vertical-scroll-bar, default-indicate-empty-lines)
19796 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19797 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19798 (default-scroll-down-aggressively, default-fill-column)
19799 (default-cursor-type, default-buffer-file-type)
19800 (default-cursor-in-non-selected-windows)
19801 (default-buffer-file-coding-system, default-major-mode)
19802 (default-enable-multibyte-characters): Mark as obsolete.
19803
19804 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19805
19806 * vc-dir.el (vc-dir-update): Remove debug helper.
19807
19808 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19809
19810 2009-08-26 Sam Steingold <sds@gnu.org>
19811
19812 * simple.el (save-interprogram-paste-before-kill): New user option.
19813 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19814 save the interprogram-paste into kill-ring before overriding it
19815 with the Emacs kill.
19816
19817 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19818
19819 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19820 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19821 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19822 and move to vc-rcs.el.
19823 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19824 move to vc-rcs.el.
19825 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19826 (vc-rcs-update-changelog): Remove.
19827 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19828 and move to vc-rcs.el.
19829
19830 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19831 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19832 renaming.
19833 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19834 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19835 vc.el, renamed to be RCS specific.
19836
19837 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19838 New functions.
19839 (vc-cvs-update-changelog): Move here from vc.el.
19840
19841 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19842 New functions.
19843
19844 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19845
19846 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19847
19848 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19849
19850 * vc-git.el (vc-git-register): Use "git add" for directories.
19851 (vc-git-stash, vc-git-stash-show): New functions.
19852 (vc-git-extra-menu-map): Bind them.
19853
19854 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19855 directory correctly in case the item is a directory itself.
19856
19857 * vc.el: Document the desired behavior for reverted files in the
19858 `added' state.
19859 (vc-default-prettify-state-info): Remove function, unused.
19860
19861 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19862
19863 2009-08-26 Glenn Morris <rgm@gnu.org>
19864
19865 * bindings.el (standard-mode-line-format): Reposition dashes in
19866 which-func entry. (Bug#4217)
19867
19868 * files.el (enable-local-variables, enable-local-eval)
19869 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19870 the defcustoms.
19871 (auto-mode-alist, ignored-local-variables)
19872 (save-some-buffers-action-alist): Move risky declarations to the
19873 definitions.
19874 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19875 (font-lock-defaults, format-alist, imenu--index-alist)
19876 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19877 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19878 (mode-line-modified, mode-line-mule-info, mode-line-position)
19879 (mode-line-process, mode-line-remote, outline-level)
19880 (parse-time-rules, rmail-output-file-alist)
19881 (special-display-buffer-names, vc-mode):
19882 Move risky declarations to the relevant files.
19883 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19884 (mode-line-modified, mode-line-process, mode-line-position)
19885 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19886 * font-core.el (font-lock-defaults):
19887 * format.el (format-alist):
19888 * vc-hooks.el (vc-mode):
19889 * window.el (special-display-buffer-names):
19890 * international/mule-cmds.el (input-method-alist):
19891 Define riskiness here (dumped file) rather than in files.el.
19892 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19893 * imenu.el (imenu-generic-expression, imenu--index-alist):
19894 * outline.el (outline-level):
19895 * time.el (display-time-string):
19896 * calendar/parse-time.el (parse-time-rules):
19897 * mail/rmailout.el (rmail-output-file-alist):
19898 Autoload riskiness here, rather than placing in files.el.
19899
19900 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19901
19902 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19903
19904 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19905
19906 * simple.el (process-file-side-effects): New defvar.
19907
19908 * dired-aux.el (dired-show-file-type):
19909 * vc.el (vc-diff-internal):
19910 * vc-arch.el (vc-arch-diff):
19911 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19912 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19913 * vc-git.el (vc-git-registered, vc-git-working-revision)
19914 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19915 (vc-git--empty-db-p):
19916 * vc-hooks.el (vc-user-login-name):
19917 * vc-svn.el (vc-svn-registered, vc-svn-state)
19918 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19919 * progmodes/grep.el (grep-probe): Let-bind
19920 `process-file-side-effects' with nil.
19921
19922 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19923
19924 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19925 daemon. Replace ping by checking for running service for bluez
19926 and zeroconf. (Bug#4239)
19927
19928 2009-08-25 Kevin Ryde <user42@zip.com.au>
19929
19930 * net/dig.el (dig): Add autoload cookie.
19931
19932 2009-08-25 Glenn Morris <rgm@gnu.org>
19933
19934 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19935 load-history for absolute file-names.
19936 (byte-compile-file-form-require): Warn about use of the cl package.
19937
19938 * format.el (format-alist): Doc fix.
19939
19940 * play/bubbles.el (top-level): Don't require cl at run-time.
19941
19942 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19943 run-time cl).
19944
19945 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19946
19947 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19948 from cl package.
19949 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19950
19951 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19952
19953 * calc/calc-alg.el (math-trig-rewrite)
19954 (math-hyperbolic-trig-rewrite): New functions.
19955 (calc-simplify): Simplify trig functions when asked.
19956
19957 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19958
19959 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19960
19961 2009-08-24 Kenichi Handa <handa@m17n.org>
19962
19963 * language/ind-util.el (mapthread): Delete it.
19964 (combinatorial): New function.
19965 (indian--puthash-cv): Use combinatorial instead of mapthread.
19966
19967 2009-08-22 Kevin Ryde <user42@zip.com.au>
19968
19969 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19970 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19971 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19972 Clarify docstring that the value is strings not symbols.
19973 (checkdoc-list-of-strings-p): New function.
19974
19975 2009-08-22 Glenn Morris <rgm@gnu.org>
19976
19977 * files.el (auto-mode-alist):
19978 * hippie-exp.el (he-concat-directory-file-name):
19979 * lpr.el (lpr-windows-system, printer-name):
19980 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19981 * ps-print.el (ps-windows-system):
19982 * startup.el (command-line):
19983 * emulation/viper-ex.el (viper-glob-function):
19984 * international/mule-cmds.el (set-language-environment-coding-systems):
19985 * net/ange-ftp.el (ange-ftp-write-region):
19986 * obsolete/fast-lock.el (fast-lock-cache-name):
19987 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19988 unisoft-unix, vax-vms, win32, w32.
19989
19990 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19991 given name if the pattern is not more specific.
19992
19993 * calendar/lunar.el (lunar-phase-names): New option.
19994 (lunar-phase): Doc fix.
19995 (lunar-cycles-per-year): New constant.
19996 (lunar-index): New function.
19997 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19998 (lunar-phase-name): Use lunar-phase-names.
19999 (calendar-lunar-phases): Use format.
20000 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20001
20002 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20003 Copy imenu-example--name-and-position function here for own use.
20004 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20005
20006 * bs.el (bs--redisplay):
20007 * cus-edit.el (custom-redraw):
20008 * ibuffer.el (ibuffer-bury-buffer):
20009 * server.el (server-goto-line-column):
20010 * startup.el (command-line-1):
20011 * strokes.el (strokes-xpm-for-stroke):
20012 * term.el (term-display-buffer-line):
20013 * view.el (View-goto-line):
20014 * calc/calc.el (calc-do, calc-trail-buffer):
20015 * play/gamegrid.el (gamegrid-add-score-insecure):
20016 * progmodes/ada-mode.el (ada-compile-goto-error):
20017 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20018 (ebrowse-select-1st-to-9nth):
20019 * progmodes/cperl-mode.el (cperl-time-fontification):
20020 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20021 * progmodes/gud.el (gud-display-line):
20022 (idlwave-shell-display-line):
20023 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20024 * progmodes/make-mode.el (makefile-browser-toggle):
20025 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20026 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20027 * textmodes/picture.el (picture-draw-rectangle):
20028 * textmodes/reftex-index.el (reftex-index-goto-letter):
20029 (reftex-select-jump-to-previous):
20030 * textmodes/reftex-sel.el (reftex-find-start-point)
20031 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20032 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20033 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20034 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20035 * textmodes/two-column.el (2C-associated-buffer):
20036 Use forward-line rather than goto-line.
20037
20038 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20039 goto-line.
20040
20041 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20042 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20043 (quick-check-list-to-regexp): Declare.
20044
20045 * progmodes/make-mode.el (makefile-browser-insert-selection):
20046 Use goto-char rather than goto-line.
20047
20048 * progmodes/prolog.el (compilation-error-regexp-alist)
20049 (compilation-forget-errors): Declare.
20050
20051 2009-08-22 Juri Linkov <juri@jurta.org>
20052
20053 * progmodes/grep.el (lgrep, rgrep): At the beginning
20054 set `dir' to `default-directory' unless `dir' is a non-nil
20055 readable directory. (Bug#4052)
20056 (lgrep, rgrep): Change a weird way to report an error
20057 from using `read-string' to using `error'.
20058 Instead of using interactive arguments in the function body,
20059 add new argument `confirm'.
20060
20061 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20062
20063 * textmodes/remember.el (remember-buffer):
20064 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20065 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20066 (icalendar-extract-ical-from-buffer):
20067 * net/newst-treeview.el (newsticker-groups-filename):
20068 * net/newst-backend.el (newsticker-cache-filename):
20069 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20070 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20071 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20072 (speedbar-buffers-line-path, speedbar-path-line)
20073 (speedbar-buffers-line-path):
20074 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20075 (epg-sign-keys):
20076 * epa.el (epa-display-verify-result):
20077 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20078
20079 2009-08-21 Glenn Morris <rgm@gnu.org>
20080
20081 * progmodes/js.el (inferior-moz-process): Fix declaration.
20082
20083 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20084
20085 * obsolete/rnewspost.el (news-mail-reply):
20086 Use goto-char rather than goto-line.
20087
20088 * term/ns-win.el (ns-open-file-select-line):
20089 Use line-beginning-position rather than goto-line.
20090
20091 * apropos.el (apropos-command):
20092 * ehelp.el (electric-helpify):
20093 * printing.el (pr-show-setup):
20094 * strokes.el (strokes-help):
20095 * tutorial.el (tutorial--describe-nonstandard-key)
20096 (tutorial--detailed-help):
20097 * woman.el (woman-mini-help, woman-display-extended-fonts):
20098 * calc/calc-help.el (calc-describe-key):
20099 * emulation/edt.el (edt-electric-helpify):
20100 * international/mule-diag.el (mule-diag):
20101 * play/yow.el (apropos-zippy):
20102 * progmodes/python.el (python-describe-symbol):
20103 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20104 * textmodes/table.el (*table--cell-describe-mode)
20105 (*table--cell-describe-bindings):
20106 Use help-print-return-message rather than the now obsolete alias.
20107
20108 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20109 (calendar-cursor-to-visible-date):
20110 * play/5x5.el (5x5-position-cursor):
20111 * play/decipher.el (decipher):
20112 * play/gomoku.el (gomoku-goto-xy):
20113 * play/landmark.el (lm-goto-xy):
20114 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20115 (mpuz-paint-digit):
20116 Use forward-line, not goto-line.
20117
20118 * mail/rmail.el (rmail-obsolete): Delete custom group.
20119 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20120 (rmail-remote-password, rmail-remote-password-required):
20121 Remove unneeded :set-after and :set properties.
20122
20123 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20124
20125 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20126
20127 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20128
20129 * loadup.el: Remove leftover macos code.
20130
20131 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20132 Explicitly pass the date format to git blame so that user local
20133 so that the output format can be parsed.
20134
20135 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20136
20137 * net/dbus.el (top): Don't check for (getenv
20138 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20139
20140 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20141
20142 * log-edit.el (log-edit-strip-single-file-name): New var.
20143 (log-edit-insert-changelog): Use it. Bug#3571
20144
20145 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20146
20147 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20148 Bug#3287
20149
20150 * help.el (help-print-return-message): Rename from
20151 print-help-return-message.
20152
20153 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20154 cvs-mode-map parent hack.
20155 (log-view-mode): Derive from special-mode.
20156
20157 * linum.el (linum-mode): window-size-change-functions is redundant.
20158 Adapt to new window-configuration-change-hook behavior.
20159 (linum-after-size, linum-after-config): Remove.
20160
20161 * imenu.el (imenu-example--name-and-position)
20162 (imenu-example--lisp-extract-index-name)
20163 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20164 Mark as obsolete.
20165
20166 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20167 (inferior-prolog-mode): Use it.
20168 (inferior-prolog-load-file): Reset list of errors.
20169
20170 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20171
20172 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20173
20174 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20175
20176 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20177
20178 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20179 is running already.
20180
20181 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20182
20183 * subr.el (listify-key-sequence-1): Use normal syntax since those
20184 integers are nowadays always represented by the same (positive) number
20185 on all platforms.
20186 (read-key-empty-map): New const.
20187 (read-key-delay): New var.
20188 (read-key): New function.
20189 (force-mode-line-update): Use with-current-buffer.
20190 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20191 (start-process-shell-command, start-file-process-shell-command):
20192 Discourage the use of command-args.
20193
20194 2009-08-19 Glenn Morris <rgm@gnu.org>
20195
20196 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20197
20198 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20199
20200 * simple.el (choose-completion-string): Don't rely on
20201 minibuffer-completing-file-name and ad-hoc checks to decide whether
20202 to continue completion or not.
20203
20204 * minibuffer.el (minibuffer-hide-completions): New function.
20205 (completion--do-completion): Use it.
20206 (completions-annotations): New face.
20207 (completion--insert-strings): Use it.
20208 (completion-pcm--delim-wild-regex): Add docstring.
20209 (completion-pcm--string->pattern): Add support for 0-width delimiters
20210 in completion-pcm--delim-wild-regex.
20211
20212 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20213
20214 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20215 Remove unused var `buffer-modified-p'.
20216
20217 * minibuffer.el (completion--do-completion): Move point for the #b001
20218 case as well (bug#4176).
20219 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20220
20221 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20222
20223 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20224 and :session buses.
20225
20226 2009-08-18 Kenichi Handa <handa@m17n.org>
20227
20228 * international/ucs-normalize.el (ucs-normalize-version):
20229 Change to 1.1.
20230 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20231 (utf-8-hfs): Make it perform normalization on encoding too.
20232
20233 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20234 (sentence-end-without-space): Delete duplicated chars.
20235 (sentence-end-base): Likewise.
20236
20237 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20238 (html-mode): Delete duplicated chars from sentence-end-base.
20239
20240 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20241 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20242
20243 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20244
20245 * files.el (hack-one-local-variable): If the mode function is for
20246 a minor mode, pass it an argument (Bug#4148).
20247
20248 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20249
20250 * net/tramp.el (tramp-register-completion-file-name-handler):
20251 Check also for (member 'partial-completion completion-styles).
20252
20253 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20254
20255 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20256 abbrev (Bug#3943).
20257
20258 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20259
20260 * progmodes/cperl-mode.el: Merge upstream 6.2.
20261 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20262 (cperl-forward-re): Check cperl-brace-recursing.
20263 (cperl-highlight-charclass): New function.
20264 (cperl-find-pods-heres): Use it.
20265 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20266 (cperl-beautify-regexp-piece): Fix column calculation.
20267 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20268 (cperl-beautify-level): Don't process entire regexp.
20269 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20270 calling man.
20271 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20272 (cperl-init-faces): Build a list in the normal way.
20273
20274 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20275
20276 * calendar/parse-time.el (parse-time-string-chars): Save match
20277 data.
20278
20279 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20280
20281 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20282 (sql-product): Use it.
20283 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20284 (sql-set-product): Add completion.
20285 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20286 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20287 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20288 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20289 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20290 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20291 (sql-highlight-db2-keywords): Remove.
20292 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20293 (sql-highlight-product): Use derived-mode-p.
20294 (sql-set-sqli-buffer): Use with-current-buffer.
20295 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20296 Simplify.
20297
20298 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20299
20300 * term.el: Fix commenting convention, turn comments into docstrings.
20301
20302 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20303
20304 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20305
20306 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20307
20308 * calendar/parse-time.el (parse-time-string-chars): Compute using
20309 character classes, to handle non-ascii characters (Bug#3190).
20310
20311 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20312
20313 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20314 another heredoc if the user adds another < (Bug#3226).
20315
20316 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20317 Don't initialize based on window-system (Bug#4124).
20318
20319 * facemenu.el (facemenu-read-color): Use a completion function
20320 that accepts any defined color, such as RGB triplets (Bug#3677).
20321
20322 * files.el (get-free-disk-space): Change fallback default
20323 directory to /. Expand DIR argument before switching to fallback.
20324 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20325
20326 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20327
20328 * files.el (load-library): Doc fix.
20329
20330 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20331
20332 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20333 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20334 incremental search string.
20335
20336 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20337 XEmacs.
20338
20339 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20340 (ediff-merge-region-is-non-clash)
20341 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20342 Also check if the job is really a merge job.
20343
20344 * ediff.el (ediff-current-file): New function.
20345
20346 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20347
20348 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20349 conventions.
20350 (js-insert-and-indent): Delete function.
20351 (js-mode-map): Don't bind keys to js-insert-and-indent.
20352 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20353 (js-end-of-defun): Rename from js--end-of-defun.
20354 (js-auto-indent-flag): Delete variable.
20355
20356 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20357
20358 * progmodes/js.el: Remove proclaim statement.
20359 Defvar which-func-imenu-joiner-function to silence compiler.
20360
20361 * files.el (auto-mode-alist): Use js-mode for .js files.
20362
20363 * progmodes/js2-mode.el: Remove file.
20364
20365 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20366
20367 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20368
20369 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20370
20371 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20372 Karl Landstrom <karl.landstrom@brgeight.se>
20373
20374 * progmodes/js.el: New file.
20375
20376 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20377
20378 * timezone.el (timezone-parse-date): Add ability to understand ISO
20379 basic format (minimal separators) dates in addition to the
20380 already-supported extended format dates.
20381
20382 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20383
20384 * international/ucs-normalize.el: Add a `coding' file variable.
20385
20386 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20387
20388 2009-08-14 Sam Steingold <sds@gnu.org>
20389
20390 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20391
20392 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20393
20394 * faces.el (help-argument-name): Define it here instead of
20395 help-fns.el, because in daemon mode help-fns.el may be loaded when
20396 faces are still uninitialized (Bug#1078).
20397
20398 * help-fns.el (help-argument-name): Move defface to faces.el.
20399
20400 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20401
20402 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20403 create buffer with a pty but no process so that GDB can make the
20404 inferior the controlling process.
20405
20406 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20407
20408 * international/ucs-normalize.el: New file.
20409
20410 2009-08-13 Richard Stallman <rms@gnu.org>
20411
20412 * mail/rmail.el (rmail-get-attr-names):
20413 Accept an attribute header that is too short.
20414
20415 * mail/rmail.el (rmail-forget-messages):
20416 Ignore nil elt in rmail-message-vector. Use dotimes.
20417
20418 * progmodes/compile.el (compilation-goto-locus):
20419 Use next-error-move-function.
20420
20421 * simple.el (next-error-move-function): New variable.
20422
20423 2009-08-12 Juri Linkov <juri@jurta.org>
20424
20425 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20426 always non-nil. (Bug#4052)
20427
20428 * replace.el (read-regexp): Return empty string when
20429 `default-value' is nil.
20430 (keep-lines-read-args): Don't use empty string as the
20431 default value for `read-regexp'. (Bug#2495)
20432
20433 2009-08-12 Juri Linkov <juri@jurta.org>
20434
20435 * international/mule-cmds.el (ucs-insert): Change arguments
20436 from `arg' to `character', `count', `inherit' to be the same
20437 as in `insert-char'. Doc fix. (Bug#4039)
20438
20439 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20440
20441 2009-08-12 Juri Linkov <juri@jurta.org>
20442
20443 * files-x.el: New file.
20444
20445 * files.el: Move code that deals with adding/deleting
20446 file/directory-local variables to files-x.el.
20447
20448 * Makefile.in (ELCFILES): Add files-x.elc.
20449
20450 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20451
20452 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20453 to use `goto-line'.
20454 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20455 `goto-line'.
20456 (gdb-invalidate-disassembly): Do not refresh upon receiving
20457 'update signal. Instead, update all disassembly buffers only after
20458 threads list.
20459 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20460 (gdb-starting): Move -data-list-register-names...
20461 (gdb-stopped): ...here so it's sent when first thread stops.
20462 (gdb-registers-handler-custom): Do nothing if register names are
20463 unknown yet.
20464
20465 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20466 from `gdb-mi.el' to avoid extra tangling.
20467
20468 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20469 change which breaks `gud-def' definitions used in `gdb'.
20470 (gdb-update-gud-running): No extra fuss for updating frame number.
20471
20472 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20473
20474 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20475 (describe-language-environment-map, setup-language-environment-map)
20476 (set-coding-system-map): Move initialization into declaration.
20477 (set-language-info-alist): Last arg to define-key-after can be skipped.
20478
20479 * international/quail.el (quail-completion-1): Simplify.
20480 (quail-define-rules): Use slightly more compact code.
20481 (quail-insert-decode-map): Propertize keys, compact columns.
20482
20483 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20484 Add goto-line.
20485
20486 2009-08-10 Miles Bader <miles@gnu.org>
20487
20488 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20489 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20490 (js2-instance-member, js2-private-member, js2-private-function-call)
20491 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20492 (js2-magic-paren, js2-external-variable):
20493 Remove "-face" suffix from face names.
20494 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20495 (js2-highlight-undeclared-vars, js2-peek-token)
20496 (js2-parse-function-params, js2-mode-show-errors)
20497 (js2-mode-show-warnings, js2-make-magic-delimiter)
20498 (js2-mode-highlight-magic-parens): Update to use new face names.
20499
20500 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20501
20502 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20503 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20504
20505 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20506
20507 * subr.el: Provide hashtable-print-readable.
20508
20509 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20510 hs-c-like-adjust-block-beginning.
20511 (hs-hide-block-at-point): Stop hiding at the beginning of
20512 hs-block-end-regexp (Bug#700).
20513
20514 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20515
20516 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20517 a macro.
20518 (gdb-registers-handler-custom): Do not fail when register names
20519 are unavailable.
20520
20521 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20522
20523 * progmodes/gdb-mi.el (gdb-control-all-threads)
20524 (gdb-control-current-thread): Interactive setters for
20525 `gdb-gud-control-all-threads' to use in menu.
20526 (gdb-show-run-p): Show «Go» when process is not active.
20527 (gud-tool-bar-map): Add non-stop/A,T indicator.
20528 Uses gud/thread.xpm and gud/all.xpm.
20529
20530 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20531
20532 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20533 (nslookup-font-lock-keywords): Make it a variable.
20534 (net-utils-mode): New mode for viewing diagnostic network output.
20535 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20536 (net-utils-run-simple): New function.
20537 (ifconfig, iwconfig, netstat, arp, route): Use it.
20538
20539 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20540
20541 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20542 (gdb-memory-set-address, def-gdb-set-positive-number)
20543 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20544 after changing settings.
20545 (gdb-invalidate-disassembly): Update when first shown.
20546 (gdb-edit-locals-value): Fixed.
20547 (gdb-registers-handler-custom): Print registers in right order and
20548 allow changing register values (only for current thread yet).
20549 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20550 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20551 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20552 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20553 Thread info in mode name.
20554 (gdb-registers-mode-map): TAB to switch to locals.
20555
20556 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20557
20558 * mail/rmail.el (rmail-add-mbox-headers)
20559 (rmail-set-message-counters-counter): Search for
20560 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20561
20562 2009-08-08 Glenn Morris <rgm@gnu.org>
20563
20564 * Makefile.in (ELCFILES): Update.
20565
20566 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20567
20568 * mail/sendmail.el (mail-yank-original):
20569 Set buffer-file-coding-system from the one used by the message whose
20570 text is yanked.
20571
20572 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20573 to "windows" when "pgnuplot" is used.
20574 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20575 Don't call accept-process-output if "pgnuplot" is used.
20576 (calc-graph-init): Don't send -display and -geometry to
20577 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20578 running "pgnuplot -V" with shell-command-to-string.
20579
20580 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20581 the default.
20582
20583 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20584
20585 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20586 org/org-latex.elc.
20587
20588 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20589
20590 * vc-dispatcher.el (vc-resynch-window): Update comment.
20591
20592 * term.el (term-handle-ansi-escape): Add comments with the
20593 terminfo capabilities implemented.
20594
20595 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20596
20597 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20598 (gdb-var-create-handler): Rewritten using JSON parser.
20599 (gdb-propertize-header): Move earlier.
20600 (gdb-set-header): Remove to avoid duplication.
20601 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20602 Refresh disassembly buffers only after threads list have been
20603 update.
20604 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20605 variables.
20606
20607 2009-08-04 Juri Linkov <juri@jurta.org>
20608
20609 * files.el: Commands to add/delete file/directory-local variables.
20610 (read-file-local-variable, read-file-local-variable-value)
20611 (read-file-local-variable-mode, modify-file-local-variable)
20612 (modify-file-local-variable-prop-line)
20613 (modify-dir-local-variable): New functions.
20614 (add-file-local-variable, delete-file-local-variable)
20615 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20616 (add-dir-local-variable, delete-dir-local-variable)
20617 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20618 (copy-dir-locals-to-file-locals-prop-line): New commands.
20619
20620 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20621
20622 * abbrev.el (insert-abbrev-table-description): Prettify output.
20623 Suggested by Karl Chen.
20624
20625 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20626
20627 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20628 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20629 (gdb-overlay-arrow-position, gdb-thread-position)
20630 (gdb-disassembly-position): Declare variables.
20631 (gdb-wait-for-pending): Function now.
20632 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20633 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20634 compilation goes smoothly.
20635 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20636 (gdb-non-stop-setting): New customization setting which replaces
20637 `gdb-non-stop' so changing it doesn't break active GDB session.
20638 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20639 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20640 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20641 (gdb-show-threads-by-default): New customization options.
20642 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20643 routines.
20644 (gdb-get-buffer-create): Send buffers update signal when they are
20645 created.
20646 (gdb-invalidate-locals, gdb-invalidate-registers)
20647 (gdb-invalidate-breakpoints)
20648 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20649 (gdb-invalidate-memory): Accept update signal.
20650 (gdb-current-context-command): Use --frame option.
20651 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20652 Implement `gdb-frame-number' selection logic.
20653 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20654 whether to show GUD toolbar buttons.
20655 (gdb-thread-exited): Unselect current thread when it exits.
20656 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20657 (gdb-mark-line): Routine which sets overlay arrow or inverses
20658 video on fringeless displays.
20659 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20660 to build aligned columns of data in GDB buffers and set text
20661 properties line-by-line.
20662 (gdb-invalidate-breakpoints)
20663 (gdb-breakpoints-list-handler-custom)
20664 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20665 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20666 (gdb-registers-handler-custom): Align data columns.
20667 (gdb-locals-handler-custom): Now prints data like in variable
20668 declarations.
20669 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20670 Remove confusing buttons.
20671 (gdb-invalidate-threads): Append --frame.
20672 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20673 between breakpoints/threads buffers.
20674 (gdb-set-window-buffer): Now can ignore dedicated windows.
20675 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20676 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20677 (def-gdb-thread-buffer-gud-command): Replaces
20678 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20679 for fine thread control.
20680 (gdb-preempt-existing-or-display-buffer): New function used to
20681 display bound buffers without breaking window layout.
20682 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20683 (gdb-select-frame): New version of `gdb-frames-select' which now
20684 sets `gdb-frame-number' so commands may use --frame option instead
20685 of inner debugger state.
20686 (gdb-frame-handler): Do not set `gdb-frame-number'.
20687 (gdb-threads-mode-map): Select threads with mouse.
20688
20689 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20690 avoid compilation warning.
20691 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20692 `gdb-show-stop-p`.
20693
20694 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20695 Argument `key' renamed to `buffer-type'.
20696 (gdb-current-context-buffer-name): Do not add thread info to
20697 buffer name when no thread is selected.
20698 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20699 command (bug 3794).
20700 (gdb-thread-selected): Handle `=thread-selected' notification.
20701 (gdb-wait-for-pending): New macro to deal with congestion problems.
20702 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20703 breakpoints.
20704 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20705 This fixes problem similar to one described in bug 3947.
20706 (gud-menu-map): More menu items.
20707 (gdb-init-1): Reset `gdb-thread-number' to nil.
20708
20709 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20710 non-stop settings.
20711
20712 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20713 (gdb-current-context-command): Do not append --thread if
20714 `gdb-thread-number' is nil.
20715 (gdb-running-threads-count, gdb-stopped-threads-count):
20716 New variables.
20717 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20718 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20719 New customization options.
20720 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20721 GUD commands.
20722 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20723 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20724 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20725 set `gdb-thread-number' and update `gud-running' properly.
20726 (gdb-running): Update threads list when new threads appear.
20727 (gdb-stopped): Support non-stop operation and new thread switching
20728 logic.
20729 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20730 (gdb-json-partial-output): New set of JSON routines.
20731 (def-gdb-auto-update-trigger): New `signal-list' optional
20732 argument.
20733 (gdb-thread-list-handler-custom): Update `gud-running',
20734 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20735 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20736 (gdb-continue-thread, gdb-step-thread): New commands for fine
20737 thread execution control.
20738 (gud-menu-map): New menu items to switch non-stop options.
20739 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20740 (gdb-send): Mimic RET properly (bug 3794).
20741
20742 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20743 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20744 gdb-buffer-rules.
20745 (def-gdb-auto-update-handler): New nopreserve optional argument.
20746 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20747
20748 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20749 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20750 (gdb-parent-mode): New mode to derive other GDB modes from.
20751 (gdb-display-disassembly-for-thread)
20752 (gdb-frame-disassembly-for-thread): New commands for threads
20753 buffer.
20754
20755 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20756 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20757 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20758 (gdb-update): We now store all GDB buffers in a list so that they
20759 can be updated by traversing a list instead of calling invalidate
20760 triggers explicitly.
20761 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20762 pair for GDB buffer.
20763 (gdb-stack-buffer-name): Add thread information.
20764 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20765 handle pending triggers.
20766 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20767 (def-gdb-thread-buffer-simple-command)
20768 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20769 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20770 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20771 New commands which show buffers bound to thread.
20772 (gdb-stack-list-locals-regexp): Remove unused regexp.
20773
20774 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20775 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20776 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20777 to (gud-comint-buffer) in *-buffer-name functions
20778 because (gdb-get-target-string) already does that.
20779 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20780 (gdb-changed-registers-handler): Rewritten without regexps.
20781
20782 * progmodes/gdb-mi.el: Basic thread selection support.
20783 (gdb-thread-number): New variable.
20784 (gdb-current-context-command): New macro which adds --thread
20785 option to command.
20786 (gdb-threads-mode-map): Select thread with SPC.
20787 (gdb-thread-list-handler-custom): Mark current thread with overlay
20788 arrow. Synchronize GDB thread and Emacs thread.
20789 (gdb-select-thread): New command which selects current thread.
20790 (gdb-invalidate-frames, gdb-invalidate-locals)
20791 (gdb-invalidate-registers): Use --thread option.
20792
20793 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20794
20795 * net/tramp.el (top): Make check for tramp-gvfs loading more
20796 robust. (Bug#3977)
20797 (tramp-handle-insert-file-contents): `unwind-protect' must be
20798 inside `with-parsed-tramp-file-name'.
20799
20800 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20801 fails.
20802
20803 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20804
20805 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20806 directory if CLASSPATH is not set.
20807
20808 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20809
20810 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20811 New defconst.
20812 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20813
20814 2009-08-02 Kevin Ryde <user42@zip.com.au>
20815
20816 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20817 Update freshmeat link. Delete newsforge.com as it seems gone.
20818
20819 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20820
20821 * select.el (x-set-selection): Doc fix (Bug#4021).
20822
20823 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20824
20825 * help-fns.el (describe-variable): Treat list return values from
20826 dir-locals-find-file properly (Bug#4005).
20827
20828 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20829
20830 * net/tramp.el (tramp-debug-message): Print also microseconds.
20831
20832 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20833
20834 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20835 or END is non-nil.
20836 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20837 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20838 format.
20839
20840 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20841 (tramp-get-file-property): Use it.
20842
20843 * autorevert.el (auto-revert-handler):
20844 Allow `auto-revert-tail-mode' for remote files.
20845
20846 2009-08-02 Jason Rumney <jasonr@gnu.org>
20847
20848 * minibuffer.el (read-file-name): Treat confirm options to
20849 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20850
20851 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20852
20853 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20854 (font-lock-variable-name-face, font-lock-constant-face):
20855 Darken the colors for light backgrounds.
20856
20857 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20858
20859 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20860 month names. (Bug#3987)
20861
20862 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20863
20864 * simple.el (line-move-finish): Pass whole number to
20865 line-move-to-column.
20866 (line-move-visual): Perform hscroll to the recorded position.
20867
20868 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20869
20870 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20871
20872 2009-07-29 Alan Mackenzie <acm@muc.de>
20873
20874 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20875
20876 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20877
20878 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20879 (gdb-place-breakpoints): Use full path when setting breakpoints.
20880
20881 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20882
20883 * calc/calc.el (calc-mode-map): Add keybinding for
20884 `calc-transpose-lines'.
20885
20886 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20887
20888 * calc/calc-misc.el (calc-transpose-lines): New function.
20889
20890 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20891
20892 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20893 Simplify check for out-of-band methods.
20894 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20895 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20896
20897 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20898
20899 * vc-git.el (vc-git-checkin): Fix typo.
20900
20901 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20902
20903 * progmodes/js2-mode.el: New file.
20904
20905 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20906
20907 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20908 (gud-menu-map): Adjust tooltip accordingly.
20909
20910 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20911
20912 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20913 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20914
20915 * add-log.el (change-log-mode-map): Add a menu.
20916
20917 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20918
20919 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20920 function returns nil.
20921 (dbus-handle-event): Handle special return value :ignore.
20922 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20923
20924 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20925
20926 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20927 it's not needed.
20928
20929 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20930
20931 Fix Bug#3888:
20932
20933 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20934
20935 * term/pc-win.el (x-display-name, x-colors)
20936 (x-select-enable-clipboard, x-select-text): Doc fix.
20937
20938 * term/common-win.el (x-display-name, x-colors): Doc fix.
20939
20940 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20941 (xw-defined-colors): Doc fix.
20942
20943 * w32-fns.el (x-select-text, x-setup-function-keys)
20944 (x-get-selection, x-set-selection): Doc fix.
20945
20946 * term/x-win.el (x-select-text, x-setup-function-keys)
20947 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20948
20949 * select.el (x-set-selection): Doc fix.
20950
20951 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20952
20953 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20954 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20955 "IsNSSSupportAvailable" method is not available.
20956 Reported by Steve Youngs <steve@sxemacs.org>.
20957
20958 2009-07-24 Kenichi Handa <handa@m17n.org>
20959
20960 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20961 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20962 (build-unicode-category-table): Fix range checks.
20963
20964 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20965
20966 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20967 the buffer we try to sync is current when calling
20968 vc-resynch-buffer.
20969
20970 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20971 not show up to date files.
20972
20973 2009-07-24 Glenn Morris <rgm@gnu.org>
20974
20975 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20976 Add autoload cookies. If necessary, initialize.
20977 (elint-log): Handle non-file buffers.
20978 (elint-initialize): Add optional argument to reinitialize.
20979 (elint-find-builtin-variables): Save excursion.
20980
20981 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20982
20983 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20984 for Lint.
20985
20986 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20987
20988 * vc.el (vc-print-log-internal): New function, split out from ...
20989 (vc-print-log): ... here.
20990 (vc-dir-move-to-goal-column): Declare.
20991
20992 * vc-git.el (vc-git-add-signoff): New variable.
20993 (vc-git-checkin): Use it.
20994 (vc-git-toggle-signoff): New function.
20995 (vc-git-extra-menu-map): Bind it to menu.
20996 (vc-git--run-command-string): Accept a nil FILE argument.
20997 (vc-git-stash-list): New function.
20998 (vc-git-dir-extra-headers): Use it.
20999
21000 2009-07-23 Glenn Morris <rgm@gnu.org>
21001
21002 * help-fns.el (describe-variable): Describe ignored and risky local
21003 variables in a similar way to that in which we describe safe ones.
21004
21005 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21006 (byte-compile-output-file-form, byte-compile-output-docform)
21007 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21008 Give some more local variables with common names a "bytecomp-" prefix,
21009 so as not to shadow things during compilation.
21010 * emacs-lisp/cl-macs.el (load-time-value)
21011 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21012 `outbuffer' to `bytecomp-outbuffer'.
21013
21014 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21015 since the next two variables cover them automatically now.
21016 (elint-builtin-variables, elint-autoloaded-variables): New.
21017 (elint-unknown-builtin-args): Remove all members, since they can be
21018 parsed automatically now.
21019 (elint-extra-errors): New.
21020 (elint-env-add-env, elint-env-add-macro): Use cadr.
21021 (elint-current-buffer): Use or. Change final message.
21022 (elint-get-top-forms): Use line-end-position.
21023 (elint-init-env): Use cadr. Handle autoload, declare-function,
21024 and defalias.
21025 (elint-add-required-env): Doc fix. Use or. Standardize error.
21026 (regexp-assoc): Remove unused function.
21027 (elint-top-form): Set elint-current-pos, to record the start of the
21028 top-level form, for compilation-mode.
21029 (elint-form): Trap errors in macro expansion. Use dolist.
21030 (elint-unbound-variable): Use elint-builtin-variables and
21031 elint-autoloaded-variables.
21032 (elint-get-args): Use cadr, or.
21033 (elint-check-cond-form): Use dolist, cadr.
21034 (elint-check-condition-case-form): Doc fix. Use cadr.
21035 Use elint-extra-errors.
21036 (elint-log): New function.
21037 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21038 Distinguish errors and warnings.
21039 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21040 Use a bytecomp-style format.
21041 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21042 (elint-get-log-buffer): Use compilation mode. Disable undo.
21043 Don't truncate lines.
21044 (elint-initialize): Set builtin and autoloaded variable lists.
21045 Only process elint-unknown-builtin-args if non-nil.
21046 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21047 New functions.
21048 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21049
21050 2009-07-22 Kevin Ryde <user42@zip.com.au>
21051
21052 * net/newst-backend.el (newsticker--parse-atom-1.0)
21053 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21054 (newsticker--parse-rss-1.0):
21055 * progmodes/idlwave.el (idlwave-mode):
21056 * progmodes/idlw-shell.el (idlwave-shell-mode):
21057 * progmodes/vera-mode.el (vera-mode):
21058 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21059 * progmodes/vhdl-mode.el (vhdl-mode):
21060 * textmodes/table.el (table-generate-source)
21061 (table--warn-incompatibility):
21062 Hyperlink urls in docstrings with URL `...'.
21063
21064 2009-07-22 Glenn Morris <rgm@gnu.org>
21065
21066 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21067 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21068 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21069 Remove leading * from defcustom docs.
21070
21071 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21072
21073 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21074 defcustom doc.
21075 (list-load-path-shadows): Optionally, just return shadows as a string.
21076
21077 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21078
21079 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21080
21081 * mail/rmailedit.el (rmail-edit-mode):
21082 Use auto-save-include-big-deletions.
21083
21084 * mail/rmail.el (rmail-variables):
21085 Use auto-save-include-big-deletions.
21086
21087 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21088 changes.
21089
21090 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21091
21092 * calc/calc.el (calc-undo-length): New variable.
21093 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21094
21095 2009-07-21 Richard Stallman <rms@gnu.org>
21096
21097 * files.el (auto-save-mode): Handle buffer-save-size = -2
21098 for toggling mode.
21099
21100 2009-07-21 Glenn Morris <rgm@gnu.org>
21101
21102 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21103
21104 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21105
21106 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21107 silence compiler. Instead...
21108 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21109 (ps-print-ensure-fontified): Update for above function name changes.
21110
21111 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21112 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21113 silence compiler. Instead...
21114 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21115 (mh-show-buffer): Only define for compiler.
21116 (pr-mh-current-message): Update for above function name changes.
21117
21118 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21119 as an argument.
21120 (find-file-noselect, insert-file-1): Update for above change.
21121
21122 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21123
21124 * mail/mailclient.el (mailclient-send-it): Fix message.
21125
21126 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21127 (edebug-eval): Check cl-debug-env is bound.
21128 (print-level, print-circle): Don't redefine built-in variables.
21129
21130 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21131 (custom-print-vectors): Remove old comments from doc.
21132
21133 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21134 (emerge-version): Make the variable an obsolete alias for the
21135 emacs-version variable. Make the function obsolete.
21136 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21137 Emerge options, rather than merging in into the main Options menu.
21138 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21139 and auto advance modes. Disable edit/fast items when not relevant.
21140
21141 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21142
21143 * term/vt420.el (terminal-init-vt420): Fix typo.
21144
21145 2009-07-20 Sam Steingold <sds@gnu.org>
21146
21147 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21148 variable (removed from compile.el on 2004-03-11).
21149
21150 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21151
21152 * files.el (hack-local-variables-filter): Fix last change.
21153
21154 2009-07-19 Juri Linkov <juri@jurta.org>
21155
21156 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21157 (dir-local-variables-alist): New buffer-local variable.
21158 (hack-local-variables-filter): If variable is not dir-local,
21159 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21160 because file-local overrides dir-local.
21161 (c-postprocess-file-styles) <declare-function>:
21162 Remove obsolete declaration.
21163 (hack-dir-local-variables): Add dir-local variable/value pair to
21164 `dir-local-variables-alist' and remove duplicates. Doc fix.
21165
21166 * help-fns.el (describe-variable): Add information about
21167 file-local and dir-local variables.
21168
21169 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21170
21171 * files.el (hack-local-variables-filter): Rewrite.
21172
21173 2009-07-19 Glenn Morris <rgm@gnu.org>
21174
21175 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21176 Silence compiler by only defining on XEmacs.
21177
21178 * international/mule.el (auto-coding-regexp-alist): Only match
21179 BABYL... at the start of buffer, not of lines. (Bug#3790)
21180
21181 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21182 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21183 (cal-menu-context-mouse-menu): Doc fix.
21184
21185 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21186
21187 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21188
21189 2009-07-18 Juri Linkov <juri@jurta.org>
21190
21191 * info.el: Virtual Info keyword finder.
21192 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21193 (Info-finder-file): New variable.
21194 (Info-finder-find-file): New function.
21195 (finder-known-keywords, finder-package-info)
21196 (find-library-name, lm-commentary): Use defvar and
21197 declare-function to silence compiler warnings.
21198 (Info-finder-find-node): New function.
21199 (info-finder): New command.
21200
21201 * subr.el (process-kill-buffer-query-function): New function.
21202 (add-hook)<kill-buffer-query-functions>: Add hook
21203 `process-kill-buffer-query-function'.
21204
21205 2009-07-18 Alan Mackenzie <acm@muc.de>
21206
21207 * progmodes/cc-mode.el (c-before-hack-hook)
21208 (c-postprocess-file-styles): Give invocation of `c-set-style'
21209 DONT-OVERRIDE parameter of t. Already set style variables will
21210 thus not be overridden by style settings given by `c-file-syle'.
21211
21212 * files.el (hack-local-variables-filter): Remove entries with
21213 duplicate keys from `file-local-variables-alist'.
21214
21215 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21216
21217 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21218 x-set-selection if display-selections-p returns nil for the
21219 current frame.
21220
21221 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21222
21223 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21224
21225 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21226
21227 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21228 Accept nil in addition to a regexp.
21229 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21230 Accept nil in addition to a regexp.
21231 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21232 buffers that have an associated file. Handle nil values of
21233 desktop-buffers-not-to-save and desktop-files-not-to-save.
21234 (Bug#3833)
21235
21236 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21237 (x-disown-selection-internal): New functions.
21238
21239 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21240
21241 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21242 warning.
21243 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21244 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21245
21246 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21247
21248 * simple.el (set-mark): Revert last change.
21249
21250 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21251
21252 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21253 rendering of pngs is not possible instead of messaging a long
21254 description.
21255
21256 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21257
21258 * w32-fns.el (x-selection-owner-p): New function.
21259
21260 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21261 (mouse-yank-at-click, mouse-yank-primary):
21262 If select-active-regions is non-nil, deactivate the mark before
21263 insertion.
21264
21265 * simple.el (deactivate-mark, set-mark): Only save selection if we
21266 own it.
21267
21268 2009-07-17 Kenichi Handa <handa@m17n.org>
21269
21270 * case-table.el (describe-buffer-case-table): Fix for the case
21271 that KEY is a cons.
21272
21273 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21274
21275 * vc-rcs.el (vc-rcs-find-file-hook):
21276 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21277
21278 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21279
21280 * net/tramp.el (tramp-wait-for-output): Handle the case when
21281 commands do not return a newline but a null byte before the shell
21282 prompt. (Bug#3858)
21283
21284 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21285
21286 * term/ns-win.el (ns-set-alpha): Don't declare.
21287 (ns-set-background-alpha): Remove function.
21288
21289 2009-07-16 Kevin Ryde <user42@zip.com.au>
21290
21291 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21292 y-or-n-p, for safety.
21293
21294 2009-07-16 Richard Stallman <rms@gnu.org>
21295
21296 * files.el (auto-save-mode): If buffer-saved-size is -2,
21297 don't clobber it.
21298
21299 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21300 (rmail-retry-ignored-headers): Add more uninteresting fields.
21301
21302 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21303
21304 * net/rcirc.el (rcirc): Use history variables.
21305 (rcirc-server-name-history, rcirc-nick-name-history)
21306 (rcirc-server-port-history): New variables.
21307
21308 2009-07-15 Kenichi Handa <handa@m17n.org>
21309
21310 * international/mule-cmds.el (set-language-environment-charset):
21311 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21312 ignore them.
21313
21314 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21315 Delete unibyte-display.
21316
21317 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21318
21319 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21320
21321 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21322
21323 * simple.el (deactivate-mark): Optional argument FORCE.
21324 (set-mark): Use deactivate-mark.
21325
21326 * info.el (Info-search): No need to check transient-mark-mode
21327 before calling deactivate-mark.
21328
21329 * select.el (x-set-selection): Doc fix.
21330 (x-valid-simple-selection-p): Allow buffer values.
21331 (xselect--selection-bounds): Handle buffer values.
21332 Suggested by David De La Harpe Golden.
21333
21334 * mouse.el (mouse-set-region, mouse-drag-track):
21335 Call copy-region-as-kill before setting the mark, to let
21336 select-active-regions work.
21337
21338 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21339
21340 * simple.el (deactivate-mark): If select-active-regions is
21341 non-nil, copy the selection data into a string.
21342 (activate-mark): If select-active-regions is non-nil, set the
21343 selection to the current buffer.
21344 (set-mark): Update selection if select-active-regions is non-nil.
21345
21346 * select.el (x-valid-simple-selection-p): Allow buffer values.
21347
21348 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21349
21350 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21351 and more featureful message-mode.
21352
21353 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21354
21355 * select.el (x-set-selection): Doc fix.
21356 (x-valid-simple-selection-p): Disallow selection data consisting
21357 of a list or cons of integers, since that is not used.
21358 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21359 (xselect-convert-to-string, xselect-convert-to-length)
21360 (xselect-convert-to-filename, xselect-convert-to-charpos)
21361 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21362
21363 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21364
21365 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21366 output in -break-info command (Emacs bug #3794).
21367
21368 2009-07-14 Glenn Morris <rgm@gnu.org>
21369
21370 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21371 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21372 (edebug-print-length, edebug-print-level, edebug-print-circle)
21373 (edebug-sit-for-seconds, edebug-view-outside)
21374 (edebug-bounce-point, edebug-set-global-break-condition)
21375 (edebug-Go-nonstop-mode, edebug-trace-mode)
21376 (edebug-Trace-fast-mode, edebug-continue-mode)
21377 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21378 (edebug-visit-eval-list): Doc fixes.
21379
21380 * subr.el (def-edebug-spec): Doc fix.
21381
21382 2009-07-14 Kenichi Handa <handa@m17n.org>
21383
21384 * international/characters.el: Fix setting of category ?C.
21385
21386 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21387
21388 * term/ns-win.el (x-select-font): defalias x-select-font to
21389 ns-popup-font-panel instead of generate-fontset-menu.
21390
21391 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21392
21393 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21394
21395 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21396
21397 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21398 the PK\003\004 header (Bug#3770).
21399
21400 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21401
21402 * pcomplete.el (pcomplete-comint-setup): Check for
21403 shell-dynamic-complete-filename too.
21404
21405 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21406
21407 * simple.el (temporary-goal-column): Change the value for
21408 line-move-visual to a cons cell.
21409 (line-move-visual): Record or set the window hscroll, if
21410 necessary (Bug#3494).
21411 (line-move-1): Handle cons value of temporary-goal-column.
21412
21413 2009-07-11 Kenichi Handa <handa@m17n.org>
21414
21415 * international/mule-diag.el (describe-character-set): Don't show
21416 width.
21417
21418 2009-07-10 Sam Steingold <sds@gnu.org>
21419
21420 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21421 Omake sometimes indents the errors it prints, so allow all
21422 regexps to start with spaces.
21423
21424 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21425
21426 * cus-edit.el (customize-changed-options-previous-release):
21427 Bump value to 22.1. (Bug#3804)
21428
21429 2009-07-08 Sam Steingold <sds@gnu.org>
21430
21431 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21432 to be a cons cell (test . ignored-directory) to selectively ignore
21433 some directories depending on the location of the search.
21434
21435 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21436
21437 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21438 remote user is root, on the local host.
21439 (tramp-local-host-p): Either the local user or the remote user
21440 must be root. (Bug#3771)
21441
21442 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21443
21444 * progmodes/gdb-mi.el (gdb): Remove description of
21445 gdb-use-separate-io-buffer.
21446 (menu): Don't allow toggling of or enable
21447 gdb-use-separate-io-buffer from menubar.
21448
21449 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21450
21451 * mail/unrmail.el (unrmail): Make sure the message ends with two
21452 newlines (Bug#3769).
21453
21454 2009-07-08 Glenn Morris <rgm@gnu.org>
21455
21456 * calendar/calendar.el (calendar-current-date): Rework previous change.
21457
21458 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21459
21460 * calendar/calendar.el (calendar-current-date):
21461 Add an optional argument giving an offset from today.
21462
21463 2009-07-08 Glenn Morris <rgm@gnu.org>
21464
21465 * tutorial.el (tutorial--describe-nonstandard-key):
21466 Adjust the message for when a key has been unbound.
21467 (help-with-tutorial): Hide the arch-tag.
21468
21469 2009-07-08 Kenichi Handa <handa@m17n.org>
21470
21471 * international/fontset.el (setup-default-fontset): For each
21472 script, append (not set) font-specs.
21473
21474 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21475 docstring.
21476
21477 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21478
21479 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21480 -data-list-register-names to ...
21481 (gdb-starting): ... here because GDB 7.0 requires execution to
21482 have started when using this MI command.
21483 (gdb-set-header): New function to distinguish select and
21484 unselected tabs in gdb buffers.
21485 (gdb-propertize-header): New macro that uses gdb-set-header.
21486 (gdb-breakpoints-header, gdb-locals-header): Use it.
21487 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21488
21489 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21490
21491 * Makefile.in (ELCFILES): Remove fadr.elc.
21492
21493 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21494
21495 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21496 may contain frame information, so `string-match' should be used.
21497 (gdb-update): Disassembly is invalidated through
21498 `gdb-get-selected-frame'.
21499 (gdb-pad-string): New function to pad string with spaces.
21500 (gdb-invalidate-disassembly): Invalidate only if the buffer
21501 exists.
21502 (gdb-disassembly-handler-custom): Column alignment.
21503 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21504 placing new ones.
21505 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21506 end of line, too.
21507 (gdb-frame-handler): Match convention to for disassembly buffer
21508 mode name.
21509 (gdb-stack-list-frames-handler): Rewritten without regexps.
21510 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21511 not highlight breakpoints without line information.
21512 (gdb-input): Add trailing newline to command.
21513
21514 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21515 buffer properly.
21516 (gdb-breakpoints-list-handler-custom): Replacement for
21517 `gdb-break-list-handler'. Using real parser instead of regexps
21518 now.
21519 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21520 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21521 to place breakpoints.
21522 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21523 functions.
21524 (gdb-disassembly-handler-custom): Show overlay arrow.
21525 (gdb-disassembly-place-breakpoints): Show breakpoints in
21526 disassembly buffer.
21527 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21528 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21529 instead of parsing breakpoints buffer. Fixed old menu references
21530 in `gud-menu-map'.
21531
21532 * fadr.el: Remove.
21533
21534 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21535 (gdb-memory-address): New variable which holds top address of
21536 memory page shown in memory buffer.
21537 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21538 New customization variables.
21539 New functions:
21540 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21541 display the memory buffer.
21542 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21543 buffer display parameters.
21544 (def-gdb-memory-format, gdb-memory-format-binary)
21545 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21546 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21547 Functions for setting memory buffer format.
21548 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21549 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21550 unit size used in memory buffer.
21551 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21552 Switch to next/previous page of memory buffer.
21553 Now using (bindat-get-field) instead of fadr functions.
21554
21555 2009-07-07 Sam Steingold <sds@gnu.org>
21556
21557 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21558 non-top-level files.
21559
21560 2009-07-07 Kenichi Handa <handa@m17n.org>
21561
21562 * international/mule-cmds.el (reset-language-environment):
21563 Put the highset priority to the charset iso-8859-1.
21564
21565 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21566
21567 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21568 to the end of the line when locating the block (Bug#700).
21569
21570 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21571
21572 * net/tramp.el (tramp-handle-write-region): Flush file properties
21573 in case of short track.
21574
21575 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21576
21577 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21578 Coded custom representation of verilog error regular expressions
21579 to work with Emacs-22's new format.
21580 (verilog-error-regexp-xemacs-alist): Coded custom representation
21581 of verilog error regular expressions to work with XEmacs format.
21582 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21583 error recognition into XEmacs.
21584 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21585 error recognition into Emacs-22.
21586
21587 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21588
21589 * woman.el: Remove stand-alone closing parentheses.
21590 (woman-file-name, woman2-format-paragraphs)
21591 (woman-leave-blank-lines): Code cleanup.
21592 (woman-use-own-frame): Change default to nil.
21593 (woman-italic, woman-bold, woman-unknown, woman-addition):
21594 Change defaults to inherit from default faces.
21595 (woman2-process-escapes): Consume the newline after a stand-alone
21596 filler character (Bug#3651).
21597
21598 2009-07-06 Glenn Morris <rgm@gnu.org>
21599
21600 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21601 (top-level): Move provide to the end.
21602 (ffap): Remove defunct URL from custom group.
21603
21604 * subr.el (eval-after-load): Doc fix.
21605
21606 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21607
21608 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21609 `calc-embedded-word' is called twice.
21610
21611 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21612
21613 * files.el (find-alternate-file-other-window, find-alternate-file):
21614 Obey confirm-nonexistent-file-or-buffer.
21615
21616 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21617
21618 * dired-aux.el (dired-show-file-type): Handle remote files.
21619
21620 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21621
21622 * desktop.el (desktop-globals-to-save):
21623 Add file-name-history (Bug#2750).
21624
21625 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21626
21627 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21628
21629 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21630
21631 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21632 property on entire argument since this is what eshell-lisp-command
21633 expects.
21634
21635 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21636
21637 * net/tramp-gvfs.el (tramp-gvfs-methods)
21638 (tramp-gvfs-zeroconf-domain)
21639 (tramp-bluez-discover-devices-timeout): Add version flag.
21640 (tramp-gvfs-handler-mounted-unmounted)
21641 (tramp-gvfs-connection-mounted-p): Polish handling of
21642 incompatibilities between GVFS 0.2 and 1.0.
21643
21644 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21645
21646 * cus-start.el (all): Add make-pointer-invisible.
21647
21648 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21649
21650 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21651 formatted correctly.
21652
21653 2009-07-02 Juri Linkov <juri@jurta.org>
21654
21655 * info.el: Virtual Info files and nodes.
21656 (Info-virtual-files, Info-virtual-nodes): New variables.
21657 (Info-current-node-virtual): New variable.
21658 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21659 New functions.
21660 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21661 to check for a virtual file instead of checking a fixed list
21662 of node names.
21663 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21664 instead of ad-hoc processing of "dir" and (apropos history toc).
21665 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21666 instead of ad-hoc processing of "dir" and (apropos history toc).
21667 Reread a file when moving from a virtual node.
21668 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21669 (Info-directory-toc-nodes, Info-directory-find-file)
21670 (Info-directory-find-node): New functions.
21671 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21672 (Info-history): Move part of code to
21673 `Info-history-find-node'.
21674 (Info-history-toc-nodes, Info-history-find-file)
21675 (Info-history-find-node): New functions.
21676 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21677 (Info-toc): Move part of code to `Info-toc-find-node'.
21678 (Info-toc-find-node): New function.
21679 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21680 the current Info file name to references because now the node
21681 "*TOC*" belongs to the same Info manual.
21682 (Info-toc-build): Rename from `Info-build-toc'.
21683 (Info-toc-nodes): Rename input argument `file' to `filename'.
21684 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21685 instead of ad-hoc processing of ("dir" apropos history toc).
21686 (Info-index-nodes): Use Info-virtual-file-p
21687 to check for a virtual file instead of checking a fixed list
21688 of node names.
21689 (Info-index-node): Add check for `Info-current-node-virtual'.
21690 Raise `save-match-data' higher up the tree to contain
21691 `search-forward' too (bug fix).
21692 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21693 (Info-virtual-index-nodes): New variable.
21694 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21695 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21696 (Info-apropos-file, Info-apropos-nodes): New variables.
21697 (Info-apropos-toc-nodes, Info-apropos-find-file)
21698 (Info-apropos-find-node, Info-apropos-matches): New functions.
21699 (info-apropos): Move part of code to `Info-apropos-find-node' and
21700 `Info-apropos-matches'.
21701 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21702 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21703 for a virtual file instead of checking a fixed list of node names.
21704
21705 * simple.el (async-shell-command): New command.
21706
21707 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21708
21709 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21710 instead of `mount-info'.
21711
21712 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21713
21714 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21715 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21716
21717 2009-07-02 Kenichi Handa <handa@m17n.org>
21718
21719 * international/mule.el (set-keyboard-coding-system): Force *-unix
21720 coding-system to avoid eol conversion.
21721
21722 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21723
21724 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21725 Add handler for `process-file', `shell-command' and
21726 `start-file-process'.
21727 (tramp-gvfs-handle-shell-command)
21728 (tramp-gvfs-handle-start-file-process)
21729 (tramp-gvfs-handle-process-file): New defuns.
21730 (tramp-synce-list-devices): Simplify check for existence of property.
21731
21732 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21733
21734 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21735
21736 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21737
21738 * language/korean.el (set-language-info-alist): Add korean-cp949,
21739 cp949 to spec.
21740
21741 2009-07-01 Kenichi Handa <handa@m17n.org>
21742
21743 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21744
21745 * international/encoded-kb.el: Deleted.
21746
21747 * international/mule.el (set-keyboard-coding-system): Perform the
21748 necessary setup here instead of calling encoded-kbd-setup-display.
21749
21750 2009-07-01 Glenn Morris <rgm@gnu.org>
21751
21752 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21753
21754 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21755
21756 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21757
21758 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21759
21760 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21761 Handle also the 'rename case, when setting file modes. (Bug#3712)
21762 (tramp-default-file-modes): Remove execute permissions.
21763
21764 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21765 (top): Add a default for "synce" in `tramp-default-user-alist'.
21766 Add completion function for "synce" method.
21767 (tramp-hal-service, tramp-hal-path-manager)
21768 (tramp-hal-interface-manager, tramp-hal-interface-device):
21769 New defconst.
21770 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21771 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21772 New defuns.
21773
21774 * net/trampver.el: Update release number.
21775
21776 2009-06-30 Kenichi Handa <handa@m17n.org>
21777
21778 * international/fontset.el (setup-default-fontset): Add CJK fonts
21779 for symbols and the other miscellaneous characters.
21780
21781 * language/korea-util.el (setup-korean-environment-internal):
21782 Make char-width-table suitable for Korean environments.
21783 (exit-korean-environment): Cancel above.
21784
21785 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21786 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21787 setup-function to make char-width-table suitable for respective
21788 environments, and an exit-function to cancel that.
21789
21790 * language/japan-util.el (setup-japanese-environment-internal):
21791 Call use-cjk-char-width-table with arg `ja_JP'.
21792
21793 * international/characters.el (cjk-char-width-table): Delete it.
21794 (cjk-char-width-table-list): New variable.
21795 (use-cjk-char-width-table): New arg local-name.
21796 (use-default-char-width-table): Fix for the case that Emacs is
21797 already using the default char-width-table.
21798
21799 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21800
21801 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21802 modes mandatory. (Bug#3712)
21803
21804 2009-06-29 Alan Mackenzie <acm@muc.de>
21805
21806 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21807 correction between the visible width of TABs and their number of bytes.
21808
21809 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21810
21811 * server.el (server-buffer-done): Prevent kill-buffer from
21812 prompting by clearing the buffer modification flag (Bug#3696).
21813
21814 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21815
21816 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21817 (verilog-endcomment-reason-re): Support unique case and priority case.
21818 (verilog-basic-complete-re): Support localparam lineup.
21819 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21820 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21821 commenting.
21822 (verilog-leap-to-case-head): Now support *nested* unique &
21823 priority case statements.
21824 (verilog-auto-lineup): Make just declarations the default (as it
21825 had been).
21826 (verilog-leap-to-case-head): Support priority/unique case statements.
21827 (verilog-auto-lineup): Rework to give users radio buttons to
21828 select the various styles of automatic lineup.
21829 (verilog-error-regexp-alist): Rework to support the XEmacs style
21830 of error regular expressions from compilers, lint tools &
21831 simulators. Note that GNU Emacs has made it impossible for a mode
21832 to load such things.
21833 (electric-verilog-terminate-line, verilog-indent-declaration)
21834 (verilog-auto-wiure): Rework for radio button selection of
21835 auto-lineup selection of specification of auto lineup.
21836 (verilog-beg-of-statement-1): Redesign to support proper operation
21837 in additional code, based on testing with auto-lineup.
21838 (verilog-calculate-indent, assignments & declarations)
21839 (verilog-backward-token): Enhance to support auto-lineup of
21840 assignments & declarations.
21841 (verilog-in-directive-p, verilog-at-struct-p): New function for
21842 easy test of whether we are.
21843 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21844 to support safe execution at almost anyline.
21845 (verilog-calc-1): Properly support indenting deep inside generate
21846 blocks.
21847 (verilog-init-font): Remove definition & use of verilog-init-font,
21848 as it is redundant with font-lock-defaults.
21849 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21850 to avoid circular calls if syntax-ppss is a function (as is the
21851 case now in 22.x GNU Emacs) as that function would sometimes call
21852 itself, leading to (nearly) infinite recursion.
21853 (verilog-ovm-begin-re, verilog-ovm-end-re)
21854 (verilog-ovm-statement-re, verilog-leap-to-head)
21855 (verilog-backward-token): Add support for OVM macros. Some are
21856 complete statements, and others open and close scopes like begin
21857 and end.
21858 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21859 (verilog-defun-level-generate-only-re): Really fix the defun-list
21860 compilation issue.
21861 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21862 coverpoint, constraint and cross statements.
21863 (verilog-defun-level-list, verilog-generate-defun-level-list)
21864 (verilog-all-defun-level-list): Redo these specifications - it is
21865 too hard to support eval-when compile aggregation of lists also
21866 built at when-compile time.
21867 (verilog-defun-level-list): Place defconsts of variables used in
21868 building regular expressions which are built in eval-when-compile
21869 bodies in the same eval-when-compile body to facilitate compile
21870 without load.
21871 (verilog-beg-block-re-ordered): Support indenting
21872 virtual/protected tasks and functions.
21873 (verilog-defun-level-list, verilog-in-generate-region-p)
21874 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21875 indentation of some module items (generate items).
21876 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21877 across virtual/protected tasks and functions.
21878
21879 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21880
21881 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21882 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21883 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21884 in concatenations. Reported by Yishay Belkind.
21885 (verilog-auto-ascii-enum): Support one-hot state machines in
21886 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21887 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21888 modport in AUTOINST and add vl-modport for users.
21889 Reported by David Rogoff.
21890 (verilog-auto-inout-module, verilog-auto-inst)
21891 (verilog-decls-get-interfaces, verilog-insert-definition)
21892 (verilog-insert-one-definition, verilog-read-decls)
21893 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21894 (verilog-sig-modport, verilog-signals-combine-bus)
21895 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21896 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21897 Suggested by David Rogoff.
21898 (verilog-repair-open-comma): Fix non-insertion of comma when
21899 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21900 (verilog-make-width-expression): Simplify [A-1:0] expression
21901 widths to just {A{1'b0}}.
21902 (verilog-mode): Cleanup checkdoc warnings.
21903 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21904 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21905 inputs/outputs or data type. Suggested by Vasu Kandadi.
21906 (next-error-last-buffer): Fix byte-compiler warning.
21907 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21908 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21909 or shell command text during AUTO expansion. Suggested by Tad Truex.
21910 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21911 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21912 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21913 in AUTOINOUT. Reported by Matthew Lovell.
21914 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21915 causing use of <= assignments. Reported by Alex Reed.
21916 (verilog-read-decls): Fix triand, trior, wand, wor to be
21917 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21918 (verilog-extended-complete-re): Support import "DPI-C" functions.
21919 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21920 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21921 (verilog-insert-date, verilog-insert-year)
21922 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21923 Windows systems. Reported by Michael Potts.
21924 (verilog-read-module-name): Fix AUTOINST when the child module
21925 declaration's name is a tick define. Reported by Elliot Mednick.
21926 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21927 passed to next parameter's definition. Reported by Bruce T.
21928 (verilog-read-decls): Fix detecting "parameter int" when using
21929 AUTOINSTPARAM. Reported by Bruce T.
21930 (verilog-goto-defun): Fix goto not finding modules unless first
21931 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21932 (verilog-mode): Expand -f flag arguments on entry to mode so
21933 verilog-goto-defun will work. Reported by Lawrence Butcher.
21934 (verilog-getopt): Expand environment variables in -f file
21935 arguments. Suggested by Lawrence Butcher.
21936 (verilog-set-define): Fix "Symbol's value as variable is void"
21937 when reading enumerations.
21938 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21939 Suggested by Stephen Peltan.
21940 (verilog-read-defines): Fix reading of enumerations in include
21941 files. Reported by Steve Peltan.
21942
21943 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21944
21945 * files.el (trash-directory): Fix defcustom type.
21946
21947 2009-06-28 Juri Linkov <juri@jurta.org>
21948
21949 * help-fns.el (describe-function-1): Correctly locate adviced
21950 functions in hyperlink (Bug#2438).
21951
21952 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21953
21954 * files.el (trash-directory): Change default to nil.
21955 (move-file-to-trash): If trash-directory is nil and
21956 system-move-file-to-trash is unbound, perform freedesktop-style
21957 trashing.
21958
21959 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21960
21961 * files.el (move-file-to-trash): Add freedesktop trash
21962 support (Bug#973).
21963
21964 2009-06-28 Glenn Morris <rgm@gnu.org>
21965
21966 * autorevert.el (global-auto-revert-non-file-buffers)
21967 (global-auto-revert-mode): Doc fixes.
21968
21969 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21970
21971 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21972
21973 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21974
21975 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21976 opened an X connection before calling x-get-resource (Bug#3194).
21977
21978 * play/doctor.el: Remove reference to obsolete website.
21979 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21980
21981 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21982
21983 Remove find-file-not-found-hook VC method. (Bug#2757)
21984 * vc-hooks.el (vc-file-not-found-hook)
21985 (vc-default-find-file-not-found-hook): Remove functions.
21986 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21987 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21988 * vc.el:
21989 * vc-hg.el:
21990 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21991
21992 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21993
21994 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21995 compatibility function for `looking-back'.
21996
21997 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21998 Use `ispell-looking-back'.
21999
22000 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22001
22002 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22003 rather than `filename'.
22004
22005 2009-06-23 Miles Bader <miles@gnu.org>
22006
22007 * face-remap.el (text-scale-set): New function.
22008
22009 2009-06-23 Glenn Morris <rgm@gnu.org>
22010
22011 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22012
22013 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22014
22015 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22016
22017 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22018
22019 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22020 Simplify Persian conditionals.
22021
22022 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22023 variable `filename'.
22024
22025 * comint.el (comint-insert-input): Doc fix.
22026
22027 * Makefile.in (ELCFILES): Fix typo in previous change.
22028
22029 2009-06-23 Miles Bader <miles@gnu.org>
22030
22031 * cus-start.el: Add entry for `recenter-redisplay'.
22032
22033 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22034
22035 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22036 Add an optional argument for the backend, use it instead of
22037 calling vc-backend.
22038 (vc-mode-line): Add an optional argument for the backend.
22039 Pass the backend to vc-state and vc-working-revision. Move code for
22040 special handling for vc-state being a buffer to ...
22041
22042 * vc-rcs.el (vc-rcs-find-file-hook):
22043 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22044
22045 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22046 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22047 vc-stay-local-p and vc-mode-line calls.
22048
22049 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22050 (vc-cvs-diff, vc-cvs-annotate-command)
22051 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22052 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22053 vc-mode-line calls.
22054
22055 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22056 direct comparison.
22057 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22058 backend when calling vc-mode-line.
22059 (vc-register): Do not create a closure for calling the vc register
22060 function, call it directly.
22061
22062 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22063
22064 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22065 to make it obvious item can be clicked.
22066
22067 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22068
22069 2009-06-23 Kenichi Handa <handa@m17n.org>
22070
22071 * language/korea-util.el (korean-key-bindings): Change the binding
22072 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22073 same command.
22074
22075 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22076
22077 Sync with Tramp 2.1.16.
22078
22079 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22080
22081 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22082 when a loading of a package fails. Completion function for rsync
22083 is `tramp-completion-function-alist-ssh'.
22084 (all): Replace all calls of `split-string' and
22085 `tramp-split-string' by `tramp-compat-split-string'.
22086 (tramp-default-method): Use `tramp-compat-process-running-p'.
22087 (tramp-default-proxies-alist): Allow also Lisp forms.
22088 (tramp-remote-path): Add choice "Private Directories".
22089 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22090 (tramp-domain-regexp): Allow also "-", "_" and ".".
22091 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22092 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22093 (tramp-debug-message): Insert header line in debug buffer.
22094 (tramp-handle-directory-files-and-attributes-with-stat):
22095 Care about filenames with spaces, or starting with "-".
22096 (tramp-handle-dired-uncache): New defun.
22097 (tramp-handle-insert-directory): Don't flush the directory from
22098 cache, this is handled by `dired-uncache' now.
22099 (tramp-handle-insert-file-contents): Improve error handling.
22100 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22101 Quote `tramp-end-of-output'.
22102 (tramp-action-password): Improve trace message.
22103 (tramp-check-for-regexp): Both echoes must be present, before removing.
22104 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22105 (tramp-compute-multi-hops): Eval cons cells of
22106 `tramp-default-proxies-alist'.
22107 (tramp-maybe-open-connection): Use the same command pattern for
22108 first hop and further hops.
22109 (tramp-wait-for-output): Remove handling of newlines.
22110 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22111 (tramp-split-string): Remove function. It is handled in
22112 tramp-compat now.
22113
22114 * net/tramp-cmds.el (tramp-bug):
22115 Recommend `tramp-cleanup-all-connections' in the bug mail.
22116
22117 * net/tramp-compat.el (tramp-compat-split-string)
22118 (tramp-compat-process-running-p): New defuns.
22119
22120 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22121 for `dired-uncache'.
22122
22123 * net/tramp-gvfs.el: New package.
22124
22125 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22126 Add handler for `dired-uncache'.
22127 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22128
22129 * net/trampver.el: Update release number. Make version check fit
22130 for SXEmacs 22.
22131
22132 2009-06-22 Jim Meyering <meyering@redhat.com>
22133
22134 Automatically handle .xz suffix (XZ-compressed files), too.
22135 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22136 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22137
22138 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22139 Nick Roberts <nickrob@snap.net.nz>
22140
22141 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22142 repository (http://sphinx.net.ru/hg/gdb-mi/).
22143
22144 2009-06-22 Glenn Morris <rgm@gnu.org>
22145
22146 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22147 `mode' and `eval' entries. (Bug#3430)
22148
22149 * Makefile.in (ELCFILES): Add fadr.elc.
22150
22151 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22152 differing behavior of \n and ^ in strings. (Bug#3385)
22153
22154 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22155
22156 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22157 property.
22158 (lisp-indent-function): Make it a defcustom.
22159
22160 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22161
22162 * progmodes/gdb-ui.el: Replace with ...
22163 * progmodes/gdb-mi.el: ... this file.
22164 * progmodes/gud.el: Modify for gdb-mi.el.
22165
22166 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22167
22168 * fadr.el: New file.
22169
22170 See ChangeLog.14 for earlier changes.
22171
22172 ;; Local Variables:
22173 ;; coding: utf-8
22174 ;; End:
22175
22176 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22177
22178 This file is part of GNU Emacs.
22179
22180 GNU Emacs is free software: you can redistribute it and/or modify
22181 it under the terms of the GNU General Public License as published by
22182 the Free Software Foundation, either version 3 of the License, or
22183 (at your option) any later version.
22184
22185 GNU Emacs is distributed in the hope that it will be useful,
22186 but WITHOUT ANY WARRANTY; without even the implied warranty of
22187 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22188 GNU General Public License for more details.
22189
22190 You should have received a copy of the GNU General Public License
22191 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.