e99e4b59a93b7b589bf26032ee8709ba45c3507f
[bpt/emacs.git] / lisp / ChangeLog
1 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * net/imap-hash.el: Remove file.
4
5 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
6
7 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
8
9 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
10 call.
11
12 * net/tramp-imap.el: Remove file.
13
14 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
15
16 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
17 widget library for buttons, just use button.el.
18
19 * vc/log-view.el (log-view-mode-map): Don't inherit from
20 widget-keymap.
21
22 2011-02-12 Glenn Morris <rgm@gnu.org>
23
24 * emacs-lisp/cl-seq.el (union, nunion, intersection)
25 (nintersection, set-difference, nset-difference)
26 (set-exclusive-or, nset-exclusive-or): Doc fix.
27
28 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
29
30 * faces.el (face-attr-match-p): Handle the obsolete :bold and
31 :italic props, so that frame-set-background-mode works. (Bug#7966)
32
33 * simple.el (next-error): Doc fix.
34
35 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
36
37 * dired-aux.el (dired-create-files): Adapt destination name to
38 match the new behavior of copy-directory.
39
40 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
41
42 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
43 from rmail-dont-reply-to-names. Callers changed.
44 (mail-dont-reply-to): Rename from mail-dont-reply-to.
45 (rmail-dont-reply-to): Make it an obsolete alias.
46
47 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
48 nil, and make obsolete (Bug#7888).
49 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
50
51 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
52
53 * mail/rmailsort.el (rmail-sort-by-correspondent)
54 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
55
56 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
57
58 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
59
60 * files.el (copy-directory): New argument COPY-CONTENTS for
61 copying directory contents into another existing directory.
62
63 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
64
65 * minibuffer.el (completion-table-case-fold): New function for
66 creating a case-insensitive completion table.
67
68 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
69
70 * net/tramp.el (tramp-default-method): Also check if
71 `auth-source-search' is bound.
72 (tramp-read-passwd): Use `auth-source-search' instead of
73 `auto-source-user-or-password'.
74
75 * net/tramp-imap.el: Autoload `auto-source-search' instead of
76 `auto-source-user-or-password.
77 (tramp-imap-passphrase-callback-function): Use it.
78
79 * net/imap-hash.el: Autoload `auto-source-search' instead of
80 `auto-source-user-or-password.
81 (imap-hash-open-connection): Use it.
82
83 * mail/smtpmail.el: Autoload `auto-source-search' instead of
84 `auto-source-user-or-password.
85 (smtpmail-try-auth-methods): Use it.
86
87 2011-02-12 Phil Hagelberg <phil@hagelb.org>
88
89 * emacs-lisp/package.el: Allow packages to be reinstalled.
90 (package--write-file-no-coding): Remove EXCL arg.
91 (package-unpack-single): Don't use it.
92
93 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
94
95 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
96 in each sub directory.
97 (vc-svn-registered): Use vc-svn-root.
98 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
99 (vc-svn-repository-hostname): Use "svn info".
100
101 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
102
103 * simple.el (delete-trailing-whitespace): New optional buffer
104 bound parameters.
105
106 2011-02-11 Bastien Guerry <bzg@altern.org>
107
108 * files.el (basic-save-buffer): save unmodified buffers when
109 the file pointed by buffer-file-name doesn't exist.
110
111 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
112
113 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
114
115 2011-02-11 Glenn Morris <rgm@gnu.org>
116
117 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
118
119 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
120
121 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
122
123 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * server.el (server-process-filter): Use pcase.
126
127 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
128 conflicting ways.
129 (smie-indent--parent): Extend to "parent of arg".
130 (smie-indent-inside-string): New function.
131 (smie-indent-functions): Use it.
132
133 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
134 bzr locking race condition.
135
136 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
137 still valid before using it.
138
139 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
140 `message' -> `compilation-message' rename (bug#8004).
141
142 Move keymap initialization into declaration.
143 * textmodes/enriched.el (enriched-mode-map):
144 * textmodes/bib-mode.el (bib-mode-map):
145 * term/lk201.el (lk201-function-map):
146 * tar-mode.el (tar-mode-map):
147 * replace.el (occur-mode-map):
148 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
149 * progmodes/idlw-help.el (idlwave-help-mode-map):
150 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
151 * play/solitaire.el (solitaire-mode-map):
152 * play/snake.el (snake-mode-map, snake-null-map):
153 * play/pong.el (pong-mode-map):
154 * play/handwrite.el (menu-bar-handwrite-map):
155 * play/gametree.el (gametree-mode-map):
156 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
157 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
158 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
159 (newsticker--url-keymap):
160 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
161 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
162 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
163 (menu-bar-edit-menu, menu-bar-custom-menu)
164 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
165 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
166 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
167 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
168 (menu-bar-tools-menu, menu-bar-describe-menu)
169 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
170 (menu-bar-help-menu):
171 * mail/rmailsum.el (rmail-summary-mode-map):
172 * kmacro.el (kmacro-step-edit-map):
173 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
174 (ibuffer-mode-operate-map):
175 * hi-lock.el (hi-lock-menu, hi-lock-map):
176 * emulation/vip.el (vip-mode-map):
177 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
178 * bookmark.el (bookmark-bmenu-mode-map):
179 * help-mode.el (help-mode-map): Move initialization into declaration.
180
181 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
182
183 * net/rcirc.el: Add PRIVMSG and CTCP functions.
184 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
185 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
186 (rcirc-cmd-me, rcirc-authenticate): Use them.
187
188 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
189
190 * allout.el: Synopsis: Change allout user configuration so
191 auto-activation is controlled solely by customization
192 `allout-auto-activation'.
193
194 (allout-auto-activation-helper) (allout-setup): New autoloads
195 implement new custom set procedure for allout-auto-activation.
196 Also, explicitly invoke
197 (allout-setup) after allout-auto-activation is custom-defined, to
198 effect the settings in emacs sessions besides the few where
199 allout-auto-activation customization is donea.
200 (allout-auto-activation): Use allout-auto-activation-helper to
201 :set. Revise the docstring.
202 (allout-init): Reduce functionality to just customizing
203 allout-auto-activation, and mark obsolete.
204 (allout-mode): Respect string values for allout-auto-activation.
205 Run allout-after-copy-or-kill-hook without any args.
206 (allout-mode) (allout-layout) (allout-default-layout)
207 (outlineify-sticky): Adjust docstring for new scheme.
208 (allout-after-copy-or-kill-hook): No arguments - hook implementers
209 should concentrate on the kill ring.
210
211 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
212
213 * password-cache.el (password-cache-remove): Accept secrets that are
214 not strings.
215
216 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
219 of here-doc that immediately follows a comment.
220
221 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
222
223 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
224
225 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
226 available.
227 (rcirc-ctcp-sender-PING): New function.
228
229 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
232 Remove the mark/nomark handling, and activate shift-select-mode instead.
233
234 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
235
236 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
237
238 * calc/calc-units.el (math-logunits-quant): Add support for
239 non-logarithmic units.
240
241 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
242
243 * allout.el (allout-after-copy-or-kill-hook): New hook for
244 extension-specific processing of killed text.
245 (allout-mode): Include new allout-after-copy-or-kill-hook among
246 mentioned hooks.
247 (allout-kill-line) (allout-kill-topic): Ensure that processing
248 after kill happens even if barf-if-buffer-read-only is raised.
249 Include new allout-after-copy-or-kill-hook among that subsequent
250 processing.
251 (allout-deannotate-hidden): Actually remove the annotation text
252 properties.
253
254 * allout.el (allout-listify-exposed): Copy text sans text properties.
255
256 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
257
258 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
259
260 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
261
262 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
263
264 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
265
266 * calc/calc.el (calc-logunits-field-reference): Rename from
267 `calc-default-field-reference-level'.
268 (calc-logunits-power-reference): Rename from
269 `calc-default-power-reference-level'
270
271 * calc/calc-units.el (math-logunits-quant): Rename from
272 `math-logunits-level'
273 (math-logunits-plus): Rename from math-logcombine.
274 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
275 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
276 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
277 New functions.
278 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
279 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
280 (calc-logunits-quantity): Rename from `calc-level'.
281 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
282 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
283 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
284 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
285 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
286 New functions.
287
288 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
289 (calc-ul-prefix-help): Remove.
290 (calc-l-prefix-help): New function.
291 (calc-full-help): Add reference to `calc-l-prefix-help'.
292
293 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
294
295 * calc/README: Mention logarithmic units.
296
297 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
298
299 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
300 non-ASCII characters (Bug#7925).
301
302 2011-02-05 Glenn Morris <rgm@gnu.org>
303
304 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
305
306 * calendar/diary-lib.el (diary-font-lock-keywords):
307 Tweak diary-time-regexp match. (Bug#7891)
308
309 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
310 (f90-mode): Use it for mode's `find-tag-default-function' property.
311
312 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
313
314 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
315
316 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
317
318 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
319 (Bug#6386).
320
321 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
324 font-lock-syntax-table remappings.
325 (sh-here-doc-markers, sh-here-doc-re): Remove.
326 (sh-font-lock-close-heredoc): Remove.
327 (sh-syntax-propertize-here-doc): New function.
328 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
329 instead of the sh-here-doc-re.
330 (sh-font-lock-paren): Don't do anything in comments or strings.
331 Handle line continuations. Accept a few more chars.
332 Don't rely on the font-lock-syntax-table remappings.
333 `esac' is not a valid pattern.
334 (sh-syntax-propertize-function): Handle here-docs differently, so we
335 don't bother syntax-propertizing the insides.
336
337 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
338 Handle new bashisms ";&" and ";;&" (bug#7947).
339
340 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
341
342 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
343 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
344
345 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
346
347 * net/tramp.el (tramp-postfix-method-format)
348 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
349 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
350 (tramp-postfix-user-regexp, tramp-prefix-port-format)
351 (tramp-prefix-port-regexp, tramp-postfix-host-format)
352 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
353 Doc fix.
354
355 2011-02-04 Sam Steingold <sds@gnu.org>
356
357 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
358
359 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
360
361 * international/mule-util.el (with-coding-priority): Doc fix.
362
363 2011-02-04 Eli Zaretskii <eliz@gnu.org>
364
365 * arc-mode.el (archive-mode-map): Fix a typo in last change.
366
367 2011-02-03 Sam Steingold <sds@gnu.org>
368
369 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
370 Do not error out when `func' is nil.
371
372 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
373
374 * net/tramp-sh.el (tramp-remote-path): Add default settings for
375 `tramp-default-remote-path' to the docstring.
376 (tramp-get-remote-path): Suppress error message when `getconf
377 PATH' fails.
378
379 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
380
381 2011-02-03 Glenn Morris <rgm@gnu.org>
382
383 * vc/vc-hg.el (vc-hg-command): Doc fix.
384
385 * term/w32-win.el (libpng-version): Declare for compiler.
386
387 * msb.el: No need to load dired while compiling.
388
389 * emacs-lisp/elint.el (elint-standard-variables):
390 Remove a couple of built-ins that now have doc-strings.
391
392 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
393 `require' is automatically `eval-and-compile'd.
394
395 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
396 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
397
398 * strokes.el (strokes-fill-current-buffer-with-whitespace):
399 Move definition before use.
400 (strokes-report-bug): Make it obsolete.
401
402 2011-02-02 Sam Steingold <sds@gnu.org>
403
404 * apropos.el (apropos-print): Now that `apropos-mode' inherits
405 from `special-mode', entering it makes the buffer read-only, so
406 call it only when everything has been already inserted.
407 * emacs-lisp/ert.el (ert--setup-results-buffer)
408 (ert-results-pop-to-backtrace-for-test-at-point)
409 (ert-results-pop-to-messages-for-test-at-point)
410 (ert-results-pop-to-timings): Ditto.
411 * emacs-lisp/package.el (package--list-packages): Ditto.
412 * play/solitaire.el (solitaire): Ditto.
413
414 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
415
416 * progmodes/compile.el: Make all faces inherit.
417 (compilation-warning): Inherit from font-lock-variable-name-face.
418 (compilation-info): Inherit from font-lock-type-face.
419 (compilation-line-number): Reassign to font-lock-keyword-face.
420 (compilation-column-number): Reassign to font-lock-doc-face.
421 (compilation-leave-directory-face): Reassign to
422 font-lock-builtin-face.
423
424 2011-02-02 Eli Zaretskii <eliz@gnu.org>
425
426 * dired.el (dired-insert-directory): Don't invoke `ls' when
427 ls-lisp.el is used to emulate it.
428
429 2011-02-01 Julien Danjou <julien@danjou.info>
430
431 * color.el (color-gradient): Add a color-gradient function.
432
433 2011-02-01 Sam Steingold <sds@gnu.org>
434
435 * simple.el (special-mode-map): Bind "h" to `describe-mode';
436 bind "z" to `kill-this-buffer'.
437 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
438 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
439 (apropos-mode): Inherit from `special-mode'.
440 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
441 * bookmark.el (bookmark-bmenu-mode): Define using
442 `define-derived-mode' inheriting from `special-mode'.
443 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
444 * image-mode.el (image-mode-map): Ditto.
445 * replace.el (occur-mode): Define using
446 `define-derived-mode' inheriting from `special-mode'.
447 * tar-mode.el (tar-mode): Inherit from `special-mode'.
448 * calendar/diary-lib.el (diary-fancy-display-mode):
449 Inherit from `special-mode-map'.
450 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
451 Inherit from `special-mode'.
452 * emacs-lisp/package.el (package-menu-mode-map): Copy from
453 `special-mode-map'.
454 (package-menu-mode): Define using `define-derived-mode'
455 inheriting from `special-mode'.
456 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
457 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
458 (xesam-mode-map): Define separately.
459 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
460 * progmodes/compile.el (compilation-minor-mode-map)
461 (compilation-mode-map): Inherit from `special-mode-map'.
462 * vc/diff-mode.el (diff-mode-shared-map):
463 Inherit from `special-mode-map'.
464 * vc/log-view.el (log-view-mode-map): Add a comment.
465
466 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
467
468 * custom.el (load-theme): Define return value. Drop use of
469 unsafep; call custom-theme-load-confirm for non-known-safe themes.
470 (custom-theme-load-confirm): Scroll in the correct window.
471 (custom-enabled-themes): Add custom-safe-themes to :set-after.
472
473 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
474 checkbox if load-theme fails.
475
476 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * progmodes/compile.el (compilation-next-error): Check there's
479 a message before using it (bug#7941).
480
481 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
482
483 * calc/calc-mtx.el (math-lud-pivot-check): New function.
484 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
485 of potential pivots.
486
487 2011-01-31 Alan Mackenzie <acm@muc.de>
488
489 * progmodes/cc-cmds.el (c-forward-over-illiterals):
490 Continue parsing if we encounter a naked # (Bug#7595).
491 (c-beginning-of-statement): Avoid loop in locating the beginning
492 of a macro.
493
494 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
495
496 * files.el (copy-directory): Fix arguments to recursive call.
497
498 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
499
500 * files.el (copy-directory): If destination is an existing
501 directory, copy into a subdirectory there.
502
503 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
504
505 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
506 files.
507
508 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
509
510 * image-dired.el (image-dired-mouse-display-image): No-op if no
511 file is found (Bug#7817).
512
513 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
514
515 2011-01-31 Kenichi Handa <handa@m17n.org>
516
517 * international/quail.el (quail-keyboard-layout-alist):
518 Remove superfluous SPC for "pc105-uk" (bug#7927).
519
520 2011-01-31 Glenn Morris <rgm@gnu.org>
521
522 * msb.el (msb-menu-bar-update-buffers): Update for changed
523 argument handling of menu-bar-select-frame. (Bug#7902)
524
525 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
526
527 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
528 to the recursion depth (Bug#7722).
529
530 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
531
532 * term/ns-win.el (ns-find-file): Expand ns-input-file with
533 command-line-default-directory (Bug#7872).
534
535 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * progmodes/compile.el (compilation--flush-directory-cache):
538 New function, extracted from compilation--remove-properties.
539 (compilation--remove-properties, compilation--parse-region): Use it.
540 (compilation--previous-directory): Handle one more case.
541 (compilation-enable-debug-messages): Remove.
542 (compilation-parse-errors, compilation--flush-parse): Just remove the
543 left over debug messages.
544
545 2011-01-31 Sam Steingold <sds@gnu.org>
546
547 * progmodes/compile.el (compilation-enable-debug-messages):
548 Add a variable to make the parsing messages introduced in
549 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
550 (compilation-parse-errors, compilation--flush-parse): Use it.
551
552 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
553
554 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
555 (rcirc-nick-completion-format): New defcustom.
556 (rcirc-complete): Use it.
557
558 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
559
560 * net/rcirc.el: Clean log filenames (Bug#7933).
561 (rcirc-log-write): Use convert-standard-filename.
562 (rcirc-log-filename-function): Documentation updates.
563
564 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
565
566 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
567 Check report-emacs-bug-can-use-osx-open and use that if t.
568 (report-emacs-bug-can-use-osx-open): New function.
569 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
570 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
571
572 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
573
574 * vc/vc-dispatcher.el (vc-set-async-update): New function for
575 updating Dired or VC-dir buffers after async command completes.
576
577 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
578 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
579
580 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
581 completions if it exists. Use vc-set-async-update.
582 (vc-git-pull): Use vc-set-async-update.
583
584 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
585 read-shell-command. Use vc-set-async-update.
586 (vc-hg-merge-branch): Use vc-set-async-update.
587
588 2011-01-29 Daiki Ueno <ueno@unixuser.org>
589
590 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
591 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
592 (Bug#7931).
593
594 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * progmodes/compile.el: Avoid an N² behavior in grep.
597 (compilation--previous-directory): New fun.
598 (compilation--previous-directory-cache): New var.
599 (compilation--remove-properties): Flush it.
600 (compilation-directory-properties, compilation-error-properties):
601 Use the new fun to speed up looking for the current directory.
602
603 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
604
605 * vc/vc-hg.el (vc-hg-history): New var.
606 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
607 (vc-hg-merge-branch): New function.
608
609 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
610 the other way around.
611
612 * vc/vc-git.el (vc-git-branches, vc-git-pull)
613 (vc-git-merge-branch): New functions.
614 (vc-git-history): New var.
615
616 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
617
618 * vc/vc-dispatcher.el (vc-do-async-command): New function.
619
620 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
621 vc-do-async-command.
622
623 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
624 Callers changed.
625
626 2011-01-28 Leo <sdl.web@gmail.com>
627
628 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
629 highlighting to the "this function is advised" message.
630
631 * help-mode.el (help-mode-finish): Apply highlighting here, to
632 avoid clobbering by substitute-command-keys (Bug#6304).
633
634 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
635
636 * woman.el (woman0-roff-buffer): Process roff escape sequences
637 occurring prior to the first request (Bug#7843).
638
639 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * progmodes/compile.el: Don't use font-lock any more.
642 (compilation-error-regexp-alist-alist): Change handling of makepp
643 so it preserves the warning/error distinction on subsequent files.
644 Simplify various rules.
645 (compilation-directory-properties): Use font-lock-face.
646 Add a compilation-message property.
647 (compilation-internal-error-properties): Use font-lock-face.
648 Don't set the compilation-debug property here.
649 (compilation--put-prop, compilation--remove-properties)
650 (compilation--parse-region, compilation--ensure-parse)
651 (compilation--ensure-parse): New functions.
652 (compilation-parse-errors): New function, largely inspired of
653 compilation-mode-font-lock-keywords. Set compilation-debug here.
654 (compilation--parsed): New var.
655 (compilation--flush-parse): Use compilation--ensure-parse.
656 (compilation-start): Don't call font-lock.
657 (compilation-turn-on-font-lock): Remove.
658 (compilation-setup): Don't set font-lock-extra-managed-props not change
659 other font-lock settings, other than keywords.
660 Don't activate font-lock-mode.
661 Set change-major-mode-hook and before-change-functions.
662 (compilation--unsetup): Remove properties and hooks.
663 (compilation-next-single-property-change): New function.
664 (compilation-next-error): Use it to parse when needed.
665 (compile-goto-error): Parse buffer as needed.
666 (compilation--compat-error-properties): Don't need a dummy `face'
667 property any more.
668
669 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
672 (compilation-process-setup-function): Fix docstring's false promises.
673 (compilation-error-regexp-alist-alist): Catch omake's continuous
674 recompilation message and avoid reuse of old markers.
675 (compilation-parse-errors-function): Declare obsolete.
676 (compilation-buffer-modtime): Remove.
677 (compilation--make-cdrloc, compilation--loc->col)
678 (compilation--loc->line, compilation--loc->file-struct)
679 (compilation--loc->marker, compilation--loc->visited)
680 (compilation--make-file-struct, compilation--file-struct->file-spec)
681 (compilation--file-struct->formats)
682 (compilation--file-struct->loc-tree): New macros. Use them.
683 (compilation--message): New defstruct. Use them.
684 (compilation-next-error-function): Don't mess with timestamps to try
685 and guess when to reparse.
686
687 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
690 (tex-old-error-file-name): New function,
691 extracted from tex-compilation-parse-errors.
692 (tex-compilation-parse-errors): Remove.
693 (tex-error-regexp-alist): New var.
694 (tex-shell): Use it to avoid compilation-parse-errors-function.
695
696 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
697 (grep-mode-font-lock-keywords): Remove regexp that seems like
698 a left-over from before we used compile.el.
699 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
700 modifying the buffer within with-silent-modifications.
701
702 * progmodes/compile.el: Cleanup text-properties namespace by using
703 `compilation-message' instead of `message', `compilation-directory'
704 instead of `directory', and `compilation-debug' instead of `debug'.
705 (compilation-last-buffer, compilation-parsing-end)
706 (compilation-error-list, compilation-old-error-list): Move to the
707 compatibility part of the code.
708 (compilation-error-properties): If `file' is a function, let it return
709 a file name.
710 (compilation-mode-font-lock-keywords): Be more conservative with the
711 omake "^ *" pattern prefix, to try and minimize the risk of
712 pathologically slow regexp matching.
713 (compilation-start): Use inhibit-read-only.
714 (compilation--unsetup): New function.
715 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
716 (compilation-filter): Minor tweaks.
717 (compilation-next-error-function): Try and avoid abusing variables.
718 (compilation--flush-file-structure): New fun.
719 (compilation-fake-loc): Use it to improve behavior when file is reused.
720 (debug-ignored-errors): Add "Moved past last ...".
721 (compilation--compat-error-properties)
722 (compilation--compat-parse-errors): Rename by doubling the "-".
723
724 Port features from the previous prolog.el to the new one.
725 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
726 (prolog-program-name, prolog-program-switches, prolog-consult-string)
727 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
728 variable and use a function to compute the value dynamically.
729 (prolog-prompt-regexp): Add regexp for GNU Prolog.
730 (prolog-continued-prompt-regexp): Remove, unused.
731 (prolog-find-value-by-system): Try and use the value of prolog-system
732 in the *prolog* buffer if it helps.
733 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
734 (prolog-zip-on): ..and check prolog-system and version here instead.
735 (prolog-inferior-self-insert-command): New command.
736 (prolog-inferior-mode-map): Use it.
737 (prolog-inferior-error-regexp-alist): New var.
738 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
739 (prolog-input-filter): Use derived-mode-p.
740 (prolog-inferior-guess-flavor): New function.
741 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
742 make-comint to avoid running comint-mode twice.
743 (prolog-inferior-buffer): New fun.
744 (prolog-old-process-region, prolog-old-process-file):
745 Don't call prolog-bsts here...
746 (prolog-build-prolog-command): ...do it here instead.
747 (prolog-old-process-region, prolog-old-process-file):
748 Use compilation-fake-loc and compilation-forget-errors.
749 (prolog-consult-compile-region): Use bolp.
750
751 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
752
753 * image-mode.el (image-display-size): Doc fix (Bug#7820).
754
755 2011-01-27 Sam Steingold <sds@gnu.org>
756
757 * midnight.el (clean-buffer-list-kill-never-buffer-names):
758 Remove "*server*" which is never created by emacs server.
759
760 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
761
762 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
763 there are some diff switches.
764
765 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
768 Copy change made to ruby-font-lock-syntactic-keywords.
769
770 * htmlfontify.el: Make it obey the font-lock-face text property.
771 Miscellaneous cleanup such as:
772 - Don't hide expressions after a closing paren.
773 - Move initial setq into let.
774 - Hoist common parts out of ifs.
775 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
776 (hfy-face-at): Use get-text-property instead.
777 (hfy-prop-invisible-p): Use invisible-p if available.
778 (htmlfontify-manual): Use \\[...].
779 (hfy-html-quote-regex): Use [...].
780 (hfy-combined-face-spec): Simplify.
781 (hfy-compile-face-map): Don't presume point-min==1.
782 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
783 match end of string.
784 (hfy-text-p): η-reduce.
785 (hfy-tags-for-file): Receive cache-hash directly.
786 (hfy-mark-tag-names): Adjust call.
787
788 2011-01-27 Glenn Morris <rgm@gnu.org>
789
790 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
791 (msb-after-load-hook): Remove eval-after-load wackiness.
792
793 2011-01-25 Sam Steingold <sds@gnu.org>
794
795 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
796 literal "diff" (important for windows-nt).
797
798 2011-01-25 Glenn Morris <rgm@gnu.org>
799
800 * emacs-lisp/copyright.el (copyright-at-end-flag)
801 (copyright-names-regexp): Add safety properties.
802 (copyright-year-ranges): New option.
803 (copyright-find-end): New function, split from copyright-update-year.
804 (copyright-update-year): Use copyright-find-end.
805 (copyright-fix-years): Optionally, convert years to ranges.
806 Handle years continued over comment lines.
807 Do not mess with the fill-prefix.
808 Do not call copyright-update.
809 (copyright-update-directory): Optionally, fix years rather than update.
810 Skip directories. Find files with only safe local vars.
811
812 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
813
814 * files.el (file-name-non-special): Only change buffer-file-name after
815 insert-file-contents if it's `visit'ing the file (bug#7854).
816
817 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
818
819 * dired.el (dired-revert): Doc fix (Bug#7758).
820
821 * simple.el (line-move-visual): Doc fix (Bug#7594).
822
823 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
824
825 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
826 here-doc which ends with an underscore.
827 (ruby-mode-set-encoding): Skip shebang line always.
828 (ruby-mode-map): Bind C-c C-c to comment-region.
829 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
830 (ruby-forward-sexp): Stop after literal hash key labels.
831 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
832 bracket.
833
834 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
835
836 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
837 the correct buffer (Bug#7650).
838
839 2011-01-25 Glenn Morris <rgm@gnu.org>
840
841 * comint.el (comint-mode): Doc fix. (Bug#7897)
842
843 * simple.el (do-auto-fill): Give it a doc string.
844
845 * button.el (make-text-button): Doc fix. (See bug#7881)
846
847 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
848
849 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
850 Don't move backward, so as not to fall in an inf-loop (bug#7736).
851
852 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
853 Handle ?" and friends differently (e.g. don't use backrefs).
854
855 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
856
857 * calc/calc.el (calc-default-power-reference-level)
858 (calc-default-field-reference-level): New variables.
859 * calc/calc-units.el (math-standard-units): Add dB and Np.
860 (math-logunits): New variable.
861 (math-extract-logunits, math-logcombine, calcFunc-luplus)
862 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
863 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
864 New functions.
865 (math-find-base-units-rec): Add entry for ln(10).
866 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
867 (calc-ul-prefix-help): New function.
868 * calc/calc-ext.el (calc-init-extensions): Autoload new units
869 functions. Add keybindings for new units functions.
870
871 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
872
873 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
874 rcirc buffers. (Bug#4940)
875
876 2011-01-22 Glenn Morris <rgm@gnu.org>
877
878 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
879 split out from copyright-update-year.
880 (copyright-update): Don't mess with the GPL version if we don't own the
881 copyright. Update license regexp, and remove no longer needed
882 Esperanto stuff.
883 (copyright-fix-years): Use copyright-find-copyright.
884
885 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
886
887 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
888
889 2011-01-22 Jari Aalto <jari.aalto@cante.net>
890
891 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
892 (lm): Rename to landmark.
893 (lm-test-run): Rename to landmark-test-run.
894
895 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
896
897 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
898 "Case sensitive" menu item.
899
900 2011-01-22 Roland McGrath <roland@frob.com>
901
902 * comint.el (comint-replace-by-expanded-history-before-point): Fix
903 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
904
905 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
908
909 2011-01-22 Jari Aalto <jari.aalto@cante.net>
910
911 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
912 Assume foo(bar) is a manpage reference rather than some unquoted
913 symbol (bug#7705).
914
915 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
918 Suggested by Flo <sensorflo@gmail.com>.
919
920 2011-01-22 Glenn Morris <rgm@gnu.org>
921
922 * progmodes/compile.el (compilation-error-regexp-alist):
923 Fix custom type. (Bug#7812)
924
925 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
926
927 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
928 allout-number-siblings, in keeping with what obtained due to
929 (now-defunct) allout-keybindings-list. Ditch repeat binding to
930 (prefixed) ?i.
931 (allout-before-change-handler): Better expose spots affected by
932 undo.
933
934 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
935
936 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
937
938 2011-01-22 Phil Hagelberg <phil@evri.com>
939
940 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
941 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
942 (pcmpl-ssh-config-hosts): New function.
943 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
944 pcmpl-ssh-known-hosts.
945
946 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
947
948 * calc/calc-undo.el (calc-undo): Autoload it.
949 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
950 and autoload for `calc-undo'.
951 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
952 * calc/calc-prog.el:
953 * calc/calc-graph.el:
954 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
955
956 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
957
958 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
959 keybindings to `calc-undo'.
960
961 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 Don't mess with *temp*.
964 * obsolete/spell.el: Move from textmodes/spell.el.
965 (spell-string):
966 * term.el (term-read-input-ring):
967 * startup.el (display-startup-echo-area-message):
968 * progmodes/antlr-mode.el (antlr-directory-dependencies):
969 * comint.el (comint-read-input-ring): Use with-temp-buffer.
970 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
971 point-min==1.
972
973 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
974
975 * allout.el: (allout-institute-keymap): Use fset instead of
976 reapplying defalias.
977
978 (allout-hotspot-key-handler): Check for non-control-modified
979 bindings for hotspot characters if there are no control-modified
980 versions.
981
982 * allout.el: Summary - migrate to defining allout mode using
983 define-minor-mode instead of defun. Significantly clean-up
984 internal keymap provisions, refactoring and, in the process,
985 removing a lot of accumulated cruft.
986
987 allout-mode-map is now a keymap by virtue of being a defalias to
988 allout-mode-map-value, which contains the actual keymap structure.
989
990 (allout-mode): Use define-minor-mode rather than defun.
991 Remove now-unnecessary minor-mode setup activities from the body.
992 Specify :keymap as allout-mode-map so the minor-mode-map-alist
993 entry will be '(allout-mode . allout-mode-map) - see
994 allout-mode-map-value, below. Adjust docstring to track changes.
995 (allout-minor-mode): Remove this defalias, now that we're using
996 define-minor-mode.
997 (allout-mode-map): Set value to be 'allout-mode-map. The actual
998 keymap is allout-mode-map-value, via defalias.
999 (allout-mode-map-value): The variable holding the actual mode
1000 keymap structure, by virtue of defalias from allout-mode-map.
1001 (allout-compose-and-institute-keymap): Rename from
1002 allout-bind-keys, and including the binding-composition
1003 functionality of the former produce-allout-mode-map and
1004 allout-setup-mode-map.
1005 (allout-institute-keymap): Take over the "setup" part of the former
1006 allout-setup-mode-map. Reassign allout-mode-map-value value and
1007 update the defalias.
1008 (allout-command-prefix) (allout-prefixed-keybindings)
1009 (allout-unprefixed-keybindings):
1010 Use allout-compose-and-institute-keymap to process the bindings.
1011 (allout-unprefixed-keybindings): Remove extraneous '?' question
1012 marks.
1013 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1014 user can customize if they want to use that binding.
1015 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1016 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1017 elided that, previously, instead of the one for \C-h.)
1018 (allout-hotspot-key-handler): Remove attempt to resolve the key
1019 through the literal key-string lookup on allout-keybindings-list.
1020 That probably hasn't worked for a Long Time, and removal of
1021 allout-keybindings-list further simplifies the keybindings
1022 situation.
1023 (allout-pre-command-business): Use allout-mode-map-value instead
1024 of allout-mode-map.
1025 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1026 the bindings if they want to use a keybinding having a trailing
1027 \C-h. No deprecation needed since this feature was never in a
1028 release.
1029 (allout-keybindings-list): Remove. It's not been useful for a
1030 while. (See allout-hotspot-key-handler changes, above.)
1031 (produce-allout-mode-map): Remove. Consolidate into
1032 allout-compose-and-institute-keymap.
1033 (allout-mode-map-adjustments): Remove. No longer necessary with
1034 removal of allout-preempt-trailing-ctrl-h.
1035 (allout-setup-mode-map): Remove. Consolidate into
1036 allout-compose-and-institute-keymap and allout-institute-keymap.
1037
1038 2011-01-20 Glenn Morris <rgm@gnu.org>
1039
1040 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1041
1042 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1043
1044 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1045
1046 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1047
1048 * files.el (find-alternate-file, basic-save-buffer)
1049 (basic-save-buffer-2, revert-buffer, recover-file)
1050 (kill-buffer-ask, abort-if-file-too-large)
1051 (set-visited-file-name, write-file, backup-buffer)
1052 (basic-save-buffer, save-some-buffers):
1053 * dired-aux.el (dired-compress-file): Callers changed.
1054
1055 2011-01-19 Glenn Morris <rgm@gnu.org>
1056
1057 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1058 Also check the property status. (Bug#7861)
1059
1060 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1061
1062 * net/tramp.el (tramp-debug-message): Extend function exclude
1063 list. Use `regexp-opt'.
1064
1065 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1068 highlighting doesn't spill over subsequent lines.
1069
1070 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1071 keymap expression. Improve docstring.
1072
1073 * electric.el (electric-indent-post-self-insert-function):
1074 Don't auto-indent for indent-to-left-margin, it's too often
1075 counter-productive.
1076
1077 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1078
1079 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1080 spaces if the frame was resized, so that the full visible buffer
1081 serves as canvas for strokes.
1082
1083 2011-01-16 Glenn Morris <rgm@gnu.org>
1084
1085 * info-xref.el (info-xref-docstrings): Replace cl function.
1086 Also skip directories.
1087
1088 2011-01-16 Kevin Ryde <user42@zip.com.au>
1089
1090 * info-xref.el: Version 3.
1091 (info-xref-check, info-xref-check-all): Move commentary details
1092 into docstrings for better visibility.
1093 Use compilation-mode for the results buffer.
1094 (info-xref-output, info-xref-output-error, info-xref-with-output)
1095 (info-xref-filename, info-xref-in-progress):
1096 New internals for this.
1097 (info-xref-check-list, info-xref-check-buffer)
1098 (info-xref-check-all-custom): Use those.
1099 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1100 (info-xref-output-heading): Rename from info-xref-filename-heading.
1101 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1102 (info-xref-filename-heading): Move to output managing section.
1103 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1104 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1105 (info-xref-subfile-p): Move to generic section with those two.
1106 (info-xref-check-node): New function split from
1107 info-xref-check-buffer, shared by info-xref-docstrings.
1108 (info-xref-goto-node-p): Move to a checking section with that func.
1109 (info-xref-unavail): New counter.
1110 (info-xref-check-node): Use it.
1111 (info-xref-with-output): Show count of unavailables at end of output.
1112 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1113 symlinks. Exclude .texi files. Exclude Emacs backup files.
1114 (info-xref-check-all-custom): Fix quietening viper-mode and
1115 gnus-registry-install -- use setq not let so as not to unbind
1116 after load.
1117
1118 2011-01-16 Juri Linkov <juri@jurta.org>
1119
1120 * isearch.el (isearch-abort): Don't quit if search has
1121 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1122
1123 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1124
1125 * files.el (backup-buffer): Make last-resort backup file in
1126 .emacs.d (Bug#6953).
1127
1128 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1129 make it with permission 700.
1130
1131 2011-01-15 Kenichi Handa <handa@m17n.org>
1132
1133 * mail/rmailmm.el (rmail-mime-insert-header):
1134 Set rmail-mime-coding-system to a cons whose car is the last coding
1135 system used to decode the header.
1136 (rmail-mime-find-header-encoding): New function.
1137 (rmail-mime-insert-decoded-text):
1138 Override rmail-mime-coding-system if it is a cons.
1139 (rmail-show-mime): If only a header part was decoded, find the
1140 coding system while ignoring mm-charset-override-alist.
1141
1142 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1143
1144 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1145
1146 2011-01-15 Kenichi Handa <handa@m17n.org>
1147
1148 * mail/rmailmm.el (rmail-mime-next-item)
1149 (rmail-mime-previous-item): Delete them.
1150 (rmail-mime-shown-mode): Recursively call for children.
1151 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1152 Callers changed.
1153 (rmail-mime-raw-mode): Recursively call for children.
1154 (rmail-mode-map): Change mapping of tab and backtab to
1155 forward-button and backward-button respectively.
1156 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1157 button.
1158 (rmail-mime-update-tagline): New function.
1159 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1160 body display is changed.
1161 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1162 (rmail-mime-image): Delete this button type.
1163 (rmail-mime-toggle): New button type.
1164 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1165 body display is changed. Change the save button label to "Save".
1166 Don't process show/hide button here.
1167 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1168 the body display is changed. Unconditionally call
1169 rmail-mime-insert for children.
1170 (rmail-mime-handle): Update `display' vector of the just inserted
1171 entity.
1172 (rmail-mime-process): If mail-header-parse-content-type returns
1173 nil, use "text/plain" as the fallback type.
1174 (rmail-mime-insert): For raw-mode, recursively call
1175 rmail-mim-insert for children.
1176 (rmail-mime): Handle the case that the current buffer is not rmail
1177 buffer (e.g. in summary buffer).
1178
1179 2011-01-15 Kenichi Handa <handa@m17n.org>
1180
1181 * mail/rmailmm.el (rmail-mime-next-item)
1182 (rmail-mime-previous-item): Skip the body of a non-multipart
1183 entity if a tagline is shown.
1184
1185 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1186
1187 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1188 (tmm-prompt): Simplify.
1189 (tmm-add-prompt): Remove unused var `win'.
1190
1191 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1192 to minor mode which used nil accidentally to mean "turn off".
1193
1194 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1195
1196 * net/tramp-sh.el (tramp-find-inline-compress)
1197 (tramp-get-inline-coding): Quote command after pipe symbol for
1198 local calls under W32. (Bug#6784)
1199
1200 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1201
1202 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1203 only when running under W32.
1204
1205 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1206
1207 * progmodes/grep.el (grep-compute-defaults): Quote the program
1208 file name after the pipe symbol in Grep templates. (Bug#6784)
1209 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1210
1211 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1212
1213 * buff-menu.el (Buffer-menu-buffer-list): New var.
1214 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1215 restricted buffer list is not lost on revert (Bug#7749).
1216
1217 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1218
1219 * net/ldap.el (ldap-search-internal): Discard stderr output.
1220
1221 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1222
1223 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1224
1225 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1228
1229 2011-01-15 Kenichi Handa <handa@m17n.org>
1230
1231 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1232 part as a plain text.
1233 (rmail-mime-process-multipart): Set the default content-type to
1234 nil for unknown multipart subtypes (bug#7651).
1235
1236 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * hexl.el (hexl-mode-old-*): Remove.
1239 (hexl-mode--old-var-vals): New var to replace them.
1240 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1241 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1242 Use them to set local vars (bug#7846).
1243 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1244 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1245 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1246
1247 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1248 (smerge-resolve--normalize-re): New var.
1249 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1250 (smerge-resolve): Use them.
1251 * newcomment.el (comment-only-p): New function.
1252 (comment-or-uncomment-region): Use it.
1253
1254 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1255
1256 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1257 table, get the value before switching to the output buffer. (Bug#7733)
1258
1259 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1260
1261 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1262
1263 2011-01-14 Kim F. Storm <storm@cua.dk>
1264
1265 * emulation/cua-base.el (cua--init-keymaps):
1266 Remap exchange-point-and-mark in cua-global-keymap.
1267
1268 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1269
1270 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1271 loop keyword.
1272
1273 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1276 Require CL.
1277 (easy-menu-create-menu, easy-menu-convert-item-1):
1278 Use :label rather than nil for labels. Use `case'.
1279 Add :enable as alias for :active.
1280 (easy-menu-binding): Obey :label.
1281
1282 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 Use run-mode-hooks for major mode hooks (bug#513).
1285 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1286 Rename from reftex-toc-map.
1287 (reftex-toc-mode): Use define-derived-mode.
1288 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1289 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1290 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1291 (reftex-select-label-mode, reftex-select-bib-mode):
1292 Use define-derived-mode.
1293 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1294 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1295 Move init into delcaration.
1296 (reftex-index-mode, reftex-index-phrases-mode):
1297 Use define-derived-mode.
1298 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1299 speedbar-syntax-table. Move init into declaration.
1300 (speedbar-mode-map): Rename from speedbar-key-map.
1301 Move init into declaration.
1302 (speedbar-file-key-map): Move init into declaration.
1303 (speedbar-mode): Use define-derived-mode.
1304 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1305 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1306 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1307 (chart-face-list): Move initialization into declaration.
1308 (chart-mode): Use define-derived-mode.
1309 * calculator.el (calculator-mode-map): Move init into declaration.
1310 (calculator-mode): Use define-derived-mode.
1311
1312 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1313 work for nested comments.
1314
1315 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1316 (prolog-use-prolog-tokenizer-flag): Change default when
1317 syntax-propertize can be used.
1318 (prolog-syntax-propertize-function): New var.
1319 (prolog-mode-variables): Move make-local-variable into `set'.
1320 Don't make comment-column local since we don't set it.
1321 Set comment-add (as it was in previous prolog.el). Use dolist.
1322 Set syntax-propertize-function.
1323 (prolog-mode, prolog-inferior-mode):
1324 Call prolog(-inferior)-menu directly, not through the mode-hook.
1325 (prolog-buffer-module, prolog-indent-level)
1326 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1327 (prolog-comment-limits, prolog-goto-comment-column):
1328 Use line-(end|beginning)-position.
1329 (prolog-build-prolog-command): Tighten up regexp.
1330 (prolog-consult-compile): Move make-local-variable into `set'.
1331 (prolog-consult-compile-filter, prolog-goto-next-paren)
1332 (prolog-help-on-predicate, prolog-clause-info)
1333 (prolog-mark-predicate): Don't let+setq.
1334 (prolog-indent-line): Use indent-line-to.
1335 Only call prolog-goto-comment-column if necessary.
1336 (prolog-indent-level): Use bobp.
1337 (prolog-first-pos-on-line): Remove, not used any more.
1338 (prolog-in-string-or-comment): Use syntax-ppss if available.
1339 (prolog-help-on-predicate): Use read-string.
1340 (prolog-goto-predicate-info): Simplify.
1341 (prolog-read-predicate): Use `default' rather than `initial'.
1342 (prolog-temporary-file): Use make-temp-file to close a security hole.
1343 (prolog-toggle-sicstus-sd): New command.
1344 (prolog-electric-underscore, prolog-variables-to-anonymous):
1345 Use dynamic-scoping as it was meant.
1346 (prolog-menu): Move menu definitions to top-level.
1347 Use a toggle-button for Sicstus's source debugger.
1348 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1349 to "System".
1350 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1351 Move other menu definition to top-level.
1352
1353 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1354
1355 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1356 name. Keep original document's directory as default-directory
1357 (bug#6446).
1358 (doc-view-initiate-display): Fall back to normal mode when
1359 doc-view-mode cannot be enabled, also when extracting the document
1360 text into a separate buffer (bug#6446).
1361
1362 * simple.el (shell-command): Don't error out if shell command
1363 buffer contains text with non-nil read-only property when erasing
1364 the buffer.
1365
1366 2011-01-13 Kim F. Storm <storm@cua.dk>
1367
1368 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1369 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1370 items when cycling through the matches.
1371
1372 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1373
1374 * dired-x.el (dired-omit-verbose): New defcustom that allows
1375 disabling the omit messages.
1376 (dired-omit-expunge): Use it.
1377
1378 2011-01-13 Christian Ohler <ohler@gnu.org>
1379
1380 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1381
1382 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1383
1384 * font-lock.el (font-lock-verbose): Default to nil.
1385
1386 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1387
1388 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1389 (compose-mail): New arg RETURN-ACTION.
1390 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1391
1392 * mail/sendmail.el (mail-return-action): New var.
1393 (mail-mode): Make it buffer-local.
1394 (mail-bury): Obey it. Move special Rmail window handling to
1395 rmail-mail-return.
1396 (mail, mail-setup): New arg RETURN-ACTION.
1397 (sendmail-user-agent-compose): Move from simple.el.
1398
1399 * mail/rmail.el (rmail-mail-return): New function.
1400 (rmail-start-mail): Pass it to compose-mail.
1401
1402 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1403
1404 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1405 menus. Add menu item for customize-themes.
1406
1407 * cus-theme.el (customize-themes):
1408 * emacs-lisp/package.el (package--list-packages):
1409 Use switch-to-buffer.
1410
1411 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1412
1413 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1414
1415 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * progmodes/prolog.el: Fix up coding convention and such.
1418 (prolog-indent-width): Use the same default as in
1419 previous prolog.el rather than tab-width which depends on which buffer
1420 is current when the file is loaded.
1421 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1422 is not available.
1423 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1424 (prolog-known-systems): Remove.
1425 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1426 Move initialization into declaration.
1427 (prolog-mode-map): Move initialization into declaration.
1428 Remove system-specific mode-map vars, since they referred to the same
1429 keymap anyway.
1430 (prolog-mode-variables): Obey the user's preference w.r.t
1431 adaptive-fill-mode. Prefer symbol-value to `eval'.
1432 (prolog-mode-keybindings-edit): Add compatibility bindings.
1433 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1434 (mercury-mode-map): New var.
1435 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1436 (prolog-ensure-process, prolog-process-insert-string)
1437 (prolog-consult-compile): Use with-current-buffer.
1438 (prolog-guess-fill-prefix): Simplify data flow.
1439 (prolog-replace-in-string): New function to use instead of
1440 replace-in-string.
1441 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1442 (prolog-uncomment-region): Use `uncomment-region' when available.
1443 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1444 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1445 of int-to-char and char-to-int.
1446 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1447
1448 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1449
1450 * progmodes/prolog.el: Replace by a whole new file.
1451
1452 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1455 (declare-function, undefined, insert-for-yank)
1456 (replace-regexp-in-string): Follow checkdoc's recommendations.
1457
1458 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1461 refreshing the diary buffer.
1462
1463 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1464
1465 * allout.el: Add 2011 to the file copyright.
1466 (allout-encrypt-string): Prevent encryption from adding an extra
1467 newline at the end of the topic body.
1468 (allout-version): Increment to 2.3.
1469
1470 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1471
1472 * net/dbus.el (dbus-unregister-service): Complete doc.
1473 Fix call of dbus-error signal.
1474 (dbus-register-property): Use `dont-register' keyword.
1475
1476 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1477
1478 * net/dbus.el (dbus-unregister-service): Translate returned
1479 integer into a symbol.
1480 (dbus-register-property): Use `dbus-register-service' to do the
1481 name registration.
1482
1483 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1484
1485 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1486 Suggested by Joakim Verona.
1487
1488 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1489
1490 * wid-edit.el (visibility): Replace :on-image and :off-image
1491 widget properties with :on-glyph and :off-glyph, for consistency
1492 with the `visibility' widget.
1493 (widget-toggle-value-create, widget-visibility-value-create):
1494 Merge into a single function `widget-toggle-value-create'.
1495
1496 * cus-edit.el (custom-variable-value-create, custom-visibility)
1497 (custom-face-edit-value-create, custom-face-value-create):
1498 Replace :on-image and :off-image widget properties with :on-glyph and
1499 :off-glyph, for consistency with the `visibility' widget.
1500
1501 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1502
1503 * net/ldap.el (ldap-search-internal): Don't use eval.
1504
1505 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1506
1507 * subr.el (read-char-choice): Use read-key.
1508
1509 * custom.el (custom-safe-themes): Rename from
1510 custom-safe-theme-files. Add :risky tag.
1511 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1512 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1513
1514 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1515
1516 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1517 from Search and add a label to Undo.
1518
1519 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1520 inappropriate buttons and adding :vert-only tags.
1521
1522 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1523 removal of Help tool-bar button. Remove Undo button for space.
1524
1525 * info.el (info-tool-bar-map): Add :vert-only tags.
1526
1527 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1528
1529 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1530 image backend support. Either of them is fine.
1531
1532 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1533
1534 * subr.el (y-or-n-p): Doc fix.
1535
1536 * custom.el (custom-safe-theme-files): New defcustom.
1537 (custom-theme-load-confirm): New function.
1538 (load-theme): Load theme using `load', confirming with
1539 custom-theme-load-confirm if necessary.
1540
1541 * subr.el (read-char-choice): New function, factored out from
1542 dired-query and hack-local-variables-confirm.
1543
1544 * dired-aux.el (dired-query):
1545 * files.el (hack-local-variables-confirm): Use it.
1546
1547 * dired-aux.el (dired-compress-file):
1548 * files.el (abort-if-file-too-large, find-alternate-file)
1549 (set-visited-file-name, write-file, backup-buffer)
1550 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1551 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1552 Use new format string args for y-or-n-p and yes-or-no-p.
1553
1554 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1555
1556 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1557 [gcc-include]: Tighten file name match, add match for column
1558 number. (Bug#7806)
1559 [gnu]: Remove unused group.
1560
1561 2011-01-08 Glenn Morris <rgm@gnu.org>
1562
1563 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1564
1565 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1566
1567 2011-01-07 Sam Steingold <sds@gnu.org>
1568
1569 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1570 the `explicit-shell-file-name' because that is the
1571 non-interactive shell.
1572
1573 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1574
1575 * subr.el (y-or-n-p): Accept format string args.
1576
1577 2011-01-07 Glenn Morris <rgm@gnu.org>
1578
1579 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1580
1581 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1582
1583 * allout.el (allout-back-to-current-heading): Ensure return to
1584 the visible containing topic, rather than a collapsed one.
1585 (allout-view-change-hook): Remove hook that was deprecated long ago.
1586 (allout-exposure-change-hook): Remove documentation remarks
1587 concerning removed allout-view-change-hook.
1588 (allout-flag-region): Remove invocation of and documentation
1589 remarks concerning allout-view-change-hook.
1590
1591 2011-01-06 Glenn Morris <rgm@gnu.org>
1592
1593 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1594 (vc-bzr-annotate-extract-revision-at-line):
1595 Handle authors with embedded spaces. (Bug#7792)
1596
1597 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1598
1599 * doc-view.el (doc-view-image-width): New variable.
1600 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1601 backend for PNG images, and do dynamic rescaling instead of
1602 reconverting the whole doc.
1603
1604 2011-01-05 Glenn Morris <rgm@gnu.org>
1605
1606 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1607
1608 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1609
1610 * allout.el: Reconcile with changes in line movement behavior for
1611 long text lines that cross more than a single physical window
1612 line, ie when truncate-lines is nil.
1613 (allout-next-visible-heading): Provide for change in line-move
1614 behavior on long lines when truncate-lines is nil. In that case,
1615 line-move can wind up on the same textual line when it moves to
1616 the next window line, and moving to the bullet position after the
1617 move yields zero advancement. Add logic to detect and compensate
1618 for the lack of progress.
1619 (allout-current-topic-collapsed-p): move-end-of-line respect for
1620 field boundaries is different when operating with body lines
1621 shorter than window width versus ones greater than window width,
1622 which can yield false negatives in this function. Avoid
1623 difference by applying move-end-of-line while field-text-motion is
1624 inhibited.
1625
1626 2011-01-04 Glenn Morris <rgm@gnu.org>
1627
1628 * textmodes/rst.el (rst-compile-toolsets):
1629 Add pdf and s5 to option alist.
1630
1631 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1632
1633 * net/dbus.el (dbus-register-property): Add optional parameter
1634 dont-register-service. Updated docstring accordingly.
1635
1636 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1637
1638 * textmodes/rst.el (rst-compile-pdf-preview)
1639 (rst-compile-slides-preview): Remove extra line.
1640
1641 2011-01-04 Glenn Morris <rgm@gnu.org>
1642
1643 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1644 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1645 default to `prog' without a .py extension.
1646 (rst-compile-pdf-preview, rst-compile-slides-preview):
1647 Use program names from rst-compile-toolsets, rather than hard-coding.
1648 (rst-portable-mark-active-p): Fix presumed typo.
1649
1650 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1651
1652 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1653 libpng versions both before and after 1.4.0. (Bug#7716)
1654
1655 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1656
1657 * time.el (display-time-mode): Mention display-time-interval in
1658 the doc string. (Bug#7713)
1659
1660 2011-01-02 Kenichi Handa <handa@m17n.org>
1661
1662 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1663 condition-case and return an error message string if something
1664 goes wrong.
1665 (rmail-show-mime): Adjust for the above change. Insert the
1666 header by rmail-mime-insert-header.
1667
1668 2011-01-02 Kenichi Handa <handa@m17n.org>
1669
1670 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1671 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1672 (rmail-mime-mbox-buffer)
1673 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1674 (rmail-mime-entity): Argument changed. All codes handling an
1675 entity object are changed.
1676 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1677 the above change.
1678 (rmail-mime-entity-children, rmail-mime-entity-handler)
1679 (rmail-mime-entity-tagline): New functions.
1680 (rmail-mime-message-p): New function.
1681 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1682 (rmail-mime-entity-segment, rmail-mime-next-item)
1683 (rmail-mime-previous-item, rmail-mime-shown-mode)
1684 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1685 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1686 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1687 New functions.
1688 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1689 (rmail-mime-insert-decoded-text): New function.
1690 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1691 (rmail-mime-insert-image): Argument changed. Caller changed.
1692 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1693 (rmail-mime-set-bulk-data): New function.
1694 (rmail-mime-insert-bulk): Argument changed.
1695 (rmail-mime-multipart-handler): Return t.
1696 (rmail-mime-process-multipart): Argument changed.
1697 Handle "multipart/alternative" here.
1698 (rmail-mime-process): Argument changed.
1699 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1700 (rmail-mime-insert): Argument changed. Handle raw display mode.
1701 (rmail-mime): Argument changed. Handle toggling of raw display
1702 mode.
1703 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1704 rmail-mime-view-buffer.
1705 (rmail-insert-mime-forwarded-message): Likewise.
1706 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1707
1708 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1709 non-nil, handle the header in rmail-show-mime-function.
1710
1711 2011-01-02 Leo <sdl.web@gmail.com>
1712
1713 * help-fns.el (describe-variable): Fix previous change.
1714
1715 2011-01-02 Juri Linkov <juri@jurta.org>
1716
1717 * isearch.el (isearch-lazy-highlight-error): New variable.
1718 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1719 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1720 to the current value of `isearch-error' (Bug#7468).
1721
1722 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1723
1724 * help-fns.el (describe-variable): Don't emit trailing whitespace
1725 (Bug#7511).
1726
1727 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1728
1729 * textmodes/rst.el (rst-compile-pdf-preview)
1730 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1731
1732 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1733
1734 * emulation/edt-mapper.el: Override mapping of function keys so
1735 that the later call to read-key-sequence works.
1736
1737 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1738
1739 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1740 Unix EOLs. (Bug#7589)
1741
1742 2011-01-02 Leo <sdl.web@gmail.com>
1743
1744 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1745 if point is not behind eshell-last-output-end (Bug#7585).
1746
1747 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * files.el (file-local-variables-alist):
1750 Make permanent-local (bug#7767).
1751
1752 2011-01-02 Glenn Morris <rgm@gnu.org>
1753
1754 * version.el (emacs-copyright): Set short copyright year to 2011.
1755
1756 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1757
1758 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1759 an existing temp buffer. (Bug#7746)
1760
1761 2011-01-02 Glenn Morris <rgm@gnu.org>
1762
1763 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1764 multiple addresses. (Bug#7760)
1765
1766 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1767
1768 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1769 do-auto-fill if everything points back to allout-auto-fill.
1770 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1771 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1772
1773 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1774
1775 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1776 and "scpx".
1777
1778 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1779
1780 * doc-view.el (doc-view-set-doc-type): New function refactored
1781 from doc-view-mode.
1782 (doc-view-fallback-mode): New function.
1783 (doc-view-mode): Use it.
1784 (doc-view-mode-maybe): New function that checks if doc-view-mode
1785 can be used and falls back to the next best mode otherwise.
1786
1787 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1788 DVI, OpenDocument, and MS Office files.
1789
1790 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1791
1792 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1793
1794 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1795
1796 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1797 on a copy of auto-mode-alist, because that deletes with side
1798 effects.
1799
1800 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1801
1802 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1803 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1804 fallback instead of hard coding fundamental mode.
1805
1806 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1807
1808 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1809 Office) files also for searching.
1810
1811 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1812
1813 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1814 Office) files. Not yet enabled via auto-mode-list.
1815 (doc-view-unoconv-program): New custom variable.
1816 (doc-view-mode-p): Handle new odf document type.
1817 (doc-view-odf->pdf): New conversion function.
1818 (doc-view-convert-current-doc): Call it for odf files.
1819 (doc-view-mode): Recognize newly supported file extensions.
1820
1821 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1822
1823 * net/tramp.el (tramp-default-method-alist)
1824 (tramp-default-user-alist)
1825 (tramp-local-host-regexp, tramp-prefix-domain-format)
1826 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1827
1828 * net/tramp-ftp.el:
1829 * net/tramp-gvfs.el:
1830 * net/tramp-gw.el:
1831 * net/tramp-imap.el:
1832 * net/tramp-sh.el:
1833 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1834 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1835
1836 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1837
1838 * saveplace.el (save-place-alist-to-file): Save list sorted and
1839 pretty-printed, so that it is mergeable by line-based text merging,
1840 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1841
1842 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1843
1844 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1845 (allout-mode): Argument "toggle" => "force".
1846 Refine the docstring.
1847 Remove special provisions for reactivation, besides the 'force'
1848 argument.
1849 Consolidate layout provisions coce directly into the activation
1850 condition branch, now that we've removed those provisions.
1851 (allout-unload-function): Explicitly activate the mode before
1852 deactivating, if it's initially deactivated.
1853 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1854 warnings for version of function used only where
1855 set-buffer-multibyte is unavailable.
1856
1857 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1858
1859 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1860 are handled by the menu-bar entries. As before, don't use
1861 :visibile to avoid changing the tool-bar.
1862
1863 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1864
1865 * net/secrets.el (secrets-delete-alias): New defun.
1866
1867 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1868
1869 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1870 methods, otherwise ~/.ssh/config would be ignored.
1871
1872 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * emacs-lisp/rx.el: Make it a superset of sregex.
1875 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1876 of args, add `regex' alias.
1877 (rx-info): Add arg to distinguish head and standalone forms.
1878 (rx-check, rx-form): Pass the corresponding arg.
1879 (rx-**): Simplify.
1880 (rx-repeat): Make it work for any number of args.
1881 (rx-syntax): Make it accept syntax chars as is.
1882 * obsolete/sregex.el: Move from emacs-lisp/.
1883 * emacs-lisp/re-builder.el: Remove sregex support.
1884 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1885
1886 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1887
1888 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1889 PRIMARY first, then the clipboard. (Bug#7699)
1890
1891 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1894 print-number-table.
1895
1896 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1897
1898 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1899 .emacs.elc (Bug#7530).
1900
1901 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1902 image spec (Bug#7480).
1903
1904 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1905
1906 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1907 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1908 Move from lisp/.
1909
1910 2010-12-20 Leo <sdl.web@gmail.com>
1911
1912 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1913 always be performed (Bug#7680).
1914
1915 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1916
1917 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1918 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1919 mouse-region-match.
1920
1921 * color.el: Move from gnus/.
1922
1923 * vc/diff.el (diff-better-file-name): Function deleted.
1924 abbreviating file names causes problems with shell-quote-argument.
1925 (diff-no-select): Just use expand-file-name.
1926
1927 * tool-bar.el (tool-bar--image-expression): New function.
1928 (tool-bar-local-item, tool-bar--image-exp): Use it.
1929 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1930 Use :enable instead of :visible to avoid changing the tool-bar
1931 configuration unnecessarily.
1932
1933 * info.el (info-tool-bar-map): Add separators.
1934
1935 2010-12-17 Ken Brown <kbrown@cornell.edu>
1936
1937 * loadup.el: Use version numbers in Cygwin build.
1938
1939 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1940
1941 * ido.el (ido-file-internal): Ask for confirmation before
1942 overwriting an existing file (Bug#1238).
1943
1944 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1945
1946 * tool-bar.el (tool-bar-setup): Add separators.
1947
1948 * menu-bar.el (featurep): Use menu-bar-separator.
1949
1950 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1951
1952 Migrate allout encryption provisions from pgg to epg.
1953
1954 * allout.el (allout-toggle-current-subtree-encryption)
1955 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1956 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1957 for simpler universal argument interpretation.
1958 (allout-toggle-subtree-encryption): Adjust docstring to describe
1959 changed encryption provisions. Change fetch-pass to keymode-cue, for
1960 simpler universal argument interpretation. Remove provisions for
1961 handling key type and identity - they'll all be within
1962 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1963 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1964 for keypair recipients (universal argument > 1) and, in addition,
1965 associating the specified recipients with the outline (universal
1966 argument > 4) using a file local variable setting for
1967 'epa-file-encrypt-to'.
1968 Require epa, for recipients handling.
1969 Change how regexp filtering elements are named.
1970 Describe the problem with caching of incorrect symmetric-decryption
1971 keys.
1972 Use the epa-passphrase-callback-function, in case the user is using
1973 GnuPG v1.
1974 Support saving of the selected keypair recipients when invoked with a
1975 keymode-cue > 4.
1976 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1977 Require 'epa.
1978 Establish epg-context with armoring and default epg-protocol.
1979 Remove all passphrase cache, verification, and hinting code.
1980 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1981 No longer used, delete.
1982 (allout-mode): Adjust docstring to describe changed encryption
1983 provisions. Describe the problem with caching of incorrect
1984 symmetric-decryption keys.
1985 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1986 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1987 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1988 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1989 Obsolete, remove.
1990
1991 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1992
1993 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1994 key selection prompt; make 'silent as default (Bug#7487).
1995
1996 2010-12-16 Leo <sdl.web@gmail.com>
1997
1998 * eshell/eshell.el (eshell-directory-name):
1999 Use locate-user-emacs-file (Bug#7578).
2000
2001 2010-12-15 Glenn Morris <rgm@gnu.org>
2002
2003 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2004
2005 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2006 Scott Evans <gse@antisleep.com>
2007
2008 * rect.el (rectange--default-line-number-format)
2009 (rectangle-number-line-callback): New functions.
2010 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2011
2012 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2013
2014 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2015 Delete unused variables.
2016 (move-to-column-force): Remove function obsolete since 21.2.
2017
2018 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2021 (tramp-handle-insert-file-contents): Do not set permanent-local
2022 property.
2023
2024 * net/tramp-cache.el (tramp-persistency-file-name):
2025 Use `locate-user-emacs-file' if fboundp.
2026
2027 * net/tramp-sh.el (tramp-methods): Add "ksu".
2028 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2029 method list.
2030
2031 2010-12-14 Glenn Morris <rgm@gnu.org>
2032
2033 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2034 (find-tag-marker-ring): Declare.
2035 (js-find-symbol): Require etags.
2036
2037 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2038 Require mail-utils.
2039 (mail-alias-file): Don't autoload. Doc fix.
2040 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2041 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2042 Mark as obsolete, and risky.
2043 (mail-setup): Simplify.
2044
2045 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2046 * mail/sendmail.el (build-mail-aliases): Update autoload.
2047
2048 * dired.el (dired-trivial-filenames, dired-chown-program)
2049 (dired-auto-revert-buffer): Remove autoload cookies.
2050 * mail/sendmail.el (mail-recover-1): Require 'dired.
2051
2052 * dired.el (dired-subdir-switches, dired-chown-program)
2053 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2054 Make into defcustoms.
2055 (dired-chown-program): Simplify initialization.
2056
2057 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2058
2059 2010-12-13 Romain Francoise <romain@orebokech.com>
2060
2061 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2062
2063 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2064
2065 * net/netrc.el (netrc-point-at-eol): Remove the unused
2066 netrc-point-at-old and netrc-bound-and-true-p bindings.
2067 (netrc-parse): Cache the netrc contents.
2068
2069 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2070
2071 * subr.el (posn-col-row): Evaluate header-line-format in the
2072 context of the POSITION window's buffer.
2073
2074 2010-12-13 Glenn Morris <rgm@gnu.org>
2075
2076 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2077 (with-silent-modifications): Doc fixes.
2078
2079 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2080
2081 * net/tramp.el (tramp-action-password, tramp-process-actions):
2082 Revert previous from. Use `save-restriction'.
2083
2084 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2085
2086 * calendar/diary-lib.el (diary-list-sexp-entries):
2087 Handle case of no newline at end of file. (Bug#7536)
2088
2089 2010-12-13 Glenn Morris <rgm@gnu.org>
2090
2091 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2092
2093 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2094
2095 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2096 (tramp-process-actions): Do not widen.
2097
2098 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2099 Protect buffer-modified value. (Bug#7557)
2100
2101 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2102
2103 * log-edit.el (log-edit-changelog-entries):
2104 Regexp quote filename. (Bug#7505)
2105
2106 2010-12-13 Tom Breton <tehom@panix.com>
2107
2108 * cus-edit.el (custom-save-all):
2109 Bind print-length and print-level to nil. (Bug#7581)
2110
2111 2010-12-13 Glenn Morris <rgm@gnu.org>
2112
2113 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2114 Run hooks to update menu contents. (Bug#7586)
2115
2116 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2117 file names, for the sake of MS Windows. (Bug#7588)
2118
2119 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2122 empty lines without a leading space.
2123
2124 2010-12-13 Leo <sdl.web@gmail.com>
2125
2126 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2127 while mapping over marks (Bug#6810).
2128
2129 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2130
2131 * image-dired.el (image-dired-db-file)
2132 (image-dired-temp-image-file, image-dired-gallery-dir)
2133 (image-dired-temp-rotate-image-file): Set default values relative
2134 to image-dired-dir (Bug#7518).
2135
2136 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2137
2138 * format.el (format-decode-run-method): Pass args FROM and TO, not
2139 point-min and point-max, to shell-command-on-region (Bug#7488).
2140
2141 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2142
2143 * frame.el (blink-cursor-mode): Make default t for ns.
2144
2145 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2146
2147 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2148
2149 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2150
2151 * comint.el (comint-dynamic-list-input-ring)
2152 (comint-dynamic-complete-filename)
2153 (comint-replace-by-expanded-filename)
2154 (comint-dynamic-simple-complete)
2155 (comint-dynamic-list-filename-completions)
2156 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2157
2158 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2159 Doc fix (Bug#7471).
2160
2161 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2162
2163 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2164 (Bug#7533).
2165
2166 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2167
2168 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2169 (Bug#7491).
2170
2171 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2172
2173 * files.el (file-relative-name): Handle UNC file names on
2174 DOS/Windows. (Bug#4674)
2175
2176 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2177
2178 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2179 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2180 (epg-context-set-passphrase-callback): Mention that the callback
2181 is not called when used with GnuPG 2.x.
2182
2183 2010-12-13 Glenn Morris <rgm@gnu.org>
2184
2185 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2186 Ensure ps-footer-font-size-internal is initialized.
2187 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2188
2189 2010-12-13 Kenichi Handa <handa@m17n.org>
2190
2191 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2192 within condition-case.
2193 (rmail-show-mime): Don't use condition-case.
2194 (rmail-search-mime-message): New function.
2195 (rmail-search-mime-message-function): Set to
2196 rmail-search-mime-message.
2197
2198 2010-12-13 Leo <sdl.web@gmail.com>
2199
2200 * ido.el (ido-common-initialization): New function. (bug#3274)
2201 (ido-mode): Use it.
2202 (ido-completing-read): Call it.
2203
2204 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2205
2206 * bookmark.el (bookmark-name-from-full-record): Rename back to
2207 this original name from `bookmark-name-from-record' reverting part
2208 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2209 As Drew Adams pointed out, there was no reason to cause churn for
2210 third-party callers.
2211
2212 2010-12-12 Alan Mackenzie <acm@muc.de>
2213
2214 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2215 template arglist, check that the current language supports this.
2216
2217 2010-12-11 Glenn Morris <rgm@gnu.org>
2218
2219 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2220 state of the file matches. (Bug#7544)
2221 (vc-bzr-register, vc-bzr-checkin)
2222 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2223 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2224
2225 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2226
2227 2010-12-11 Karel Klíč <kklic@redhat.com>
2228
2229 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2230
2231 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 Derive from prog-mode, use derived-mode-p, and fix up various
2234 minor style issues in lisp/progmodes.
2235
2236 * progmodes/vhdl-mode.el (vhdl-mode):
2237 * progmodes/verilog-mode.el (verilog-mode):
2238 * progmodes/vera-mode.el (vera-mode):
2239 * progmodes/sql.el (sql-mode):
2240 * progmodes/scheme.el (scheme-mode):
2241 * progmodes/perl-mode.el (perl-mode):
2242 * progmodes/octave-inf.el (inferior-octave-mode):
2243 * progmodes/autoconf.el (autoconf-mode):
2244 * progmodes/m4-mode.el (m4-mode):
2245 * progmodes/inf-lisp.el (inferior-lisp-mode):
2246 * progmodes/idlwave.el (idlwave-mode):
2247 * progmodes/icon.el (icon-mode):
2248 * progmodes/idlw-help.el (idlwave-help-mode):
2249 * progmodes/dcl-mode.el (dcl-mode):
2250 * progmodes/idlw-shell.el (idlwave-shell-mode):
2251 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2252 (ebrowse-member-mode, ebrowse-electric-position-mode):
2253 Use define-derived-mode.
2254
2255 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2256 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2257 (xscheme-debugger-mode-p, xscheme-send-string-1):
2258 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2259 (tcl-load-file, tcl-restart-with-file):
2260 * progmodes/ps-mode.el (ps-run-running):
2261 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2262 * progmodes/js.el (js--get-all-known-symbols):
2263 * progmodes/inf-lisp.el (inferior-lisp-proc):
2264 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2265 (idlwave-template, idlwave-update-buffer-routine-info)
2266 (idlwave-update-current-buffer-info)
2267 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2268 (idlwave-scan-class-info, idlwave-fix-keywords)
2269 (idlwave-list-buffer-load-path-shadows):
2270 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2271 (idlwave-toolbar-remove):
2272 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2273 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2274 (idlwave-shell-menu-def):
2275 * progmodes/idlw-complete-structtag.el
2276 (idlwave-prepare-structure-tag-completion):
2277 * progmodes/gud.el (gud-set-buffer):
2278 * progmodes/f90.el (f90-backslash-not-special):
2279 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2280
2281 * progmodes/xscheme.el (xscheme-start)
2282 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2283 * progmodes/which-func.el (which-function):
2284 * progmodes/vhdl-mode.el (vhdl-set-style):
2285 * progmodes/verilog-mode.el (verilog-set-compile-command)
2286 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2287 (verilog-set-define, verilog-auto-reeval-locals):
2288 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2289 * progmodes/simula.el (simula-mode):
2290 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2291 * progmodes/python.el (python-check, python-mode):
2292 * progmodes/prolog.el (prolog-mode-variables):
2293 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2294 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2295 * progmodes/delphi.el (delphi-mode):
2296 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2297 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2298 (c-font-lock-init): Move make-local-variable to their setq.
2299
2300 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2301 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2302 make-local-hook.
2303 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2304 (sh-set-shell): Don't set require-final-newline since it's already done
2305 by prog-mode.
2306 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2307 since we never set it.
2308 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2309 Use read-string and standard prompt.
2310 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2311 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2312 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2313 (meta-common-mode-map): Rename from meta-mode-map.
2314 Remove C-m binding, which is a user preference, not mode specific.
2315 (meta-common-mode): New major mode; replace meta-common-initialization.
2316 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2317 around with font-lock.
2318 * progmodes/etags.el (select-tags-table-mode):
2319 Derive from special-mode.
2320 * progmodes/octave-mod.el (octave-mode):
2321 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2322 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2323 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2324 Let define-derived-mode do its job.
2325 * progmodes/cpp.el (cpp-edit-mode-map):
2326 Move initialization into declaration.
2327 (cpp-edit-mode): Use define-derived-mode.
2328 (cpp-edit-load): Use derived-mode-p.
2329 * progmodes/mixal-mode.el (mixal-mode):
2330 * progmodes/f90.el (f90-mode):
2331 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2332 require-final-newline since prog-mode does it already.
2333 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2334 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2335 * progmodes/antlr-mode.el: Require cc-mode upfront.
2336 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2337 the declaration.
2338 (antlr-directory-dependencies, antlr-show-makefile-rules):
2339 Use derived-mode-p.
2340 (antlr-language-option): Don't assume point-min==1.
2341 (antlr-mode): Use define-derived-mode.
2342 * progmodes/ada-mode.el: Use derived-mode-p.
2343 (ada-mode): Use define-derived-mode.
2344 Use hack-local-variables-hook.
2345
2346 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2347
2348 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2349 (texinfo-mode): Don't disable adaptive-fill-mode.
2350 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2351 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2352 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2353 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2354 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2355 (texinfo-insert-@quotation, texinfo-insert-@samp)
2356 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2357 (texinfo-insert-@uref): Use define-skeleton.
2358 (texinfo-insert-@-with-arg): Delete.
2359
2360 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2361
2362 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2363 nil, do quote archive member names. (Bug#6144)
2364
2365 2010-12-10 Glenn Morris <rgm@gnu.org>
2366
2367 * files.el (diff-no-select): Declare.
2368
2369 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2370 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2371
2372 * comint.el (comint-input-ring-file-name): Doc fix.
2373
2374 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2375
2376 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2377 New functions.
2378 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2379 Use them instead of `nil' and `>', respectively.
2380 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2381 instead of `nil'.
2382 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2383 and menu-bar-positive-p instead of `nil' and `>', respectively.
2384 (Bug#1077)
2385
2386 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2387
2388 * whitespace.el (whitespace-newline-mode): Code fix.
2389
2390 2010-12-09 Glenn Morris <rgm@gnu.org>
2391
2392 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2393 Rename functions without commas, update callers.
2394
2395 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2396
2397 * whitespace.el (whitespace-cleanup-region):
2398 Clean up spaces before tabs. (Bug#7582)
2399
2400 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2401
2402 * bookmark.el: Adjust parameter names and doc strings to resolve
2403 confusion over whether "bookmark" meant a bookmark name or a
2404 bookmark record. Along the way, shorten one function's name for
2405 similar reasons. (Issue #7548)
2406 (bookmark-name-from-record): New name for
2407 `bookmark-name-from-full-record'. All callers changed.
2408 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2409 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2410 (bookmark-get-annotation, bookmark-set-annotation)
2411 (bookmark-get-filename, bookmark-set-filename)
2412 (bookmark-get-position, bookmark-set-position)
2413 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2414 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2415 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2416 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2417 Rename `bookmark' parameter to `bookmark-name-or-record', to
2418 clearly show its role, and shorten or adjust doc strings accordingly.
2419 (bookmark-set-name): Same, and pass the parameter directly to
2420 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2421 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2422 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2423 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2424 and in some cases shorten doc string accordingly.
2425 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2426 and `new-name', and adjust an internal variable to avoid confusion.
2427 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2428 parameter in doc string.
2429
2430 2010-12-08 Glenn Morris <rgm@gnu.org>
2431
2432 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2433 from gdb's history file. (Bug#7575)
2434
2435 * mail/emacsbug.el (report-emacs-bug):
2436 Try to handle some other mail clients.
2437
2438 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2439
2440 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2441 Use string-prefix-p.
2442 (file-name-version-regexp): New var.
2443 (file-name-sans-versions):
2444 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2445 (jka-compr-get-compression-info): Use dolist.
2446 (jka-compr-compression-info-list): Don't bother specifying
2447 version/backup regexps.
2448
2449 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2450
2451 * simple.el (just-one-space): Make argument n default to 1 if
2452 omitted.
2453
2454 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * electric.el (electric-indent-post-self-insert-function):
2457 Delete trailing newlines even if we don't reindent.
2458
2459 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * minibuffer.el (completion-at-point): Remove the `arg'.
2462 * bindings.el (complete-symbol): Move back from minibuffer.el.
2463
2464 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2465
2466 * simple.el (just-one-space): Delete newlines for negative arg.
2467
2468 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2471 (ansi-color-filter-apply): Simplify.
2472 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2473
2474 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2475
2476 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2477
2478 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2479
2480 * dired.el (dired-use-ls-dired): Set default to a special
2481 "unspecified" value.
2482 (dired-insert-directory): When called the first time, check
2483 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2484
2485 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2486
2487 * replace.el: Add "collect" feature to occur.
2488 (occur-collect-regexp-history): New var.
2489 (occur-read-primary-args): Return a replace string for nlines,
2490 if needed.
2491 (occur): Extend the meaning of nlines.
2492
2493 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2496 (which-func-update-1): Distinguish symbols from strings.
2497 (which-function): Stay within 80 columns.
2498
2499 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2502
2503 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2504 Improve docstring.
2505 (comment-style): Use comment-styles's docs to describe values.
2506
2507 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2508
2509 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2510 and ns-show-prefs (Bug#7535).
2511
2512 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2513 bindings (Bug#7535).
2514
2515 2010-12-03 Glenn Morris <rgm@gnu.org>
2516
2517 * nxml/nxml-mode.el: Require rng-nxml.
2518 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2519 Remove declarations.
2520
2521 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2522 * nxml/rng-nxml.el, nxml/rng-valid.el:
2523 Remove leading `*' from defcustom docs.
2524
2525 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2526 (normal-top-level-add-to-load-path, tty-handle-args):
2527 Convert comments to basic doc-strings.
2528
2529 * net/browse-url.el (browse-url-url-at-point)
2530 (browse-url-default-browser): Remove autoload cookies.
2531
2532 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2533 Remove more undefined cl functions.
2534
2535 * vc/diff.el (diff-sentinel): Make new arguments optional.
2536 * ibuf-ext.el (diff-sentinel): Update declaration.
2537
2538 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2539
2540 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2541 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2542 (epg-context-set-passphrase-callback): Mention that the callback
2543 is not called when used with GnuPG 2.x.
2544
2545 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2546
2547 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2548 (tramp-file-name-port): Check also for `tramp-default-port'.
2549 (tramp-get-connection-name): New defun.
2550 (tramp-get-connection-process): Use it.
2551 (tramp-debug-message): Extend function exclude list.
2552 (tramp-drop-volume-letter): Fix doc string.
2553
2554 * net/tramp-cmds.el: Remove solved todo item.
2555
2556 * net/tramp-efs.el:
2557 * net/tramp-ftp.el:
2558 * net/tramp-gvfs.el:
2559 * net/tramp-gw.el:
2560 * net/tramp-imap.el:
2561 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2562 and `tramp-default-user-alist', respectively.
2563
2564 * net/tramp-gw.el (tramp-gw-open-connection):
2565 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2566
2567 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2568 `tramp-file-name-port'.
2569
2570 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2571 and "psftp". Exchange "%k" marker with options.
2572 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2573 Compute size of link target.
2574 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2575 `tramp-current-*' up due to gateway methods. Optimze computing of
2576 copy arguments. Use `tramp-get-connection-name' and
2577 `tramp-get-connection-buffer'. Improve debug messages.
2578 (tramp-compute-multi-hops): Remove port determination.
2579 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2580
2581 * net/trampver.el: Update release number.
2582
2583 2010-12-02 Glenn Morris <rgm@gnu.org>
2584
2585 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2586 Avoid infinite loop over windows. (Bug#7492)
2587
2588 * progmodes/flymake.el (flymake-check-file-limit):
2589 Allow nil to mean "no limit".
2590 (flymake-check-patch-master-file-buffer): Update for above change.
2591 Allow a .tex file-name extension to be optional.
2592 (flymake-master-tex-init): Also match \include statements.
2593
2594 2010-11-30 Sam Steingold <sds@gnu.org>
2595
2596 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2597 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2598 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2599 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2600 define-derived-mode').
2601 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2602 users who want to call `nxml-parent-document-set'.
2603
2604 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2605
2606 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2607 stand-alone lines, since that is handled by log-edit-match-to-eoh
2608 (Bug#6465).
2609
2610 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2611
2612 * dired.el (dired-get-filename): Replace backslashes with slashes
2613 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2614 * locate.el (locate-default-make-command-line): Don't consider
2615 drive letter and root directory part of
2616 `directory-listing-before-filename-regexp'. (Bug#7308)
2617 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2618
2619 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2622 of :smie-open/close-alist.
2623 (smie-next-sexp): Make it accept a "start token" as argument.
2624 (smie-indent-keyword): Be careful not to misidentify tokens that span
2625 more than one line, as empty lines. Add argument `token'.
2626
2627 2010-11-27 Kenichi Handa <handa@m17n.org>
2628
2629 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2630 multipart subtypes, insert all as usual.
2631
2632 * mail/rmail.el: Require rfc2047.
2633
2634 2010-11-27 Kenichi Handa <handa@m17n.org>
2635
2636 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2637 (rmail-mime-entity-disposition)
2638 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2639 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2640 (rmail-mime-save): Handle the case that the button's `data' is a
2641 MIME entity.
2642 (rmail-mime-insert-text): New function.
2643 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2644 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2645 (rmail-mime-insert-bulk): New function mostly copied from the old
2646 rmail-mime-bulk-handler.
2647 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2648 (rmail-mime-process-multipart): New function mostly copied from
2649 the old rmail-mime-multipart-handler.
2650 (rmail-mime-show): Just call rmail-mime-process.
2651 (rmail-mime-process): New function mostly copied from the old
2652 rmail-mime-show.
2653 (rmail-mime-insert-multipart, rmail-mime-parse)
2654 (rmail-mime-insert, rmail-show-mime)
2655 (rmail-insert-mime-forwarded-message)
2656 (rmail-insert-mime-resent-message): New functions.
2657 (rmail-insert-mime-forwarded-message-function): Set to
2658 rmail-insert-mime-forwarded-message.
2659 (rmail-insert-mime-resent-message-function): Set to
2660 rmail-insert-mime-resent-message.
2661
2662 * mail/rmailsum.el: Require rfc2047.
2663 (rmail-header-summary): Handle multiline Subject: field.
2664 (rmail-summary-line-decoder): Change the default to
2665 rfc2047-decode-string.
2666
2667 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2668 (rmail-mime-feature): Change the default to `rmailmm'.
2669 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2670 (rmail-display-labels): Likewise.
2671 (rmail-show-message-1): Check rmail-enable-mime, and use
2672 rmail-show-mime-function for a MIME message. Decode the headers
2673 according to RFC2047.
2674
2675 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * progmodes/which-func.el (which-func-imenu-joiner-function):
2678 Return a string, as expected.
2679 (which-function-mode): Make sure we stop any previous timer before
2680 starting a new one.
2681
2682 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2683
2684 * net/tramp.el (tramp-default-method-alist)
2685 (tramp-default-user-alist, tramp-default-proxies-alist):
2686 Adapt custom options type. (Bug#7445)
2687
2688 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2689
2690 * progmodes/python.el: Add Ipython support (Bug#5390).
2691 (python-shell-prompt-alist)
2692 (python-shell-continuation-prompt-alist): New options.
2693 (python--set-prompt-regexp): New function.
2694 (inferior-python-mode, run-python, python-shell):
2695 Require ansi-color. Use python--set-prompt-regexp to set the comint
2696 prompt based on the Python interpreter.
2697 (python--prompt-regexp): New var.
2698 (python-check-comint-prompt)
2699 (python-comint-output-filter-function): Use it.
2700 (run-python): Use a pipe (Bug#5694).
2701
2702 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2703
2704 * progmodes/python.el (run-python): Doc fix.
2705 (python-keep-current-directory-in-path): New var (Bug#7454).
2706
2707 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2708
2709 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2710 Prompt user before actually printing.
2711
2712 2010-11-27 Glenn Morris <rgm@gnu.org>
2713
2714 * startup.el (package-enable-at-startup, package-initialize):
2715 Remove unnecessary declarations.
2716
2717 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2718
2719 * international/characters.el (glyphless-char-display-control):
2720 Exclude newline and TAB from the c0-control group.
2721
2722 2010-11-27 Glenn Morris <rgm@gnu.org>
2723
2724 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2725 (expand-mail-aliases): Remove unnecessary autoload.
2726
2727 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2728
2729 * shell.el (shell-dir-cookie-re): Move definition before use.
2730
2731 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2732 Replace undefined CL functions.
2733
2734 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2735
2736 * simple.el (prog-mode): Set bidi-paragraph-direction to
2737 left-to-right.
2738
2739 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2740
2741 2010-11-26 Glenn Morris <rgm@gnu.org>
2742
2743 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2744 diary-outlook-formats can be sensitive to calendar-date-style.
2745 (diary-outlook-formats): Simplify the default setting.
2746 (diary-from-outlook-internal): Pass subject and body as arguments.
2747 Use dolist rather than dotimes. Don't save the diary buffer.
2748 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2749 Pass subject and body as explicit arguments to the -internal function.
2750
2751 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2752
2753 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2754 parsing them. This makes mailto:...?subject=foo\nbar work.
2755
2756 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * vc/diff.el (diff): Fix last change.
2759
2760 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2763 (pcase--dontcare-upats): New var.
2764 (pcase-let, pcase-let*): Generate better code.
2765 Accept the same bodies as `let'.
2766 (pcase-dolist): New macro.
2767 (pcase--trivial-upat-p): New helper function.
2768 (pcase--expand): Strip leading "(let nil" if any.
2769
2770 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2771
2772 * mail/mailclient.el (browse-url): Require.
2773 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2774 use the external browser function to send the mail (bug#7469).
2775
2776 * net/browse-url.el (browse-url-browser-function): Revert the
2777 default back to the previous value, since the new value broke
2778 mailclient.el.
2779 (browse-url-mailto-function): New variable for mailto: URLs.
2780 (browse-url): Use the new variable for mailto: URLs.
2781
2782 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * eshell/esh-cmd.el (eshell-parse-command):
2785 * eshell/esh-arg.el (eshell-parse-arguments):
2786 * eshell/em-script.el (eshell-source-file):
2787 Use with-silent-modifications.
2788
2789 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2790
2791 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2792 for a merge location.
2793
2794 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2795 (vc-bzr-merge-branch): Always prompt.
2796 (vc-bzr-async-command): Use the full branch filename.
2797
2798 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * shell.el (shell): Use current-buffer by default if it's already
2801 a shell mode buffer and its process is dead.
2802 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2803
2804 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2805
2806 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2807 Mention that the keywords should be comma separated.
2808
2809 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2810
2811 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2812 Accept optional prefix arg meaning to prompt for a command.
2813 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2814 prefix arg meaning to prompt for a command.
2815 (vc-pull): Alias for vc-update.
2816
2817 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2818 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2819 (vc-bzr-merge-branch): New functions, implementing merge-branch
2820 and pull operations.
2821
2822 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2823
2824 * Makefile.in: Fix up last merge.
2825
2826 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2827 (diff-sentinel): Get them as arguments instead.
2828 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2829 (diff-file-local-copy, diff-better-file-name): New funs.
2830 (diff-no-select): Rename from diff-into-buffer.
2831 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2832 Prefer closures to buffer-local variables.
2833 (diff): Adjust accordingly.
2834 (diff-buffer-with-file): Move from files.el.
2835 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2836 (diff-buffer-internal): Remove.
2837 (diff-buffer-buffer): Remove.
2838 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2839 the buffer name used, and so as not to mess up windows and frames.
2840
2841 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2842
2843 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2844 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2845 (diff-buffer-with-file): Use it.
2846 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2847 (diff): Use it.
2848
2849 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2850
2851 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2852 \ref's or \pageref's value as default instead of initial input.
2853
2854 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2855
2856 * files.el (backup-by-copying-when-mismatch): The default value is
2857 now t.
2858
2859 * startup.el (normal-top-level):
2860 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2861 `backup-by-copying-when-mismatch'.
2862
2863 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2864
2865 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2866
2867 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2868
2869 * progmodes/python.el (python-font-lock-keywords):
2870 Highlight top-level augmented assignments (Bug#6445).
2871
2872 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2873
2874 * term/ns-win.el (ns-right-control-modifier)
2875 (ns-right-command-modifier): Defvar them.
2876
2877 * cus-start.el (all): Add ns-right-control-modifier and
2878 ns-right-command-modifier (Bug#7458).
2879
2880 2010-11-20 Glenn Morris <rgm@gnu.org>
2881
2882 * emacs-lisp/authors.el (authors-ignored-files)
2883 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2884
2885 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2886
2887 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2888 (report-emacs-bug-parse-query-results)
2889 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2890 keywords used for querying the bug database to show them in the
2891 existing bugs buffer.
2892
2893 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2894
2895 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2896
2897 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2898
2899 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2900
2901 * international/characters.el (glyphless-char-display-control):
2902 Make it a defcustom, with update-glyphless-char-display as its
2903 :set attribute.
2904 (top level): Don't call update-glyphless-char-display.
2905
2906 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2907
2908 Sync with Tramp 2.2.0.
2909
2910 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2911 `file-remote-p' (due to compatibility).
2912
2913 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2914 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2915
2916 * net/trampver.el: Update release number.
2917
2918 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2919
2920 * faces.el (glyphless-char): Define value for `pc'.
2921
2922 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2923
2924 Implemented a bug querying mechanism.
2925 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2926 (report-emacs-bug-create-existing-bugs-buffer)
2927 (report-emacs-bug-parse-query-results)
2928 (report-emacs-bug-query-existing-bugs): New functions.
2929
2930 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2931
2932 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2933 a \ref{} or \pageref{} macro, then use its value as initial input.
2934
2935 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2936
2937 * calc/calc-units.el (math-build-units-table-buffer):
2938 calc/README: Mention that the TeX specific units won't use the
2939 `tex' prefix in TeX mode.
2940 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2941 prefix for units in TeX mode.
2942
2943 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * simple.el (kill-new, kill-append, kill-region):
2946 * comint.el (comint-kill-region): Make the yank-handler argument
2947 obsolete.
2948
2949 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2952 that are both openers (resp. closers) and something else.
2953 (smie-grammar): Loosen definition of valid values.
2954 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2955 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2956 (smie-indent-after-keyword): Adjust users.
2957 (smie-indent-keyword): Don't indent empty lines.
2958
2959 * vc-hg.el (vc-hg-program): New var.
2960 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2961 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2962
2963 2010-11-18 Glenn Morris <rgm@gnu.org>
2964
2965 * emacs-lisp/autoload.el (autoload-find-destination): The function
2966 coding-system-eol-type may return non-numeric values. (Bug#7414)
2967
2968 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2969
2970 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2971
2972 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2973
2974 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2975
2976 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2977
2978 * textmodes/picture.el (picture-mouse-set-point): Don't use
2979 posn-col-row; explicitly compute the motion based on the posn at
2980 the window-start (Bug#7390).
2981
2982 2010-11-18 Glenn Morris <rgm@gnu.org>
2983
2984 * novice.el (disabled-command-function):
2985 Fix 2009-11-15 change. (Bug#7384)
2986
2987 2010-11-18 Glenn Morris <rgm@gnu.org>
2988
2989 * calendar/calendar.el (diary-iso-date-forms): Make elements
2990 mutually exclusive. (Bug#7377)
2991
2992 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2993
2994 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2995 when filling the remaining "unconstrained" values.
2996
2997 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2998
2999 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3000 safety predicate.
3001
3002 * files.el (safe-local-variable-p): Gracefully handle errors.
3003
3004 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3005 Use smie-indent-virtual when indenting relative to an opener.
3006 (smie-rule-separator): Use smie-rule-parent.
3007 (smie-indent-keyword): Consult rules, even for openers at bol.
3008 (smie-indent-comment-close): Try to align closer's content.
3009
3010 2010-11-18 Glenn Morris <rgm@gnu.org>
3011
3012 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3013
3014 2010-11-18 Glenn Morris <rgm@gnu.org>
3015
3016 * printing.el (pr-menu-bind): Doc fix.
3017
3018 * speedbar.el (speedbar-toggle-images): Doc fix.
3019
3020 * progmodes/python.el (python-shell): Doc fix.
3021
3022 * wid-edit.el (widget-field-use-before-change)
3023 (widget-use-overlay-change): Doc fixes.
3024
3025 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 Minor cleanup to improve style.
3028 * textmodes/rst.el (rst-update-section): Use point-marker.
3029 (rst-get-decoration): Eliminate unneeded assignment.
3030 (rst-promote-region, rst-straighten-decorations)
3031 (rst-section-tree, rst-adjust): Use point-marker.
3032 (rst-toc-mode-mouse-goto): Avoid setq.
3033 (rst-shift-region-guts, rst-shift-region-left)
3034 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3035 (rst-convert-bullets-to-enumeration): Use copy-marker.
3036
3037 * minibuffer.el (completion-fail-discreetly): New var.
3038 (completion--do-completion): Use it.
3039
3040 * electric.el (electric-pair-pairs): New var.
3041 (electric-pair-post-self-insert-function): Use it.
3042 (electric-layout-post-self-insert-function): Don't insert a before
3043 newline unless it's actually needed.
3044
3045 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 * progmodes/python.el (run-python): Explain why we remove the current
3048 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3049
3050 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3051
3052 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3055 (octave-mode-map): Don't bind ;, SPC, and LF.
3056 (octave-auto-indent, octave-auto-newline): Remove.
3057 (electric-layout-rules): Declare.
3058 (octave-mode): Set electric-layout-rules.
3059 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3060 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3061 (octave-electric-space): Remove.
3062
3063 * electric.el (electric-layout-mode): New minor mode.
3064 (electric--after-char-pos): New function.
3065 (electric-indent-post-self-insert-function): Use it.
3066 (electric-layout-rules): New var.
3067 (electric-layout-post-self-insert-function): New function.
3068 (electric-indent-mode): Make them interact better.
3069
3070 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3073 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3074 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3075
3076 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3077
3078 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3079 Make sure to check inside the word (Bug#6761).
3080
3081 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3082
3083 * startup.el (command-line): If the cursorColor resource is set,
3084 change the cursor face-spec (Bug#7392).
3085
3086 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3087
3088 The main features of the following allout.el changes are:
3089 - implement user customization for the allout key bindings
3090 - add a customization control by which the user can inhibit use of
3091 a trailing Ctrl-H, so by default it's reserved for use with
3092 describe-prefix-bindings
3093 - adapt to new version of called-interactively-p, while
3094 maintaining backwards compatibility with old version
3095 - fix hotspot navigation so i works properly with meta-modified keys
3096
3097 * allout.el (allout-keybindings, allout-bind-keys)
3098 (allout-keybindings-binding, allout-prefixed-keybindings)
3099 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3100 (allout-keybindings-list, allout-mode-map-adjustments)
3101 (allout-setup-mode-map): Establish allout-mode keymaps as user
3102 customizable settings, and also establish a customizable setting which
3103 regulates whether or not a trailing control-h is reserved for use with
3104 describe-prefix-bindings - and inhibit it by default, so that control-h
3105 *is* reserved for describe-prefix-bindings unless the user changes it.
3106
3107 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3108 and accurately between modified and unmodified events, and handle
3109 modified events more comprehensively.
3110
3111 * allout.el (allout-substring-no-properties):
3112 Alias to use or provide version of `substring-no-properties'.
3113 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3114
3115 * allout.el (allout-next-single-char-property-change):
3116 Alias to use or provide version of `next-single-char-property-change'.
3117 (allout-annotate-hidden, allout-hide-by-annotation):
3118 Use `allout-next-single-char-property-change'.
3119
3120 * allout.el (allout-select-safe-coding-system):
3121 Alias to use or provide version of `select-safe-coding-system'.
3122 (allout-toggle-subtree-encryption):
3123 Use `allout-select-safe-coding-system'.
3124
3125 * allout.el (allout-set-buffer-multibyte):
3126 Alias to use or provide version of `set-buffer-multibyte'.
3127 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3128
3129 * allout.el (allout-called-interactively-p): Macro for using the
3130 different versions of called-interactively-p identically, depending on
3131 the subroutine's argument signature.
3132 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3133 Use `(interactive "p")' instead of `(called-interactively-p)'.
3134
3135 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3136 (allout-previous-visible-heading, allout-forward-current-level)
3137 (allout-backward-current-level, allout-show-children):
3138 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3139
3140 * allout.el (allout-before-change-handler):
3141 Exempt edits to the (overlaid) character after the allout outline
3142 bullet from edit confirmation prompt.
3143
3144 * allout.el (allout-add-resumptions):
3145 Ensure that it respects correct buffer for keybindings.
3146
3147 * allout.el (allout-beginning-of-line):
3148 Use `allout-previous-single-char-property-change' alias for the sake of
3149 diverse compatibility.
3150
3151 * allout.el (allout-end-of-line):
3152 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3153
3154 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3155
3156 * frame.el (frame-notice-user-settings): Don't clobber other
3157 user-set parameters when calling face-set-after-frame-default in
3158 response to background-color parameter (Bug#7373).
3159
3160 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3161
3162 * international/characters.el (glyphless-char-display-control):
3163 Rename from glyphless-char-control; all users changed. Doc fix.
3164 Signal an error if display method is not one of the recognized
3165 symbols.
3166
3167 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3168
3169 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3170 (tramp-compat-line-end-position): Remove them.
3171
3172 * net/tramp.el (tramp-parse-rhosts-group)
3173 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3174 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3175 (tramp-parse-netrc-group, tramp-parse-putty-group)
3176 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3177 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3178 (tramp-sh-handle-file-selinux-context)
3179 (tramp-sh-handle-file-name-all-completions)
3180 (tramp-sh-handle-insert-directory)
3181 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3182 (tramp-wait-for-output, tramp-send-command-and-read)
3183 * net/tramp-smb.el (tramp-smb-read-file-entry)
3184 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3185
3186 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3187 `point-at-bol'.
3188 (tramp-remote-coding-commands): Add an alternative using "base64
3189 -d -i". This is needed for older base64 versions from GNU
3190 coreutils. Reported by Klaus Reichl
3191 <Klaus.Reichl@thalesgroup.com>.
3192
3193 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3194
3195 * simple.el (count-words-region): New function.
3196
3197 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * shell.el (shell-dir-cookie-re): New custom variable.
3200 (shell-dir-cookie-watcher): New function.
3201
3202 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3203 and compilation-mode (bug#7350).
3204
3205 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3206 highlight when one of them is empty.
3207
3208 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3209 trailing space.
3210 (skeleton-newline): New function.
3211 (skeleton-internal-1): Use it.
3212
3213 * simple.el (open-line): `newline' may strip trailing space.
3214
3215 2010-11-12 Kevin Ryde <user42@zip.com.au>
3216
3217 * international/mule-cmds.el (princ-list): Use mapc.
3218
3219 2010-11-12 Glenn Morris <rgm@gnu.org>
3220
3221 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3222 Use it to replace all instances of "*Compile-Log*"
3223
3224 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3227 indentation specs.
3228
3229 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * progmodes/modula2.el: Use SMIE and skeleton.
3232 (m2-mode-syntax-table): (*..*) can be nested.
3233 Add //...\n. Fix paren syntax.
3234 (m2-mode-map): Remove LF and TAB bindings.
3235 (m2-indent): Add safety property.
3236 (m2-smie-grammar): New var.
3237 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3238 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3239 (m2-mode): Use define-derived-mode.
3240 (m2-newline, m2-tab): Remove.
3241 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3242 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3243 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3244 (m2-import): Use define-skeleton.
3245
3246 2010-11-11 Glenn Morris <rgm@gnu.org>
3247
3248 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3249
3250 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3251 (ls-lisp-verbosity): Add custom :set-after property.
3252 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3253 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3254 (ls-lisp-insert-directory): Update caller.
3255 (ls-lisp-set-options): New function.
3256 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3257 Doc fix.
3258
3259 * play/landmark.el (lm-prompt-for-move):
3260 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3261
3262 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3263
3264 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3265 (idlwave-study-twins): Prefix dynamic local variable `name'.
3266 (idlwave-routine-twin-compare): Update for above change.
3267
3268 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3269 Prefix dynamic local variables `name', `kwd', and `link'.
3270 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3271 * progmodes/idlw-complete-structtag.el
3272 (idlwave-complete-structure-tag-help):
3273 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3274 (idlwave-complete-sysvar-tag-help)
3275 (idlwave-complete-class-structure-tag-help):
3276 Update for above name changes.
3277
3278 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3279
3280 * net/browse-url.el (browse-url-browser-function): Change the
3281 default to use `browse-url-mail' on mailto: URLs.
3282
3283 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3284
3285 * emacs-lisp/package.el (package-read-all-archive-contents):
3286 Reset package-archive-contents to nil before re-reading.
3287
3288 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3289
3290 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3291 already found as misspellings by (flyspell-large-region), just
3292 do highlighting (bug#7322).
3293
3294 2010-11-10 Glenn Morris <rgm@gnu.org>
3295
3296 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3297
3298 * emulation/edt.el (edt-with-position): New macro.
3299 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3300 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3301 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3302
3303 * emulation/tpu-extras.el (tpu-with-position): New macro.
3304 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3305
3306 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3307
3308 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3309 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3310 (texinfo-master-menu, texinfo-insert-node-lines)
3311 (texinfo-multiple-files-update):
3312 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3313 Use line-beginning-position.
3314
3315 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3316 No recent Emacs supports system-type `emx'.
3317
3318 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3319 (ada-command-separator, ada-default-prj-properties)
3320 (ada-find-any-references): Update for above name change.
3321
3322 * dirtrack.el (dirtrack-directory-function)
3323 (dirtrack-canonicalize-function):
3324 * filecache.el (file-cache-completion-ignore-case)
3325 (file-cache-case-fold-search, file-cache-ignore-case):
3326 * term.el (serial-port-is-file-p): Cosmetic change.
3327
3328 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3329 Remove non-existent `windows-95' system-type.
3330 * dired.el (dired-chown-program): Remove non-existent `linux'
3331 system-type.
3332
3333 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3334 (ping-program-options): Remove non-existent `linux' system-type.
3335
3336 * startup.el (package-initialize): Update declaration.
3337
3338 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3339 (ls-lisp-handle-switches): Use time-less-p.
3340 (ls-lisp-format-time): Use float-time.
3341
3342 * textmodes/remember.el (remember-time-to-seconds): Remove.
3343 (remember-store-in-mailbox): Use float-time.
3344
3345 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3346
3347 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3348 never a real function.
3349 (with-no-warnings): Remove compat stub, now unused.
3350 (time-less-p): Doc fix.
3351 (time-to-number-of-days): Simplify.
3352
3353 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3354 Remove.
3355 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3356 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3357 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3358 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3359 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3360
3361 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3362 (eshell-shuffle-files, eshell-shorthand-tar-command)
3363 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3364 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3365 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3366 Prefix dynamic local variable `matches'.
3367
3368 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3369 Prefix dynamic local variable `skeleton'.
3370
3371 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3372
3373 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3374 in mail buffer; make yank-action always a command that yanks original
3375 buffer.
3376
3377 2010-11-09 Glenn Morris <rgm@gnu.org>
3378
3379 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3380
3381 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3383 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3384 completion field (bug#7211).
3385
3386 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3387 Fix handling of backslash escapes.
3388 (python-quote-syntax): Adjust accordingly.
3389
3390 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3391
3392 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3393 (vc-mtn-workfile-branch): Adjust to new output format.
3394
3395 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * international/mule-cmds.el (princ-list): Mark as obsolete.
3398
3399 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3400
3401 * emacs-lisp/smie.el: New package.
3402
3403 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3404
3405 * files.el (backup-by-copying-when-mismatch):
3406 Set `permanent-local' property.
3407
3408 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3409 `permanent-local' property for `backup-by-copying-when-mismatch'.
3410
3411 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3412
3413 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3414
3415 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3416
3417 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3418 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3419 AUTOINOUT for SV style multidimensional arrays, bug294.
3420 Reported by Eric Mastromarchi.
3421 (verilog-preprocess): Use with-current-buffer and
3422 font-lock-fontify-buffer to cleanup style issues.
3423
3424 2010-11-09 Glenn Morris <rgm@gnu.org>
3425
3426 * locate.el (locate, locate-mode): Doc fixes.
3427
3428 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3429
3430 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3431 user for confirmation.
3432 (server-force-stop): Use it.
3433 (server-start): Use server-force-stop for kill-emacs-hook, to
3434 avoid user interaction while killing Emacs.
3435
3436 2010-11-09 Glenn Morris <rgm@gnu.org>
3437
3438 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3439 (meta-indent-line): Simplify.
3440
3441 * vc/emerge.el (emerge-line-number-in-buf):
3442 * textmodes/ispell.el (ispell-region):
3443 * textmodes/fill.el (current-fill-column):
3444 * progmodes/xscheme.el (xscheme-send-current-line):
3445 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3446 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3447 * progmodes/sh-script.el (sh-handle-prev-do):
3448 * progmodes/meta-mode.el (meta-indent-line):
3449 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3450 (idlwave-in-quote):
3451 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3452 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3453 * progmodes/fortran.el (fortran-looking-at-if-then):
3454 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3455 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3456 (cperl-find-pods-heres):
3457 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3458 * net/quickurl.el (quickurl-list-insert):
3459 * net/ldap.el (ldap-search-internal):
3460 * net/eudc.el (eudc-expand-inline):
3461 * mail/sendmail.el (sendmail-send-it):
3462 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3463 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3464 (viper-brac-function):
3465 * calc/calc-yank.el (calc-do-grab-region):
3466 * calc/calc-keypd.el (calc-keypad-press):
3467 * term.el (term-move-columns, term-insert-spaces):
3468 * speedbar.el (speedbar-highlight-one-tag-line):
3469 * simple.el (current-word):
3470 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3471 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3472 (Info-scroll-down):
3473 * hippie-exp.el (he-line-beg):
3474 * epa.el (epa--marked-keys):
3475 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3476 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3477 (dired-relist-entry):
3478 * buff-menu.el (Buffer-menu-buffer):
3479 * array.el (current-line):
3480 * allout.el (allout-resolve-xref)
3481 (allout-latex-verbatim-quote-curr-line):
3482 Replace yet more uses of end-of-line etc with line-end-position, etc.
3483
3484 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3487 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3488 (checkdoc-syntax-table): Initialize in the declaration.
3489 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3490 the mode on unconditionally.
3491
3492 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3493 (extent-end-position, extent-start-position): Remove setf method for
3494 non-existing functions (bug#7319).
3495
3496 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3499 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3500 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3501 (smie-prec2->grammar): Rename from smie-prec2-levels.
3502 (smie-grammar): Rename from smie-op-levels.
3503 (smie-indent--hanging-p): Rename from smie-hanging-p.
3504 (smie-rule-hanging-p): New alias.
3505 (smie-indent--bolp): Rename from smie-bolp.
3506 (smie-indent--hanging-p): New alias.
3507 (smie--token): New dynamically bound variable.
3508 (smie-indent--parent): New function.
3509 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3510 (smie-rule-next-p): Rename from smie-next-p.
3511 (smie-rule-prev-p): Rename from smie-prev-p.
3512 (smie-rule-sibling-p, smie-rule-parent)
3513 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3514 (smie-rule-separator-outdent): New var.
3515 (smie-indent--rule): Merge with smie-indent--column.
3516 (smie-indent-forward-token, smie-indent-backward-token):
3517 Also recognize close parens.
3518 (smie-indent-keyword): Don't use smie-indent--column any more.
3519 (smie-indent-after-keyword): Ignore closers by default.
3520 (smie-indent-line): Use with-demoted-errors.
3521 * progmodes/octave-mod.el (octave-smie-grammar):
3522 Rename from octave-smie-op-levels.
3523 (octave-smie-rules): Adjust to new behavior.
3524 * progmodes/prolog.el (prolog-smie-grammar):
3525 Rename from prolog-smie-op-levels.
3526
3527 2010-11-07 Glenn Morris <rgm@gnu.org>
3528
3529 * eshell/esh-util.el (subst-char-in-string)
3530 (directory-files-and-attributes): These compatibility definitions are
3531 not needed on any version of Emacs since at least 21.4.
3532
3533 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3534 (verilog-get-end-of-line): Remove.
3535 (verilog-within-string, verilog-re-search-forward-substr)
3536 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3537 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3538 Use point-at-bol, point-at-eol.
3539 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3540 Remove.
3541 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3542 (electric-pascal-terminate-line, pascal-set-auto-comments)
3543 (pascal-indent-paramlist, pascal-indent-declaration)
3544 (pascal-get-lineup-indent, pascal-func-completion)
3545 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3546 Use point-at-bol, point-at-eol.
3547 * progmodes/flymake.el (flymake-line-beginning-position)
3548 (flymake-line-end-position): Remove.
3549 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3550 * eshell/esh-util.el (line-end-position, line-beginning-position):
3551 Remove compat definitions.
3552
3553 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3554 Use end-of-line N.
3555 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3556 Use line-end-position.
3557
3558 * emacs-lisp/chart.el (chart-zap-chars):
3559 * play/decipher.el (decipher-set-map):
3560 * progmodes/ada-mode.el (ada-get-current-indent)
3561 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3562 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3563 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3564 (ada-get-all-references):
3565 * progmodes/cperl-mode.el (cperl-electric-paren)
3566 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3567 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3568 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3569 (cperl-word-at-point-hard):
3570 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3571 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3572 (idlwave-shell-display-line):
3573 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3574 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3575 * progmodes/js.el (js--re-search-forward-inner)
3576 (js--re-search-backward-inner):
3577 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3578 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3579 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3580 * textmodes/flyspell.el (flyspell-process-localwords):
3581 * textmodes/ispell.el (ispell-buffer-local-parsing)
3582 (ispell-buffer-local-dict, ispell-buffer-local-words):
3583 Use point-at-bol and point-at-eol.
3584
3585 * speedbar.el (speedbar-generic-item-info)
3586 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3587 (speedbar-add-indicator, speedbar-check-vc-this-line)
3588 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3589 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3590 Replace more uses of end-of-line etc with line-end-position.
3591
3592 2010-11-06 Glenn Morris <rgm@gnu.org>
3593
3594 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3595 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3596 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3597 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3598 (texinfo-multiple-files-update):
3599 * textmodes/table.el (table--probe-cell-left-up)
3600 (table--probe-cell-right-bottom):
3601 * textmodes/picture.el (picture-tab-search):
3602 * textmodes/page-ext.el (pages-copy-header-and-position)
3603 (pages-directory-for-addresses):
3604 * progmodes/vera-mode.el (vera-get-offset):
3605 * progmodes/simula.el (simula-calculate-indent):
3606 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3607 * progmodes/prolog.el (end-of-prolog-clause):
3608 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3609 * progmodes/icon.el (indent-icon-exp):
3610 * progmodes/etags.el (tag-re-match-p):
3611 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3612 * progmodes/ebnf2ps.el (ebnf-begin-file):
3613 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3614 (dcl-save-local-variable):
3615 * play/life.el (life-setup):
3616 * play/gametree.el (gametree-looking-at-ply):
3617 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3618 * mail/sendmail.el (mail-mode-auto-fill):
3619 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3620 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3621 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3622 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3623 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3624 * type-break.el (type-break-file-keystroke-count):
3625 * term.el (term-replace-by-expanded-history-before-point)
3626 (term-skip-prompt, term-extract-string):
3627 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3628 (speedbar-contract-line, speedbar-toggle-line-expansion)
3629 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3630 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3631 * sort.el (sort-skip-fields):
3632 * skeleton.el (skeleton-internal-list):
3633 * simple.el (line-move-finish, line-move-to-column):
3634 * shell.el (shell-forward-command):
3635 * misc.el (copy-from-above-command):
3636 * makesum.el (double-column):
3637 * ebuff-menu.el (electric-buffer-update-highlight):
3638 * dired.el (dired-move-to-end-of-filename):
3639 * dframe.el (dframe-popup-kludge):
3640 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3641 * arc-mode.el (archive-get-lineno):
3642 Use line-end-position and line-beginning-position.
3643
3644 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3645 (idlwave-study-twins): Prefix dynamic local `class'.
3646 (idlwave-routine-twin-compare): Update for above name change.
3647
3648 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3649 Use boundp tests to silence compiler. Update for changed name of
3650 bytecomp-filename variable.
3651
3652 * emulation/viper-cmd.el (viper-read-string-with-history):
3653 Prefix dynamic local `initial'.
3654 (viper-minibuffer-standard-hook): Update for above name change.
3655
3656 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3657 (elint-init-form): Update for above name change.
3658
3659 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3660 local variables `cbeg' and `cend' a prefix.
3661 (mail-extr-voodoo): Update for above name change.
3662
3663 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3664 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3665 (reftex-toc-promote-action): Doc fix.
3666
3667 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3668 `prompt', `data' a prefix.
3669 (reftex-select-post-command-hook, reftex-select-callback)
3670 (reftex-select-mouse-accept, reftex-select-read-cite):
3671 Update for above name changes.
3672
3673 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3674 `refstyle' to reftex-refstyle.
3675 (reftex-offer-label-menu): Update for above name change.
3676 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3677 `refstyle' name change.
3678
3679 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3680 with with-current-buffer.
3681 (diff, template): Give dynamic local variables a prefix.
3682 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3683 (emerge-line-number-in-buf): Update for above name change.
3684 (emerge-combine-versions-internal): Rename local `template' to
3685 emerge-combine-template.
3686 (emerge-combine-versions-edit): Update for above name change.
3687
3688 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3689
3690 * textmodes/reftex-cite.el
3691 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3692 entries with whitespace after \bibitem.
3693 (reftex-create-bibtex-file): Match entries containing numbers and
3694 symbol constituents. Make sure that entries with whitespace at
3695 various places are found.
3696
3697 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3698
3699 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3700
3701 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3702
3703 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3704
3705 2010-11-05 Glenn Morris <rgm@gnu.org>
3706
3707 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3708 (woman2-roff-buffer): Give local variable `request' a prefix.
3709 (woman0-macro): Rename argument `request' in the same way.
3710 (woman-request): New name for `request' dynamic variable.
3711 (woman-unquote, woman-forward-arg): Update for above name change.
3712 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3713 (woman1-unquote): New name for `unquote' dynamic variable.
3714 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3715 (woman-translations): Rename from `translations'. No longer global.
3716 (woman2-tr, woman-translate): Update for above name change.
3717 (woman-translate): Check for bound variable.
3718 (woman2-roff-buffer): Give local variable `translations' a prefix.
3719
3720 * play/doctor.el: Give all local variables a prefix. Update callers.
3721 (doc$, doctor-put-meaning): Use backquote.
3722
3723 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3724 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3725
3726 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3727 variables bytes, ptr, op a prefix.
3728 (disassemble-offset): Update for above change.
3729
3730 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3731
3732 * emacs-lisp/package.el (package-unpack): Remove no-op.
3733 (package--builtins, package--dir): Doc fix.
3734 (package-activate-1, package-activate, package-install)
3735 (package-compute-transaction): Fix error message.
3736 (package-delete): Use delete-directory. Omit system packages.
3737 (package-initialize): Set package-alist to nil first.
3738 (package-menu-mark-delete, package-menu-mark-install): Don't add
3739 symbols that are inconsistent with the package state.
3740 (package-menu-execute): Perform deletions and installations as
3741 single batch operations.
3742
3743 2010-11-03 Glenn Morris <rgm@gnu.org>
3744
3745 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3746 (props): Remove unnecessary declaration.
3747
3748 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3749 set-process-query-on-exit-flag.
3750
3751 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3752 (reftex-toc-do-promote): Remove unused local `mpos'.
3753 (reftex-toc-restore-region): Make `mpos' local to this function.
3754
3755 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3756
3757 * play/landmark.el (lm-losing-threshold): Correct spelling.
3758 (lm-human-plays): Use new name.
3759
3760 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3761 (gomoku-human-plays): Use new name.
3762
3763 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3764 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3765 (gomoku-score-trans-table, gomoku-winning-threshold)
3766 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3767
3768 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3769
3770 * emacs-lisp/package.el: Don't put built-in packages in
3771 package-alist, to avoid loading inefficiencies.
3772 (package-built-in-p): Make VERSION optional, and treat it as a
3773 minimum acceptable version.
3774 (package-activate): Search separately for built-in packages.
3775 Emit a warning if a dependency fails.
3776 (define-package): Handle most common case, where there is no
3777 obsolete package, first.
3778 (package-compute-transaction): Print required version in error.
3779 (package--initialized): New variable.
3780 (list-packages): Use it.
3781 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3782 built-in packages in packages-alist; keep it separate.
3783 Set package--initialized.
3784 (describe-package): Avoid activating packages as a side-effect.
3785 Search separately for built-in packages.
3786 (describe-package-1): Handle the case where an elpa package is
3787 simultaneously built-in and available/installed.
3788 (package-installed-p, package--generate-package-list):
3789 Search separately for built-in packages.
3790 (package-load-descriptor): Doc fix.
3791
3792 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3793
3794 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3795 Handle __DATA__ and __END__.
3796
3797 2010-11-02 Noah Friedman <friedman@splode.com>
3798
3799 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3800 nil, do not ask to recompile files that are not already compiled,
3801 and do not recompile them.
3802
3803 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3804
3805 * emacs-lisp/package.el (package-initialize): Ensure that
3806 obsoleted built-in packages are not in package-activated-list
3807 during activation.
3808 (describe-package-1): Make the "installed" status override
3809 "built-in".
3810
3811 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3812
3813 * subr.el (version-separator, version-regexp-alist): Remove '*'
3814 from docstring.
3815 (version-list-<=, version<=, version=): Doc fix.
3816
3817 2010-11-01 Kenichi Handa <handa@m17n.org>
3818
3819 * faces.el (glyphless-char): Inherit underline for tty.
3820
3821 2010-11-01 Kenichi Handa <handa@m17n.org>
3822
3823 Implement various display methods for glyphless characters.
3824
3825 * international/characters.el (char-acronym-table): New variable.
3826 (glyphless-char-control): New variable.
3827 (update-glyphless-char-display): New funciton.
3828
3829 * faces.el (glyphless-char): New face.
3830
3831 2010-11-01 Glenn Morris <rgm@gnu.org>
3832
3833 * calendar/holidays.el (general-holidays, oriental-holidays)
3834 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3835 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3836 the definitions of their targets.
3837
3838 * emacs-lisp/smie.el (smie): New custom group.
3839 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3840
3841 * faces.el (xw-defined-colors, x-setup-function-keys):
3842 * mouse-sel.el (x-select-text):
3843 * term/w32console.el (x-setup-function-keys): Update declarations.
3844
3845 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3846
3847 * textmodes/ispell.el (comment-add): Declare.
3848
3849 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3850 Declare.
3851
3852 * info.el (finder-keywords-hash, package-alist): Declare.
3853
3854 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3855
3856 * finder.el (finder-compile-keywords): Don't use intern-soft,
3857 since package names may not yet exist in the obarray.
3858
3859 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3860
3861 * vc/vc-arch.el (vc-arch-checkin):
3862 * vc/vc-cvs.el (vc-cvs-checkin):
3863 * vc/vc-mtn.el (vc-mtn-checkin):
3864 * vc/vc-rcs.el (vc-rcs-checkin):
3865 * vc/vc-sccs.el (vc-sccs-checkin):
3866 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3867 since 2010-04-21 commit by Stefan Monnier.
3868
3869 2010-11-01 Glenn Morris <rgm@gnu.org>
3870
3871 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3872
3873 * startup.el (package-enable-at-startup, package-initialize):
3874 Silence compiler.
3875
3876 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3877 Silence compiler.
3878
3879 2010-10-31 Julien Danjou <julien@danjou.info>
3880
3881 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3882 (byte-recompile-directory):
3883 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3884 Use `byte-recompile-file'.
3885
3886 2010-10-31 Glenn Morris <rgm@gnu.org>
3887
3888 * cus-start.el: Handle standard values via a keyword.
3889 Only set version property if specified.
3890 (cursor-in-non-selected-windows, menu-bar-mode)
3891 (tool-bar-mode, show-trailing-whitespace):
3892 Do not specify standard values.
3893 (transient-mark-mode, temporary-file-directory): Use :standard.
3894
3895 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3896
3897 * term/x-win.el (x-get-selection-value): New function that gets
3898 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3899
3900 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3901
3902 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3903 preserve owner and group when editing files. (Bug#7289)
3904
3905 2010-10-31 Glenn Morris <rgm@gnu.org>
3906
3907 * speedbar.el (speedbar-mode):
3908 * play/fortune.el (fortune-in-buffer, fortune):
3909 * play/gomoku.el (gomoku-mode):
3910 * play/landmark.el (lm-mode):
3911 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3912 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3913
3914 * select.el (x-selection): Mark it as an obsolete alias.
3915
3916 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3917
3918 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3919 major-mode (bug#7284).
3920
3921 2010-10-31 Glenn Morris <rgm@gnu.org>
3922
3923 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3924 rather than just an unused variable that inherits from the real one.
3925
3926 2010-10-31 Alan Mackenzie <acm@muc.de>
3927
3928 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3929 This fixes bug #7185.
3930
3931 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3932
3933 * startup.el (command-line): Search for package directories, and
3934 don't load package.el if none are found.
3935
3936 * emacs-lisp/package.el (describe-package, list-packages):
3937 Call package-initialize if it has not been called yet.
3938
3939 2010-10-30 Alan Mackenzie <acm@muc.de>
3940
3941 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3942 which fontifies the tail of an enum.
3943 (c-basic-matchers-after): Insert a call to the above new function.
3944 This fixes bug #7264.
3945
3946 2010-10-30 Glenn Morris <rgm@gnu.org>
3947
3948 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3949 tool-bar-mode, transient-mark-mode. (Bug#7306)
3950 Include the :set property in the dumped Emacs.
3951
3952 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 SMIE: change indent rules format, improve smie-setup.
3955 * emacs-lisp/smie.el (smie-precs-precedence-table)
3956 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3957 Mark them pure so the tables gets built at compile time.
3958 (smie-bnf-precedence-table): Store the closer-alist in the table.
3959 (smie-prec2-levels): Preserve the closer-alist.
3960 (smie-blink-matching-open): Be more forgiving in case of indentation.
3961 (smie-hanging-p): Rename from smie-indent--hanging-p.
3962 (smie-bolp): Rename from smie-indent--bolp.
3963 (smie--parent, smie--after): New dynamic vars.
3964 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3965 (smie-indent-rules): Remove.
3966 (smie-indent--offset-rule): Remove fun.
3967 (smie-rules-function): New var.
3968 (smie-indent--rule): New fun.
3969 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3970 (smie-indent-exps): Use it.
3971 (smie-setup): Setup paren blinking; add keyword args for token
3972 functions; extract closer-alist from op-levels.
3973 (smie-indent-debug-log): Remove var.
3974 (smie-indent-debug): Remove fun.
3975 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3976 (prolog-smie-rules): New fun to replace it.
3977 (prolog-mode-variables): Simplify.
3978 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3979 it's setup automatically.
3980 (octave-smie-indent-rules): Remove.
3981 (octave-smie-rules): New fun to replace it.
3982 (octave-mode): Simplify.
3983
3984 2010-10-29 Glenn Morris <rgm@gnu.org>
3985
3986 * files.el (temporary-file-directory): Remove (already defined in C).
3987 * cus-start.el: Add temporary-file-directory.
3988
3989 * abbrev.el (abbrev-mode):
3990 * composite.el (auto-composition-mode):
3991 * menu-bar.el (menu-bar-mode):
3992 * simple.el (transient-mark-mode):
3993 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3994 that they do not define the associated variables twice.
3995 * simple.el (transient-mark-mode): Remove defvar.
3996 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3997 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3998 Handle multiple groups, and also custom-delayed-init-variables.
3999 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4000
4001 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4004 (pcase-if): Add one minor optimization.
4005 (pcase-split-equal): Rename from pcase-split-eq.
4006 (pcase-split-member): Rename from pcase-split-memq.
4007 (pcase-u1): Add strings to the member optimization.
4008 Add `guard' variant of predicates.
4009 (pcase-q1): Add string patterns.
4010
4011 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4012
4013 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4014
4015 2010-10-28 Glenn Morris <rgm@gnu.org>
4016
4017 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4018 Move menu-bar related settings to ../menu-bar.el.
4019 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4020 Move ns-specific settings here from term/ns-win.el.
4021
4022 * simple.el (x-selection-owner-p): Remove unused declaration.
4023
4024 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4025
4026 * minibuffer.el (completion-cycling): New var (bug#7266).
4027 (minibuffer-complete, completion--do-completion):
4028 Use completion--flush-all-sorted-completions.
4029 (minibuffer-complete): Only cycle if completion-cycling is set.
4030 (completion--flush-all-sorted-completions): Unset completion-cycling.
4031 (minibuffer-force-complete): Set completion-cycling.
4032 (completion-all-sorted-completions): Move declaration before first use.
4033
4034 2010-10-28 Leo <sdl.web@gmail.com>
4035
4036 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4037 which changes the order of matches seen by users (bug#7231).
4038
4039 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4040
4041 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4042 Don't confuse -omega as "-o mega".
4043
4044 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4047 (log-edit-author): New dynamic var.
4048 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4049 to return the author if different from committer.
4050 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4051
4052 * play/landmark.el: Adjust commenting convention.
4053 (lm-nil-score): Rename from nil-score.
4054 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4055 (OOOOscore): Move into a let in lm-score-trans-table.
4056 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4057
4058 * electric.el (electric-indent-chars): Autoload.
4059 * progmodes/octave-mod.el (octave-mode):
4060 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4061 (ruby-mode-abbrev-table): Merge initialization and declaration.
4062
4063 2010-10-27 Glenn Morris <rgm@gnu.org>
4064
4065 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4066 variable.
4067
4068 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4069
4070 * term/ns-win.el: Restore require of cl when compiling.
4071 (menu-bar-final-items): Remove non-existent `windows' menu.
4072 (ns-handle-nxopen): Optionally handle the temp-case.
4073 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4074 (ns-insert-file, ns-find-file): Use `pop'.
4075
4076 2010-10-26 Glenn Morris <rgm@gnu.org>
4077
4078 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4079
4080 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4081
4082 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4083 global map.
4084 * term/common-win.el (x-setup-function-keys): Remove most of the
4085 keymappings. Comment on the remaining ones.
4086
4087 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4088
4089 * server.el (server-port): New option. (Bug#854)
4090 (server-start): Use server-port.
4091
4092 2010-10-26 Glenn Morris <rgm@gnu.org>
4093
4094 * term/ns-win.el (ns-version-string): Remove unused declaration.
4095 (ns-invocation-args): Change to x-invocation-args.
4096 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4097 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4098 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4099 Use x-invocation-args instead of ns-invocation-args.
4100 (ns-initialize-window-system, handle-args-function-alist):
4101 Use x-handle-args instead of ns-handle-args.
4102 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4103 * startup.el (command-line-ns-option-alist): Replace
4104 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4105 ns-handle-iconic with the x- equivalents.
4106
4107 * term/common-win.el (x-select-enable-clipboard):
4108 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4109
4110 * term/ns-win.el: No need to require cl when compiling.
4111 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4112 (xw-defined-colors): Use the common-win definitions.
4113 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4114 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4115 * term/common-win.el (x-select-text, x-alternatives-map)
4116 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4117 * loadup.el [ns]: Load common-win.
4118
4119 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4120
4121 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4122 recipients; expand mail aliases (Bug#7280).
4123
4124 2010-10-25 Glenn Morris <rgm@gnu.org>
4125
4126 * term/common-win.el (x-handle-switch): Simplify with pop.
4127 Optionally handle numeric switches.
4128 (x-handle-numeric-switch): Just call x-handle-switch.
4129 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4130 (x-handle-name-switch, x-handle-display, x-handle-args):
4131 Simplify with pop.
4132
4133 * term/ns-win.el: Do not require easymenu.
4134 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4135 <spell>: Move adjustments to menu-bar.el.
4136 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4137 <separator-undo, spell>: Move ns-win's adjustments here.
4138 * loadup.el [ns]: Do not load easymenu.
4139
4140 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4141
4142 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4143 Delete (Bug#7222).
4144
4145 * startup.el (fancy-startup-tail): Instead of using inline images,
4146 refer to image files from etc/.
4147
4148 * wid-edit.el (checkbox): Likewise.
4149 (widget-image-find): Center image specs.
4150
4151 2010-10-24 Glenn Morris <rgm@gnu.org>
4152
4153 * term/ns-win.el (x-select-text): Doc fix.
4154 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4155 (x-select-text): Move to term/common-win.
4156 * term/w32-win.el (xw-defined-colors): Move to common-win.
4157 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4158 (x-setup-function-keys, x-select-text): Move to common-win.
4159 * term/common-win.el (x-select-text, x-alternatives-map)
4160 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4161 definitions here.
4162
4163 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4164
4165 * net/mairix.el (mairix-searches-mode-map):
4166 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4167
4168 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4169
4170 * verilog-mode.el (verilog-directive-re): Make this variable
4171 auto-built for efficiency of execution and updating.
4172 (verilog-extended-complete-re): Support 'pure' fucntion & task
4173 declarations (these have no bodies).
4174 (verilog-beg-of-statement): General cleanup to enable support of
4175 'pure' fucntion & task declarations (these have no bodies).
4176 These efforts together fix Verilog bug210 from veripool; which was also
4177 noticed by Steve Pearlmutter.
4178 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4179 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4180 Support `elsif. Reported by Shankar Giri.
4181 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4182 attribute handling for lining up declarations and assignments.
4183 (verilog-beg-of-statement-1): Fix issue where continued declaration
4184 is indented differently if it is after a begin..end clock.
4185 (verilog-in-attribute-p, verilog-skip-backward-comments)
4186 (verilog-skip-forward-comment-p): Support proper treatment of
4187 attributes by indent code. Reported by Jeff Steele.
4188 (verilog-in-directive-p): Fix comment to correctly describe function.
4189 (verilog-backward-up-list, verilog-in-struct-region-p)
4190 (verilog-backward-token, verilog-in-struct-p)
4191 (verilog-in-coverage-p, verilog-do-indent)
4192 (verilog-pretty-declarations): Use verilog-backward-up-list as
4193 wrapper around backward-up-list inorder to properly skip comments.
4194 Reported by David Rogoff.
4195 (verilog-property-re, verilog-endcomment-reason-re)
4196 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4197 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4198 of if). Reported by Max Bjurling and
4199 (verilog-calc-1): Fix for clocking block in modport
4200 declaration. Reported by Brian Hunter.
4201
4202 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4203
4204 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4205 (verilog-gate-keywords, verilog-read-sub-decls)
4206 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4207 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4208 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4209 (verilog-read-decls): Fix spaces in V2K module parameters causing
4210 mis-identification as interfaces, bug287.
4211 (verilog-read-decls): Fix not treating "parameter string" as a
4212 parameter in AUTOINSTPARAM.
4213 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4214 treating `elsif similar to `endif inside AUTOSENSE.
4215 (verilog-do-indent): Implement correct automatic or static task or
4216 function end comment highlight. Reported by Steve Pearlmutter.
4217 (verilog-font-lock-keywords-2): Fix highlighting of single
4218 character pins, bug264. Reported by Michael Laajanen.
4219 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4220 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4221 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4222 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4223 (verilog-pretty-expr): Fix interactive arguments, bug272.
4224 Reported by Mark Johnson.
4225 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4226 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4227 bug269. Suggested by Gary Delp.
4228 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4229 (verilog-preprocessor, verilog-set-compile-command):
4230 Create verilog-preprocess and verilog-preprocessor to show
4231 preprocessed output.
4232 (verilog-get-beg-of-line, verilog-get-end-of-line)
4233 (verilog-modi-file-or-buffer, verilog-modi-name)
4234 (verilog-modi-point, verilog-within-string): Move defmacro's
4235 before first use to avoid warning. Reported by Steve Pearlmutter.
4236 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4237 (verilog-colorize-region, verilog-highlight-buffer)
4238 (verilog-highlight-includes, verilog-highlight-modules)
4239 (verilog-highlight-region, verilog-mode): Rename colorize to
4240 highlight to match other packages. Disable module highlighting,
4241 as received speed complaints, reenable for experimentation only
4242 using new verilog-highlight-modules.
4243 (verilog-read-decls): Fix regexp stack overflow in very large
4244 AUTO_TEMPLATEs, bug250.
4245 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4246 (verilog-scan): Create verilog-save-buffer-state to standardize
4247 making insignificant changes that shouldn't call hooks.
4248 (verilog-save-no-change-functions, verilog-save-scan-cache)
4249 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4250 Create verilog-save-no-change-functions to wrap verilog-scan
4251 preservation, and fix to work with nested preserved calls.
4252 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4253 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4254 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4255 (verilog-submit-bug-report): Update variable list to be complete.
4256 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4257 breaking on-the-fly font-locking.
4258 (verilog-colorize-buffer, verilog-colorize-include-files)
4259 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4260 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4261 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4262 AUTOINST cell instance name, middle mouse button now finds-file on
4263 it. Suggested by Brad Dobbie.
4264 (verilog-alw-get-temps, verilog-auto-reset)
4265 (verilog-auto-sense-sigs, verilog-read-always-signals)
4266 (verilog-read-always-signals-recurse): Fix loop indexes being
4267 AUTORESET. AUTORESET now assumes any variables in the
4268 initialization section of a for() should be ignored.
4269 Reported by Dan Dever.
4270 (verilog-error-font-lock-keywords)
4271 (verilog-error-regexp-emacs-alist)
4272 (verilog-error-regexp-xemacs-alist): Fix error detection of
4273 Cadence HAL, reported by David Asher. Repair drift between the
4274 three similar error variables.
4275 (verilog-modi-lookup, verilog-modi-lookup-cache)
4276 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4277 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4278 Fix slow verilog-auto expansion on very large files.
4279 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4280 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4281 "{1*2{...". Broke in last revision.
4282 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4283 submodule connections with replications "{#{a},#{b}}".
4284
4285 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4286
4287 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4288 Fix typo in docstring.
4289
4290 2010-10-24 Kenichi Handa <handa@m17n.org>
4291
4292 * face-remap.el (text-scale-adjust): Call read-event with a proper
4293 prompt.
4294
4295 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4296
4297 * emacs-lisp/unsafep.el: Don't mark functions that display
4298 messages as safe. Suggested by Johan Bockgård.
4299
4300 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4303 Turn comments into docstrings.
4304
4305 * minibuffer.el (completion--replace): Move point where it belongs
4306 when there's a common suffix (bug#7215).
4307
4308 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4309
4310 Merge read-color and facemenu-read-color (Bug#7242).
4311
4312 * faces.el (read-color): Use the completion code from
4313 facemenu-read-color. Require match in completion. Doc fix.
4314
4315 * facemenu.el (facemenu-read-color): Alias for read-color.
4316 (facemenu-set-foreground, facemenu-set-background):
4317 Use read-color.
4318
4319 * frame.el (set-background-color, set-foreground-color)
4320 (set-cursor-color, set-mouse-color, set-border-color):
4321 Use read-color.
4322
4323 2010-10-24 Leo <sdl.web@gmail.com>
4324
4325 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4326 argument of delete-file and delete-directory (Bug#7011).
4327
4328 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4329
4330 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4331 button-buffer-map.
4332
4333 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4334
4335 * emacs-lisp/package.el (package--generate-package-list): Make the
4336 *Packages* buffer read-only.
4337
4338 2010-10-24 Alan Mackenzie <acm@muc.de>
4339
4340 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4341 result of `c-beginning-of-decl-1' between invocations of a lambda
4342 function (Bug #7265).
4343
4344 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4345
4346 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4347 executable is not available on the system (Bug#7268).
4348
4349 2010-10-24 Glenn Morris <rgm@gnu.org>
4350
4351 * select.el (selection-coding-system, next-selection-coding-system):
4352 Sync doc with C versions.
4353
4354 * w32-vars.el (x-select-enable-clipboard):
4355 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4356 * term/common-win.el (x-select-enable-clipboard): Move here.
4357
4358 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4359 definition of C variable.
4360
4361 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4362 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4363 Don't redefine things that are defined in C.
4364 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4365 (show-trailing-whitespace, auto-hscroll-mode)
4366 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4367 Set up the appropriate custom properties.
4368
4369 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4370
4371 Bind "C-c ]" to ...
4372 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4373 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4374 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4375 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4376
4377 2010-10-23 Glenn Morris <rgm@gnu.org>
4378
4379 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4380 say what it was.
4381
4382 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4383 Sync docs with C version.
4384
4385 * term/ns-win.el (xw-defined-colors):
4386 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4387
4388 * term/pc-win.el (x-select-enable-clipboard):
4389 * term/x-win.el (x-select-enable-clipboard):
4390 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4391
4392 * comint.el (comint-password-prompt-regexp): Make it less vague.
4393 Bump version.
4394
4395 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4396
4397 * help.el (finder-by-keyword): Remove unnecessary autoload.
4398
4399 2010-10-22 Glenn Morris <rgm@gnu.org>
4400
4401 * loadup.el: Unconditionally load float-sup.
4402 * paren.el (show-paren-delay):
4403 * emacs-lisp/float-sup.el:
4404 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4405 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4406 (lazy-lock-stealth-verbose): Assume float support.
4407 * ps-print.el: Assume float support on Emacs.
4408 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4409 Remove non-float branch.
4410
4411 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4412 src/Makefile no longer being pre-processed.
4413
4414 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4415
4416 * emacs-lisp/find-func.el (find-library): Use test-completion.
4417
4418 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4419
4420 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4421
4422 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4423
4424 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4425 space in stat format string.
4426 (tramp-send-command): Unset $PS1 when using here documents, in
4427 order not to get several prompts.
4428 (tramp-get-inline-coding): Return `nil' in case of errors.
4429
4430 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4431
4432 * hexl.el (hexl-mode, hexl-mode-exit):
4433 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4434 (hexl-revert-buffer-function): New function.
4435 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4436
4437 2010-10-19 Alan Mackenzie <acm@muc.de>
4438
4439 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4440 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4441 that these keywords aren't wrongly matched as identifiers.
4442
4443 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4444 setting of c-new-BEG and c-new-END from c-before-change to
4445 c-after-change. (Bug#7181)
4446
4447 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4448
4449 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4450 Don't mark as safe.
4451
4452 * custom.el (custom-theme-set-variables): Likewise.
4453 (load-theme): Add custom-theme-set-faces and
4454 custom-theme-set-variables to safe-functions while loading.
4455 (custom-enabled-themes): Mark as risky.
4456
4457 2010-10-18 Julien Danjou <julien@danjou.info>
4458
4459 * bindings.el: Remove end dashes in default mode-line-format.
4460
4461 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4462
4463 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4464 to delete-forward-char.
4465
4466 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4467 deletechar, and hence delete-forward-char.
4468
4469 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4470
4471 * repeat.el (repeat): Use read-key (bug#6256).
4472
4473 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4474
4475 * emacs-lisp/unsafep.el: Don't mark functions that display
4476 messages as safe. Suggested by Johan Bockgård.
4477
4478 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * minibuffer.el (completion--replace): Move point where it belongs
4481 when there's a common suffix (bug#7215).
4482
4483 2010-10-19 Kenichi Handa <handa@m17n.org>
4484
4485 * international/characters.el: Add category '|' (word breakable)
4486 to fullwidth characters.
4487
4488 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4489
4490 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4491 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4492 order to make stat results a float. Patch by Andreas Schwab
4493 <schwab@linux-m68k.org>.
4494
4495 2010-10-18 Julien Danjou <julien@danjou.info>
4496
4497 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4498 hidden by `make-pointer-invisible'.
4499
4500 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * files.el (locate-file-completion-table): Strip non-matching elements
4503 before checking length of list (bug#7238).
4504
4505 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4506
4507 * custom.el (custom-theme-set-variables): Mark as a safe function.
4508 (load-theme): Check forms using unsafep.
4509
4510 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4511
4512 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4513
4514 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4515 Fix aspell data file searching (bug#7230).
4516
4517 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4518
4519 * cus-theme.el (custom-theme--migrate-settings): New var.
4520 (customize-create-theme): Allow editing the `user' theme.
4521 (custom-theme-add-variable, custom-theme-add-var-1)
4522 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4523 to the front of each variable or face widget.
4524 (custom-theme-write): Save theme settings in the correct order.
4525 Optionally, remove saved settings from user customizations.
4526 (custom-theme-write-variables, custom-theme-write-faces):
4527 Save only the checked widgets.
4528 (customize-themes): Add a link for migrating custom settings.
4529
4530 * custom.el (custom-declare-theme, provide-theme):
4531 Use custom-theme-name-valid-p.
4532 (custom-theme-name-valid-p): Remove checks that are now
4533 unnecessary since themes no longer obey load-path.
4534
4535 * cus-edit.el (custom-variable-value-create): For the simple
4536 style, hide documentation string when hidden.
4537
4538 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4539
4540 * cus-edit.el (custom-variable, custom-face): Combine the
4541 :inhibit-magic and :display-style properties into a single
4542 :custom-style property.
4543 (custom-toggle-hide-variable, custom-toggle-hide-face):
4544 New functions. If hiding an edited value, save it to :shown-value.
4545 (custom-variable-value-create, custom-face-value-create): Use them.
4546 (custom-magic-reset): Allow magic property to be unset.
4547
4548 * custom.el: Custom themes no longer use load-path.
4549 (custom-theme-load-path): New option. Change built-in theme
4550 directory to etc/.
4551 (custom-enabled-themes): Add custom-theme-load-path dependency.
4552 (custom-theme--load-path): New function.
4553 (load-theme, custom-available-themes): Use it.
4554
4555 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4556 (customize-themes): Link to custom-theme-load-path variable.
4557 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4558 :custom-style property.
4559
4560 * themes/*.el: Moved to etc/.
4561
4562 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4563
4564 * textmodes/reftex-cite.el
4565 (reftex-extract-bib-entries-from-thebibliography): Do not move
4566 point when searching for \bibitem entries. Match entries with
4567 spaces or tabs in front of arguments.
4568
4569 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4570
4571 * cus-theme.el (customize-create-theme): Delete overlays after
4572 erasing. If given a THEME arg, display only the faces of that arg
4573 instead of custom-theme--listed-faces.
4574 (custom-theme-variable-menu, custom-theme-variable-action)
4575 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4576 (custom-theme-add-variable, custom-theme-add-face): Apply value
4577 from the theme settings, instead of the current value.
4578 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4579 (custom-theme-visit-theme): Allow calling outside theme buffers.
4580 (custom-theme-merge-theme): Don't enable the theme when merging.
4581 (custom-theme-write-variables, custom-theme-write-faces): Use the
4582 :shown-value properties to save buffer values, not global ones.
4583 (customize-themes): Display a warning about user customizations.
4584
4585 * cus-edit.el (custom-variable-value-create)
4586 (custom-face-value-create): Obey new special properties
4587 :shown-value and :inhibit-magic.
4588
4589 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4590
4591 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4592 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4593 <dale@codefu.org>.
4594
4595 2010-10-14 Kenichi Handa <handa@m17n.org>
4596
4597 * mail/rmail.el (rmail-show-message-1): Catch an error of
4598 base64-decode-region and just show an error message (bug#7165).
4599
4600 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4601 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4602 a font-spec (bug#7197).
4603
4604 2010-10-14 Glenn Morris <rgm@gnu.org>
4605
4606 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4607
4608 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4609
4610 * international/mule.el (define-coding-system):
4611 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4612 * composite.el (compose-region): Fix typo in docstring.
4613
4614 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4615
4616 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4617 only after checking the theme-face property.
4618
4619 * faces.el (face-spec-reset-face): Reset all attributes in one
4620 single call to set-face-attribute.
4621 (face-spec-match-p): Make it a defsubst.
4622 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4623 (x-create-frame-with-faces, tty-create-frame-with-faces)
4624 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4625 frame-set-background-mode, since they are recomputed immediately
4626 afterwards in face-set-after-frame-default.
4627 (face-set-after-frame-default): Minor optimization.
4628 (cursor): Provide non-trivial defface spec.
4629
4630 * custom.el (custom-theme-recalc-face): Simplify.
4631
4632 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4633
4634 * calc/calc-alg.el (math-var): Rename from `var'.
4635 (math-is-polynomial, math-is-poly-rec): Replace `var'
4636 with `math-var'.
4637
4638 * calc/calcalg2.el (math-var): Rename from `var'.
4639 (calcFunc-table, math-scan-for-limits): Replace `var'
4640 with `math-var'.
4641
4642 2010-10-13 Glenn Morris <rgm@gnu.org>
4643
4644 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4645
4646 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4647
4648 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4649
4650 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4651
4652 * net/tls.el (tls-program): Remove spurious %s from openssl.
4653 (tls-starttls-switches): Remove starttls hack.
4654 (open-tls-stream): Ditto.
4655 (tls-find-starttls-argument): Ditto.
4656
4657 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4658
4659 * image.el (image-library-alist): Declare as obsolete alias.
4660 (image-type-available-p): Use `dynamic-library-alist'.
4661
4662 * term/w32-win.el (dynamic-library-alist):
4663 Use instead of `image-library-alist'.
4664
4665 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4666
4667 * subr.el (last): Make it faster. (Bug#7174)
4668
4669 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4670
4671 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4672
4673 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4674
4675 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4676 (describe-theme-1): Extract doc from unloaded themes.
4677
4678 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4679
4680 * themes/tango-theme.el:
4681 * themes/tango-dark-theme.el:
4682 * themes/wheatgrass-theme.el: New files.
4683
4684 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4685
4686 * cus-theme.el (describe-theme, customize-themes)
4687 (custom-theme-save): New commands.
4688 (custom-new-theme-mode-map): Bind C-x C-s.
4689 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4690 (customize-create-theme): New optional arg THEME.
4691 (custom-theme-revert): Use it.
4692 (custom-theme-visit-theme): Remove dead code.
4693 (custom-theme-merge-theme): Use custom-available-themes.
4694 (custom-theme-write): Make interactive.
4695 (custom-theme-write): Use custom-theme-name-valid-p.
4696 (describe-theme-1, custom-theme-choose-revert)
4697 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4698 New funs.
4699 (custom-theme-allow-multiple-selections): New option.
4700 (custom-theme-choose-mode): New major mode.
4701
4702 * custom.el (custom-theme-set-variables): Remove dead code.
4703 Obey custom--inhibit-theme-enable.
4704 (custom--inhibit-theme-enable): New var.
4705 (provide-theme): Obey it.
4706 (load-theme): Replace load with manual read/eval, in order to
4707 check for correctness. Use custom-theme-name-valid-p.
4708 (custom-theme-name-valid-p): New function.
4709 (custom-available-themes): Use it.
4710
4711 * cus-edit.el (custom--initialize-widget-variables): New function.
4712 (Custom-mode): Use it.
4713
4714 * cus-face.el (custom-theme-set-faces): Remove dead code.
4715 Obey custom--inhibit-theme-enable.
4716
4717 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4718
4719 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4720
4721 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4722
4723 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4724
4725 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4726 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4727 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4728
4729 * cus-start.el (all): ns-right-alternate-modifier is new.
4730
4731 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * emacs-lisp/lisp.el (lisp-completion-at-point):
4734 Use emacs-lisp-mode-syntax-table for the whole function.
4735
4736 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4737
4738 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4739 instead of font-lock-mode before adding keywords.
4740 Remove hi-lock-mode off code. Remove inhibit hack.
4741 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4742 non-nil; removed hook inhibit hack.
4743
4744 2010-10-12 Glenn Morris <rgm@gnu.org>
4745
4746 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4747 (load-path-shadows-find): ... to this.
4748 (list-load-path-shadows): Update for above change.
4749
4750 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4751
4752 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4753
4754 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4755 Fix comment for declare-function.
4756
4757 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4758
4759 * custom.el (custom-fix-face-spec): New function; code moved from
4760 custom-face-edit-fix-value.
4761 (custom-push-theme): Use it when checking if a face has been
4762 changed outside customize.
4763 (custom-available-themes): New function.
4764 (load-theme): Use it.
4765
4766 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4767
4768 * custom.el (custom-push-theme): Cleanup (use cond).
4769 (disable-theme): Recompute the saved-face property.
4770 (custom-theme-recalc-face): Follow face alias before setting prop.
4771
4772 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4773 New variables, containing checkbox images.
4774
4775 * startup.el (fancy-startup-tail):
4776 * wid-edit.el (checkbox): Use them.
4777
4778 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4779
4780 * shell.el (shell-mode-map):
4781 * progmodes/modula2.el (m2-mode-map):
4782 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4783 * play/mpuz.el (mpuz-mode-map):
4784 * play/landmark.el (lm-mode-map):
4785 * play/decipher.el (decipher-mode-map):
4786 * play/5x5.el (5x5-mode-map):
4787 * net/telnet.el (telnet-mode-map):
4788 * net/quickurl.el (quickurl-list-mode-map):
4789 * net/mairix.el (mairix-searches-mode-map):
4790 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4791 * net/dig.el (dig-mode-map):
4792 * mail/mspools.el (mspools-mode-map):
4793 * hexl.el (hexl-mode-map):
4794 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4795 (wordstar-C-o-map, wordstar-C-q-map):
4796 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4797 * emacs-lisp/chart.el (chart-map):
4798 * edmacro.el (edmacro-mode-map):
4799 * erc/erc-list.el (erc-list-menu-mode-map):
4800 * array.el (array-mode-map): Declare and define in one step.
4801
4802 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4803
4804 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4805
4806 * epa.el (epa-passphrase-callback-function): Display filename
4807 passed as the 3rd arg.
4808 * epa-file.el (epa-file-passphrase-callback-function):
4809 Pass filename to epa-passphrase-callback-function.
4810
4811 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4812
4813 * cus-edit.el (custom-face-widget-to-spec)
4814 (custom-face-get-current-spec, custom-face-state): New functions.
4815 (custom-face-set, custom-face-mark-to-save)
4816 (custom-face-value-create, custom-face-state-set): Use them.
4817
4818 * cus-theme.el (custom-theme--listed-faces): New var.
4819 (customize-create-theme): Use *Custom Theme* as the buffer name.
4820 Set revert-buffer-function. Optional arg BUFFER. Insert all
4821 faces listed in custom-theme--listed-faces.
4822 (custom-theme-revert): New function.
4823 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4824 bottom of the list.
4825 (custom-theme-write): Prompt for theme name if empty.
4826 (custom-theme-write-variables): Use dolist.
4827 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4828
4829 2010-10-09 Alan Mackenzie <acm@muc.de>
4830
4831 Enhance fontification of declarators to take account of the
4832 presence/absence of "typedef".
4833
4834 * cc-engine.el (c-forward-type): New &optional param
4835 "brace-block-too".
4836 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4837 presence of either or both of a "struct"-like keyword and "typedef".
4838
4839 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4840 fontification of declarators which follow a "}".
4841 (c-font-lock-declarations): Fontify declarators according to the
4842 presence/absence of "typedef".
4843
4844 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4845 for "typedef".
4846 (c-typedef-decl-key): New lang variable built from
4847 c-typedef-decl-kwds.
4848
4849 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4850
4851 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4852 since that's too annoying. Move the filter groups commands to
4853 TAB/backtab.
4854
4855 * epa.el (epa-passphrase-callback-function): Say what we're
4856 querying the password for.
4857
4858 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4859 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4860
4861 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4862
4863 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4864 (custom-magic-value-create): Pad button tags with spaces.
4865 (custom-face-edit): New variable.
4866 (custom-face-value-create): Determine whether to use the usual
4867 face editor here, instead of using custom-face-selected.
4868 Pass face defaults to custom-face-edit widget.
4869 (custom-face-selected, custom-display-unselected): Delete widgets.
4870 (custom-display-unselected-match): Function removed.
4871 (custom-face-set, custom-face-mark-to-save):
4872 Accept custom-face-edit widgets as the direct widget child.
4873
4874 * wid-edit.el (widget--completing-widget): New var.
4875 (widget-default-complete): Bind it when doing completion.
4876 (widget-string-complete, widget-file-complete): Use it.
4877
4878 2010-10-09 Glenn Morris <rgm@gnu.org>
4879
4880 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4881 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4882 (holiday-hebrew-misc): Small simplifications.
4883
4884 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4885
4886 * net/browse-url.el: Don't require thingatpt, term, dired,
4887 executable, or w3-auto when compiling.
4888 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4889 Declare.
4890 (browse-url-text-emacs): Require term.
4891
4892 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4893
4894 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4895
4896 2010-10-08 Glenn Morris <rgm@gnu.org>
4897
4898 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4899
4900 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4901 (shadows-compare-text-p): Make it an obsolete alias for...
4902 (load-path-shadows-compare-text): ... new name.
4903 (find-emacs-lisp-shadows): Update for above name change.
4904 (load-path-shadows-same-file-or-nonexistent): New name for the old
4905 shadow-same-file-or-nonexistent.
4906
4907 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4908
4909 * minibuffer.el (completion--some, completion--do-completion)
4910 (minibuffer-complete-and-exit, minibuffer-completion-help)
4911 (completion-basic-try-completion)
4912 (completion-basic-all-completions)
4913 (completion-pcm--find-all-completions): Use lexical-let to
4914 avoid some false matches in variable completion (Bug#7056)
4915
4916 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4917
4918 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4919
4920 2010-10-08 Leo <sdl.web@gmail.com>
4921
4922 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4923 return non-nil if the file exists (Bug#7090).
4924
4925 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * minibuffer.el (completion--replace):
4928 Better preserve markers (bug#7138).
4929
4930 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4931
4932 * server.el (server-process-filter): Doc fix.
4933
4934 2010-10-08 Drew Adams <drew.adams@oracle.com>
4935
4936 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4937
4938 2010-10-08 Glenn Morris <rgm@gnu.org>
4939
4940 * vc/ediff-wind.el (ediff-setup-control-frame):
4941 * vc/ediff-ptch.el (ediff-default-backup-extension):
4942 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4943 (ediff-exec-process): Remove system-types emx, windows-95.
4944
4945 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4946
4947 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4948
4949 * cus-edit.el (custom-variable, custom-face): Doc fix.
4950 (custom-face-edit): Add value-create attribute.
4951 (custom-face-edit-value-create)
4952 (custom-face-edit-value-visibility-action): New functions.
4953 Hide unused face attributes by default, and add a visibility toggle.
4954 (custom-face-edit-deactivate): Show empty values with shadow face.
4955 (custom-face-selected): Only use this for face specs with default
4956 attributes.
4957 (custom-face-value-create): Cleanup.
4958
4959 * wid-edit.el (widget-checklist-value-create): Use dolist.
4960 (widget-checklist-match-find): Make second arg optional.
4961
4962 2010-10-07 Glenn Morris <rgm@gnu.org>
4963
4964 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4965 Prefix things.
4966
4967 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4968 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4969 load-path-shadows-mode, update references.
4970 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4971 Rename variable and button.
4972 (list-load-path-shadows): Update button caller.
4973
4974 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4975
4976 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4977 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4978 (smie-merge-prec2s): Handle those new entries.
4979 (smie-prec2-levels): Only set precedence to nil for actual
4980 openers/closers.
4981 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4982 that is now unnecessary.
4983
4984 2010-10-07 Miles Bader <miles@gnu.org>
4985
4986 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4987
4988 2010-10-07 Glenn Morris <rgm@gnu.org>
4989
4990 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4991 (mail-position-on-field): Remove declarations.
4992 (mail-position-on-field): Autoload it.
4993 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4994 and mail-header-end. Don't require sendmail.
4995
4996 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4997 (shadow-mode): New mode.
4998 (shadow-find-file): New button.
4999 (list-load-path-shadows): Use shadow-mode and buttons.
5000
5001 * iimage.el (iimage-version): Remove.
5002 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5003 Turn into defcustoms.
5004 (iimage-mode-map): Give it a doc string.
5005
5006 * calendar/appt.el (appt-activate): Give a warning rather than an error
5007 if there is no diary-file.
5008
5009 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5010
5011 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5012 Use `tramp-handle-find-backup-file-name'.
5013
5014 2010-10-06 Glenn Morris <rgm@gnu.org>
5015
5016 * font-core.el (font-lock-defaults-alist): Remove variable.
5017 (font-lock-mode): Doc fix.
5018 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5019 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5020 (font-lock-set-defaults): Doc fix.
5021 Do not consult font-lock-defaults-alist.
5022
5023 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5024
5025 * emacs-lisp/cl.el: No longer provide cl-19.
5026
5027 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5028
5029 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5030 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5031 New defuns, taken from tramp-smb.el.
5032 (tramp-coding-system-change-eol-conversion)
5033 (tramp-set-process-query-on-exit-flag): Remove.
5034
5035 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5036 (tramp-compat-coding-system-change-eol-conversion)
5037 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5038 from tramp.el.
5039
5040 * net/tramp-gvfs.el:
5041 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5042 by `tramp-compat-set-process-query-on-exit-flag'.
5043
5044 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5045 Use `tramp-handle-directory-files-and-attributes',
5046 `tramp-handle-file-exists-p' and
5047 `tramp-handle-file-newer-than-file-p'.
5048 (tramp-imap-handle-file-exists-p)
5049 (tramp-imap-handle-file-executable-p)
5050 (tramp-imap-handle-file-readable-p)
5051 (tramp-imap-handle-directory-files-and-attributes)
5052 (tramp-imap-handle-file-newer-than-file-p): Remove.
5053
5054 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5055 by `tramp-compat-set-process-query-on-exit-flag' and
5056 `tramp-coding-system-change-eol-conversion' by
5057 `tramp-compat-coding-system-change-eol-conversion'.
5058
5059 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5060 Use `tramp-handle-directory-files-and-attributes',
5061 `tramp-handle-file-exists-p' and
5062 `tramp-handle-file-newer-than-file-p'.
5063 (tramp-smb-handle-directory-files-and-attributes)
5064 (tramp-smb-handle-file-exists-p)
5065 (tramp-smb-handle-file-newer-than-file-p): Remove.
5066 (tramp-smb-maybe-open-connection):
5067 Replace `tramp-set-process-query-on-exit-flag' by
5068 `tramp-compat-set-process-query-on-exit-flag'.
5069
5070 2010-10-05 Glenn Morris <rgm@gnu.org>
5071
5072 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5073
5074 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5075
5076 Continue reorganization of load dependencies. (Bug#7156)
5077
5078 * net/tramp.el (tramp-handle-file-local-copy-hook)
5079 (tramp-delete-temp-file-function): Move down.
5080 (tramp-exists-file-name-handler): Move up.
5081 (tramp-register-file-name-handlers): Simplify autoload.
5082 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5083 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5084 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5085 (tramp-handle-file-name-completion)
5086 (tramp-handle-file-name-directory)
5087 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5088 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5089 (tramp-handle-find-backup-file-name)
5090 (tramp-handle-insert-file-contents, tramp-handle-load)
5091 (tramp-handle-substitute-in-file-name)
5092 (tramp-handle-unhandled-file-name-directory)
5093 (tramp-mode-string-to-int, tramp-local-host-p)
5094 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5095
5096 * net/tramp-gvfs.el (top):
5097 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5098
5099 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5100 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5101
5102 2010-10-04 Glenn Morris <rgm@gnu.org>
5103
5104 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5105 (appt-activate): Give status messages.
5106
5107 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5108
5109 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5110 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5111 `gnutls-negotiate' (formerly `starttls-negotiate').
5112 Remove trivial wrapper `starttls-open-stream'.
5113
5114 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5115
5116 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5117 log-outgoing commands.
5118 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5119 to create a buffer local revert-buffer-function variable.
5120 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5121 revert-buffer-function lambda.
5122
5123 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5124
5125 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5126 `gnutls-boot'. Make TYPE the only required parameter.
5127 Allow TRUSTFILES and KEYFILES to be lists.
5128 (open-ssl-stream): Use it.
5129
5130 2010-10-03 Glenn Morris <rgm@gnu.org>
5131
5132 * subr.el (directory-sep-char): Remove obsolete variable.
5133 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5134 it is "necessary".
5135
5136 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5137 * vc/vc.el (vc-static-header-alist): Doc fix.
5138 * vc/vc-cvs.el (vc-cvs-header):
5139 * vc/vc-rcs.el (vc-rcs-header):
5140 * vc/vc-sccs.el (vc-sccs-header):
5141 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5142 * obsolete/vc-mcvs.el (vc-mcvs-header):
5143 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5144 on XEmacs.
5145
5146 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5147
5148 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5149 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5150
5151 2010-10-03 Glenn Morris <rgm@gnu.org>
5152
5153 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5154
5155 * textmodes/rst.el (rst-font-lock-keywords-function):
5156 Drop Emacs 20 code.
5157
5158 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5159
5160 * printing.el: Drop Emacs 20 code.
5161
5162 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5163 without having used appt.el already).
5164
5165 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5166 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5167 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5168 XEmacs.
5169 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5170 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5171
5172 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5173 (charset-width, find-charset-region, chars-in-region, forward-point)
5174 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5175 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5176 Remove compatibility cruft (none of these are used by ps*.el).
5177
5178 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5179
5180 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5181
5182 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5183
5184 * server.el (server-process-filter, server-return-error):
5185 Give emacsclient time to shut down after receiving an error string.
5186
5187 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5188
5189 * files.el (remote-file-name-inhibit-cache): New defcustom.
5190
5191 * time.el (display-time-file-nonempty-p):
5192 Use `remote-file-name-inhibit-cache'.
5193
5194 * net/tramp.el (tramp-completion-reread-directory-timeout):
5195 Fix docstring.
5196
5197 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5198 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5199 `remote-file-name-inhibit-cache'. Check also for an integer
5200 value. Add/increase counter when `tramp-verbose' >= 10.
5201 (tramp-set-file-property): Add/increase counter when
5202 `tramp-verbose' >= 10.
5203
5204 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5205 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5206 (tramp-bug): Set tramp-autoload cookie. Report all interned
5207 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5208 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5209 characters only in strings.
5210
5211 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5212 to backward compatibility.
5213
5214 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5215 (tramp-handle-file-name-all-completions)
5216 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5217 (tramp-open-connection-setup-interactive-shell):
5218 Call `tramp-cleanup-connection' directly.
5219
5220 2010-10-02 Glenn Morris <rgm@gnu.org>
5221
5222 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5223
5224 * subr.el (char-bytes): Remove obsolete function.
5225
5226 * isearch.el (isearch-return-char): Remove obsolete function.
5227
5228 * mouse.el: No longer provide mldrag.
5229 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5230 Remove obsolete aliases.
5231
5232 * comint.el (comint-kill-output): Remove obsolete alias.
5233
5234 * composite.el (decompose-composite-char): Remove obsolete function.
5235 * ps-def.el (decompose-composite-char): Remove unused function.
5236
5237 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5238
5239 * outline.el (outline-visible): Remove obsolete function.
5240
5241 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5242 * faces.el (internal-find-face, internal-get-face)
5243 (frame-update-faces, frame-update-face-colors)
5244 (x-frob-font-weight, x-frob-font-slant)
5245 (internal-frob-font-weight, internal-frob-font-slant)
5246 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5247 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5248 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5249 since Emacs 21.1.
5250 * emulation/viper-util.el (viper-get-face):
5251 * obsolete/lucid.el (find-face, get-face): Use facep.
5252 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5253 Remove unused functions.
5254 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5255
5256 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5257 delete tempfile if interrupted during compilation.
5258
5259 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5260
5261 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5262 gnutls-cli.
5263 (tls-program): Add --insecure to be consistent with the defaults from
5264 openssl s_client. Now all three commands are insecure.
5265
5266 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5267
5268 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5269 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5270 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5271
5272 2010-10-01 Glenn Morris <rgm@gnu.org>
5273
5274 * obsolete/sc.el: Remove file.
5275
5276 * files.el (temporary-file-directory): On darwin, also try
5277 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5278
5279 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5280
5281 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5282 Let's not break compatibility gratuitously, shall we?
5283
5284 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5285
5286 * net/tls.el (tls-starttls-switches): New variable.
5287 (tls-find-starttls-argument): Use it.
5288 (open-tls-stream): Ditto.
5289
5290 * net/netrc.el (netrc-credentials): Return the value of the "default"
5291 entry.
5292 (netrc-machine): Ditto.
5293
5294 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5295
5296 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5297
5298 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5299
5300 * server.el (server-start): Don't write pid to the authentication file.
5301 (server-create-tty-frame): Don't send pid.
5302 (server-process-filter): Send pid at the start of every connection.
5303
5304 2010-09-30 Glenn Morris <rgm@gnu.org>
5305
5306 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5307 (show-all-diary-entries): Remove obsolete function aliases.
5308
5309 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5310 Remove options, obsolete since 22.1.
5311 (appt-display-format, appt-display-message):
5312 Remove backwards-compatibility code.
5313 (appt-check): No longer check appt-issue-message.
5314 (appt-make-list): No longer autoload it. Doc fix. No longer
5315 activate the package.
5316
5317 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5318
5319 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5320 (starttls-negotiate): Just call boot, and let the handshake be
5321 triggered from the read loop.
5322
5323 2010-09-29 Glenn Morris <rgm@gnu.org>
5324
5325 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5326 not displaying the diary.
5327 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5328 * calendar/appt.el (appt-check): No longer need to kill diary.
5329
5330 * calendar/diary-lib.el (diary-list-entries): Move the
5331 "Preparing..." message entirely here.
5332 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5333 messages to diary-list-entries.
5334 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5335 diary-display-function.
5336
5337 * calendar/diary-lib.el (diary-include-other-diary-files):
5338 Trap some recursive includes.
5339
5340 * calendar/appt.el (appt-activate): Check diary file.
5341
5342 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5343
5344 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5345 construction.
5346
5347 * calendar/time-date.el: No need to require cl for Emacs 21.
5348
5349 2010-09-28 Glenn Morris <rgm@gnu.org>
5350
5351 * calendar/appt.el (appt-check): Minor simplification.
5352
5353 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5354
5355 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5356 citation prefix.
5357
5358 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5359
5360 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5361 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5362
5363 2010-09-27 Kenichi Handa <handa@m17n.org>
5364
5365 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5366 "ustar" format.
5367
5368 2010-09-27 Kenichi Handa <handa@m17n.org>
5369
5370 * international/mule.el (define-coding-system): Docstring fixed.
5371
5372 * international/mule-diag.el (describe-character-set): Use princ
5373 with proper print-length and print-level instead of insert.
5374
5375 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5376
5377 * window.el (walk-windows): Doc fix (bug#7105).
5378
5379 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * emacs-lisp/float-sup.el (e): Remove.
5382
5383 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5384
5385 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5386 variable.
5387 (starttls-negotiate): Use it.
5388
5389 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5390
5391 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5392 back.
5393
5394 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5397
5398 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5399
5400 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5401
5402 * net/netrc.el (netrc-store-data): New function.
5403
5404 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5405
5406 * net/gnutls.el: GnuTLS glue code to set up a connection.
5407
5408 2010-09-25 Julien Danjou <julien@danjou.info>
5409
5410 * notifications.el: Call dbus-register-signal only if it is bound.
5411
5412 2010-09-25 Glenn Morris <rgm@gnu.org>
5413
5414 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5415 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5416 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5417 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5418 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5419 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5420 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5421 * eshell/esh-util.el, eshell/esh-var.el:
5422 Remove leading `*' from docs of faces and defcustoms.
5423
5424 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5425
5426 * eshell/em-ls.el (eshell-ls-archive-regexp):
5427 * eshell/esh-util.el (eshell-tar-regexp):
5428 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5429 * info.el (Info-suffix-list):
5430 * international/mule.el (auto-coding-alist):
5431 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5432 * progmodes/etags.el (tags-compression-info-list):
5433 Support xz compression.
5434
5435 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5436
5437 * files.el (get-free-disk-space): Don't assume the "df" output
5438 columns line up (Bug#6995).
5439
5440 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5441
5442 * finder.el (finder-unknown-keywords):
5443 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5444 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5445
5446 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5447
5448 * server.el (server-start): Revert part of 2010-08-08 change. Using
5449 address 127.0.0.1 for local host is now done in Fmake_network_process.
5450
5451 2010-09-24 Glenn Morris <rgm@gnu.org>
5452
5453 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5454 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5455 * textmodes/css-mode.el, textmodes/dns-mode.el:
5456 Move autoloaded auto-mode-alist entries to files.el.
5457 * files.el (auto-mode-alist): Move entries here.
5458
5459 2010-09-23 Glenn Morris <rgm@gnu.org>
5460
5461 * isearch.el (isearch-lazy-highlight-cleanup)
5462 (isearch-lazy-highlight-initial-delay)
5463 (isearch-lazy-highlight-interval)
5464 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5465 * net/net-utils.el (ipconfig-program-options):
5466 Move aliases to options before the associated definitions.
5467
5468 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * newcomment.el (comment-normalize-vars): Better test validity of
5471 comment-end-skip.
5472
5473 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5476 (float-e): New name for `e'.
5477 (degrees-to-radians, radians-to-degrees):
5478 * calendar/solar.el (solar-longitude):
5479 * calculator.el (calculator-registers, calculator-funcall):
5480 * textmodes/artist.el (artist-spray-random-points):
5481 * play/bubbles.el (bubbles--initialize-images): Use new names.
5482
5483 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5484
5485 Update to CEDET 1.0's version of EIEIO.
5486
5487 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5488 New function.
5489 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5490 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5491 (class-precedence-list): If class is nil, return nil.
5492 (eieio-generic-call): If class of first input arg is nil, don't
5493 look up static methods, and do check for primary methods.
5494 (initialize-instance): See if the default needs to be evaluated
5495 during the constructor.
5496 (eieio-perform-slot-validation-for-default): Don't do the check
5497 for values that will eventually be evaluated.
5498 (eieio-eval-default-p): New function.
5499 (eieio-default-eval-maybe): Use it.
5500
5501 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5502
5503 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5504 method-invocation-order.
5505 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5506 (eieio-class-precedence-dfs): Compute class precedence list using
5507 dfs algorithm.
5508 (eieio-class-precedence-bfs): Compute class precedence list using
5509 bfs algorithm.
5510 (eieio-class-precedence-c3): Compute class precedence list using
5511 c3 algorithm.
5512 (class-precedence-list): New function.
5513 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5514 (inconsistent-class-hierarchy): New error symbol.
5515 (call-next-method): Stow the replacement argument list for future
5516 call-next-method invocations.
5517
5518 2010-09-23 Glenn Morris <rgm@gnu.org>
5519
5520 * calendar/appt.el (appt-check): If not displaying the diary,
5521 use (diary 1) to only get the entries we need.
5522 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5523 that it is in day order. (Bug#7019)
5524
5525 * calendar/appt.el (appt-check): Rather than showing the diary,
5526 just turn off invisible display, and only if needed.
5527
5528 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5529
5530 2010-09-23 Glenn Morris <rgm@gnu.org>
5531
5532 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5533 (byte-compile-defvar, byte-compile-cl-warn):
5534 Start warnings with lower-case, like the majority.
5535
5536 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5537
5538 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5539
5540 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5541 * files.el (auto-mode-alist): Move ld-script entries here, further down
5542 the list.
5543
5544 * vc/add-log.el: Don't require timezone when compiling.
5545 (timezone-make-date-sortable): Autoload it.
5546 (change-log-sortable-date-at): Don't require timezone.
5547 Use `ignore-errors'.
5548
5549 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5550 Move alias before definition, so it does not need autoloading.
5551
5552 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5553 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5554 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5555 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5556 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5557 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5558 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5559 * textmodes/tex-mode.el, textmodes/two-column.el:
5560 Remove leading `*' from docs of defcustoms etc.
5561
5562 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5563
5564 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5565
5566 2010-09-22 Dan Christensen <jdc@uwo.ca>
5567
5568 * calendar/time-date.el (date-to-time): Try using parse-time-string
5569 first before using the slower timezone-make-date-arpa-standard.
5570
5571 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5572
5573 * calendar/time-date.el (format-seconds): Comment fix.
5574
5575 2010-09-22 Glenn Morris <rgm@gnu.org>
5576
5577 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5578 is not automatically buffer-local.
5579
5580 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5583 (smie-indent-comment): Be more careful with comment-start-skip.
5584 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5585 (smie-indent-functions): Use them.
5586
5587 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5588
5589 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5590
5591 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5592
5593 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5594 tool-bar-position. Don't modify frame parameters here.
5595 (menu-bar-options-save): Add tool-bar-position.
5596
5597 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5598
5599 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * textmodes/reftex-parse.el (reftex-what-macro)
5602 (reftex-context-substring): Let-bind forward-sexp-function to nil
5603 since we don't need/want to treat \begin...\end as a block (bug#7053).
5604
5605 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5606
5607 * simple.el (blink-matching-open): Use syntax-class.
5608
5609 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5610 Set invisibility spec for pascal's outline mode.
5611 (pascal-outline-change): Clean up calling convention.
5612 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5613
5614 * progmodes/prolog.el (prolog-smie-forward-token)
5615 (prolog-smie-backward-token): New functions.
5616 (prolog-mode-variables): Use them to parse "!," correctly.
5617 Set up smie-blink-matching for ".".
5618
5619 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5620 and `end'.
5621 (ispell-region, ispell-process-line): Update users.
5622
5623 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5624 point-min==1.
5625
5626 * textmodes/ispell.el: Fix commenting convention.
5627 (ispell-parse-output): Simplify, use push.
5628 (ispell-region): Use match-string-no-properties.
5629 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5630 (ispell-minor-mode): Use define-minor-mode.
5631 (ispell-message): Remove unused var `skip-regexp'.
5632 (ispell-add-per-file-word-list): Use dynamic let-binding.
5633 Try and use the proper comment marker.
5634
5635 * mail/sendmail.el: Fix commenting convention.
5636 (sendmail-send-it): Use line-beginning-position.
5637
5638 * help-fns.el (describe-variable): Add original value, if applicable.
5639
5640 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5641
5642 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5643
5644 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5645
5646 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5649 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5650 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5651 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5652 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5653 something like "." can also be a closer.
5654 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5655 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5656 Rename internal functions to use "--". Update callers.
5657
5658 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5659
5660 * fringe.el (fringe-styles): New var.
5661 (fringe-mode, fringe-query-style): Use it.
5662
5663 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5664
5665 * progmodes/sql.el: Version 2.8
5666 (sql-login-params): Update widget structure; changes still needed.
5667 (sql-product-alist): Add :list-all and :list-table features for
5668 SQLite, Postgres and MySQL products.
5669 (sql-redirect): Handle default value.
5670 (sql-execute, sql-execute-feature): New functions.
5671 (sql-read-table-name): New function.
5672 (sql-list-all, sql-list-table): New functions. User API.
5673 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5674 for above functions.
5675 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5676 for above functions.
5677 (sql-postgres-login-params): Add user and database defaults.
5678 (sql-buffer-live-p): Bug fix.
5679 (sql-product-history): New variable.
5680 (sql-read-product): New function. Use it.
5681 (sql-set-product, sql-product-interactive): Use it.
5682 (sql-connection-history): New variable.
5683 (sql-read-connection): New function. Use it.
5684 (sql-connect): New function.
5685 (sql-for-each-login): Redesign function interface.
5686 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5687 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5688 (sql-comint): Check for program. Existing live buffer.
5689 (sql-comint-postgres): Add port parameter.
5690
5691 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * emacs-lisp/warnings.el: Fix commenting convention.
5694 (display-warning): Use special mode and make the buffer read-only.
5695
5696 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5697
5698 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5699 empty string when it follows a repeated or optional pattern.
5700
5701 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5704 (indent-region): Use indent-according-to-mode.
5705
5706 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5707
5708 * fringe.el (fringe-mode): Doc fix.
5709
5710 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5711
5712 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5713 refreshing the preview buffer.
5714
5715 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5718 (latex-syntax-propertize-rules): New consts; replace
5719 tex-font-lock-syntactic-keywords.
5720 (tex-env-mark, latex-env-before-change): New functions.
5721 (latex-electric-env-pair-mode): New minor mode.
5722 (tex-font-lock-verb): Change arguments; do move point.
5723 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5724 representation as a form of comment.
5725 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5726 (doctex-syntax-propertize-rules): New const; replaces
5727 doctex-font-lock-syntactic-keywords.
5728 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5729
5730 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5731 (fortran-make-syntax-propertize-function): New function; replaces
5732 fortran-font-lock-syntactic-keywords.
5733 (fortran-mode): Use it.
5734 (fortran-line-length): Use it. Improve interactive spec.
5735
5736 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5737 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5738 when adding surrounding \(..\).
5739
5740 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5741
5742 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5745 Use with-current-buffer.
5746
5747 * isearch.el (isearch-face): Rename from `isearch'.
5748 (isearch-highlight): Use new name.
5749
5750 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5751
5752 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5753 5, for `half' width fringes. (Bug#6933)
5754
5755 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5758 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5759
5760 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5761
5762 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5763
5764 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5765 in calculating new frame position. Add more space between new and
5766 parent on the left (Bug#7048).
5767
5768 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5769
5770 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5771 defmacro.
5772
5773 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5774
5775 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5776
5777 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5778 obsolete alias for x-selection-value.
5779
5780 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5781
5782 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5783
5784 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5785 cookie.
5786
5787 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * net/tramp-compat.el (tramp-compat-with-temp-message)
5790 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5791 (tramp-compat-process-put): New defuns.
5792
5793 * net/tramp.el (top):
5794 * net/tramp-gvfs.el (top):
5795 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5796
5797 * net/tramp.el (tramp-progress-reporter-update):
5798 Use `tramp-compat-funcall'.
5799
5800 * net/tramp.el (tramp-process-actions):
5801 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5802 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5803 (tramp-get-remote-stat, tramp-get-remote-readlink):
5804 Use `tramp-compat-with-temp-message'.
5805
5806 * net/tramp-sh.el (top): Require 'cl.
5807 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5808 (tramp-open-connection-setup-interactive-shell):
5809 Use `tramp-compat-process-put'.
5810
5811 2010-09-15 Alan Mackenzie <acm@muc.de>
5812
5813 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5814 indentation.
5815 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5816
5817 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5820 `lexical' for warnings related to lexical scoping.
5821 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5822 global vars which don't have a prefix and could hence affect lexical
5823 scoping in unrelated files.
5824
5825 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5826
5827 * net/imap.el: Revert back to version
5828 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5829 seem problematic.
5830
5831 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * obsolete/old-whitespace.el (whitespace-unload-function):
5834 Explicitly pass `obarray' to `unintern' to avoid a warning.
5835
5836 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5837
5838 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5839 Add `when' argument. Update callers.
5840
5841 * subr.el (unintern): Declare the obarray arg mandatory.
5842
5843 2010-09-14 Glenn Morris <rgm@gnu.org>
5844
5845 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5846 Doc fixes.
5847
5848 * calendar/diary-lib.el (diary-included-files): New variable.
5849 (diary-list-entries): Maybe initialize diary-included-files.
5850 (diary-include-other-diary-files): Append to diary-included-files.
5851 * calendar/appt.el (appt-update-list): Also check the members of
5852 diary-included-files. (Bug#6999)
5853 (appt-check): Doc fix.
5854
5855 2010-09-14 David Reitter <david.reitter@gmail.com>
5856
5857 * simple.el (line-move-visual): Do not truncate goal column to
5858 integer size. (Bug#7020)
5859
5860 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * repeat.el (repeat): Allow repeating when the last event is a click.
5863 Suggested by Drew Adams (bug#6256).
5864
5865 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5866
5867 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5868 Replace setting HGRCPATH to "" by some less invasive --config options.
5869
5870 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * font-lock.el (font-lock-beginning-of-syntax-function):
5873 Mark as obsolete.
5874
5875 2010-09-14 Glenn Morris <rgm@gnu.org>
5876
5877 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5878 and tool-bar modes. (Bug#6211)
5879 (menu-bar-mode): Move setting of standard-value after the
5880 minor-mode definition, otherwise it seems to have no effect.
5881
5882 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5883
5884 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5885 Fix typo. (Bug#6976)
5886
5887 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5888
5889 * whitespace.el: Allow cleaning up blanks without blank
5890 visualization (Bug#6651). Adjust help window for
5891 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5892 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5893 (whitespace-style): Add new value 'face. Adjust docstring.
5894 (whitespace-space, whitespace-hspace, whitespace-tab):
5895 Adjust foreground property face.
5896 (whitespace-line-column): Adjust docstring and type declaration.
5897 (whitespace-style-value-list, whitespace-toggle-option-alist)
5898 (whitespace-help-text): Adjust const initialization.
5899 (whitespace-toggle-options, global-whitespace-toggle-options):
5900 Adjust docstring.
5901 (whitespace-display-window, whitespace-interactive-char)
5902 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5903 (whitespace-help-scroll): New fun.
5904
5905 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5906
5907 * calendar/time-date.el (format-seconds): Comment fix.
5908
5909 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5910
5911 * progmodes/sql.el: Version 2.7.
5912 (sql-buffer-live-p): Improve detection.
5913 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5914 (sql-set-sqli-buffer): Use it.
5915 (sql-product-interactive): Run `sql-set-sqli-hook'.
5916 (sql-rename-buffer): Code cleanup.
5917 (sql-redirect, sql-redirect-value): New functions. More to come.
5918
5919 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5920
5921 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.
5922 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5923 (TRAMP_SRC): New macro.
5924 ($(lisp)/net/tramp-loaddefs.el): New target.
5925
5926 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5927
5928 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5929
5930 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5931
5932 * net/tramp.el (top): Don't show loading message. Require just
5933 'tramp-compat, everything else is required there.
5934 Use `ignore-errors' where appropriate.
5935 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5936 (tramp-terminal-type, tramp-end-of-output)
5937 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5938 (tramp-completion-function-alist-ssh)
5939 (tramp-completion-function-alist-telnet)
5940 (tramp-completion-function-alist-su)
5941 (tramp-completion-function-alist-putty, tramp-remote-path)
5942 (tramp-remote-process-environment, tramp-sh-extra-args)
5943 (tramp-actions-before-shell, tramp-uudecode)
5944 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5945 (tramp-perl-file-attributes)
5946 (tramp-perl-directory-files-and-attributes)
5947 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5948 (tramp-perl-encode, tramp-perl-decode)
5949 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5950 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5951 (tramp-handle-make-symbolic-link, tramp-handle-load)
5952 (tramp-handle-file-name-as-directory)
5953 (tramp-handle-file-name-directory)
5954 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5955 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5956 (tramp-do-file-attributes-with-ls)
5957 (tramp-do-file-attributes-with-perl)
5958 (tramp-do-file-attributes-with-stat)
5959 (tramp-handle-set-visited-file-modtime)
5960 (tramp-handle-verify-visited-file-modtime)
5961 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5962 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5963 (tramp-handle-file-selinux-context)
5964 (tramp-handle-set-file-selinux-context)
5965 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5966 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5967 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5968 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5969 (tramp-handle-file-ownership-preserved-p)
5970 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5971 (tramp-handle-directory-files-and-attributes)
5972 (tramp-do-directory-files-and-attributes-with-perl)
5973 (tramp-do-directory-files-and-attributes-with-stat)
5974 (tramp-handle-file-name-all-completions)
5975 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5976 (tramp-handle-copy-file, tramp-handle-copy-directory)
5977 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5978 (tramp-do-copy-or-rename-file-via-buffer)
5979 (tramp-do-copy-or-rename-file-directly)
5980 (tramp-do-copy-or-rename-file-out-of-band)
5981 (tramp-handle-make-directory, tramp-handle-delete-directory)
5982 (tramp-handle-delete-file)
5983 (tramp-handle-dired-recursive-delete-directory)
5984 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5985 (tramp-handle-insert-directory)
5986 (tramp-handle-unhandled-file-name-directory)
5987 (tramp-handle-expand-file-name)
5988 (tramp-handle-substitute-in-file-name)
5989 (tramp-handle-executable-find, tramp-process-sentinel)
5990 (tramp-handle-start-file-process, tramp-handle-process-file)
5991 (tramp-handle-call-process-region, tramp-handle-shell-command)
5992 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5993 (tramp-handle-insert-file-contents)
5994 (tramp-handle-insert-file-contents-literally)
5995 (tramp-handle-find-backup-file-name)
5996 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5997 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5998 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5999 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6000 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6001 (tramp-find-file-exists-command, tramp-open-shell)
6002 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6003 (tramp-open-connection-setup-interactive-shell)
6004 (tramp-local-coding-commands, tramp-remote-coding-commands)
6005 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6006 (tramp-inline-compress-commands, tramp-find-inline-compress)
6007 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6008 (tramp-send-command, tramp-wait-for-output)
6009 (tramp-send-command-and-check, tramp-barf-unless-okay)
6010 (tramp-send-command-and-read, tramp-mode-string-to-int)
6011 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6012 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6013 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6014 (tramp-method-out-of-band-p, tramp-local-host-p)
6015 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6016 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6017 (tramp-get-test-command, tramp-get-test-nt-command)
6018 (tramp-get-file-exists-command, tramp-get-remote-ln)
6019 (tramp-get-remote-perl, tramp-get-remote-stat)
6020 (tramp-get-remote-readlink, tramp-get-remote-trash)
6021 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6022 (tramp-get-local-uid, tramp-get-local-gid)
6023 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6024 tramp-sh.el.
6025 (tramp-methods, tramp-default-method-alist)
6026 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6027 Move initialization to tramp-sh.el.
6028 (tramp-temp-name-prefix): Make it a defconst.
6029 (tramp-dissect-file-name): Don't check anymore for multi-hop
6030 methods.
6031 (tramp-debug-outline-regexp): Add a docstring.
6032 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6033 (tramp-get-debug-buffer): Use it.
6034
6035 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6036 initialization forms.
6037 (tramp-set-connection-property): Don't protect `tramp-message'
6038 call, it isn't necessary any longer.
6039 (tramp-dump-connection-properties): Use `ignore-errors'.
6040
6041 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6042 'password-cache and 'auth-source.
6043
6044 * net/tramp-gvfs.el (top):
6045 * net/tramp-smb.el (top): Require 'tramp-sh.
6046
6047 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6048
6049 * net/tramp-sh.el: New file, derived from tramp.el.
6050 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6051 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6052 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6053 Use `ignore-errors' where appropriate.
6054 (tramp-sh-file-name-handler-alist): Rename from
6055 `tramp-file-name-handler-alist'.
6056 (tramp-send-command-and-check): Return t or nil. Remove all
6057 `zerop' checks, where called.
6058 (tramp-handle-set-file-modes)
6059 (tramp-do-copy-or-rename-file-directly)
6060 (tramp-handle-delete-directory, tramp-handle-delete-file)
6061 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6062 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6063 (tramp-get-remote-ln): Set tramp-autoload cookie.
6064
6065 * net/tramp-fish.el: Remove file.
6066
6067 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6068
6069 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6070 buffer-file-name to avoid file-locking. (Bug#7026)
6071
6072 2010-09-13 Julien Danjou <julien@danjou.info>
6073
6074 * notifications.el (notifications-notify): Add support for
6075 image-path and sound-name.
6076 (notifications-specification-version): Add this variable.
6077
6078 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6079
6080 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6081
6082 2010-09-12 Leo <sdl.web@gmail.com>
6083
6084 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6085 (rcirc-completion-start): New variables.
6086 (rcirc-nick-completions): Rename to rcirc-completions.
6087 (rcirc-nick-completion-start-offset): Delete.
6088 (rcirc-completion-at-point): New function for constructing
6089 completion data for both nicks and irc commands. Add to
6090 completion-at-point-functions in rcirc mode.
6091 (rcirc-complete): Rename from rcirc-nick-complete; use
6092 rcirc-completion-at-point.
6093 (defun-rcirc-command): Update rcirc-client-commands.
6094
6095 2010-09-11 Glenn Morris <rgm@gnu.org>
6096
6097 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6098 atomically, to avoid parallel build errors. (Bug#4196)
6099
6100 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6101
6102 * progmodes/sql.el: Version 2.6
6103 (sql-dialect): Synonym for "sql-product".
6104 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6105 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6106 Set "sql-buffer" to buffer name not buffer object so multiple sql
6107 interactive buffers work properly. Reverts misguided changes in
6108 earlier work.
6109 (sql-comint): Make sure different buffer name is used if "*SQL*"
6110 buffer is for a different product.
6111 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6112 login param.
6113 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6114 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6115 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6116 Accept new buffer name or prompt for one.
6117 (sql-port): Default to zero.
6118 (sql-comint-mysql): Handle "sql-port" as a numeric.
6119 (sql-port-history): Delete unused variable.
6120 (sql-get-login): Default "sql-port" to a number.
6121 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6122 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6123 "sqlite3" executables.
6124 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6125 (sql-buffer-live-p): New function.
6126 (sql-mode-menu, sql-send-string): Use it.
6127 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6128 syntax pattern.
6129 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6130 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6131
6132 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6133
6134 * net/netrc.el (netrc-credentials): New convenience function.
6135
6136 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6139 to replace texinfo-font-lock-syntactic-keywords.
6140 (texinfo-mode): Use it.
6141
6142 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6143 Use syntax-propertize-function.
6144
6145 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6146 replace sgml-font-lock-syntactic-keywords.
6147 (sgml-mode): Use it.
6148
6149 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6150 since we don't use it.
6151
6152 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6153
6154 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6155 if available.
6156 (vhdl-fontify-buffer): Adjust.
6157
6158 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6159 replace tcl-font-lock-syntactic-keywords.
6160 (tcl-mode): Use it.
6161
6162 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6163 replace simula-font-lock-syntactic-keywords.
6164 (simula-mode): Use it.
6165
6166 * progmodes/sh-script.el (sh-st-symbol): Remove.
6167 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6168 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6169 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6170 (sh-font-lock-paren): Set syntax-multiline.
6171 (sh-font-lock-syntactic-keywords): Remove.
6172 (sh-syntax-propertize-function): New function to replace it.
6173 (sh-mode): Use it.
6174
6175 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6176 Define while compiling.
6177 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6178 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6179 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6180 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6181 (ruby-here-doc-end-syntax): Only define when
6182 syntax-propertize is not available.
6183 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6184 New functions.
6185 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6186 (electric-indent-chars): Silence bytecompiler.
6187 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6188 electric-indent-chars.
6189
6190 * progmodes/python.el (python-syntax-propertize-function): New var to
6191 replace python-font-lock-syntactic-keywords.
6192 (python-mode): Use it.
6193 (python-quote-syntax): Simplify and adjust to new use.
6194
6195 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6196 replace perl-font-lock-syntactic-keywords.
6197 (perl-syntax-propertize-special-constructs): New fun to replace
6198 perl-font-lock-special-syntactic-constructs.
6199 (perl-font-lock-syntactic-face-function): New fun.
6200 (perl-mode): Use it.
6201
6202 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6203 to replace octave-font-lock-close-quotes.
6204 (octave-syntax-propertize-function): New function to replace
6205 octave-font-lock-syntactic-keywords.
6206 (octave-mode): Use it.
6207
6208 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6209 replaces mixal-font-lock-syntactic-keywords.
6210 (mixal-mode): Use it.
6211
6212 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6213 New var; replaces makefile-font-lock-syntactic-keywords.
6214 (makefile-mode): Use it.
6215 (makefile-imake-mode): Adjust.
6216
6217 * progmodes/js.el (js--regexp-literal): Define while compiling.
6218 (js-syntax-propertize-function): New var; replaces
6219 js-font-lock-syntactic-keywords.
6220 (js-mode): Use it.
6221
6222 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6223 replaces gdb-script-font-lock-syntactic-keywords.
6224 (gdb-script-mode): Use it.
6225
6226 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6227 (fortran--font-lock-syntactic-keywords): New var.
6228 (fortran-line-length): Update syntax-propertize-function and
6229 fortran--font-lock-syntactic-keywords.
6230
6231 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6232
6233 * progmodes/cfengine.el (cfengine-mode):
6234 Use syntax-propertize-function.
6235 (cfengine-font-lock-syntactic-keywords): Remove.
6236
6237 * progmodes/autoconf.el (autoconf-mode):
6238 Use syntax-propertize-function.
6239 (autoconf-font-lock-syntactic-keywords): Remove.
6240
6241 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6242 (ada-after-change-function, ada-initialize-syntax-table-properties)
6243 (ada-handle-syntax-table-properties): Only define when
6244 syntax-propertize is not available.
6245 (ada-mode): Use syntax-propertize-function.
6246
6247 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6248 (font-lock-fontify-syntactic-keywords-region): Move handling of
6249 font-lock-syntactically-fontified to...
6250 (font-lock-default-fontify-region): ...here.
6251 Let syntax-propertize-function take precedence.
6252 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6253
6254 * emacs-lisp/syntax.el (syntax-propertize-function)
6255 (syntax-propertize-chunk-size, syntax-propertize--done)
6256 (syntax-propertize-extend-region-functions): New vars.
6257 (syntax-propertize-wholelines, syntax-propertize-multiline)
6258 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6259 (syntax-propertize): New functions.
6260 (syntax-propertize-rules): New macro.
6261 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6262 (syntax-ppss): Call syntax-propertize.
6263
6264 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6265
6266 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6267
6268 * textmodes/ispell.el (ispell-init-process): Improve comments.
6269 XEmacs compatibility changes regarding (add-hook) 'local option
6270 and (set-process-query-on-exit-flag).
6271
6272 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6273
6274 * net/tramp-cache.el (tramp-parse-connection-properties):
6275 Set tramp-autoload cookie.
6276
6277 2010-09-09 Glenn Morris <rgm@gnu.org>
6278
6279 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6280 (imagemagick-register-types): Doc fix.
6281
6282 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6285
6286 * progmodes/js.el (require): Require is already "eval-and-compile".
6287 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6288 (js--re-search-backward): Use js--re-search-forward.
6289
6290 * progmodes/fortran.el (fortran-line-length): Don't recompute
6291 syntactic keywords redundantly a second time.
6292
6293 * progmodes/ada-mode.el: Replace "(set '" with setq.
6294 (ada-mode): Simplify.
6295 (ada-create-case-exception, ada-adjust-case-interactive)
6296 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6297 (ada-search-ignore-string-comment, ada-move-to-start)
6298 (ada-move-to-end): Use with-syntax-table.
6299
6300 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6301 (font-lock-unfontify-region, font-lock-default-fontify-region):
6302 Update usage correspondingly.
6303 (font-lock-fontify-syntactic-keywords-region):
6304 Set parse-sexp-lookup-properties buffer-locally here.
6305 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6306
6307 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6308
6309 2010-09-08 Glenn Morris <rgm@gnu.org>
6310
6311 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6312 Error if not compiled with -DBYTE_CODE_METER.
6313
6314 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6315 Ignore dir-locals-file.
6316
6317 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6318
6319 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6320 Not a const.
6321 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6322 for the `gnu' messages.
6323 (compilation-set-skip-threshold): New command.
6324 (compilation-start): Use \' rather than $.
6325 (compilation-forget-errors): Use clrhash.
6326
6327 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6328
6329 * textmodes/ispell.el (ispell-valid-dictionary-list):
6330 Simplify logic.
6331
6332 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6333
6334 Migrate to Tramp 2.2. Rearrange load dependencies.
6335 (Bug#1529, Bug#5448, Bug#5705)
6336
6337 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6338 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6339 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6340
6341 * net/tramp.el (top): Remove all other tramp-* loads except
6342 tramp-compat.el. Remove all changes to tramp-unload-hook for
6343 other tramp-* packages. Rearrange defun order. Change calls of
6344 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6345 `tramp-compat-octal-to-decimal' to new function names.
6346 (tramp-terminal-type, tramp-initial-end-of-output)
6347 (tramp-methods, tramp-foreign-file-name-handler-alist)
6348 (tramp-tramp-file-p, tramp-completion-mode-p)
6349 (tramp-send-command-and-check, tramp-get-remote-path)
6350 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6351 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6352 (with-file-property, with-connection-property): Move to
6353 tramp-cache.el.
6354 (tramp-local-call-process, tramp-decimal-to-octal)
6355 (tramp-octal-to-decimal): Move to tramp-compat.el.
6356 (tramp-handle-shell-command): Do not require 'shell.
6357 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6358 symbols.
6359 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6360
6361 * net/tramp-cache.el (top): Require 'tramp. Add to
6362 `tramp-unload-hook'.
6363 (tramp-cache-data, tramp-get-file-property)
6364 (tramp-set-file-property, tramp-flush-file-property)
6365 (tramp-flush-directory-property, tramp-get-connection-property)
6366 (tramp-set-connection-property, tramp-flush-connection-property)
6367 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6368 cookie.
6369 (with-file-property, with-connection-property): New defuns, moved
6370 from tramp.el.
6371 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6372 macro.
6373
6374 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6375 (tramp-version): Set tramp-autoload cookie.
6376
6377 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6378 changes to tramp-unload-hook for other tramp-* packages. Add to
6379 `tramp-unload-hook'.
6380 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6381 (tramp-compat-call-process): New defuns, moved from tramp.el.
6382
6383 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6384 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6385 Add to `tramp-unload-hook'. Change call of
6386 `tramp-compat-decimal-to-octal' to new function name.
6387 (tramp-fish-method): Make it a defconst.
6388 (tramp-fish-file-name-p): Make it a defsubst.
6389 (tramp-fish-method, tramp-fish-file-name-handler)
6390 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6391
6392 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6393 `tramp-foreign-file-name-handler-alist'. Add to
6394 `tramp-unload-hook'.
6395 (tramp-ftp-method): Make it a defconst.
6396 (tramp-ftp-file-name-p): Make it a defsubst.
6397 (tramp-ftp-method, tramp-ftp-file-name-handler)
6398 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6399
6400 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6401 `tramp-foreign-file-name-handler-alist'. Add to
6402 `tramp-unload-hook'. Change checks, whether package can be
6403 loaded.
6404 (tramp-gvfs-file-name-p): Make it a defsubst.
6405 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6406 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6407 (tramp-gvfs-handle-file-directory-p): New defun.
6408 (tramp-gvfs-file-name-handler-alist): Use it.
6409
6410 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6411 `tramp-foreign-file-name-handler-alist'. Add to
6412 `tramp-unload-hook'.
6413 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6414 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6415 defconst.
6416 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6417 (tramp-gw-open-connection): Set tramp-autoload cookie.
6418
6419 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6420 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6421 Add to `tramp-unload-hook'. Change checks, whether package can be
6422 loaded.
6423 (tramp-imap-file-name-p): Make it a defsubst.
6424 (tramp-imap-method, tramp-imaps-method)
6425 (tramp-imap-file-name-handler)
6426 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6427
6428 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6429 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6430 Add to `tramp-unload-hook'. Change checks, whether package can be
6431 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6432 function name.
6433 (tramp-smb-tunnel-method): Make it a defconst.
6434 (tramp-smb-file-name-p): Make it a defsubst.
6435 (tramp-smb-method, tramp-smb-file-name-handler)
6436 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6437
6438 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6439 (tramp-uuencode-region): Set tramp-autoload cookie.
6440
6441 * net/trampver.el (top) Add to `tramp-unload-hook'.
6442 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6443 cookie. Update release number.
6444
6445 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6446
6447 * textmodes/ispell.el (ispell-start-process): Make sure original
6448 arg list is properly initialized (Bug#6993, Bug#6994).
6449
6450 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6451
6452 * files.el (directory-abbrev-alist): Use \` as default regexp.
6453
6454 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6455 chars like - or ] (bug#6984).
6456 (rx-any-condense-range): Explode 2-char ranges.
6457
6458 2010-09-06 Glenn Morris <rgm@gnu.org>
6459
6460 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6461
6462 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * textmodes/bibtex.el:
6465 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6466
6467 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6468
6469 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6470 since no callers use it.
6471 (imap-message-get): Ditto.
6472 (imap-message-put): Ditto.
6473 (imap-mailbox-map): Ditto.
6474 (imap-mailbox-put): Ditto.
6475 (imap-mailbox-get): Ditto.
6476 (imap-mailbox-get): Revert last change for this function.
6477
6478 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6479
6480 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6481 callers to use `imap-fetch' instead. According to the comments, this
6482 should be safe, since all other IMAP clients use the 1:* syntax.
6483 (imap-enable-exchange-bug-workaround): Remove.
6484 (imap-debug): Remove -- doesn't seem very useful.
6485
6486 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6487
6488 * net/imap.el (imap-log): New convenience function used throughout
6489 instead of repeating the same code all over the place.
6490
6491 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6492
6493 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6494 when mouse-drag-copy-region is non-nil (Bug#6956).
6495
6496 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6497
6498 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6499 Improve regexps (Bug#6987).
6500 (dired-sort-toggle): Search more robustly for -t flag.
6501
6502 * files.el (get-free-disk-space): Search more robustly for
6503 "available" column. Suggested by Ehud Karni
6504 <ehud@unix.mvs.co.il>.
6505
6506 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6507
6508 * international/uni-bidi.el:
6509 * international/uni-category.el:
6510 * international/uni-combining.el:
6511 * international/uni-decimal.el:
6512 * international/uni-mirrored.el:
6513 * international/uni-name.el: Regenerate.
6514
6515 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * electric.el (electric-indent-post-self-insert-function):
6518 Don't reindent with a sloppy indentation function.
6519
6520 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6521 border case in change-log-mode.
6522
6523 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6524
6525 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6526 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6527 Recognize leading tab in gcc-include regexp. Ignore names with
6528 leading "from" or "in" in gnu regexp (Bug#6937).
6529
6530 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6533 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6534 (ispell-start-process): Avoid setq and simplify logic.
6535 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6536 (kill-buffer-hook): Don't use it globally with code that uses
6537 expand-file-name since that may call kill-buffer via
6538 code_conversion_restore.
6539
6540 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6541
6542 * emacs-lisp/package.el (package-directory-list): Only call
6543 file-name-nondirectory on a string.
6544
6545 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6546
6547 * emacs-lisp/package.el (package--download-one-archive):
6548 Ensure that archive-contents is valid before saving it.
6549 (package-activate-1, package-mark-obsolete, define-package)
6550 (package-compute-transaction, package-list-maybe-add): Use push.
6551
6552 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6553
6554 Use SMIE's blink-paren for octave-mode.
6555 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6556 Backslashes do not escape single-quotes, single-quotes do.
6557 (octave-block-else-regexp, octave-block-end-regexp)
6558 (octave-block-match-alist): Remove.
6559 (octave-smie-bnf-table): New var, with old content.
6560 (octave-smie-op-levels): Use it.
6561 (octave-smie-closer-alist): New var.
6562 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6563 (octave-blink-matching-block-open): Remove.
6564 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6565 (octave-electric-space): Let self-insert-command run expand-abbrev and
6566 blink parens.
6567
6568 * electric.el (electricity): New group.
6569 (electric-indent-chars): New var.
6570 (electric-indent-post-self-insert-function): New fun.
6571 (electric-indent-mode): New minor mode.
6572 (electric-pair-skip-self): New custom.
6573 (electric-pair-post-self-insert-function): New function.
6574 (electric-pair-mode): New minor mode.
6575
6576 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6577 calcAlg-blink-matching-open.
6578 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6579 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6580 Use the new blink-matching-check-function.
6581
6582 Provide blink-matching support to SMIE.
6583 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6584 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6585 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6586
6587 * simple.el (newline): Fix last change to properly remove itself from
6588 the hook.
6589
6590 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * simple.el (newline): Eliminate optimization.
6593 Use post-self-insert-hook to set hard-newline and things before
6594 running post-self-insert-hook.
6595 (blink-matching-check-mismatch): New function.
6596 (blink-matching-check-function): New variable.
6597 (blink-matching-open): Use them.
6598 Skip back forward over prefix chars skipped by forward-sexp.
6599 Don't check if the parens are backslash escaped.
6600 (blink-paren-post-self-insert-function): Check backslash escaping here.
6601
6602 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6603
6604 * emacs-lisp/package.el (package-menu-mode-map):
6605 Change package-menu-revert bindings to revert-buffer.
6606 (package-menu-mode): Set revert-buffer-function.
6607 (package-menu-revert): Doc fix.
6608
6609 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6610
6611 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6612 `default-directory' unless using Ispell per-directory personal
6613 dictionaries and not in a mini-buffer under XEmacs.
6614 (kill-buffer-hook): Do not kill ispell process on exit when
6615 `ispell-process-directory' is "~/". (Bug#6143)
6616
6617 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6618
6619 * simple.el (kill-new): Call interprogram-cut-function with only
6620 one argument.
6621
6622 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6623 Remove cut buffer from error message.
6624
6625 * term/x-win.el (x-select-text):
6626 * term/pc-win.el (x-selection-value):
6627 * term/ns-win.el (x-selection-value):
6628 * eshell/em-term.el:
6629 * w32-fns.el (x-get-selection-value):
6630 * mouse-sel.el (mouse-sel-set-selection-function):
6631 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6632
6633 * term/x-win.el: Update documentation for x-last-selected-text-*.
6634 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6635 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6636 (x-select-text): Remove argument PUSH, update documentation.
6637 Remove cut-buffer code.
6638 (x-selection-value-internal): Was previously x-selection-value.
6639 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6640 Update documentation, remove cut-buffer code.
6641 Call x-selection-value-internal.
6642 (x-clipboard-yank): Call x-selection-value-internal.
6643 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6644
6645 * term/pc-win.el (x-last-selected-text):
6646 x-cut-buffer-or-selection-value renamed to x-selection-value
6647 (x-select-text): Remove argument PUSH, update documentation.
6648
6649 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6650 x-cut-buffer-or-selection-value renamed to x-selection-value
6651 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6652 (x-select-text): Remove argument PUSH, update documentation.
6653
6654 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6655
6656 * w32-fns.el (x-last-selected-text):
6657 x-cut-buffer-or-selection-value renamed to x-selection-value.
6658 (x-cut-buffer-max): Remove.
6659 (x-select-text): Remove argument PUSH, update documentation.
6660
6661 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6662
6663 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6664
6665 * mouse-sel.el (mouse-sel-get-selection-function):
6666 x-cut-buffer-or-selection-value renamed to x-selection-value.
6667 (x-select-text): Remove optional push.
6668
6669 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6670
6671 * simple.el (blink-paren-function): Move from C to here.
6672 (blink-paren-post-self-insert-function): New function.
6673 (post-self-insert-hook): Use it.
6674
6675 * emacs-lisp/pcase.el (pcase-split-memq):
6676 Fix overenthusiastic optimisation.
6677 (pcase-u1): Handle the case of a lambda pred.
6678
6679 2010-08-31 Kenichi Handa <handa@m17n.org>
6680
6681 * international/mule-cmds.el (standard-display-european-internal):
6682 Setup standard-display-table for 8-bit characters by storing 8-bit
6683 characters in the element vector.
6684
6685 * disp-table.el (standard-display-8bit):
6686 Setup standard-display-table for 8-bit characters by storing 8-bit
6687 characters in the element vector.
6688 (standard-display-european): Likewise.
6689
6690 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6691
6692 * textmodes/nroff-mode.el (nroff-view): New command.
6693 (nroff-mode-map): Bind it to C-c C-c.
6694
6695 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6696
6697 * emacs-lisp/smie.el (smie-down-list): New command.
6698
6699 Remove old indentation and navigation code on octave-mode.
6700 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6701 smie-down-list rather than add a binding for octave-down-block.
6702 (octave-mark-block, octave-blink-matching-block-open):
6703 Rely on forward-sexp-function.
6704 (octave-fill-paragraph): Don't narrow, so you can use
6705 indent-according-to-mode.
6706 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6707 (octave-in-block-p, octave-re-search-forward-kw)
6708 (octave-re-search-backward-kw, octave-indent-calculate)
6709 (octave-end-as-array-index-p, octave-block-end-offset)
6710 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6711 (octave-down-block, octave-backward-up-block, octave-up-block)
6712 (octave-before-magic-comment-p, octave-indent-line): Remove.
6713
6714 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6715
6716 * emacs-lisp/package.el (package--read-archive-file): Just use
6717 `read', to avoid copying an additional string.
6718 (package-menu-mode): Set header-line-format here.
6719 (package-menu-refresh, package-menu-revert): Signal an error if
6720 not in the Package Menu.
6721 (package-menu-package-list): New var.
6722 (package--generate-package-list): Operate on the current buffer;
6723 don't assume that it is *Packages*, since the user may rename it.
6724 Allow persistent package listings and sort keys using
6725 package-menu-package-list and package-menu-package-sort-key.
6726 (package-menu--version-predicate): Fix version calculation.
6727 (package-menu-sort-by-column): Don't select the window.
6728 (package--list-packages): Create the *Packages* buffer.
6729 Set package-menu-package-list-key.
6730 (list-packages): Sorting by status is now the default.
6731 (package-buffer-info): Use match-string-no-properties.
6732 (define-package): Add a &rest argument for future proofing, but
6733 don't use it yet.
6734 (package-install-from-buffer, package-install-buffer-internal):
6735 Merge into a single function, package-install-from-buffer.
6736 (package-install-file): Change caller.
6737
6738 * finder.el: Load finder-inf using `require'.
6739 (finder-list-matches): Sorting by status is now the default.
6740 (finder-compile-keywords): Simpify printing.
6741
6742 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6745 (octave-mode-map): Remove special bindings for forward/backward-block
6746 and octave-backward-up-block. Use smie-close-block.
6747 (octave-continuation-marker-regexp): New var.
6748 (octave-continuation-regexp): Use it.
6749 (octave-operator-table, octave-smie-op-levels)
6750 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6751 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6752 (octave-mode): Use SMIE.
6753 (octave-close-block): Delete.
6754
6755 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6756
6757 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6758 CLIPBOARD, not in PRIMARY. (Bug#6944)
6759
6760 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6763 a list of parents.
6764 (smie-indent-column): Allow indirection through variables.
6765
6766 * composite.el (save-buffer-state): Delete, unused.
6767 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6768 (font-lock-default-fontify-region): Use with-syntax-table.
6769 * jit-lock.el (with-buffer-unmodified): Remove.
6770 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6771
6772 Use `declare' in defmacros.
6773 * window.el (save-selected-window):
6774 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6775 * progmodes/python.el (def-python-skeleton):
6776 * net/dbus.el (dbus-ignore-errors):
6777 * jka-cmpr-hook.el (with-auto-compression-mode):
6778 * international/mule.el (with-category-table):
6779 * emacs-lisp/timer.el (with-timeout):
6780 * emacs-lisp/lisp-mnt.el (lm-with-file):
6781 * emacs-lisp/eieio.el (with-slots):
6782 * emacs-lisp/easymenu.el (easy-menu-define):
6783 * emacs-lisp/debug.el (debugger-env-macro):
6784 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6785 (Multiple-value-call, Multiple-value-prog1):
6786 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6787 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6788 edebug rule to definition.
6789 * emacs-lisp/lisp-mode.el (save-selected-window)
6790 (with-current-buffer, combine-after-change-calls)
6791 (with-output-to-string, with-temp-file, with-temp-buffer)
6792 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6793 (dolist, dotimes, when, unless):
6794 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6795
6796 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6797
6798 * finder.el: Require `package'.
6799 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6800 (finder-package-info): Var deleted.
6801 (finder-keywords-hash, finder--builtins-alist): New vars.
6802 (finder-compile-keywords): Compute package--builtins and
6803 finder-keywords-hash instead of finder-keywords-hash, respecting
6804 the "Package" header.
6805 (finder-unknown-keywords, finder-list-matches):
6806 Use finder-keywords-hash and package--list-packages.
6807 (finder-mode): Don't set font-lock-defaults.
6808 (finder-exit): We don't use "*Finder-package*" and "*Finder
6809 Category*" buffers anymore.
6810
6811 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6812 (package--builtins): Set default value to nil.
6813 (package-initialize): Load precomputed value of package--builtins
6814 from finder-inf.el.
6815 (package-alist, package-compute-transaction)
6816 (package-download-transaction): Improve docstring.
6817 (package-read-all-archive-contents): Do not change
6818 package--builtins here.
6819 (list-packages): Make package-list-packages an alias for this.
6820 Sort by status by default.
6821 (package--list-packages): Add optional PACKAGES arg.
6822 (describe-package-1): Use font-lock-face property. For built-in
6823 packages, insert file commentary.
6824 (package--generate-package-list): Rename from
6825 package-list-packages-internal; all callers changed. Add optional
6826 PACKAGES arg. Add alphabetical sort fallbacks.
6827 (package-menu--version-predicate, package-menu--status-predicate)
6828 (package-menu--description-predicate)
6829 (package-menu--name-predicate): New functions.
6830
6831 * info.el (Info-finder-find-node): Search package-alist instead of
6832 finder-package-info.
6833
6834 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6835
6836 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6837 "alpha" and "beta".
6838 (version-to-list): Handle versions like "10.3d".
6839
6840 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6843 (macroexp-accumulate): Use `declare'.
6844
6845 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6846
6847 * whitespace.el (whitespace-style): Adjust type declaration.
6848
6849 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6850
6851 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6852 empty argument to gvfs-copy.
6853
6854 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6855
6856 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6857 handle new TRASH arg of `delete-file'.
6858
6859 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6860
6861 * net/tramp.el (tramp-handle-insert-directory): Don't use
6862 `forward-word', its default syntax could be changed.
6863
6864 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6865 Michael Albinus <michael.albinus@gmx.de>
6866
6867 Implement compression for inline methods.
6868
6869 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6870 (tramp-copy-size-limit): Allow also nil.
6871 (tramp-inline-compress-commands): New defconst.
6872 (tramp-find-inline-compress, tramp-get-inline-compress)
6873 (tramp-get-inline-coding): New defuns.
6874 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6875 replaced by `tramp-get-inline-coding'.
6876 (tramp-handle-file-local-copy, tramp-handle-write-region)
6877 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6878
6879 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6880
6881 Detect ssh 'ControlMaster' argument automatically in some cases.
6882
6883 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6884 (tramp-default-method): Use it.
6885
6886 2010-08-26 Karel Klíč <kklic@redhat.com>
6887
6888 * net/tramp.el (tramp-file-name-for-operation):
6889 Add file-selinux-context.
6890
6891 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6892
6893 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6894
6895 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6896
6897 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6898 (Bug#6907).
6899
6900 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6901
6902 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6903 (js-paren-indent-offset, js-square-indent-offset)
6904 (js-curly-indent-offset): New options.
6905 (js--proper-indentation): Use them.
6906
6907 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6908
6909 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6910 instead of inspecting font-lock properties (Bug#6916).
6911
6912 2010-08-26 David Reitter <david.reitter@gmail.com>
6913
6914 * server.el (server-visit-files): Run pre-command-hook and
6915 post-command-hook for each buffer while it is current (Bug#6910).
6916 (server-execute): Do not run hooks here.
6917
6918 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6919
6920 Sync with Tramp 2.1.19.
6921
6922 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6923 (tramp-reporter-dump-variable, tramp-load-report-modules)
6924 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6925 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6926
6927 * net/tramp-compat.el (top): Do not autoload
6928 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6929 only when `start-file-process' is not bound.
6930 (byte-compile-not-obsolete-vars): Define if not bound.
6931 (tramp-compat-funcall): New defmacro.
6932 (tramp-compat-line-beginning-position)
6933 (tramp-compat-line-end-position)
6934 (tramp-compat-temporary-file-directory)
6935 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6936 (tramp-compat-copy-file, tramp-compat-copy-directory)
6937 (tramp-compat-delete-file, tramp-compat-delete-directory)
6938 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6939 Use it.
6940 (tramp-advice-file-expand-wildcards): Do not use
6941 `tramp-handle-file-remote-p'.
6942 (tramp-compat-make-temp-file): Simplify fallback implementation.
6943 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6944 (tramp-compat-copy-tree): Remove function.
6945 (tramp-compat-delete-file): New defun.
6946 (tramp-compat-delete-directory): Provide implementation for older
6947 Emacsen.
6948 (tramp-compat-file-attributes): Handle only
6949 `wrong-number-of-arguments' error.
6950
6951 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6952 Add PRESERVE_SELINUX_CONTEXT.
6953 (tramp-fish-handle-delete-file): Add TRASH arg.
6954 (tramp-fish-handle-directory-files-and-attributes):
6955 Do not use `tramp-fish-handle-file-attributes.
6956 (tramp-fish-handle-file-local-copy)
6957 (tramp-fish-handle-insert-file-contents)
6958 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6959
6960 * net/tramp-gvfs.el (top): Require url-util.
6961 (tramp-gvfs-mount-point): Remove.
6962 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6963 and `set-file-selinux-context'.
6964 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6965 (tramp-gvfs-handle-file-selinux-context)
6966 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6967 (with-tramp-dbus-call-method): Format trace message.
6968 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6969 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6970 Implement backup call, when operation on local files fails.
6971 Use progress reporter. Flush properties of changed files.
6972 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6973 Use `tramp-compat-delete-file'.
6974 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6975 (tramp-gvfs-handle-make-directory): Make more traces.
6976 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6977 (tramp-gvfs-url-file-name): Hexify file name in url.
6978 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6979 into account for the resulting file name.
6980 (tramp-gvfs-handler-askquestion): Preserve current message, in
6981 order to let progress reporter continue afterwards. (Bug#6257)
6982 Return dummy mountpoint, when the answer is "no".
6983 See `tramp-gvfs-maybe-open-connection'.
6984 (tramp-gvfs-handler-mounted-unmounted)
6985 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6986 attribute "default_location". Set "prefix" property.
6987 Handle default-location.
6988 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6989 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6990 exists. Raise an error, if not (due to a corresponding answer
6991 "no" in interactive questions, for example).
6992 Use `tramp-compat-funcall'.
6993
6994 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6995 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6996 (tramp-imap-do-copy-or-rename-file)
6997 (tramp-imap-handle-insert-file-contents)
6998 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6999 (tramp-imap-handle-delete-file): Add TRASH arg.
7000
7001 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7002 Add PRESERVE-SELINUX-CONTEXT.
7003 (tramp-smb-handle-copy-file)
7004 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7005 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7006 Use `with-progress-reporter'.
7007 (tramp-smb-handle-delete-file): Add TRASH arg.
7008
7009 * net/tramp.el (tramp-methods): Move hostname to the end in all
7010 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
7011 appropriate.
7012 (tramp-verbose): Describe verbose level 9.
7013 (tramp-completion-function-alist)
7014 (tramp-file-name-regexp, tramp-chunksize)
7015 (tramp-local-coding-commands, tramp-remote-coding-commands)
7016 (with-connection-property, tramp-completion-mode-p)
7017 (tramp-action-process-alive, tramp-action-out-of-band)
7018 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7019 (tramp-exists-file-name-handler): Fix docstring.
7020 (tramp-remote-process-environment): Use `format' instead of
7021 `concat'. Protect version string by apostroph.
7022 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7023 XEmacs.
7024 (tramp-file-name-regexp-unified)
7025 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7026 not regard the volume letter as remote filename. (Bug#5447)
7027 (tramp-perl-file-attributes)
7028 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7029 (tramp-vc-registered-read-file-names): Read input as
7030 here-document, otherwise the command could exceed maximum length
7031 of command line.
7032 (tramp-file-name-handler-alist): Add `file-selinux-context' and
7033 `set-file-selinux-context'.
7034 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7035 backtrace functions.
7036 (tramp-error-with-buffer): Don't show the connection buffer when
7037 we are in completion mode.
7038 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7039 (tramp-handle-file-selinux-context)
7040 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7041 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7042 New defuns.
7043 (with-progress-reporter): New defmacro.
7044 (tramp-debug-outline-regexp): New defconst.
7045 (top, tramp-rfn-eshadow-setup-minibuffer)
7046 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7047 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7048 (tramp-completion-mode-p, tramp-check-for-regexp)
7049 (tramp-open-connection-setup-interactive-shell)
7050 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7051 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7052 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7053 Use `tramp-compat-funcall'.
7054 (tramp-handle-make-symbolic-link): Flush file properties.
7055 (tramp-handle-load, tramp-handle-file-local-copy)
7056 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7057 (tramp-handle-vc-registered, tramp-maybe-send-script)
7058 (tramp-find-shell): Use `with-progress-reporter'.
7059 (tramp-do-file-attributes-with-stat): Add space in format string,
7060 in order to work around a bug in pdksh. Reported by Gilles Pion
7061 <gpion@lfdj.com>.
7062 (tramp-handle-verify-visited-file-modtime): Do not send a command
7063 when the connection is not established.
7064 (tramp-handle-set-file-times): Simplify the check for utc.
7065 (tramp-handle-directory-files-and-attributes)
7066 (tramp-get-remote-path): Use `copy-tree'.
7067 (tramp-completion-handle-file-name-all-completions): Ensure, that
7068 non remote files are still checked. Oops.
7069 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7070 Handle PRESERVE-SELINUX-CONTEXT.
7071 (tramp-do-copy-or-rename-file): Add progress reporter.
7072 (tramp-do-copy-or-rename-file-directly): Do not use
7073 `tramp-handle-file-remote-p'.
7074 (tramp-do-copy-or-rename-file-out-of-band):
7075 Use `tramp-compat-delete-directory'.
7076 (tramp-do-copy-or-rename-file-out-of-band)
7077 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7078 Use `format-spec-make'.
7079 (tramp-handle-delete-file): Add TRASH arg.
7080 (tramp-handle-dired-uncache): Flush directory cache, not only file
7081 cache.
7082 (tramp-handle-expand-file-name)
7083 (tramp-completion-handle-file-name-all-completions)
7084 (tramp-completion-handle-file-name-completion):
7085 Use `tramp-connectable-p'.
7086 (tramp-handle-start-file-process): Set connection property "vec".
7087 Use it, in order to invalidate file caches. Check only for
7088 `remote-tty' process property.
7089 Implement tty setting. (Bug#4604, Bug#6360)
7090 (tramp-file-name-for-operation): Add `call-process-region' and
7091 `set-file-selinux-context'.
7092 (tramp-find-foreign-file-name-handler)
7093 (tramp-advice-make-auto-save-file-name)
7094 (tramp-set-auto-save-file-modes): Remove superfluous check for
7095 `stringp'. This is done inside `tramp-tramp-file-p'.
7096 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7097 operations when we are in completion mode. This gives the user
7098 the chance to correct the file name in the minibuffer.
7099 (tramp-completion-mode-p): Use `non-essential'.
7100 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7101 compatibility: Use `completion-ignore-case' if
7102 `read-file-name-completion-ignore-case' does not exist.
7103 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7104 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7105 `tramp-open-shell'.
7106 (tramp-action-password): Hide password prompt before next run.
7107 (tramp-process-actions): Widen connection buffer for the trace.
7108 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7109 process property. Trace stty settings if `tramp-verbose' >= 9.
7110 Apply workaround for IRIX64 bug. Move argument of last
7111 `tramp-send-command' where it belongs to.
7112 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7113 front of `login-args'.
7114 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7115 on "/dev/null" instead of "/".
7116 (tramp-get-ls-command-with-dired): Make test for "--dired"
7117 stronger.
7118 (tramp-set-auto-save-file-modes): Adapt version check.
7119 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7120 (tramp-handle-process-file): Call the program in a subshell, in
7121 order to preserve working directory.
7122 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7123 `tramp-remote-sh' from `tramp-methods'.
7124 (tramp-get-ls-command): Make test for "--color=never" stronger.
7125 (tramp-check-for-regexp): Use (forward-line 1).
7126
7127 * net/trampver.el: Update release number.
7128
7129 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7130
7131 * help.el (help-map): Bind `C-h P' to describe-package.
7132
7133 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7134
7135 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7136 when downloading archives.
7137 (describe-package-1): Add package commentary.
7138 (package-install-button-action): New function.
7139 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7140 (package-menu-view-commentary): Function removed.
7141 (package-list-packages-internal): Hide the `package' package too.
7142
7143 2010-08-25 Kenichi Handa <handa@m17n.org>
7144
7145 * language/misc-lang.el ("Arabic"): New language environment.
7146 Setup composition-function-table for Arabic characters.
7147
7148 * international/fontset.el (setup-default-fontset): Fix typo for
7149 arabic OTF spec (fini->fina).
7150
7151 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7152
7153 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7154 on all frames.
7155
7156 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7157
7158 * whitespace.el: Allow cleaning up blanks without blank
7159 visualization (Bug#6651). Adjust help window for
7160 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7161 instead of whitespace-line-column (from EmacsWiki). New version
7162 13.1.
7163 (whitespace-style): Add new value 'face. Adjust docstring.
7164 (whitespace-space, whitespace-hspace, whitespace-tab):
7165 Adjust foreground property face.
7166 (whitespace-line-column): Adjust docstring and type declaration.
7167 (whitespace-style-value-list, whitespace-toggle-option-alist)
7168 (whitespace-help-text): Adjust const initialization.
7169 (whitespace-toggle-options, global-whitespace-toggle-options):
7170 Adjust docstring.
7171 (whitespace-display-window, whitespace-interactive-char)
7172 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7173 (whitespace-help-scroll): New fun.
7174
7175 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7176
7177 * emacs-lisp/package.el (list-packages): Alias for
7178 package-list-packages.
7179
7180 2010-08-24 Kevin Ryde <user42@zip.com.au>
7181
7182 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7183 (Bug#5651).
7184
7185 * progmodes/ruby-mode.el (ruby): Add defgroup.
7186
7187 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7188
7189 * progmodes/python.el: Add Ipython support (Bug#5390).
7190 (python-shell-prompt-alist)
7191 (python-shell-continuation-prompt-alist): New options.
7192 (python--set-prompt-regexp): New function.
7193 (inferior-python-mode, run-python, python-shell):
7194 Require ansi-color. Use python--set-prompt-regexp to set the comint
7195 prompt based on the Python interpreter.
7196 (python--prompt-regexp): New var.
7197 (python-check-comint-prompt)
7198 (python-comint-output-filter-function): Use it.
7199 (run-python): Use a pipe (Bug#5694).
7200
7201 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7202
7203 * progmodes/python.el (python-send-region): Send a different
7204 Python command if Ipython is in use.
7205 (python-check-version): Use a Python command to find the version.
7206
7207 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7208
7209 * mouse.el (mouse-yank-primary): Avoid setting primary when
7210 deactivating the mark (Bug#6872).
7211
7212 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7213
7214 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7215 with "else" (Bug#3991).
7216
7217 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7218
7219 * net/dbus.el: Accept UNIX domain sockets as bus address.
7220 (top): Don't initialize `dbus-registered-objects-table' anymore,
7221 this is done in dbusbind,c.
7222 (dbus-check-event): Adapt test for bus.
7223 (dbus-return-values-table, dbus-unregister-service)
7224 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7225 Adapt doc string.
7226
7227 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7228
7229 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7230
7231 2010-08-22 Juri Linkov <juri@jurta.org>
7232
7233 * simple.el (read-extended-command): New function with the logic
7234 for `completing-read' moved to Elisp from `execute-extended-command'.
7235 Use `function-called-at-point' in `minibuffer-default-add-function'
7236 to get a command name for M-n (bug#5364, bug#5214).
7237
7238 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7239
7240 * startup.el (command-line-1): Issue warning for ignored arguments
7241 --unibyte, etc (Bug#6886).
7242
7243 2010-08-22 Leo <sdl.web@gmail.com>
7244
7245 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7246 (ignore, bright, dim, keyword): Split list of nicknames before
7247 passing to rcirc-add-or-remove (Bug#6894).
7248
7249 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7250
7251 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7252
7253 2010-08-22 Leo <sdl.web@gmail.com>
7254
7255 Fix buffer-list rename&refresh after killing a buffer in ido.
7256 * ido.el: Revert Óscar's.
7257 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7258 Remember the buffers at head, rather than their name.
7259 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7260
7261 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7262 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7265 extra backslash added to each line (bug#6890).
7266
7267 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7270
7271 2010-08-22 Glenn Morris <rgm@gnu.org>
7272
7273 * menu-bar.el (menu-bar-games-menu): Add landmark.
7274
7275 2010-08-22 Glenn Morris <rgm@gnu.org>
7276
7277 * align.el (align-regexp): Make group and spacing arguments
7278 use the interactive defaults when non-interactive. (Bug#6698)
7279
7280 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7281 expansion, so as not to need sendmail.
7282 (mail-text-start): Remove declaration.
7283 (rmail-retry-failure): Require sendmail.
7284
7285 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7286
7287 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7288
7289 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7290
7291 * progmodes/flymake.el (flymake-start-syntax-check-process):
7292 Use `start-file-process' in order to let it run also on remote hosts.
7293
7294 2010-08-22 Kenichi Handa <handa@m17n.org>
7295
7296 * files.el: Add `word-wrap' as safe local variable.
7297
7298 2010-08-22 Glenn Morris <rgm@gnu.org>
7299
7300 * woman.el (woman-translate): Case matters. (Bug#6849)
7301
7302 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7303
7304 * simple.el (kill-region): Doc fix (Bug#6787).
7305
7306 2010-08-22 Glenn Morris <rgm@gnu.org>
7307
7308 * calendar/diary-lib.el (diary-header-line-format):
7309 Fit it to the window, not the frame.
7310
7311 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7312
7313 * subr.el (ignore-errors): Add debug declaration.
7314
7315 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7316
7317 * whitespace.el (whitespace-color-off): Remove post-command-hook
7318 locally.
7319
7320 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7323
7324 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7325
7326 * cus-edit.el (custom-group-value-create): Add extra newline
7327 before end line (Bug#6876).
7328
7329 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7330
7331 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7332 when extending it. Before killing on the second click, check if
7333 the buffer is the correct one. Doc fix.
7334 (mouse-secondary-save-then-kill): Allow usage without first
7335 calling mouse-start-secondary, by defaulting to point. Don't save
7336 an empty secondary selection. Doc fix.
7337
7338 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7339
7340 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7341 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7342 New version 13.0.
7343 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7344 Adjust initialization.
7345 (whitespace-bob-marker, whitespace-eob-marker)
7346 (whitespace-buffer-changed): New vars.
7347 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7348 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7349 (whitespace-post-command-hook, whitespace-display-char-on):
7350 Adjust code.
7351 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7352 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7353
7354 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7355
7356 * files.el (locate-file-completion-table): Only list the .el and .elc
7357 extensions if there's no other choice (bug#5955).
7358
7359 * facemenu.el (facemenu-self-insert-data): New var.
7360 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7361 New functions.
7362 (facemenu-add-face): Use them.
7363
7364 * simple.el (blink-matching-open): Obey forward-sexp-function.
7365
7366 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 * simple.el (prog-mode-map): New var.
7369 (prog-indent-sexp): New command.
7370
7371 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7372
7373 * progmodes/prolog.el (smie): Require.
7374
7375 * emacs-lisp/smie.el (smie-default-backward-token)
7376 (smie-default-forward-token): Strip properties.
7377 (smie-next-sexp): Be more careful with associative operators.
7378 (smie-forward-sexp-command): Generalize.
7379 (smie-backward-sexp-command): Simplify.
7380 (smie-closer-alist): New var.
7381 (smie-close-block): New command.
7382 (smie-indent-debug-log): New var.
7383 (smie-indent-offset-rule): Add a few more cases.
7384 (smie-indent-column): New function.
7385 (smie-indent-after-keyword): Use it.
7386 (smie-indent-keyword): Use it.
7387 Fix up the opener code's point position.
7388 (smie-indent-comment): Only applies at BOL.
7389 (smie-indent-debug): New command.
7390
7391 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7392 declarations that are useful before running the macro.
7393
7394 2010-08-18 Joakim Verona <joakim@verona.se>
7395
7396 * image.el (imagemagick-types-inhibit): New variable.
7397 (imagemagick-register-types): New function.
7398 * image-mode.el (image-transform-properties): New function.
7399 (image-transform-set-scale, image-transform-fit-to-height)
7400 (image-transform-set-rotation, image-transform-set-resize)
7401 (image-transform-fit-to-width, image-transform-fit-to-height):
7402 New functions.
7403 (image-toggle-display-image): Support image transforms.
7404
7405 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7406
7407 * image.el (create-animated-image): Don't add heuristic mask to image
7408 (Bug#6839).
7409
7410 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7411
7412 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7413 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7414
7415 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7418
7419 Font-lock '...' strings, plus various simplifications and fixes.
7420 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7421 (octave-font-lock-close-quotes): New function.
7422 (octave-font-lock-syntactic-keywords): New var.
7423 (octave-mode): Use it. Set beginning-of-defun-function.
7424 (octave-mode-map): Don't override the <foo>-defun commands.
7425 (octave-mode-menu): Pass it directly to easy-menu-define;
7426 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7427 (octave-block-match-alist): Fix up last change so that
7428 octave-close-block uses the more specific keyword.
7429 (info-lookup-mode): Silence byte-compiler.
7430 (octave-beginning-of-defun): Not interactive any more.
7431 Optimize slightly.
7432 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7433 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7434 (octave-completion-at-point-function): Make sure point is within
7435 beg..end.
7436 (octave-reindent-then-newline-and-indent):
7437 Use reindent-then-newline-and-indent.
7438 (octave-add-octave-menu): Remove.
7439
7440 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7441
7442 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7443 (report-emacs-bug-can-use-xdg-email): New functions.
7444 (report-emacs-bug): Set can-xdg-email to result of
7445 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7446 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7447 about it.
7448
7449 * net/browse-url.el (browse-url-default-browser): Add cond
7450 for browse-url-xdg-open.
7451 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7452
7453 2010-08-17 Glenn Morris <rgm@gnu.org>
7454
7455 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7456 (c-fontify-recorded-types-and-refs): Define for compiler.
7457 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7458 before use.
7459
7460 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7461 Fix format call.
7462
7463 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7464
7465 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7466 properties.
7467 (tramp-handle-process-file): Call the program in a subshell, in
7468 order to preserve working directory.
7469 (tramp-action-password): Hide password prompt before next run.
7470 (tramp-process-actions): Widen connection buffer for the trace.
7471
7472 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7473
7474 * net/rcirc.el (rcirc-log-process-buffers): New option.
7475 (rcirc-print): Use it.
7476 (rcirc-generate-log-filename): New function.
7477 (rcirc-log-filename-function): Change default to
7478 rcirc-generate-log-filename (Bug#6828).
7479
7480 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7481
7482 * simple.el (deactivate-mark): If select-active-regions is `only',
7483 only set selection for temporarily active regions.
7484
7485 * cus-start.el: Change defcustom for select-active-regions.
7486
7487 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7488
7489 * mouse.el (mouse--drag-set-mark-and-point): New function.
7490 (mouse-drag-track): Use LOCATION arg to push-mark.
7491 Use mouse--drag-set-mark-and-point to take click-count into
7492 consideration when updating point and mark (Bug#6840).
7493
7494 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7495
7496 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7497 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7498
7499 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7500
7501 * font-lock.el (lisp-font-lock-keywords-2):
7502 Add combine-after-change-calls, condition-case-no-debug,
7503 with-demoted-errors, and with-silent-modifications (Bug#6025).
7504
7505 2010-08-14 Kevin Ryde <user42@zip.com.au>
7506
7507 * emacs-lisp/copyright.el (copyright-update-year)
7508 (copyright-update): Temporary switch-to-buffer to ensure the
7509 buffer change being queried is visible (Bug#5394).
7510
7511 2010-08-14 Tom Tromey <tromey@redhat.com>
7512
7513 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7514 (Bug#6733).
7515
7516 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7517
7518 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7519 MS-DOS. (Bug#6689)
7520
7521 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7522
7523 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7524 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7525 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7526 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7527 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7528 Call menu-bar-set-tool-bar-position.
7529
7530 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7531
7532 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7533 comment style (bug#6834).
7534 * progmodes/scheme.el (scheme-mode-syntax-table):
7535 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7536 "b" flag in "' 14b" syntax.
7537
7538 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7539 for (un)commenting the region and performing completion.
7540 (octave-mode-menu): Use standard commands for help and completion.
7541 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7542 (octave-mode): Use define-derived-mode.
7543 Set completion-at-point-functions and don't set columns.
7544 Don't disable adaptive-fill-regexp.
7545 (octave-describe-major-mode, octave-comment-region)
7546 (octave-uncomment-region, octave-comment-indent)
7547 (octave-indent-for-comment): Remove.
7548 (octave-indent-calculate): Rename from calculate-octave-indent.
7549 (octave-indent-line, octave-fill-paragraph): Update caller.
7550 (octave-initialize-completions): No need to make an alist.
7551 (octave-completion-at-point-function): New function.
7552 (octave-complete-symbol): Use it.
7553 (octave-insert-defun): Use define-skeleton.
7554
7555 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7556 (octave-mode-map): Use comment-dwim (bug#6829).
7557
7558 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7559
7560 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7561 indentation of inserted comment.
7562
7563 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7564
7565 * faces.el (region): Add type gtk that uses gtk colors.
7566
7567 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7568 Handle theme-name change.
7569
7570 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7571
7572 * progmodes/sql.el: Version 2.5
7573 (sql-product-alist): Add :prompt-cont-regexp property for several
7574 database products.
7575 (sql-prompt-cont-regexp): New variable.
7576 (sql-output-newline-count, sql-output-by-send):
7577 New variables. Record number of newlines in input text.
7578 (sql-send-string): Handle multiple filters and count newlines.
7579 (sql-send-magic-terminator): Count terminator newline.
7580 (sql-interactive-remove-continuation-prompt): Filters output to
7581 remove continuation prompts; one for each newline.
7582 (sql-interactive-mode): Set up new variables, prompt regexp and
7583 output filter.
7584 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7585 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7586
7587 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * emacs-lisp/pcase.el: New file.
7590
7591 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7592
7593 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7594 as here-document, otherwise the command could exceed maximum
7595 length of command line.
7596 (tramp-handle-vc-registered): Call script accordingly.
7597 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7598
7599 2010-08-10 Kenichi Handa <handa@m17n.org>
7600
7601 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7602 composable pattern.
7603
7604 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7605
7606 * emacs-lisp/package.el (package-version-split)
7607 (package--version-first-nonzero, package-version-compare):
7608 Functions removed.
7609 (package-directory-list, package-load-all-descriptors)
7610 (package--built-in, package-activate, define-package)
7611 (package-installed-p, package-compute-transaction)
7612 (package-read-all-archive-contents)
7613 (package--add-to-archive-contents, package-buffer-info)
7614 (package-tar-file-info, package-list-packages-internal):
7615 Use version-to-list and version-list-*.
7616
7617 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7618 Use version-to-list.
7619 (package-upload-buffer-internal): Use version-list-<=.
7620
7621 2010-08-09 Kenichi Handa <handa@m17n.org>
7622
7623 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7624 composable pattern.
7625
7626 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7627
7628 * tutorial.el (tutorial--default-keys): C-d is now bound to
7629 delete-forward-char (Bug#6826).
7630
7631 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7632 for `double' value of mouse-1-click-follows-link (Bug#6807).
7633
7634 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7635
7636 * replace.el (replace-highlight): Bind isearch-forward and
7637 isearch-error, ensuring that highlighting is updated if the user
7638 switches the search direction (Bug#6808).
7639
7640 * isearch.el (isearch-lazy-highlight-forward): New var.
7641 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7642 (isearch-lazy-highlight-update): Use it.
7643
7644 2010-08-08 Kenichi Handa <handa@m17n.org>
7645
7646 * international/mule.el (define-charset): Store NAME as :base property.
7647 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7648 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7649 current priority. Force using the designation of the specific
7650 charset by adding `charset' text property. Improve the whole algorithm.
7651
7652 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * emulation/pc-select.el (pc-selection-mode-hook)
7655 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7656 (pc-selection-mode): Fix typos in docstrings.
7657
7658 2010-08-08 Kenichi Handa <handa@m17n.org>
7659
7660 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7661 ctext-non-standard-encodings-alist here.
7662
7663 * international/mule.el (ctext-non-standard-encodings-alist):
7664 Add "koi8-r" and "microsoft-cp1251".
7665 (ctext-standard-encodings): New variable.
7666 (ctext-non-standard-encodings-table): List only elements for
7667 non-standard encodings.
7668 (ctext-pre-write-conversion): Adjust for the above change.
7669 Check ctext-standard-encodings.
7670
7671 * international/mule-conf.el (compound-text): Doc fix.
7672 (ctext-no-compositions): Doc fix.
7673 (compound-text-with-extensions): Doc fix.
7674
7675 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7676
7677 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7678
7679 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7680
7681 * progmodes/which-func.el (which-func-format): Split help-echo text
7682 into lines, like other mode-line tooltips.
7683
7684 * server.el (server-start): When using TCP sockets, force IPv4
7685 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7686
7687 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7688
7689 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7690
7691 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7692
7693 * term.el (term-delimiter-argument-list): Reflow docstring.
7694 (term-read-input-ring, term-write-input-ring, term-send-input)
7695 (term-bol, term-erase-in-display, serial-supported-or-barf):
7696 Fix typos in docstrings.
7697
7698 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7701
7702 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7703
7704 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7705
7706 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7707
7708 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7709 Fix typo in docstring (bug#6747).
7710
7711 2010-08-08 Leo <sdl.web@gmail.com>
7712
7713 * eshell/esh-io.el (eshell-get-target): Better detection of
7714 read-only file (Bug#6762).
7715
7716 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7717
7718 * align.el (align-default-spacing): Doc fix.
7719 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7720
7721 2010-08-08 Stephen Peters <speters@itasoftware.com>
7722
7723 * calendar/icalendar.el
7724 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7725 (icalendar--get-weekday-numbers): New.
7726 (icalendar--convert-recurring-to-diary): Handle multiple byday
7727 values in weekly rules. (Bug#6766)
7728
7729 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7730
7731 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7732 (icalendar--create-uid, icalendar-export-region)
7733 (icalendar--parse-summary-and-rest): Code formatting.
7734
7735 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7736
7737 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7738 to italicize headers.
7739 (calc-highlight-selections-with-faces): New variable.
7740 (calc-selected-face, calc-nonselected-face): New faces.
7741
7742 * calc/calccomp.el (math-comp-highlight-string): Use
7743 `calc-highlight-selections-with-faces' to determine how to highlight
7744 sub-formulas.
7745
7746 * calc/calc-sel.el (calc-show-selections): Change message to when
7747 using faces to highlight selections.
7748
7749 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7750
7751 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7752 Add SQLite 3 keywords, functions and datatypes.
7753 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7754 (Bug#6686).
7755
7756 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7757
7758 * simple.el (select-active-regions): Move to keyboard.c.
7759 (deactivate-mark): Used saved-region-selection.
7760 (select-active-region): Function removed.
7761 (activate-mark, set-mark, push-mark-command)
7762 (handle-shift-selection): Don't call it.
7763 (keyboard-quit): Avoid adding the region to the window selection.
7764
7765 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7766 select-active-regions implementation.
7767 (mouse-yank-at-click): Doc fix.
7768
7769 * cus-start.el: Add custom declaration for select-active-regions.
7770
7771 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7772
7773 * simple.el (delete-forward-char): Doc fix.
7774
7775 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7776 after reading the tutorial.
7777
7778 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7779
7780 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7781 Fix for the case that a C style comment has its delimiters alone on
7782 their respective lines.
7783
7784 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7785
7786 * net/tramp.el (tramp-handle-start-file-process): Set connection
7787 property "vec".
7788 (tramp-process-sentinel): Use it for flushing the cache.
7789 We cannot do it via the process buffer, the buffer could be deleted
7790 already when running the sentinel.
7791
7792 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7793
7794 * comint.el (comint-mode): Make directory tracking functions
7795 functional on remote files. (Bug#6764)
7796
7797 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7798
7799 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7800
7801 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7802
7803 * emacs-lisp/find-gc.el (find-gc-source-files):
7804 Rename unexec.c => unexcoff.c.
7805
7806 * emacs-lisp/authors.el (authors-fixed-entries):
7807 Rename unexec.c => unexcoff.c.
7808
7809 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7810
7811 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7812 cache, not only file cache.
7813 (tramp-process-sentinel): New defun.
7814 (tramp-handle-start-file-process): Use it, in order to invalidate
7815 file caches.
7816
7817 2010-08-03 Leo <sdl.web@gmail.com>
7818
7819 * server.el (server-start): Simplify loop.
7820
7821 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7822
7823 * frame.el (screen-height, screen-width, set-screen-width)
7824 (set-screen-height): Remove ancient compatibility aliases.
7825
7826 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7827 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7828
7829 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7830 that change current buffer.
7831
7832 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7833
7834 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7835 beginning of the string. Use `string-match-p'. (Bug#6765)
7836
7837 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7838
7839 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7840
7841 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7842
7843 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7844 (package--builtins): Tweak descriptions.
7845 (package-print-package): Upcase descriptions if necessary.
7846 Show all built-in packages in font-lock-builtin-face.
7847 (package-list-packages-internal): Omit "emacs" package.
7848 Show status of built-in packages as "built-in".
7849
7850 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7851
7852 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7853 before killing to preserve the primary selection (Bug#6701).
7854
7855 * term/x-win.el (x-select-text): Doc fix.
7856
7857 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7858
7859 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7860 (objc-font-lock-extra-types):
7861 * progmodes/cc-mode.el (c-basic-common-init):
7862 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7863 (c++-make-template-syntax-table)
7864 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7865 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7866 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7867 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7868 * progmodes/cc-fonts.el (c-make-inverse-face)
7869 (c-basic-matchers-after):
7870 * progmodes/cc-engine.el (c-forward-keyword-clause)
7871 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7872 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7873 (c-guess-continued-construct, c-guess-basic-syntax):
7874 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7875 The above functions were modified or created.
7876
7877 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7878
7879 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7880
7881 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7882
7883 * files.el (bidi-paragraph-direction): Define safe local values.
7884
7885 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7886 language-info-alist. Remove outdated FIXME in a comment.
7887
7888 2010-07-31 Alan Mackenzie <acm@muc.de>
7889
7890 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7891 Auto-fill broken in C/C++ modes.
7892
7893 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7894
7895 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7896 (menu-bar-showhide-tool-bar-menu-customize-disable)
7897 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7898 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7899 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7900 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7901 make a menu for Options => toolbar that can move it.
7902
7903 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7904
7905 * emacs-lisp/package-x.el (package--make-rss-entry):
7906 (package-maint-add-news-item, package--update-news)
7907 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7908
7909 * emacs-lisp/package.el (package-archive-url): Rename from
7910 package-archive-id.
7911 (package-install): Doc fix.
7912 (package-download-single, package-download-tar, package-install)
7913 (package-menu-view-commentary): Callers changed.
7914
7915 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7916
7917 * net/tramp.el (tramp-handle-start-file-process): Check only for
7918 `remote-tty' process property.
7919 (tramp-open-shell): Don't check for tty.
7920 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7921 process property.
7922
7923 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7924 host.
7925
7926 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7927
7928 * emacs-lisp/package.el (package-load-list, package-archives)
7929 (package-archive-contents, package-user-dir)
7930 (package-directory-list, package--builtins, package-alist)
7931 (package-activated-list, package-obsolete-alist): Mark as risky.
7932
7933 2010-07-28 Phil Hagelberg <phil@evri.com>
7934
7935 Add support for non-default package repositories.
7936 * emacs-lisp/package.el (package-archive-base): Var deleted.
7937 (package-archives): New variable.
7938 (package-archive-contents): Doc fix.
7939 (package-load-descriptor): Do nothing if descriptor file is missing.
7940 (package--write-file-no-coding): New function.
7941 (package-unpack-single): Use it.
7942 (package-archive-id): New function.
7943 (package-download-single, package-download-tar)
7944 (package-menu-view-commentary): Use it.
7945 (package-installed-p): Make second argument optional.
7946 (package-read-all-archive-contents): New function.
7947 (package-initialize): Use it.
7948 (package-read-archive-contents): Add ARCHIVE argument.
7949 (package--add-to-archive-contents): New function.
7950 (package-install): Don't call package-read-archive-contents.
7951 (package--download-one-archive): Store archive file in a
7952 subdirectory of package-user-dir.
7953 (package-menu-execute): Remove spurious line movement.
7954
7955 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7956
7957 * cus-start.el (tool-bar-style): Add text-image-horiz.
7958
7959 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7960
7961 * progmodes/gud.el (gud-common-init): Check for remoteness of
7962 `file', and not of `default-directory'.
7963
7964 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7965
7966 * net/tramp.el (tramp-methods): Move hostname to the end in all
7967 ssh `tramp-login-args'.
7968 (tramp-verbose): Describe verbose level 9.
7969 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7970 (tramp-open-connection-setup-interactive-shell): Trace stty
7971 settings if `tramp-verbose' >= 9.
7972 (tramp-handle-start-file-process): Implement tty setting.
7973 (Bug#4604, Bug#6360)
7974
7975 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7976 `tramp-verbose' to 9.
7977
7978 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7979
7980 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7981 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7982 Remove references to package `lisp-re' (bug#4369).
7983
7984 2010-07-27 Tom Tromey <tromey@redhat.com>
7985
7986 * progmodes/js.el (js-mode):
7987 * progmodes/make-mode.el (makefile-mode):
7988 * progmodes/simula.el (simula-mode):
7989 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7990
7991 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7992
7993 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7994
7995 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7996 (display-time-world-buffer-name, display-time-world-mode-map):
7997 Fix typos in docstrings.
7998
7999 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8000
8001 * image-mode.el (image-display-size): New function.
8002 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8003 (image-mode-fit-frame): Use it (Bug#6639).
8004
8005 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8006
8007 * dired.el (dired-buffers-for-dir): Handle list values of
8008 dired-directory (Bug#6636).
8009
8010 2010-07-26 Sam Steingold <sds@gnu.org>
8011
8012 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8013 Do not call `x-get-selection' the second time, reuse the value.
8014
8015 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8016
8017 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8018 which consist of control chars only. Suggested by Richard Stallman.
8019
8020 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8021
8022 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8023 exists before passing an error to find-file-not-found-functions
8024 (bug#6723).
8025
8026 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8027
8028 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8029 Remove leading nil element, adjust values.
8030 (tetris-shapes, tetris-shape-scores):
8031 Change representation of shapes and remove some redundancy.
8032 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8033 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8034 Adjust for working with new representation of shapes.
8035 (tetris-shape-rotations): New function.
8036 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8037 (tetris-rotate-prev, tetris-rotate-next):
8038 Adjust for working with the new version of tetris-test-shape.
8039
8040 2010-07-23 Markus Triska <markus.triska@gmx.at>
8041
8042 * progmodes/ps-mode.el: Use comint (bug#5954).
8043 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8044 (ps-mode-other-newline): Simplify.
8045 (ps-run-mode): Derive from comint-mode instead of
8046 fundamental-mode, yielding input history etc.
8047 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8048 (ps-run-send-string): Adapt for comint-mode.
8049 (ps-run-newline): Remove now unneeded function.
8050
8051 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8052
8053 * net/tramp.el (tramp-methods): Move hostname to the end in all
8054 plink `tramp-login-args'.
8055
8056 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8057
8058 * net/tramp.el (tramp-open-shell): New defun.
8059 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8060 Use it.
8061
8062 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8063
8064 * net/tramp.el (tramp-file-name-regexp-unified)
8065 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8066 not regard the volume letter as remote filename. (Bug#5447)
8067
8068 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8069
8070 * custom.el (custom-declare-variable): Give a clearer error message
8071 when the docstring is missing (bug#6476).
8072
8073 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8074
8075 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8076 (sql-login-params): New widget definition.
8077 (sql-oracle-login-params, sql-mysql-login-params)
8078 (sql-solid-login-params, sql-sybase-login-params)
8079 (sql-informix-login-params, sql-ingres-login-params)
8080 (sql-ms-login-params, sql-postgres-login-params)
8081 (sql-interbase-login-params, sql-db2-login-params)
8082 (sql-linter-login-params): Use it.
8083 (sql-sqlite-login-params): Use it; Define "database" parameter as
8084 a file name.
8085 (sql-sqlite-program): Change to "sqlite3".
8086 (sql-comint-sqlite): Make sure database name is complete.
8087 (sql-for-each-login): New function.
8088 (sql-connect, sql-save-connection): Use it.
8089 (sql-get-login-ext): New function.
8090 (sql-get-login): Use it.
8091 (sql-make-alternate-buffer-name): Handle :file parameters.
8092
8093 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8094
8095 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8096 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8097
8098 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8099
8100 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8101
8102 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8103
8104 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8105
8106 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8107
8108 * net/tramp.el (tramp-get-ls-command)
8109 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8110 instead of "/".
8111
8112 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8113
8114 * progmodes/sql.el: Version 2.3.
8115 (sql-connection-alist): Change keys from symbols to strings;
8116 enhanced the widget definition.
8117 (sql-mode-menu): Add submenu to select connections.
8118 (sql-interactive-mode-menu): Add "Save Connection" item.
8119 (sql-add-product): Fix menu item.
8120 (sql-get-product-feature): Improved error handling.
8121 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8122 (sql-make-alternate-buffer-name): Simplified.
8123 (sql-product-interactive): Handle missing product.
8124 (sql-connect): Support string keys, minor improvements.
8125 (sql-save-connection): New function.
8126 (sql-connection-menu-filter): New function.
8127
8128 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8129
8130 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8131 (tramp-open-connection-setup-interactive-shell):
8132 Apply workaround for IRIX64 bug. Move argument of last
8133 `tramp-send-command' where it belongs to.
8134
8135 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8136
8137 * net/tramp.el (tramp-perl-file-attributes)
8138 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8139 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8140 front of `login-args'.
8141
8142 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8143
8144 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8145 Set `show-trailing-whitespace' to nil.
8146 (display-time-world-display): Simplify.
8147
8148 2010-07-18 Alan Mackenzie <acm@muc.de>
8149
8150 Enhance `c-file-style' in file/directory local variables.
8151 * progmodes/cc-mode.el (c-count-cfss): New function.
8152 (c-before-hack-hook): Call `c-set-style' differently according to
8153 whether c-file-style was set in file or directory local
8154 variables.
8155
8156 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8157
8158 * progmodes/sql.el: Version 2.2.
8159 (sql-product, sql-user, sql-database, sql-server, sql-port):
8160 Use defcustom :safe keyword rather than putting safe-local-variable
8161 property.
8162 (sql-password): Use defcustom :risky keyword rather than putting
8163 risky-local-variable property.
8164 (sql-oracle-login-params, sql-sqlite-login-params)
8165 (sql-solid-login-params, sql-sybase-login-params)
8166 (sql-informix-login-params, sql-ingres-login-params)
8167 (sql-ms-login-params, sql-postgres-login-params)
8168 (sql-interbase-login-params, sql-db2-login-params)
8169 (sql-linter-login-params): Add `port' option.
8170 (sql-get-product-feature): Add NO-INDIRECT parameter.
8171 (sql-comint-oracle, sql-comint-sybase)
8172 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8173 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8174 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8175 (sql-comint-linter): Rename sql-connect-* functions to
8176 sql-comint-*.
8177 (sql-product-alist, sql-mode-menu): Rename as above and
8178 :sqli-connect-func to :sqli-comint-func.
8179 (sql-connection): New variable.
8180 (sql-interactive-mode): Set it.
8181 (sql-connection-alist): New variable.
8182 (sql-connect): New function.
8183 (sql--alt-buffer-part, sql--alt-if-not-empty)
8184 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8185
8186 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8187
8188 * image-mode.el (image-bookmark-make-record): Do not set context
8189 in an image (Bug#6650).
8190
8191 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8192
8193 * simple.el (select-active-region): New function.
8194 (push-mark-command, set-mark, activate-mark)
8195 (handle-shift-selection): Use it.
8196 (deactivate-mark): Don't check for size of region.
8197
8198 * mouse.el (mouse-drag-track): Use select-active-region.
8199
8200 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8201
8202 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8203 "--dired" stronger.
8204
8205 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8206
8207 * term/x-win.el (x-select-enable-primary): Change default to nil.
8208 (x-select-enable-clipboard): Add :version keyword.
8209
8210 * mouse.el (mouse-drag-copy-region):
8211 * simple.el (select-active-regions): Likewise.
8212
8213 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8214
8215 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8216 (vc-coding-system-for-diff): Use it to decide whether to inherit
8217 from the file the EOL format for reading the diffs of that file.
8218 (Bug#4451)
8219
8220 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8221
8222 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8223 unibyte, so compressed attachments are not compressed again.
8224
8225 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8226
8227 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8228 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8229 (tramp-find-shell): Simplify setting connection property.
8230 (tramp-get-ls-command): Make test for "--color=never" stronger.
8231
8232 2010-07-15 Simon South <ssouth@member.fsf.org>
8233
8234 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8235 blocks within record declarations (i.e. variant parts) correctly.
8236
8237 2010-07-15 Simon South <ssouth@member.fsf.org>
8238
8239 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8240 over literal tokens when parsing so newlines aren't "absorbed" by
8241 single-line comments. Corrects the indentation of case blocks
8242 that have a comment on the first line.
8243
8244 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8245
8246 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8247 by Drew Adams (Bug#5504).
8248
8249 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8250
8251 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8252 now that Unicode is used (Bug#6594).
8253
8254 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8255
8256 * term/x-win.el (x-select-enable-clipboard): Default to t.
8257 (x-initialize-window-system): Don't overwrite Paste menu item.
8258
8259 * simple.el (select-active-regions): Default to t.
8260 (push-mark-command): Don't overwrite primary with empty string.
8261
8262 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8263 (mouse-drag-copy-region): Default to nil.
8264
8265 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8266 Cut/Copy/Paste menu bar items.
8267
8268 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8269
8270 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8271 Patch applied by Karl Fogel.
8272
8273 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8274 and `bookmark-current-buffer' if they have been already set in
8275 another buffer (e.g gnus-art).
8276
8277 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8278 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8279
8280 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8281
8282 * bookmark.el (bookmark-make-record-default): Allow unneeded
8283 information to be omitted from the record.
8284
8285 Adjust declarations and calls:
8286
8287 * info.el (bookmark-make-record-default): Adjust declaration.
8288 (Info-bookmark-make-record): Adjust call.
8289
8290 * woman.el (bookmark-make-record-default): Adjust declaration.
8291 (woman-bookmark-make-record): Adjust call.
8292
8293 * man.el (bookmark-make-record-default): Adjust declaration.
8294 (Man-bookmark-make-record): Adjust call.
8295
8296 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8297
8298 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8299
8300 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8301
8302 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8303 This is also from Thierry Volpiatto's patch in bug #6444. However,
8304 because it was extraneous to the functional change in that patch,
8305 and causes a re-indendation, I am committing it separately.
8306
8307 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8308
8309 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8310 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8311 Patch applied by Karl Fogel (Bug#6444).
8312
8313 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8314
8315 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8316
8317 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8318
8319 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8320 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8321 (ns-alternatives-map): Change S-tab binding to backtab
8322 (bug#6616).
8323
8324 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8325 under ns.
8326
8327 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8328
8329 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8330 (Bug#5806)
8331
8332 * language/tv-util.el (tai-viet-re): Remove format.
8333
8334 2010-07-12 Kenichi Handa <handa@m17n.org>
8335
8336 * language/hebrew.el: Remove no-byte-compile declaration.
8337 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8338 composition-function-table for 3-character looking back.
8339 (hebrew-font-get-precomposed): New function.
8340 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8341
8342 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8343
8344 * mouse.el (mouse-drag-track): Handle select-active-regions
8345 (Bug#6612).
8346
8347 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8348
8349 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8350 empty argument to gvfs-copy.
8351
8352 2010-07-10 Glenn Morris <rgm@gnu.org>
8353
8354 * calendar/calendar.el (calendar-week-end-day): New function.
8355 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8356 Respect calendar-week-start-day. (Bug#6606)
8357 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8358 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8359 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8360 respect calendar-week-start-day.
8361
8362 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8363
8364 * simple.el (use-region-p): Doc fix (Bug#6607).
8365
8366 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8367
8368 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8369 Add regexps for cucumber and ruby.
8370
8371 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8372
8373 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8374 (epa-file-insert-file-contents): Hack to prevent
8375 find-file from opening empty buffer when decryption failed
8376 (bug#6568).
8377
8378 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8379
8380 * textmodes/ispell.el (ispell-alternate-dictionary):
8381 Use file-readable-p.
8382 Return nil if no word-list is found at default locations.
8383 (ispell-complete-word-dict): Default to nil.
8384 (ispell-command-loop): Use 'word-list' when using lookup-words.
8385 (lookup-words): Use ispell-complete-word-dict or
8386 ispell-alternate-dictionary. Check for word-list availability
8387 and handle errors if needed with better messages (Bug#6539).
8388 (ispell-complete-word): Use ispell-complete-word-dict or
8389 ispell-alternate-dictionary.
8390
8391 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8392
8393 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8394 builtins (BufferError, BytesWarning, WindowsError; callables
8395 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8396
8397 2010-07-07 Glenn Morris <rgm@gnu.org>
8398
8399 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8400 (zone-shift-left): Ignore intangibility, and any errors from
8401 forward-char.
8402 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8403 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8404 deleting, and copying text properties.
8405 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8406 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8407 to point-max is hard.
8408 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8409 (zone-fill-out-screen): Ignore intangibility.
8410
8411 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8412
8413 * menu-bar.el (menu-bar-mode):
8414 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8415 if it has been set.
8416
8417 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8418 word/line selection (Bug#6565).
8419
8420 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8421
8422 * net/dbus.el (dbus-send-signal): Declare function.
8423
8424 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8425
8426 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8427 (dbus-register-property): New optional argument EMITS-SIGNAL.
8428 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8429
8430 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8431
8432 * mouse.el (mouse-drag-overlay): Variable deleted.
8433 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8434 (mouse--remap-link-click-p): New function.
8435 (mouse-drag-track): Handle dragging by using temporary Transient
8436 Mark mode, instead of a special overlay.
8437 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8438 mouse-show-mark.
8439
8440 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8441 deleted.
8442
8443 2010-07-02 Juri Linkov <juri@jurta.org>
8444
8445 * autoinsert.el (auto-insert-alist): Fix readability
8446 by using dotted pair notation for lambda.
8447
8448 2010-07-02 Juri Linkov <juri@jurta.org>
8449
8450 * faces.el (read-face-name): Rename arg `string-describing-default'
8451 to `default'. Doc fix. Display the default value in quotes
8452 in the prompt. With empty input, return the `default' arg,
8453 unless the default value is a string (in which case return nil).
8454 (describe-face): Replace the string `default' arg of `read-face-name'
8455 with the symbol `default'.
8456
8457 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8458
8459 * emulation/viper-cmd.el (viper-delete-backward-char)
8460 (viper-del-backward-char-in-insert)
8461 (viper-del-backward-char-in-replace, viper-change)
8462 (viper-backward-indent): Replace delete-backward-char with
8463 delete-char (Bug#6552).
8464
8465 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8466
8467 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8468
8469 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8470
8471 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8472 argument passed to frame-creation-function (Bug#5378).
8473
8474 * faces.el (x-handle-named-frame-geometry)
8475 (x-handle-reverse-video, x-create-frame-with-faces)
8476 (face-set-after-frame-default, tty-create-frame-with-faces):
8477 Don't separately consult default-frame-alist. It is now passed as the
8478 PARAMETER argument.
8479
8480 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8481
8482 * startup.el (command-line): Don't call tool-bar-setup in a
8483 tty-only build.
8484
8485 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8486
8487 * ruler-mode.el (ruler--save-header-line-format): New fun.
8488 (ruler-mode): Use it as a setter function, so as not to overwrite
8489 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8490
8491 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8492
8493 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8494 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8495 (vc-log-outgoing): Use it.
8496 (vc-diff-internal): Set diff-vc-backend.
8497
8498 * vc/diff-mode.el (diff-vc-backend): New var.
8499
8500 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8501
8502 * dynamic-setting.el (font-setting-change-default-font):
8503 Remove call to message.
8504
8505 2010-06-28 Kenichi Handa <handa@m17n.org>
8506
8507 * international/quail.el (quail-insert-kbd-layout): Fix the
8508 showing of untranslated characters.
8509
8510 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8511
8512 * simple.el (delete-active-region): New option.
8513 (delete-backward-char): Implement in Lisp.
8514 (delete-forward-char): New command.
8515
8516 * mouse.el (mouse-region-delete-keys): Deleted.
8517 (mouse-show-mark): Simplify.
8518
8519 * bindings.el (global-map): Bind delete and DEL, the former to
8520 delete-forward-char.
8521
8522 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8523
8524 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8525 (ruby-mode): Bind indent-line-function (Bug#5119).
8526
8527 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8528
8529 * startup.el (command-line): Recognize "0" X resource value.
8530
8531 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8532
8533 * startup.el (command-line): Use X resources to set the value of
8534 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8535
8536 * menu-bar.el (menu-bar-mode):
8537 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8538 Set init-value to t.
8539
8540 * frame.el (frame-notice-user-settings): Don't change
8541 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8542 vice versa (Bug#2249).
8543
8544 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8545
8546 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8547
8548 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8549
8550 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8551 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8552
8553 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8554 default directories are expanded (Bug#6143).
8555
8556 2010-06-24 Juri Linkov <juri@jurta.org>
8557
8558 * minibuffer.el (completions-format): Change default from nil to
8559 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8560
8561 2010-06-24 Juri Linkov <juri@jurta.org>
8562
8563 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8564 buffer-locally to lambda that re-runs the vc diff command.
8565 (Bug#6447)
8566
8567 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8568
8569 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8570 echo area is in use (Bug#3412).
8571
8572 2010-06-22 Glenn Morris <rgm@gnu.org>
8573
8574 * textmodes/texinfmt.el (texinfo-format-region)
8575 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8576 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8577 (texinfo-format-option, texinfo-noindent):
8578 Use line-beginning-position and line-end-position.
8579
8580 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8581 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8582 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8583 utf-8 characters.
8584
8585 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8586
8587 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8588 forward-line fallout.
8589
8590 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8591
8592 * mouse.el (mouse-appearance-menu): Add docstring.
8593
8594 * help.el (describe-key): Print up-event using key-description.
8595
8596 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8597
8598 * net/zeroconf.el (zeroconf-resolve-service)
8599 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8600 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8601
8602 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8603
8604 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8605
8606 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8607
8608 Avoid displaying files with a nil state in vc-dir.
8609 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8610 cases that cause insertion.
8611 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8612 with a nil state.
8613
8614 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8615
8616 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8617
8618 2010-06-29 Leo <sdl.web@gmail.com>
8619
8620 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8621
8622 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8623
8624 * generic-x.el (bat-generic-mode): Fix regexp for command line
8625 switches (Bug#5719).
8626
8627 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8628
8629 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8630 of nconc to avoid pure storage error (Bug#6239).
8631
8632 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8633
8634 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8635 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8636 bindings of bookmark-automatically-show-annotations (Bug#6515).
8637
8638 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8639
8640 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8641 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8642
8643 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8644
8645 * comint.el (make-comint, make-comint-in-buffer): Mention return
8646 value in the docstrings. (Bug#6498)
8647
8648 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8649
8650 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8651 since it is not present when using some non-default switches.
8652
8653 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8654
8655 * simple.el (compose-mail): Fix doc string to refer to
8656 `compose-mail-user-agent-warnings', instead of to the
8657 nonexistent `compose-mail-check-user-agent'.
8658
8659 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8660
8661 Fix an indentation bug:
8662
8663 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8664 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8665 of existing values.
8666
8667 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8668 (c-clear->-pair-props-if-match-before): now return t when they've
8669 cleared properties, nil otherwise.
8670 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8671 by taking account of the existing value.
8672
8673 * progmodes/cc-defs.el
8674 (c-clear-char-property-with-value-function): Fix this to clear the
8675 property rather than overwriting it with nil.
8676
8677 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8678
8679 * emacs-lisp/package.el (package-print-package): Add link to
8680 package description via describe-package.
8681 (describe-package-1): List package requirements. Add button to
8682 perform installation.
8683 (package-menu-describe-package): New command.
8684
8685 * help-mode.el (help-package): New button type.
8686
8687 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8688
8689 * emacs-lisp/package.el: Move package-list-packages binding to
8690 menu-bar.el.
8691 (describe-package, describe-package-1, package--dir): New funs.
8692 (package-activate-1): Use package--dir.
8693
8694 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8695
8696 * help-mode.el (help-package-def): New button type.
8697
8698 * menu-bar.el: Move package-list-packages binding here from
8699 package.el.
8700
8701 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8702
8703 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8704
8705 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * emacs-lisp/edebug.el (edebug-read-list):
8708 Phase out old-style backquotes.
8709
8710 2010-06-17 Juri Linkov <juri@jurta.org>
8711
8712 * help-mode.el (help-mode): Set buffer-local variable
8713 revert-buffer-function to help-mode-revert-buffer.
8714 (help-mode-revert-buffer): New function.
8715
8716 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8717 before popping to "*info*" (like in other Info functions).
8718 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8719 old-history-forward. Pop to old-buffer-name or "*info*" to
8720 recreate the killed buffer. Set Info-history-forward from
8721 old-history-forward.
8722 (Info-breadcrumbs-depth): Add :group and :version.
8723
8724 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8725
8726 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8727
8728 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8729
8730 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8731 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8732
8733 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8734
8735 * emacs-lisp/package.el (package-menu-mode-map):
8736 Move initialization into declaration.
8737
8738 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8739
8740 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8741
8742 * emacs-lisp/package.el (package-archive-base): Point to
8743 elpa.gnu.org.
8744 (package-enable, package-load-list): New defcustoms.
8745 (package-user-dir, package-directory-list): Turn into defcustoms.
8746 Don't include package-user-dir in package-directory-list.
8747 (package--builtins-base): Don't include Emacs as a "package".
8748 (package-subdirectory-regexp): New var.
8749 (package-load-all-descriptors, package-compute-transaction)
8750 (package-download-transaction): Obey package-load-list.
8751 (package-activate-1): Rename from package-do-activate.
8752 (package-list-packages-internal): Check package-load-list.
8753 (package-load-descriptor, package-generate-autoloads)
8754 (package-unpack, package-unpack-single)
8755 (package--read-archive-file, package-delete):
8756 Use expand-file-name.
8757
8758 * emacs-lisp/package-x.el: New file. Package uploading
8759 functionality split out from package.el.
8760
8761 * startup.el (command-line): Load packages after reading init file.
8762
8763 2010-06-17 Tom Tromey <tromey@redhat.com>
8764
8765 * emacs-lisp/package.el: New file.
8766
8767 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8768
8769 Fix vc-annotate for renamed files when using Git.
8770 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8771 ls-files. Doe not pass the object as a file name to cat-file, it
8772 is not a file name.
8773 (vc-git-annotate-command): Pass the file name using -- to avoid
8774 ambiguity with the revision.
8775 (vc-git-previous-revision): Pass a relative file name.
8776
8777 2010-06-22 Glenn Morris <rgm@gnu.org>
8778
8779 * progmodes/js.el (js-mode-map): Use standard capitalization and
8780 ellipses for menu entries.
8781
8782 * wid-edit.el (widget-complete): Doc fix.
8783
8784 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8785
8786 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8787
8788 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8789
8790 Fix annotating other revisions for renamed files in vc-annotate.
8791 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8792 VC backend. Use it when non-nil.
8793 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8794 (Bug#6487).
8795
8796 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8797 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8798 Do not pass the file name to the 'previous-revision call when we
8799 don't want a file diff. (Bug#6489)
8800
8801 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8802
8803 Fix finding revisions for renamed files in vc-annotate.
8804 * vc/vc.el (vc-find-revision): Add an optional argument for
8805 the VC backend. Use it when non-nil.
8806 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8807 backend to vc-find-revision. (Bug#6487)
8808
8809 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8810
8811 Fix reading file names in Git annotate buffers.
8812 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8813 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8814
8815 2010-06-20 Alan Mackenzie <acm@muc.de>
8816
8817 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8818 in file local variables, set it first.
8819
8820 2010-06-19 Glenn Morris <rgm@gnu.org>
8821
8822 * descr-text.el (describe-char-unicode-data): Insert separating
8823 space when needed. (Bug#6422)
8824
8825 * progmodes/idlwave.el (idlwave-action-and-binding):
8826 Fix typo in 2009-12-03 change. (Bug#6450)
8827
8828 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8831 handling for `lambda' (misunderstanding).
8832
8833 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8834
8835 * calc/calc-poly.el (math-accum-factors): Make sure that
8836 constants aren't distributed after they are factored out.
8837
8838 2010-06-16 Juri Linkov <juri@jurta.org>
8839
8840 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8841 `list-colors-print'. (Bug#6332)
8842
8843 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8844
8845 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8846
8847 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8848 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8849
8850 * font-lock.el (font-lock-major-mode): Rename from
8851 font-lock-mode-major-mode to distinguish it from
8852 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8853 (font-lock-set-defaults):
8854 * font-core.el (font-lock-default-function): Adjust users.
8855 (font-lock-mode): Don't set it at all.
8856
8857 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8858
8859 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8860
8861 2010-06-16 Glenn Morris <rgm@gnu.org>
8862
8863 * calendar/appt.el (appt-time-msg-list): Doc fix.
8864 (appt-check): Let-bind appt-warn-time.
8865 (appt-add): Make the 3rd argument optional.
8866 Simplify argument names. Doc fix. Check for integer WARNTIME.
8867 Only add WARNTIME to the output list if non-nil.
8868
8869 2010-06-16 Ivan Kanis <apple@kanis.eu>
8870
8871 * calendar/appt.el (appt-check): Let the 3rd element of
8872 appt-time-msg-list specify the warning time.
8873 (appt-add): Add new argument with the warning time. (Bug#5176)
8874
8875 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8876
8877 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8878 older than version 1.6. (Bug#6361)
8879
8880 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8881
8882 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8883 used by cl-do-arglist. (Bug#6408)
8884
8885 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8886
8887 * textmodes/ispell.el (ispell-dictionary-base-alist):
8888 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8889 Suggested by Rolando Pereira (bug#6434).
8890
8891 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8892
8893 * facemenu.el (list-colors-sort): Doc fix.
8894
8895 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8896
8897 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8898
8899 2010-06-14 Juri Linkov <juri@jurta.org>
8900
8901 Add sort option `list-colors-sort'. (Bug#6332)
8902 * facemenu.el (color-rgb-to-hsv): New function.
8903 (list-colors-sort): New defcustom.
8904 (list-colors-sort-key): New function.
8905 (list-colors-display): Doc fix. Sort list according to the option
8906 `list-colors-sort'.
8907 (list-colors-print): Add HSV values to `help-echo' property of
8908 RGB strings.
8909
8910 2010-06-14 Juri Linkov <juri@jurta.org>
8911
8912 * compare-w.el: Move to the "vc" subdirectory.
8913
8914 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * image-mode.el (image-mode-map): Remap left-char and right-char.
8917
8918 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8919
8920 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8921
8922 * term/common-win.el (x-colors): Add all the color names defined
8923 in rgb.txt (Bug#6332).
8924
8925 * facemenu.el (list-colors-print): Don't print extra names if it
8926 will overflow the window width.
8927
8928 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8929 change (Bug#6343).
8930
8931 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8932
8933 * files.el (make-directory): Doc fix (bug#6396).
8934
8935 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8936
8937 * net/tramp.el (tramp-remote-process-environment): Protect version
8938 string by apostroph.
8939 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8940 XEmacs.
8941 (tramp-file-name-for-operation): Add `call-process-region'.
8942 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8943
8944 * net/tramp-compat.el (top): Do not autoload
8945 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8946 only when `start-file-process' is not bound.
8947 (tramp-advice-file-expand-wildcards): Do not use
8948 `tramp-handle-file-remote-p'.
8949 (tramp-compat-make-temp-file): Handle the case, that
8950 `make-temp-file' has no third argument EXTENSION.
8951
8952 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8953
8954 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8955
8956 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8957
8958 2010-06-11 Juri Linkov <juri@jurta.org>
8959
8960 * finder.el (finder-known-keywords): Add keyword "vc"
8961 for version control.
8962
8963 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8964 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8965 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8966 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8967
8968 2010-06-11 Juri Linkov <juri@jurta.org>
8969
8970 Move version control related files to the "vc" subdirectory.
8971 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8972 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8973 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8974 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8975 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8976 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8977 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8978 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8979 Move files to the "vc" subdirectory.
8980
8981 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8982
8983 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8984 (Bug#6367).
8985
8986 2010-06-11 Stephen Eglen <stephen@gnu.org>
8987
8988 * shell.el: Bind `shell-resync-dirs' to M-RET.
8989
8990 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8991
8992 * notifications.el: Move file from lisp/net, because it is
8993 supposed to talk locally to the user.
8994
8995 2010-06-10 Julien Danjou <julien@danjou.info>
8996
8997 * net/notifications.el (notifications-on-action-signal)
8998 (notifications-on-closed-signal): Pass notification id as first
8999 argument to the callback functions. Add docstrings.
9000 (notifications-notify): Fix docstring.
9001
9002 2010-06-10 Glenn Morris <rgm@gnu.org>
9003
9004 * emacs-lisp/authors.el (authors-ignored-files)
9005 (authors-valid-file-names): Add some files.
9006
9007 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9010 merge conflict, giving preference to the emacs-23 version of the code.
9011
9012 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * emacs-lisp/advice.el (ad-compile-function):
9015 Define warning-suppress-types before we let-bind it (bug#6275).
9016
9017 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9018 declare it, make it buffer-local and permanent-local (bug#6324).
9019 (vc-resynch-window): Adjust name.
9020 * vc-hooks.el (vc-find-file-hook): Adjust name.
9021
9022 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9023
9024 * net/notifications.el (notifications-notify): Fix docstring.
9025
9026 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9027
9028 Update to Unicode 6.0.0 beta.
9029 * international/charprop.el: Update copyright.
9030 * international/mule-cmds.el (ucs-names): Update character ranges.
9031 * international/uni-bidi.el:
9032 * international/uni-category.el:
9033 * international/uni-combining.el:
9034 * international/uni-comment.el:
9035 * international/uni-decimal.el:
9036 * international/uni-decomposition.el:
9037 * international/uni-digit.el:
9038 * international/uni-lowercase.el:
9039 * international/uni-mirrored.el:
9040 * international/uni-name.el:
9041 * international/uni-numeric.el:
9042 * international/uni-old-name.el:
9043 * international/uni-titlecase.el:
9044 * international/uni-uppercase.el: Regenerate.
9045
9046 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9047
9048 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9049 (smie-precs-precedence-table): Fix typo in docstring.
9050
9051 * vc-mtn.el (log-edit-extract-headers): Declare function.
9052
9053 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9054
9055 * net/notifications.el (dbus-register-signal): Declare function.
9056 (notifications-notify): Fix typos and reflow docstring.
9057
9058 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9059
9060 Improve VC create/retrieve tag/branch.
9061 * vc.el (vc-create-tag): Do not read the directory name for VCs
9062 with repository revision granularity. Adjust the tag/branch
9063 prompt. Reset VC properties.
9064 (vc-retrieve-tag): Do not read the directory name for VCs
9065 with repository revision granularity. Reset VC properties.
9066
9067 2010-06-09 Julien Danjou <julien@danjou.info>
9068
9069 * net/notifications.el: New file.
9070
9071 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9072
9073 Add optional support for resetting VC properties.
9074 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9075 call vc-file-clearprops when true.
9076 (vc-resynch-buffer): Add new optional argument, pass it down.
9077 (vc-resynch-buffers-in-directory): Likewise.
9078
9079 Improve support for special markup in the VC commit message.
9080 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9081 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9082 * vc-git.el (vc-git-checkin):
9083 * vc-bzr.el (vc-bzr-checkin): Likewise.
9084
9085 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9087 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9088 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9089
9090 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9091
9092 * iimage.el: Remove images as soon as the underlying text is modified.
9093 (iimage-modification-hook): New function.
9094 (iimage-mode-buffer): Use it.
9095
9096 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9099 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9100 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9101 (smie-indent-keyword): Add handling of open-paren keywords.
9102 (smie-indent-comment-continue): Don't assume comment-continue.
9103
9104 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9105
9106 * window.el (pop-to-buffer): Remove the conditional that
9107 compares new-window and old-window, so it will reselect
9108 the selected window unconditionally.
9109 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9110
9111 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9112
9113 * emacs-lisp/smie.el (smie-indent-offset-after)
9114 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9115 (smie-indent-after-keyword): Use them.
9116 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9117 (smie-indent-keyword): Tweak the black magic.
9118 (smie-indent-comment-continue): Strip comment-continue before use.
9119 (smie-indent-functions): Indent comments before keywords.
9120
9121 2010-06-06 Juri Linkov <juri@jurta.org>
9122
9123 * isearch.el (isearch-lazy-highlight-search): Fix looping
9124 by checking for empty match. This syncs this loop with the
9125 similar loop in `isearch-search'. (Bug#6362)
9126
9127 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9128
9129 * net/dbus.el (dbus-register-method): Declare function.
9130 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9131 (dbus-introspect): Doc fix.
9132 (dbus-event-bus-name, dbus-introspect-get-interface)
9133 (dbus-introspect-get-argument): Reflow docstrings.
9134
9135 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9136
9137 vc-log-incoming/vc-log-outgoing fixes for Git.
9138 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9139 incoming/outgoing logs.
9140 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9141 instead of vc-git-compute-remote.
9142 (vc-git-compute-remote): Remove.
9143
9144 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9145
9146 * term/common-win.el (x-colors): Add "dark green" and "dark
9147 turquoise" (Bug#6332).
9148
9149 2010-06-04 Juri Linkov <juri@jurta.org>
9150
9151 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9152 Instead of setting `replace' to t and replacing the same string
9153 with itself, don't do certain actions when
9154 kill-do-not-save-duplicates is non-nil and string is equal to car
9155 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9156 interprogram-paste strings to kill-ring, and don't push the input
9157 argument `string' to kill-ring.
9158 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9159
9160 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9161
9162 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9163
9164 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9165
9166 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9167 (tramp-gvfs-handler-mounted-unmounted)
9168 (tramp-gvfs-connection-mounted-p): Handle default-location.
9169
9170 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9171 move files to trash.
9172
9173 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9174
9175 * international/mule-cmds.el (nonascii-insert-offset)
9176 (nonascii-translation-table): Add obsolescence information.
9177
9178 * international/mule.el (make-translation-table-from-vector): Doc fix.
9179
9180 2010-06-03 Glenn Morris <rgm@gnu.org>
9181
9182 * desktop.el (desktop-clear-preserve-buffers):
9183 Add "*Warnings*" buffer. (Bug#6336)
9184
9185 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9186
9187 vc-log-incoming/vc-log-outgoing improvements for Git.
9188 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9189 short log.
9190 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9191
9192 Add bindings for vc-log-incoming and vc-log-outgoing.
9193 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9194 and vc-log-outgoing.
9195 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9196 and vc-log-outgoing.
9197
9198 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9199
9200 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9201 (rcirc-handler-366): Always sort nicknames.
9202
9203 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9204
9205 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9206
9207 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9208
9209 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9210
9211 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9214 (rcirc-sort-nicknames-join): Avoid setq.
9215
9216 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9217
9218 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9219 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9220 (rcirc-handler-366): Use them.
9221
9222 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 Split smie-indent-calculate into more manageable chunks.
9225 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9226 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9227 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9228 (smie-indent-exps): Extract from smie-indent-calculate.
9229 (smie-indent-functions): New var.
9230 (smie-indent-functions): Use them.
9231
9232 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9235 (smie-indent-calculate): Simplify and cleanup.
9236
9237 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9238
9239 * net/tramp-gvfs.el (top): Require url-util.
9240 (tramp-gvfs-mount-point): Remove.
9241 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9242 New defuns.
9243 (with-tramp-dbus-call-method): Format trace message.
9244 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9245 Implement backup call, when operation on local files fails.
9246 Use progress reporter. Flush properties of changed files.
9247 (tramp-gvfs-handle-make-directory): Make more traces.
9248 (tramp-gvfs-url-file-name): Hexify file name in url.
9249 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9250 into account for the resulting file name.
9251 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9252 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9253 (tramp-gvfs-handler-mounted-unmounted)
9254 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9255 attribute "default_location". Set "prefix" property.
9256 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9257 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9258 exists. Raise an error, if not (due to a corresponding answer
9259 "no" in interactive questions, for example).
9260
9261 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9262
9263 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9264
9265 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9266
9267 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9268 right-*. (Bug#6265)
9269
9270 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9271
9272 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9273 * vc-git.el (vc-git-compute-remote): New function.
9274 (vc-git-log-outgoing): Use it instead of hard coding a value.
9275 (vc-git-log-incoming): New function.
9276
9277 Improve state updating for VC tag commands.
9278 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9279 to update the state of all buffers in the directory.
9280
9281 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9282
9283 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9286 `file-directory-p' to the filename part rather than to the whole text.
9287
9288 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9289
9290 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9291
9292 2010-05-31 Drew Adams <drew.adams@oracle.com>
9293
9294 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9295
9296 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9297
9298 * subr.el (momentary-string-display): Just use read-event to read
9299 the exit event (Bug#6238).
9300
9301 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9302
9303 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9304
9305 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9306
9307 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9308 Suggested by Eli Zaretskii <eliz@gnu.org>.
9309
9310 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * minibuffer.el (completion-file-name-table): Don't return a boundary
9313 past the end of `string' (bug#6299).
9314 (completion--file-name-table): Delegate to completion-file-name-table
9315 for the `boundaries' case.
9316
9317 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9318
9319 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9320 movement commands.
9321
9322 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9323 `path-separator', but maintain compatibility with Emacs 20.2.
9324
9325 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9326
9327 * server.el (server-process-filter): Receive parent-id argument
9328 from emacsclient.
9329 (server-create-window-system-frame): New arg. Pass parent-id as
9330 frame parameter.
9331
9332 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9333
9334 Bidi-sensitive word movement with arrow keys.
9335 * subr.el (right-arrow-command, left-arrow-command): Move to
9336 bindings.el.
9337
9338 * bindings.el (right-char, left-char): Move from subr.el and
9339 rename from right-arrow-command and left-arrow-command.
9340 (right-word, left-word): New functions.
9341 (global-map) <right>: Bind to right-char.
9342 (global-map) <left>: Bind to left-char.
9343 (global-map) <C-right>: Bind to right-word.
9344 (global-map) <C-left>: Bind to left-word.
9345
9346 * ls-lisp.el (ls-lisp-classify-file): New function.
9347 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9348 (ls-lisp-classify): Call ls-lisp-classify-file.
9349 (insert-directory): Remove blanks from switches.
9350
9351 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9352
9353 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9354 (ansi-color-drop-regexp): New constant.
9355 (ansi-color-apply, ansi-color-filter-region)
9356 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9357 (ansi-color-apply): Build string list before calling concat.
9358
9359 2010-05-28 Juri Linkov <juri@jurta.org>
9360
9361 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9362 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9363 (Bug#5270)
9364
9365 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9366
9367 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9368 to ignored backtrace functions.
9369 (with-progress-reporter): Expand docstring.
9370 (tramp-handle-delete-file): Implement TRASH argument.
9371 (tramp-get-remote-trash): New defun.
9372
9373 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9374
9375 * net/tramp-compat.el (tramp-compat-delete-file):
9376 Use `symbol-value' for backward compatibility.
9377
9378 * net/tramp.el (tramp-handle-make-symbolic-link)
9379 (tramp-handle-load)
9380 (tramp-do-copy-or-rename-file-via-buffer)
9381 (tramp-do-copy-or-rename-file-directly)
9382 (tramp-do-copy-or-rename-file-out-of-band)
9383 (tramp-handle-process-file, tramp-handle-call-process-region)
9384 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9385 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9386 (tramp-delete-temp-file-function): Use `delete-file' instead
9387 of `tramp-compat-delete-file'.
9388
9389 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9390 (tramp-fish-handle-make-symbolic-link)
9391 (tramp-fish-handle-process-file): Use `delete-file' instead
9392 of `tramp-compat-delete-file'.
9393
9394 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9395 Use `delete-file' instead of `tramp-compat-delete-file'.
9396
9397 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9398 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9399 `tramp-compat-delete-file'.
9400
9401 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9402 Use `delete-file' instead of `tramp-compat-delete-file'.
9403
9404 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9405 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9406 (tramp-smb-handle-write-region): Use `delete-file' instead of
9407 `tramp-compat-delete-file'.
9408 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9409
9410 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9411
9412 * dired.el (dired-delete-file): New arg TRASH.
9413 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9414 (dired-do-flagged-delete, dired-do-delete): Use trash.
9415
9416 * speedbar.el (speedbar-item-delete): Allow trashing.
9417
9418 * files.el (delete-directory): New arg TRASH.
9419
9420 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9421 (ange-ftp-rename-remote-to-remote)
9422 (ange-ftp-rename-local-to-remote)
9423 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9424 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9425 `delete-file'.
9426 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9427 allow trashing.
9428
9429 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9430 handle new TRASH arg of `delete-file'.
9431
9432 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9433 (tramp-handle-make-symbolic-link, tramp-handle-load)
9434 (tramp-do-copy-or-rename-file-via-buffer)
9435 (tramp-do-copy-or-rename-file-directly)
9436 (tramp-do-copy-or-rename-file-out-of-band)
9437 (tramp-handle-process-file, tramp-handle-call-process-region)
9438 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9439 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9440 (tramp-delete-temp-file-function): Use null TRASH arg in
9441 tramp-compat-delete-file call.
9442
9443 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9444 (tramp-fish-handle-delete-file)
9445 (tramp-fish-handle-make-symbolic-link)
9446 (tramp-fish-handle-process-file): Use null TRASH arg in
9447 `tramp-compat-delete-file' call.
9448
9449 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9450 arg in `tramp-compat-delete-file' call.
9451
9452 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9453 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9454 `tramp-compat-delete-file' call.
9455
9456 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9457 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9458 `tramp-compat-delete-file' call.
9459
9460 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9461 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9462 (tramp-smb-handle-write-region): Use null TRASH arg in
9463 tramp-compat-delete-file call.
9464 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9465 (tramp-smb-handle-delete-file): Rename arg.
9466
9467 * diff.el (diff-sentinel):
9468 * epg.el (epg--make-temp-file, epg-decrypt-string)
9469 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9470 * jka-compr.el (jka-compr-partial-uncompress)
9471 (jka-compr-call-process, jka-compr-write-region):
9472 * server.el (server-sentinel): Remove optional arg from
9473 delete-file, reverting 2010-05-03 change.
9474
9475 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9476
9477 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9478 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9479
9480 2010-05-27 Kenichi Handa <handa@m17n.org>
9481
9482 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9483 element of GSTRING is nil.
9484
9485 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * emacs-lisp/smie.el (smie-forward-token-function)
9488 (smie-backward-token-function): New vars.
9489 (smie-backward-sexp, smie-forward-sexp)
9490 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9491 (smie-default-backward-token): Rename from smie-backward-token and
9492 skip comments.
9493 (smie-default-forward-token): Rename from smie-forward-token and
9494 skip comments.
9495 (smie-next-sexp): Handle nil results from next-token.
9496 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9497
9498 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9499
9500 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9501 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9502
9503 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9504
9505 * htmlfontify.el (hfy-face-resolve-face): New function.
9506 (hfy-face-to-style): Use it (Bug#6279).
9507
9508 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9511 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9512
9513 2010-05-26 Glenn Morris <rgm@gnu.org>
9514
9515 * emulation/edt.el (edt-load-keys): Use locate-library.
9516
9517 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9518
9519 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9520 (log-edit-changelog-entries): Doc fix.
9521 (log-edit-changelog-insert-entries): Args changed.
9522 Rename relative filenames in ChangeLog entries. Delete tabs.
9523 (log-edit-insert-changelog-entries): Reorganize return value of
9524 `log-edit-changelog-entries' to pass filenames to
9525 log-edit-changelog-insert-entries.
9526
9527 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9528
9529 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9530 `image-dired-dired-insert-marked-thumbs' to
9531 `image-dired-dired-toggle-marked-thumbs'.
9532
9533 * image-dired.el: Require cl when compiling.
9534 (image-dired-dired-toggle-marked-thumbs): Rename from
9535 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9536 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9537 to 'no-dir. Skip files whose names don't match
9538 `image-file-name-regexp'. When file has a thumbnail overlay,
9539 delete it. (Bug#5270)
9540
9541 2010-05-25 Juri Linkov <juri@jurta.org>
9542
9543 * image-mode.el (image-mode): Add image-after-revert-hook to
9544 after-revert-hook.
9545 (image-after-revert-hook): New function. (Bug#5669)
9546
9547 2010-05-25 Juri Linkov <juri@jurta.org>
9548
9549 * image.el (image-animated-p): When delay between animated images
9550 is 0, set it to 10 (0.1 sec). (Bug#6258)
9551
9552 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9553
9554 * net/tramp.el (tramp-handle-insert-directory): Don't use
9555 `forward-word', its default syntax could be changed.
9556
9557 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9558
9559 * net/tramp.el (tramp-progress-reporter-update): New defun.
9560 (with-progress-reporter): Use it.
9561 (tramp-process-actions):
9562 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9563 Preserve current message, in order to let progress reporter continue
9564 afterwards. (Bug#6257)
9565
9566 2010-05-25 Glenn Morris <rgm@gnu.org>
9567
9568 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9569 Add :version.
9570
9571 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9572
9573 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9574 (rcirc-default-full-name): Change to "unknown".
9575 (rcirc-user-name-history): Add variable.
9576
9577 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9578 Jonathan Rockway <jon@jrock.us>
9579
9580 * net/rcirc.el (rcirc-server-alist): Add :pass.
9581 (rcirc): When prompting for connection parameters, also prompt for
9582 username and password.
9583 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9584 value to server when connecting.
9585
9586 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9589 (smie-merge-prec2s): Pass the tables as separate args.
9590 (smie-bnf-precedence-table): Adjust call accordingly.
9591 (smie-prec2-levels): Set levels at the end.
9592
9593 Replace Lisp calls to delete-backward-char by delete-char.
9594 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9595 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9596 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9597 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9598 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9599 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9600 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9601 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9602 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9603 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9604 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9605 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9606 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9607 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9608 delete-backward-char by calls to delete-char.
9609
9610 2010-05-25 Kenichi Handa <handa@m17n.org>
9611
9612 * language/hebrew.el (hebrew-shape-gstring): New function.
9613 Register it in composition-function-table for all Hebrew combining
9614 characters.
9615
9616 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9617
9618 * epa.el (epa--select-keys): Don't explicitly delete the window since
9619 that can fail (e.g. sole window in frame). Use dedication instead.
9620
9621 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9622
9623 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9624
9625 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9626
9627 * image.el (image-refresh): Define as an alias for image-flush.
9628
9629 * image-mode.el (image-toggle-display-image): Caller changed.
9630
9631 2010-05-21 Juri Linkov <juri@jurta.org>
9632
9633 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9634 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9635 whitespace, call wildcard-to-regexp on substrings and concat them
9636 with "\\|". (Bug#6114)
9637
9638 2010-05-21 Alan Mackenzie <acm@muc.de>
9639
9640 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9641 Replace parameter `here' with `here-' and `here-plus', which sandwich
9642 any pertinent CPP construct.
9643 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9644 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9645 CPP construct from taking part in the scanning.
9646
9647 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9648
9649 * net/tramp.el (tramp-do-copy-or-rename-file)
9650 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9651 Tune `with-progress-reporter' messages.
9652 (tramp-handle-vc-registered):
9653 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9654 (tramp-fish-handle-insert-file-contents)
9655 (tramp-fish-maybe-open-connection):
9656 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9657 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9658 (tramp-imap-handle-insert-file-contents)
9659 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9660
9661 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9662
9663 * add-log.el (change-log-font-lock-keywords):
9664 Highlight all authors in multi-author entries.
9665
9666 * smerge-mode.el (smerge-refine-ignore-whitespace)
9667 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9668 Fix typos in docstrings.
9669 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9670
9671 2010-05-21 Glenn Morris <rgm@gnu.org>
9672
9673 * progmodes/fortran.el (fortran-mode):
9674 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9675
9676 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9677 having a relative path in src/Makefile.in.
9678
9679 2010-05-20 Kevin Ryde <user42@zip.com.au>
9680
9681 * help-mode.el (help-make-xrefs): For Info node links turn
9682 newlines into spaces. Link node names with newlines are matched
9683 by help-xref-info-regexp and buttonized, this change ensures they
9684 can be followed successfully with RET. (Bug#6206)
9685
9686 2010-05-20 Juri Linkov <juri@jurta.org>
9687
9688 * locate.el (locate): Use pop-to-buffer instead of
9689 switch-to-buffer-other-window. (Bug#6204)
9690
9691 2010-05-20 Juri Linkov <juri@jurta.org>
9692
9693 * replace.el (replace-highlight): Fix lazy-highlighting
9694 for `M-s w str M-% str RET'.
9695
9696 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9697
9698 * isearch.el (isearch-yank-word-or-char): Pull next subword
9699 when `subword-mode' is activated. (Bug#6220)
9700
9701 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9702
9703 * isearch.el (isearch-update-post-hook): New hook.
9704 (isearch-update): Use the new hook. (Bug#6225)
9705
9706 2010-05-20 Juri Linkov <juri@jurta.org>
9707
9708 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9709 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9710 (Bug#6222)
9711
9712 2010-05-20 Juri Linkov <juri@jurta.org>
9713
9714 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9715 (Bug#6223)
9716
9717 2010-05-20 Juri Linkov <juri@jurta.org>
9718
9719 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9720 FILE-NAME to read from the minibuffer when called interactively
9721 with prefix argument instead of using buffer-file-name.
9722 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9723
9724 * dired.el: Update autoloads.
9725
9726 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9727
9728 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9729 nxml-finish-element, for consistency with SGML mode.
9730
9731 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9732 octave-close-block.
9733
9734 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9735
9736 * composite.el: Require cl when compiling.
9737 (reference-point-alist, compose-gstring-for-graphic)
9738 (compose-gstring-for-terminal): Fix typos in docstrings.
9739
9740 2010-05-19 Juri Linkov <juri@jurta.org>
9741
9742 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9743 set-window-parameter.
9744
9745 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9746
9747 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9748 where appropriate.
9749 (tramp-maybe-open-connection): Use it.
9750
9751 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9752
9753 * simple.el (move-end-of-line): Make sure we are at line beginning
9754 before backing up to end of previous line.
9755
9756 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9757
9758 * password-cache.el (password-cache-remove): Fix docstring.
9759
9760 * net/secrets.el: Autoload the widget functions.
9761 (secrets-search-items, secrets-create-item)
9762 (secrets-get-attributes, secrets-expand-item): Attributes will be
9763 stored on the password database without leading ":", as all other
9764 clients do as well.
9765 (secrets-mode): Fix docstring.
9766 (secrets-show-secrets): Provide it as autoloaded command only when
9767 D-Bus support is available. Check existence of Secret Service API.
9768
9769 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * indent.el (indent-region): Deactivate region (bug#6200).
9772
9773 2010-05-19 Glenn Morris <rgm@gnu.org>
9774
9775 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9776
9777 2010-05-19 Kenichi Handa <handa@m17n.org>
9778
9779 * composite.el: Register compose-gstring-for-graphic in
9780 composition-function-table only for combining characters (Mn, Mc, Me).
9781
9782 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9783
9784 * calc/calc-trail.el (calc-trail-isearch-forward)
9785 (calc-trail-isearch-backward): Ensure that the new window
9786 point is set correctly.
9787
9788 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * subr.el (read-quoted-char): Resolve modifiers after key
9791 remapping (bug#6212).
9792
9793 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9794
9795 Add visualization code for secrets.
9796 * net/secrets.el (secrets-mode): New major mode.
9797 (secrets-show-secrets, secrets-show-collections)
9798 (secrets-expand-collection, secrets-expand-item)
9799 (secrets-tree-widget-after-toggle-function)
9800 (secrets-tree-widget-show-password): New defuns.
9801
9802 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9805 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9806 handled in smie-next-sexp.
9807 (smie-indent-calculate): Provide a starting indentation (so the
9808 recursion is well-founded ;-).
9809
9810 Fix handling of non-associative equal levels.
9811 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9812 when it's not needed.
9813 (smie-op-left, smie-op-right): New functions.
9814 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9815 Better handle equal levels to distinguish the associative case from
9816 the "multi-keyword construct" case.
9817 (smie-backward-sexp, smie-forward-sexp): Use it.
9818
9819 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9820
9821 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9822
9823 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9824 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9825
9826 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9827
9828 Provide a simple generic indentation engine and use it for Prolog.
9829 * emacs-lisp/smie.el: New file.
9830 * progmodes/prolog.el (prolog-smie-op-levels)
9831 (prolog-smie-indent-rules): New var.
9832 (prolog-mode-variables): Use them to configure SMIE.
9833 (prolog-indent-line, prolog-indent-level): Remove.
9834
9835 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9836
9837 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9838 order before computing the averages.
9839
9840 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9841
9842 * calc/calc-vec.el (calc-histogram):
9843 (calcFunc-histogram): Allow vectors as inputs.
9844 (math-vector-avg): New function.
9845
9846 * calc/calc-ext.el (math-group-float): Have the number of digits
9847 being grouped depend on the radix (Bug#6189).
9848
9849 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9850
9851 * version.el (emacs-copyright, emacs-version): Don't define here,
9852 now that emacs.c defines it.
9853
9854 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9855
9856 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9857 "Describe Language Environment" menu item.
9858
9859 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9860
9861 Bidi-sensitive movement with arrow keys.
9862 * subr.el (right-arrow-command, left-arrow-command): New functions.
9863
9864 * bindings.el (global-map): Bind them to right and left arrow keys.
9865
9866 Don't override standard definition of convert-standard-filename.
9867 * files.el (convert-standard-filename):
9868 Call w32-convert-standard-filename and dos-convert-standard-filename on
9869 the corresponding systems.
9870
9871 * w32-fns.el (w32-convert-standard-filename): Rename from
9872 convert-standard-filename. Doc fix.
9873
9874 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9875 (convert-standard-filename): Don't defalias.
9876 (register-name-alist, make-register, register-value)
9877 (set-register-value, intdos): Obsolete aliases for the
9878 corresponding dos-* functions and variables.
9879 (dos-intdos): Add a doc string.
9880
9881 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9882
9883 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9884 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9885 (math-compose-tex-func):
9886 * calc/calccomp.el (math-compose-expr):
9887 * calc/calc-ext.el (math-format-flat-expr-fancy):
9888 * calc/calc-store.el (calc-read-var-name):
9889 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9890
9891 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9892 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9893 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9894 (math-standard-units): Add units.
9895
9896 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * progmodes/asm-mode.el (asm-mode):
9899 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9900
9901 * pcomplete.el (pcomplete-completions-at-point): New function,
9902 extracted from pcomplete-std-complete.
9903 (pcomplete-std-complete): Use it.
9904
9905 2010-05-15 Glenn Morris <rgm@gnu.org>
9906
9907 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9908 Remove references to CVS, RCS and Old directories.
9909
9910 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9911
9912 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9913 appropriate.
9914
9915 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9916
9917 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9918 (sh-mode-syntax-table): Give it a default value instead.
9919 (sh-header-marker): Make buffer-local.
9920 (sh-mode): Move make-local-variable to the corresponding setq.
9921 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9922 Use complete-with-action.
9923
9924 * simple.el (prog-mode): New (abstract) major mode.
9925 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9926 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9927
9928 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9929
9930 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9931 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9932 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9933 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9934 (sql-escape-newlines-filter, sql-input-sender)
9935 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9936
9937 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9938
9939 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9940
9941 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9942 latex-open-block and C-c / to latex-close-block.
9943
9944 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9945 and C-c C-e to sgml-close-tag.
9946
9947 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9948
9949 * net/tramp.el (with-progress-reporter): Create reporter object
9950 only when the message would be displayed. Handle nested calls.
9951 (tramp-handle-load, tramp-handle-file-local-copy)
9952 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9953 (tramp-maybe-send-script, tramp-find-shell):
9954 Use `with-progress-reporter'.
9955 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9956 Fix message text.
9957
9958 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9959 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9960 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9961 Use `with-progress-reporter'.
9962
9963 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9964
9965 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9966 process everytime when spellchecking from the minibuffer (bug#6143).
9967
9968 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9971
9972 * dos-fns.el: Add "dos-" prefix for namespace control.
9973 (convert-standard-filename): Define as alias for
9974 dos-convert-standard-filename but only if applicable.
9975
9976 2010-05-12 Alan Mackenzie <acm@muc.de>
9977
9978 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9979 Push the mark at the start of these functions when appropriate.
9980
9981 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * minibuffer.el (completion-cycle-threshold): New custom var.
9984 (completion--do-completion): Use it.
9985 (minibuffer-complete): Use cycling if appropriate.
9986
9987 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9988
9989 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9990 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9991
9992 2010-05-11 Juri Linkov <juri@jurta.org>
9993
9994 * scroll-all.el (scroll-all-check-to-scroll):
9995 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9996
9997 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * iimage.el (iimage-mode-map): Move initialization into declaration.
10000 (iimage-mode-buffer): Use with-silent-modifications.
10001 Simplify calling convention. Adjust callers.
10002 (iimage-mode): Don't run hook redundantly.
10003
10004 * minibuffer.el (completion-pcm--pattern->regex):
10005 Fix last change (bug#6160).
10006
10007 2010-05-10 Juri Linkov <juri@jurta.org>
10008
10009 Remove nodes visited during Isearch from the Info history.
10010 * info.el (Info-isearch-initial-history)
10011 (Info-isearch-initial-history-list): New variables.
10012 (Info-isearch-start): Record initial values of
10013 Info-isearch-initial-history and Info-isearch-initial-history-list.
10014 Add Info-isearch-end to isearch-mode-end-hook.
10015 (Info-isearch-end): New function.
10016
10017 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10018
10019 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10020 format string, in order to work around a bug in pdksh.
10021 Reported by Gilles Pion <gpion@lfdj.com>.
10022 (tramp-handle-verify-visited-file-modtime): Do not send a command
10023 when the connection is not established.
10024 (tramp-handle-set-file-times): Simplify the check for utc.
10025
10026 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10027
10028 Fix use of `filter-buffer-substring' (rework previous change).
10029 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10030 (cua-repeat-replace-region):
10031 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10032 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10033 (cua-cut-region-to-global-mark): Use it.
10034
10035 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10036
10037 * progmodes/sql.el: Version 2.1.
10038 (sql-product-alist): Redesign structure of product info.
10039 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10040 (sql-port, sql-port-history): New variables.
10041 (sql-interactive-product): New variable.
10042 (sql-send-terminator): New variable.
10043 (sql-imenu-generic-expression): Add "Types" imenu entry.
10044 (sql-oracle-login-params, sql-sqlite-login-params)
10045 (sql-mysql-login-params, sql-solid-login-params)
10046 (sql-sybase-login-params, sql-informix-login-params)
10047 (sql-ingres-login-params, sql-ms-login-params)
10048 (sql-postgres-login-params, sql-interbase-login-params)
10049 (sql-db2-login-params, sql-linter-login-params)
10050 (sql-oracle-scan-on): New variables.
10051 (sql-mode-map): Add C-c C-i to start interactive mode.
10052 (sql-mode-menu): Update existing menu entries.
10053 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10054 (sql-mode-oracle-font-lock-keywords)
10055 (sql-mode-postgres-font-lock-keywords)
10056 (sql-mode-ms-font-lock-keywords)
10057 (sql-mode-sybase-font-lock-keywords)
10058 (sql-mode-informix-font-lock-keywords)
10059 (sql-mode-interbase-font-lock-keywords)
10060 (sql-mode-ingres-font-lock-keywords)
10061 (sql-mode-solid-font-lock-keywords)
10062 (sql-mode-mysql-font-lock-keywords)
10063 (sql-mode-sqlite-font-lock-keywords)
10064 (sql-mode-db2-font-lock-keywords)
10065 (sql-mode-linter-font-lock-keywords): Update initialization to
10066 reduce run-time complexity.
10067 (sql-add-product, sql-del-product): New functions.
10068 (sql-set-product-feature, sql-get-product-feature): New functions.
10069 (sql-product-font-lock): Update product API.
10070 (sql-add-product-keywords): New function.
10071 (sql-highlight-product): Update product API.
10072 (sql-help-list-products): New function.
10073 (sql-help): Dynamically lists free and non-free products.
10074 (sql-get-login): Correct bug in handling history and added
10075 prompt for port.
10076 (sql-copy-column): Copy without properties.
10077 (sqli-input-sender): Apply filters to SQLi input.
10078 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10079 Implement as a filter.
10080 (sql-escape-newlines-filter): Implement as a filter.
10081 (sql-remove-tabs-filter): New function.
10082 (sql-send-magic-terminator): New function.
10083 (sql-send-string): Implement magic terminator.
10084 (sql-send-region): Use `sql-send-string'.
10085 (sql-interactive-mode): Use product API.
10086 (sql-product-interactive): Use product API.
10087 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10088 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10089 (sql-db2, sql-linter): Use `sql-product-interactive'.
10090 (sql-connect): New function.
10091 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10092 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10093 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10094 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10095 Use `sql-connect'.
10096
10097 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10098
10099 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10100 New custom variable.
10101 (completion-pcm--string->pattern): Use it.
10102 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10103 Make it handle any symbol as `any'.
10104 (completion-pcm--merge-completions): Extract common suffix for the new
10105 `prefix' symbol as well.
10106 (completion-substring--all-completions): Use the new `prefix' symbol.
10107
10108 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10109
10110 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10111 not bound.
10112 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10113 (tramp-compat-funcall): New defmacro.
10114 (tramp-compat-line-beginning-position)
10115 (tramp-compat-line-end-position)
10116 (tramp-compat-temporary-file-directory)
10117 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10118 (tramp-compat-copy-file, tramp-compat-copy-directory)
10119 (tramp-compat-delete-file, tramp-compat-delete-directory)
10120 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10121 * net/tramp.el (top, with-progress-reporter)
10122 (tramp-rfn-eshadow-setup-minibuffer)
10123 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10124 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10125 (tramp-completion-mode-p, tramp-check-for-regexp)
10126 (tramp-open-connection-setup-interactive-shell)
10127 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10128 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10129 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10130 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10131 (tramp-reporter-dump-variable, tramp-load-report-modules)
10132 (tramp-append-tramp-buffers)
10133 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10134
10135 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10136
10137 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10140 buffer-modtime. Adjust users.
10141
10142 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10143
10144 * international/mule.el (auto-coding-alist): Only purecopy
10145 car of each item, not the whole list (Bug#6083).
10146
10147 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10148
10149 * progmodes/js.el (js-mode): Make paragraph variables local before
10150 calling c-setup-paragraph-variables (Bug#6071).
10151
10152 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10153
10154 * composite.el (compose-region, reference-point-alist): Fix typos
10155 in the doc strings.
10156
10157 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10158
10159 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10160 gnuplot's "set" command.
10161
10162 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10163
10164 * abbrev.el (last-abbrev-text): Doc fix.
10165 (abbrev-prefix-mark): Don't escape parenthesis.
10166
10167 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10168
10169 * composite.el (find-composition): Doc fix.
10170
10171 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10172
10173 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10174 (sql-oracle-program, sql-sqlite-options)
10175 (sql-query-placeholders-and-send): Doc fixes.
10176 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10177 (sql-imenu-generic-expression, sql-buffer)
10178 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10179 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10180 (sql-mode-sybase-font-lock-keywords)
10181 (sql-mode-informix-font-lock-keywords)
10182 (sql-mode-interbase-font-lock-keywords)
10183 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10184 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10185 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10186 (sql-product-feature, sql-highlight-product)
10187 (comint-line-beginning-position, sql-rename-buffer)
10188 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10189 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10190 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10191 Fix typos in docstrings.
10192
10193 2010-05-08 Juri Linkov <juri@jurta.org>
10194
10195 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10196 property instead of `invisible' and `after-string' (bug#5998).
10197
10198 2010-05-08 Juri Linkov <juri@jurta.org>
10199
10200 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10201
10202 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10203
10204 * filecache.el (file-cache-add-directory-list)
10205 (file-cache-add-directory-recursively): Fix typos in docstrings.
10206
10207 2010-05-08 Kenichi Handa <handa@m17n.org>
10208
10209 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10210 (gujarati-composable-pattern): Fix typo.
10211
10212 2010-05-08 Kenichi Handa <handa@m17n.org>
10213
10214 * language/indian.el (oriya-composable-pattern)
10215 (tamil-composable-pattern, malayalam-composable-pattern):
10216 Add two-part vowels to "v" (vowel sign).
10217
10218 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10219
10220 * files.el (copy-directory): Handle symlinks (Bug#5982).
10221
10222 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10223
10224 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10225 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10226 (Bug#5846).
10227
10228 2010-05-08 Glenn Morris <rgm@gnu.org>
10229
10230 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10231
10232 * minibuffer.el (completion-at-point): Doc fix.
10233
10234 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10235
10236 * electric.el (Electric-command-loop): Minor tweak.
10237
10238 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10239 better with dedicated windows.
10240
10241 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10242
10243 * Version 23.2 released.
10244
10245 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10246 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 Highlight vendor specific properties.
10249 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10250 (css-proprietary-property): New face.
10251 (css-font-lock-keywords): Use them.
10252
10253 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10254
10255 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10256
10257 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10260 * files.el (auto-mode-alist): Remove redundant entries.
10261
10262 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10263 * simple.el (auto-save-mode): Move from files.el.
10264 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10265
10266 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10267
10268 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10269
10270 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10271
10272 * mail/binhex.el (binhex-decode-region-internal)
10273 * mail/uudecode.el (uudecode-decode-region-internal)
10274 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10275 (dns-read-type, dns-query)
10276 * pgg-parse.el (pgg-parse-armor)
10277 * pgg.el (pgg-verify-region)
10278 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10279 XEmacs.
10280
10281 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10282
10283 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10284
10285 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10286
10287 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10288 * emulation/cua-base.el (cua-repeat-replace-region):
10289 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10290 (cua-cut-region-to-global-mark):
10291 Remove text properties with `set-text-properties'.
10292
10293 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10294
10295 * net/tramp.el (top, with-progress-reporter):
10296 Use `symbol-function' inside `funcall'.
10297
10298 * net/tramp-compat.el (tramp-compat-file-attributes)
10299 (tramp-compat-delete-file, tramp-compat-delete-directory):
10300 Handle only `wrong-number-of-arguments' error.
10301
10302 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10303 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10304 inside `funcall'.
10305
10306 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * minibuffer.el (completion--sreverse, completion--common-suffix):
10309 New functions.
10310 (completion-pcm--merge-completions): Extract common suffix when safe.
10311
10312 * emacs-lisp/easy-mmode.el (define-minor-mode):
10313 Make :variable more flexible.
10314 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10315
10316 2010-05-05 Juri Linkov <juri@jurta.org>
10317
10318 Add `slow' and `history' tags to the desktop data.
10319
10320 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10321 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10322 (Info-finder-find-node): Require `finder.el' to be able
10323 to restore node from the desktop.
10324 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10325 data `Info-history' and `slow' tag in the assoc list.
10326 (Info-restore-desktop-buffer): Don't restore nodes with the
10327 `slow' tag. Restore `Info-history'.
10328
10329 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10330
10331 Add FORCE argument to `delete-file'.
10332
10333 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10334 forcing to delete the temporary file.
10335 (ange-ftp-delete-file): Add FORCE arg.
10336 (ange-ftp-rename-remote-to-remote)
10337 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10338 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10339 Force file deletion.
10340
10341 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10342
10343 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10344 (tramp-handle-make-symbolic-link, tramp-handle-load)
10345 (tramp-do-copy-or-rename-file-via-buffer)
10346 (tramp-do-copy-or-rename-file-directly)
10347 (tramp-do-copy-or-rename-file-out-of-band)
10348 (tramp-handle-process-file, tramp-handle-call-process-region)
10349 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10350 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10351 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10352
10353 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10354 (tramp-fish-handle-make-symbolic-link)
10355 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10356
10357 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10358 Use `tramp-compat-delete-file'.
10359
10360 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10361 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10362
10363 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10364 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10365
10366 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10367 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10368 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10369 Use `tramp-compat-delete-file'.
10370
10371 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10372
10373 Minor cleanups.
10374 * subr.el (add-minor-mode): Use push.
10375 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10376 * emulation/edt.el (edt-select-mode): Simplify.
10377
10378 Use define-minor-mode in more cases.
10379 * term/tvi970.el (tvi970-set-keypad-mode):
10380 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10381 (normal-erase-is-backspace-mode):
10382 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10383 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10384 (get-scroll-bar-mode): New function.
10385 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10386
10387 Use define-minor-mode for less obvious cases.
10388 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10389 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10390 * international/iso-ascii.el (iso-ascii-mode):
10391 * frame.el (auto-raise-mode, auto-lower-mode):
10392 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10393
10394 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10395
10396 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10397 in order to see error messages for failed logins.
10398
10399 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10400
10401 * diff.el (diff-sentinel):
10402
10403 * epg.el (epg--make-temp-file, epg-decrypt-string)
10404 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10405
10406 * jka-compr.el (jka-compr-partial-uncompress)
10407 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10408
10409 * server.el (server-sentinel): Use delete-file's new FORCE arg
10410 (Bug#6070).
10411
10412 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 Use define-minor-mode where applicable.
10415 * view.el (view-mode):
10416 * type-break.el (type-break-query-mode)
10417 (type-break-mode-line-message-mode):
10418 * textmodes/reftex.el (reftex-mode):
10419 * term/vt100.el (vt100-wide-mode):
10420 * tar-mode.el (tar-subfile-mode):
10421 * savehist.el (savehist-mode):
10422 * ibuf-ext.el (ibuffer-auto-mode):
10423 * composite.el (auto-composition-mode):
10424 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10425 Use define-minor-mode.
10426 (vhdl-mode): Use static mode-line format.
10427 (vhdl-mode-line-update): Delete.
10428 (vhdl-create-mode-menu, vhdl-activate-customizations)
10429 (vhdl-hs-minor-mode): Don't bother calling it.
10430
10431 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10432
10433 * simple.el (with-wrapper-hook): Move.
10434 (buffer-substring-filters): Mark obsolete.
10435 (filter-buffer-substring-functions): New variable.
10436 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10437
10438 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10439 Michael Albinus <michael.albinus@gmx.de>
10440
10441 Implement compression for inline methods.
10442
10443 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10444 (tramp-copy-size-limit): Allow also nil.
10445 (tramp-inline-compress-commands): New defconst.
10446 (tramp-find-inline-compress, tramp-get-inline-compress)
10447 (tramp-get-inline-coding): New defuns.
10448 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10449 replaced by `tramp-get-inline-coding'.
10450 (tramp-handle-file-local-copy, tramp-handle-write-region)
10451 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10452
10453 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10454
10455 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10456 Remove unused functions.
10457
10458 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10459 Set find-tag-default-function as a variable rather than a property.
10460
10461 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10462 * progmodes/etags.el (tags-completion-at-point-function):
10463 Remove left over interactive spec. Add autoloading stub.
10464 (complete-tag): Use tags-completion-at-point-function.
10465
10466 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10467
10468 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10469
10470 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10471
10472 * ido.el (ido-init-completion-maps): Remove C-v binding.
10473 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10474
10475 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10476
10477 * minibuffer.el (tags-completion-at-point-function): New function.
10478 (completion-at-point-functions): Use it.
10479
10480 * progmodes/etags.el (complete-tag): Revert last change.
10481
10482 2010-04-29 Alan Mackenzie <acm@muc.de>
10483
10484 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10485 off-by-one error (in end of macro position).
10486
10487 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10488
10489 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10490 firefox is absent. Don't autoload.
10491 (browse-url-galeon-program): Don't autoload.
10492
10493 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10494
10495 * bindings.el (complete-symbol): Move into minibuffer.el.
10496
10497 * minibuffer.el (complete-tag): Move from etags.el. If tags
10498 completion cannot be performed, return nil instead of signalling
10499 an error.
10500 (completion-at-point): Make it an alias for complete-symbol.
10501 (complete-symbol): Move from bindings.el, and replace with the
10502 body of completion-at-point.
10503
10504 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10505
10506 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10507
10508 * net/tramp.el (tramp-remote-selinux-p): New defun.
10509 (tramp-handle-file-selinux-context)
10510 (tramp-handle-set-file-selinux-context): Use it.
10511
10512 2010-04-28 Sam Steingold <sds@gnu.org>
10513
10514 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10515 `safe-local-variable' if the value is a string or a symbol with
10516 the property `bug-reference-url-format'.
10517
10518 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10519
10520 * progmodes/bug-reference.el (bug-reference-url-format):
10521 Revert 2010-04-27 change due to security risk.
10522
10523 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 Make it possible to locally disable a globally enabled mode.
10526 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10527 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10528 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10529 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10530 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10531 that subsequent hooks get a chance to disable it.
10532
10533 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10536 Avoid re-enabling a minor mode after the user turned the minor mode
10537 off if MODE-enable-in-buffers is run twice (typically once from
10538 fundamental-mode's after-change-major-mode-hook and a second time from
10539 run-mode-hook's own after-change-major-mode-hook).
10540
10541 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10542
10543 2010-04-27 Sam Steingold <sds@gnu.org>
10544
10545 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10546 `safe-local-variable' if the value is a string or a function, as
10547 documented and implemented on 2010-04-02.
10548
10549 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10550
10551 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10552 when method is 'kill.
10553
10554 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10555
10556 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10557 condition in default directory check.
10558 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10559 Kill ispell process when killing its associated buffer.
10560
10561 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10562
10563 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10564 but we aren't using it.
10565
10566 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10567
10568 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10569 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10570
10571 2010-04-24 Glenn Morris <rgm@gnu.org>
10572
10573 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10574 Ignore VCS-ignore files, and deleted nextstep preferences files.
10575 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10576 (authors-ambiguous-files): New list.
10577 (authors-valid-file-names): Add some deleted files.
10578 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10579 (authors-disambiguate-file-name): New function. (Bug#5501)
10580 (authors-canonical-file-name): Doc fix.
10581 Don't warn about obsolete files.
10582 (authors-canonical-file-name, authors-scan-el):
10583 Use authors-disambiguate-file-name.
10584
10585 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10586 Add autoload cookies.
10587 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10588 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10589 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10590 They have definitions / compiler macros in cl.el.
10591 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10592 Replace manual autoloads with generated ones.
10593 (htmlfontify-unload-rgb-file): Remove autoload.
10594 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10595
10596 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10599 (byte-compile-setq-default): Optimize for the
10600 single-var case and don't call byte-compile-form in this case to avoid
10601 inf-loop with byte-compile-set-default.
10602
10603 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10604
10605 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10606
10607 Implement SELINUX backends.
10608
10609 * net/tramp.el (tramp-file-name-handler-alist):
10610 Add `file-selinux-context' and `set-file-selinux-context'.
10611 (tramp-handle-file-selinux-context)
10612 (tramp-handle-set-file-selinux-context): New defuns.
10613 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10614 Handle PRESERVE-SELINUX-CONTEXT.
10615
10616 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10617 Add `file-selinux-context' and `set-file-selinux-context'.
10618 (tramp-gvfs-handle-file-selinux-context)
10619 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10620 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10621
10622 * net/ange-ftp.el (ange-ftp-copy-file):
10623 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10624 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10625 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10626 Add PRESERVE-SELINUX-CONTEXT.
10627
10628 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10629
10630 Synchronize with Tramp repository.
10631
10632 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10633 (tramp-action-process-alive, tramp-action-out-of-band)
10634 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10635 (tramp-exists-file-name-handler): Fix docstring.
10636 (with-progress-reporter): New defmacro.
10637 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10638 (tramp-maybe-open-connection): Use it.
10639
10640 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10641
10642 Detect ssh 'ControlMaster' argument automatically in some cases.
10643
10644 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10645 (tramp-default-method): Use it.
10646
10647 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10648
10649 * net/tramp.el (tramp-handle-copy-file): Add new optional
10650 parameter `preserve-selinux-context'.
10651 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10652
10653 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10654
10655 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10656 Ensure, that non remote files are still checked. Oops.
10657
10658 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10659
10660 Fix Bug#5840.
10661
10662 * icomplete.el (icomplete-completions): Use `non-essential'.
10663
10664 * net/tramp.el (tramp-connectable-p): New defun.
10665 (tramp-handle-expand-file-name)
10666 (tramp-completion-handle-file-name-all-completions)
10667 (tramp-completion-handle-file-name-completion): Use it.
10668
10669 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10670
10671 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10672
10673 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10674
10675 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10676
10677 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10678
10679 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10680 is present.
10681
10682 * info.el (info-tool-bar-map): Add labels.
10683
10684 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10685
10686 * cus-edit.el (custom-commands): Add labels for tool bar.
10687 (custom-buffer-create-internal, Custom-mode): Adjust for
10688 labels in custom-commands.
10689
10690 * dynamic-setting.el: Renamed from font-setting.el.
10691
10692 2010-04-21 John Wiegley <jwiegley@gmail.com>
10693
10694 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10695 toggles the use of virtual buffers.
10696 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10697 (ido-toggle-virtual-buffers): New function.
10698
10699 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10700
10701 Use `define-derived-mode'; fix window selection; doc fixes.
10702 * play/tetris.el (tetris, tetris-update-speed-function)
10703 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10704 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10705 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10706 (tetris-pause-game): Fix typos in docstrings.
10707 (tetris-mode-map, tetris-null-map):
10708 Move initialization into declaration.
10709 (tetris-mode): Define with `define-derived-mode';
10710 set show-trailing-whitespace to nil.
10711 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10712
10713 2010-04-21 Karel Klíč <kklic@redhat.com>
10714
10715 * files.el (backup-buffer): Handle SELinux context, and return it
10716 if a backup was made by renaming.
10717 (backup-buffer-copy): Set SELinux context to the target file.
10718 (basic-save-buffer): Set SELinux context of the newly written file.
10719 (basic-save-buffer-1): Now it also returns any SELinux context.
10720 (basic-save-buffer-2): Set SELinux context of the newly created file,
10721 and return it.
10722 * net/tramp.el (tramp-file-name-for-operation):
10723 Add file-selinux-context.
10724
10725 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 Make the log-edit comments use RFC822 format throughout.
10728
10729 * vc.el (vc-checkin, vc-modify-change-comment):
10730 Adjust to new vc-start/finish-logentry.
10731 (vc-find-conflicted-file): New command.
10732 (vc-transfer-file): Adjust to new vc-checkin.
10733 (vc-next-action): Improve scoping.
10734
10735 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10736 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10737
10738 * vc-git.el (vc-git-log-edit-mode): Remove.
10739 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10740 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10741
10742 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10743 (vc-start-logentry): Remove argument `extra'.
10744 (vc-finish-logentry): Remove extra args.
10745
10746 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10747 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10748 (vc-bzr-conflicted-files): New function.
10749
10750 * log-edit.el (log-edit-extra-flags)
10751 (log-edit-before-checkin-process): Remove.
10752 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10753 (log-edit-headers-alist): New var.
10754 (log-edit-header-contents-regexp): New const.
10755 (log-edit-match-to-eoh): New function.
10756 (log-edit-font-lock-keywords): Use them.
10757 (log-edit): Insert a "Summary:" header as default.
10758 (log-edit-mode): Mark font-lock rules as case-insensitive.
10759 (log-edit-done): Cleanup headers.
10760 (log-view-process-buffer): Remove.
10761 (log-edit-extract-headers): New function to replace it.
10762
10763 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10764
10765 * subr.el (default-direction-reversed): Remove obsolescence info.
10766
10767 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10768
10769 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10770 windows/frames.
10771
10772 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10773 I.e. include text after point in the completion region.
10774 Also, return nil when we're not after/in a symbol.
10775
10776 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10777 default enable-multibyte-characters.
10778
10779 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * international/mule.el: Help the user choose a valid coding-system.
10782 (read-buffer-file-coding-system): New function.
10783 (set-buffer-file-coding-system): Use it. Prompt the user if the
10784 coding-system cannot encode all the chars.
10785
10786 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10787 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10788 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10789 Don't use *vc-bzr-shelve*.
10790
10791 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10792
10793 Fix the version number for added files.
10794 * vc-hg.el (vc-hg-working-revision): Check if the file is
10795 registered after hg parent fails (Bug#5961).
10796
10797 2010-04-19 Glenn Morris <rgm@gnu.org>
10798
10799 * htmlfontify.el (htmlfontify-buffer)
10800 (htmlfontify-copy-and-link-dir): Autoload entry points.
10801
10802 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10803
10804 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10805 name relative to the project root (Bug#5960).
10806
10807 2010-04-19 Glenn Morris <rgm@gnu.org>
10808
10809 * vc-git.el (vc-git-print-log): Doc fix.
10810
10811 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10812
10813 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10814
10815 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10816
10817 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10818 default settings (Bug#5928).
10819
10820 2010-04-19 Glenn Morris <rgm@gnu.org>
10821
10822 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10823 New function.
10824 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10825
10826 2010-04-19 Kenichi Handa <handa@m17n.org>
10827
10828 * language/indian.el (malayalam-composable-pattern): Fix previous
10829 change (add U+0D4D "SIGN VIRAMA").
10830 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10831 (tamil-composable-pattern): Fix typo in the regexp.
10832 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10833 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10834 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10835
10836 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10837
10838 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10839 paragraph-separate (Bug#5821).
10840
10841 2010-04-19 Juri Linkov <juri@jurta.org>
10842
10843 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10844
10845 * info.el (Info-find-node-2): Comment out code that skips
10846 breadcrumbs line.
10847 (Info-mouse-follow-link): New command.
10848 (Info-link-keymap): New keymap.
10849 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10850 Return a string with links instead of inserting breadcrumbs
10851 to the Info buffer.
10852 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10853 Instead of putting the `invisible' text property over the Info
10854 header, make an overlay over the Info header with the `invisible'
10855 property and `after-string' set to the string returned by
10856 `Info-breadcrumbs'.
10857
10858 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10859
10860 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10861 Reported by monkey@sandpframing.com.
10862
10863 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10866 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10867 available in the "keyseq cache" any more.
10868
10869 * custom.el (defcustom): Add edebug spec.
10870
10871 2010-04-18 Juri Linkov <juri@jurta.org>
10872
10873 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10874
10875 * view.el (view-file, view-buffer): Move test for special mode-class
10876 from view-file to view-buffer.
10877
10878 * tar-mode.el (tar-extract): Turn if's into one cond
10879 like in arc-mode.el.
10880
10881 2010-04-18 Juri Linkov <juri@jurta.org>
10882
10883 Add 7z archive format support (bug#5475).
10884
10885 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10886 (archive-7z-extract): New defcustom.
10887 (archive-find-type): Add magic string for 7z.
10888 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10889 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10890 `buffer' arg of `call-process'.
10891 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10892 call the function `archive-7z-extract' with the variable
10893 `archive-7z-extract' let-bound to `archive-zip-extract'.
10894 (archive-7z-summarize, archive-7z-extract): New functions.
10895
10896 * international/mule.el (auto-coding-alist):
10897 * files.el (auto-mode-alist): Add 7z file extension.
10898
10899 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10900
10901 * loadup.el: Setup hash-cons for pure data.
10902
10903 Fix duplicate entries in cedet's loaddefs.el files.
10904 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10905 Should make most file-local generated-autoload-file unnecessary.
10906 (print-readably): Silence warnings.
10907 (autoload-find-destination): Take load-name as an arg to make sure
10908 it's the same as the one that will be in the file.
10909 (autoload-generate-file-autoloads): Adjust to above changes.
10910 Try to make the dataflow a bit simpler.
10911
10912 * cvs-status.el (cvs-refontify): Remove unused.
10913
10914 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10915
10916 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10917
10918 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10919 twos-complement mode.
10920
10921 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10922
10923 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10924 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10925 (calc-inverse): Add "Option" to message, as appropriate.
10926 (calc-hyperbolic): Add "Option" to message, as appropriate.
10927 (calc-option, calc-is-option): New functions.
10928
10929 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10930 (calc-option-prefix-help): New function.
10931
10932 * calc/calc-misc.el (calc-help): Add "Option" entry.
10933
10934 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10935 (calc-option-flag): New variable.
10936 (calc-do): Set `calc-option-flag to nil.
10937 (calc-set-mode-line): Add "Opt " as appropriate.
10938
10939 2010-04-16 Juri Linkov <juri@jurta.org>
10940
10941 Move scrolling commands from simple.el to window.el
10942 because their primitives are implemented in window.c.
10943
10944 * simple.el (scroll-error-top-bottom)
10945 (scroll-up-command, scroll-down-command, scroll-up-line)
10946 (scroll-down-line, scroll-other-window-down)
10947 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10948 * window.el (scroll-error-top-bottom)
10949 (scroll-up-command, scroll-down-command, scroll-up-line)
10950 (scroll-down-line, scroll-other-window-down)
10951 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10952 Move from simple.el to window.el because their primitives are
10953 implemented in window.c.
10954
10955 2010-04-16 Juri Linkov <juri@jurta.org>
10956
10957 * isearch.el (isearch-lookup-scroll-key): Check both
10958 `isearch-scroll' and `scroll-command' properties.
10959 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10960
10961 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10962
10963 * simple.el (scroll-up-command, scroll-down-command)
10964 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10965
10966 2010-04-15 Juri Linkov <juri@jurta.org>
10967
10968 * simple.el (scroll-up-command, scroll-down-command)
10969 (scroll-up-line, scroll-down-line): Put `scroll-command'
10970 property on the these symbols. Remove them from
10971 `scroll-preserve-screen-position-commands'.
10972
10973 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10974 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10975 Remove it from `scroll-preserve-screen-position-commands'.
10976
10977 * isearch.el (isearch-allow-scroll): Doc fix.
10978
10979 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10980
10981 * net/tramp.el (tramp-error-with-buffer): Don't show the
10982 connection buffer when we are in completion mode.
10983 (tramp-file-name-handler): Catch the error for some operations
10984 when we are in completion mode. This gives the user the chance to
10985 correct the file name in the minibuffer.
10986
10987 2010-04-15 Glenn Morris <rgm@gnu.org>
10988
10989 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10990
10991 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10992
10993 Simplify by using `define-derived-mode'.
10994 * info.el (Info-mode):
10995 * calendar/todo-mode.el (todo-mode):
10996 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10997 (gomoku-mode-map): Move initialization into declaration.
10998
10999 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11000
11001 Fix Bug#5840.
11002 * ido.el (ido-file-name-all-completions-1):
11003 * minibuffer.el (minibuffer-completion-help):
11004 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11005
11006 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * simple.el (non-essential): New var.
11009
11010 Add a new field `location' to bookmarks for non-file bookmarks.
11011 * bookmark.el (bookmark-location): Use the new field, if present.
11012 (bookmark-insert-location): Undo last change, not needed any more.
11013 * man.el (Man-bookmark-make-record):
11014 * woman.el (woman-bookmark-make-record): Add `location' field.
11015
11016 2010-04-14 Juri Linkov <juri@jurta.org>
11017
11018 * simple.el (scroll-error-top-bottom): New defcustom.
11019 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11020
11021 * emulation/pc-select.el (pc-select-override-scroll-error):
11022 Obsolete in favor of `scroll-error-top-bottom'.
11023
11024 2010-04-14 Juri Linkov <juri@jurta.org>
11025
11026 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11027 `scroll-up-command' and `M-v' to `scroll-down-command'.
11028
11029 * emulation/cua-rect.el (cua--init-rectangles):
11030 * forms.el (forms--change-commands):
11031 * image-mode.el (image-mode-map):
11032 Remap scroll-down-command and scroll-up-command
11033 in addition to scroll-down and scroll-up.
11034
11035 2010-04-14 Juri Linkov <juri@jurta.org>
11036
11037 * mwheel.el (scroll-preserve-screen-position-commands):
11038 Add mwheel-scroll to this list of commands.
11039
11040 * simple.el (scroll-preserve-screen-position-commands):
11041 Add scroll-up-command, scroll-down-command, scroll-up-line,
11042 scroll-down-line to this list of commands.
11043
11044 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 * obsolete/complete.el: Move from lisp/complete.el.
11047
11048 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11049
11050 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11051 to the minor mode function now turns the mode ON unconditionally.
11052
11053 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * vc-dir.el (vc-dir-kill-line): New command.
11056 (vc-dir-mode-map): Bind it to C-k.
11057
11058 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11059
11060 * woman.el: Add bookmark declarations to silence the compiler.
11061 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11062 step to compatibility between man and woman bookmarks.
11063 Adjust for Man-default-bookmark-title renaming.
11064 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11065
11066 * man.el: Add bookmark declarations to silence the compiler.
11067 (Man-name-local-regexp): Make it match NAME as well.
11068 (Man-getpage-in-background): Return the buffer.
11069 (Man-notify-when-ready): Use `case'.
11070 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11071 Don't hardcode "NAME". Simplify.
11072 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11073 Rename from Man-bookmark-make-record.
11074 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11075 we have the actual man-args. Use Man-getpage-in-background rather
11076 than `man' since the arg is already processed. Let bookmark.el do the
11077 window handling. Only wait for the relevant process.
11078 Don't forget to autoload.
11079
11080 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11081
11082 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11083
11084 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11085 New functions.
11086 (woman-mode): Setup bookmark support.
11087
11088 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11089 (man-bookmark-jump): New functions.
11090 (Man-mode): Setup bookmark support.
11091
11092 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11093
11094 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11095 recognize ssh-keygen prompt (Bug#2817).
11096
11097 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11098
11099 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11100
11101 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11102
11103 Synchronize with Tramp repository.
11104
11105 * net/tramp.el (tramp-completion-function-alist)
11106 (tramp-file-name-regexp, tramp-chunksize)
11107 (tramp-local-coding-commands, tramp-remote-coding-commands):
11108 Fix docstring.
11109 (tramp-remote-process-environment): Use `format' instead of `concat'.
11110 (tramp-handle-directory-files-and-attributes)
11111 (tramp-get-remote-path): Use `copy-tree'.
11112 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11113 compatibility: Use `completion-ignore-case' if
11114 `read-file-name-completion-ignore-case' does not exist.
11115 (tramp-do-copy-or-rename-file-directly): Do not use
11116 `tramp-handle-file-remote-p'.
11117 (tramp-do-copy-or-rename-file-out-of-band):
11118 Use `tramp-compat-delete-directory'.
11119 (tramp-do-copy-or-rename-file-out-of-band)
11120 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11121 Use `format-spec-make'.
11122 (tramp-find-foreign-file-name-handler)
11123 (tramp-advice-make-auto-save-file-name)
11124 (tramp-set-auto-save-file-modes): Remove superfluous check for
11125 `stringp'. This is done inside `tramp-tramp-file-p'.
11126 (tramp-debug-outline-regexp): New defconst.
11127 (tramp-get-debug-buffer): Use it.
11128 (tramp-check-for-regexp): Use (forward-line 1).
11129 (tramp-set-auto-save-file-modes): Adapt version check.
11130
11131 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11132 Wrap call of `featurep' for 2nd argument.
11133 (tramp-compat-make-temp-file): Simplify fallback implementation.
11134 (tramp-compat-copy-tree): Remove function.
11135 (tramp-compat-delete-directory): Provide implementation for older
11136 Emacsen.
11137
11138 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11139 Do not use `tramp-fish-handle-file-attributes.
11140
11141 * net/trampver.el: Update release number.
11142
11143 2010-04-10 Glenn Morris <rgm@gnu.org>
11144
11145 * progmodes/compile.el (compilation-save-buffers-predicate):
11146 Add missing :version tag.
11147
11148 2010-04-09 Sam Steingold <sds@gnu.org>
11149
11150 * progmodes/compile.el (compilation-save-buffers-predicate):
11151 Remove the "autoload" cookie.
11152
11153 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11154 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11155 and `bug-reference-prog-mode' can be used in hooks directly.
11156
11157 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11158
11159 Add --author support to git commit.
11160 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11161 (vc-git-log-edit-mode): New minor mode.
11162 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11163 New declarations.
11164
11165 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11166
11167 * vc-hooks.el, vc-git.el: Improve documentation comments.
11168
11169 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 Fix some of the problems in defsubst* (bug#5728).
11172 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11173 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11174
11175 2010-04-07 Sam Steingold <sds@gnu.org>
11176
11177 * progmodes/compile.el (compilation-save-buffers-predicate):
11178 New custom variable.
11179 (compile, recompile): Pass it to `save-some-buffers'.
11180
11181 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11182
11183 * wid-edit.el (widget-choose): Move cursor to the second line of
11184 the buffer (Bug#5695).
11185
11186 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11187
11188 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11189 * vc.el (vc-print-log-setup-buttons): New function split out from
11190 vc-print-log-internal.
11191 (vc-log-internal-common): New function, a parametrized version of
11192 vc-print-log-internal.
11193 (vc-print-log-internal): Just call vc-log-internal-common with the
11194 right arguments.
11195 (vc-incoming-outgoing-internal):
11196 (vc-log-incoming, vc-log-outgoing): New functions.
11197 (vc-log-view-type): New permanent local variable.
11198
11199 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11200
11201 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11202 of the dynamic bound vc-short-log.
11203 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11204
11205 * vc-git.el (vc-git-log-outgoing): New function.
11206 (vc-git-log-view-mode): Use vc-log-view-type instead
11207 of the dynamic bound vc-short-log.
11208
11209 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11210 of the dynamic bound vc-short-log. Highlight the tag.
11211 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11212 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11213 (vc-hg-incoming-mode): Remove.
11214 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11215
11216 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11217
11218 Fix default-directory for vc-root-diff.
11219 * vc.el (vc-root-diff): Bind default-directory to the root
11220 directory for the diff command.
11221
11222 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11223
11224 * progmodes/verilog-mode.el (verilog-forward-sexp):
11225 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11226 word keywords, suggested by Steve Pearlmutter.
11227 (verilog-pretty-declarations): Support lineup of declarations in
11228 port lists.
11229 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11230 fix bug for /* / comments.
11231 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11232 Speed up and simplfy as this is never called with a bound.
11233 (verilog-pretty-declarations): Enhance to line up declarations
11234 inside a parameter list, suggested by Alan Morgan.
11235 (verilog-pretty-expr): Tune assignment regular expression match
11236 string for corner cases; also use markers instead of character
11237 number as indent changes the later.
11238
11239 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11240
11241 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11242 as missing keyword.
11243 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11244 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11245 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11246 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11247 Tennant.
11248 (verilog-keywords):
11249 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11250 1800-2009 keywords, including "global.".
11251
11252 2010-04-06 John Wiegley <jwiegley@gmail.com>
11253
11254 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11255 appearing in buffer list (if a live buffer name matched a recentf
11256 file basename). Should use uniquify to offer a real solution.
11257
11258 2010-04-06 John Wiegley <jwiegley@gmail.com>
11259
11260 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11261 comment to code, and add a :version tag.
11262 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11263
11264 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11265
11266 Enable recentf-mode if using virtual buffers.
11267 * ido.el (recentf-list): Declare for byte-compiler.
11268 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11269 (ido-make-buffer-list): Simplify.
11270 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11271
11272 2010-04-05 Juri Linkov <juri@jurta.org>
11273
11274 Scrolling commands which scroll a line instead of full screen.
11275 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11276
11277 * simple.el (scroll-up-line, scroll-down-line): New commands.
11278 Put property isearch-scroll=t on them.
11279
11280 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11281 Remove commands.
11282
11283 2010-04-05 Juri Linkov <juri@jurta.org>
11284
11285 Scrolling commands which do not signal errors at top/bottom.
11286 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11287
11288 * simple.el (scroll-up-command, scroll-down-command): New commands.
11289 Put property isearch-scroll=t on them.
11290
11291 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11292 `scroll-down-command' and [next] from `scroll-up' to
11293 `scroll-up-command'.
11294
11295 * emulation/cua-base.el: Put property CUA=move on
11296 `scroll-up-command' and `scroll-down-command'.
11297 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11298 and `scroll-down-command' to `cua-scroll-down'.
11299
11300 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11301
11302 * help.el (describe-mode): Return nil.
11303
11304 2010-04-04 John Wiegley <jwiegley@gmail.com>
11305
11306 * ido.el (ido-use-virtual-buffers): New variable to indicate
11307 whether "virtual buffer" support is enabled for IDO.
11308 (ido-virtual): Face used to indicate virtual buffers in the list.
11309 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11310 exists, but a virtual buffer of that name does (which would be why
11311 it was in the list), recreate the buffer by reopening the file.
11312 (ido-make-buffer-list): If virtual buffers are being used, call
11313 `ido-add-virtual-buffers-to-list' before the make list hook.
11314 (ido-virtual-buffers): New variable which contains a copy of the
11315 current contents of the `recentf-list', albeit pared down for the
11316 sake of speed, and with proper faces applied.
11317 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11318 create a list of "virtual buffers" to present to the user in
11319 addition to the currently open set. Note that this logic could
11320 get rather slow if that list is too large. With the default
11321 `recentf-max-saved-items' of 200, there is little speed penalty.
11322
11323 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * font-lock.el: Require CL when compiling.
11326 (font-lock-turn-on-thing-lock): Use `case'.
11327
11328 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11329
11330 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11331 Zaretskii.
11332
11333 2010-04-02 Juri Linkov <juri@jurta.org>
11334
11335 * ehelp.el (electric-help-orig-major-mode):
11336 New buffer-local variable.
11337 (electric-help-mode): Set it to original major-mode. Doc fix.
11338 (with-electric-help): Use `electric-help-orig-major-mode' instead
11339 of (default-value 'major-mode). Doc fix.
11340 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11341
11342 2010-04-02 Sam Steingold <sds@gnu.org>
11343
11344 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11345 `vc-hg-command' with a list of flags.
11346
11347 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11348 Also accept "patch" and "RFE".
11349 (bug-reference-fontify): `bug-reference-url-format' can also be a
11350 function to be able to handle the bug kind.
11351 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11352
11353 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11354
11355 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11356 value to fboundp, it may not be a symbol.
11357
11358 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11359
11360 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11361
11362 2010-03-31 Juri Linkov <juri@jurta.org>
11363
11364 * simple.el (next-line, previous-line): Re-throw a signal
11365 with `signal' instead of using `ding'.
11366 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11367
11368 2010-03-31 Juri Linkov <juri@jurta.org>
11369
11370 * simple.el (keyboard-escape-quit): Raise deselecting the active
11371 region higher than exiting the minibuffer.
11372 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11373
11374 2010-03-31 Juri Linkov <juri@jurta.org>
11375
11376 * image.el (image-animated-p): Use `image-metadata' instead of
11377 `image-extension-data'. Get GIF extenstion data from metadata
11378 property `extension-data'.
11379
11380 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * simple.el (append-to-buffer): Simplify.
11383
11384 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11385
11386 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11387 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11388
11389 2010-03-31 Kenichi Handa <handa@m17n.org>
11390
11391 * language/sinhala.el (composition-function-table): Fix regexp for
11392 the new Unicode specification.
11393
11394 * language/indian.el (devanagari-composable-pattern)
11395 (tamil-composable-pattern, kannada-composable-pattern)
11396 (malayalam-composable-pattern): Adjust for the new Unicode
11397 specification.
11398 (bengali-composable-pattern, gurmukhi-composable-pattern)
11399 (gujarati-composable-pattern, oriya-composable-pattern)
11400 (telugu-composable-pattern): New variables to cope with the new
11401 Unicode specification. Use them in composition-function-table.
11402
11403 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 Make tmm-menubar work for the Buffers menu again (bug#5726).
11406 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11407 vectors rather than cons cells, as used in menu-bar-update-buffers.
11408
11409 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11410
11411 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11412 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11413 electric punctuation for "{}();,:" (Bug#5586).
11414
11415 * mail/sendmail.el (mail-default-directory): Doc fix.
11416
11417 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11418
11419 * mail/sendmail.el (mail-default-directory): Doc fix.
11420
11421 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11422
11423 * subr.el (version-regexp-alist, version-to-list)
11424 (version-list-<, version-list-=, version-list-<=)
11425 (version-list-not-zero, version<, version<=, version=): Doc fix.
11426 (Bug#5744).
11427
11428 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11429
11430 * vc.el (vc-root-diff): Doc fix.
11431
11432 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11433
11434 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11435
11436 * simple.el (append-to-buffer): Fix last change.
11437
11438 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11439
11440 * simple.el (append-to-buffer): Ensure that point is preserved if
11441 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11442 (Bug#5749)
11443
11444 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11445
11446 * files.el (auto-mode-case-fold): Change default to t.
11447
11448 2010-03-30 Juri Linkov <juri@jurta.org>
11449
11450 * dired-x.el (dired-omit-mode): Doc fix.
11451
11452 2010-03-30 Juri Linkov <juri@jurta.org>
11453
11454 * replace.el (occur-accumulate-lines): Move occur-engine related
11455 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11456 to be located after `occur-engine'.
11457
11458 2010-03-30 Juri Linkov <juri@jurta.org>
11459
11460 Make occur handle multi-line matches cleanly with context.
11461 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11462
11463 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11464 (occur-engine): Add local variables `ret', `prev-after-lines',
11465 `prev-lines'. Use more arguments for `occur-context-lines'.
11466 Set first elem of its returned list to `data', and the second elem
11467 to `prev-after-lines'. Don't print the separator line.
11468 In the end, print remaining context after-lines.
11469 (occur-context-lines): Add new arguments `begpt', `endpt',
11470 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11471 after-lines of the previous match with before-lines of the
11472 current match and not overlap them. Return a list with two
11473 values: the output line and the list of context after-lines.
11474
11475 2010-03-30 Juri Linkov <juri@jurta.org>
11476
11477 * replace.el (occur-accumulate-lines): Fix a bug where the first
11478 context line at the beginning of the buffer was missing.
11479
11480 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11481
11482 * files.el: Make bidi-display-reordering safe variable for boolean
11483 values.
11484
11485 2010-03-29 Phil Hagelberg <phil@evri.com>
11486 Chong Yidong <cyd@stupidchicken.com>
11487
11488 * subr.el: Extend progress reporters to perform "spinning".
11489 (progress-reporter-update, progress-reporter-do-update):
11490 Handle non-numeric value arguments.
11491 (progress-reporter--pulse-characters): New var.
11492
11493 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11494
11495 * progmodes/compile.el (compilation-start): Fix regexp detection
11496 of initial cd command (Bug#5771).
11497
11498 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11499
11500 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11501
11502 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11503
11504 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11505 * progmodes/gdb-mi.el: Restore.
11506 * progmodes/gdb-ui.el: Remove.
11507 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11508
11509 2010-03-25 Glenn Morris <rgm@gnu.org>
11510
11511 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11512 all dired buffers, even tramp ones. (Bug#5755)
11513
11514 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 Add "union tags" in mpc.el.
11517 * mpc.el: Remove backward compatibility code.
11518 (mpc-browser-tags): Change default.
11519 (mpc--find-memoize-union-tags): New var.
11520 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11521 (mpc-cmd-find): Handle the case where the playlist does not exist.
11522 Handle union-tags.
11523 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11524 (mpc-cmd-add): Use mpc-cmd-flush.
11525 (mpc-tagbrowser-tag-name): New fun.
11526 (mpc-tagbrowser-buf): Use it.
11527 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11528
11529 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11530
11531 Misc cleanup.
11532 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11533 Use replace-regexp-in-string.
11534 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11535 (makefile-imake-mode-syntax-table): Move init into defvar.
11536 (makefile-mode): Use define-derived-mode.
11537
11538 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11539 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11540 not be present any more.
11541
11542 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11543
11544 * faces.el (set-face-attribute): Fix typo in docstring.
11545 (face-valid-attribute-values): Reflow docstring.
11546
11547 2010-03-24 Glenn Morris <rgm@gnu.org>
11548
11549 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11550
11551 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11552
11553 * indent.el (indent-for-tab-command): Doc fix.
11554
11555 2010-03-24 Alan Mackenzie <acm@muc.de>
11556
11557 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11558 Fix off-by-one error. Fixes bug #5747.
11559
11560 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11561
11562 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11563 (image-dired-read-comment): Doc fix.
11564
11565 * json.el (json-object-type, json-array-type, json-key-type)
11566 (json-false, json-null, json-read-number):
11567 * minibuffer.el (completion-in-region-functions):
11568 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11569 (cal-tex-cursor-week):
11570 * emacs-lisp/trace.el (trace-function):
11571 * eshell/em-basic.el (eshell/printnl):
11572 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11573 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11574 * obsolete/levents.el (allocate-event, event-key, event-object)
11575 (event-point, event-process, event-timestamp, event-to-character)
11576 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11577 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11578 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11579 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11580 (reftex-highlight-selection): Fix typos in docstrings.
11581
11582 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11583
11584 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11585
11586 2010-03-24 Glenn Morris <rgm@gnu.org>
11587
11588 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11589 2008-02-13 without comment; mark it obsolete.
11590 (rmail-highlight-headers): Use rmail-highlight-face once more.
11591
11592 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11593
11594 * woman.el (woman2-process-escapes): Only consume the newline if
11595 the filler character is on a line by itself (Bug#5729).
11596
11597 2010-03-24 Kenichi Handa <handa@m17n.org>
11598
11599 * language/indian.el (devanagari-composable-pattern): Add more
11600 consonants.
11601
11602 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11603
11604 * net/trampver.el: Update release number.
11605
11606 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11607
11608 * net/tramp.el (tramp-find-executable):
11609 Use `tramp-get-connection-buffer'. Make the regexp for checking
11610 output of "wc -l" more robust.
11611 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11612 (tramp-open-connection-setup-interactive-shell): Remove workaround
11613 for OpenSolaris bug, it is not needed anymore.
11614
11615 2010-03-24 Glenn Morris <rgm@gnu.org>
11616
11617 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11618
11619 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11620
11621 * files.el (auto-mode-alist): Accept more verilog file patterns.
11622
11623 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11624
11625 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11626
11627 2010-03-24 Glenn Morris <rgm@gnu.org>
11628
11629 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11630 log-edit-before-checkin-process.
11631
11632 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11633
11634 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11635
11636 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11637 (log-view-process-buffer, log-edit-extra-flags): Declare.
11638
11639 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11640
11641 2010-03-23 Sam Steingold <sds@gnu.org>
11642
11643 Fix bug#5620: recalculate all markers on compilation buffer
11644 modifications, not on file modifications.
11645 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11646 variable: the buffer modification time, for buffers not associated with
11647 files.
11648 (compilation-mode): Create it.
11649 (compilation-filter): Update it.
11650 (compilation-next-error-function): Use it instead of
11651 `visited-file-modtime' for timestamp.
11652
11653 2010-03-23 Juri Linkov <juri@jurta.org>
11654
11655 Implement Occur multi-line matches.
11656 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11657
11658 * replace.el (occur): Doc fix.
11659 (occur-engine): Set `begpt' to the beginning of the first line.
11660 Set `endpt' to the end of the last match line. At first, count
11661 line numbers between `origpt' and `begpt'. Split out code from
11662 `out-line' variable to new let-bindings `match-prefix' and
11663 `match-str'. In `out-line' add non-numeric prefix to all
11664 non-first lines of multi-line matches. Finally, count lines
11665 between `begpt' and `endpt' and add to `lines'.
11666
11667 2010-03-23 Juri Linkov <juri@jurta.org>
11668
11669 * replace.el (occur-accumulate-lines, occur-engine):
11670 Use `occur-engine-line' instead of duplicate code.
11671 (occur-engine-line): New function created from duplicate code
11672 in `occur-accumulate-lines' and `occur-engine'.
11673
11674 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11675 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11676
11677 2010-03-23 Juri Linkov <juri@jurta.org>
11678
11679 * finder.el: Remove TODO tasks.
11680
11681 * info.el (Info-finder-find-node): Add node "all"
11682 with all package info. Handle a list of multiple keywords
11683 separated by comma.
11684 (info-finder): In interactive use with a prefix argument,
11685 use `completing-read-multiple' to read a list of keywords
11686 separated by comma.
11687
11688 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11689
11690 Add a new completion style `substring'.
11691 * minibuffer.el (completion-basic--pattern): New function.
11692 (completion-basic-try-completion, completion-basic-all-completions):
11693 Use it.
11694 (completion-substring--all-completions)
11695 (completion-substring-try-completion)
11696 (completion-substring-all-completions): New functions.
11697 (completion-styles-alist): New style `substring'.
11698
11699 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11700
11701 Get rid of .elc files after removal of the corresponding .el.
11702 * Makefile.in (compile-clean): New target.
11703 (compile-main): Use it.
11704
11705 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11706
11707 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11708 don't do make there. When compiling with separate object dir, there
11709 is no Makefile there.
11710
11711 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 Get rid of the ELCFILES abomination, again.
11714 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11715 (all, compile): Don't call compile-last.
11716 (compile-main): Build the "elcfiles" list dynamically.
11717 (compile-targets): New (internal) target.
11718
11719 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11720
11721 * Makefile.in (top_srcdir): Define.
11722 (abs_top_builddir): Define.
11723 (srcdir): Don't append `/..'.
11724 (EMACS): Use ${abs_top_builddir}.
11725 (all, compile, compile-always, compile-last): Don't set emacswd.
11726 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11727 $(srcdir).
11728 (lisp): Use $(srcdir) instead of @srcdir@.
11729
11730 2010-03-21 Juri Linkov <juri@jurta.org>
11731
11732 Fix message of multi-line occur regexps and multi-buffer header lines.
11733 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11734
11735 * replace.el (occur-1): Don't display regexp if it is longer
11736 than window-width. Use `query-replace-descr' to display regexp.
11737 (occur-engine): Don't display regexp in the buffer header for
11738 multi-buffer occur. Display a separate header line with total
11739 match count and regexp for multi-buffer occur.
11740 Use `query-replace-descr' to display regexp.
11741
11742 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11743
11744 * net/secrets.el: Fix parenthesis.
11745 (secrets-enabled): Fix parenthesis.
11746
11747 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11748
11749 Use more relative file and directory names.
11750 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11751 (setwins, setwins_almost, setwins_for_subdirs):
11752 Don't `cd'; output relative names.
11753 (all, compile, compile-always, compile-last): Set emacswd.
11754 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11755 Just cd to the lisp source dir so we can use relative file names.
11756
11757 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11758
11759 2010-03-20 Glenn Morris <rgm@gnu.org>
11760
11761 * textmodes/rst.el: Use faces for font-lock customization, and make the
11762 old -face variables obsolete.
11763 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11764 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11765 (rst-block-face, rst-external-face, rst-definition-face)
11766 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11767 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11768 Make obsolete.
11769 (rst-font-lock-keywords-function): Update for above changes.
11770
11771 2010-03-20 Juri Linkov <juri@jurta.org>
11772
11773 * s-region.el:
11774 * obsolete/s-region.el: Move to obsolete.
11775
11776 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11777
11778 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11779
11780 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11781
11782 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11783
11784 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11785
11786 Add special markup processing for commit logs.
11787 * log-edit.el (log-edit-extra-flags): New variable.
11788 (log-edit): Add new argument MODE. Use that mode when non-nil
11789 instead of the log-view-mode.
11790 (log-view-process-buffer): New function.
11791
11792 * vc.el: Document that the checkin method takes optional
11793 arguments. Document new backend specific method: log-view-mode.
11794 (vc-default-log-edit-mode): New function.
11795 (vc-checkin): Use a backend specific log-view-mode.
11796 Pass extra arguments to the checkin method.
11797 (vc-modify-change-comment): Pass a dummy extra argument.
11798
11799 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11800 log-edit.
11801 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11802 (vc-finish-logentry): Process the log buffer before passing it
11803 down. Pass log-edit-extra-flags.
11804
11805 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11806 command.
11807 (log-edit-extra-flags, log-edit-before-checkin-process):
11808 New declarations.
11809
11810 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11811 command.
11812 (log-edit-extra-flags, log-edit-before-checkin-process):
11813 New declarations.
11814 (vc-hg-log-edit-mode): New derived mode.
11815
11816 * vc-arch.el (vc-arch-checkin):
11817 * vc-cvs.el (vc-cvs-checkin):
11818 * vc-git.el (vc-git-checkin):
11819 * vc-mtn.el (vc-mtn-checkin):
11820 * vc-rcs.el (vc-rcs-checkin):
11821 * vc-sccs.el (vc-sccs-checkin):
11822 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11823
11824 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11825
11826 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11827 parent typo).
11828
11829 2010-03-19 Glenn Morris <rgm@gnu.org>
11830
11831 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11832
11833 2010-03-18 Glenn Morris <rgm@gnu.org>
11834
11835 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11836
11837 * replace.el (query-replace-history): Give it a doc string.
11838 (map-query-replace-regexp): Use query-replace-from-history-variable
11839 and query-replace-to-history-variable.
11840
11841 * mail/hashcash.el (declare-function): Remove duplicate definition.
11842
11843 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11844 Make it an obsolete alias for report-emacs-bug-address.
11845 (message-strip-special-text-properties): Declare.
11846 (report-emacs-bug): Remove test for a pretest bug address.
11847 Combine message-mode-specific code.
11848
11849 * mail/supercite.el: Don't require sendmail.
11850 (mh-in-header-p): Declare rather than using with-no-warnings.
11851 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11852 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11853
11854 * calendar/cal-french.el: Convert to utf-8.
11855
11856 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11857 Emacs scripts.
11858
11859 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11860
11861 * net/secrets.el (secrets-enabled): New variable. Use it instead
11862 of a subfeature.
11863
11864 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11865
11866 * net/secrets.el (top): Register the D-Bus signals only when the
11867 service "org.freedesktop.secrets" can be pinged.
11868 Provide subfeature `enabled'.
11869
11870 2010-03-14 Juri Linkov <juri@jurta.org>
11871
11872 Add finder unknown keywords.
11873
11874 * finder.el (finder-unknown-keywords): New function.
11875
11876 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11877 to create a Finder node with unknown keywords.
11878
11879 2010-03-14 Juri Linkov <juri@jurta.org>
11880
11881 * finder.el (finder-compile-keywords): Replace `princ' with
11882 `prin1' on a list of symbols interned from keyword strings.
11883
11884 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11885 a comma, then split keywords using a comma and optional whitespace.
11886 Otherwise, split by whitespace.
11887
11888 * complete.el:
11889 * face-remap.el:
11890 * log-view.el:
11891 * net/hmac-def.el:
11892 * net/hmac-md5.el:
11893 * net/netrc.el:
11894 * progmodes/mixal-mode.el: Fix keywords.
11895
11896 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11897
11898 * Makefile.in (ELCFILES): Add net/secrets.elc.
11899
11900 * net/secrets.el: New file.
11901
11902 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11903
11904 * facemenu.el (list-colors-display, list-colors-print): New arg
11905 callback. Use it to allow selecting colors.
11906
11907 * wid-edit.el (widget-image-insert): Insert image prop even if the
11908 current display is non-graphic.
11909 (widget-field-value-set): New fun.
11910 (editable-field): Use it.
11911 (widget-field-value-get): Clean up unused var.
11912 (widget-color-value-create, widget-color--choose-action):
11913 New funs. Allow using list-colors-display to choose color.
11914
11915 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11916
11917 * cus-edit.el: Resort topmost custom groups.
11918 (custom-buffer-sort-alphabetically): Default to t.
11919 (customize-apropos): Use apropos-parse-pattern.
11920 (custom-search-field): New var.
11921 (custom-buffer-create-internal): Add custom-apropos search field.
11922 (custom-add-parent-links): Don't display parent doc.
11923 (custom-group-value-create): Don't sort top-level custom group.
11924 (custom-magic-value-create): Show visibility button before option name.
11925
11926 (custom-variable-state): New fun, from custom-variable-state-set.
11927 (custom-variable-state-set): Use it.
11928 (custom-group-value-create): Hide options with standard values
11929 using the :hidden-states property. Use progress reporter.
11930
11931 (custom-show): Simplify.
11932 (custom-visibility): Disable images by default.
11933 (custom-variable): New property :hidden-states.
11934 (custom-variable-value-create): Enable images for
11935 custom-visibility widgets. Use :hidden-states property to
11936 determine initial visibility.
11937
11938 * wid-edit.el (widget-image-find): Give images center ascent.
11939 (visibility): Add :on-image and :off-image properties.
11940 (widget-visibility-value-create): Use them.
11941
11942 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11943
11944 * cus-edit.el (processes): Remove from development group.
11945 (oop, hypermedia): Delete group.
11946 (comm): Promote to top-level group.
11947
11948 * net/browse-url.el (browse-url):
11949 * net/xesam.el (xesam):
11950 * net/tramp.el (tramp):
11951 * net/goto-addr.el (goto-address):
11952 * net/ange-ftp.el (ange-ftp): Put in comm group.
11953
11954 * view.el (view): Remove from editing group.
11955
11956 * uniquify.el (uniquify): Put in files group.
11957
11958 * net/browse-url.el (browse-url):
11959 * ps-print.el (postscript): Put in external group.
11960
11961 * cus-edit.el (outlines):
11962 * textmodes/text-mode.el (text-mode-hook):
11963 * textmodes/table.el (table):
11964 * textmodes/picture.el (picture):
11965 * outline.el (outlines): Put in wp group.
11966
11967 * nxml/nxml-mode.el (nxml): Remove from wp group.
11968
11969 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11970
11971 * mail/metamail.el (metamail): Remove from hypermedia group.
11972
11973 * cus-edit.el (abbrev):
11974 * whitespace.el (whitespace):
11975 * vcursor.el (vcursor):
11976 * reveal.el (reveal):
11977 * hl-line.el (hl-line): Put in convenience group.
11978
11979 * epg-config.el (epg): Put in data group.
11980
11981 * emulation/pc-select.el (pc-select): Put in emulations group.
11982
11983 * calculator.el (calculator): Put in applications group.
11984
11985 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11986
11987 Add .dir-locals.el support for file-less buffers.
11988 * files.el (hack-local-variables): Split out code to apply local
11989 variable settings ...
11990 (hack-local-variables-apply): ... here. New function.
11991 (hack-dir-local-variables): Use the default directory for when the
11992 buffer does not have an associated file.
11993 (hack-dir-local-variables-non-file-buffer): New function.
11994 * diff-mode.el (diff-mode):
11995 * vc-annotate.el (vc-annotate-mode):
11996 * vc-dir.el (vc-dir-mode):
11997 * log-edit.el (log-edit-mode):
11998 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11999
12000 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12001
12002 Add support for shelving snapshots and for showing shelves.
12003 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12004 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12005 New functions.
12006 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12007 (vc-bzr-extra-menu-map): Map them.
12008
12009 2010-03-11 Glenn Morris <rgm@gnu.org>
12010
12011 * cus-edit.el (customize-changed-options-previous-release):
12012 Bump to 23.1.
12013
12014 * image.el (image-animate-max-time): Fix :version tag.
12015
12016 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12017
12018 * Branch for 23.2.
12019
12020 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12021
12022 * vc-git.el (vc-git-revision-table): Include remote branches.
12023
12024 2010-03-10 Kim F. Storm <storm@cua.dk>
12025
12026 Animated image API.
12027 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12028
12029 * image.el (image-animate-max-time): New defcustom.
12030 (image-animated-types): New defconst.
12031 (create-animated-image, image-animate-timer)
12032 (image-animate-start, image-animate-stop, image-animate-timeout)
12033 (image-animated-p): New functions.
12034
12035 * image-mode.el (image-toggle-display-image):
12036 Replace `create-image' with `create-animated-image'.
12037
12038 2010-03-09 Miles Bader <miles@gnu.org>
12039
12040 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12041 instead of "format:"; this ensures that the output is
12042 newline-terminated.
12043
12044 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12045
12046 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12047 that all errors are caught, and that the return value is always a
12048 list (Bug#5692).
12049
12050 2010-03-08 Kenichi Handa <handa@m17n.org>
12051
12052 * language/misc-lang.el (windows-1256): New coding system.
12053 (cp1256): New alias of windows-1256 (bug#5690).
12054
12055 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12056
12057 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12058 call to rfc822-bad-address. (Bug#5692)
12059
12060 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12061
12062 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12063 Use vc-git-root as default directory for revision path (Bug#5657).
12064
12065 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12066
12067 * calculator.el (calculator): Don't bind split-window-keep-point
12068 (Bug#5674).
12069
12070 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12071
12072 * vc-git.el: Re-flow to fit into 80 columns.
12073 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12074 Remove spurious `quote' element in each case alternative.
12075 (vc-git-show-log-entry): Use prog1.
12076 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12077
12078 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12081
12082 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12083
12084 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12085 definition, not the name (Bug#5481).
12086
12087 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12088
12089 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12090 argument with a local variable. (Bug#5670)
12091
12092 2010-03-02 Juri Linkov <juri@jurta.org>
12093
12094 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12095
12096 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12097
12098 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12099 error when FILENAME and NEWNAME are existing remote directories.
12100
12101 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12102 parameter DIR-FLAG.
12103
12104 2010-03-02 Glenn Morris <rgm@gnu.org>
12105
12106 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12107 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12108
12109 2010-03-01 Kenichi Handa <handa@m17n.org>
12110
12111 * language/burmese.el (burmese-composable-pattern): Rename from
12112 myanmar-composable-pattern.
12113
12114 * international/characters.el (script-list):
12115 * international/fontset.el (script-representative-chars):
12116 Change myanmar to burmese.
12117 (otf-script-alist): Likewise.
12118 (setup-default-fontset): Likewise. Re-fix :otf spec.
12119
12120 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12121
12122 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12123
12124 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12125
12126 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12127
12128 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12129
12130 * net/tramp.el (tramp-handle-write-region): START can be a string.
12131 Take care in the checks. Reported by Dan Davison
12132 <davison@stats.ox.ac.uk>.
12133
12134 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12135
12136 * net/dbus.el (dbus-introspect, dbus-get-property)
12137 (dbus-set-property, dbus-get-all-properties):
12138 Use `dbus-call-method' when noninteractive. (Bug#5645)
12139
12140 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12141
12142 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12143 * emacs-lisp/elint.el (elint-add-required-env):
12144 * calendar/icalendar.el (icalendar--add-diary-entry):
12145 * calc/calcalg2.el (math-tracing-integral):
12146 * files.el (recover-session-finish): Use with-current-buffer
12147 instead of save-excursion.
12148
12149 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12150
12151 Fix in-buffer completion when after-change-functions modify the buffer.
12152 * minibuffer.el (completion--replace): New function.
12153 (completion--do-completion): Use it and use relative movement.
12154
12155 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12156
12157 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12158
12159 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12160
12161 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12162 Allow the characters _<> in the stack entry (Bug#5653).
12163
12164 2010-02-26 Kenichi Handa <handa@m17n.org>
12165
12166 * language/burmese.el: Fix entries in composition-function-table.
12167 (myanmar-composable-pattern): New variable.
12168
12169 * international/fontset.el (setup-default-fontset): Add an entry
12170 for myanmar.
12171
12172 * international/characters.el (script-list): Add Myanmar
12173 Extended-A.
12174
12175 2010-02-26 Glenn Morris <rgm@gnu.org>
12176
12177 * custom.el (custom-initialize-delay): Doc fix.
12178
12179 * mail/sendmail.el (send-mail-function): Autoload the call
12180 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12181
12182 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12183
12184 * files.el (hack-local-variables-filter): For eval forms, also
12185 check safe-local-variable-p (Bug#5636).
12186
12187 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12188
12189 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12190 setting the modes by `ignore-errors'. It might fail, for example
12191 if the file is not owned by the user but the group.
12192 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12193
12194 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12195
12196 * files.el (directory-listing-before-filename-regexp):
12197 Use stricter matching for iso-style dates, to avoid false matches with
12198 date-like filenames (Bug#5597).
12199
12200 * htmlfontify.el (htmlfontify): Doc fix.
12201
12202 * eshell/eshell.el (eshell): Doc fix.
12203
12204 * startup.el (fancy-about-screen): In mode-line, apply
12205 mode-line-buffer-id face only to the buffer name (Bug#5613).
12206
12207 2010-02-20 Kevin Ryde <user42@zip.com.au>
12208
12209 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12210 In `watcom' anchor regexp to start of line, to avoid slowness
12211 (Bug#5599).
12212
12213 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12214
12215 * subr.el (remove-yank-excluded-properties): Explain in a comment
12216 why `category' property is removed.
12217
12218 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12219
12220 * isearch.el (isearch-update-post-hook, isearch-update):
12221 Revert 2010-02-17 change.
12222
12223 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12224
12225 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12226 (icalendar--convert-weekly-to-ical)
12227 (icalendar--convert-yearly-to-ical)
12228 (icalendar--convert-block-to-ical)
12229 (icalendar--convert-cyclic-to-ical)
12230 (icalendar--convert-anniversary-to-ical): Take care of time
12231 specifications where hour has 1-digit only (Bug#5549).
12232
12233 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12234
12235 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12236 of disassemble output in GDB 7.1.
12237
12238 2010-02-19 Glenn Morris <rgm@gnu.org>
12239
12240 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12241 property. (Bug#5593)
12242
12243 2010-02-18 Sam Steingold <sds@gnu.org>
12244
12245 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12246
12247 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 Use abbreviated file names in bookmarks (bug#5591).
12250 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12251 calls to expand-file-name.
12252 (bookmark-relocate): Use abbreviated file names in bookmarks.
12253 (bookmark-load): Use abbreviated file names in messages.
12254
12255 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12256
12257 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12258 expand "." and "..". Reported by Thierry Volpiatto
12259 <thierry.volpiatto@gmail.com>.
12260
12261 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12262
12263 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12264 permissions of the temporary file to "0600". In case the remote
12265 file has no read permissions for the owner, there might be
12266 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12267
12268 22010-02-18 Glenn Morris <rgm@gnu.org>
12269
12270 * emacs-lisp/authors.el (authors-renamed-files-alist):
12271 Add entries for INSTALL.CVS.
12272
12273 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12274
12275 * vc-bzr.el: Fix typo in Known Bugs section.
12276
12277 * isearch.el (isearch-update-post-hook): New hook.
12278 (isearch-update): Use the new hook.
12279
12280 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12281
12282 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12283 Fix errors in copying directories.
12284 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12285 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12286 (tramp-handle-delete-file)
12287 (tramp-handle-dired-recursive-delete-directory)
12288 (tramp-handle-write-region): Flush also the cache for the upper
12289 directory.
12290
12291 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12292
12293 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12294
12295 * cus-edit.el (hardware): Doc fix.
12296
12297 * man.el (man): Add to external custom group.
12298
12299 * delim-col.el (columns): Move to wp custom group.
12300
12301 * doc-view.el (doc-view): Add to data custom group.
12302
12303 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12304
12305 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12306 by ispell-parse-output (Bug#5575).
12307
12308 2010-02-16 Kenichi Handa <handa@m17n.org>
12309
12310 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12311 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12312 (skkdic-convert): Use `euc-japan' coding system for writing.
12313
12314 2010-02-16 Glenn Morris <rgm@gnu.org>
12315
12316 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12317 tex-main-file before using it. (Bug#5562)
12318
12319 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12320
12321 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12322 warnings, since it is annoying for the user to see them each time he
12323 runs the code.
12324
12325 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12326
12327 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12328 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12329 instead of PROC for caching "first-password-request". Otherwise,
12330 new processes would not profit from passwords already entered.
12331
12332 * net/tramp-cache.el (tramp-dump-connection-properties):
12333 Don't save "first-password-request" property.
12334
12335 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12336
12337 * outline.el (outline-head-from-level):
12338 * simple.el (with-wrapper-hook):
12339 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12340 (elint-defun, elint-buffer-env, elint-top-form-logged)
12341 (elint-unbound-variable):
12342 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12343 Fix typos in docstrings.
12344
12345 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12346
12347 * files.el (insert-directory): When WILDCARD-REGEXP and
12348 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12349 whole directory. (Bug#5551)
12350
12351 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12352 dired's alignment sanity. (Bug#5516)
12353
12354 2010-02-14 Juri Linkov <juri@jurta.org>
12355
12356 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12357 Remove remaining ^H with their preceding chars. (Bug#5566)
12358
12359 2010-02-13 Glenn Morris <rgm@gnu.org>
12360
12361 * simple.el (transpose-subr): Give it a doc-string.
12362
12363 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12364 Doc fixes.
12365
12366 2010-02-12 Juri Linkov <juri@jurta.org>
12367
12368 * arc-mode.el (archive-unique-fname): Make directories for nested
12369 archives. (Bug#5540)
12370
12371 2010-02-12 Juri Linkov <juri@jurta.org>
12372
12373 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12374
12375 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12376
12377 * subr.el (copy-overlay): Handle deleted overlays.
12378
12379 * man.el (Man-completion-table): Don't signal an error if we can't run
12380 manual-program (bug#4056).
12381
12382 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12383
12384 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12385
12386 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12387
12388 * info.el (Info-bookmark-jump): Simplify.
12389
12390 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12391 (bookmark-default-handler): Accept new bookmark field `buffer'.
12392
12393 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12394
12395 * iswitchb.el (iswitchb-completions): Revert last change.
12396
12397 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12398
12399 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12400 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12401 This prevents file names like "~/" being listed literally.
12402
12403 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12404
12405 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12406 Remove dead code. (Bug#5546)
12407
12408 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12409
12410 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12411 correctly (Bug#5548).
12412
12413 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12414
12415 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12416 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12417
12418 2010-02-08 Kenichi Handa <handa@m17n.org>
12419
12420 * international/mule-util.el (with-coding-priority): Add autoload
12421 cookie for putting `lisp-indent-function'.
12422
12423 2010-02-07 Glenn Morris <rgm@gnu.org>
12424
12425 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12426 Move F2003 named interfaces from keywords-2 to keywords-1, and
12427 use function-name-face rather than constant-face.
12428 Simplify "abstract interface" regexp.
12429
12430 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12431
12432 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12433 ID-FORMAT. Pass it to `file-attributes'.
12434
12435 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12436
12437 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12438
12439 * faces.el (set-face-attribute): Allow calling
12440 internal-set-lisp-face-attribute with 'unspecified family and
12441 foundry argument (Bug#5536).
12442
12443 2010-02-07 Glenn Morris <rgm@gnu.org>
12444
12445 * progmodes/f90.el (f90-font-lock-keywords-2)
12446 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12447 Handle F2003 named interfaces.
12448
12449 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12450
12451 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12452 beg and end before calling c-get-state-before-change-functions.
12453
12454 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12455
12456 * vc-bzr.el (vc-bzr-dir-extra-headers):
12457 Disable the pending merges header.
12458
12459 2010-02-05 Juri Linkov <juri@jurta.org>
12460
12461 * doc-view.el (doc-view-mode):
12462 * image-mode.el (image-mode): Put property mode-class=special.
12463 (Bug#4896)
12464
12465 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12466
12467 * vc-svn.el (vc-svn-revision-table): New function.
12468
12469 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12470
12471 * net/ange-ftp.el (ange-ftp-insert-directory):
12472 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12473 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12474 Handle also directories. (Bug#5478)
12475
12476 2010-02-05 Glenn Morris <rgm@gnu.org>
12477
12478 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12479
12480 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12481
12482 * startup.el (command-line-1): Convert options beginning with a
12483 single dash as well (Bug#5519).
12484
12485 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12488 * minibuffer.el (completion-initials-expand): Only check the presence
12489 of delims *within* the boundaries, since otherwise the / delim is
12490 always found for files.
12491
12492 Fix up various corner case problems.
12493 * doc-view.el (doc-view-last-page-number): New function.
12494 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12495 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12496 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12497 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12498 (doc-view-convert-current-doc): Don't create the resolution.el file
12499 here any more.
12500 (doc-view-pdf/ps->png): Do it here instead.
12501 (doc-view-already-converted-p): Check that resolution.el is present.
12502 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12503 windows that are not yet showing images.
12504
12505 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12506
12507 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12508 `dired-uncache' for every elemnt which is an absolute file name.
12509
12510 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12511 directory, handle its directory component.
12512 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12513 function is called permanently and creates noise, otherwise.
12514
12515 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12516 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12517 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12518
12519 2010-02-04 David Burger <dburger@google.com> (tiny change)
12520
12521 * macros.el (apply-macro-to-region-lines):
12522 Minor simplification. (Bug#5485)
12523
12524 2010-02-04 Glenn Morris <rgm@gnu.org>
12525
12526 * mail/rmail.el (rmail-show-message-1): Handle malformed
12527 quoted-printable text. (Bug#5441)
12528
12529 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12530
12531 * simple.el (visual-line-mode): Capitalize lighter.
12532
12533 2010-02-03 John Wiegley <jwiegley@gmail.com>
12534
12535 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12536 list of files considered for "virtual buffer" completions.
12537
12538 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12539
12540 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12541 also in case of (and (not full) (not wildcard)). This is needed
12542 when dired is called with a list of files, which are not in
12543 `default-directory'. (Bug#5478)
12544
12545 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12548
12549 2010-02-02 Juri Linkov <juri@jurta.org>
12550
12551 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12552 from unidiff to allow function-line after @@.
12553
12554 2010-02-02 Juri Linkov <juri@jurta.org>
12555
12556 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12557 '(RCS SCCS) with inverted condition.
12558
12559 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12560
12561 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12562 messages.
12563
12564 2010-02-01 Juri Linkov <juri@jurta.org>
12565
12566 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12567 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12568 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12569 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12570
12571 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12574 (doc-view-revert-buffer): New command.
12575 (doc-view-mode-map): Use it.
12576
12577 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12578
12579 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12580 pending merge is detected.
12581
12582 2010-01-31 Juri Linkov <juri@jurta.org>
12583
12584 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12585 beginning of interactive spec like all other grep commands do.
12586 Put "all" in front of "gz". (Bug#5260)
12587
12588 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12589
12590 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12591
12592 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12593
12594 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12595 regexp is incorrect (Bug#5476).
12596
12597 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12598
12599 * net/tramp.el (tramp-handle-insert-directory): Handle also
12600 symlinks, when FILENAME is not in `default-directory'.
12601
12602 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12603
12604 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12605 FILE is not in `default-directory'. (Bug#5478)
12606
12607 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12608 of SWITCHES. Handle the case, FILENAME is not in
12609 `default-directory'. (Bug#5478)
12610 (tramp-register-file-name-handlers): Add safe-magic property.
12611
12612 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12613
12614 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12615 unzip (Bug#5475).
12616
12617 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12618
12619 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12620 (flymake-master-make-header-init): Add other C++ filename masks.
12621 (flymake-find-possible-master-files)
12622 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12623
12624 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12625
12626 Fix some busybox annoyances.
12627
12628 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12629 not responding." string.
12630 (tramp-open-connection-setup-interactive-shell): Dump stty
12631 settings. Enable "neveropen" arg for all `tramp-send-command'
12632 calls. Handle "=" in variable values properly.
12633 (tramp-find-inline-encoding): Raise an error, when no encoding is
12634 found.
12635 (tramp-wait-for-output): Check, whether PROC buffer is available.
12636 Remove spurious " ^H" sequences, sent by busybox.
12637 (tramp-get-ls-command): Suppress coloring, if possible.
12638
12639 2010-01-28 Glenn Morris <rgm@gnu.org>
12640
12641 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12642
12643 * log-edit.el (log-edit-strip-single-file-name): Add missing
12644 :safe, :group, and :version tags.
12645
12646 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12647
12648 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12649 buffers. (Bug#5477)
12650
12651 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12652
12653 * files.el (delete-directory): Handle moving to trash without
12654 first doing recursion (Bug#5436).
12655
12656 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12657
12658 * vc-hooks.el (vc-path): Mark as obsolete.
12659
12660 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12661
12662 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12663 names too.
12664
12665 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12666 for the short log.
12667 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12668
12669 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12670
12671 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12672
12673 * vc-bzr.el (vc-bzr-revision-table): New function.
12674
12675 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12676
12677 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12678 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12679
12680 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12681
12682 Remove support for adding --signoff on commit.
12683 Future support will use an incompatible generic mechanism.
12684 * vc-git.el (vc-git-add-signoff): Remove variable.
12685 (vc-git-toggle-signoff): Remove function.
12686 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12687
12688 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12689 Rename from xterm-set-background-mode. Return t if the background mode
12690 was set.
12691 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12692 earlier, call it again in case the background mode has changed.
12693
12694 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12695
12696 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12697 (Bug#3541).
12698
12699 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12700
12701 * emacs-lisp/assoc.el (aelement): Doc fix.
12702 (aput, adelete, amake): Use lexical-let (Bug#5450).
12703
12704 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12705
12706 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12707 is the same as subprogram call, not declaration. (Bug#5435).
12708
12709 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12710
12711 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12712 (tramp-smb-maybe-open-connection): Use it.
12713
12714 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12715
12716 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12717
12718 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12719
12720 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12721 just because we see "encoding: 8bit".
12722 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12723
12724 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12725
12726 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12727
12728 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12729
12730 * jka-compr.el (jka-compr-load): If load-file is not in
12731 load-history, try its file-truename version. (bug#5447)
12732
12733 2010-01-21 Alan Mackenzie <acm@muc.de>
12734
12735 Fix a situation where deletion of a cpp construct throws an error.
12736 * progmodes/cc-engine.el (c-invalidate-state-cache):
12737 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12738 special cpp construct is still in the buffer.
12739 (c-parse-state): Record the special cpp with markers, not numbers.
12740
12741 2010-01-21 Kenichi Handa <handa@m17n.org>
12742
12743 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12744 process last-command-event, as it is now decoded first (Bug#5380).
12745
12746 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12747
12748 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12749
12750 2010-01-20 Glenn Morris <rgm@gnu.org>
12751
12752 * indent.el (tab-always-indent): Fix custom-type.
12753
12754 2010-01-19 Alan Mackenzie <acm@muc.de>
12755
12756 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12757 buffer throws "args out of range".
12758 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12759 playing the role of delimiter.
12760
12761 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12762
12763 * progmodes/ada-mode.el: Fix bug#5400.
12764 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12765 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12766 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12767 Improve comments in "is" portion. Handle null procedure declaration.
12768 (ada-move-to-end): Improve doc string.
12769
12770 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12771
12772 * ido.el (ido-cur-list): Initialize to nil.
12773 Remove obsolete information from commentary.
12774 (ido-choice-list): Initialize to nil.
12775 (ido-get-bufname): Reject minibuffers.
12776 (ido-make-buffer-list): If "default" is a nonexistent
12777 buffer, ignore it, as per the function's comment.
12778 (ido-kill-buffer-internal): New function.
12779 (ido-kill-buffer-at-head): Use it.
12780 (ido-visit-buffer): Likewise.
12781
12782 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12783
12784 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12785
12786 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12787
12788 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12789 Fix typos in chart titles.
12790
12791 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12792 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12793 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12794 (describe-class, eieio-describe-generic, describe-generic):
12795 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12796 (eieio-speedbar-expand):
12797 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12798 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12799 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12800 (viper-del-backward-char-in-replace, viper-backward-indent)
12801 (viper-brac-function, viper-register-to-point, viper-submit-report):
12802 * net/tramp.el (tramp-remote-coding-commands):
12803 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12804 Fix typos in docstrings.
12805
12806 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12807
12808 * mail/sendmail.el (mail-yank-original): Set the mark if the
12809 specified function for yanking does not do it.
12810
12811 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12812
12813 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12814
12815 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12816 resyncing a directory.
12817
12818 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12819
12820 * progmodes/ada-mode.el: Fix bug#1920.
12821 (ada-ident-re): Delete ., allow multibyte characters.
12822 (ada-goto-label-re): New; matches goto labels.
12823 (ada-block-label-re): New; matches block labels.
12824 (ada-label-re): New; matches both.
12825 (ada-named-block-re): Deleted; callers changed to use
12826 `ada-block-label-re' instead.
12827 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12828 Use `ada-block-label-re'.
12829 (ada-indent-on-previous-lines): Improve handling of goto labels.
12830 (ada-get-indent-block-start): Special-case block label.
12831 (ada-get-indent-label): Split into `ada-indent-block-label' and
12832 `ada-indent-goto-label'.
12833 (ada-goto-stmt-start, ada-goto-next-non-ws):
12834 Optionally ignore goto labels.
12835 (ada-goto-next-word): Simplify.
12836 (ada-indent-newline-indent-conditional): Insert newline before
12837 trying to fix indentation; doc fix.
12838
12839 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12840
12841 * calc/calc.el (calc-command-flags): Give it an initial value.
12842
12843 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12844
12845 * files.el (minibuffer-with-setup-hook):
12846 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12847 (artist-key-draw-continously, artist-key-do-continously-continously)
12848 (artist-key-set-point-continously, artist-mouse-draw-continously):
12849 Fix typos in docstrings.
12850
12851 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12852
12853 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12854 Never return t (Bug#3898).
12855
12856 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12857
12858 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12859 can parse the output of the external commands (Bug#5279).
12860
12861 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12862
12863 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12864
12865 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12866
12867 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12868
12869 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12870
12871 * startup.el (command-line): Remove unused --icon-type arg.
12872 Handle --display arg, passing it to command-line-1 (Bug#5392).
12873
12874 2010-01-16 Mario Lang <mlang@delysid.org>
12875
12876 * emacs-lisp/chart.el (chart-translate-namezone):
12877 * textmodes/artist.el (artist-compute-popup-menu-table):
12878 Remove duplicated words in doc-strings.
12879
12880 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12881
12882 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12883 to mairix-search to suppress threading (Bug#5342).
12884
12885 2010-01-15 Kenichi Handa <handa@m17n.org>
12886
12887 * international/mule-cmds.el (canonicalize-coding-system-name):
12888 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12889
12890 2010-01-15 Glenn Morris <rgm@gnu.org>
12891
12892 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12893
12894 * wid-edit.el (widget-keymap): Doc fix.
12895
12896 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12897 former seems to be more widely accepted by various svn versions.
12898
12899 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12900
12901 * find-cmd.el (find-constituents):
12902 * vc-arch.el (vc-arch-root):
12903 * window.el (window-body-height, pop-up-frames):
12904 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12905 * progmodes/ada-stmt.el (ada-if):
12906 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12907 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12908 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12909 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12910
12911 * progmodes/flymake.el (flymake-post-syntax-check):
12912 Fix typo in error message.
12913
12914 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12915
12916 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12917 which is always a string. (Bug#5313)
12918
12919 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12920
12921 * progmodes/ada-xref.el (ada-default-prj-properties):
12922 Simplify previous change.
12923
12924 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12925
12926 * progmodes/ada-xref.el (ada-default-prj-properties):
12927 Default ada_project_path to $ADA_PROJECT_PATH.
12928
12929 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12930
12931 * progmodes/ada-mode.el (ada-create-keymap):
12932 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12933
12934 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12935
12936 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12937 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12938 (ada-get-current-indent, ada-imenu-generic-expression)
12939 (ada-which-function): Check for it.
12940
12941 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12942
12943 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12944 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12945
12946 2010-01-14 Glenn Morris <rgm@gnu.org>
12947
12948 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12949
12950 2010-01-14 Kenichi Handa <handa@m17n.org>
12951
12952 * composite.el (auto-composition-mode): Make it a buffer local
12953 variable (permanent-local).
12954 (auto-composition-function): Set the default value to
12955 auto-compose-chars.
12956 (auto-composition-mode): Make it a simple function, not a minor mode.
12957 (global-auto-composition-mode): Likewise.
12958 (turn-on-auto-composition-if-enabled): Delete it.
12959
12960 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12961
12962 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12963
12964 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12965
12966 * files.el (copy-directory): Compute target for recursive
12967 directories with identical names. (Bug#5343)
12968
12969 2010-01-12 Glenn Morris <rgm@gnu.org>
12970
12971 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12972 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12973
12974 2010-01-11 Sam Steingold <sds@gnu.org>
12975
12976 * imenu.el (imenu-default-create-index-function): Detect infinite
12977 loops caused by imenu-prev-index-position-function.
12978
12979 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12980
12981 * htmlfontify.el (htmlfontify-load-rgb-file)
12982 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12983 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12984 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12985 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12986 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12987 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12988 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12989 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12990 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12991 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12992 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12993 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12994 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12995 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12996 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12997 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12998 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12999 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13000 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13001 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13002 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13003 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13004 backslash-quoting from parentheses, etc.
13005
13006 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13007
13008 * progmodes/js.el: Autoload javascript-mode alias.
13009
13010 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13011
13012 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13013 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13014 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13015 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13016 Fix typos in docstrings.
13017 (ffap-url-regexp): Doc fix.
13018 (ffap-at-mouse): Fix typo in message.
13019
13020 2010-01-11 Glenn Morris <rgm@gnu.org>
13021
13022 * version.el (emacs-copyright): Set copyright year to 2010.
13023
13024 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13025
13026 * format.el (format-annotate-function): Only set
13027 write-region-post-annotation-function after running to-fn so as not to
13028 affect nested write-region calls (bug#5273).
13029
13030 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13031
13032 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13033 wisent/python.el.
13034
13035 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13036
13037 * man.el (Man-goto-section): Signal error if the section is not
13038 found (Bug#5317).
13039
13040 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13041
13042 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13043 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13044
13045 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13046
13047 * progmodes/compile.el: Don't treat compile-command as safe if
13048 compilation-read-command might be nil (Bug#4218).
13049
13050 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13051
13052 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13053 NS options.
13054
13055 2010-01-08 Kenichi Handa <handa@m17n.org>
13056
13057 * international/fontset.el (build-default-fontset-data):
13058 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13059
13060 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13061
13062 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13063 to `create-file-buffer' as it expects, not just a buffer name.
13064 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13065 to help uniquify. (Bug#3224)
13066
13067 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13068
13069 * font-setting.el (font-setting-change-default-font): Use user-spec
13070 instead of name.
13071
13072 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13073
13074 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13075
13076 2010-01-05 Tom Tromey <tromey@redhat.com>
13077
13078 * progmodes/python.el (python-font-lock-keywords):
13079 Handle qualified decorators (Bug#881).
13080
13081 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13082
13083 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13084 in a lightweight checkout.
13085
13086 2010-01-05 Kenichi Handa <handa@m17n.org>
13087
13088 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13089
13090 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13091
13092 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13093
13094 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13095
13096 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13097 checkouts. (Bug#618)
13098 (vc-bzr-log-view-mode): Also highlight the author.
13099 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13100 (vc-bzr-shelve-menu-map):
13101 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13102 (vc-bzr-shelve-apply): Make prompt more explicit.
13103
13104 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13105
13106 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13107 They are valid characters in URL paths (rfc3986), and at least
13108 Firefox does not understand the encoded version (Bug#3166).
13109
13110 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13111
13112 * progmodes/octave-mod.el (octave-end-keywords)
13113 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13114 Add "end" keyword (Bug#3061).
13115 (octave-end-as-array-index-p): New function.
13116 (calculate-octave-indent): Use it.
13117
13118 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13119
13120 * bookmark.el: Consistently put the text property on the bookmark name.
13121 (bookmark-bmenu-marks-width): Bump back to 2, to include
13122 annotation marks.
13123 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13124 property on the bookmark name, instead of not putting it at all.
13125 (bookmark-bmenu-list): Fix where we put the text property.
13126
13127 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13128
13129 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13130 for showing buffer modified state (as added in the previous change).
13131
13132 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13133
13134 * bookmark.el: Show modified state of bookmark buffer more accurately.
13135 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13136 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13137 (with-buffer-modified-unmodified): New macro.
13138 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13139 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13140 Use new macro to preserve the buffer modified state.
13141
13142 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13143
13144 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13145 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13146 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13147 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13148 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13149 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13150 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13151
13152 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13153
13154 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13155 Make the lines in the generated doc string shorter. (Bug#4668)
13156
13157 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13158
13159 * net/rcirc.el: Add follow-link binding (Bug#4738).
13160
13161 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13162
13163 * Makefile.in (bzr-update): Rename from cvs-update.
13164 (cvs-update): New target for backward compatibility.
13165
13166 * makefile.w32-in (bzr-update): Rename from cvs-update.
13167 (cvs-update): New target for backward compatibility.
13168
13169 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13170
13171 * bookmark.el: Remove gratuitous gratitude.
13172
13173 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13174
13175 * bookmark.el (bookmark-bmenu-any-marks): New function.
13176 (bookmark-bmenu-save): Clear buffer modification if no marks.
13177
13178 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13179
13180 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13181 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13182 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13183 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13184
13185 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13186 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13187 To: emacs-devel {_AT_} gnu.org
13188 Subject: bookmark.el bug report
13189 Date: Mon, 28 Dec 2009 14:19:16 +0800
13190 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13191
13192 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13193
13194 * bookmark.el: Improvements suggested by Drew Adams:
13195 (bookmark-bmenu-ensure-position): New name for
13196 `bookmark-bmenu-check-position'. Just ensure the position,
13197 don't return any meaningful value.
13198 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13199 New constants.
13200
13201 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13202
13203 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13204 (bookmark-yank-point, bookmark-bmenu-check-position):
13205 Fix typos in docstrings.
13206 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13207 (bookmark-name-from-full-record, bookmark-get-position)
13208 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13209 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13210 Remove useless quoting of parenthesis, etc. in docstrings.
13211
13212 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13213 (ediff-append-custom-diff): Fix typo in error message.
13214 (ediff-meta-mark-equal-files): Fix typos in messages.
13215
13216 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13217
13218 * net/imap-hash.el (imap-hash-make): Doc fix.
13219 (imap-hash-test): Fix typo in error message; reflow docstring.
13220 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13221 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13222 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13223 Fix typos in docstrings.
13224 (imap-hash-open-connection): Fix typo in error message.
13225
13226 * play/gomoku.el (gomoku): Fix typos in docstring.
13227
13228 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13229 (gdb-jsonify-buffer): Fix typos in docstring.
13230 (gdb-goto-breakpoint): Fix typo in error message.
13231 ("Display Other Windows"): Fix typo in help message.
13232 (gdb-speedbar-expand-node): Fix typo in question.
13233
13234 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13235 (idlwave-html-system-help-location, idlwave-html-help-location)
13236 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13237 (idlwave-help-browser-generic-args, idlwave-help-directory)
13238 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13239 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13240 (idlwave-online-help, idlwave-help-html-link)
13241 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13242 Fix typos in docstrings.
13243 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13244 Reflow docstrings.
13245 (idlwave-help-assistant-start): Fix typo in error message.
13246
13247 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13248 (octave-electric-space): Fix typos in docstrings.
13249
13250 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13251
13252 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13253
13254 2010-01-01 Juri Linkov <juri@jurta.org>
13255
13256 * comint.el (comint-input-ring-size): Make it a defcustom and
13257 increase the default to 500 (Bug#5148).
13258
13259 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13260
13261 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13262 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13263 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13264
13265 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13266
13267 Show working revision correctly for mercurial.
13268 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13269 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13270
13271 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13272
13273 Declare some functions for the byte-compiler.
13274 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13275 (speedbar-timer-fn, speedbar-change-expand-button-char)
13276 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13277
13278 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13279
13280 This changeset reverts GDB Graphical Interface to use annotations.
13281 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13282
13283 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13284
13285 Make vc-dir work on subdirectories of the bzr root.
13286 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13287 Return file names relative to it.
13288 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13289 relative directory to vc-bzr-after-dir-status.
13290
13291 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13292
13293 * font-lock.el (font-lock-refresh-defaults): New function, which
13294 can be used to let font-lock react to external changes in
13295 variables like font-lock-defaults and keywords.
13296 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13297
13298 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13299
13300 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13301
13302 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13303
13304 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13305
13306 Supersede color.diff settings in git log (bug#5211).
13307
13308 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13309 escape chars in its output when the user has color.diff set to `always'.
13310 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13311
13312 2009-12-26 Kevin Ryde <user42@zip.com.au>
13313
13314 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13315 node. Keep previous "Index" name to work with past coreutils too.
13316
13317 * man.el (man): Revise docstring a bit to show -a and -l as
13318 examples. Add -k description since support for it has otherwise
13319 been a secret. (Further to bug#3717.)
13320 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13321 "no matches" rather than "Can't find manpage", as the latter reads
13322 like -k was interpreted as a page name, which is not so. (Bug#5431)
13323
13324 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13325
13326 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13327 switches. Check also for //SUBDIRED// line.
13328
13329 2009-12-25 Kenichi Handa <handa@m17n.org>
13330
13331 * language/indian.el (devanagari-composable-pattern): Fix to
13332 handle ZWNJ and ZWJ. Use it in composition-function-table for
13333 Devanagari.
13334 (malayalam-composable-pattern): Fix previous change.
13335
13336 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13337
13338 * ps-print.el (ps-face-attributes): It was not returning the
13339 attribute face for faces specified as string. Reported by harven
13340 <harven@free.fr>. (Bug#5254)
13341 (ps-print-version): New version 7.3.5.
13342
13343 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13344
13345 * calendar/icalendar.el (icalendar--convert-tz-offset):
13346 Fix timezone names.
13347 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13348 (icalendar--add-diary-entry): Remove the trailing blank that
13349 diary-make-entry inserts.
13350
13351 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13352
13353 Make `file-expand-wildcards' work for remote files.
13354
13355 * files.el (file-expand-wildcards): In case of remote files, check
13356 only local file name part for wildcards. Provide feature 'files
13357 and subfeature 'remote-wildcards. (Bug#5198)
13358
13359 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13360 if there is already an established connection.
13361 (tramp-advice-file-expand-wildcards): Remove it.
13362
13363 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13364 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13365 Activate advice for older GNU Emacs versions. (Bug#5237)
13366
13367 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13368
13369 Some doc fixes (more needed).
13370
13371 * find-cmd.el (find-constituents): Reflow docstring.
13372 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13373 (find-generic): Doc fix.
13374
13375 2009-12-17 Juri Linkov <juri@jurta.org>
13376
13377 Fix regression from 23.1 to allow multiple modes in Local Variables.
13378
13379 * files.el (hack-local-variables-filter): While ignoring duplicates,
13380 don't take `mode' into account.
13381 (hack-local-variables-filter, hack-dir-local-variables):
13382 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13383
13384 2009-12-17 Juri Linkov <juri@jurta.org>
13385
13386 Make `dired-diff' safer. (Bug#5225)
13387
13388 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13389 `current' or when `file' is a directory of the `current' file.
13390
13391 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13392
13393 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13394 unconditionally preloaded files.
13395
13396 2009-12-16 Juri Linkov <juri@jurta.org>
13397
13398 Revert to old 23.1 logic of using the file at the mark as default.
13399 * dired-aux.el (dired-diff): Use the file at the mark as default
13400 if it's not the same as the current file, and the target dir is
13401 the current dir or the mark is active. Add the current file
13402 as the arg of `dired-dwim-target-defaults'. Use the default file
13403 in the prompt. (Bug#5225)
13404
13405 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13406
13407 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13408 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13409 (tramp-check-for-regexp): Check also, when an echoing shell stops
13410 to echo sent commands.
13411
13412 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13413
13414 * Makefile.in: Revert last change (Bug#5191).
13415
13416 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13417
13418 * vc-hg.el (vc-hg-print-log): Fix argument order.
13419 (vc-hg-working-revision): Make sure the command is executed in a
13420 known environment so that we can parse the output. (Bug#4417)
13421
13422 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13423
13424 * progmodes/python.el (python-symbol-completions): Remove text
13425 properties from symbol string before calling python-send-receive.
13426
13427 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13428
13429 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13430 when there are values for both file and line. (Bug#5060)
13431
13432 2009-12-14 Juri Linkov <juri@jurta.org>
13433
13434 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13435 whitespace after the file name of the first line of unified format,
13436 because git-diff doesn't output whitespace and file modification time
13437 after the file name.
13438
13439 2009-12-14 David Kastrup <dak@gnu.org>
13440
13441 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13442 check if it already has the `display' property added by
13443 `Info-display-images-node', and not put the `invisible' property
13444 in this case.
13445
13446 2009-12-13 Glenn Morris <rgm@gnu.org>
13447
13448 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13449 (report-emacs-bug): In message-mode, sort manually before storing
13450 original report text. (Bug#5178)
13451 Remove superfluous save-excursion.
13452
13453 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13454
13455 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13456 when responding to "GetAll" properties.
13457
13458 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13459
13460 * simple.el (compose-mail): Remove mail-setup-with-from from
13461 customization checks.
13462
13463 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13464
13465 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13466 RAR archives created on Unix systems.
13467
13468 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13469
13470 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13471 the varalias that was accidentally removed by the 2009-11-19 change
13472 (bug#5186).
13473
13474 2009-12-12 Kenichi Handa <handa@m17n.org>
13475
13476 * language/indian.el (indian-compose-regexp): New function.
13477 (malayalam-composable-pattern): Fix the pattern.
13478 (composition-function-table): Set malayalam-composable-pattern for
13479 Malayalam characters.
13480
13481 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13482
13483 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13484 rather than down-mouse-1, based on follow-link conventions.
13485
13486 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13487 are compiled.
13488
13489 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13490
13491 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13492 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13493 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13494 (verilog-leap-to-head, verilog-backward-token):
13495 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13496
13497 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13498
13499 * progmodes/verilog-mode.el (verilog-auto-lineup)
13500 (verilog-nameable-item-re): Cleanup user-visible spelling and
13501 documentation errors. One reported by Gary Delp.
13502 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13503 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13504 package, bug195. Reported by Pierre-David Pfister.
13505
13506 2009-12-11 Glenn Morris <rgm@gnu.org>
13507
13508 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13509
13510 * mail/emacsbug.el: No longer require sendmail.
13511 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13512 (report-emacs-bug-orig-text): Doc fix.
13513 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13514 New local variables, to adapt to different mail-user-agents.
13515 (report-emacs-bug): Fix test for a gnu.org address.
13516 Use overlays for emphasis, since font-lock defeats 'face property.
13517 Pretest bugs also end up at the newsgroup these days.
13518 Stop message-mode stripping text properties.
13519 Set and use the new buffer-local variables.
13520 (report-emacs-bug-hook): Add doc-string.
13521 Remove some unnecessary save-excursions and simplify.
13522 Use the appropriate hook and send-command.
13523
13524 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13525 capitalization of some menu entries.
13526
13527 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13528
13529 * whitespace.el (whitespace-display-char-on):
13530 Ensure `buffer-display-table' is unique when two or more windows are
13531 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13532 New version 12.1.
13533
13534 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13535
13536 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13537 characters in the Attribute field.
13538
13539 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13540
13541 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13542
13543 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13544
13545 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13546 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13547 Disregard autoload-excludes.
13548 (update-directory-autoloads): Obey autoload-excludes here instead.
13549 But don't store its contents in no-autoloads and remove entries that
13550 refer to excludes files.
13551
13552 2009-12-10 Glenn Morris <rgm@gnu.org>
13553
13554 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13555 (expand-mail-aliases): Define for compiler.
13556
13557 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13558 Define for compiler.
13559
13560 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13561 appropriate for the mail-user-agent in use.
13562
13563 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13564
13565 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13566
13567 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13568
13569 Fix short log parsing and fontification.
13570 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13571 Fix fontification for the [merge] label.
13572
13573 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13574
13575 Drop some properties to avoid surprises (bug#5002).
13576 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13577 (hfy-fontify-buffer): Use it.
13578
13579 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13580
13581 Minor cleanup.
13582 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13583 Adjust all callers.
13584 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13585 args compulsory. Adjust callers.
13586 (ffap-gopher-at-point): Remove unused var `name'.
13587
13588 Get rid of the ELCFILES abomination.
13589 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13590 (compile-elcfiles): New phony target.
13591 (compile-main): Compute ELCFILES dynamically.
13592 (compile-clean): New target to remove left-over elc files.
13593 (compile, all): Use it.
13594
13595 2009-12-09 Kenichi Handa <handa@etlken>
13596
13597 * international/mule-diag.el: Require help-mode instead of help-fns.
13598
13599 2009-12-09 Kenichi Handa <handa@m17n.org>
13600
13601 * international/mule-cmds.el (ucs-names): Supply sufficiently
13602 fine ranges instead of pre-calculating accurate ranges.
13603 Iterate with bigger gc-cons-threshold.
13604
13605 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13606
13607 Add support for stashing a snapshot of the current tree.
13608 * vc-git.el (vc-git-stash-snapshot): New function.
13609 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13610
13611 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13612
13613 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13614 instead of `(beginning|end)-of-line'.
13615
13616 2009-12-08 Glenn Morris <rgm@gnu.org>
13617
13618 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13619
13620 * Makefile.in (ELCFILES): Regenerate.
13621
13622 2009-12-07 Juri Linkov <juri@jurta.org>
13623
13624 Don't lazy-highlight the comint output in history Isearch mode.
13625
13626 * comint.el (comint-history-isearch-search): Instead of
13627 `comint-line-beginning-position', use `comint-after-pmark-p'
13628 to check if point if before the process mark, and go to
13629 `process-mark' in this case.
13630
13631 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13632
13633 * textmodes/tex-mode.el (latex-complete)
13634 (latex-indent-or-complete): Remove.
13635 (latex-mode): Set completion-at-point-functions instead.
13636
13637 Provide a standard completion command and hook it into TAB.
13638 * minibuffer.el (completion-at-point-functions): New var.
13639 (completion-at-point): New command.
13640 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13641 * progmodes/python.el (python-mode-map): Use completion-at-point.
13642 (python-completion-at-point): Rename from python-partial-symbol and
13643 adjust for use in completion-at-point-functions.
13644 (python-mode): Setup completion-at-point for Python completion.
13645 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13646 extracted from lisp-complete-symbol.
13647 (lisp-complete-symbol): Use it.
13648 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13649 setup completion-at-point for Elisp completion.
13650 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13651 Use completion-at-point.
13652 * ielm.el (ielm-map): Use completion-at-point.
13653 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13654 * progmodes/sym-comp.el: Move to...
13655 * obsolete/sym-comp.el: Move from progmodes.
13656
13657 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13658
13659 Prevent save-buffer in Rmail buffers from using the coding-system
13660 of the current message, and from clobbering the encoding mnemonics
13661 in the mode line (Bug#4623).
13662
13663 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13664 flag, too.
13665 (rmail-message-encoding): New variable.
13666 (rmail-write-region-annotate): Record the encoding of the current
13667 message in rmail-message-encoding.
13668 (rmail-after-save-hook): New function, restores the encoding of
13669 the current message after the message collection is saved.
13670
13671 2009-12-07 Juri Linkov <juri@jurta.org>
13672
13673 * progmodes/grep.el (grep-read-files): Use `completing-read'
13674 instead of `read-string'. Set its `collection' arg to
13675 `read-file-name-internal'. (Bug#4301)
13676
13677 2009-12-07 Juri Linkov <juri@jurta.org>
13678
13679 Correctly restore original Isearch point. (Bug#4994)
13680
13681 * isearch.el (isearch-mode): Move `isearch-push-state' after
13682 `(run-hooks 'isearch-mode-hook)'.
13683 (isearch-cancel): When `isearch-push-state-function' is defined,
13684 let-bind `isearch-cmds' to the first state (the last element of
13685 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13686 function and restores the original point). Otherwise, move point
13687 to `isearch-opoint'.
13688
13689 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13692 chars that don't have names, so the table can be built much faster at
13693 run-time.
13694
13695 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13696
13697 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13698 change. Suggested by David Kastrup.
13699
13700 * simple.el (compose-mail): Check for incompatibilities and warn.
13701 (compose-mail-user-agent-warnings): New option.
13702
13703 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13704
13705 Support showing a single log entry from vc-annotate.
13706 * vc.el (print-log): Add a new argument: START-REVISION.
13707 (vc-print-log-internal): Add a new optional argument and
13708 pass it to the backend.
13709 (vc-print-log, vc-print-root-log): Adjust callers.
13710 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13711 buffer already displays the requested log entry, use it.
13712 Otherwise display only the log entry in question.
13713 * vc-svn.el (vc-svn-print-log):
13714 * vc-mtn.el (vc-mtn-print-log):
13715 * vc-hg.el (vc-hg-state):
13716 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13717 (vc-git-show-log-entry): Return t on success.
13718 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13719 (vc-bzr-show-log-entry): Return t on success.
13720 * vc-rcs.el (vc-rcs-print-log):
13721 * vc-sccs.el (vc-sccs-print-log):
13722 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13723
13724 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13725
13726 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13727 Add menus to the meta mode. (Bug#5043)
13728
13729 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13730
13731 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13732 event-key.
13733
13734 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13735
13736 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13737
13738 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13739 Berbain <raphael.berbain@gmail.com>.
13740
13741 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13742 characters.
13743 (tramp-initial-end-of-output): New defconst.
13744 (tramp-methods, tramp-find-shell)
13745 (tramp-open-connection-setup-interactive-shell)
13746 (tramp-maybe-open-connection): Use it.
13747 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13748 Handle existence of `#' and `$'.
13749
13750 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13751 Use `tramp-initial-end-of-output'.
13752
13753 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13754
13755 Get the background mode from the terminal for xterm, and set
13756 faces accordingly.
13757 * term/xterm.el (xterm-set-background-mode): New function.
13758 (terminal-init-xterm): Use it in case xterm supports background
13759 color queries. Recompute faces after getting the background
13760 color.
13761
13762 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13763
13764 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13765 number comment back on its own line, for easier parsing.
13766
13767 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13768
13769 Make it work for non-file buffers (bug#5102).
13770 * doc-view.el (doc-view-current-cache-dir):
13771 Use doc-view-buffer-file-name rather than buffer-file-name.
13772 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13773
13774 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13775
13776 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13777 author field is too short.
13778
13779 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13780
13781 * vc-git.el (vc-git-print-log): Handle a limit argument.
13782 Display the short log in graph form and with labels.
13783 (vc-git-log-view-mode): Handle labels.
13784
13785 Make vc-revert change VC state from 'added to 'unregistered.
13786 * vc-git.el (vc-git-revert): Call git reset first.
13787
13788 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13789
13790 * net/newst-backend.el, net/newst-plainview.el:
13791 * net/newst-reader.el, net/newst-ticker.el:
13792 * net/newst-treeview.el, net/newsticker.el:
13793 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13794
13795 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13796
13797 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13798
13799 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13800 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13801 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13802 Update annotation regexp.
13803
13804 * simple.el (beginning-of-visual-line): Constrain to field
13805 boundaries (Bug#5106).
13806
13807 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13808
13809 * xml.el (xml-substitute-numeric-entities):
13810 Move newsticker--decode-numeric-entities in newst-backend.el to
13811 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13812 * net/newst-backend.el (newsticker--parse-generic-feed)
13813 (newsticker--parse-generic-items)
13814 (newsticker--decode-numeric-entities):
13815 Move newsticker--decode-numeric-entities in newst-backend.el to
13816 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13817
13818 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13819
13820 * progmodes/js.el (js--js-not): Add null to the list of values.
13821
13822 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13823
13824 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13825
13826 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13827
13828 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13829 delimiter if it is at the end of the current line.
13830 (bibtex-generate-url-list): Fix docstring.
13831
13832 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13835 minibuffer's content with itself.
13836 Fold the confirm-after-completion case into the `confirm' case.
13837 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13838
13839 2009-12-06 Kevin Ryde <user42@zip.com.au>
13840
13841 * ffap.el (ffap-rfc-path): Make this a defcustom since
13842 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13843
13844 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13845 manuals, similar to existing setup for help-mode. (Bug#3913.)
13846
13847 2009-12-05 Juri Linkov <juri@jurta.org>
13848
13849 Save and restore dired buffer's point positions too. (Bug#4880)
13850
13851 * dired.el (dired-save-positions): Return in the first element
13852 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13853 Doc fix.
13854 (dired-restore-positions): First restore buffer's position.
13855 While restoring window's positions, check if window still displays
13856 the original buffer.
13857
13858 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13859
13860 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13861 if possible.
13862
13863 * shell.el (shell): Require ansi-color (Bug#5113).
13864
13865 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13866
13867 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13868
13869 2009-12-05 Alan Mackenzie <acm@muc.de>
13870
13871 * progmodes/cc-mode.el (c-before-hack-hook)
13872 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13873 `c-file-style' to work again. This reversion restores the current
13874 software to its state in Emacs 23.1. (Bug#4146)
13875
13876 2009-12-05 Kevin Ryde <user42@zip.com.au>
13877
13878 * textmodes/sgml-mode.el (sgml-lexical-context):
13879 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13880
13881 2009-12-05 Juri Linkov <juri@jurta.org>
13882
13883 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13884 for virtual nodes. (Bug#4147)
13885 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13886 when moving from a virtual node.
13887 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13888 (Info-mode): Add `Info-virtual-index' to the docstring.
13889
13890 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13891
13892 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13893 track of the buffer position of the end of a BibTeX entry as this
13894 position may change during reformatting.
13895 (bibtex-format-entry): Remove whitespace before processing
13896 numerical fields so that we recognize the latter properly.
13897 (bibtex-reformat): Do not use push which changes the global value
13898 of bibtex-entry-format.
13899 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13900 (bibtex-field-re-init): Replace only space characters by regexp
13901 for whitespace.
13902 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13903 (bibtex-initialize): Also update bibtex-strings.
13904 (bibtex-kill-field): Preserve white space at end of entry.
13905 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13906 Update bibtex-reference-keys.
13907
13908 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13911 point after a star, if that's the only place where modifications can
13912 make progress.
13913
13914 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13915
13916 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13917 in docstrings.
13918
13919 2009-12-04 Juri Linkov <juri@jurta.org>
13920
13921 * proced.el (proced): Call `(proced-update t)' to update process
13922 information instead of only running proced-post-display-hook.
13923 (proced-send-signal): Add a leading space to the buffer name
13924 " *Marked Processes*" to make this buffer ephemeral.
13925
13926 2009-12-04 Juri Linkov <juri@jurta.org>
13927
13928 * dired.el (dired-auto-revert-buffer): New defcustom.
13929 (dired-internal-noselect): Use it.
13930
13931 2009-12-04 Juri Linkov <juri@jurta.org>
13932
13933 Change roles of modes and functions in image-mode.el (Bug#5062).
13934
13935 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13936 in `auto-mode-alist'.
13937 (image-mode-previous-major-mode): New variable.
13938 (image-minor-mode-map): Rename from `image-mode-text-map'.
13939 (image-mode): Move graceful error-handling code from
13940 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13941 (image-minor-mode): Remove all image-handling code.
13942 Replace `image-mode-text-map' with `image-minor-mode-map'.
13943 Check for `image-type' in mode-line format string.
13944 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13945 (image-mode-as-text): New function with most code from
13946 `image-mode-maybe'.
13947 (image-toggle-display-text): Move code that removes image
13948 properties from `image-toggle-display' to here.
13949 (image-toggle-display-image): New function with code that adds
13950 image properties copied from `image-toggle-display'.
13951 (image-toggle-display): Remove most code with leaving only code
13952 that toggles between `image-mode-as-text' and `image-mode'.
13953
13954 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13955
13956 * net/newst-treeview.el
13957 (newsticker--treeview-list-highlight-start): Restored call to
13958 save-excursion: Selected item was stuck.
13959 (newsticker--treeview-list-select): New.
13960 (newsticker--treeview-item-show-text)
13961 (newsticker--treeview-item-show)
13962 (newsticker--treeview-item-update): Use new
13963 newsticker-treeview-item-mode.
13964 (newsticker-treeview-update): Keep current item.
13965 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13966 (newsticker--treeview-first-feed): Doc change.
13967 (newsticker-treeview-list-menu)
13968 (newsticker-treeview-item-menu): Add menu entries.
13969 (newsticker-treeview-item-mode): New.
13970
13971 * net/newst-backend.el (newsticker-customize): Delete other
13972 windows.
13973
13974 2009-12-04 Sam Steingold <sds@gnu.org>
13975
13976 * log-view.el (log-view-mode-map): "q" calls quit-window,
13977 like in all the other non-self-insert buffers.
13978
13979 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13980
13981 Minor cleanup.
13982 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13983 key decoding rather than do it manually via last-input-event +
13984 ascii-character.
13985 (term-exec): Use delete-and-extract-region.
13986 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13987 (term-process-pager): Remove unused var `i'.
13988 (term-dynamic-simple-complete): Make obsolete.
13989 (serial-update-config-menu): Remove unused vars `y' and `str'.
13990 (term-update-mode-line): Remove unused var `temp'.
13991
13992 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13993
13994 Limit the number of log entries displayed by default.
13995 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13996 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13997 using a prefix argument.
13998
13999 2009-12-03 Glenn Morris <rgm@gnu.org>
14000
14001 * progmodes/idlwave.el (class): Restore still useful declaration.
14002
14003 2009-12-03 Alan Mackenzie <acm@muc.de>
14004
14005 Enhance `c-parse-state' to run efficiently in "brace deserts".
14006
14007 * progmodes/cc-mode.el (c-basic-common-init):
14008 Call c-state-cache-init.
14009 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14010 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14011 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14012
14013 * progmodes/cc-langs.el (c-before-font-lock-function):
14014 c-extend-and-neutralize-syntax-in-CPP has been renamed
14015 c-neutralize-syntax-in-and-mark-CPP.
14016
14017 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14018 with `category' properties now, not `syntax-table' ones.
14019
14020 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14021 enhanced (but slower) version of c-end-of-macro that won't land
14022 inside a literal or on another awkward character.
14023 (c-state-cache-too-far, c-state-cache-start)
14024 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14025 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14026 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14027 (c-state-min-scan-pos, c-state-brace-pair-desert)
14028 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14029 buffer local variables.
14030 (c-state-literal-at, c-state-lit-beg)
14031 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14032 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14033 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14034 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14035 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14036 (c-renarrow-state-cache)
14037 (c-append-lower-brace-pair-to-state-cache)
14038 (c-state-push-any-brace-pair, c-append-to-state-cache)
14039 (c-remove-stale-state-cache)
14040 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14041 (c-invalidate-state-cache-1, c-parse-state-1)
14042 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14043 (c-parse-state): Enhance and refactor.
14044 (c-debug-parse-state): Amend to deal with all the new variables.
14045
14046 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14047 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14048 modify to use category text properties rather than syntax-table ones.
14049 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14050 to switch off/on the syntactic paren property of C++ template
14051 delimiters using the category property.
14052 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14053 template delims suppressed.
14054 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14055 New constant/macros which apply category properties to the start
14056 and end of preprocessor constructs.
14057 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14058 "comment out" the syntactic value of characters in preprocessor
14059 constructs.
14060 (c-with-cpps-commented-out)
14061 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14062 with characters in all or all but one preprocessor constructs
14063 "commented out".
14064
14065 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14066
14067 * proced.el (proced-filter-alist): Use regexp-quote.
14068
14069 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14070
14071 Cleanup.
14072 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14073 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14074 arguments. Expand `default-directory'.
14075
14076 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14077 the benefit of returning an expanded localname.
14078 (tramp-tramp-file-p): Handle the case NAME is not a string.
14079
14080 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14081
14082 Add support for bzr shelve/unshelve.
14083 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14084 (vc-bzr-extra-menu-map): New variables.
14085 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14086 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14087 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14088 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14089 (vc-bzr-dir-extra-headers): Display shelves.
14090
14091 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14092
14093 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14094
14095 * textmodes/bibtex.el (bibtex-complete-internal):
14096 Use completion-in-region.
14097 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14098
14099 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14100
14101 Support applying stashes. Improve UI.
14102 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14103 (vc-git-stash-apply, vc-git-stash-pop)
14104 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14105 (vc-git-stash-menu): New functions.
14106 (vc-git-stash-menu-map): New variable.
14107 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14108
14109 2009-12-03 Glenn Morris <rgm@gnu.org>
14110
14111 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14112 (vc-print-log-internal): Fix previous change.
14113 (vc-revert): Correct pluralization.
14114
14115 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14116
14117 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14118 it to be an alist any more.
14119 (makefile-complete): Use completion-in-region.
14120
14121 * progmodes/octave-mod.el (octave-complete-symbol):
14122 Use completion-in-region.
14123
14124 Misc cleanup.
14125 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14126 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14127 (idlwave-complete-class): Don't quote lambda.
14128 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14129 (idlwave-mode-map): Move initialization into declaration.
14130 (idlwave-action-and-binding): Use backquotes.
14131 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14132 Simplify.
14133 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14134 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14135 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14136 `parts', and `all-parts'.
14137 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14138 (idlwave-convert-xml-system-routine-info): Remove unused string
14139 `version-string'.
14140 (idlwave-display-user-catalog-widget): Use dolist.
14141 (idlwave-scanning-lib): Declare dynamically-scoped var.
14142 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14143 (completion-highlight-first-word-only): Declare to silence bytecomp.
14144 (idlwave-popup-select): Tighten scope of `resp'.
14145 (idlwave-find-struct-tag): Remove unused var `beg'.
14146 (idlwave-after-load-rinfo-hook): Declare.
14147 (idlwave-sintern-class-info): Remove unused var `taglist'.
14148 (idlwave-find-class-definition): Remove unused var `list'.
14149 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14150 (idlwave-what-module-find-class): Remove unused var `classes'.
14151
14152 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14153
14154 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14155
14156 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14157
14158 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14159 buffers visited. Remove redundant current-buffer-saving.
14160
14161 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14162
14163 Use completion-in-buffer and remove uses of dynamic scoping.
14164 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14165 (pascal-buffer-to-use, pascal-flag): Don't declare.
14166 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14167 (pascal-get-completion-decl, pascal-keyword-completion):
14168 Add `pascal-str' argument, save-excursion,
14169 return the found completions, and don't filter with pascal-pred.
14170 (pascal-completion-cache): New var.
14171 (pascal-completion): Don't switch buffer any more (it was never
14172 necessary). Don't save-excursion any more (it's done by the called
14173 subroutines). Use a cache to avoid redundant computations.
14174 Use complete-with-action rather than pascal-completion-response and
14175 let it apply the predicate as well.
14176 (pascal-complete-word): Use completion-in-buffer when
14177 pascal-toggle-completions is nil.
14178 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14179 not used any more.
14180 (pascal-comp-defun): Don't change buffer any more.
14181 Use complete-with-action rather than pascal-completion-response and
14182 let it apply the predicate as well.
14183 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14184 when neded.
14185
14186 2009-12-02 Kenichi Handa <handa@m17n.org>
14187
14188 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14189 shape for all Indic scripts.
14190
14191 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14192
14193 Use completion-in-buffer.
14194 * wid-edit.el (widget-field-text-end): New function.
14195 (widget-field-value-get): Use it.
14196 (widget-string-complete, widget-file-complete)
14197 (widget-color-complete): Use it and completion-in-region.
14198 (widget-complete): Don't narrow the buffer.
14199
14200 2009-12-02 Glenn Morris <rgm@gnu.org>
14201
14202 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14203 (rmail-select-summary): Use rmail-pop-to-buffer.
14204 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14205 rmail-pop-to-buffer, to prevent horizontal splits.
14206
14207 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14208 save-excursion with save-current-buffer.
14209 Widen before searching. (Bug#5093)
14210 (diary-list-sexp-entries): Remove superfluous save-excursion.
14211
14212 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14213
14214 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14215 name. (Bug#5038)
14216
14217 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14218
14219 * ido.el (ido-file-internal): Handle filenames at point that do
14220 not have a directory part. (Bug#5049)
14221
14222 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14223
14224 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14225 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14226
14227 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14228
14229 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14230 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14231 any more.
14232
14233 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14234
14235 * comint.el (comint-insert-input): Ignore clicks to the right of
14236 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14237
14238 * vc.el (vc-print-log-internal): Don't wait for the process to
14239 terminate before setting up the major mode.
14240
14241 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14242 in case.
14243
14244 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14245 the last element.
14246
14247 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14248
14249 2009-12-01 Glenn Morris <rgm@gnu.org>
14250
14251 * window.el (window--display-buffer-2): Fix previous changes.
14252
14253 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14254
14255 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14256
14257 2009-12-01 Glenn Morris <rgm@gnu.org>
14258
14259 * Makefile.in (ELCFILES): Add mpc.elc.
14260
14261 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14262
14263 * mpc.el: New file.
14264
14265 2009-12-01 Glenn Morris <rgm@gnu.org>
14266
14267 * window.el (window-to-use): Define for compiler.
14268
14269 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14270 consistent with others (no final period).
14271
14272 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14273 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14274
14275 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14276
14277 Make vc-print-log buttons work.
14278 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14279
14280 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14281
14282 * savehist.el (savehist-autosave-interval): Allow setting to nil
14283 through customize. (Bug#5056)
14284
14285 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14286
14287 Fix references to jit-lock properties.
14288 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14289 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14290 (perl-font-lock-special-syntactic-constructs):
14291 Quote jit-lock-defer-multiline property.
14292
14293 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14294
14295 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14296
14297 2009-11-30 Juri Linkov <juri@jurta.org>
14298
14299 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14300 value `buffer' of `multi-isearch-next-buffer-current-function'.
14301 Use `(current-buffer)' when `buffer' is nil.
14302 (multi-isearch-next-buffer-from-list): Don't fallback to
14303 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14304
14305 2009-11-30 Juri Linkov <juri@jurta.org>
14306
14307 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14308 of buffers with `get-buffer' to `multi-isearch-buffers'.
14309 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14310 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14311 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14312 FILES with `expand-file-name' converting relative file names
14313 to absolute. Doc fix. (Bug#4727)
14314
14315 2009-11-30 Juri Linkov <juri@jurta.org>
14316
14317 * misearch.el (multi-isearch-read-buffers)
14318 (multi-isearch-read-matching-buffers): New functions.
14319 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14320 Use them in the `interactive' spec. Doc fix.
14321 (multi-isearch-read-files, multi-isearch-read-matching-files):
14322 New functions.
14323 (multi-isearch-files, multi-isearch-files-regexp):
14324 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14325
14326 2009-11-30 Juri Linkov <juri@jurta.org>
14327
14328 * doc-view.el (doc-view-continuous):
14329 Rename from `doc-view-continuous-mode'.
14330 (doc-view-menu): Move "Toggle display" to the top.
14331 Add submenu "Continuous" with radio buttons "Off"/"On"
14332 and "Save as Default".
14333 (doc-view-scroll-up-or-next-page)
14334 (doc-view-scroll-down-or-previous-page)
14335 (doc-view-next-line-or-next-page)
14336 (doc-view-previous-line-or-previous-page):
14337 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14338
14339 2009-11-30 Juri Linkov <juri@jurta.org>
14340
14341 * comint.el (comint-mode-map): Rebind `M-r' from
14342 `comint-previous-matching-input' to
14343 `comint-history-isearch-backward-regexp'.
14344 Unbind `M-s' to allow global key binding `M-s'.
14345 Add menu items for `comint-history-isearch-backward' and
14346 `comint-history-isearch-backward-regexp'. (Bug#3746)
14347
14348 2009-11-30 Juri Linkov <juri@jurta.org>
14349
14350 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14351 For def=recenter, replace `recenter' with `recenter-top-bottom'
14352 that is called with `this-command' and `last-command' let-bound
14353 to `recenter-top-bottom'. When the last `def' was not `recenter',
14354 set `recenter-last-op' to nil. (Bug#4981)
14355
14356 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14357
14358 Minor cleanup and simplification.
14359 * filecache.el (file-cache-add-directory)
14360 (file-cache-add-directory-recursively)
14361 (file-cache-add-from-file-cache-buffer)
14362 (file-cache-delete-file-regexp, file-cache-delete-directory)
14363 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14364 (file-cache-temp-minibuffer-message): Delete function.
14365 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14366
14367 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14368 Don't signal an error when bumping into EOB in tr, s, or y.
14369
14370 2009-11-29 Juri Linkov <juri@jurta.org>
14371
14372 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14373 (Bug#4960)
14374
14375 * descr-text.el (describe-char-unidata-list): Use lowercase name
14376 for "Unicode name" like in other tags.
14377
14378 2009-11-29 Juri Linkov <juri@jurta.org>
14379
14380 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14381 New compatibility macro.
14382 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14383
14384 2009-11-29 Juri Linkov <juri@jurta.org>
14385
14386 Add defcustom to define the cycling order of `recenter-top-bottom'.
14387 (Bug#4981)
14388
14389 * window.el (recenter-last-op): Doc fix.
14390 (recenter-positions): New defcustom.
14391 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14392 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14393
14394 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14395
14396 Improve integration of Tramp and ange-ftp in eshell.
14397
14398 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14399 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14400 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14401
14402 * eshell/esh-util.el (top): Require also Tramp when compiling.
14403 (eshell-directory-files-and-attributes): Check for FTP remote
14404 connection.
14405 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14406 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14407 (eshell-file-attributes): Handle ".". Return `entry'.
14408
14409 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14410 (ange-ftp-directory-files-and-attributes)
14411 (ange-ftp-real-directory-files-and-attributes): New defuns.
14412
14413 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14414 shell with "exec" when possible. This prevents trailing prompts
14415 in `start-file-process'.
14416
14417 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14418
14419 Try and remove assumptions about point-min==1.
14420 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14421 (rng-compute-mode-line-string): Show the validation percentage in
14422 terms of the narrowed text, not the widened text.
14423 (rng-do-some-validation): Don't catch internal errors when debugging.
14424 (rng-first-error): Simplify.
14425 (rng-after-change-function): Remove work around. AFAIK the bug has
14426 been fixed a while ago.
14427
14428 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14429 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14430
14431 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14432
14433 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14434 `cd' doesn't always do it for us (bug#5067).
14435
14436 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14437 on 2009-10-25 as part of some other change (bug#5067).
14438
14439 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14440
14441 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14442 `suspicious'.
14443 (byte-compile-warnings): Use byte-compile-warning-types.
14444 (byte-compile-save-excursion): Warn about use of set-buffer right
14445 after save-excursion.
14446
14447 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14448 the excursion as well.
14449
14450 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14451
14452 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14453 providing a Tramp related implementation of "su" and "sudo".
14454 (eshell-unix-initialize): Add "su" and "sudo".
14455
14456 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14457
14458 * net/socks.el (socks-send-command): Convert binary request to
14459 unibyte before sending. This fixes mishandling of some port
14460 numbers such as 129.
14461
14462 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14463
14464 * help.el (describe-bindings-internal): Remove `interactive'.
14465
14466 * man.el (Man-completion-table): Trim a terminating "(".
14467 Remove the space between name page a section.
14468 Add the command's description on the `help-echo' property.
14469 Remove `process-connection-type' binding since it's unused by
14470 call-process.
14471 Provide completion for the "<section> <name>" format as well.
14472 (Man-default-man-entry): Remove spurious var shadowing the argument.
14473
14474 2009-11-26 Kevin Ryde <user42@zip.com.au>
14475
14476 * log-view.el: Add "Keywords: tools", since its other keywords
14477 aren't in finder-known-keywords, and following vc.el.
14478
14479 * sha1.el (sha1-string-external): default-directory "/" in case
14480 otherwise non-existent. process-connection-type pipe for touch of
14481 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14482
14483 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14484
14485 Misc coding convention cleanups.
14486 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14487 hfy-init-kludge-hooks.
14488 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14489 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14490 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14491 and push.
14492 (hfy-slant, hfy-weight): Use tables rather than code.
14493 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14494 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14495 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14496 (hfy-face-to-css): Remove `nconc' with single arg.
14497 (hfy-p-to-face-lennart): Use `or'.
14498 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14499 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14500 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14501 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14502 (hfy-force-fontification): Use run-hooks.
14503
14504 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14505
14506 Various minor fixes.
14507 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14508 Javascript belongs in the header, not the body.
14509 (hfy-javascript): Remove.
14510 (hfy-fontify-buffer): Don't insert it any more.
14511 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14512 Fix bug in invis handling when there were no invis props in a chunk.
14513
14514 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14515
14516 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14517
14518 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14519
14520 * finder.el (finder-mode-map): Add a menu.
14521
14522 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14523
14524 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14525 "unsigned" structs.
14526
14527 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14528 fork" statement better.
14529
14530 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14531
14532 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14533 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14534 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14535 Reported by Clay Douglass.
14536
14537 (verilog-auto-inst, verilog-auto-star-safe)
14538 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14539 Fix removing "// Interfaces" when saving .* expansions.
14540 Reported by Pierre-David Pfister.
14541
14542 2009-11-26 Glenn Morris <rgm@gnu.org>
14543
14544 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14545 the scope.
14546
14547 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14548
14549 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14550 Really use previous revision.
14551
14552 2009-11-25 Kevin Ryde <user42@zip.com.au>
14553
14554 * man.el (Man-completion-table): default-directory "/" in case
14555 doesn't otherwise exist. process-environment COLUMNS=999 so as
14556 not to truncate long names. process-connection-type pipe to avoid
14557 any chance of hitting the pseudo-tty TIOCGWINSZ.
14558 (man): completion-ignore-case t for friendliness and since man
14559 itself is case-insensitive on the command line.
14560 Further to Bug#3717.
14561
14562 * arc-mode.el: Add "Keywords: files", so the details in its
14563 commentary can be reached from finder-by-keyword.
14564 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14565 editing mode, but it's comms related and sgml-mode.el has "comm"
14566 on that basis too.
14567 * textmodes/bibtex-style.el: Add "Keywords: tex".
14568 * international/isearch-x.el, international/ja-dic-cnv.el:
14569 * international/ja-dic-utl.el, international/kkc.el:
14570 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14571
14572 2009-11-25 Juri Linkov <juri@jurta.org>
14573
14574 * man.el (Man-completion-table): Modify regexp to include
14575 section names to completion strings. (Bug#3717)
14576
14577 2009-11-25 Juri Linkov <juri@jurta.org>
14578
14579 Search recursively in gzipped files. (Bug#4982)
14580
14581 * progmodes/grep.el (grep-highlight-matches): Add new options
14582 `always' and `auto'. Doc fix.
14583 (grep-process-setup): Check `grep-highlight-matches' for
14584 `auto-detect' to determine the need to compute grep defaults.
14585 Move Windows/DOS specific --colors settings handling
14586 to `grep-compute-defaults'. Check `grep-highlight-matches'
14587 to get the value of "--color=".
14588 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14589 has the value `auto-detect'. Move Windows/DOS specific settings
14590 from `grep-process-setup'.
14591 (zrgrep): New command with alias `rzgrep'.
14592
14593 2009-11-25 Juri Linkov <juri@jurta.org>
14594
14595 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14596 to nil instead of switching off view-mode. (Bug#4896)
14597
14598 2009-11-25 Juri Linkov <juri@jurta.org>
14599
14600 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14601
14602 * mwheel.el (mwheel-scroll-up-function)
14603 (mwheel-scroll-down-function): New defvars.
14604 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14605 `scroll-up', and `mwheel-scroll-down-function' instead of
14606 `scroll-down'.
14607
14608 * doc-view.el (doc-view-scroll-up-or-next-page)
14609 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14610 Use this ARG in the call to image-scroll-up/image-scroll-down.
14611 Change `interactive' spec to "P". Goto next/previous page only
14612 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14613 SPC/DEL case). Doc fix.
14614 (doc-view-next-line-or-next-page)
14615 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14616 for consistency.
14617 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14618 `doc-view-scroll-up-or-next-page', and buffer-local
14619 `mwheel-scroll-down-function' to
14620 `doc-view-scroll-down-or-previous-page'.
14621
14622 2009-11-25 Juri Linkov <juri@jurta.org>
14623
14624 Provide additional default values (directories at other Dired
14625 windows) via M-n in the minibuffer of some Dired commands.
14626
14627 * dired-aux.el (dired-diff, dired-compare-directories)
14628 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14629 `minibuffer-default' in `minibuffer-with-setup-hook'.
14630 (dired-dwim-target-directory): Find a window that displays Dired
14631 buffer instead of failing when the next window is not Dired.
14632 Use `get-window-with-predicate' to find for the next Dired window.
14633 (dired-dwim-target-defaults): New function.
14634
14635 * ediff-util.el (ediff-read-file-name):
14636 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14637 in `minibuffer-with-setup-hook'.
14638
14639 2009-11-25 Juri Linkov <juri@jurta.org>
14640
14641 Provide additional default values (file name at point or at the
14642 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14643
14644 * minibuffer.el (read-file-name-defaults): New function.
14645 (read-file-name): Reset `minibuffer-default' to nil when
14646 it duplicates initial input `insdef'.
14647 Bind `minibuffer-default-add-function' to lambda that
14648 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14649 (minibuffer-insert-file-name-at-point): New command.
14650
14651 * files.el (file-name-at-point-functions): New defcustom.
14652 (find-file-default): Remove defvar.
14653 (find-file-read-args): Don't use `find-file-default'.
14654 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14655 to `read-file-name'.
14656 (find-file-literally): Use `read-file-name' with
14657 `confirm-nonexistent-file-or-buffer'.
14658
14659 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14660
14661 * dired.el (dired-read-dir-and-switches):
14662 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14663 to `read-file-name'.
14664 (dired-file-name-at-point): New function.
14665 (dired-mode): Add hook `dired-file-name-at-point' to
14666 `file-name-at-point-functions'.
14667
14668 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14669
14670 Really make the *Completions* window soft-dedicated (bug#5030).
14671 * window.el (window--display-buffer-2): Add `dedicated' argument.
14672 (display-buffer): Pass it when needed so the dedicated flag is set
14673 after calling set-window-buffer, which would otherwise reset it.
14674
14675 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14676
14677 * progmodes/meta-mode.el (meta-complete-symbol):
14678 * progmodes/etags.el (complete-tag):
14679 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14680 Use completion-in-region.
14681
14682 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14683 (dabbrev-completion): Use completion-in-region.
14684 (dabbrev--abbrev-at-point): Simplify regexp.
14685
14686 * abbrev.el (abbrev--before-point): Use word-motion functions
14687 if :regexp is not specified (bug#5031).
14688
14689 * subr.el (string-prefix-p): New function.
14690
14691 * man.el (Man-completion-cache): New var.
14692 (Man-completion-table): Use it.
14693
14694 * vc.el (vc-print-log-internal): Make `limit' optional for better
14695 compatibility (e.g. with vc-annotate.el).
14696
14697 2009-11-24 Kevin Ryde <user42@zip.com.au>
14698
14699 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14700 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14701
14702 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14703 when .el source file not found or other error.
14704
14705 2009-11-24 Markus Triska <markus.triska@gmx.at>
14706
14707 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14708
14709 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14710
14711 Handle the [back] button properly (bug#4979).
14712 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14713 Use help-setup-xref, help-buffer, and with-help-window.
14714 (describe-char): Add `buffer' argument.
14715 Pass proper command to help-setup-xref. Don't meddle with
14716 help-xref-stack-item directly.
14717 (describe-text-category): Use with-help-window and help-buffer.
14718
14719 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14720 for the displayed buffer (bug#4887).
14721
14722 * man.el (Man-completion-table): New function.
14723 (man): Use it.
14724
14725 2009-11-24 David Reitter <david.reitter@gmail.com>
14726
14727 * vc-git.el (vc-git-registered): Use checkout directory (where
14728 .git is) rather than the file's directory and a relative path spec
14729 to work around a bug in git.
14730
14731 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14732
14733 Improve handling of processes on remote hosts.
14734
14735 * eshell/esh-util.el (eshell-path-env): New defvar.
14736 (eshell-parse-colon-path): New defun.
14737 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14738
14739 * eshell/esh-ext.el (eshell-search-path):
14740 Use `eshell-parse-colon-path'.
14741 (eshell-remote-command): Remove argument HANDLER.
14742 (eshell-external-command): Check for FTP remote connection.
14743
14744 * eshell/esh-proc.el (eshell-gather-process-output):
14745 Use `file-truename', in order to start also symlinked files.
14746 Apply `start-file-process' instead of `start-process'.
14747 Shorten `command' to the local file name part.
14748
14749 * eshell/em-cmpl.el (eshell-complete-commands-list):
14750 Use `eshell-parse-colon-path'.
14751
14752 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14753
14754 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14755 to `eshell-directory-change-hook'.
14756
14757 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14758
14759 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14760 because it could be enabled automatically if view-read-only is non-nil.
14761
14762 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14763
14764 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14765 made on 2009-11-22.
14766
14767 2009-11-24 Glenn Morris <rgm@gnu.org>
14768
14769 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14770 deleted variable bookmark-bmenu-bookmark-column.
14771
14772 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14773
14774 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14775
14776 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14777
14778 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14779 two slashes to the "file:" prefix.
14780 (browse-url-file-url): De-munge Cygwin filenames before passing
14781 them to Windows browser.
14782 (browse-url-default-windows-browser): Use call-process.
14783
14784 2009-11-23 Juri Linkov <juri@jurta.org>
14785
14786 Implement DocView Continuous mode. (Bug#4896)
14787 * doc-view.el (doc-view-continuous-mode): New defcustom.
14788 (doc-view-mode-map): Bind C-n/<down> to
14789 `doc-view-next-line-or-next-page', C-p/<up> to
14790 `doc-view-previous-line-or-previous-page'.
14791 (doc-view-next-line-or-next-page)
14792 (doc-view-previous-line-or-previous-page): New commands.
14793
14794 2009-11-23 Juri Linkov <juri@jurta.org>
14795
14796 Implement Isearch in comint input history. (Bug#3746)
14797 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14798 `isearch-mode-hook'.
14799 (comint-history-isearch): New defcustom.
14800 (comint-history-isearch-backward)
14801 (comint-history-isearch-backward-regexp): New commands.
14802 (comint-history-isearch-message-overlay): New buffer-local variable.
14803 (comint-history-isearch-setup, comint-history-isearch-end)
14804 (comint-goto-input, comint-history-isearch-search)
14805 (comint-history-isearch-message, comint-history-isearch-wrap)
14806 (comint-history-isearch-push-state)
14807 (comint-history-isearch-pop-state): New functions.
14808
14809 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14810
14811 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14812 return.
14813 (tramp-handle-make-symbolic-link)
14814 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14815 Quote file names.
14816 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14817 (tramp-handle-process-file): Use it.
14818
14819 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14820
14821 * window.el (move-to-window-line-last-op): Remove.
14822 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14823
14824 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14825
14826 Make M-r mirror the new cycling behavior of C-l.
14827 * window.el (move-to-window-line-last-op): New var.
14828 (move-to-window-line-top-bottom): New command.
14829 (global-map): Bind M-r move-to-window-line-top-bottom.
14830
14831 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14832
14833 * dired-x.el (dired-guess-shell-alist-default):
14834 Support xz format. (Bug#4953)
14835
14836 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14837
14838 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14839 last-command-char/last-command-event.
14840 (viper-prefix-arg-value): Do correct conversion of event-char for
14841 XEmacs.
14842
14843 * emulation/viper-util.el, emulation/viper.el:
14844 Use viper-last-command-char instead of
14845 last-command-char/last-command-event.
14846
14847 * ediff-init.el, ediff-mult.el, ediff-util.el:
14848 Replace last-command-char and last-command-event
14849 with (ediff-last-command-char) everywhere.
14850
14851 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14852 created in fundamental mode.
14853
14854 * ediff.el (ediff-version): Revert the change of interactive-p to
14855 called-interactively-p.
14856
14857 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14858
14859 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14860 generation from word-movement command names.
14861
14862 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14863
14864 * cus-start.el (all): Add native condition for font-use-system-font.
14865
14866 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14867
14868 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14869 Correct the patch from 2009-11-18. (Bug#3910)
14870
14871 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14872
14873 * progmodes/subword.el: Rename from lisp/subword.el.
14874
14875 * subword.el: Rename to progmodes/subword.el.
14876
14877 * Makefile.in (ELCFILES): Adapt to subword.el move.
14878
14879 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14880 Stefan Monnier <monnier@iro.umontreal.ca>
14881
14882 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14883 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14884 (bookmark-bmenu-show-filenames): Use push.
14885 (bookmark-bmenu-hide-filenames): Use local var instead of
14886 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14887 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14888 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14889 filenames now that the bookmark names are always available.
14890
14891 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14892
14893 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14894 (bookmark-search-pattern): Move and leave unbound.
14895 (bookmark-bmenu-mode-map): Change binding.
14896 (bookmark-read-search-input): Simplify.
14897 Don't use text-char-description. Don't error on non-char events.
14898 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14899 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14900 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14901 Use a local var for the timer.
14902 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14903 (i.e. bookmark-bmenu-search).
14904
14905 2009-11-21 Glenn Morris <rgm@gnu.org>
14906
14907 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14908
14909 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14910
14911 * net/browse-url.el (browse-url-default-windows-browser):
14912 Use cygstart for cygwin.
14913
14914 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14915
14916 * bookmark.el: Formatting and doc fixes only:
14917 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14918 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14919 Minor grammar and punctuation fixes in doc string.
14920 (bookmark-read-search-input): Adjust to fit within 80 columns.
14921
14922 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14923
14924 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14925 (c-backward-into-nomenclature): Adapt to subword renaming.
14926
14927 * subword.el (subword-forward, subword-backward, subword-mark)
14928 (subword-kill, subword-backward-kill, subword-transpose)
14929 (subword-downcase, subword-upcase, subword-capitalize)
14930 (subword-forward-internal, subword-backward-internal):
14931 Rename from forward-subword, backward-subword, mark-subword,
14932 kill-subword, backward-kill-subword, transpose-subwords,
14933 downcase-subword, upcase-subword, capitalize-subword,
14934 forward-subword-internal, backward-subword-internal.
14935
14936 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14937
14938 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14939 New options.
14940 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14941 New vars.
14942 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14943 (bookmark-bmenu-filter-alist-by-regexp)
14944 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14945 (bookmark-bmenu-search): New command.
14946 (bookmark-bmenu-mode-map): Bind it.
14947
14948 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14949
14950 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14951 backward-subword to quit the byte-compiler.
14952
14953 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14954
14955 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14956
14957 * progmodes/cc-cmds.el (c-update-modeline)
14958 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14959 Refer to subword.el functions instead of cc-subword.el.
14960
14961 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14962 subword.el functions instead of cc-subword.el.
14963
14964 * progmodes/cc-subword.el: Rename to subword.el.
14965 * subword.el: Rename from progmodes/cc-subword.el.
14966 (subword-mode-map): Rename from c-subword-mode-map.
14967 (subword-mode): Rename from c-subword-mode.
14968 (global-subword-mode): New global minor mode.
14969 (forward-subword): Rename from c-forward-subword.
14970 (backward-subword): Rename from c-backward-subword.
14971 (mark-subword): Rename from c-mark-subword.
14972 (kill-subword): Rename from c-kill-subword.
14973 (backward-kill-subword): Rename from c-backward-kill-subword.
14974 (transpose-subwords): Rename from c-tranpose-subword.
14975 (downcase-subword): Rename from c-downcase-subword.
14976 (capitalize-subword): Rename from c-capitalize-subword.
14977 (forward-subword-internal): Rename from c-forward-subword-internal.
14978 (backward-subword-internal): Rename from c-backward-subword-internal.
14979
14980 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14981
14982 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14983 from a dired buffer.
14984 (vc-dired-deduce-fileset): New function.
14985 (vc-root-diff, vc-print-root-log): Use it.
14986
14987 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14988 nil LIMIT argument to vc-print-log-internal.
14989
14990 2009-11-20 Glenn Morris <rgm@gnu.org>
14991
14992 * Makefile.in (ELCFILES): Regenerate.
14993
14994 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14995
14996 * calc/calc.el (calc-set-mode-line):
14997 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14998 (math-format-number): Rename `math-format-complement-signed' to
14999 `math-format-twos-complement'.
15000
15001 * calc/calc-bin.el (math-format-twos-complement): Rename from
15002 math-format-complement-signed.
15003 (calc-radix): Rename `calc-complement-signed-mode' to
15004 `calc-twos-complement-mode'.
15005 (calc-octal-radix, calc-hex-radix): Add an argument for
15006 two's complement.
15007
15008 * calc/calc-embed.el (calc-embedded-mode-vars):
15009 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15010
15011 * calc/calc-ext.el (calc-init-extensions):
15012 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15013 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15014
15015 * calc/calc-units.el (math-build-units-table-buffer):
15016 Let `calc-twos-complement-mode' be nil.
15017
15018 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15019 entries.
15020
15021 * calc/calc-vec.el (calcFunc-vunpack):
15022 * calc/calc-aent.el (calc-do-calc-eval):
15023 * calc/calc-forms.el (math-format-date):
15024 * calc/calc-graph.el (calc-graph-plot):
15025 * calc/calc-math.el (math-use-emacs-fn):
15026 * calc/calccomp.el (math-compose-expr):
15027 Let `calc-twos-complement-mode' be nil.
15028
15029 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15030
15031 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15032 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15033 * minibuffer.el (completion-in-region-functions): New hook.
15034 (completion-in-region): New function.
15035 * emacs-lisp/lisp.el (lisp-complete-symbol):
15036 * pcomplete.el (pcomplete-std-complete): Use it.
15037
15038 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15039
15040 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15041 (latex-complete-alist): New vars.
15042 (latex-string-prefix-p, latex-complete-bibtex-keys)
15043 (latex-complete-envnames, latex-complete-refkeys)
15044 (latex-complete-data): New functions.
15045 (latex-complete, latex-indent-or-complete): New commands.
15046
15047 * window.el (display-buffer-mark-dedicated): New var.
15048 (display-buffer): Obey it.
15049 * minibuffer.el (minibuffer-completion-help): Use it.
15050
15051 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15052
15053 * filecache.el (file-cache-add-file): Use push and cons.
15054 (file-cache-delete-file-regexp): Use push.
15055 (file-cache-complete): Use completion-in-region.
15056
15057 * simple.el (with-wrapper-hook): Fix thinko.
15058
15059 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15060 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15061 Use with-current-buffer and string-to-number.
15062 (hfy-fallback-colour-values): Use assoc-string.
15063 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15064 (hfy-face-at): Remove unused var `found-face'.
15065 (hfy-compile-stylesheet): Remove unused var `css'.
15066 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15067 and `orig-buffer'.
15068 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15069 Use with-current-buffer.
15070 (hfy-text-p): Use expand-file-name and fewer setq.
15071
15072 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15073
15074 * htmlfontify.el, hfy-cmap.el: New files.
15075
15076 2009-11-19 Juri Linkov <juri@jurta.org>
15077
15078 * minibuffer.el (completions-format): New defcustom.
15079 (completion--insert-strings): Implement vertical format.
15080
15081 * simple.el (switch-to-completions): Move point to the first
15082 completion when point was at the beginning of the buffer.
15083
15084 2009-11-19 Juri Linkov <juri@jurta.org>
15085
15086 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15087
15088 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15089
15090 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15091
15092 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15093 (mail-signature): Change default to t.
15094 (mail-from-style): Deprecate `system-default' value.
15095 (mail-insert-from-field): For default value of mail-from-style,
15096 default to `angles' unless `angles' needs quoting and `parens'
15097 does not.
15098 (mail-citation-prefix-regexp): Use citation regexp from
15099 message-mode.
15100
15101 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15102
15103 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15104 Set variables for computing the prompt for reading password.
15105
15106 2009-11-19 Glenn Morris <rgm@gnu.org>
15107
15108 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15109
15110 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15111
15112 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15113 (newsticker-treeview-listwindow-height): Fix custom type.
15114
15115 2009-11-19 Kenichi Handa <handa@m17n.org>
15116
15117 * descr-text.el (describe-char-padded-string): Compose with TAB
15118 only if there's a font for CH.
15119 (describe-char): Fix the condition for detecting a trivial composition.
15120
15121 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15122
15123 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15124 more accurate version of the regexp. (Bug#3910)
15125
15126 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15127
15128 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15129
15130 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15131
15132 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15133 (font-setting-change-default-font): Fix typo in docstring.
15134
15135 2009-11-18 Alan Mackenzie <acm@muc.de>
15136
15137 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15138
15139 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15140
15141 * font-setting.el (font-use-system-font): Move ...
15142
15143 * cus-start.el (all): ... to here.
15144
15145 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15146
15147 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15148 Don't set `ad-return-value' if `ad-do-it' doesn't.
15149
15150 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15151 modification time.
15152
15153 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15154
15155 * menu-bar.el: Put "Use system font" in Option-menu.
15156 (menu-bar-options-save): Add font-use-system-font.
15157
15158 * loadup.el: If feature system-font-setting or font-render-setting is
15159 there, load font-setting.
15160
15161 * Makefile.in (ELCFILES): Add font-settings.el.
15162 * font-setting.el: New file.
15163
15164 2009-11-17 Glenn Morris <rgm@gnu.org>
15165
15166 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15167
15168 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15169 Preserve point in the list buffer. (Bug#4939)
15170 Use point-at-eol.
15171 (newsticker--treeview-list-update-highlight)
15172 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15173
15174 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15175
15176 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15177 Remove.
15178
15179 * calc/calc-ext.el (calc-init-extensions): Remove references to
15180 symclip.
15181
15182 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15183
15184 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15185 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15186 `calc-symclip'.
15187
15188 2009-11-16 Kevin Ryde <user42@zip.com.au>
15189
15190 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15191 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15192
15193 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15194 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15195 Ignore trailing spaces by omit-nulls to split-string (fixing
15196 regression from Emacs 21 due to the incompatible split-string
15197 change). (Bug #4928.)
15198
15199 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15200
15201 * vc.el (vc-log-show-limit): Default to 2000.
15202 (vc-print-log-internal): Insert buttons to request more entries
15203 when limiting the output.
15204
15205 * vc-sccs.el (vc-sccs-print-log):
15206 * vc-rcs.el (vc-rcs-print-log):
15207 * vc-cvs.el (vc-cvs-print-log):
15208 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15209 LIMIT is non-nil.
15210
15211 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15212
15213 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15214 error when `tramp-gvfs-dbus-event-vector' is set.
15215 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15216
15217 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15220
15221 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15222
15223 * net/dbus.el (dbus-unregister-service): New defun.
15224 (dbus-register-property): Register the handlers of
15225 "org.freedesktop.DBus.Properties" for SERVICE.
15226 (dbus-property-handler): Fix docstring.
15227
15228 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15229
15230 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15231 Quote doc string reference in defvaralias as it is not in special form.
15232 (byte-compile-output-docform): Doc fix.
15233
15234 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15235
15236 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15237 (calc-complement-signed-mode): New variables.
15238 (calc-set-mode-line): Add indicator for twos-complements.
15239 (math-format-number): Format twos-complement notation.
15240
15241 * calc/calc-bin.el (calc-word-size): Reset the variables
15242 `math-2-word-size' and `math-half-2-word-size'.
15243 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15244 (calc-symclip): New functions.
15245
15246 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15247
15248 * calc/calc-embed.el (calc-embedded-mode-vars):
15249 Add `calc-complement-signed-mode' to the list of modes.
15250
15251 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15252 (calc-b-oper-keys): Add `calc-symclip' to list.
15253
15254 * calc/calc-ext.el (math-read-number-fancy): Read complement
15255 signed numbers.
15256 (calc-init-extensions): Add binding for `calc-symclip'.
15257 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15258
15259 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15260 `calc-symclip'.
15261 (calc-modes-menu): Add item for twos complement mode.
15262
15263 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15264
15265 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15266
15267 * register.el (jump-to-register, insert-register): Handle Semantic
15268 tags. From commented-out advice in semantic/senator.el.
15269
15270 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15271
15272 * vc.el (vc-log-show-limit): New variable.
15273 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15274 when using a prefix argument.
15275 (vc-print-log-internal): Add new argument LIMIT.
15276
15277 * vc-svn.el (vc-svn-print-log):
15278 * vc-mtn.el (vc-mtn-print-log):
15279 * vc-hg.el (vc-hg-print-log):
15280 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15281 pass it to the log command when set. Make the BUFFER argument
15282 non-optional.
15283
15284 * vc-sccs.el (vc-sccs-print-log):
15285 * vc-rcs.el (vc-rcs-print-log):
15286 * vc-git.el (vc-git-print-log):
15287 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15288 ignore it. Make the BUFFER argument non-optional
15289
15290 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15291
15292 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15293
15294 * dired.el (dired-mode-map): Move encryption items to "Operate"
15295 menu (Bug#4703).
15296
15297 * strokes.el (strokes-update-window-configuration): Make strokes
15298 buffer current before erasing (Bug#4906).
15299
15300 2009-11-15 Juri Linkov <juri@jurta.org>
15301
15302 * simple.el (set-mark-default-inactive): Add :type, :group
15303 and :version. (Bug#4876)
15304
15305 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15306
15307 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15308 (archive-unique-fname): ... here. (Bug#4929)
15309
15310 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15311
15312 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15313 with a real fix.
15314
15315 * novice.el (disabled-command-function): Add useful args.
15316 Setup the help buffer so that [back] works.
15317 Remove redundant call to help-mode.
15318 (disabled-command-function): Use `case'.
15319 (en/disable-command): New function extracted from enable-command.
15320 (enable-command, disable-command): Use it.
15321
15322 2009-11-14 Glenn Morris <rgm@gnu.org>
15323
15324 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15325 constants. (Bug#4913)
15326
15327 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15328
15329 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15330
15331 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15332 defined in C that have no doc-strings. (Bug#1063)
15333
15334 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15335
15336 * cus-edit.el (data, files):
15337 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15338
15339 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15340
15341 * simple.el (shell-command): Doc fix (Bug#4891).
15342
15343 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15344
15345 2009-11-14 Glenn Morris <rgm@gnu.org>
15346
15347 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15348 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15349 If they are already loaded, eval-after-load will do the right thing.
15350
15351 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15352 compiling.
15353
15354 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15355
15356 * simple.el (x-selection-owner-p): Declare.
15357 (read-mail-command): Use custom radio type rather than choice.
15358 (completion-no-auto-exit): Doc fix.
15359
15360 * custom.el (defgroup):
15361 * epg-config.el (epg): Doc fixes.
15362
15363 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15364
15365 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15366 * international/ccl.el (define-ccl-program): Do not purecopy the
15367 docstring, defconst does it anyway.
15368
15369 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15370
15371 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15372 a second time.
15373
15374 * x-dnd.el (x-dnd-maybe-call-test-function):
15375 * window.el (split-window-vertically):
15376 * whitespace.el (whitespace-help-on):
15377 * vc-rcs.el (vc-rcs-consult-headers):
15378 * userlock.el (ask-user-about-lock-help)
15379 (ask-user-about-supersession-help):
15380 * type-break.el (type-break-force-mode-line-update):
15381 * time-stamp.el (time-stamp-conv-warn):
15382 * terminal.el (te-set-output-log, te-more-break, te-filter)
15383 (te-sentinel, terminal-emulator):
15384 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15385 (term-write-input-ring, term-check-source, term-start-output-log):
15386 (term-display-buffer-line, term-dynamic-list-completions):
15387 (term-ansi-make-term, serial-term):
15388 * subr.el (selective-display):
15389 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15390 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15391 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15392 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15393 (speedbar-remove-localized-speedbar-support)
15394 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15395 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15396 (speedbar-buffers-line-directory):
15397 * simple.el (shell-command-on-region, append-to-buffer)
15398 (prepend-to-buffer):
15399 * shadowfile.el (shadow-save-todo-file):
15400 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15401 (scroll-bar-maybe-set-window-start):
15402 * sb-image.el (speedbar-image-dump):
15403 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15404 (load-save-place-alist-from-file):
15405 * ps-samp.el (ps-print-message-from-summary):
15406 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15407 (ps-background-image, ps-begin-job, ps-do-despool):
15408 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15409 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15410 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15411 (pr-call-process, pr-file-list, pr-interface-save):
15412 * novice.el (disabled-command-function)
15413 (enable-command, disable-command):
15414 * mouse.el (mouse-buffer-menu-alist):
15415 * mouse-copy.el (mouse-kill-preserving-secondary):
15416 * macros.el (kbd-macro-query):
15417 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15418 * informat.el (batch-info-validate):
15419 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15420 * hippie-exp.el (try-expand-dabbrev-visible):
15421 * help-mode.el (help-make-xrefs):
15422 * help-fns.el (describe-variable):
15423 * generic-x.el (bat-generic-mode-run-as-comint):
15424 * finder.el (finder-mouse-select):
15425 * find-dired.el (find-dired-sentinel):
15426 * filesets.el (filesets-file-close):
15427 * files.el (list-directory):
15428 * faces.el (list-faces-display, describe-face):
15429 * facemenu.el (list-colors-display):
15430 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15431 * epg.el (epg--process-filter, epg-cancel):
15432 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15433 (epa--read-signature-type):
15434 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15435 (emerge-file-names):
15436 * ehelp.el (electric-helpify):
15437 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15438 * ediff-vers.el (rcs-ediff-view-revision):
15439 * ediff-util.el (ediff-setup):
15440 * ediff-mult.el (ediff-append-custom-diff):
15441 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15442 (ediff-wordify):
15443 * echistory.el (Electric-command-history-redo-expression):
15444 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15445 * disp-table.el (describe-display-table):
15446 * dired.el (dired-find-buffer-nocreate):
15447 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15448 * dabbrev.el (dabbrev--same-major-mode-p):
15449 * chistory.el (list-command-history):
15450 * apropos.el (apropos-documentation):
15451 * allout.el (allout-obtain-passphrase):
15452 (allout-copy-exposed-to-buffer):
15453 (allout-verify-passphrase): Use with-current-buffer.
15454
15455 2009-11-13 Glenn Morris <rgm@gnu.org>
15456
15457 * Makefile.in (ELCFILES): Regenerate.
15458
15459 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15460
15461 * net/dbus.el (dbus-registered-objects-table): Rename from
15462 `dbus-registered-functions-table', because it contains also properties.
15463 (dbus-unregister-object): Unregister also properties.
15464 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15465 Use a timeout of 500 msec, in order to not block.
15466 (dbus-register-property, dbus-property-handler): New defuns.
15467
15468 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15469
15470 * simple.el (minibuffer-default-add-completions): Drop deprecated
15471 4th arg.
15472
15473 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15474
15475 * textmodes/artist.el (artist-mouse-choose-operation):
15476 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15477 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15478 (artist-compute-up-event-key): New function.
15479 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15480
15481 2009-11-13 Kenichi Handa <handa@m17n.org>
15482
15483 * language/japan-util.el: Make sure that the value of jisx0208
15484 property is jisx0208 character.
15485
15486 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15487
15488 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15489 car or each item, not the whole list.
15490
15491 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15492
15493 * minibuffer.el (minibuffer-completion-help):
15494 Use minibuffer-hide-completions.
15495
15496 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15497
15498 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15499 (dired-revert): Use them (bug#4880).
15500
15501 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15502
15503 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15504
15505 2009-11-12 Juri Linkov <juri@jurta.org>
15506
15507 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15508 New functions.
15509 (find-file-literally-at-point): Alias of `ffap-literally'.
15510
15511 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15512
15513 * textmodes/ispell.el (ispell-skip-region-alist):
15514 * textmodes/css-mode.el (auto-mode-alist):
15515 * progmodes/compile.el (auto-mode-alist):
15516 * international/mule.el (ctext-non-standard-encodings-alist)
15517 (ctext-non-standard-encodings-regexp):
15518 * simple.el (shell-command-switch, text-read-only):
15519 * replace.el (occur-mode-map):
15520 * paths.el (rmail-file-name):
15521 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15522 * find-file.el (ff-special-constructs):
15523 * files.el (file-name-handler-alist):
15524 * composite.el: Purecopy strings.
15525
15526 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15527
15528 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15529
15530 * widget.el (define-widget): Purecopy the docstring.
15531 * international/mule-cmds.el (charset): Do not purecopy the
15532 docstring here, define-widget does it.
15533
15534 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15535 * textmodes/bibtex-style.el (auto-mode-alist):
15536 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15537 * progmodes/compile.el (compile-command):
15538 * language/korea-util.el (default-korean-keyboard):
15539 * international/mule-conf.el (file-coding-system-alist):
15540 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15541 * tooltip.el (tooltip-frame-parameters):
15542 * newcomment.el (comment-end, comment-padding):
15543 * dired.el (dired-trivial-filenames):
15544 * comint.el (comint-file-name-prefix): Purecopy initial values.
15545
15546 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15547
15548 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15549 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15550 `tramp-unload'.
15551 (tramp-advice-make-auto-save-file-name)
15552 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15553 after removing the advice.
15554
15555 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15556
15557 * progmodes/grep.el (grep-regexp-alist):
15558 * international/mule-cmds.el (iso-2022-control-alist):
15559 * emacs-lisp/timer.el (timer-duration-words):
15560 * subr.el (version-separator, version-regexp-alist):
15561 * minibuffer.el (completion-styles-alist):
15562 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15563 Change defvars to defconsts.
15564
15565 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15566 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15567 * international/mule-conf.el: Allow to be byte compiled.
15568
15569 * international/mule.el (define-charset): Purecopy props.
15570 (load-with-code-conversion): Purecopy doc string and file name.
15571 (put-charset-property): Purecopy strings.
15572 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15573
15574 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15575 (define-char-code-property): Correctly purecopy the table.
15576
15577 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15578
15579 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15580
15581 * subr.el (add-hook): Purecopy strings.
15582 (eval-after-load): Purecopy load-history-regexp and the form.
15583
15584 * custom.el (custom-declare-group): Purecopy load-file-name.
15585
15586 * subr.el (menu-bar-separator): New defconst.
15587 * net/eudc.el (eudc-tools-menu):
15588 * international/mule-cmds.el (set-coding-system-map)
15589 (mule-menu-keymap):
15590 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15591 * vc-hooks.el (vc-menu-map):
15592 * replace.el (occur-mode-map):
15593 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15594 (menu-bar-edit-menu, menu-bar-goto-menu)
15595 (menu-bar-custom-menu, menu-bar-showhide-menu)
15596 (menu-bar-options-menu, menu-bar-tools-menu)
15597 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15598 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15599 (menu-bar-help-menu):
15600 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15601 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15602
15603 * term/x-win.el (x-gtk-stock-map):
15604 * progmodes/vera-mode.el (auto-mode-alist):
15605 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15606 (inferior-lisp-program, inferior-lisp-load-command):
15607 * progmodes/hideshow.el (hs-special-modes-alist):
15608 * progmodes/gud.el (same-window-regexps):
15609 * progmodes/grep.el (grep-program, find-program, xargs-program):
15610 * net/telnet.el (same-window-regexps):
15611 * net/rlogin.el (same-window-regexps):
15612 * language/ethiopic.el (font-ccl-encoder-alist):
15613 * vc-sccs.el (vc-sccs-master-templates):
15614 * vc-rcs.el (vc-rcs-master-templates):
15615 * subr.el (cl-assertion-failed):
15616 * simple.el (next-error-overlay-arrow-position):
15617 * lpr.el (lpr-command):
15618 * locate.el (locate-ls-subdir-switches):
15619 * info.el (same-window-regexps, info)
15620 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15621 * image-mode.el (image-mode, auto-mode-alist):
15622 * hippie-exp.el (hippie-expand-ignore-buffers):
15623 * format.el (format-alist):
15624 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15625 (find-name-arg):
15626 * facemenu.el (facemenu-keybindings):
15627 * dired.el (dired-listing-switches, dired-chown-program):
15628 * diff.el (diff-switches, diff-command):
15629 * cus-edit.el (same-window-regexps):
15630 * bindings.el (mode-line-mule-info)
15631 (mode-line-buffer-identification): Purecopy strings.
15632
15633 2009-11-11 Juri Linkov <juri@jurta.org>
15634
15635 * simple.el (dired-get-filename) <declare-function>:
15636 Tell the byte-compiler about dired-get-filename.
15637 (shell-command): In Dired mode, get filename from the current line
15638 as the default value.
15639
15640 2009-11-10 Glenn Morris <rgm@gnu.org>
15641
15642 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15643 * calendar/holidays.el, progmodes/cperl-mode.el:
15644 Update x-popup-menu declarations.
15645
15646 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15647 (list-load-path-shadows): Use dolist.
15648 (list-load-path-shadows): Use with-current-buffer.
15649
15650 2009-11-10 Juri Linkov <juri@jurta.org>
15651
15652 * minibuffer.el (read-file-name): Support a list of default values
15653 in `default-filename'. Use the first file name where only one
15654 element is required. Doc fix.
15655
15656 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15657
15658 * net/dbus.el (dbus-unregister-object): Release service, if no
15659 other method is registered for it.
15660
15661 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15662
15663 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15664 bookmark-sort-flag is non-nil (Bug#4653).
15665
15666 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15667
15668 * emulation/cua-base.el: Add CUA property to some CC mode commands
15669 (Bug#4100).
15670
15671 2009-11-08 Kevin Ryde <user42@zip.com.au>
15672
15673 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15674 at end of sentence (Bug#4818).
15675
15676 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15677
15678 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15679 Handle "see declaration of" MSFT statements (Bug#4100).
15680
15681 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15682
15683 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15684 (tramp-advice-file-expand-wildcards): Unload via
15685 `ad-remove-advice'.
15686
15687 * net/trampver.el: Update release number.
15688
15689 2009-11-08 Kevin Ryde <user42@zip.com.au>
15690
15691 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15692 `ad-do-it'.
15693
15694 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15695
15696 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15697 in order to keep context in SELinux.
15698
15699 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15700
15701 * dired-aux.el (dired-query): Place cursor in echo area and allow
15702 C-g.
15703
15704 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15705 menu item if not on a directory (Bug#4701).
15706
15707 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15708
15709 Sync with Tramp 2.1.17.
15710
15711 * net/tramp.el (tramp-handle-copy-directory): Don't use
15712 `file-remote-p' (due to compatibility).
15713
15714 * net/tramp-compat.el (tramp-compat-copy-directory)
15715 (tramp-compat-delete-directory): New defuns.
15716
15717 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15718 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15719 Use `tramp-compat-delete-directory'.
15720
15721 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15722 (tramp-smb-handle-delete-directory):
15723 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15724
15725 * net/trampver.el: Update release number.
15726
15727 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15728
15729 * tar-mode.el (tar-copy): Call write-region on the right buffer
15730 (Bug#4857).
15731
15732 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15733 by hand, if necessary (Bug#4878).
15734
15735 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15736
15737 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15738 align size column (Bug#4839).
15739
15740 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15741 statement.
15742
15743 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15744
15745 * progmodes/ld-script.el (auto-mode-alist):
15746 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15747
15748 * cus-face.el (custom-declare-face): Purecopy face spec.
15749
15750 2009-11-06 Kenichi Handa <handa@m17n.org>
15751
15752 * international/uni-bidi.el: Re-generated.
15753 * international/uni-category.el: Re-generated.
15754 * international/uni-combining.el: Re-generated.
15755 * international/uni-mirrored.el: Re-generated.
15756
15757 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15758
15759 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15760 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15761 (tex-start-options, slitex-run-command, latex-run-command)
15762 (tex-run-command, tex-directory):
15763 * textmodes/ispell.el (ispell-html-skip-alists)
15764 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15765 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15766 (adaptive-fill-regexp):
15767 * textmodes/dns-mode.el (auto-mode-alist):
15768 * progmodes/python.el (interpreter-mode-alist):
15769 * progmodes/etags.el (tags-compression-info-list):
15770 * progmodes/etags.el (tags-file-name):
15771 * net/browse-url.el (browse-url-galeon-program)
15772 (browse-url-firefox-program):
15773 * mail/sendmail.el (mail-signature-file)
15774 (mail-citation-prefix-regexp):
15775 * international/mule-conf.el (eight-bit):
15776 * international/latexenc.el (latex-inputenc-coding-alist):
15777 * international/fontset.el (x-pixel-size-width-font-regexp):
15778 * emacs-lisp/warnings.el (warning-type-format):
15779 * emacs-lisp/trace.el (trace-buffer):
15780 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15781 (emacs-lisp-mode-map):
15782 * calendar/holidays.el (holiday-solar-holidays)
15783 (holiday-bahai-holidays, holiday-islamic-holidays)
15784 (holiday-christian-holidays, holiday-hebrew-holidays)
15785 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15786 (hebrew-holidays-1, holiday-oriental-holidays)
15787 (holiday-general-holidays):
15788 * x-dnd.el (x-dnd-known-types):
15789 * tool-bar.el (tool-bar):
15790 * startup.el (site-run-file):
15791 * shell.el (shell-dumb-shell-regexp):
15792 * rfn-eshadow.el (file-name-shadow-tty-properties)
15793 (file-name-shadow-properties):
15794 * paths.el (remote-shell-program, news-directory):
15795 * mouse.el ([C-down-mouse-3]):
15796 * menu-bar.el (menu-bar-tools-menu):
15797 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15798 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15799 (jka-compr-compression-info-list):
15800 * isearch.el (search-whitespace-regexp):
15801 * image-file.el (image-file-name-extensions):
15802 * find-dired.el (find-ls-option):
15803 * files.el (directory-listing-before-filename-regexp)
15804 (directory-free-space-args, insert-directory-program)
15805 (list-directory-brief-switches, magic-fallback-mode-alist)
15806 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15807 (automount-dir-prefix):
15808 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15809 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15810 (face-font-registry-alternatives, face-font-registry-alternatives)
15811 (face-font-family-alternatives):
15812 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15813 (facemenu-foreground-menu, facemenu-face-menu):
15814 * epa-hook.el (epa-file-name-regexp):
15815 * dnd.el (dnd-protocol-alist):
15816 * textmodes/rst.el (auto-mode-alist):
15817 * button.el (default-button): Purecopy strings.
15818
15819 2009-11-06 Glenn Morris <rgm@gnu.org>
15820
15821 * Makefile.in (ELCFILES): Update.
15822
15823 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15824
15825 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15826 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15827
15828 * nxml/xsd-regexp.el (xsdre-gen-categories):
15829 * nxml/xmltok.el (xmltok-parse-entity):
15830 * nxml/rng-parse.el (rng-parse-validate-file):
15831 * nxml/rng-maint.el (rng-format-manual)
15832 (rng-manual-output-force-new-line):
15833 * nxml/rng-loc.el (rng-save-schema-location-1):
15834 * nxml/rng-cmpct.el (rng-c-parse-file):
15835 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15836 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15837
15838 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15839
15840 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15841 Remove extra save-excursions and make-variable-buffer-local's.
15842 Suggested by Stefan Monnier.
15843
15844 (verilog-getopt-file, verilog-module-inside-filename-p)
15845 (verilog-set-define): Merge GNU 1.35 and repair changes from
15846 switching to using with-current-buffer.
15847
15848 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15849 being treated as a number and confusing AUTORESET.
15850 Reported by Dan Dever.
15851
15852 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15853 Add verilog-auto-ignore-concat to fix backward compatibility with
15854 older verilog-modes. Reported by Dan Katz.
15855
15856 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15857 containing closing anchors "...$".
15858
15859 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15860 Reported by Wade Smith.
15861
15862 (verilog-batch-execute-func): Comment on function usage.
15863
15864 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15865
15866 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15867 for labels.
15868
15869 (verilog-label-re, verilog-calc-1): Support proper indent of named
15870 asserts.
15871
15872 (verilog-backward-token, verilog-basic-complete-re)
15873 (verilog-beg-of-statement, verilog-indent-re): Support proper
15874 indent of the assert statement at the beginning of a block of text.
15875
15876 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15877 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15878 tokens as begins.
15879
15880 2009-11-05 Glenn Morris <rgm@gnu.org>
15881
15882 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15883 Emacs 19. (Bug#1531)
15884 (byte-compile-fix-header): Update for the above change.
15885 Drop test for epoch::version.
15886
15887 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15888 * cus-dep.el (custom-make-dependencies):
15889 * finder.el (finder-compile-keywords):
15890 Use autoload-rubric's feature argument.
15891
15892 * calendar/diary-lib.el (top-level): Make load behave more like require.
15893
15894 * vc-git.el (vc-git-stash-map): Move definition before use.
15895
15896 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15897
15898 * custom.el (custom-declare-group): Purecopy standard-value.
15899 (custom-declare-group): Purecopy custom-prefix.
15900
15901 * international/mule.el (load-with-code-conversion):
15902 Call do-after-load-evaluation unconditionally.
15903
15904 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15905
15906 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15907
15908 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15909
15910 2009-11-04 Glenn Morris <rgm@gnu.org>
15911
15912 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15913 (byte-compile-compatibility): Remove option.
15914 (byte-compile-close-variables, byte-compile-fix-header)
15915 (byte-compile-insert-header, byte-compile-output-docform)
15916 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15917 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15918 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15919 (byte-compile-insert, byte-compile-defun):
15920 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15921 (byte-defop-compiler19): Remove.
15922 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15923 used by anything. Replace all calls with byte-defop-compiler.
15924
15925 2009-11-04 Juri Linkov <juri@jurta.org>
15926
15927 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15928 (menu-bar-options-menu): Don't quote the `prop' arg of
15929 `menu-bar-make-mm-toggle'.
15930
15931 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15932
15933 * calendar/calendar.el (cal-loaddefs):
15934 * calendar/diary-lib.el (diary-loaddefs):
15935 * calendar/holidays.el (hol-loaddefs):
15936 * eshell/esh-module.el (esh-groups): Load rather than require.
15937
15938 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15939
15940 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15941 point-min==1.
15942 (todo-top-priorities): Only display-buffer when called interactively.
15943 (todo-item-start): Don't save excursion point.
15944 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15945 (todo-insert-item-here, todo-file-item, todo-remove-item):
15946 Adjust uses of todo-item-start and todo-item-end.
15947
15948 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15949 (autoload-rubric): Don't use any more.
15950
15951 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15952 and only put a prop if it is non-nil.
15953
15954 2009-11-03 Juri Linkov <juri@jurta.org>
15955
15956 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15957 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15958
15959 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15960 and "Menu" to make top-level menu item visually one unit (like
15961 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15962 multi-word menu items). Fix :help string for quit-window.
15963
15964 2009-11-03 Glenn Morris <rgm@gnu.org>
15965
15966 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15967 (byte-compile-file-form-define-abbrev-table)
15968 (byte-compile-file-form-custom-declare-variable)
15969 (byte-compile-variable-ref, byte-compile-defvar):
15970 Whether or not a warning is enabled should only affect whether we issue
15971 the warning, not whether or not we collect the relevant data.
15972 Eg warnings can be turned on and off throughout the course of a file.
15973
15974 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15975 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15976
15977 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15978
15979 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15980 * play/mpuz.el (mpuz-create-buffer):
15981 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15982 (lm-print-y,s,noise, lm-print-w0, lm-init):
15983 * play/gomoku.el (gomoku-prompt-for-move):
15984 * play/fortune.el (fortune-in-buffer):
15985 * play/dissociate.el (dissociated-press):
15986 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15987 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15988 * mail/supercite.el (sc-eref-show):
15989 * mail/smtpmail.el (smtpmail-send-it):
15990 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15991 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15992 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15993 (rmail-summary-goto-msg, rmail-summary-expunge)
15994 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15995 (rmail-summary-add-label, rmail-summary-output-menu)
15996 (rmail-summary-output-body):
15997 * mail/rfc822.el (rfc822-addresses):
15998 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15999 * mail/mailpost.el (post-mail-send-it):
16000 * mail/hashcash.el (hashcash-generate-payment):
16001 * mail/feedmail.el (feedmail-run-the-queue)
16002 (feedmail-queue-send-edit-prompt-help-first)
16003 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16004 (feedmail-deduce-address-list):
16005 * eshell/esh-ext.el (eshell-remote-command):
16006 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16007 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16008 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16009 (viper-save-string-in-file, viper-valid-marker):
16010 * emulation/viper-keym.el (viper-toggle-key):
16011 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16012 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16013 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16014 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16015 (viper-exec-form-in-emacs, viper-brac-function):
16016 * emulation/viper.el (viper-delocalize-var):
16017 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16018 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16019 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16020 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16021 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16022 * emulation/edt.el (edt-electric-helpify):
16023 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16024 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16025 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16026 (cua-indent-to-global-mark-column):
16027 * calendar/diary-lib.el (calendar-mark-1):
16028 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16029 Use with-current-buffer.
16030 * emulation/viper.el (viper-delocalize-var): Use dolist.
16031
16032 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16033
16034 * comint.el (comint-replace-by-expanded-history-before-point):
16035 Replace !! with the previous input string literally (Bug#1795).
16036
16037 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16038
16039 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16040 to be made up of whitespace.
16041
16042 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16043
16044 * minibuffer.el (read-file-name): Don't use file dialogs for
16045 remote directories (Bug#99).
16046
16047 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16048
16049 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16050
16051 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16052
16053 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16054 instead of deleting the window or frame.
16055
16056 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16057
16058 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16059 Support face colors.
16060
16061 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16062 New function. Support face colors (Bug#1168).
16063 (tex-common-initialization): Use it.
16064
16065 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16066 mode allows it (Bug#1168).
16067
16068 2009-10-31 Juri Linkov <juri@jurta.org>
16069
16070 * facemenu.el (list-colors-display): Don't mark buffer as
16071 modified (Bug#3948).
16072
16073 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16074
16075 * international/mule-diag.el (list-character-sets-1):
16076 Minor message fix (Bug#3526).
16077
16078 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16079 Fix face property (Bug#4834).
16080 (etags-list-tags, etags-tags-apropos-additional)
16081 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16082 property.
16083
16084 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16085 items.
16086
16087 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16088
16089 * textmodes/two-column.el (2C-split):
16090 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16091 * textmodes/tex-mode.el (tex-set-buffer-directory):
16092 * textmodes/spell.el (spell-region, spell-string):
16093 * textmodes/reftex.el (reftex-erase-buffer):
16094 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16095 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16096 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16097 (reftex-select-item):
16098 * textmodes/reftex-ref.el (reftex-label-info-update)
16099 (reftex-offer-label-menu):
16100 * textmodes/reftex-index.el (reftex-index-change-entry)
16101 (reftex-index-phrases-info):
16102 * textmodes/reftex-global.el (reftex-create-tags-file)
16103 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16104 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16105 (reftex-view-crossref-from-bibtex):
16106 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16107 (reftex-extract-bib-entries-from-thebibliography)
16108 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16109 * textmodes/refbib.el (r2b-capitalize-title):
16110 (r2b-convert-buffer, r2b-help):
16111 * textmodes/page-ext.el (pages-directory)
16112 (pages-directory-goto-with-mouse):
16113 * textmodes/bibtex.el (bibtex-validate-globally):
16114 * textmodes/bib-mode.el (bib-capitalize-title):
16115 * textmodes/artist.el (artist-clear-buffer, artist-system):
16116 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16117 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16118 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16119 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16120 (xscheme-send-control-g-interrupt, xscheme-start-process)
16121 (xscheme-process-sentinel, xscheme-cd):
16122 * progmodes/verilog-mode.el (verilog-read-always-signals)
16123 (verilog-set-define, verilog-getopt-file)
16124 (verilog-module-inside-filename-p):
16125 * progmodes/sh-script.el:
16126 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16127 (python-pdbtrack-grub-for-buffer, python-execute-file):
16128 * progmodes/octave-inf.el (inferior-octave):
16129 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16130 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16131 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16132 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16133 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16134 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16135 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16136 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16137 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16138 (idlwave-shell-examine-display, idlwave-shell-run-region)
16139 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16140 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16141 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16142 (idlwave-help-get-help-buffer):
16143 * progmodes/gud.el (gud-basic-call, gud-find-class)
16144 (gud-tooltip-activate-mouse-motions-if-enabled):
16145 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16146 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16147 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16148 (ebrowse-tags-next-file):
16149 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16150 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16151 (ebnf-eps-finish-and-write):
16152 * progmodes/cpp.el (cpp-edit-save):
16153 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16154 * progmodes/cc-defs.el (c-emacs-features):
16155 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16156 (antlr-directory-dependencies):
16157 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16158 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16159 (ada-find-any-references, ada-make-filename-from-adaname)
16160 (ada-make-body-gnatstub):
16161 * obsolete/rnews.el (news-list-news-groups):
16162 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16163 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16164 * net/rcirc.el (rcirc-debug):
16165 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16166 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16167 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16168 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16169 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16170 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16171 (newsticker--treeview-list-clear-highlight)
16172 (newsticker--treeview-list-update-highlight)
16173 (newsticker--treeview-list-highlight-start)
16174 (newsticker--treeview-tree-update-highlight)
16175 (newsticker--treeview-get-selected-item)
16176 (newsticker-treeview-mark-list-items-old)
16177 (newsticker--treeview-set-current-node):
16178 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16179 * net/newst-backend.el (newsticker--get-news-by-funcall)
16180 (newsticker--get-news-by-wget, newsticker--image-get)
16181 (newsticker--image-sentinel):
16182 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16183 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16184 (eudc-ph-close-session):
16185 * net/eudc.el (eudc-save-options):
16186 * language/thai-word.el (thai-update-word-table):
16187 * language/japan-util.el (japanese-string-conversion):
16188 * international/titdic-cnv.el (tsang-quick-converter)
16189 (ziranma-converter, ctlau-converter):
16190 * international/mule-cmds.el (describe-language-environment):
16191 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16192 (skkdic-convert-postfix, skkdic-convert-prefix):
16193 (skkdic-convert-okuri-nasi, skkdic-convert):
16194 * emacs-lisp/re-builder.el (reb-update-overlays):
16195 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16196 * emacs-lisp/gulp.el (gulp-send-requests):
16197 * emacs-lisp/find-gc.el (trace-call-tree):
16198 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16199 (eieio-describe-generic):
16200 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16201 * emacs-lisp/edebug.el (edebug-outside-excursion):
16202 * emacs-lisp/debug.el (debugger-make-xrefs):
16203 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16204 * emacs-lisp/chart.el (chart-new-buffer):
16205 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16206 Use with-current-buffer.
16207 * textmodes/artist.el (artist-system): Don't call
16208 copy-sequence on a fresh string.
16209 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16210
16211 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16212
16213 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16214 is no item to edit. (Bug#4820)
16215 (todo-top-priorities): Restore point and restore narrowing in Todo
16216 buffer. (Bug#4820)
16217
16218 2009-10-31 Glenn Morris <rgm@gnu.org>
16219
16220 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16221 (comint-last-output-start, comint-last-input-start)
16222 (comint-last-input-end): Don't defvar when compiling.
16223 (ange-ftp-process-file): Use bound-and-true-p.
16224
16225 * pcmpl-rpm.el (top-level): Move provide statement to end.
16226 (pcmpl-rpm): Remove unused custom group.
16227
16228 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16229
16230 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16231
16232 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16233 (byte-compile-warnings): Add `constants' as an option.
16234 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16235 (display-call-tree): Update for byte-compile-fdefinition possibly
16236 returning `(macro lambda ...)'. (Bug#4778)
16237 (byte-compile-variable-ref, byte-compile-setq-default):
16238 Respect `constants' member of byte-compile-warnings.
16239
16240 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16241
16242 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16243 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16244 to "submit:".
16245
16246 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16247
16248 * textmodes/ispell.el (ispell-skip-region-alist):
16249 * international/mule-conf.el (eight-bit):
16250 * international/fontset.el (font-encoding-alist):
16251 * startup.el (pure-space-overflow-message):
16252 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16253 * paths.el (gnus-nntp-service, rmail-spool-directory)
16254 (term-file-prefix):
16255 * files.el (save-some-buffers-action-alist):
16256 * cmuscheme.el (same-window-buffer-names):
16257 * ielm.el (same-window-buffer-names):
16258 * shell.el (same-window-buffer-names):
16259 * mail/sendmail.el (same-window-buffer-names):
16260 * progmodes/inf-lisp.el (same-window-buffer-names):
16261 * bindings.el (mode-line-client)
16262 (mode-line-column-line-number-mode-map):
16263 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16264 (tibetan-precomposed-regexp): Purecopy string arguments.
16265
16266 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16267
16268 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16269 (calcDigit-nondigit):
16270 * calc/calc-yank.el (calc-copy-to-buffer):
16271 * calc/calc-units.el (calc-invalidate-units-table):
16272 * calc/calc-trail.el (calc-trail-yank):
16273 * calc/calc-store.el (calc-insert-variables):
16274 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16275 * calc/calc-prog.el (calc-read-parse-table):
16276 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16277 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16278 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16279 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16280 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16281 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16282 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16283 * calc/calc-ext.el (calc-realign):
16284 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16285 (calc-embedded-finish-edit, calc-embedded-make-info)
16286 (calc-embedded-finish-command, calc-embedded-stack-change):
16287 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16288
16289 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16290 shell-dynamic-complete-filename in preference to
16291 comint-dynamic-complete-filename.
16292
16293 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16294 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16295 Don't consider whether the display supports colors.
16296 (bookmark-import-new-list): Use dolist.
16297 (bookmark-bmenu-mode-map): Move initialization into declaration.
16298 (bookmark-bmenu-list): Use dolist, simplify.
16299 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16300 (menu-bar-final-items): Use push.
16301
16302 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16303
16304 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16305 it works on remote files.
16306 (vc-hg-diff): Don't pass any `--cwd' argument.
16307
16308 2009-10-27 Kevin Ryde <user42@zip.com.au>
16309
16310 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16311 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16312 (Further to Bug#3921).
16313
16314 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16315
16316 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16317 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16318 calling `tramp-imap-put-file'. Add file size to the call.
16319 (tramp-imap-get-file-entries): Compute also user name, file size,
16320 and date.
16321 (tramp-imap-handle-insert-directory): Insert uid and gid.
16322 (tramp-imap-handle-file-attributes): Transform uid and gid
16323 according to `id-format'.
16324 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16325 size in header X-Size.
16326
16327 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16328
16329 * simple.el (transpose-subr): Give clearer error when the mark
16330 is not set. (Bug#4807)
16331
16332 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16333
16334 * net/tramp.el (tramp-perl-file-truename): New defconst.
16335 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16336 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16337 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16338 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16339
16340 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16341 Ignore `dired-call-process'.
16342 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16343
16344 2009-10-26 Julian Scheid <julians37@gmail.com>
16345
16346 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16347 (tramp-get-remote-readlink): New defun.
16348 (tramp-handle-file-truename): Use it.
16349 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16350 file exists if cache value present.
16351 (tramp-check-cached-permissions): New defun.
16352 (tramp-handle-file-readable-p): Use it.
16353 (tramp-handle-file-writable-p): Likewise.
16354 (tramp-handle-file-executable-p): Likewise.
16355 (tramp-handle-file-name-all-completions): Try using Perl to get
16356 partial completions. When perl not available, combine `cd' and
16357 `ls' into single remote operation and use shell expansion to get
16358 partial remote directory contents. Set `file-exists-p' cache for
16359 directory and any files returned by ls. Change cache handling to
16360 support partial directory contents. Use error message emitted by
16361 remote `cd' or Perl code for local tramp-error.
16362 (tramp-do-copy-or-rename-file-directly): Avoid separate
16363 tramp-send-command-and-check call.
16364 (tramp-handle-process-file): Merge three remote ops into one.
16365 Do not flush all caches when `process-file-side-effects' is set.
16366 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16367 file-attributes shows uid/gid to be set already.
16368
16369 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16370
16371 * textmodes/tex-mode.el (tex-dvi-view-command)
16372 (tex-show-queue-command, tex-open-quote):
16373 * progmodes/ruby-mode.el (auto-mode-alist)
16374 (interpreter-mode-alist): Purecopy strings.
16375
16376 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16377
16378 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16379 string for the hook, keymap and abbrev table.
16380
16381 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16382
16383 * x-dnd.el (x-dnd-xdnd-to-action):
16384 * startup.el (fancy-startup-text, fancy-about-text): Change to
16385 defconst from defvar.
16386
16387 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16388
16389 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16390 Purecopy initialization strings.
16391
16392 * mail/sendmail.el (mail-header-separator)
16393 (mail-personal-alias-file):
16394 * mail/rmail.el (rmail-default-dont-reply-to-names)
16395 (rmail-ignored-headers, rmail-retry-ignored-headers)
16396 (rmail-highlighted-headers, rmail-secondary-file-directory)
16397 (rmail-secondary-file-regexp):
16398 * files.el (null-device, file-name-invalid-regexp)
16399 (locate-dominating-stop-dir-regexp)
16400 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16401 (interpreter-mode-alist): Use mapcar instead of mapc.
16402
16403 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16404
16405 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16406 (completion-ignored-extensions):
16407 (debug-ignored-errors): Purecopy strings.
16408
16409 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16410
16411 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16412 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16413 (pcomplete--here): Use push.
16414
16415 * subr.el (all-completions): Declare the 4th arg obsolete.
16416
16417 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16418
16419 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16420 (pcomplete-unquote-argument): New function.
16421 (pcomplete--common-suffix): Always pay attention to case.
16422 (pcomplete--table-subvert): Quote and unquote the text.
16423 (pcomplete--common-quoted-suffix): New function.
16424 (pcomplete-std-complete): Use it and pcomplete-begin.
16425
16426 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16427 we're inside a dedicated or minibuffer window.
16428
16429 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16430
16431 * bookmark.el: Update documentation, especially documentation
16432 of `bookmark-alist' and of the bookmark file format.
16433 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16434
16435 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16436
16437 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16438 keybindings apply to the mail buffer (Bug#4003). Shrink help
16439 window to buffer.
16440
16441 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16442 (global-whitespace-mode, global-whitespace-newline-mode)
16443 (whitespace-toggle-options, global-whitespace-toggle-options):
16444 Doc fix (Bug#3660).
16445
16446 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16447 of xmltok-start before the end tag was inserted (Bug#2840).
16448
16449 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16450 patterns that are preceded by an open-paren (Bug#1320).
16451
16452 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16453
16454 * files.el (delete-directory): Delete symlinks to directories with
16455 delete-file (Bug#4739).
16456
16457 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16458
16459 * vc.el (vc-backend-for-registration): Rename from
16460 vc-get-backend-for-registration. Update callers.
16461
16462 * international/mule-cmds.el (set-language-info-alist):
16463 Purecopy lang-env.
16464 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16465 (charset): Purecopy the name.
16466 (define-char-code-property): Purecopy string arguments.
16467
16468 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16469 Purecopy string arguments.
16470
16471 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16472 * ediff-hook.el (menu-bar-ediff-menu):
16473 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16474 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16475
16476 2009-10-24 Glenn Morris <rgm@gnu.org>
16477
16478 * comint.el (comint-dynamic-list-completions):
16479 * term.el (term-dynamic-list-completions): Use choose-completion rather
16480 than obsolete alias mouse-choose-completion.
16481
16482 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16483 file-cache-choose-completion.
16484 (file-cache-choose-completion): Handle an optional event argument.
16485 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16486
16487 * progmodes/octave-mod.el (octave-complete-symbol):
16488 Use choose-completion if mouse-choose-completion is ever removed.
16489
16490 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16491 use.
16492
16493 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16494 compiler.
16495
16496 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16497
16498 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16499
16500 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16501 Ignore `pred' now that we receive one.
16502 Handle test-completion specially.
16503
16504 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16505
16506 * vc.el (vc-responsible-backend): Throw an error if not backend is
16507 found. Remove the REGISTER argument. Move the code dealing with
16508 REGISTER ...
16509 (vc-get-backend-for-registration): ... here. New function.
16510 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16511 of vc-responsible-backend, pass the file name instead of the
16512 directory name.
16513
16514 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16515
16516 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16517 New funs.
16518 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16519 (pcomplete-comint-setup): Don't modify a global var via
16520 accidental side-effects.
16521 (pcomplete-shell-setup): Adjust call accordingly.
16522 (pcomplete-parse-comint-arguments): Use push.
16523
16524 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16525
16526 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16527 Allow uncapitalized info node names (Bug#3921).
16528
16529 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16530 to the DEBUG file (Bug#3781).
16531
16532 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16533
16534 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16535 dictionary entry (Bug#4579).
16536
16537 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16538
16539 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16540 from `rfn-eshadow-update-overlay-hook' when unloading.
16541 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16542 "rsyncc". Adjust doc string.
16543 (tramp-temp-buffer-file-name): New buffer-local defvar.
16544 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16545 Keep temporary file when indicated by method ("rsync" and
16546 "rsyncc").
16547 (tramp-handle-write-region): Handle APPEND.
16548 (tramp-delete-temp-file-function): New defun. Added to
16549 `kill-buffer-hook'.
16550
16551 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16552
16553 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16554
16555 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16556
16557 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16558 (color-name-rgb-alist, tty-standard-colors)
16559 (tty-color-mode-alist): Change to defconst.
16560
16561 * simple.el (mark-inactive): Purecopy message.
16562
16563 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16564 (global-map, yank-menu):
16565 * textmodes/ispell.el (ispell-menu-map):
16566 * net/eudc.el (eudc-tools-menu):
16567 * international/mule-cmds.el (describe-language-environment-map)
16568 (setup-language-environment-map, set-coding-system-map)
16569 (mule-menu-keymap):
16570 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16571 * replace.el (occur-mode-map):
16572 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16573
16574 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16575
16576 * calc/calc.el (math-read-number, math-read-number-simple):
16577 Use `save-match-data'.
16578
16579 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16580
16581 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16582 rather than fiddling with global-map bindings, since it should only
16583 affect per-terminal settings.
16584 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16585
16586 * minibuffer.el (completion-table-with-terminator): Allow to specify
16587 the terminator-regexp.
16588
16589 * simple.el (switch-to-completions): Look for *Completions* in other
16590 frames as well.
16591
16592 * pcomplete.el: Allow the use of completion-tables.
16593 (pcomplete-std-complete): New command.
16594 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16595 (pcomplete--here): Use a function for `form' rather than an expression,
16596 so it can be byte-compiled.
16597 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16598 Add edebug declaration.
16599 (pcomplete-show-completions): Remove unused var `curbuf'.
16600 (pcomplete-do-complete, pcomplete-stub):
16601 Don't assume `completions' is a list of strings any more.
16602
16603 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16604
16605 * find-dired.el (find-name-arg): Fix typo in docstring.
16606
16607 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16608
16609 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16610 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16611
16612 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16613 pcomplete-entries.
16614
16615 * comint.el (comint-read-input-ring, comint-write-input-ring)
16616 (comint-substitute-in-file-name)
16617 (comint-dynamic-complete-as-filename)
16618 (comint-dynamic-simple-complete)
16619 (comint-dynamic-list-filename-completions)
16620 (comint-dynamic-list-completions)
16621 (comint-redirect-results-list-from-process): Minor simplifications.
16622
16623 2009-10-21 Kevin Ryde <user42@zip.com.au>
16624
16625 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16626 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16627 the first form. And insert a blank line after ";;; Code" since
16628 that's usual style. (Bug#4612)
16629
16630 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16631
16632 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16633
16634 * minibuffer.el (completion-table-with-terminator): Properly implement
16635 boundaries, in case `terminator' appears in the suffix.
16636 (completion--embedded-envvar-table): Don't return boundaries if
16637 there's no valid completion. Simplify.
16638 (completion-file-name-table): New completion table extracted from
16639 completion--file-name-table.
16640 (completion--file-name-table): Use it.
16641 (read-file-name-predicate): Declare obsolete.
16642 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16643 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16644 completion-file-name-table, and use the `pred' argument.
16645 * files.el (locate-file-completion-table): Use the `pred' arg rather
16646 than read-file-name-predicate.
16647 (abbreviate-file-name): Use \` rather than ^ for BOS.
16648
16649 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16650
16651 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16652 vc-responsible-backend to register, it causes problems.
16653
16654 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16655
16656 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16657
16658 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16659
16660 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16661 (tramp-smb-handle-file-attributes): Use it.
16662 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16663 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16664 `mapcar'. Use `tramp-smb-get-stat-capability'.
16665 Add `dired-filename' text properties.
16666 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16667 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16668 version.
16669
16670 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16671
16672 * subr.el (read-key-delay): Reduce to 0.01.
16673 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16674 (bug#4751).
16675
16676 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16677
16678 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16679
16680 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16681 (Info-menu): Remove unused vars `last' and `completions'.
16682 (Info-index-nodes): Remove unused var `node'.
16683
16684 * info.el (Info-complete-menu-item): Use complete-with-action.
16685
16686 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16687
16688 Make vc-annotate work through copies and renames.
16689 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16690 Return the file name too.
16691 (vc-annotate-revision-at-line)
16692 (vc-annotate-find-revision-at-line)
16693 (vc-annotate-revision-previous-to-line)
16694 (vc-annotate-show-log-revision-at-line): Update to get the file
16695 name from vc-annotate-extract-revision-at-line.
16696 (vc-annotate-show-diff-revision-at-line-internal): Change the
16697 argument to mean whether to show a file diff or not. Get the file
16698 name from vc-annotate-extract-revision-at-line.
16699 (vc-annotate-show-diff-revision-at-line):
16700 Update vc-annotate-show-diff-revision-at-line call.
16701 (vc-annotate-warp-revision): Add an optional file argument.
16702
16703 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16704 (vc-git-annotate-extract-revision-at-line): Also return the file
16705 name if found.
16706
16707 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16708 command. Remove unused code.
16709 (vc-hg-annotate-re): Update to match --follow output.
16710 (vc-hg-annotate-extract-revision-at-line): Also return the file
16711 name if found.
16712
16713 * vc.el: Update annotate-extract-revision-at-line documentation.
16714
16715 2009-10-18 Kevin Ryde <user42@zip.com.au>
16716
16717 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16718 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16719
16720 * net/browse-url.el (browse-url): Identify alist with "consp and
16721 not functionp" and let all other things go down the `apply' leg,
16722 as suggested by Stefan. (Further to bug#4531.)
16723
16724 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16725
16726 * minibuffer.el (read-file-name): Check for repeat before putting
16727 a default argument in file-name-history (Bug#4657).
16728
16729 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16730 read syntax (Bug#4737).
16731
16732 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16733
16734 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16735
16736 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16737 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16738 entries and make note of obsolete tags.
16739
16740 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16741
16742 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16743
16744 2009-10-18 Glenn Morris <rgm@gnu.org>
16745
16746 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16747 grep, so that binary files (eg international/uni-bidi.el) can match.
16748 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16749 now, and in any case the file header format has changed.
16750
16751 2009-10-17 Glenn Morris <rgm@gnu.org>
16752
16753 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16754 (flyspell-get-word, flyspell-large-region)
16755 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16756
16757 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16758
16759 * Makefile.in (ELCFILES): Add ede/shell.
16760
16761 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16762
16763 * term/common-win.el (x-colors): Purecopy it.
16764
16765 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16766
16767 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16768 permissive for when the buffer is empty.
16769 (tar-header-block-tokenize): Decode the username and groupname.
16770 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16771
16772 2009-10-17 Eric Ludlam <zappo@gnu.org>
16773
16774 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16775 contains multibyte characters, choose first applicable coding
16776 system automatically.
16777
16778 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16779
16780 * international/mule-cmds.el (select-safe-coding-system): If the file
16781 has a coding cookie, use it regardless of any other setting (bug#4712).
16782
16783 2009-10-17 Glenn Morris <rgm@gnu.org>
16784
16785 * foldout.el (foldout-mouse-swallow-events):
16786 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16787
16788 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16789 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16790 (dired-keep-marker-symlink, dired-dwim-target)
16791 (dired-copy-preserve-time): Do not autoload these defcustoms.
16792
16793 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16794 messages from messing up the file coding. (Bug#4623)
16795
16796 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16797
16798 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16799 if no match is found for the current dictionary. (Bug#4578)
16800
16801 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16802 optional, since that is how it is documented, and this is often called
16803 with a nil argument. (Bug#4577)
16804 (flyspell-external-point-words, flyspell-auto-correct-word)
16805 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16806 (flyspell-word-search-backward): Remove nil argument in calls to
16807 flyspell-get-word, since it is not needed now.
16808
16809 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16810
16811 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16812
16813 2009-10-16 Glenn Morris <rgm@gnu.org>
16814
16815 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16816
16817 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16818
16819 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16820 (ange-ftp-file-size): New function.
16821 (ange-ftp-file-attributes): Use it.
16822
16823 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16824
16825 * net/tramp-smb.el (tramp-smb-version): New defvar.
16826 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16827 repeated checks.
16828
16829 2009-10-16 Glenn Morris <rgm@gnu.org>
16830
16831 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16832 Maybe copy some custom properties from old to new name. (Bug#4706)
16833
16834 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16835
16836 * subr.el (error, sit-for, start-process-shell-command)
16837 (start-file-process-shell-command): Set the calling convention
16838 after the function definition.
16839
16840 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16841
16842 * subr.el (error, sit-for, start-process-shell-command)
16843 (start-file-process-shell-command): Use the new
16844 set-advertised-calling-convention feature.
16845
16846 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16847
16848 * international/ucs-normalize.el (ucs-normalize-version):
16849 Change to 1.2.
16850 (check-range): Adjust for Unicode 5.2.
16851
16852 2009-10-15 Juri Linkov <juri@jurta.org>
16853
16854 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16855 to the `menu-item' format.
16856
16857 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16858
16859 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16860 if the environment variable does not exist.
16861
16862 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16863 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16864 parameter.
16865 (tramp-smb-handle-add-name-to-file)
16866 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16867 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16868 (tramp-smb-handle-file-attributes)
16869 (tramp-smb-do-file-attributes-with-stat)
16870 (tramp-smb-handle-file-local-copy)
16871 (tramp-smb-handle-insert-directory)
16872 (tramp-smb-handle-make-directory)
16873 (tramp-smb-handle-make-directory-internal)
16874 (tramp-smb-handle-make-symbolic-link)
16875 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16876 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16877 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16878 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16879 Handle long file names.
16880 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16881 process is running.
16882 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16883 Read share names with "-g" option.
16884
16885 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16886
16887 * net/rcirc.el (rcirc-view-log-file): New command.
16888 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16889 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16890 specified.
16891
16892 2009-10-15 Glenn Morris <rgm@gnu.org>
16893
16894 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16895 from the second command-line argument.
16896 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16897 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16898 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16899 w32-batch-update-autoloads.
16900 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16901 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16902
16903 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16904 the headers cannot be located. Simplify, subtracting superflous
16905 save-excursions.
16906
16907 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16908
16909 Replace completion-base-size by completion-base-position to fix bugs
16910 such as (bug#4699).
16911 * simple.el (completion-base-position): New var.
16912 (completion-base-size): Mark as obsolete.
16913 (choose-completion): Make it work for mouse events as well.
16914 Pass the new base-position to choose-completion-string.
16915 (choose-completion-guess-base-position): New function, extracted from
16916 choose-completion-delete-max-match.
16917 (choose-completion-delete-max-match): Use it. Make obsolete.
16918 (choose-completion-string): Use the new base-position info.
16919 (completion-root-regexp): Delete.
16920 (completion-setup-function): Preserve completion-base-position.
16921 Eliminate obsolete base-size manipulation.
16922 * minibuffer.el (display-completion-list): Don't mess with base-size.
16923 (minibuffer-completion-help): Set completion-base-position instead.
16924 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16925 choose-completion.
16926 * textmodes/bibtex.el (bibtex-complete):
16927 * emacs-lisp/crm.el (crm--choose-completion-string):
16928 Adjust to new calling convention.
16929 * complete.el (partial-completion-mode): Use minibufferp to avoid
16930 bumping into incompatible change to choose-completion-string-functions.
16931 * ido.el (ido-choose-completion-string): Make its calling convention
16932 more permissive.
16933 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16934 base-size manipulation.
16935 (comint-dynamic-list-input-ring): Use dotimes and push.
16936 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16937 fundamental-mode. Use `or'.
16938
16939 2009-10-14 Juri Linkov <juri@jurta.org>
16940
16941 * misearch.el (multi-isearch-next-buffer-from-list)
16942 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16943
16944 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16945
16946 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16947 `bytecomp.el'.
16948
16949 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16950 string we return is all made up of text from the completions rather
16951 than part from the completions and part from the input (bug#4219).
16952
16953 * ido.el (ido-everywhere): Use define-minor-mode.
16954
16955 * buff-menu.el (list-buffers, ctl-x-map):
16956 Mark the entry points with ;;;###autoload cookies.
16957
16958 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16959
16960 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16961 correctly in the detached head case.
16962 (vc-git-print-log): Remove unused binding.
16963
16964 * vc.el (vc-responsible-backend): When a directory is passed for
16965 for registration create a VC repository if no backend is
16966 responsible for the directory argument.
16967 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16968
16969 * vc.el: Move comments about RCS and SCCS ...
16970 * vc-rcs.el:
16971 * vc-sccs.el: ... here, respectively.
16972
16973 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16974
16975 * minibuffer.el (completion--file-name-table): Return nil if there's
16976 no file completion, even if substitute-in-file-name changed
16977 the string (bug#4708).
16978
16979 2009-10-13 Juri Linkov <juri@jurta.org>
16980
16981 * files-x.el (read-file-local-variable-value): Don't filter out
16982 minor modes from mode name completion (bug#4664).
16983
16984 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16985
16986 * international/mule-cmds.el (ucs-names): Remove exclusion of
16987 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16988
16989 2009-10-13 Kenichi Handa <handa@m17n.org>
16990
16991 * international/uni-name.el: Regenerated.
16992
16993 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16994
16995 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16996 should be automatically buffer-local, but isn't.)
16997
16998 2009-10-12 Sam Steingold <sds@gnu.org>
16999
17000 * progmodes/compile.el (compilation-next-error-function): Fix the
17001 timestamps if the buffer has been visited before.
17002 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17003 non-anchored patterns, like the perl one (bug#3928).
17004
17005 2009-10-12 Glenn Morris <rgm@gnu.org>
17006
17007 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17008 Let-bind `size'.
17009
17010 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17011
17012 * proced.el (proced-unload-function): New function.
17013
17014 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17015 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17016 Doc fix.
17017
17018 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17019
17020 2009-10-11 Juri Linkov <juri@jurta.org>
17021
17022 * files-x.el (read-file-local-variable-value):
17023 Provide default value only for bound variables (bug#4664).
17024
17025 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17026
17027 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17028 connection methods like smb.
17029
17030 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17031 can be empty.
17032
17033 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17034 (tramp-smb-file-name-handler-alist): Add handlers for
17035 `add-name-to-file', `make-symbolic-link'.
17036 (tramp-smb-handle-add-name-to-file)
17037 (tramp-smb-do-file-attributes-with-stat)
17038 (tramp-smb-handle-make-symbolic-link)
17039 (tramp-smb-get-cifs-capabilities): New defuns.
17040 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17041 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17042 (tramp-smb-handle-file-local-copy)
17043 (tramp-smb-handle-make-directory-internal)
17044 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17045 The file name syntax depends on cifs capabilities.
17046 (tramp-smb-handle-file-attributes):
17047 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17048 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17049 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17050
17051 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17052
17053 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17054 (eieio-defclass): Apply deftype handler and setf-method properties
17055 directly.
17056 (eieio-add-new-slot): Avoid union function from cl library.
17057 (eieio--typep): New function.
17058 (eieio-perform-slot-validation): Use it.
17059
17060 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17061
17062 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17063 Update documentation to refer to the variables documented in r1.135.
17064 (Bug#4188)
17065
17066 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17067
17068 * bookmark.el (Info-suffix-list): Remove this unused variable.
17069 (bookmark-current-point): Remove this obsolete variable.
17070 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17071 Adjust for removal of bookmark-current-point.
17072
17073 (bookmarks-already-loaded, bookmark-current-buffer)
17074 (bookmark-yank-point): Document. (Bug#4188)
17075
17076 2009-10-10 Glenn Morris <rgm@gnu.org>
17077
17078 * frame.el (frame-height): Doc fix.
17079
17080 * calendar/calendar.el (calendar-split-width-threshold): New option.
17081 (calendar-basic-setup): Use calendar-split-width-threshold.
17082
17083 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17084
17085 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17086 Ideographic Supplement" range (U+1F200..U+1F2FF).
17087
17088 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17089
17090 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17091 since the list will have been rebuilt anyway. (Bug#4349)
17092
17093 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17094
17095 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17096 (bookmark-bmenu-execute-deletions): Don't save here, as
17097 bookmark-delete will now do so if necessary.
17098 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17099 (Bug#4348)
17100
17101 2009-10-09 Glenn Morris <rgm@gnu.org>
17102
17103 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17104
17105 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17106
17107 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17108 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17109 argument now, so the two function's behaviors will match. (Bug#3645)
17110
17111 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17112
17113 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17114 (tramp-file-name-real-host, tramp-file-name-port):
17115 Apply `save-match-data'.
17116
17117 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17118 case both directories are remote.
17119 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17120 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17121
17122 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17123
17124 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17125
17126 2009-10-07 Glenn Morris <rgm@gnu.org>
17127
17128 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17129 of concat.
17130
17131 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17132
17133 * files-x.el (read-file-local-variable): Include some
17134 non-user-variables in the completion table (bug#4664).
17135
17136 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17137
17138 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17139 message.
17140
17141 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17142 (tramp-smb-file-name-handler-alist): Add handler for
17143 `copy-directory', `expand-file-name', `set-file-modes'.
17144 (tramp-smb-handle-copy-directory)
17145 (tramp-smb-handle-expand-file-name)
17146 (tramp-smb-handle-set-file-modes): New defuns.
17147 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17148 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17149 entry.
17150 (tramp-smb-handle-insert-directory): Don't flush the cache.
17151 (tramp-smb-maybe-open-connection): Check for samba client and
17152 server versions.
17153
17154 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17155
17156 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17157 to not error out of search for "^lisp=" fails.
17158
17159 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17160
17161 * makefile.w32-in (WINS_UPDATES): New macro.
17162 (custom-deps, finder-data, autoloads): Use it.
17163
17164 2009-10-07 Glenn Morris <rgm@gnu.org>
17165
17166 * Makefile.in (autoloads): Revert previous change.
17167 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17168 the list of preloaded files passed on the command-line, get
17169 it from src/Makefile.
17170
17171 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17172 show the original buffer rather than a random one.
17173
17174 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17175
17176 * help.el (describe-no-warranty): Place point in a slightly better
17177 position in the GPLv3 text.
17178
17179 2009-10-06 Sam Steingold <sds@gnu.org>
17180
17181 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17182 the comm attribute is present before calling regexp-quote.
17183
17184 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17185
17186 * play/animate.el (animate-string): For good effect, make sure
17187 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17188
17189 * play/animate.el (animate-sequence, animate-birthday-present):
17190 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17191
17192 2009-10-06 Glenn Morris <rgm@gnu.org>
17193
17194 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17195
17196 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17197 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17198 (batch-update-autoloads): Process a string value of autoload-excludes,
17199 set during the build process.
17200 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17201
17202 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17203 inside with-parsed... macro so that `v' is defined.
17204
17205 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17206 * progmodes/fortran.el (fortran-end-of-block)
17207 (fortran-beginning-of-block):
17208 Also push mark in the macro case.
17209
17210 * emerge.el (emerge-show-file-name):
17211 * calc/calc.el (calc-quit):
17212 * calc/calc-misc.el (calc-big-or-small):
17213 * calc/calc-graph.el (calc-graph-view):
17214 * calc/calc-ext.el (calc-reset):
17215 * calendar/calendar.el (calendar-basic-setup):
17216 Use window-full-height-p.
17217
17218 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17219 header we don't understand, don't insert another. (Bug#4624)
17220 If changing mime charset, insert the new one in the right place.
17221
17222 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17223
17224 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17225 (cal-tex-cursor-month): Correctly increment the end date for diary and
17226 holiday listing. (Bug#4626)
17227
17228 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17229
17230 * help-fns.el (describe-function-1): Don't burp if the function is not
17231 a symbol.
17232
17233 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17234
17235 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17236 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17237 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17238 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17239
17240 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17241 (eieio-default-superclass): Reflow docstrings.
17242 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17243 (eieio-unbind-method-implementations, defmethod)
17244 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17245 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17246 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17247 (eieio-slot-originating-class-p, eieio-slot-name-index)
17248 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17249 (constructor, initialize-instance, no-next-method, object-print)
17250 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17251 Fix typos in docstrings.
17252 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17253 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17254 (next-method-p): Doc fixes.
17255 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17256 Fix typos in error messages.
17257 (eieio-defmethod): Fix typo in description of generic method.
17258
17259 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17260 (eieio-persistent-save-interactive, slot-missing):
17261 Fix typos in docstrings.
17262 (eieio-instance-inheritor-slot-boundp): Doc fix.
17263
17264 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17265 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17266
17267 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17268 (eieio-custom-object-apply-reset):
17269 Fix typos in docstrings and error messages.
17270
17271 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17272 Fix typo in docstring.
17273
17274 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17275 (eieio-browse-tree): Doc fix.
17276 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17277 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17278 Fix typos in docstrings.
17279
17280 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17281 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17282 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17283 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17284 Reflow docstrings.
17285
17286 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17287
17288 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17289 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17290 Set log-view-vc-backend so that diff can work.
17291
17292 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17293 vc-version-diff.
17294 (vc-diff-internal): Autoload this instead of vc-version-diff.
17295
17296 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17297
17298 * simple.el (eval-expression): Doc fix.
17299
17300 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17301
17302 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17303
17304 * files.el (directory-files-no-dot-files-regexp): New defconst.
17305 (delete-directory): Use it.
17306 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17307
17308 * net/tramp.el (tramp-verbose): Fix docstring.
17309 (tramp-methods): Add recursive option to `tramp-copy-args'.
17310 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17311 "scp1_old", "scp2_old", "rsync", "rsyncc".
17312 (tramp-default-method): Check also for `auth-source-user-or-password'.
17313 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17314 Add handler for `copy-directory'.
17315 (tramp-handle-copy-directory): New defun.
17316 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17317 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17318 Optimize sent command.
17319
17320 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17321
17322 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17323 window if necessary.
17324
17325 * calendar/calendar.el (calendar-basic-setup): Don't call
17326 switch-to-buffer in a dedicated window.
17327
17328 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17329
17330 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17331 don't do anything related to relocating, just return nil.
17332 (bookmark-error-no-filename): New error.
17333 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17334 bookmark has no file. Don't even attempt to handle things that
17335 are not files; the whole point of custom handlers is to keep that
17336 knowledge elsewhere anyway. Tighten some comments.
17337 (bookmark-file-or-variation-thereof): Remove now-unused function.
17338 (bookmark-location): Doc string fix.
17339 (Bug#4250)
17340
17341 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17342
17343 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17344 don't use a file dialog, because they usually don't know how to read
17345 a directory target from the user. (Bug#4230)
17346 Also, make sure the prompt can display directories as well as files.
17347
17348 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17349
17350 * bookmark.el (bookmark-set, bookmark-buffer-name):
17351 Improve doc strings. (Bug#1193)
17352
17353 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17354
17355 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17356 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17357 (bookmark-get-annotation, bookmark-set-annotation)
17358 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17359 (bookmark-set-position, bookmark-get-front-context-string)
17360 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17361 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17362 (bookmark-jump-other-window, bookmark-handle-bookmark)
17363 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17364 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17365 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17366 Improve doc strings to say whether bookmark can be a string or
17367 a record or both, and make other consistency and clarity fixes.
17368 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17369 (bookmark-default-annotation-text, bookmark-yank-word)
17370 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17371 (bookmark-import-new-list, bookmark-maybe-rename)
17372 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17373 (bookmark-bmenu-bookmark): Give these doc strings.
17374 (bookmark-bmenu-check-position): Give this a doc string, but also
17375 add a FIXME comment about how the function may be pointless.
17376 (bookmark-default-handler): Rework doc string and change a
17377 parameter name, to clarify that this takes a bookmark record
17378 not a bookmark name.
17379 (bookmark-set): Change a parameter name to indicate its meaning,
17380 and improve the doc string a bit.
17381 (Bug#4188)
17382
17383 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17384
17385 * bookmark.el (bookmark-alist): Document the new `handler' element
17386 in the param alist.
17387 (bookmark-make-record-function): Adjust documentation for above.
17388 (Bug#4193)
17389
17390 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17391
17392 * info.el (Info-bookmark-make-record): Document this function.
17393 (Info-bookmark-jump): Document with a doc string, not just a comment.
17394 (Bug#4203)
17395
17396 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17397
17398 * files.el (copy-directory): New defun.
17399
17400 * dired-aux.el (dired-copy-file-recursive): Use it.
17401
17402 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17403
17404 * files-x.el (modify-dir-local-variable)
17405 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17406 docstrings.
17407
17408 * recentf.el (recentf-unload-function): New function.
17409
17410 2009-10-04 Glenn Morris <rgm@gnu.org>
17411
17412 * window.el (window-full-height-p): Add doc string.
17413
17414 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17415
17416 * window.el (window-full-height-p): New function. (Bug#4543)
17417
17418 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17419
17420 * vc.el: Remove commented out code.
17421 (vc-derived-from-dir-mode): Remove, unused.
17422 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17423
17424 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17425
17426 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17427 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17428 there could be recursive loading when `default-directory' is a
17429 remote file name. (Bug#4614)
17430
17431 2009-10-03 Glenn Morris <rgm@gnu.org>
17432
17433 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17434 the frame is wide.
17435 (calendar-generate-window): Test for shrinkability rather than width.
17436
17437 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17438 reusing existing buffers, in case we happen to visit two files with the
17439 same basename. (Bug#4593)
17440
17441 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17442
17443 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17444 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17445 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17446 subdirs of cedet as well.
17447 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17448
17449 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17450
17451 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17452 Obey advertised-signature-table.
17453
17454 * help-fns.el (help-function-arglist): Don't check
17455 advertised-signature-table.
17456 (describe-function-1): Do it here instead so it also applies to subrs.
17457
17458 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17459
17460 * simple.el (start-file-process): Say in the doc-string, that file
17461 handlers might not support pty association, if PROGRAM is nil.
17462
17463 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17464 HOST and USER are strings. They are nil, when there are
17465 incomplete entries in ~/.netrc, for example.
17466 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17467 root directory ("device busy" error otherwise).
17468
17469 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17470 Flush file properties of created directory.
17471
17472 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17473
17474 * makefile.w32-in (WINS_BASIC): Remove cedet.
17475 (WINS_CEDET): Add cedet.
17476 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17477
17478 2009-10-02 Kevin Ryde <user42@zip.com.au>
17479
17480 * net/browse-url.el (browse-url): Pass any symbol in
17481 browse-url-browser-function to `apply', since if you've mistakenly put
17482 an unbound symbol then the error is clearer. (Bug#4531)
17483
17484 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17485
17486 * allout.el (allout-init, allout-back-to-current-heading)
17487 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17488 (allout-ascend, allout-up-current-level, allout-end-of-level)
17489 (allout-previous-visible-heading, allout-forward-current-level)
17490 (allout-backward-current-level, allout-show-children):
17491 * apropos.el (apropos-describe-plist):
17492 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17493 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17494 * completion.el (add-completion, add-permanent-completion):
17495 * descr-text.el (describe-text-category, describe-char):
17496 * desktop.el (desktop-lazy-abort):
17497 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17498 * dired.el (dired-build-subdir-alist):
17499 * ediff.el (ediff-version):
17500 * elide-head.el (elide-head, elide-head-show):
17501 * emerge.el (emerge-version):
17502 * env.el (getenv):
17503 * face-remap.el (variable-pitch-mode):
17504 * faces.el (describe-face):
17505 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17506 (dired-at-point):
17507 * files.el (find-file-existing, auto-save-mode):
17508 * font-lock.el (font-lock-fontify-buffer):
17509 * help-fns.el (describe-function, describe-variable)
17510 (describe-syntax, describe-categories):
17511 * help.el (view-lossage, describe-bindings, describe-key)
17512 (describe-mode):
17513 * hexl.el (hexl-current-address):
17514 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17515 * info.el (Info-goto-emacs-key-command-node):
17516 * log-edit.el (log-edit-insert-cvs-template)
17517 (log-edit-insert-cvs-rcstemplate):
17518 * menu-bar.el (menu-bar-mode):
17519 * mouse.el (mouse-appearance-menu):
17520 * newcomment.el (comment-indent-new-line):
17521 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17522 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17523 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17524 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17525 * recentf.el (recentf-mode):
17526 * savehist.el (savehist-mode, savehist-save):
17527 * shadowfile.el (shadow-copy-files):
17528 * simple.el (kill-ring-save, next-line, previous-line)
17529 (normal-erase-is-backspace-mode):
17530 * strokes.el (strokes-update-window-configuration)
17531 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17532 (strokes-xpm-for-stroke):
17533 * time.el (emacs-uptime, emacs-init-time):
17534 * tutorial.el (tutorial--describe-nonstandard-key)
17535 (tutorial--detailed-help):
17536 * type-break.el (type-break-mode)
17537 (type-break-mode-line-message-mode, type-break-query-mode)
17538 (type-break-guesstimate-keystroke-threshold):
17539 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17540 * version.el (emacs-version):
17541 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17542 * winner.el (winner-mode):
17543 * calendar/timeclock.el (timeclock-in, timeclock-out)
17544 (timeclock-status-string, timeclock-change)
17545 (timeclock-workday-remaining-string)
17546 (timeclock-workday-elapsed-string)
17547 (timeclock-when-to-leave-string):
17548 * calendar/todo-mode.el (todo-add-category):
17549 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17550 * emacs-lisp/autoload.el (update-file-autoloads):
17551 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17552 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17553 (checkdoc-message-text, checkdoc-defun):
17554 * emacs-lisp/debug.el (debugger-list-functions):
17555 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17556 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17557 (eieio-describe-generic):
17558 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17559 * emacs-lisp/shadow.el (list-load-path-shadows):
17560 * emulation/cua-base.el (cua-mode):
17561 * emulation/edt.el (edt-set-scroll-margins):
17562 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17563 (tpu-toggle-regexp, tpu-toggle-search-direction)
17564 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17565 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17566 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17567 (viper-set-parsing-style-toggling-macro)
17568 (viper-set-emacs-state-searchstyle-macros):
17569 * emulation/viper.el (viper-set-hooks):
17570 * eshell/esh-mode.el (eshell-truncate-buffer):
17571 * international/mule-cmds.el (prefer-coding-system)
17572 (describe-input-method, describe-language-environment):
17573 * international/mule-diag.el (list-character-sets)
17574 (describe-character-set, describe-coding-system)
17575 (describe-fontset, list-fontsets, list-input-methods):
17576 * mail/sendmail.el (mail-signature):
17577 * net/ange-ftp.el (ange-ftp-copy-file):
17578 * net/browse-url.el (browse-url):
17579 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17580 * net/quickurl.el (quickurl-add-url):
17581 * net/rcirc.el (names, topic):
17582 * net/xesam.el (xesam-mode):
17583 * play/5x5.el (5x5-new-game):
17584 * play/yow.el (apropos-zippy):
17585 * progmodes/ada-mode.el (ada-mode-version):
17586 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17587 (f90-end-of-block)
17588 (f90-beginning-of-block):
17589 * progmodes/fortran.el (fortran-end-of-block)
17590 (fortran-beginning-of-block):
17591 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17592 * progmodes/python.el (python-describe-symbol, python-shell):
17593 * term/ns-win.el (ns-print-buffer):
17594 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17595 * textmodes/flyspell.el (flyspell-mode-on):
17596 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17597 (pages-directory-for-addresses):
17598 * textmodes/table.el (table-recognize-cell)
17599 (table-query-dimension, table-generate-source)
17600 (table-insert-sequence, table--warn-incompatibility):
17601 * textmodes/tex-mode.el (tex-validate-buffer):
17602 * textmodes/texinfmt.el (texinfmt-version)
17603 (texinfo-format-buffer):
17604 Use `called-interactively-p' instead of `interactive-p'.
17605
17606 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17607
17608 * image-mode.el (image-toggle-display):
17609 * emacs-lisp/elp.el (elp-instrument-function):
17610 * emacs-lisp/advice.el (ad-make-advised-definition):
17611 * emacs-lisp/easy-mmode.el (define-minor-mode):
17612 * net/browse-url.el (browse-url-maybe-new-window):
17613 * progmodes/sh-script.el (sh-learn-buffer-indent):
17614 Pass new argument 'any to `called-interactively-p'.
17615
17616 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17617
17618 * international/uni-bidi.el:
17619 * international/uni-category.el:
17620 * international/uni-combining.el:
17621 * international/uni-comment.el:
17622 * international/uni-decimal.el:
17623 * international/uni-decomposition.el:
17624 * international/uni-digit.el:
17625 * international/uni-lowercase.el:
17626 * international/uni-mirrored.el:
17627 * international/uni-name.el:
17628 * international/uni-numeric.el:
17629 * international/uni-old-name.el:
17630 * international/uni-titlecase.el:
17631 * international/uni-uppercase.el:
17632 Regenerate from Unicode 5.2.0 data.
17633
17634 2009-10-01 Glenn Morris <rgm@gnu.org>
17635
17636 * Makefile.in (ELCFILES): Regenerate.
17637
17638 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17639
17640 * subr.el (interactive-p): Mark obsolete.
17641 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17642 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17643 advertised-signature-table for subroutines as well.
17644
17645 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17646 (set-advertised-calling-convention): New function.
17647 (make-obsolete, define-obsolete-function-alias)
17648 (make-obsolete-variable, define-obsolete-variable-alias):
17649 Make the optional-ness of `when' obsolete.
17650 (define-obsolete-face-alias): Make `when' non-optional.
17651 * help-fns.el (help-function-arglist):
17652 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17653 Use advertised-signature-table.
17654
17655 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17656
17657 * files.el (delete-directory): New defun. The original function
17658 in fileio.c has been renamed to `delete-directory-internal'.
17659
17660 * dired.el (dired-delete-file): Call `delete-directory' with
17661 RECURSIVE parameter.
17662
17663 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17664 parameter RECURSIVE. Implementation is missing.
17665
17666 * net/tramp.el (tramp-handle-make-directory): Flush upper
17667 directory's file properties.
17668 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17669 (tramp-handle-dired-recursive-delete-directory): Flush directory
17670 properties after the remove command only.
17671
17672 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17673 Handle optional parameter RECURSIVE.
17674
17675 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17676 Handle optional parameter RECURSIVE.
17677
17678 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17679 connection timeout.
17680 (tramp-smb-handle-delete-directory): Handle optional parameter
17681 RECURSIVE.
17682
17683 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17684
17685 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17686 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17687 (byte-compile-defmacro): Use backquotes.
17688
17689 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17690
17691 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17692 has no associated file.
17693 (vc-resynch-buffer): Use vc-dir-buffers.
17694
17695 2009-10-01 Glenn Morris <rgm@gnu.org>
17696
17697 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17698 (chart-file-count):
17699 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17700 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17701 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17702 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17703 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17704 (eieio-copy-parents-into-subclass, make-instance, class-children)
17705 (eieio-generic-form):
17706
17707 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17708 match-data. (Bug#4555).
17709
17710 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17711 rather than parsing it as a regexp. This relaxes the layout
17712 requirements and makes errors easier to detect.
17713 (check-declare-verify): Check file is regular.
17714 (check-declare-directory): Doc fix.
17715 * subr.el (declare-function): Doc fix.
17716
17717 * ibuffer.el (ibuffer-format-qualifier):
17718 * isearch.el (hi-lock-regexp-okay):
17719 * calc/calc.el (math-zerop):
17720 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17721 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17722 Remove unused declarations.
17723
17724 2009-09-30 Eric Ludlam <zappo@gnu.org>
17725
17726 * emacs-lisp/eieio.el (boolean-p): Delete.
17727
17728 2009-09-30 Glenn Morris <rgm@gnu.org>
17729
17730 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17731
17732 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17733 filename is not a string.
17734
17735 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17736
17737 * files.el (safe-local-eval-forms): Fix typo.
17738
17739 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17740
17741 * vc-hooks.el (vc-dir-buffers): New var.
17742 (vc-state-refresh): New function.
17743 (vc-state): Use it.
17744 (vc-after-save): Always ask the backend to recompute the new state.
17745 Always call vc-dir if necessary, using vc-dir-buffers.
17746 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17747 Use vc-dir-buffers.
17748 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17749 (vc-dir-prepare-status-buffer, vc-dir-update)
17750 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17751 Don't call expand-file-name on default-directory.
17752
17753 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17754
17755 * speedbar.el (speedbar-item-delete):
17756 * calc/calc-prog.el (calc-kbd-if):
17757 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17758
17759 * epa.el (epa-key-list-mode-map):
17760 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17761
17762 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17763 (hs-show-hook): Fix typo in docstring.
17764
17765 2009-09-29 Glenn Morris <rgm@gnu.org>
17766
17767 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17768 file-name-nondirectory call preventing location of cedet files.
17769 (check-declare-verify): Use literal search rather than re-search.
17770 Add basic defmethod and defclass, and define-overloadable-function.
17771
17772 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17773 Use tramp-compat-file-attributes rather than nonexistent
17774 tramp-compat-handle-file-attributes.
17775
17776 * Makefile.in (lisptagsfiles4): New.
17777 (AUTOGENEL): Add cedet loaddefs files.
17778 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17779 (update-elclist, compile-always, backup-compiled-files)
17780 (bootstrap-clean): Add yet another directory level.
17781 (update-elclist): Use LC_COLLATE rather than COLLATE.
17782 (ELCFILES): Update, via `make update-elclist'.
17783
17784 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17785
17786 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17787 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17788 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17789
17790 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17791
17792 * Makefile.in (lisptagsfiles3): Define.
17793 (TAGS, TAGS-LISP): Use it.
17794 (update-elclist): Add third directory level to look for elc files.
17795 (compile-always): Likewise.
17796 (backup-compiled-files): Likewise.
17797 (bootstrap-clean): Likewise.
17798 (ELCFILES): Update.
17799
17800 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17801
17802 * Makefile.in (ELCFILES): Add CEDET files.
17803
17804 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17805
17806 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17807
17808 * net/tramp.el (top): Require tramp-imap.
17809
17810 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17811 Use `tramp-compat-handle-file-attributes'.
17812
17813 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17814
17815 * net/tramp-imap.el: New package.
17816
17817 2009-09-28 Eric Ludlam <zappo@gnu.org>
17818
17819 * emacs-lisp/chart.el:
17820 * emacs-lisp/eieio-base.el:
17821 * emacs-lisp/eieio-comp.el:
17822 * emacs-lisp/eieio-custom.el:
17823 * emacs-lisp/eieio-datadebug.el:
17824 * emacs-lisp/eieio-opt.el:
17825 * emacs-lisp/eieio-speedbar.el:
17826 * emacs-lisp/eieio.el: New files.
17827
17828 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17829
17830 * whitespace.el (whitespace-trailing-regexp)
17831 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17832 Fix doc string.
17833
17834 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17835
17836 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17837 menu.
17838
17839 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17840 menu-bar-ediff-menu.
17841
17842 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17843 define-overloadable-function.
17844
17845 * progmodes/autoconf.el: Provide autoconf as well, so that this
17846 file can be `require'd.
17847
17848 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17849
17850 * emacs-lisp/autoload.el (generated-autoload-feature)
17851 (generated-autoload-load-name): New vars.
17852 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17853 (make-autoload): Recognize define-overloadable-function and
17854 defclass forms (for EIEIO).
17855
17856 * Makefile.in (update-subdirs): Exclude cedet directory.
17857
17858 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17859
17860 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17861
17862 * faces.el: Default light-background background for region face to
17863 ns_selection_color under NS.
17864
17865 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17866
17867 * net/imap-hash.el: New library, see NEWS.
17868
17869 * Makefile.in (ELCFILES): Add imap-hash.el.
17870
17871 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17872
17873 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17874 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17875 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17876 definition where the docstring could be taken for the return value.
17877
17878 2009-09-26 Glenn Morris <rgm@gnu.org>
17879
17880 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17881 Add option to only show images below a certain size.
17882 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17883 save-excursion calls.
17884
17885 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17886
17887 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17888 subdirectories) and eieio.
17889
17890 2009-09-26 Alan Mackenzie <acm@muc.de>
17891
17892 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17893 Correct buggy bracketing. (Bug#4289)
17894
17895 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17896 character constants (as case labels). (Bug#4289)
17897
17898 2009-09-25 Juri Linkov <juri@jurta.org>
17899
17900 * files.el (safe-local-eval-forms): Allow time-stamp in
17901 before-save-hook (Bug#4554).
17902
17903 2009-09-25 Drew Adams <drew.adams@oracle.com>
17904
17905 * menu-bar.el (list-buffers-directory): Doc fix.
17906
17907 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17908
17909 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17910 Try and avoid copying twice the same paragraph.
17911 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17912 Remove save-excursion.
17913 (log-edit-changelog-entry): Do it here instead.
17914
17915 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17916
17917 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17918 when available, instead of hardcoding mode names. Doc fix.
17919
17920 * menu-bar.el (list-buffers-directory): Add docstring.
17921 Make automatically buffer-local.
17922
17923 * dired.el (dired-mode):
17924 * files.el (cd-absolute):
17925 * pcvs.el (cvs-temp-buffer):
17926 * pcvs-util.el (cvs-get-buffer-create):
17927 * shell.el (shell-mode):
17928 * vc-dir.el (vc-dir-mode):
17929 Don't make `list-buffers-directory' buffer local.
17930
17931 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17932
17933 * comint.el (comint-exec, comint-run, make-comint):
17934 Doc fixes (Bug#4542).
17935
17936 2009-09-25 Glenn Morris <rgm@gnu.org>
17937
17938 * mail/rmailmm.el (rmail-mime): New custom group.
17939 Move all defcustoms in this file into this group.
17940 (rmail-mime-media-type-handlers-alist): Revert previous change.
17941 (rmail-mime-show-images): New option.
17942 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17943 references to it, since it wasn't actually used for anything.
17944 (rmail-mime-insert-image): New function.
17945 (rmail-mime-image): Use rmail-mime-insert-image.
17946 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17947 obey the value of `rmail-mime-show-images' option. Print the size of
17948 attachments.
17949
17950 2009-09-25 David Engster <deng@randomsample.de>
17951
17952 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17953
17954 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17955
17956 * whitespace.el: Does not highlight trailing spaces While point is
17957 at end of line. Does not highligt spaces at beginning of buffer
17958 while point is at beginning of buffer. Does not highlight spaces
17959 at end of buffer while point is at end of buffer. (Bug#4177)
17960 New version 12.0.
17961 (whitespace-display-mappings): Adjust initialization.
17962 (whitespace-point, whitespace-font-lock-refontify): New vars.
17963 (whitespace-color-on, whitespace-color-off): Adjust code.
17964 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17965 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17966 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17967
17968 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17969
17970 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17971
17972 * textmodes/sgml-mode.el: Remove xml-mode alias.
17973
17974 * files.el (auto-mode-alist, conf-mode-maybe)
17975 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17976
17977 2009-09-24 Alan Mackenzie <acm@muc.de>
17978
17979 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17980 c-forward-conditionals, but it doesn't move point and doesn't set
17981 the mark.
17982 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17983 (c-down-conditional-with-else, c-backward-conditional)
17984 (c-forward-conditional): Refactor to use c-scan-conditionals.
17985
17986 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17987
17988 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17989 (help-default-arg-highlight): Remove.
17990 (help-highlight-arg): New function.
17991 (help-do-arg-highlight): Use it.
17992 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17993
17994 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17995
17996 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17997 Undo last change, which didn't fix the problem and introduced others.
17998
17999 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18000
18001 * progmodes/gdb-mi.el: Don't require speedbar.
18002 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18003
18004 2009-09-24 Glenn Morris <rgm@gnu.org>
18005
18006 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18007
18008 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18009
18010 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18011 there is no newline after the final mime boundary. (Bug#4539)
18012 Move markers on insertion so that any buttons inserted don't end up in
18013 the next part of a multipart message.
18014 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18015 (rmail-mime-bulk-handler): Optionally handle images.
18016 (rmail-mime-image): New button action.
18017 (rmail-mime-image-handler): New function.
18018 (rmail-mime-mode): New mode.
18019 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18020
18021 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18022
18023 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18024 than just dropping elements from it (bug#4504).
18025
18026 * term.el (term-set-scroll-region): Don't move cursor any more.
18027 (term-handle-ansi-escape): Call term-goto here instead.
18028 Suggested by Ivan Kanis <apple@kanis.eu>.
18029
18030 * term.el: Require CL.
18031 (term-ansi-reset): New function.
18032 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18033 (term-handle-colors-array): Simplify.
18034
18035 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18036
18037 * allout.el (allout-overlay-interior-modification-handler)
18038 (allout-obtain-passphrase):
18039 * epa-file.el (epa-file-write-region):
18040 * ps-print.el (ps-begin-job):
18041 * vc-hooks.el (vc-toggle-read-only):
18042 * vc-rcs.el (vc-rcs-rollback):
18043 * vc-sccs.el (vc-sccs-rollback):
18044 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18045 (vc-version-diff, vc-revert, vc-rollback):
18046 * wdired.el (wdired-check-kill-buffer):
18047 * emacs-lisp/authors.el (authors):
18048 * net/socks.el (socks-open-connection):
18049 * net/zeroconf.el (zeroconf-service-add-hook):
18050 * obsolete/vc-mcvs.el (vc-mcvs-register):
18051 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18052 (gdb-select-frame):
18053 * progmodes/grep.el (lgrep, rgrep):
18054 * progmodes/idlw-help.el (idlwave-help-check-locations)
18055 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18056 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18057 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18058 (reftex-toc-rename-label): Fix typos in error messages.
18059
18060 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18061 (dired-copy-how-to-fn): Doc fix.
18062 (dired-files-attributes, dired-read-shell-command):
18063 Fix typos in docstrings.
18064
18065 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18066 (dired-x-find-file-other-window): Reflow docstrings.
18067 (dired-omit-marker-char, dired-read-shell-command)
18068 (dired-x-submit-report): Fix typos in docstrings.
18069
18070 * shell.el (shell-mode-hook):
18071 * view.el (View-scroll-line-forward):
18072 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18073 Fix typos in docstrings.
18074
18075 * net/dig.el (dig-invoke): Fix typo in docstring.
18076 (query-dig): Reflow docstring.
18077
18078 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18079 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18080 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18081 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18082 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18083 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18084 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18085 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18086 (idlwave-completion-map, idlwave-current-indent)
18087 (idlwave-custom-ampersand-surround, idlwave-customize)
18088 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18089 (idlwave-define-abbrev, idlwave-determine-class-special)
18090 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18091 (idlwave-end-block-reg, idlwave-end-of-statement)
18092 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18093 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18094 (idlwave-explicit-class-listed, idlwave-file-header)
18095 (idlwave-fill-paragraph, idlwave-find-class-definition)
18096 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18097 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18098 (idlwave-in-quote, idlwave-indent-action-table)
18099 (idlwave-indent-expand-table, idlwave-indent-line)
18100 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18101 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18102 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18103 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18104 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18105 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18106 (idlwave-outlawed-buffers, idlwave-popup-select)
18107 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18108 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18109 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18110 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18111 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18112 (idlwave-statement-type, idlwave-struct-skip)
18113 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18114 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18115 (idlwave-what-module-find-class): Fix typos in docstrings.
18116 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18117 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18118 (idlwave-find-module, idlwave-find-structure-definition)
18119 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18120 (idlwave-list-load-path-shadows, idlwave-next-statement)
18121 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18122 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18123 (idlwave-template): Reflow docstrings.
18124
18125 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18126 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18127 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18128 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18129 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18130 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18131 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18132 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18133 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18134 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18135 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18136 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18137 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18138 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18139 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18140 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18141 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18142 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18143 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18144 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18145 Fix typos in docstrings.
18146 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18147 (idlwave-shell-hide-output, idlwave-shell-mode)
18148 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18149 Reflow docstrings.
18150
18151 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18152
18153 2009-09-24 Ivan Kanis <apple@kanis.eu>
18154
18155 * term.el (term-bold-attribute): New var.
18156 (term-handle-colors-array): Use it.
18157
18158 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18159
18160 * progmodes/gdb-mi.el (gdb-version): New variable.
18161 (gdb-non-stop-handler): Set gdb-version.
18162 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18163 Condition "--thread" option on gdb-version.
18164 (gdb-invalidate-threads): Remove unused argument.
18165
18166 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18167
18168 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18169 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18170
18171 2009-09-23 Glenn Morris <rgm@gnu.org>
18172
18173 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18174 replying to mail without References or Message-Id. (Bug#4525)
18175
18176 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18177
18178 * term/ns-win.el (ns-reg-to-script): New variable.
18179
18180 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18181
18182 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18183
18184 2009-09-22 Sam Steingold <sds@gnu.org>
18185
18186 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18187 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18188 to 1 because hg returns status 1 when nothing is found.
18189 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18190
18191 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18192
18193 * textmodes/fill.el: Convert to utf-8 encoding.
18194 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18195 pre-Unicode days.
18196
18197 * add-log.el (change-log-fill-forward-paragraph): New function.
18198 (change-log-mode): Use it so fill-region DTRT.
18199 Set fill-indent-according-to-mode here rather than in
18200 change-log-fill-paragraph.
18201 (change-log-fill-paragraph): Remove.
18202
18203 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18204
18205 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18206 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18207
18208 2009-09-22 Glenn Morris <rgm@gnu.org>
18209
18210 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18211 the scroll-bar scroll the calendar window rather than the buffer.
18212
18213 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18214 commands that move point (as opposed to scrolling).
18215
18216 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18217
18218 * emacs-lisp/elint.el (elint): New custom group.
18219 (elint-log-buffer): Make it a defcustom.
18220 (elint-scan-preloaded, elint-ignored-warnings)
18221 (elint-directory-skip-re): New options.
18222 (elint-builtin-variables): Doc fix.
18223 (elint-preloaded-env): New variable.
18224 (elint-unknown-builtin-args): Add an entry for encode-time.
18225 (elint-extra-errors): Make it a variable rather than a constant.
18226 (elint-preloaded-skip-re): New constant.
18227 (elint-directory): Skip files matching elint-directory-skip-re.
18228 (elint-features): New variable, local to linted buffers.
18229 (elint-update-env): Initialize elint-features. Possibly add
18230 elint-preloaded-env to the buffer's environment.
18231 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18232 Skip quoted forms.
18233 (elint-init-form): New function, extracted from elint-init-env.
18234 Make non-list forms a warning rather than an error.
18235 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18236 easy-menu-define, put that adds an error-condition, and provide.
18237 When requiring cl, also require cl-macs. Really require cl, to handle
18238 some cl macros. Store required libraries in the list elint-features,
18239 so as not to re-load them. Treat cc-require like require.
18240 (elint-init-env): Call elint-init-form to do the work.
18241 Handle eval-and-compile and such like.
18242 (elint-add-required-env): Do not clear messages.
18243 (elint-special-forms): Add handlers for function, defalias, if, when,
18244 unless, and, or.
18245 (elint-form): Add optional argument to ignore elint-special-forms,
18246 useful to prevent recursive calls from handlers. Doc fix.
18247 Respect elint-ignored-warnings.
18248 (elint-form): Respect elint-ignored-warnings.
18249 (elint-bound-variable, elint-bound-function): New variables.
18250 (elint-unbound-variable): Respect elint-bound-variable.
18251 (elint-get-args): Respect elint-bound-function.
18252 (elint-check-cond-form): Add some simple handling for (f)boundp and
18253 featurep tests.
18254 (elint-check-defalias-form): New handler.
18255 (elint-check-let-form): Make an empty let a warning rather than an
18256 error.
18257 (elint-check-setq-form): Make an empty setq a warning rather than an
18258 error. Respect elint-ignored-warnings.
18259 (elint-check-defvar-form): Accept null doc-strings.
18260 (elint-check-conditional-form): New handler. Does some simple-minded
18261 checking of featurep and (f)boundp tests.
18262 (elint-put-function-args): New function.
18263 (elint-initialize): Use elint-scan-doc-file rather than
18264 elint-find-builtin-variables. Use elint-put-function-args.
18265 Possibly scan preloaded-file-list.
18266 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18267 extend to handle functions as well.
18268
18269 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18270
18271 * linum.el (linum-delete-overlays, linum-update-window):
18272 Do not modify the right margin. (Bug#3971)
18273
18274 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18275
18276 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18277 Use nxml-mode instead of xml-mode.
18278
18279 2009-09-21 Kevin Ryde <user42@zip.com.au>
18280
18281 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18282
18283 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18284
18285 * net/dig.el (dig-mode): Use define-derived-mode.
18286
18287 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18288
18289 * vc-dispatcher.el (vc-do-command): Return the process object in
18290 the asynchronous case. Use when instead of if. Do not run
18291 vc-exec-after to display a message if not enabled. (Bug#4463)
18292
18293 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18294 properties to the stash strings.
18295 (vc-git-stash-list): Return a list of strings.
18296 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18297 (vc-git-stash-show-at-point): New functions.
18298 (vc-git-stash-map): New keymap.
18299
18300 * register.el (ctl-x-r-map): Define the keys here instead of
18301 using autoload.
18302
18303 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18304
18305 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18306 list, to workaround performance problem (bug#4485).
18307
18308 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18309
18310 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18311
18312 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18313
18314 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18315 Document that this option is not recommended to use.
18316
18317 2009-09-19 Glenn Morris <rgm@gnu.org>
18318
18319 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18320 variable `var'.
18321
18322 * calc/calc-alg.el (var):
18323 * calc/calcalg2.el (var): Define for compiler.
18324
18325 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18326
18327 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18328 Doc fix (Bug#3932).
18329
18330 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18331
18332 * time-stamp.el (time-stamp-month-dd-yyyy)
18333 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18334 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18335 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18336 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18337 Remove functions that have been obsolete since 1995 (Bug#4436).
18338
18339 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18340 indent buffer only if called interactively (Bug#4452).
18341
18342 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18343 Eli Zaretskii <eliz@gnu.org>
18344
18345 This fixes bug#4197 (merged to bug#865, though not identical).
18346 * server.el (server-auth-dir): Add docstring note about FAT32.
18347 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18348 but warn against using them.
18349
18350 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18351
18352 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18353 older GDB where there is no has_more field.
18354
18355 2009-09-19 Glenn Morris <rgm@gnu.org>
18356
18357 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18358
18359 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18360
18361 * files.el (auto-mode-alist): Change default for XML files to nXML
18362 mode (Bug#4169).
18363
18364 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18365
18366 * server.el (server-ensure-safe-dir): Pass 'integer
18367 to `file-attributes', as suggested.
18368
18369 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18370
18371 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18372 (dired-query): Use read-key.
18373
18374 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18375
18376 * cus-start.el (ns-use-qd-smoothing): Remove.
18377
18378 2009-09-18 Glenn Morris <rgm@gnu.org>
18379
18380 * allout.el (top-level): Remove unnecessary progn.
18381
18382 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18383
18384 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18385 definition of abbrev table.
18386
18387 * speedbar.el (speedbar-track-mouse):
18388 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18389 * net/eudc.el (eudc-expand-inline):
18390 * net/newst-backend.el (newsticker--cache-read-feed):
18391 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18392 condition-case handlers.
18393
18394 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18395
18396 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18397 (gdb-var-list): Add an element for has_more field.
18398 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18399 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18400 (gdb-var-update-handler-1): Parse output of dynamic variable
18401 objects (STL containers).
18402 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18403 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18404
18405 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18406 gdb-var-list.
18407 (gud-speedbar-buttons): Make node expandable if expression "has more"
18408 children.
18409
18410 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18411
18412 * startup.el (emacs-quick-startup): Remove variable and all uses.
18413 (command-line): Set `inhibit-x-resources' instead.
18414 (command-line-1): Use `inhibit-x-resources' instead.
18415
18416 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18417
18418 * subr.el: Fix last change to avoid using the `unless' macro,
18419 which breaks bootstrapping.
18420
18421 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18422
18423 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18424 extended definitions, in case we reload subr.el after having
18425 loaded CL.
18426 (eval-next-after-load): Mark as obsolete.
18427
18428 2009-09-17 Juri Linkov <juri@jurta.org>
18429
18430 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18431 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18432 (menu-bar-showhide-menu, menu-bar-tools-menu)
18433 (menu-bar-describe-menu, menu-bar-help-menu)
18434 (minibuffer-local-completion-map, minibuffer-local-map):
18435 Fix list quoting.
18436
18437 2009-09-17 Glenn Morris <rgm@gnu.org>
18438
18439 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18440 arguments, whether or not it has a handler.
18441
18442 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18443
18444 * simple.el (hard-newline): Give it a doc-string.
18445
18446 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18447 (lisp-mode-syntax-table): Give them doc-strings.
18448
18449 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18450
18451 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18452 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18453 (menu-bar-options-menu, menu-bar-showhide-menu)
18454 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18455 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18456 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18457 (menu-bar-options-menu, menu-bar-tools-menu)
18458 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18459 (menu-bar-help-menu):
18460 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18461 string arguments.
18462
18463 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18464 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18465 calls for the menu names and :help.
18466
18467 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18468
18469 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18470 to :minor-mode-function (bug#4455).
18471
18472 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18473
18474 * startup.el (command-line): Initialize the window-system after
18475 processing the command-line.
18476
18477 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18478 page-delimiter matches the empty string.
18479
18480 2009-09-16 Glenn Morris <rgm@gnu.org>
18481
18482 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18483 byte-compile-not-obsolete-var. It's a list now.
18484 (byte-compile-not-obsolete-funcs): New variable.
18485 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18486 byte-compile-not-obsolete-funcs.
18487 (byte-compile-variable-ref, byte-compile-defvar): Update for
18488 byte-compile-not-obsolete-vars name-change and list nature.
18489 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18490 and variables behind (f)boundp tests.
18491 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18492
18493 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18494
18495 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18496
18497 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18498
18499 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18500 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18501 Don't autoload.
18502
18503 2009-09-15 Stephen Eglen <stephen@gnu.org>
18504
18505 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18506 the virtual-buffers, use the name of the buffer specified by
18507 find-file-noselect, as the match may be a symlink. (This was a
18508 problem if the target and the symlink had different names.)
18509
18510 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18511
18512 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18513
18514 * desktop.el (desktop-path): Check user-emacs-directory.
18515
18516 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18517
18518 * loadup.el: Use after-load-functions to GC after loading each file.
18519 Remove the explicit GC calls that used to be sprinkled around.
18520
18521 * subr.el (after-load-functions): New hook.
18522 (do-after-load-evaluation): Run it. Use string-match-p to detect
18523 `obsolete' packages, rather than painfully extracting the relevant
18524 directory name.
18525
18526 2009-09-15 Glenn Morris <rgm@gnu.org>
18527
18528 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18529 free variable `doc'.
18530
18531 * dired.el (dired-mode-map): Add menu entry for async shell command.
18532
18533 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18534 variables, also consider the .elc files, since the .el files are
18535 normally gzipped (subsequent code locates the .el.gz from the .elc).
18536
18537 * calc/calc-prog.el (arglist): Define for compiler.
18538
18539 * calendar/diary-lib.el (diary-display-function): Change the default to
18540 fancy display.
18541 (body): Define for compiler.
18542
18543 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18544 (byte-compile-file-form, byte-compile-lambda)
18545 (byte-compile-top-level-body, byte-compile-form)
18546 (byte-compile-variable-ref, byte-compile-setq)
18547 (byte-compile-setq-default, byte-compile-body)
18548 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18549 (batch-byte-compile): Give some more local variables with common names
18550 a "bytecomp-" prefix to avoid masking warnings about free variables.
18551
18552 * startup.el (command-line-1): Give local variables with common names a
18553 distinguishing prefix, so as not to hide free variable warnings during
18554 bootstrap.
18555
18556 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18557 clever and add a suffix to make a unique name, just let the user decide
18558 whether or not to overwrite it. If the input is a directory, write the
18559 default filename to that directory. (Bug#4388)
18560 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18561 is a filename-as-a-directory.
18562
18563 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18564
18565 * textmodes/page.el (what-page): Don't move to beginning of line.
18566 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18567
18568 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18569
18570 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18571
18572 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18573
18574 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18575 * help.el (help-for-help-internal): Add purecopy calls for text.
18576
18577 * vc.el (top): print-log method now takes an optional SHORTLOG
18578 argument. Add a new method: root.
18579 (vc-root-diff, vc-print-root-log): New functions.
18580 (vc-log-short-style): New variable.
18581 (vc-print-log-internal): Add support for showing short logs.
18582
18583 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18584 vc-print-root-log and vc-print-root-diff.
18585
18586 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18587 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18588 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18589 short logs.
18590
18591 * vc-cvs.el (vc-cvs-print-log):
18592 * vc-mtn.el (vc-mtn-print-log):
18593 * vc-rcs.el (vc-rcs-print-log):
18594 * vc-sccs.el (vc-sccs-print-log):
18595 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18596 that is ignored for now.
18597
18598 * vc-mtn.el (vc-mtn-annotate-command):
18599 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18600
18601 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18602
18603 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18604 to function-key-map, and give them ascii-character property.
18605 * term/x-win.el (x-alternatives-map):
18606 * term/ns-win.el (ns-alternatives-map):
18607 * term/internal.el (msdos-key-remapping-map):
18608 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18609
18610 2009-09-14 Glenn Morris <rgm@gnu.org>
18611
18612 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18613 temp-buffers (2009-09-12).
18614
18615 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18616
18617 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18618 the new read-key function.
18619
18620 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18621
18622 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18623 is defined (Bug#4405).
18624
18625 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18626
18627 * recentf.el (recentf-cleanup): Use a hash table to find
18628 duplicates (Bug#4407).
18629
18630 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18631
18632 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18633 kp-0 to ascii equivalents (Bug#4325).
18634
18635 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18636
18637 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18638
18639 * eshell/em-hist.el:
18640 * eshell/em-dirs.el (eshell-complete-user-reference):
18641 Declare pcomplete functions and variables to avoid compiler warnings.
18642
18643 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18644
18645 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18646 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18647 * eshell/em-alias.el (eshell-aliases-file):
18648 * eshell/em-hist.el (eshell-history-file-name):
18649 Use expand-file-name instead of concat to make file names (Bug#4308).
18650
18651 2009-09-13 Glenn Morris <rgm@gnu.org>
18652
18653 * ediff-merg.el (ediff-do-merge):
18654 * filesets.el (filesets-run-cmd):
18655 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18656 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18657 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18658 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18659 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18660 Replace empty `let's with `progn'.
18661
18662 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18663
18664 * mail/sendmail.el (send-mail-function):
18665 * tooltip.el (tooltip-mode):
18666 * simple.el (transient-mark-mode):
18667 * rfn-eshadow.el (file-name-shadow-mode):
18668 * frame.el (blink-cursor-mode):
18669 * font-core.el (global-font-lock-mode):
18670 * files.el (temporary-file-directory)
18671 (small-temporary-file-directory, auto-save-file-name-transforms):
18672 * epa-hook.el (auto-encryption-mode):
18673 * composite.el (global-auto-composition-mode):
18674 Use custom-initialize-delay.
18675 * startup.el (command-line): Don't explicitly call
18676 custom-reevaluate-setting for all the above vars.
18677 * custom.el (custom-initialize-safe-set)
18678 (custom-initialize-safe-default): Delete.
18679
18680 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18681
18682 * term/x-win.el (x-initialize-window-system):
18683 * term/w32-win.el (w32-initialize-window-system):
18684 * term/ns-win.el (ns-initialize-window-system): Don't call
18685 mouse-wheel-mode since it's enabled globally by default already.
18686
18687 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18688 actually define the variable, but only silences the byte-compiler.
18689 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18690 before looking it up.
18691 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18692 is changed.
18693
18694 2009-09-12 Glenn Morris <rgm@gnu.org>
18695
18696 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18697 1000.
18698 (elint-add-required-env): Don't beep on error.
18699 (elint-forms): In case of error, return ENV unchanged.
18700 (elint-init-env): Skip non-list forms.
18701 (elint-log): Handle unknown file positions.
18702
18703 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18704
18705 * epg.el (epg-make-context): Add autoload cookie.
18706 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18707 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18708 (epg-verify-string, epg-start-sign, epg-sign-file)
18709 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18710 (epg-encrypt-string, epg-start-export-keys)
18711 (epg-export-keys-to-file, epg-export-keys-to-string)
18712 (epg-start-import-keys, epg-import-keys-from-file)
18713 (epg-import-keys-from-string, epg-start-receive-keys)
18714 (epg-receive-keys, epg-import-keys-from-server)
18715 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18716 (epg-sign-keys, epg-start-generate-key)
18717 (epg-generate-key-from-file, epg-generate-key-from-string):
18718 Remove autoload cookie.
18719
18720 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18721
18722 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18723 reevaluation of trash-directory.
18724
18725 * mwheel.el: Fix last change.
18726 (mouse-wheel-mode): New defvar.
18727 (mouse-wheel-mode): Remove autoload cookie.
18728
18729 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18730
18731 * mwheel.el (mwheel-installed-bindings): New var.
18732 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18733 the bindings we set last time. Use custom-initialize-delay.
18734 * loadup.el: Load mwheel after term/*-win.el.
18735 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18736 and mouse-wheel-up-event now that their first evaluation is done
18737 sufficiently late to be correct.
18738
18739 * startup.el (tutorial-directory): Make it a defcustom.
18740 Use custom-initialize-delay rather than eval-at-startup to set it.
18741 * image.el (image-load-path): Make it a defcustom.
18742 Use custom-initialize-delay rather than eval-at-startup to set it.
18743 * subr.el (eval-at-startup): Remove.
18744 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18745
18746 * subr.el (do-after-load-evaluation): Warn the user after loading an
18747 obsolete package.
18748
18749 2009-09-12 Glenn Morris <rgm@gnu.org>
18750
18751 * proced.el (proced-mark-alt): Remove alias.
18752 (proced-mode-map): Remove proced-mark-alt.
18753
18754 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18755 Elint file and directory. Remove initialization entry.
18756
18757 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18758 commands.
18759 (elint-current-buffer): Set mode-line-process.
18760 (elint-init-env): Handle define-derived-mode.
18761 Fix declare-function with unspecified arglist. Guard against odd
18762 defalias statements (eg iso-insert's 8859-1-map).
18763 (elint-add-required-env): Use a temp buffer.
18764 (elint-form): Just print the function/macro name, not the whole form.
18765 Return env unchanged if we fail to parse a macro.
18766 (elint-forms): Guard against parse errors.
18767 (elint-output): New function, to handle batch mode.
18768 (elint-log-message): Add optional argument. Use elint-output.
18769 (elint-set-mode-line): New function.
18770
18771 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18772
18773 * emacs-lisp/elp.el (elp-not-profilable): Add more
18774 functions (Bug#4233).
18775
18776 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18777
18778 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18779 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18780
18781 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18782
18783 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18784 (gdb-var-list-children): Use json parsing.
18785
18786 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18787
18788 * progmodes/js.el (js--proper-indentation): Handle the case where
18789 char-before is null. Reported by Deniz Dogan.
18790
18791 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18792
18793 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18794
18795 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18796
18797 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18798 (epg-digest-algorithm-alist): Add SHA224.
18799 (epg-context-set-passphrase-callback)
18800 (epg-context-set-progress-callback): Add description about
18801 callback function.
18802
18803 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18804
18805 * custom.el (custom-delayed-init-variables): New var.
18806 (custom-initialize-delay): New function.
18807 * startup.el (command-line): "Re"evaluate all vars in
18808 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18809 explicitly any more.
18810 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18811 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18812
18813 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18814
18815 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18816
18817 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18818 (gdb-var-update-handler): Use json parsing.
18819
18820 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18821
18822 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18823 decode annotated text, regardless of language environment. (Bug#2741)
18824
18825 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18826
18827 * Makefile.in (autoloads): Make rmail.el writable as well.
18828
18829 2009-09-11 Glenn Morris <rgm@gnu.org>
18830
18831 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18832 loaddefs.el.
18833 * dired.el: Regenerate with extracted autoloads.
18834 * Makefile.in (autoloads): Make dired.el writable.
18835
18836 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18837 * ibuffer.el: Regenerate with extracted autoloads.
18838 * Makefile.in (autoloads): Make ibuffer.el writable.
18839
18840 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18841 * version.el (emacs-copyright, emacs-major-version)
18842 (emacs-minor-version): Reformat doc-strings for make-docfile.
18843
18844 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18845 functions and variables, since they must be stuff specific to some other
18846 platform.
18847 (apropos-print): Make mouse-click message less specific about button.
18848
18849 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18850 that records where a macro was defined.
18851 * help-fns.el (describe-function-1): Mention if a function has a
18852 compiler-macro.
18853 * help-mode.el (help-function-cmacro): New button.
18854
18855 * locate.el (top-level): Always require dired.
18856 (locate-mode-map): Initialize inside the defvar.
18857
18858 * net/ange-ftp.el (dired-compress-file): Declare.
18859 (ange-ftp-dired-compress-file): Add doc string.
18860
18861 * term/ns-win.el (x-display-name, x-setup-function-keys):
18862 Unify doc-strings with X versions.
18863
18864 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * emulation/crisp.el (crisp-mode-map): Move initialization
18867 into declaration.
18868 (crisp-mode): Use define-minor-mode.
18869
18870 * progmodes/xscheme.el (xscheme-evaluation-commands):
18871 Put a :advertised-binding property rather than using
18872 advertised-xscheme-send-previous-expression.
18873 (advertised-xscheme-send-previous-expression): Declare obsolete.
18874 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18875 `advertised-undo'.
18876 (crisp-mode): Add corresponding bindings to
18877 undo's :advertised-binding instead.
18878 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18879 than using dired-advertised-find-file.
18880 (dired-advertised-find-file):
18881 * simple.el (advertised-undo):
18882 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18883 (widget-keymap): Put a :advertised-binding property rather
18884 than using advertised-widget-backward.
18885 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18886 than using advertised-undo.
18887 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18888
18889 2009-09-10 Simon South <ssouth@slowcomputing.org>
18890
18891 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18892 Mark mode is enabled and region is active; otherwise indent or
18893 insert TAB as usual.
18894 (delphi-mode): Update description of TAB-key binding.
18895
18896 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18897
18898 * subr.el (define-key-rebound-commands): Mark obsolete.
18899 * startup.el (precompute-menubar-bindings): Remove.
18900 (normal-top-level): Remove obsolete code that tried to precompute
18901 menubar bindings.
18902 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18903 define-key-rebound-commands and precompute-menubar-bindings.
18904
18905 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18906
18907 * net/imap.el (imap-interactive-login): Better messages.
18908 (imap-open): Fix bug with renamed buffer on reconnect.
18909 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18910 for easier debugging and cleaner code. On successful (guessed based on
18911 server capabilities) secondary authentication, set imap-state
18912 correctly.
18913 (imap-last-authenticator): Define imap-last-authenticator as a variable
18914 to avoid warnings.
18915
18916 2009-09-10 Glenn Morris <rgm@gnu.org>
18917
18918 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18919
18920 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18921 (byte-compile-file-form-autoload): Don't warn about unknown functions
18922 where the autoload statement comes after the use.
18923 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18924 that any handlers inside the body (eg require) are in turn respected.
18925
18926 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18927 effects.
18928
18929 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18930 and syntax and abbrev tables basic docs, if they don't have any.
18931
18932 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18933
18934 * international/mule-cmds.el (top-level): Require cl when compiling.
18935 (view-hello-file): Use default-value rather than
18936 default-enable-multibyte-characters.
18937
18938 * progmodes/fortran.el: Move all safe and risky properties into the
18939 defcustoms.
18940
18941 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18942 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18943 * mail/undigest.el:
18944 Put autoloads in rmail.el rather than loaddefs.el.
18945 * mail/rmail.el: Regenerate with extracted autoloads.
18946
18947 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18948 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18949
18950 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18951
18952 Reported in thread for Bug#4375.
18953 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18954 "-data-evaluate-expression" instead of print.
18955 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18956 (gdb-tooltip-print): Parse output from above MI command.
18957 (gdb): Revert 2009-08-11 change. User should detach inferior
18958 manually.
18959
18960 Remove the word "separate" from IO functions as inferior
18961 output is now never displayed in the GUD buffer.
18962
18963 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18964
18965 * startup.el (command-line-normalize-file-name): On Windows and
18966 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18967
18968 2009-09-10 Juri Linkov <juri@jurta.org>
18969
18970 * isearch.el (isearch-text-char-description): Propertize escape
18971 character sequences with the `escape-glyph' face. (Bug#4344)
18972
18973 * simple.el (shell-command): Set asynchronous process filter to
18974 `comint-output-filter'. (Bug#4343)
18975
18976 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18977 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18978 the list. Move "asm" to the bottom.
18979 (grep-find-ignored-directories): Add `choice' with nil value
18980 to empty the list easily.
18981 (grep-find-ignored-files): New option.
18982 (grep-files-history): Set to nil by default instead of '("ch" "el").
18983 (grep-compute-defaults): Add "<X>" to `grep-template'.
18984 (grep-read-files): Bind new local variables `default-alias' and
18985 `default-extension'. Use a list of default values for the file prompt.
18986 (lgrep): Add `--exclude=' command line options composed from
18987 `grep-find-ignored-files'.
18988 (rgrep): Add `-name' command line options composed from
18989 `grep-find-ignored-files'. (Bug#4301)
18990
18991 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18992
18993 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18994 (bug#4368).
18995
18996 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18997
18998 * calendar/time-date.el (autoload):
18999 Expand define-obsolete-function-alias into defalias and make-obsolete
19000 for old Emacsen that Gnus supports.
19001 (with-no-warnings): Define it for old Emacsen.
19002 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19003 is available.
19004 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19005 float-time is available; suppress compile warning for time-to-seconds.
19006
19007 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19008
19009 * net/imap.el (imap-message-map): Docstring fix.
19010
19011 2009-09-09 Glenn Morris <rgm@gnu.org>
19012
19013 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19014 line numbers too. (Bug#4374)
19015
19016 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19017
19018 * smerge-mode.el (smerge-remove-props, smerge-refine):
19019 Use with-silent-modifications (bug#4342).
19020
19021 * subr.el (with-silent-modifications): New macro.
19022
19023 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19024
19025 * files.el (top-level): Require `cl' when compiling.
19026
19027 2009-09-07 Glenn Morris <rgm@gnu.org>
19028
19029 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19030
19031 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19032 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19033
19034 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19035
19036 * vc-git.el (vc-git-annotate-command): Use separator to parse
19037 arguments correctly.
19038
19039 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19040
19041 * proced.el (proced-mode): Doc fix.
19042
19043 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19044
19045 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19046 lstat fails.
19047 (tramp-do-file-attributes-with-ls): Check for file existence at
19048 remote end.
19049 (tramp-do-file-attributes-with-stat): Likewise.
19050 (tramp-convert-file-attributes): Return nil when attr is nil.
19051
19052 2009-09-05 Glenn Morris <rgm@gnu.org>
19053
19054 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19055 properties to this button.
19056 (diary-fancy-display): Don't extend the button to the final newline.
19057 (diary-fancy-display-mode): Continue to define "q" as a local key.
19058
19059 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19060 efficient.
19061
19062 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19063
19064 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19065 (byte-compile-dest-file-function): New option.
19066 (byte-compile-dest-file): Doc fix.
19067 Obey byte-compile-dest-file-function.
19068 (byte-compile-cl-file-p): New function.
19069 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19070 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19071 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19072 than for file being previously loaded.
19073 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19074 (byte-compile-file-form-require): Handle the case where requiring a file
19075 indirectly causes CL to be loaded.
19076
19077 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19078
19079 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19080 before killing the old buffer, since by the time `kill-buffer' is
19081 run so many buffer variables have been set to nil that it may not
19082 behave as expected. (Bug#4061)
19083
19084 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19085
19086 * files.el (find-alternate-file): If the old buffer is modified
19087 and visiting a file, behave similarly to `kill-buffer' when
19088 killing it, thus reverting to the pre-1.878 behavior; see
19089 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19090 for discussion. Also, consult `buffer-file-name' as a variable
19091 not as a function, for consistency with the rest of the code.
19092
19093 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19094
19095 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19096 also when adding a new directory.
19097
19098 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19099 New defun.
19100
19101 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19102
19103 * files.el (locate-file-completion-table): Make it provide boundary
19104 information, so partial-completion works better.
19105
19106 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19107
19108 * mail/footnote.el (Footnote-text-under-cursor):
19109 Check footnote-text-marker-alist before using it (bug#4324).
19110
19111 2009-09-04 Glenn Morris <rgm@gnu.org>
19112
19113 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19114 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19115 * play/solitaire.el, play/tetris.el:
19116 Remove leading * from defcustom and defface docs.
19117
19118 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19119 necessary.
19120 (diary-fancy-overriding-map): New variable.
19121 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19122 Use view-mode.
19123
19124 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19125 goto-line.
19126
19127 2009-09-03 Glenn Morris <rgm@gnu.org>
19128
19129 * arc-mode.el (archive-mode):
19130 * dos-fns.el (set-default-process-coding-system):
19131 * man.el (Man-getpage-in-background):
19132 * menu-bar.el (menu-bar-describe-menu):
19133 * server.el (server-process-filter):
19134 * startup.el (command-line):
19135 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19136 * w32-fns.el (set-default-process-coding-system):
19137 * x-dnd.el (x-dnd-handle-file-name):
19138 * international/mule-cmds.el (mule-menu-keymap)
19139 (set-default-coding-systems, language-info-alist, set-language-info)
19140 (set-language-environment, standard-display-european-internal)
19141 (set-locale-environment):
19142 * international/mule-diag.el (mule-diag):
19143 * mail/emacsbug.el (report-emacs-bug):
19144 * mail/rmail.el (rmail-mode):
19145 * mail/sendmail.el (mail-setup):
19146 Use default-value rather than default-enable-multibyte-characters.
19147
19148 * progmodes/f90.el: Move all safe properties into the defcustoms.
19149 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19150
19151 * calendar/appt.el (appt-check):
19152 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19153 (diary-check-diary-file, diary-list-entries)
19154 (diary-include-other-diary-files, diary-simple-display)
19155 (diary-fancy-display, diary-print-entries)
19156 (diary-mark-included-diary-files, diary-make-entry):
19157 Don't call substitute-in-file-name on diary-file.
19158
19159 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19160 Stefan Monnier <monnier@iro.umontreal.ca>
19161
19162 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19163 (footnote-mode-map): Move initialization into the declaration.
19164 (footnote-minor-mode-map): Define it rather than changing global-map.
19165 (footnote-mode): Use define-minor-mode.
19166
19167 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19168
19169 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19170 (tramp-do-file-attributes-with-perl)
19171 (tramp-do-file-attributes-with-stat): Rename from
19172 `tramp-handle-file-attributes-with-*'.
19173 (tramp-handle-file-attributes): Use them.
19174 (tramp-do-directory-files-and-attributes-with-perl)
19175 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19176 `tramp-handle-directory-files-and-attributes-with-*'.
19177 (tramp-handle-directory-files-and-attributes): Use them.
19178 (tramp-method-out-of-band-p): Additional parameter SIZE.
19179 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19180 (tramp-handle-write-region): Use it.
19181 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19182 (tramp-handle-vc-registered): Check, whether the first run did
19183 return files to be tested.
19184 (tramp-advice-make-auto-save-file-name): Do not call directly
19185 `tramp-handle-make-auto-save-file-name', because this would bypass
19186 the locking mechanism.
19187
19188 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19189 (file-remote-p, process-file, start-file-process, set-file-times)
19190 (tramp-compat-file-attributes): Compatibility functions shall not
19191 call directly `tramp-handle-*', because this would bypass the
19192 locking mechanism.
19193 (tramp-compat-number-sequence): New defun.
19194
19195 2009-09-02 Glenn Morris <rgm@gnu.org>
19196
19197 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19198 alias for float-time.
19199 (time-to-number-of-days): In Emacs, use float-time.
19200 * net/newst-backend.el (time-add): Suppress warnings from compat
19201 function.
19202 * time.el (emacs-uptime, emacs-init-time):
19203 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19204 Use float-time rather than time-to-seconds.
19205
19206 * minibuffer.el (completion-initials-expand): Fix typo.
19207
19208 * faces.el (modeline, modeline-inactive, modeline-highlight)
19209 (modeline-buffer-id):
19210 * info.el (info-menu-5): Mark these face aliases as obsolete.
19211
19212 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19213
19214 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19215 space ...
19216 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19217 no "--thread" option.
19218 (gdb-stopped): Don't print "Switched to thread" message when it is
19219 unchanged.
19220
19221 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19222
19223 * minibuffer.el (completion-try-completion)
19224 (completion-all-completions): Remove ill-defined (and
19225 mistakenly installed and luckily never used nor documented)
19226 `completion-styles' property.
19227 (completion-initials-expand, completion-initials-all-completions)
19228 (completion-initials-try-completion): New functions.
19229 (completion-styles-alist): Add doc to each entry.
19230 Add new `initials' entry.
19231
19232 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19233
19234 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19235 MI command -var-evaluate-expression.
19236 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19237 and tweak for case of string child.
19238 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19239
19240 2009-09-01 Glenn Morris <rgm@gnu.org>
19241
19242 * add-log.el (change-log-date-face, change-log-name-face)
19243 (change-log-email-face, change-log-file-face, change-log-list-face)
19244 (change-log-conditionals-face, change-log-function-face)
19245 (change-log-acknowledgement-face):
19246 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19247 (custom-modified-face, custom-set-face, custom-changed-face)
19248 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19249 (custom-documentation-face, custom-state-face, custom-comment-face)
19250 (custom-comment-tag-face, custom-variable-tag-face)
19251 (custom-variable-button-face, custom-face-tag-face)
19252 (custom-group-tag-face-1, custom-group-tag-face):
19253 * diff-mode.el (diff-header-face, diff-file-header-face)
19254 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19255 (diff-added-face, diff-changed-face, diff-function-face)
19256 (diff-context-face, diff-nonexistent-face):
19257 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19258 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19259 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19260 (Info-title-4-face):
19261 * isearch.el (isearch-lazy-highlight-face):
19262 * log-view.el (log-view-file-face, log-view-message-face):
19263 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19264 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19265 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19266 (cvs-msg-face):
19267 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19268 (smerge-base-face, smerge-markers-face):
19269 * wid-edit.el (widget-documentation-face, widget-button-face)
19270 (widget-field-face, widget-single-line-field-face)
19271 (widget-inactive-face, widget-button-pressed-face):
19272 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19273 (woman-addition-face):
19274 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19275 (eshell-ls-executable-face, eshell-ls-readonly-face)
19276 (eshell-ls-unreadable-face, eshell-ls-special-face)
19277 (eshell-ls-missing-face, eshell-ls-archive-face)
19278 (eshell-ls-backup-face, eshell-ls-product-face)
19279 (eshell-ls-clutter-face):
19280 * eshell/em-prompt.el (eshell-prompt-face):
19281 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19282 * obsolete/old-whitespace.el (whitespace-highlight-face):
19283 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19284 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19285 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19286 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19287 (antlr-font-lock-literal-face):
19288 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19289 (ebrowse-root-class-face, ebrowse-file-name-face)
19290 (ebrowse-default-face, ebrowse-member-attribute-face)
19291 (ebrowse-member-class-face, ebrowse-progress-face):
19292 * progmodes/make-mode.el (makefile-space-face):
19293 * progmodes/sh-script.el (sh-heredoc-face):
19294 * textmodes/flyspell.el (flyspell-incorrect-face)
19295 (flyspell-duplicate-face):
19296 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19297 * textmodes/texinfo.el (texinfo-heading-face):
19298 Mark face aliases with "-face" suffix as obsolete.
19299
19300 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19301 compiler.
19302
19303 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19304 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19305 easy-menu-define wants to modify these.
19306
19307 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19308
19309 * net/browse-url.el (browse-url-file-url):
19310 * term/internal.el (dos-codepage-setup):
19311 Use default-value rather than default-enable-multibyte-characters.
19312
19313 * progmodes/etags.el (etags-goto-tag-location):
19314 * progmodes/flymake.el (flymake-highlight-line)
19315 (flymake-goto-file-and-line, flymake-goto-line):
19316 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19317 (gdb-goto-breakpoint):
19318 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19319 * progmodes/python.el (python-find-function)
19320 (python-pdbtrack-track-stack-file):
19321 * progmodes/verilog-mode.el (verilog-surelint-off):
19322 * term/ns-win.el (ns-open-file-select-line):
19323 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19324 Use forward-line rather than goto-line.
19325
19326 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19327 * textmodes/reftex-index.el (reftex-display-index):
19328 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19329 * textmodes/reftex-toc.el (reftex-toc):
19330 Remove unnecessary bindings of default-major-mode (all are followed by
19331 major-mode check and possible mode switch).
19332
19333 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19334
19335 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19336 Handle watchpoints (bug#4282).
19337 (def-gdb-thread-buffer-command): Enable thread to be selected by
19338 clicking without selecting threads buffer first.
19339 (gdb-current-context-command): Use selected frame so that "up",
19340 "down" etc work in the GUD buffer.
19341 (gdb-update): Find selected frame before rendering stack buffer.
19342 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19343
19344 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19345
19346 * progmodes/sym-comp.el (displayed-completions): Remove.
19347 (symbol-complete): Use minibuffer-complete.
19348
19349 2009-08-31 Glenn Morris <rgm@gnu.org>
19350
19351 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19352
19353 * apropos.el (apropos-symbols-internal):
19354 Handle (obsolete) face aliases.
19355
19356 * faces.el (describe-face): Adjust the output format to be more like
19357 describe-variable, and to mention (obsolete) face aliases.
19358 Adjust the whitespace so that help-setup-xref works.
19359
19360 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19361 * calendar/diary-lib.el (diary-button-face):
19362 Mark these face aliases as obsolete.
19363
19364 * calendar/calendar.el (calendar-today): Doc fix.
19365
19366 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19367
19368 * progmodes/gdb-mi.el (gdb-control-all-threads)
19369 (gdb-control-current-thread): Force tool bar update.
19370 (gdb-non-stop-handler): New function.
19371 (gdb-init-1): Use it to test if non-stop mode is supported.
19372 Remove unused gdbmi buffer type.
19373
19374 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19375
19376 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19377 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19378
19379 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19380
19381 * comint.el (comint-exec-1): Check command is non-null first.
19382 Part of gdb-mi.el change (2009-08-28).
19383
19384 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19385
19386 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19387
19388 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19389
19390 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19391 instead of `dolist' to avoid a recursive require when bootstrapping.
19392
19393 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19394
19395 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19396
19397 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19398
19399 * net/imap.el (imap-send-command): Simplify.
19400 (imap-wait-for-tag): point-max -> buffer-size.
19401
19402 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19403
19404 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19405 with constant argument.
19406
19407 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19408
19409 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19410
19411 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19412 Change default, since most of our files don't have a history.
19413 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19414 the user.
19415
19416 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19417 Add comint-run.
19418
19419 * calc/calc.el: Improve commenting convention.
19420 (calc-digit-map, toplevel): Simplify.
19421
19422 * comint.el (comint-insert-input): Be careful to only set point if we
19423 don't delegate to some other command.
19424
19425 * proced.el (proced-signal-list): Make it an alist.
19426 (proced-grammar-alist): Capitalize names.
19427 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19428 Disable undo manually and make it read-only.
19429 Use completion-annotate-function.
19430
19431 * minibuffer.el (minibuffer-message): If the current buffer is not
19432 a minibuffer, insert the message in the echo area rather than at the
19433 end of the buffer.
19434 (completion-annotate-function): New variable.
19435 (minibuffer-completion-help): Use it.
19436 (completion--embedded-envvar-table): Environment vars are
19437 always case-sensitive.
19438
19439 2009-08-30 Glenn Morris <rgm@gnu.org>
19440
19441 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19442 from fortran-current-defun.
19443 (fortran-beginning-of-subprogram): Be more precise about finding the
19444 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19445 (fortran-end-of-subprogram): Simplify.
19446 (fortran-current-defun): Use fortran-start-prog-re.
19447
19448 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19449
19450 * subr.el (do-after-load-evaluation): Simplify.
19451
19452 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19453
19454 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19455
19456 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19457 (vc-rcs-print-log): Use it.
19458
19459 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19460
19461 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19462
19463 * paths.el (abbrev-file-name): Move to abbrev.el.
19464 * abbrev.el (abbrev-file-name): Move from paths.el.
19465 Obey user-emacs-directory.
19466 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19467 user-emacs-directory.
19468 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19469 abbrev-file-name and calc-settings-file any more.
19470 * startup.el (command-line): Recompute abbrev-file-name and
19471 abbreviated-home-dir.
19472 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19473 of the special code for when C-h bindings haven't been changed.
19474 (display-startup-echo-area-message): Use with-current-buffer.
19475 (command-line-1): Use a list of strings, rather than a list of lists
19476 of strings for longopts.
19477
19478 * files.el (get-free-disk-space): Use / for default-directory.
19479
19480 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19481 Use with-current-buffer.
19482
19483 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19484 Recognize immutable variables like most-positive-fixnum.
19485 (byte-compile-setq-default): Check and warn if trying to assign
19486 to an immutable variable, or a non-variable.
19487
19488 * progmodes/cc-vars.el (c-comment-continuation-stars):
19489 * progmodes/cc-engine.el (c-looking-at-bos):
19490 * progmodes/cc-cmds.el (c-toggle-auto-state)
19491 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19492 (c-comment-line-break-function): Add version of obsolescence.
19493
19494 2009-08-28 Juri Linkov <juri@jurta.org>
19495
19496 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19497 associated with `archive-mode'.
19498
19499 * image.el (image-type-header-regexps): Use only JPEG magic number
19500 to determine JPEG images, and don't use `image-jpeg-p' because
19501 Emacs can display non-JFIF non-Exif JPEG images.
19502
19503 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19504
19505 * arc-mode.el (archive-mode):
19506 * emacs-lisp/re-builder.el (re-builder-unload-function):
19507 Protect against the default value of `major-mode' being nil.
19508
19509 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19510
19511 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19512 Fix typos in docstrings.
19513
19514 * progmodes/js.el (js--macro-decl-re): Doc fix.
19515 (js--plain-method-re, js--split-name): Refloc docstring.
19516 (js--class-styles, js--make-merged-item, js--splice-into-items):
19517 Fix typos in docstrings; reflow docstrings.
19518 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19519 (js--variable-decl-matcher, js--inside-pitem-p)
19520 (js--parse-state-at-point, js--get-all-known-symbols)
19521 (js--symbol-history, js-find-symbol, js--js-references)
19522 (js--moz-interactor, js--js-encode-value, js--read-tab):
19523 Fix typos in docstrings.
19524
19525 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19526
19527 * textmodes/reftex.el (reftex-get-file-buffer-force):
19528 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19529 * emulation/viper.el (viper-go-away, viper-set-hooks):
19530 * emacs-lisp/re-builder.el (re-builder-unload-function):
19531 * emacs-lisp/bytecomp.el (byte-compile-file):
19532 * ses.el (ses-unload-function):
19533 * hexl.el (hexl-find-file):
19534 * files.el (normal-mode):
19535 * ehelp.el (with-electric-help):
19536 * autoinsert.el (auto-insert-alist):
19537 * arc-mode.el (archive-mode):
19538 Use (default-value 'major-mode) instead of default-major-mode.
19539
19540 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19541 * international/mule.el (load-with-code-conversion):
19542 * emacs-lisp/debug.el (debug):
19543 * ediff-vers.el (ediff-rcs-get-output-buffer):
19544 * dired.el (dired-internal-noselect): Don't let-bind
19545 default-major-mode around code that doesn't use it.
19546 E.g. buffer creation via get-buffer-create doesn't use it.
19547
19548 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19549
19550 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19551 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19552 when writing the temp file. Otherwise, epa-file gets confused.
19553 (tramp-register-file-name-handlers): Make it a defun. Move also
19554 `epa-file-handler' to the front of `file-name-handler-alist'.
19555
19556 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19557
19558 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19559 start right after a ^M.
19560 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19561 (tramp-completion-file-name-regexp-separate)
19562 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19563 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19564 Don't modify last-coding-system-used by accident.
19565 (tramp-completion-file-name-handler): Apply the checks here,
19566 instead during registration.
19567 (tramp-register-file-name-handlers): Rename from
19568 `tramp-register-file-name-handler'. Register both
19569 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19570 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19571
19572 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19573
19574 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19575 Remove variable ...
19576 (gdb-init-1, gdb-display-separate-io-buffer)
19577 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19578 references to it.
19579 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19580 (gdb-inferior-filter): Use comint-output-filter to stop
19581 echoing and remove ^M characters.
19582
19583 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19584
19585 * emulation/viper-init.el (viper-restore-cursor-type):
19586 * emulation/cua-base.el (cua--update-indications):
19587 Replace default-cursor-type with (default-value 'cursor-type).
19588
19589 * mail/sendmail.el (mail-recover-1):
19590 * international/mule-diag.el (describe-current-coding-system-briefly)
19591 (describe-current-coding-system):
19592 * international/mule-cmds.el (select-safe-coding-system)
19593 (select-message-coding-system)
19594 (set-language-environment-coding-systems, set-locale-environment):
19595 * hexl.el (hexl-insert-multibyte-char):
19596 * dos-w32.el (find-buffer-file-type-coding-system):
19597 * simple.el (what-cursor-position):
19598 Replace uses of default-buffer-file-coding-system
19599 with (default-value 'buffer-file-coding-system).
19600
19601 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19602 Replace uses of default-cursor-in-non-selected-windows
19603 with (default-value 'cursor-in-non-selected-windows).
19604 Use with-current-buffer.
19605
19606 * mail/feedmail.el: Use CL macros.
19607 (feedmail-run-the-queue, feedmail-send-it-immediately):
19608 * dos-w32.el (find-buffer-file-type): Replace uses of
19609 default-buffer-file-type with (default-value 'buffer-file-type).
19610
19611 2009-08-28 Glenn Morris <rgm@gnu.org>
19612
19613 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19614 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19615 Use default-value of major-mode rather than default-major-mode.
19616
19617 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19618
19619 * Makefile.in (update-elcfiles): Report left over elc files.
19620
19621 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19622 expand-file-name and with-current-buffer.
19623 (mail-get-names, mail-directory): Use with-current-buffer.
19624
19625 * vc.el (vc-read-revision): New function.
19626 (vc-version-diff, vc-merge): Use it.
19627
19628 2009-08-27 Sam Steingold <sds@gnu.org>
19629
19630 * simple.el (kill-do-not-save-duplicates): New user option.
19631 (kill-new): When it is non-nil, and the new string is the same as
19632 the latest kill, set replace to t to avoid duplicates in kill-ring.
19633
19634 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19635
19636 * net/tramp.el (tramp-handle-process-file): Do not flush all
19637 caches when `process-file-side-effects' is set.
19638 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19639 instead of `tramp-find-file-exists-command'.
19640 Unset `process-file-side-effects'.
19641
19642 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19643
19644 * net/tramp.el (tramp-methods): New method "rsyncc".
19645 (top): Add completion function for "rsyncc".
19646 (tramp-message-show-message): New defvar.
19647 (tramp-message, tramp-error): Use it.
19648 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19649 remote copying.
19650 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19651 `tramp-methods' entry `copy-env' of "rsyncc".
19652 (tramp-vc-registered-read-file-names): New defconst.
19653 (tramp-vc-registered-file-names): New defvar.
19654 (tramp-handle-vc-registered): Implement optimization strategy.
19655 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19656 (tramp-vc-file-name-handler): New defun.
19657 (tramp-get-ls-command, tramp-get-test-command)
19658 (tramp-get-file-exists-command, tramp-get-remote-ln)
19659 (tramp-get-remote-perl, tramp-get-remote-stat)
19660 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19661
19662 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19663 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19664 timestamps.
19665 (tramp-get-file-property): Check for timestamps in
19666 `tramp-cache-inhibit-cache'.
19667 (tramp-set-file-property): Write timestamp.
19668
19669 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19670
19671 * language/japan-util.el (japanese-symbol-table): Add entries for
19672 cp932-2-byte.
19673
19674 * international/characters.el: Add category `j' to cp932-2-byte.
19675
19676 2009-08-27 Kenichi Handa <handa@m17n.org>
19677
19678 * international/fontset.el (build-default-fontset-data): New macro.
19679 (setup-default-fontset): Use build-default-fontset-data for CJK,
19680 tibetan, ethiopic, and ipa.
19681
19682 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19683
19684 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19685 (enable-multibyte-characters): Not customizable any more.
19686
19687 * subr.el (default-mode-line-format, default-header-line-format)
19688 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19689 (default-direction-reversed, default-truncate-lines)
19690 (default-left-margin, default-tab-width, default-case-fold-search)
19691 (default-left-margin-width, default-right-margin-width)
19692 (default-left-fringe-width, default-right-fringe-width)
19693 (default-fringes-outside-margins, default-scroll-bar-width)
19694 (default-vertical-scroll-bar, default-indicate-empty-lines)
19695 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19696 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19697 (default-scroll-down-aggressively, default-fill-column)
19698 (default-cursor-type, default-buffer-file-type)
19699 (default-cursor-in-non-selected-windows)
19700 (default-buffer-file-coding-system, default-major-mode)
19701 (default-enable-multibyte-characters): Mark as obsolete.
19702
19703 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19704
19705 * vc-dir.el (vc-dir-update): Remove debug helper.
19706
19707 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19708
19709 2009-08-26 Sam Steingold <sds@gnu.org>
19710
19711 * simple.el (save-interprogram-paste-before-kill): New user option.
19712 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19713 save the interprogram-paste into kill-ring before overriding it
19714 with the Emacs kill.
19715
19716 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19717
19718 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19719 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19720 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19721 and move to vc-rcs.el.
19722 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19723 move to vc-rcs.el.
19724 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19725 (vc-rcs-update-changelog): Remove.
19726 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19727 and move to vc-rcs.el.
19728
19729 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19730 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19731 renaming.
19732 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19733 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19734 vc.el, renamed to be RCS specific.
19735
19736 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19737 New functions.
19738 (vc-cvs-update-changelog): Move here from vc.el.
19739
19740 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19741 New functions.
19742
19743 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19744
19745 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19746
19747 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19748
19749 * vc-git.el (vc-git-register): Use "git add" for directories.
19750 (vc-git-stash, vc-git-stash-show): New functions.
19751 (vc-git-extra-menu-map): Bind them.
19752
19753 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19754 directory correctly in case the item is a directory itself.
19755
19756 * vc.el: Document the desired behavior for reverted files in the
19757 `added' state.
19758 (vc-default-prettify-state-info): Remove function, unused.
19759
19760 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19761
19762 2009-08-26 Glenn Morris <rgm@gnu.org>
19763
19764 * bindings.el (standard-mode-line-format): Reposition dashes in
19765 which-func entry. (Bug#4217)
19766
19767 * files.el (enable-local-variables, enable-local-eval)
19768 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19769 the defcustoms.
19770 (auto-mode-alist, ignored-local-variables)
19771 (save-some-buffers-action-alist): Move risky declarations to the
19772 definitions.
19773 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19774 (font-lock-defaults, format-alist, imenu--index-alist)
19775 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19776 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19777 (mode-line-modified, mode-line-mule-info, mode-line-position)
19778 (mode-line-process, mode-line-remote, outline-level)
19779 (parse-time-rules, rmail-output-file-alist)
19780 (special-display-buffer-names, vc-mode):
19781 Move risky declarations to the relevant files.
19782 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19783 (mode-line-modified, mode-line-process, mode-line-position)
19784 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19785 * font-core.el (font-lock-defaults):
19786 * format.el (format-alist):
19787 * vc-hooks.el (vc-mode):
19788 * window.el (special-display-buffer-names):
19789 * international/mule-cmds.el (input-method-alist):
19790 Define riskiness here (dumped file) rather than in files.el.
19791 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19792 * imenu.el (imenu-generic-expression, imenu--index-alist):
19793 * outline.el (outline-level):
19794 * time.el (display-time-string):
19795 * calendar/parse-time.el (parse-time-rules):
19796 * mail/rmailout.el (rmail-output-file-alist):
19797 Autoload riskiness here, rather than placing in files.el.
19798
19799 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19800
19801 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19802
19803 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19804
19805 * simple.el (process-file-side-effects): New defvar.
19806
19807 * dired-aux.el (dired-show-file-type):
19808 * vc.el (vc-diff-internal):
19809 * vc-arch.el (vc-arch-diff):
19810 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19811 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19812 * vc-git.el (vc-git-registered, vc-git-working-revision)
19813 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19814 (vc-git--empty-db-p):
19815 * vc-hooks.el (vc-user-login-name):
19816 * vc-svn.el (vc-svn-registered, vc-svn-state)
19817 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19818 * progmodes/grep.el (grep-probe): Let-bind
19819 `process-file-side-effects' with nil.
19820
19821 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19822
19823 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19824 daemon. Replace ping by checking for running service for bluez
19825 and zeroconf. (Bug#4239)
19826
19827 2009-08-25 Kevin Ryde <user42@zip.com.au>
19828
19829 * net/dig.el (dig): Add autoload cookie.
19830
19831 2009-08-25 Glenn Morris <rgm@gnu.org>
19832
19833 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19834 load-history for absolute file-names.
19835 (byte-compile-file-form-require): Warn about use of the cl package.
19836
19837 * format.el (format-alist): Doc fix.
19838
19839 * play/bubbles.el (top-level): Don't require cl at run-time.
19840
19841 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19842 run-time cl).
19843
19844 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19845
19846 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19847 from cl package.
19848 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19849
19850 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19851
19852 * calc/calc-alg.el (math-trig-rewrite)
19853 (math-hyperbolic-trig-rewrite): New functions.
19854 (calc-simplify): Simplify trig functions when asked.
19855
19856 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19857
19858 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19859
19860 2009-08-24 Kenichi Handa <handa@m17n.org>
19861
19862 * language/ind-util.el (mapthread): Delete it.
19863 (combinatorial): New function.
19864 (indian--puthash-cv): Use combinatorial instead of mapthread.
19865
19866 2009-08-22 Kevin Ryde <user42@zip.com.au>
19867
19868 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19869 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19870 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19871 Clarify docstring that the value is strings not symbols.
19872 (checkdoc-list-of-strings-p): New function.
19873
19874 2009-08-22 Glenn Morris <rgm@gnu.org>
19875
19876 * files.el (auto-mode-alist):
19877 * hippie-exp.el (he-concat-directory-file-name):
19878 * lpr.el (lpr-windows-system, printer-name):
19879 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19880 * ps-print.el (ps-windows-system):
19881 * startup.el (command-line):
19882 * emulation/viper-ex.el (viper-glob-function):
19883 * international/mule-cmds.el (set-language-environment-coding-systems):
19884 * net/ange-ftp.el (ange-ftp-write-region):
19885 * obsolete/fast-lock.el (fast-lock-cache-name):
19886 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19887 unisoft-unix, vax-vms, win32, w32.
19888
19889 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19890 given name if the pattern is not more specific.
19891
19892 * calendar/lunar.el (lunar-phase-names): New option.
19893 (lunar-phase): Doc fix.
19894 (lunar-cycles-per-year): New constant.
19895 (lunar-index): New function.
19896 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19897 (lunar-phase-name): Use lunar-phase-names.
19898 (calendar-lunar-phases): Use format.
19899 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19900
19901 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19902 Copy imenu-example--name-and-position function here for own use.
19903 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19904
19905 * bs.el (bs--redisplay):
19906 * cus-edit.el (custom-redraw):
19907 * ibuffer.el (ibuffer-bury-buffer):
19908 * server.el (server-goto-line-column):
19909 * startup.el (command-line-1):
19910 * strokes.el (strokes-xpm-for-stroke):
19911 * term.el (term-display-buffer-line):
19912 * view.el (View-goto-line):
19913 * calc/calc.el (calc-do, calc-trail-buffer):
19914 * play/gamegrid.el (gamegrid-add-score-insecure):
19915 * progmodes/ada-mode.el (ada-compile-goto-error):
19916 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19917 (ebrowse-select-1st-to-9nth):
19918 * progmodes/cperl-mode.el (cperl-time-fontification):
19919 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19920 * progmodes/gud.el (gud-display-line):
19921 (idlwave-shell-display-line):
19922 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19923 * progmodes/make-mode.el (makefile-browser-toggle):
19924 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19925 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19926 * textmodes/picture.el (picture-draw-rectangle):
19927 * textmodes/reftex-index.el (reftex-index-goto-letter):
19928 (reftex-select-jump-to-previous):
19929 * textmodes/reftex-sel.el (reftex-find-start-point)
19930 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19931 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19932 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19933 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19934 * textmodes/two-column.el (2C-associated-buffer):
19935 Use forward-line rather than goto-line.
19936
19937 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19938 goto-line.
19939
19940 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19941 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19942 (quick-check-list-to-regexp): Declare.
19943
19944 * progmodes/make-mode.el (makefile-browser-insert-selection):
19945 Use goto-char rather than goto-line.
19946
19947 * progmodes/prolog.el (compilation-error-regexp-alist)
19948 (compilation-forget-errors): Declare.
19949
19950 2009-08-22 Juri Linkov <juri@jurta.org>
19951
19952 * progmodes/grep.el (lgrep, rgrep): At the beginning
19953 set `dir' to `default-directory' unless `dir' is a non-nil
19954 readable directory. (Bug#4052)
19955 (lgrep, rgrep): Change a weird way to report an error
19956 from using `read-string' to using `error'.
19957 Instead of using interactive arguments in the function body,
19958 add new argument `confirm'.
19959
19960 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19961
19962 * textmodes/remember.el (remember-buffer):
19963 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19964 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19965 (icalendar-extract-ical-from-buffer):
19966 * net/newst-treeview.el (newsticker-groups-filename):
19967 * net/newst-backend.el (newsticker-cache-filename):
19968 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19969 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19970 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19971 (speedbar-buffers-line-path, speedbar-path-line)
19972 (speedbar-buffers-line-path):
19973 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19974 (epg-sign-keys):
19975 * epa.el (epa-display-verify-result):
19976 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19977
19978 2009-08-21 Glenn Morris <rgm@gnu.org>
19979
19980 * progmodes/js.el (inferior-moz-process): Fix declaration.
19981
19982 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19983
19984 * obsolete/rnewspost.el (news-mail-reply):
19985 Use goto-char rather than goto-line.
19986
19987 * term/ns-win.el (ns-open-file-select-line):
19988 Use line-beginning-position rather than goto-line.
19989
19990 * apropos.el (apropos-command):
19991 * ehelp.el (electric-helpify):
19992 * printing.el (pr-show-setup):
19993 * strokes.el (strokes-help):
19994 * tutorial.el (tutorial--describe-nonstandard-key)
19995 (tutorial--detailed-help):
19996 * woman.el (woman-mini-help, woman-display-extended-fonts):
19997 * calc/calc-help.el (calc-describe-key):
19998 * emulation/edt.el (edt-electric-helpify):
19999 * international/mule-diag.el (mule-diag):
20000 * play/yow.el (apropos-zippy):
20001 * progmodes/python.el (python-describe-symbol):
20002 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20003 * textmodes/table.el (*table--cell-describe-mode)
20004 (*table--cell-describe-bindings):
20005 Use help-print-return-message rather than the now obsolete alias.
20006
20007 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20008 (calendar-cursor-to-visible-date):
20009 * play/5x5.el (5x5-position-cursor):
20010 * play/decipher.el (decipher):
20011 * play/gomoku.el (gomoku-goto-xy):
20012 * play/landmark.el (lm-goto-xy):
20013 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20014 (mpuz-paint-digit):
20015 Use forward-line, not goto-line.
20016
20017 * mail/rmail.el (rmail-obsolete): Delete custom group.
20018 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20019 (rmail-remote-password, rmail-remote-password-required):
20020 Remove unneeded :set-after and :set properties.
20021
20022 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20023
20024 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20025
20026 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20027
20028 * loadup.el: Remove leftover macos code.
20029
20030 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20031 Explicitly pass the date format to git blame so that user local
20032 so that the output format can be parsed.
20033
20034 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20035
20036 * net/dbus.el (top): Don't check for (getenv
20037 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20038
20039 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20040
20041 * log-edit.el (log-edit-strip-single-file-name): New var.
20042 (log-edit-insert-changelog): Use it. Bug#3571
20043
20044 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20045
20046 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20047 Bug#3287
20048
20049 * help.el (help-print-return-message): Rename from
20050 print-help-return-message.
20051
20052 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20053 cvs-mode-map parent hack.
20054 (log-view-mode): Derive from special-mode.
20055
20056 * linum.el (linum-mode): window-size-change-functions is redundant.
20057 Adapt to new window-configuration-change-hook behavior.
20058 (linum-after-size, linum-after-config): Remove.
20059
20060 * imenu.el (imenu-example--name-and-position)
20061 (imenu-example--lisp-extract-index-name)
20062 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20063 Mark as obsolete.
20064
20065 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20066 (inferior-prolog-mode): Use it.
20067 (inferior-prolog-load-file): Reset list of errors.
20068
20069 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20070
20071 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20072
20073 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20074
20075 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20076
20077 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20078 is running already.
20079
20080 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20081
20082 * subr.el (listify-key-sequence-1): Use normal syntax since those
20083 integers are nowadays always represented by the same (positive) number
20084 on all platforms.
20085 (read-key-empty-map): New const.
20086 (read-key-delay): New var.
20087 (read-key): New function.
20088 (force-mode-line-update): Use with-current-buffer.
20089 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20090 (start-process-shell-command, start-file-process-shell-command):
20091 Discourage the use of command-args.
20092
20093 2009-08-19 Glenn Morris <rgm@gnu.org>
20094
20095 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20096
20097 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20098
20099 * simple.el (choose-completion-string): Don't rely on
20100 minibuffer-completing-file-name and ad-hoc checks to decide whether
20101 to continue completion or not.
20102
20103 * minibuffer.el (minibuffer-hide-completions): New function.
20104 (completion--do-completion): Use it.
20105 (completions-annotations): New face.
20106 (completion--insert-strings): Use it.
20107 (completion-pcm--delim-wild-regex): Add docstring.
20108 (completion-pcm--string->pattern): Add support for 0-width delimiters
20109 in completion-pcm--delim-wild-regex.
20110
20111 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20112
20113 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20114 Remove unused var `buffer-modified-p'.
20115
20116 * minibuffer.el (completion--do-completion): Move point for the #b001
20117 case as well (bug#4176).
20118 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20119
20120 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20121
20122 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20123 and :session buses.
20124
20125 2009-08-18 Kenichi Handa <handa@m17n.org>
20126
20127 * international/ucs-normalize.el (ucs-normalize-version):
20128 Change to 1.1.
20129 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20130 (utf-8-hfs): Make it perform normalization on encoding too.
20131
20132 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20133 (sentence-end-without-space): Delete duplicated chars.
20134 (sentence-end-base): Likewise.
20135
20136 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20137 (html-mode): Delete duplicated chars from sentence-end-base.
20138
20139 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20140 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20141
20142 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20143
20144 * files.el (hack-one-local-variable): If the mode function is for
20145 a minor mode, pass it an argument (Bug#4148).
20146
20147 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20148
20149 * net/tramp.el (tramp-register-completion-file-name-handler):
20150 Check also for (member 'partial-completion completion-styles).
20151
20152 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20153
20154 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20155 abbrev (Bug#3943).
20156
20157 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20158
20159 * progmodes/cperl-mode.el: Merge upstream 6.2.
20160 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20161 (cperl-forward-re): Check cperl-brace-recursing.
20162 (cperl-highlight-charclass): New function.
20163 (cperl-find-pods-heres): Use it.
20164 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20165 (cperl-beautify-regexp-piece): Fix column calculation.
20166 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20167 (cperl-beautify-level): Don't process entire regexp.
20168 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20169 calling man.
20170 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20171 (cperl-init-faces): Build a list in the normal way.
20172
20173 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20174
20175 * calendar/parse-time.el (parse-time-string-chars): Save match
20176 data.
20177
20178 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20179
20180 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20181 (sql-product): Use it.
20182 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20183 (sql-set-product): Add completion.
20184 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20185 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20186 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20187 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20188 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20189 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20190 (sql-highlight-db2-keywords): Remove.
20191 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20192 (sql-highlight-product): Use derived-mode-p.
20193 (sql-set-sqli-buffer): Use with-current-buffer.
20194 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20195 Simplify.
20196
20197 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20198
20199 * term.el: Fix commenting convention, turn comments into docstrings.
20200
20201 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20202
20203 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20204
20205 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20206
20207 * calendar/parse-time.el (parse-time-string-chars): Compute using
20208 character classes, to handle non-ascii characters (Bug#3190).
20209
20210 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20211
20212 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20213 another heredoc if the user adds another < (Bug#3226).
20214
20215 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20216 Don't initialize based on window-system (Bug#4124).
20217
20218 * facemenu.el (facemenu-read-color): Use a completion function
20219 that accepts any defined color, such as RGB triplets (Bug#3677).
20220
20221 * files.el (get-free-disk-space): Change fallback default
20222 directory to /. Expand DIR argument before switching to fallback.
20223 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20224
20225 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20226
20227 * files.el (load-library): Doc fix.
20228
20229 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20230
20231 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20232 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20233 incremental search string.
20234
20235 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20236 XEmacs.
20237
20238 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20239 (ediff-merge-region-is-non-clash)
20240 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20241 Also check if the job is really a merge job.
20242
20243 * ediff.el (ediff-current-file): New function.
20244
20245 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20246
20247 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20248 conventions.
20249 (js-insert-and-indent): Delete function.
20250 (js-mode-map): Don't bind keys to js-insert-and-indent.
20251 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20252 (js-end-of-defun): Rename from js--end-of-defun.
20253 (js-auto-indent-flag): Delete variable.
20254
20255 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20256
20257 * progmodes/js.el: Remove proclaim statement.
20258 Defvar which-func-imenu-joiner-function to silence compiler.
20259
20260 * files.el (auto-mode-alist): Use js-mode for .js files.
20261
20262 * progmodes/js2-mode.el: Remove file.
20263
20264 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20265
20266 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20267
20268 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20269
20270 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20271 Karl Landstrom <karl.landstrom@brgeight.se>
20272
20273 * progmodes/js.el: New file.
20274
20275 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20276
20277 * timezone.el (timezone-parse-date): Add ability to understand ISO
20278 basic format (minimal separators) dates in addition to the
20279 already-supported extended format dates.
20280
20281 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20282
20283 * international/ucs-normalize.el: Add a `coding' file variable.
20284
20285 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20286
20287 2009-08-14 Sam Steingold <sds@gnu.org>
20288
20289 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20290
20291 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20292
20293 * faces.el (help-argument-name): Define it here instead of
20294 help-fns.el, because in daemon mode help-fns.el may be loaded when
20295 faces are still uninitialized (Bug#1078).
20296
20297 * help-fns.el (help-argument-name): Move defface to faces.el.
20298
20299 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20300
20301 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20302 create buffer with a pty but no process so that GDB can make the
20303 inferior the controlling process.
20304
20305 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20306
20307 * international/ucs-normalize.el: New file.
20308
20309 2009-08-13 Richard Stallman <rms@gnu.org>
20310
20311 * mail/rmail.el (rmail-get-attr-names):
20312 Accept an attribute header that is too short.
20313
20314 * mail/rmail.el (rmail-forget-messages):
20315 Ignore nil elt in rmail-message-vector. Use dotimes.
20316
20317 * progmodes/compile.el (compilation-goto-locus):
20318 Use next-error-move-function.
20319
20320 * simple.el (next-error-move-function): New variable.
20321
20322 2009-08-12 Juri Linkov <juri@jurta.org>
20323
20324 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20325 always non-nil. (Bug#4052)
20326
20327 * replace.el (read-regexp): Return empty string when
20328 `default-value' is nil.
20329 (keep-lines-read-args): Don't use empty string as the
20330 default value for `read-regexp'. (Bug#2495)
20331
20332 2009-08-12 Juri Linkov <juri@jurta.org>
20333
20334 * international/mule-cmds.el (ucs-insert): Change arguments
20335 from `arg' to `character', `count', `inherit' to be the same
20336 as in `insert-char'. Doc fix. (Bug#4039)
20337
20338 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20339
20340 2009-08-12 Juri Linkov <juri@jurta.org>
20341
20342 * files-x.el: New file.
20343
20344 * files.el: Move code that deals with adding/deleting
20345 file/directory-local variables to files-x.el.
20346
20347 * Makefile.in (ELCFILES): Add files-x.elc.
20348
20349 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20350
20351 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20352 to use `goto-line'.
20353 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20354 `goto-line'.
20355 (gdb-invalidate-disassembly): Do not refresh upon receiving
20356 'update signal. Instead, update all disassembly buffers only after
20357 threads list.
20358 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20359 (gdb-starting): Move -data-list-register-names...
20360 (gdb-stopped): ...here so it's sent when first thread stops.
20361 (gdb-registers-handler-custom): Do nothing if register names are
20362 unknown yet.
20363
20364 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20365 from `gdb-mi.el' to avoid extra tangling.
20366
20367 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20368 change which breaks `gud-def' definitions used in `gdb'.
20369 (gdb-update-gud-running): No extra fuss for updating frame number.
20370
20371 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20372
20373 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20374 (describe-language-environment-map, setup-language-environment-map)
20375 (set-coding-system-map): Move initialization into declaration.
20376 (set-language-info-alist): Last arg to define-key-after can be skipped.
20377
20378 * international/quail.el (quail-completion-1): Simplify.
20379 (quail-define-rules): Use slightly more compact code.
20380 (quail-insert-decode-map): Propertize keys, compact columns.
20381
20382 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20383 Add goto-line.
20384
20385 2009-08-10 Miles Bader <miles@gnu.org>
20386
20387 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20388 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20389 (js2-instance-member, js2-private-member, js2-private-function-call)
20390 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20391 (js2-magic-paren, js2-external-variable):
20392 Remove "-face" suffix from face names.
20393 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20394 (js2-highlight-undeclared-vars, js2-peek-token)
20395 (js2-parse-function-params, js2-mode-show-errors)
20396 (js2-mode-show-warnings, js2-make-magic-delimiter)
20397 (js2-mode-highlight-magic-parens): Update to use new face names.
20398
20399 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20400
20401 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20402 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20403
20404 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20405
20406 * subr.el: Provide hashtable-print-readable.
20407
20408 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20409 hs-c-like-adjust-block-beginning.
20410 (hs-hide-block-at-point): Stop hiding at the beginning of
20411 hs-block-end-regexp (Bug#700).
20412
20413 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20414
20415 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20416 a macro.
20417 (gdb-registers-handler-custom): Do not fail when register names
20418 are unavailable.
20419
20420 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20421
20422 * progmodes/gdb-mi.el (gdb-control-all-threads)
20423 (gdb-control-current-thread): Interactive setters for
20424 `gdb-gud-control-all-threads' to use in menu.
20425 (gdb-show-run-p): Show «Go» when process is not active.
20426 (gud-tool-bar-map): Add non-stop/A,T indicator.
20427 Uses gud/thread.xpm and gud/all.xpm.
20428
20429 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20430
20431 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20432 (nslookup-font-lock-keywords): Make it a variable.
20433 (net-utils-mode): New mode for viewing diagnostic network output.
20434 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20435 (net-utils-run-simple): New function.
20436 (ifconfig, iwconfig, netstat, arp, route): Use it.
20437
20438 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20439
20440 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20441 (gdb-memory-set-address, def-gdb-set-positive-number)
20442 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20443 after changing settings.
20444 (gdb-invalidate-disassembly): Update when first shown.
20445 (gdb-edit-locals-value): Fixed.
20446 (gdb-registers-handler-custom): Print registers in right order and
20447 allow changing register values (only for current thread yet).
20448 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20449 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20450 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20451 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20452 Thread info in mode name.
20453 (gdb-registers-mode-map): TAB to switch to locals.
20454
20455 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20456
20457 * mail/rmail.el (rmail-add-mbox-headers)
20458 (rmail-set-message-counters-counter): Search for
20459 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20460
20461 2009-08-08 Glenn Morris <rgm@gnu.org>
20462
20463 * Makefile.in (ELCFILES): Update.
20464
20465 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20466
20467 * mail/sendmail.el (mail-yank-original):
20468 Set buffer-file-coding-system from the one used by the message whose
20469 text is yanked.
20470
20471 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20472 to "windows" when "pgnuplot" is used.
20473 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20474 Don't call accept-process-output if "pgnuplot" is used.
20475 (calc-graph-init): Don't send -display and -geometry to
20476 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20477 running "pgnuplot -V" with shell-command-to-string.
20478
20479 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20480 the default.
20481
20482 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20483
20484 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20485 org/org-latex.elc.
20486
20487 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20488
20489 * vc-dispatcher.el (vc-resynch-window): Update comment.
20490
20491 * term.el (term-handle-ansi-escape): Add comments with the
20492 terminfo capabilities implemented.
20493
20494 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20495
20496 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20497 (gdb-var-create-handler): Rewritten using JSON parser.
20498 (gdb-propertize-header): Move earlier.
20499 (gdb-set-header): Remove to avoid duplication.
20500 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20501 Refresh disassembly buffers only after threads list have been
20502 update.
20503 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20504 variables.
20505
20506 2009-08-04 Juri Linkov <juri@jurta.org>
20507
20508 * files.el: Commands to add/delete file/directory-local variables.
20509 (read-file-local-variable, read-file-local-variable-value)
20510 (read-file-local-variable-mode, modify-file-local-variable)
20511 (modify-file-local-variable-prop-line)
20512 (modify-dir-local-variable): New functions.
20513 (add-file-local-variable, delete-file-local-variable)
20514 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20515 (add-dir-local-variable, delete-dir-local-variable)
20516 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20517 (copy-dir-locals-to-file-locals-prop-line): New commands.
20518
20519 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20520
20521 * abbrev.el (insert-abbrev-table-description): Prettify output.
20522 Suggested by Karl Chen.
20523
20524 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20525
20526 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20527 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20528 (gdb-overlay-arrow-position, gdb-thread-position)
20529 (gdb-disassembly-position): Declare variables.
20530 (gdb-wait-for-pending): Function now.
20531 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20532 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20533 compilation goes smoothly.
20534 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20535 (gdb-non-stop-setting): New customization setting which replaces
20536 `gdb-non-stop' so changing it doesn't break active GDB session.
20537 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20538 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20539 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20540 (gdb-show-threads-by-default): New customization options.
20541 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20542 routines.
20543 (gdb-get-buffer-create): Send buffers update signal when they are
20544 created.
20545 (gdb-invalidate-locals, gdb-invalidate-registers)
20546 (gdb-invalidate-breakpoints)
20547 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20548 (gdb-invalidate-memory): Accept update signal.
20549 (gdb-current-context-command): Use --frame option.
20550 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20551 Implement `gdb-frame-number' selection logic.
20552 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20553 whether to show GUD toolbar buttons.
20554 (gdb-thread-exited): Unselect current thread when it exits.
20555 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20556 (gdb-mark-line): Routine which sets overlay arrow or inverses
20557 video on fringeless displays.
20558 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20559 to build aligned columns of data in GDB buffers and set text
20560 properties line-by-line.
20561 (gdb-invalidate-breakpoints)
20562 (gdb-breakpoints-list-handler-custom)
20563 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20564 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20565 (gdb-registers-handler-custom): Align data columns.
20566 (gdb-locals-handler-custom): Now prints data like in variable
20567 declarations.
20568 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20569 Remove confusing buttons.
20570 (gdb-invalidate-threads): Append --frame.
20571 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20572 between breakpoints/threads buffers.
20573 (gdb-set-window-buffer): Now can ignore dedicated windows.
20574 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20575 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20576 (def-gdb-thread-buffer-gud-command): Replaces
20577 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20578 for fine thread control.
20579 (gdb-preempt-existing-or-display-buffer): New function used to
20580 display bound buffers without breaking window layout.
20581 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20582 (gdb-select-frame): New version of `gdb-frames-select' which now
20583 sets `gdb-frame-number' so commands may use --frame option instead
20584 of inner debugger state.
20585 (gdb-frame-handler): Do not set `gdb-frame-number'.
20586 (gdb-threads-mode-map): Select threads with mouse.
20587
20588 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20589 avoid compilation warning.
20590 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20591 `gdb-show-stop-p`.
20592
20593 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20594 Argument `key' renamed to `buffer-type'.
20595 (gdb-current-context-buffer-name): Do not add thread info to
20596 buffer name when no thread is selected.
20597 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20598 command (bug 3794).
20599 (gdb-thread-selected): Handle `=thread-selected' notification.
20600 (gdb-wait-for-pending): New macro to deal with congestion problems.
20601 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20602 breakpoints.
20603 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20604 This fixes problem similar to one described in bug 3947.
20605 (gud-menu-map): More menu items.
20606 (gdb-init-1): Reset `gdb-thread-number' to nil.
20607
20608 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20609 non-stop settings.
20610
20611 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20612 (gdb-current-context-command): Do not append --thread if
20613 `gdb-thread-number' is nil.
20614 (gdb-running-threads-count, gdb-stopped-threads-count):
20615 New variables.
20616 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20617 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20618 New customization options.
20619 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20620 GUD commands.
20621 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20622 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20623 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20624 set `gdb-thread-number' and update `gud-running' properly.
20625 (gdb-running): Update threads list when new threads appear.
20626 (gdb-stopped): Support non-stop operation and new thread switching
20627 logic.
20628 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20629 (gdb-json-partial-output): New set of JSON routines.
20630 (def-gdb-auto-update-trigger): New `signal-list' optional
20631 argument.
20632 (gdb-thread-list-handler-custom): Update `gud-running',
20633 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20634 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20635 (gdb-continue-thread, gdb-step-thread): New commands for fine
20636 thread execution control.
20637 (gud-menu-map): New menu items to switch non-stop options.
20638 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20639 (gdb-send): Mimic RET properly (bug 3794).
20640
20641 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20642 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20643 gdb-buffer-rules.
20644 (def-gdb-auto-update-handler): New nopreserve optional argument.
20645 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20646
20647 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20648 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20649 (gdb-parent-mode): New mode to derive other GDB modes from.
20650 (gdb-display-disassembly-for-thread)
20651 (gdb-frame-disassembly-for-thread): New commands for threads
20652 buffer.
20653
20654 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20655 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20656 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20657 (gdb-update): We now store all GDB buffers in a list so that they
20658 can be updated by traversing a list instead of calling invalidate
20659 triggers explicitly.
20660 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20661 pair for GDB buffer.
20662 (gdb-stack-buffer-name): Add thread information.
20663 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20664 handle pending triggers.
20665 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20666 (def-gdb-thread-buffer-simple-command)
20667 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20668 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20669 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20670 New commands which show buffers bound to thread.
20671 (gdb-stack-list-locals-regexp): Remove unused regexp.
20672
20673 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20674 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20675 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20676 to (gud-comint-buffer) in *-buffer-name functions
20677 because (gdb-get-target-string) already does that.
20678 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20679 (gdb-changed-registers-handler): Rewritten without regexps.
20680
20681 * progmodes/gdb-mi.el: Basic thread selection support.
20682 (gdb-thread-number): New variable.
20683 (gdb-current-context-command): New macro which adds --thread
20684 option to command.
20685 (gdb-threads-mode-map): Select thread with SPC.
20686 (gdb-thread-list-handler-custom): Mark current thread with overlay
20687 arrow. Synchronize GDB thread and Emacs thread.
20688 (gdb-select-thread): New command which selects current thread.
20689 (gdb-invalidate-frames, gdb-invalidate-locals)
20690 (gdb-invalidate-registers): Use --thread option.
20691
20692 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20693
20694 * net/tramp.el (top): Make check for tramp-gvfs loading more
20695 robust. (Bug#3977)
20696 (tramp-handle-insert-file-contents): `unwind-protect' must be
20697 inside `with-parsed-tramp-file-name'.
20698
20699 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20700 fails.
20701
20702 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20703
20704 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20705 directory if CLASSPATH is not set.
20706
20707 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20708
20709 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20710 New defconst.
20711 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20712
20713 2009-08-02 Kevin Ryde <user42@zip.com.au>
20714
20715 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20716 Update freshmeat link. Delete newsforge.com as it seems gone.
20717
20718 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20719
20720 * select.el (x-set-selection): Doc fix (Bug#4021).
20721
20722 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20723
20724 * help-fns.el (describe-variable): Treat list return values from
20725 dir-locals-find-file properly (Bug#4005).
20726
20727 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20728
20729 * net/tramp.el (tramp-debug-message): Print also microseconds.
20730
20731 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20732
20733 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20734 or END is non-nil.
20735 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20736 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20737 format.
20738
20739 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20740 (tramp-get-file-property): Use it.
20741
20742 * autorevert.el (auto-revert-handler):
20743 Allow `auto-revert-tail-mode' for remote files.
20744
20745 2009-08-02 Jason Rumney <jasonr@gnu.org>
20746
20747 * minibuffer.el (read-file-name): Treat confirm options to
20748 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20749
20750 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20751
20752 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20753 (font-lock-variable-name-face, font-lock-constant-face):
20754 Darken the colors for light backgrounds.
20755
20756 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20757
20758 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20759 month names. (Bug#3987)
20760
20761 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20762
20763 * simple.el (line-move-finish): Pass whole number to
20764 line-move-to-column.
20765 (line-move-visual): Perform hscroll to the recorded position.
20766
20767 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20768
20769 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20770
20771 2009-07-29 Alan Mackenzie <acm@muc.de>
20772
20773 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20774
20775 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20776
20777 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20778 (gdb-place-breakpoints): Use full path when setting breakpoints.
20779
20780 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20781
20782 * calc/calc.el (calc-mode-map): Add keybinding for
20783 `calc-transpose-lines'.
20784
20785 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20786
20787 * calc/calc-misc.el (calc-transpose-lines): New function.
20788
20789 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20790
20791 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20792 Simplify check for out-of-band methods.
20793 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20794 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20795
20796 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20797
20798 * vc-git.el (vc-git-checkin): Fix typo.
20799
20800 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20801
20802 * progmodes/js2-mode.el: New file.
20803
20804 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20805
20806 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20807 (gud-menu-map): Adjust tooltip accordingly.
20808
20809 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20810
20811 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20812 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20813
20814 * add-log.el (change-log-mode-map): Add a menu.
20815
20816 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20817
20818 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20819 function returns nil.
20820 (dbus-handle-event): Handle special return value :ignore.
20821 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20822
20823 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20824
20825 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20826 it's not needed.
20827
20828 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20829
20830 Fix Bug#3888:
20831
20832 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20833
20834 * term/pc-win.el (x-display-name, x-colors)
20835 (x-select-enable-clipboard, x-select-text): Doc fix.
20836
20837 * term/common-win.el (x-display-name, x-colors): Doc fix.
20838
20839 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20840 (xw-defined-colors): Doc fix.
20841
20842 * w32-fns.el (x-select-text, x-setup-function-keys)
20843 (x-get-selection, x-set-selection): Doc fix.
20844
20845 * term/x-win.el (x-select-text, x-setup-function-keys)
20846 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20847
20848 * select.el (x-set-selection): Doc fix.
20849
20850 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20851
20852 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20853 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20854 "IsNSSSupportAvailable" method is not available.
20855 Reported by Steve Youngs <steve@sxemacs.org>.
20856
20857 2009-07-24 Kenichi Handa <handa@m17n.org>
20858
20859 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20860 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20861 (build-unicode-category-table): Fix range checks.
20862
20863 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20864
20865 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20866 the buffer we try to sync is current when calling
20867 vc-resynch-buffer.
20868
20869 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20870 not show up to date files.
20871
20872 2009-07-24 Glenn Morris <rgm@gnu.org>
20873
20874 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20875 Add autoload cookies. If necessary, initialize.
20876 (elint-log): Handle non-file buffers.
20877 (elint-initialize): Add optional argument to reinitialize.
20878 (elint-find-builtin-variables): Save excursion.
20879
20880 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20881
20882 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20883 for Lint.
20884
20885 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20886
20887 * vc.el (vc-print-log-internal): New function, split out from ...
20888 (vc-print-log): ... here.
20889 (vc-dir-move-to-goal-column): Declare.
20890
20891 * vc-git.el (vc-git-add-signoff): New variable.
20892 (vc-git-checkin): Use it.
20893 (vc-git-toggle-signoff): New function.
20894 (vc-git-extra-menu-map): Bind it to menu.
20895 (vc-git--run-command-string): Accept a nil FILE argument.
20896 (vc-git-stash-list): New function.
20897 (vc-git-dir-extra-headers): Use it.
20898
20899 2009-07-23 Glenn Morris <rgm@gnu.org>
20900
20901 * help-fns.el (describe-variable): Describe ignored and risky local
20902 variables in a similar way to that in which we describe safe ones.
20903
20904 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20905 (byte-compile-output-file-form, byte-compile-output-docform)
20906 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20907 Give some more local variables with common names a "bytecomp-" prefix,
20908 so as not to shadow things during compilation.
20909 * emacs-lisp/cl-macs.el (load-time-value)
20910 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20911 `outbuffer' to `bytecomp-outbuffer'.
20912
20913 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20914 since the next two variables cover them automatically now.
20915 (elint-builtin-variables, elint-autoloaded-variables): New.
20916 (elint-unknown-builtin-args): Remove all members, since they can be
20917 parsed automatically now.
20918 (elint-extra-errors): New.
20919 (elint-env-add-env, elint-env-add-macro): Use cadr.
20920 (elint-current-buffer): Use or. Change final message.
20921 (elint-get-top-forms): Use line-end-position.
20922 (elint-init-env): Use cadr. Handle autoload, declare-function,
20923 and defalias.
20924 (elint-add-required-env): Doc fix. Use or. Standardize error.
20925 (regexp-assoc): Remove unused function.
20926 (elint-top-form): Set elint-current-pos, to record the start of the
20927 top-level form, for compilation-mode.
20928 (elint-form): Trap errors in macro expansion. Use dolist.
20929 (elint-unbound-variable): Use elint-builtin-variables and
20930 elint-autoloaded-variables.
20931 (elint-get-args): Use cadr, or.
20932 (elint-check-cond-form): Use dolist, cadr.
20933 (elint-check-condition-case-form): Doc fix. Use cadr.
20934 Use elint-extra-errors.
20935 (elint-log): New function.
20936 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20937 Distinguish errors and warnings.
20938 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20939 Use a bytecomp-style format.
20940 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20941 (elint-get-log-buffer): Use compilation mode. Disable undo.
20942 Don't truncate lines.
20943 (elint-initialize): Set builtin and autoloaded variable lists.
20944 Only process elint-unknown-builtin-args if non-nil.
20945 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20946 New functions.
20947 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20948
20949 2009-07-22 Kevin Ryde <user42@zip.com.au>
20950
20951 * net/newst-backend.el (newsticker--parse-atom-1.0)
20952 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20953 (newsticker--parse-rss-1.0):
20954 * progmodes/idlwave.el (idlwave-mode):
20955 * progmodes/idlw-shell.el (idlwave-shell-mode):
20956 * progmodes/vera-mode.el (vera-mode):
20957 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20958 * progmodes/vhdl-mode.el (vhdl-mode):
20959 * textmodes/table.el (table-generate-source)
20960 (table--warn-incompatibility):
20961 Hyperlink urls in docstrings with URL `...'.
20962
20963 2009-07-22 Glenn Morris <rgm@gnu.org>
20964
20965 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20966 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20967 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20968 Remove leading * from defcustom docs.
20969
20970 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20971
20972 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20973 defcustom doc.
20974 (list-load-path-shadows): Optionally, just return shadows as a string.
20975
20976 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20977
20978 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20979
20980 * mail/rmailedit.el (rmail-edit-mode):
20981 Use auto-save-include-big-deletions.
20982
20983 * mail/rmail.el (rmail-variables):
20984 Use auto-save-include-big-deletions.
20985
20986 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20987 changes.
20988
20989 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20990
20991 * calc/calc.el (calc-undo-length): New variable.
20992 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20993
20994 2009-07-21 Richard Stallman <rms@gnu.org>
20995
20996 * files.el (auto-save-mode): Handle buffer-save-size = -2
20997 for toggling mode.
20998
20999 2009-07-21 Glenn Morris <rgm@gnu.org>
21000
21001 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21002
21003 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21004
21005 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21006 silence compiler. Instead...
21007 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21008 (ps-print-ensure-fontified): Update for above function name changes.
21009
21010 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21011 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21012 silence compiler. Instead...
21013 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21014 (mh-show-buffer): Only define for compiler.
21015 (pr-mh-current-message): Update for above function name changes.
21016
21017 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21018 as an argument.
21019 (find-file-noselect, insert-file-1): Update for above change.
21020
21021 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21022
21023 * mail/mailclient.el (mailclient-send-it): Fix message.
21024
21025 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21026 (edebug-eval): Check cl-debug-env is bound.
21027 (print-level, print-circle): Don't redefine built-in variables.
21028
21029 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21030 (custom-print-vectors): Remove old comments from doc.
21031
21032 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21033 (emerge-version): Make the variable an obsolete alias for the
21034 emacs-version variable. Make the function obsolete.
21035 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21036 Emerge options, rather than merging in into the main Options menu.
21037 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21038 and auto advance modes. Disable edit/fast items when not relevant.
21039
21040 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21041
21042 * term/vt420.el (terminal-init-vt420): Fix typo.
21043
21044 2009-07-20 Sam Steingold <sds@gnu.org>
21045
21046 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21047 variable (removed from compile.el on 2004-03-11).
21048
21049 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21050
21051 * files.el (hack-local-variables-filter): Fix last change.
21052
21053 2009-07-19 Juri Linkov <juri@jurta.org>
21054
21055 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21056 (dir-local-variables-alist): New buffer-local variable.
21057 (hack-local-variables-filter): If variable is not dir-local,
21058 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21059 because file-local overrides dir-local.
21060 (c-postprocess-file-styles) <declare-function>:
21061 Remove obsolete declaration.
21062 (hack-dir-local-variables): Add dir-local variable/value pair to
21063 `dir-local-variables-alist' and remove duplicates. Doc fix.
21064
21065 * help-fns.el (describe-variable): Add information about
21066 file-local and dir-local variables.
21067
21068 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21069
21070 * files.el (hack-local-variables-filter): Rewrite.
21071
21072 2009-07-19 Glenn Morris <rgm@gnu.org>
21073
21074 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21075 Silence compiler by only defining on XEmacs.
21076
21077 * international/mule.el (auto-coding-regexp-alist): Only match
21078 BABYL... at the start of buffer, not of lines. (Bug#3790)
21079
21080 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21081 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21082 (cal-menu-context-mouse-menu): Doc fix.
21083
21084 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21085
21086 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21087
21088 2009-07-18 Juri Linkov <juri@jurta.org>
21089
21090 * info.el: Virtual Info keyword finder.
21091 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21092 (Info-finder-file): New variable.
21093 (Info-finder-find-file): New function.
21094 (finder-known-keywords, finder-package-info)
21095 (find-library-name, lm-commentary): Use defvar and
21096 declare-function to silence compiler warnings.
21097 (Info-finder-find-node): New function.
21098 (info-finder): New command.
21099
21100 * subr.el (process-kill-buffer-query-function): New function.
21101 (add-hook)<kill-buffer-query-functions>: Add hook
21102 `process-kill-buffer-query-function'.
21103
21104 2009-07-18 Alan Mackenzie <acm@muc.de>
21105
21106 * progmodes/cc-mode.el (c-before-hack-hook)
21107 (c-postprocess-file-styles): Give invocation of `c-set-style'
21108 DONT-OVERRIDE parameter of t. Already set style variables will
21109 thus not be overridden by style settings given by `c-file-syle'.
21110
21111 * files.el (hack-local-variables-filter): Remove entries with
21112 duplicate keys from `file-local-variables-alist'.
21113
21114 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21115
21116 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21117 x-set-selection if display-selections-p returns nil for the
21118 current frame.
21119
21120 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21121
21122 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21123
21124 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21125
21126 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21127 Accept nil in addition to a regexp.
21128 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21129 Accept nil in addition to a regexp.
21130 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21131 buffers that have an associated file. Handle nil values of
21132 desktop-buffers-not-to-save and desktop-files-not-to-save.
21133 (Bug#3833)
21134
21135 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21136 (x-disown-selection-internal): New functions.
21137
21138 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21139
21140 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21141 warning.
21142 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21143 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21144
21145 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21146
21147 * simple.el (set-mark): Revert last change.
21148
21149 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21150
21151 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21152 rendering of pngs is not possible instead of messaging a long
21153 description.
21154
21155 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21156
21157 * w32-fns.el (x-selection-owner-p): New function.
21158
21159 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21160 (mouse-yank-at-click, mouse-yank-primary):
21161 If select-active-regions is non-nil, deactivate the mark before
21162 insertion.
21163
21164 * simple.el (deactivate-mark, set-mark): Only save selection if we
21165 own it.
21166
21167 2009-07-17 Kenichi Handa <handa@m17n.org>
21168
21169 * case-table.el (describe-buffer-case-table): Fix for the case
21170 that KEY is a cons.
21171
21172 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21173
21174 * vc-rcs.el (vc-rcs-find-file-hook):
21175 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21176
21177 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21178
21179 * net/tramp.el (tramp-wait-for-output): Handle the case when
21180 commands do not return a newline but a null byte before the shell
21181 prompt. (Bug#3858)
21182
21183 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21184
21185 * term/ns-win.el (ns-set-alpha): Don't declare.
21186 (ns-set-background-alpha): Remove function.
21187
21188 2009-07-16 Kevin Ryde <user42@zip.com.au>
21189
21190 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21191 y-or-n-p, for safety.
21192
21193 2009-07-16 Richard Stallman <rms@gnu.org>
21194
21195 * files.el (auto-save-mode): If buffer-saved-size is -2,
21196 don't clobber it.
21197
21198 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21199 (rmail-retry-ignored-headers): Add more uninteresting fields.
21200
21201 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21202
21203 * net/rcirc.el (rcirc): Use history variables.
21204 (rcirc-server-name-history, rcirc-nick-name-history)
21205 (rcirc-server-port-history): New variables.
21206
21207 2009-07-15 Kenichi Handa <handa@m17n.org>
21208
21209 * international/mule-cmds.el (set-language-environment-charset):
21210 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21211 ignore them.
21212
21213 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21214 Delete unibyte-display.
21215
21216 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21217
21218 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21219
21220 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21221
21222 * simple.el (deactivate-mark): Optional argument FORCE.
21223 (set-mark): Use deactivate-mark.
21224
21225 * info.el (Info-search): No need to check transient-mark-mode
21226 before calling deactivate-mark.
21227
21228 * select.el (x-set-selection): Doc fix.
21229 (x-valid-simple-selection-p): Allow buffer values.
21230 (xselect--selection-bounds): Handle buffer values.
21231 Suggested by David De La Harpe Golden.
21232
21233 * mouse.el (mouse-set-region, mouse-drag-track):
21234 Call copy-region-as-kill before setting the mark, to let
21235 select-active-regions work.
21236
21237 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21238
21239 * simple.el (deactivate-mark): If select-active-regions is
21240 non-nil, copy the selection data into a string.
21241 (activate-mark): If select-active-regions is non-nil, set the
21242 selection to the current buffer.
21243 (set-mark): Update selection if select-active-regions is non-nil.
21244
21245 * select.el (x-valid-simple-selection-p): Allow buffer values.
21246
21247 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21248
21249 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21250 and more featureful message-mode.
21251
21252 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21253
21254 * select.el (x-set-selection): Doc fix.
21255 (x-valid-simple-selection-p): Disallow selection data consisting
21256 of a list or cons of integers, since that is not used.
21257 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21258 (xselect-convert-to-string, xselect-convert-to-length)
21259 (xselect-convert-to-filename, xselect-convert-to-charpos)
21260 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21261
21262 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21263
21264 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21265 output in -break-info command (Emacs bug #3794).
21266
21267 2009-07-14 Glenn Morris <rgm@gnu.org>
21268
21269 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21270 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21271 (edebug-print-length, edebug-print-level, edebug-print-circle)
21272 (edebug-sit-for-seconds, edebug-view-outside)
21273 (edebug-bounce-point, edebug-set-global-break-condition)
21274 (edebug-Go-nonstop-mode, edebug-trace-mode)
21275 (edebug-Trace-fast-mode, edebug-continue-mode)
21276 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21277 (edebug-visit-eval-list): Doc fixes.
21278
21279 * subr.el (def-edebug-spec): Doc fix.
21280
21281 2009-07-14 Kenichi Handa <handa@m17n.org>
21282
21283 * international/characters.el: Fix setting of category ?C.
21284
21285 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21286
21287 * term/ns-win.el (x-select-font): defalias x-select-font to
21288 ns-popup-font-panel instead of generate-fontset-menu.
21289
21290 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21291
21292 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21293
21294 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21295
21296 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21297 the PK\003\004 header (Bug#3770).
21298
21299 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21300
21301 * pcomplete.el (pcomplete-comint-setup): Check for
21302 shell-dynamic-complete-filename too.
21303
21304 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21305
21306 * simple.el (temporary-goal-column): Change the value for
21307 line-move-visual to a cons cell.
21308 (line-move-visual): Record or set the window hscroll, if
21309 necessary (Bug#3494).
21310 (line-move-1): Handle cons value of temporary-goal-column.
21311
21312 2009-07-11 Kenichi Handa <handa@m17n.org>
21313
21314 * international/mule-diag.el (describe-character-set): Don't show
21315 width.
21316
21317 2009-07-10 Sam Steingold <sds@gnu.org>
21318
21319 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21320 Omake sometimes indents the errors it prints, so allow all
21321 regexps to start with spaces.
21322
21323 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21324
21325 * cus-edit.el (customize-changed-options-previous-release):
21326 Bump value to 22.1. (Bug#3804)
21327
21328 2009-07-08 Sam Steingold <sds@gnu.org>
21329
21330 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21331 to be a cons cell (test . ignored-directory) to selectively ignore
21332 some directories depending on the location of the search.
21333
21334 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21335
21336 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21337 remote user is root, on the local host.
21338 (tramp-local-host-p): Either the local user or the remote user
21339 must be root. (Bug#3771)
21340
21341 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21342
21343 * progmodes/gdb-mi.el (gdb): Remove description of
21344 gdb-use-separate-io-buffer.
21345 (menu): Don't allow toggling of or enable
21346 gdb-use-separate-io-buffer from menubar.
21347
21348 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21349
21350 * mail/unrmail.el (unrmail): Make sure the message ends with two
21351 newlines (Bug#3769).
21352
21353 2009-07-08 Glenn Morris <rgm@gnu.org>
21354
21355 * calendar/calendar.el (calendar-current-date): Rework previous change.
21356
21357 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21358
21359 * calendar/calendar.el (calendar-current-date):
21360 Add an optional argument giving an offset from today.
21361
21362 2009-07-08 Glenn Morris <rgm@gnu.org>
21363
21364 * tutorial.el (tutorial--describe-nonstandard-key):
21365 Adjust the message for when a key has been unbound.
21366 (help-with-tutorial): Hide the arch-tag.
21367
21368 2009-07-08 Kenichi Handa <handa@m17n.org>
21369
21370 * international/fontset.el (setup-default-fontset): For each
21371 script, append (not set) font-specs.
21372
21373 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21374 docstring.
21375
21376 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21377
21378 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21379 -data-list-register-names to ...
21380 (gdb-starting): ... here because GDB 7.0 requires execution to
21381 have started when using this MI command.
21382 (gdb-set-header): New function to distinguish select and
21383 unselected tabs in gdb buffers.
21384 (gdb-propertize-header): New macro that uses gdb-set-header.
21385 (gdb-breakpoints-header, gdb-locals-header): Use it.
21386 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21387
21388 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21389
21390 * Makefile.in (ELCFILES): Remove fadr.elc.
21391
21392 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21393
21394 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21395 may contain frame information, so `string-match' should be used.
21396 (gdb-update): Disassembly is invalidated through
21397 `gdb-get-selected-frame'.
21398 (gdb-pad-string): New function to pad string with spaces.
21399 (gdb-invalidate-disassembly): Invalidate only if the buffer
21400 exists.
21401 (gdb-disassembly-handler-custom): Column alignment.
21402 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21403 placing new ones.
21404 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21405 end of line, too.
21406 (gdb-frame-handler): Match convention to for disassembly buffer
21407 mode name.
21408 (gdb-stack-list-frames-handler): Rewritten without regexps.
21409 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21410 not highlight breakpoints without line information.
21411 (gdb-input): Add trailing newline to command.
21412
21413 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21414 buffer properly.
21415 (gdb-breakpoints-list-handler-custom): Replacement for
21416 `gdb-break-list-handler'. Using real parser instead of regexps
21417 now.
21418 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21419 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21420 to place breakpoints.
21421 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21422 functions.
21423 (gdb-disassembly-handler-custom): Show overlay arrow.
21424 (gdb-disassembly-place-breakpoints): Show breakpoints in
21425 disassembly buffer.
21426 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21427 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21428 instead of parsing breakpoints buffer. Fixed old menu references
21429 in `gud-menu-map'.
21430
21431 * fadr.el: Remove.
21432
21433 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21434 (gdb-memory-address): New variable which holds top address of
21435 memory page shown in memory buffer.
21436 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21437 New customization variables.
21438 New functions:
21439 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21440 display the memory buffer.
21441 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21442 buffer display parameters.
21443 (def-gdb-memory-format, gdb-memory-format-binary)
21444 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21445 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21446 Functions for setting memory buffer format.
21447 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21448 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21449 unit size used in memory buffer.
21450 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21451 Switch to next/previous page of memory buffer.
21452 Now using (bindat-get-field) instead of fadr functions.
21453
21454 2009-07-07 Sam Steingold <sds@gnu.org>
21455
21456 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21457 non-top-level files.
21458
21459 2009-07-07 Kenichi Handa <handa@m17n.org>
21460
21461 * international/mule-cmds.el (reset-language-environment):
21462 Put the highset priority to the charset iso-8859-1.
21463
21464 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21465
21466 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21467 to the end of the line when locating the block (Bug#700).
21468
21469 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21470
21471 * net/tramp.el (tramp-handle-write-region): Flush file properties
21472 in case of short track.
21473
21474 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21475
21476 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21477 Coded custom representation of verilog error regular expressions
21478 to work with Emacs-22's new format.
21479 (verilog-error-regexp-xemacs-alist): Coded custom representation
21480 of verilog error regular expressions to work with XEmacs format.
21481 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21482 error recognition into XEmacs.
21483 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21484 error recognition into Emacs-22.
21485
21486 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21487
21488 * woman.el: Remove stand-alone closing parentheses.
21489 (woman-file-name, woman2-format-paragraphs)
21490 (woman-leave-blank-lines): Code cleanup.
21491 (woman-use-own-frame): Change default to nil.
21492 (woman-italic, woman-bold, woman-unknown, woman-addition):
21493 Change defaults to inherit from default faces.
21494 (woman2-process-escapes): Consume the newline after a stand-alone
21495 filler character (Bug#3651).
21496
21497 2009-07-06 Glenn Morris <rgm@gnu.org>
21498
21499 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21500 (top-level): Move provide to the end.
21501 (ffap): Remove defunct URL from custom group.
21502
21503 * subr.el (eval-after-load): Doc fix.
21504
21505 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21506
21507 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21508 `calc-embedded-word' is called twice.
21509
21510 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21511
21512 * files.el (find-alternate-file-other-window, find-alternate-file):
21513 Obey confirm-nonexistent-file-or-buffer.
21514
21515 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21516
21517 * dired-aux.el (dired-show-file-type): Handle remote files.
21518
21519 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21520
21521 * desktop.el (desktop-globals-to-save):
21522 Add file-name-history (Bug#2750).
21523
21524 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21525
21526 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21527
21528 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21529
21530 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21531 property on entire argument since this is what eshell-lisp-command
21532 expects.
21533
21534 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21535
21536 * net/tramp-gvfs.el (tramp-gvfs-methods)
21537 (tramp-gvfs-zeroconf-domain)
21538 (tramp-bluez-discover-devices-timeout): Add version flag.
21539 (tramp-gvfs-handler-mounted-unmounted)
21540 (tramp-gvfs-connection-mounted-p): Polish handling of
21541 incompatibilities between GVFS 0.2 and 1.0.
21542
21543 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21544
21545 * cus-start.el (all): Add make-pointer-invisible.
21546
21547 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21548
21549 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21550 formatted correctly.
21551
21552 2009-07-02 Juri Linkov <juri@jurta.org>
21553
21554 * info.el: Virtual Info files and nodes.
21555 (Info-virtual-files, Info-virtual-nodes): New variables.
21556 (Info-current-node-virtual): New variable.
21557 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21558 New functions.
21559 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21560 to check for a virtual file instead of checking a fixed list
21561 of node names.
21562 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21563 instead of ad-hoc processing of "dir" and (apropos history toc).
21564 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21565 instead of ad-hoc processing of "dir" and (apropos history toc).
21566 Reread a file when moving from a virtual node.
21567 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21568 (Info-directory-toc-nodes, Info-directory-find-file)
21569 (Info-directory-find-node): New functions.
21570 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21571 (Info-history): Move part of code to
21572 `Info-history-find-node'.
21573 (Info-history-toc-nodes, Info-history-find-file)
21574 (Info-history-find-node): New functions.
21575 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21576 (Info-toc): Move part of code to `Info-toc-find-node'.
21577 (Info-toc-find-node): New function.
21578 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21579 the current Info file name to references because now the node
21580 "*TOC*" belongs to the same Info manual.
21581 (Info-toc-build): Rename from `Info-build-toc'.
21582 (Info-toc-nodes): Rename input argument `file' to `filename'.
21583 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21584 instead of ad-hoc processing of ("dir" apropos history toc).
21585 (Info-index-nodes): Use Info-virtual-file-p
21586 to check for a virtual file instead of checking a fixed list
21587 of node names.
21588 (Info-index-node): Add check for `Info-current-node-virtual'.
21589 Raise `save-match-data' higher up the tree to contain
21590 `search-forward' too (bug fix).
21591 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21592 (Info-virtual-index-nodes): New variable.
21593 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21594 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21595 (Info-apropos-file, Info-apropos-nodes): New variables.
21596 (Info-apropos-toc-nodes, Info-apropos-find-file)
21597 (Info-apropos-find-node, Info-apropos-matches): New functions.
21598 (info-apropos): Move part of code to `Info-apropos-find-node' and
21599 `Info-apropos-matches'.
21600 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21601 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21602 for a virtual file instead of checking a fixed list of node names.
21603
21604 * simple.el (async-shell-command): New command.
21605
21606 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21607
21608 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21609 instead of `mount-info'.
21610
21611 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21612
21613 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21614 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21615
21616 2009-07-02 Kenichi Handa <handa@m17n.org>
21617
21618 * international/mule.el (set-keyboard-coding-system): Force *-unix
21619 coding-system to avoid eol conversion.
21620
21621 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21622
21623 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21624 Add handler for `process-file', `shell-command' and
21625 `start-file-process'.
21626 (tramp-gvfs-handle-shell-command)
21627 (tramp-gvfs-handle-start-file-process)
21628 (tramp-gvfs-handle-process-file): New defuns.
21629 (tramp-synce-list-devices): Simplify check for existence of property.
21630
21631 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21632
21633 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21634
21635 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21636
21637 * language/korean.el (set-language-info-alist): Add korean-cp949,
21638 cp949 to spec.
21639
21640 2009-07-01 Kenichi Handa <handa@m17n.org>
21641
21642 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21643
21644 * international/encoded-kb.el: Deleted.
21645
21646 * international/mule.el (set-keyboard-coding-system): Perform the
21647 necessary setup here instead of calling encoded-kbd-setup-display.
21648
21649 2009-07-01 Glenn Morris <rgm@gnu.org>
21650
21651 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21652
21653 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21654
21655 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21656
21657 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21658
21659 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21660 Handle also the 'rename case, when setting file modes. (Bug#3712)
21661 (tramp-default-file-modes): Remove execute permissions.
21662
21663 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21664 (top): Add a default for "synce" in `tramp-default-user-alist'.
21665 Add completion function for "synce" method.
21666 (tramp-hal-service, tramp-hal-path-manager)
21667 (tramp-hal-interface-manager, tramp-hal-interface-device):
21668 New defconst.
21669 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21670 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21671 New defuns.
21672
21673 * net/trampver.el: Update release number.
21674
21675 2009-06-30 Kenichi Handa <handa@m17n.org>
21676
21677 * international/fontset.el (setup-default-fontset): Add CJK fonts
21678 for symbols and the other miscellaneous characters.
21679
21680 * language/korea-util.el (setup-korean-environment-internal):
21681 Make char-width-table suitable for Korean environments.
21682 (exit-korean-environment): Cancel above.
21683
21684 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21685 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21686 setup-function to make char-width-table suitable for respective
21687 environments, and an exit-function to cancel that.
21688
21689 * language/japan-util.el (setup-japanese-environment-internal):
21690 Call use-cjk-char-width-table with arg `ja_JP'.
21691
21692 * international/characters.el (cjk-char-width-table): Delete it.
21693 (cjk-char-width-table-list): New variable.
21694 (use-cjk-char-width-table): New arg local-name.
21695 (use-default-char-width-table): Fix for the case that Emacs is
21696 already using the default char-width-table.
21697
21698 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21699
21700 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21701 modes mandatory. (Bug#3712)
21702
21703 2009-06-29 Alan Mackenzie <acm@muc.de>
21704
21705 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21706 correction between the visible width of TABs and their number of bytes.
21707
21708 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21709
21710 * server.el (server-buffer-done): Prevent kill-buffer from
21711 prompting by clearing the buffer modification flag (Bug#3696).
21712
21713 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21714
21715 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21716 (verilog-endcomment-reason-re): Support unique case and priority case.
21717 (verilog-basic-complete-re): Support localparam lineup.
21718 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21719 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21720 commenting.
21721 (verilog-leap-to-case-head): Now support *nested* unique &
21722 priority case statements.
21723 (verilog-auto-lineup): Make just declarations the default (as it
21724 had been).
21725 (verilog-leap-to-case-head): Support priority/unique case statements.
21726 (verilog-auto-lineup): Rework to give users radio buttons to
21727 select the various styles of automatic lineup.
21728 (verilog-error-regexp-alist): Rework to support the XEmacs style
21729 of error regular expressions from compilers, lint tools &
21730 simulators. Note that GNU Emacs has made it impossible for a mode
21731 to load such things.
21732 (electric-verilog-terminate-line, verilog-indent-declaration)
21733 (verilog-auto-wiure): Rework for radio button selection of
21734 auto-lineup selection of specification of auto lineup.
21735 (verilog-beg-of-statement-1): Redesign to support proper operation
21736 in additional code, based on testing with auto-lineup.
21737 (verilog-calculate-indent, assignments & declarations)
21738 (verilog-backward-token): Enhance to support auto-lineup of
21739 assignments & declarations.
21740 (verilog-in-directive-p, verilog-at-struct-p): New function for
21741 easy test of whether we are.
21742 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21743 to support safe execution at almost anyline.
21744 (verilog-calc-1): Properly support indenting deep inside generate
21745 blocks.
21746 (verilog-init-font): Remove definition & use of verilog-init-font,
21747 as it is redundant with font-lock-defaults.
21748 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21749 to avoid circular calls if syntax-ppss is a function (as is the
21750 case now in 22.x GNU Emacs) as that function would sometimes call
21751 itself, leading to (nearly) infinite recursion.
21752 (verilog-ovm-begin-re, verilog-ovm-end-re)
21753 (verilog-ovm-statement-re, verilog-leap-to-head)
21754 (verilog-backward-token): Add support for OVM macros. Some are
21755 complete statements, and others open and close scopes like begin
21756 and end.
21757 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21758 (verilog-defun-level-generate-only-re): Really fix the defun-list
21759 compilation issue.
21760 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21761 coverpoint, constraint and cross statements.
21762 (verilog-defun-level-list, verilog-generate-defun-level-list)
21763 (verilog-all-defun-level-list): Redo these specifications - it is
21764 too hard to support eval-when compile aggregation of lists also
21765 built at when-compile time.
21766 (verilog-defun-level-list): Place defconsts of variables used in
21767 building regular expressions which are built in eval-when-compile
21768 bodies in the same eval-when-compile body to facilitate compile
21769 without load.
21770 (verilog-beg-block-re-ordered): Support indenting
21771 virtual/protected tasks and functions.
21772 (verilog-defun-level-list, verilog-in-generate-region-p)
21773 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21774 indentation of some module items (generate items).
21775 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21776 across virtual/protected tasks and functions.
21777
21778 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21779
21780 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21781 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21782 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21783 in concatenations. Reported by Yishay Belkind.
21784 (verilog-auto-ascii-enum): Support one-hot state machines in
21785 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21786 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21787 modport in AUTOINST and add vl-modport for users.
21788 Reported by David Rogoff.
21789 (verilog-auto-inout-module, verilog-auto-inst)
21790 (verilog-decls-get-interfaces, verilog-insert-definition)
21791 (verilog-insert-one-definition, verilog-read-decls)
21792 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21793 (verilog-sig-modport, verilog-signals-combine-bus)
21794 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21795 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21796 Suggested by David Rogoff.
21797 (verilog-repair-open-comma): Fix non-insertion of comma when
21798 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21799 (verilog-make-width-expression): Simplify [A-1:0] expression
21800 widths to just {A{1'b0}}.
21801 (verilog-mode): Cleanup checkdoc warnings.
21802 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21803 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21804 inputs/outputs or data type. Suggested by Vasu Kandadi.
21805 (next-error-last-buffer): Fix byte-compiler warning.
21806 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21807 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21808 or shell command text during AUTO expansion. Suggested by Tad Truex.
21809 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21810 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21811 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21812 in AUTOINOUT. Reported by Matthew Lovell.
21813 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21814 causing use of <= assignments. Reported by Alex Reed.
21815 (verilog-read-decls): Fix triand, trior, wand, wor to be
21816 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21817 (verilog-extended-complete-re): Support import "DPI-C" functions.
21818 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21819 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21820 (verilog-insert-date, verilog-insert-year)
21821 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21822 Windows systems. Reported by Michael Potts.
21823 (verilog-read-module-name): Fix AUTOINST when the child module
21824 declaration's name is a tick define. Reported by Elliot Mednick.
21825 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21826 passed to next parameter's definition. Reported by Bruce T.
21827 (verilog-read-decls): Fix detecting "parameter int" when using
21828 AUTOINSTPARAM. Reported by Bruce T.
21829 (verilog-goto-defun): Fix goto not finding modules unless first
21830 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21831 (verilog-mode): Expand -f flag arguments on entry to mode so
21832 verilog-goto-defun will work. Reported by Lawrence Butcher.
21833 (verilog-getopt): Expand environment variables in -f file
21834 arguments. Suggested by Lawrence Butcher.
21835 (verilog-set-define): Fix "Symbol's value as variable is void"
21836 when reading enumerations.
21837 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21838 Suggested by Stephen Peltan.
21839 (verilog-read-defines): Fix reading of enumerations in include
21840 files. Reported by Steve Peltan.
21841
21842 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21843
21844 * files.el (trash-directory): Fix defcustom type.
21845
21846 2009-06-28 Juri Linkov <juri@jurta.org>
21847
21848 * help-fns.el (describe-function-1): Correctly locate adviced
21849 functions in hyperlink (Bug#2438).
21850
21851 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21852
21853 * files.el (trash-directory): Change default to nil.
21854 (move-file-to-trash): If trash-directory is nil and
21855 system-move-file-to-trash is unbound, perform freedesktop-style
21856 trashing.
21857
21858 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21859
21860 * files.el (move-file-to-trash): Add freedesktop trash
21861 support (Bug#973).
21862
21863 2009-06-28 Glenn Morris <rgm@gnu.org>
21864
21865 * autorevert.el (global-auto-revert-non-file-buffers)
21866 (global-auto-revert-mode): Doc fixes.
21867
21868 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21869
21870 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21871
21872 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21873
21874 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21875 opened an X connection before calling x-get-resource (Bug#3194).
21876
21877 * play/doctor.el: Remove reference to obsolete website.
21878 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21879
21880 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21881
21882 Remove find-file-not-found-hook VC method. (Bug#2757)
21883 * vc-hooks.el (vc-file-not-found-hook)
21884 (vc-default-find-file-not-found-hook): Remove functions.
21885 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21886 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21887 * vc.el:
21888 * vc-hg.el:
21889 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21890
21891 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21892
21893 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21894 compatibility function for `looking-back'.
21895
21896 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21897 Use `ispell-looking-back'.
21898
21899 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21900
21901 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21902 rather than `filename'.
21903
21904 2009-06-23 Miles Bader <miles@gnu.org>
21905
21906 * face-remap.el (text-scale-set): New function.
21907
21908 2009-06-23 Glenn Morris <rgm@gnu.org>
21909
21910 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21911
21912 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21913
21914 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21915
21916 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21917
21918 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21919 Simplify Persian conditionals.
21920
21921 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21922 variable `filename'.
21923
21924 * comint.el (comint-insert-input): Doc fix.
21925
21926 * Makefile.in (ELCFILES): Fix typo in previous change.
21927
21928 2009-06-23 Miles Bader <miles@gnu.org>
21929
21930 * cus-start.el: Add entry for `recenter-redisplay'.
21931
21932 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21933
21934 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21935 Add an optional argument for the backend, use it instead of
21936 calling vc-backend.
21937 (vc-mode-line): Add an optional argument for the backend.
21938 Pass the backend to vc-state and vc-working-revision. Move code for
21939 special handling for vc-state being a buffer to ...
21940
21941 * vc-rcs.el (vc-rcs-find-file-hook):
21942 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21943
21944 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21945 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21946 vc-stay-local-p and vc-mode-line calls.
21947
21948 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21949 (vc-cvs-diff, vc-cvs-annotate-command)
21950 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21951 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21952 vc-mode-line calls.
21953
21954 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21955 direct comparison.
21956 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21957 backend when calling vc-mode-line.
21958 (vc-register): Do not create a closure for calling the vc register
21959 function, call it directly.
21960
21961 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21962
21963 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21964 to make it obvious item can be clicked.
21965
21966 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21967
21968 2009-06-23 Kenichi Handa <handa@m17n.org>
21969
21970 * language/korea-util.el (korean-key-bindings): Change the binding
21971 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21972 same command.
21973
21974 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21975
21976 Sync with Tramp 2.1.16.
21977
21978 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21979
21980 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21981 when a loading of a package fails. Completion function for rsync
21982 is `tramp-completion-function-alist-ssh'.
21983 (all): Replace all calls of `split-string' and
21984 `tramp-split-string' by `tramp-compat-split-string'.
21985 (tramp-default-method): Use `tramp-compat-process-running-p'.
21986 (tramp-default-proxies-alist): Allow also Lisp forms.
21987 (tramp-remote-path): Add choice "Private Directories".
21988 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21989 (tramp-domain-regexp): Allow also "-", "_" and ".".
21990 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21991 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21992 (tramp-debug-message): Insert header line in debug buffer.
21993 (tramp-handle-directory-files-and-attributes-with-stat):
21994 Care about filenames with spaces, or starting with "-".
21995 (tramp-handle-dired-uncache): New defun.
21996 (tramp-handle-insert-directory): Don't flush the directory from
21997 cache, this is handled by `dired-uncache' now.
21998 (tramp-handle-insert-file-contents): Improve error handling.
21999 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22000 Quote `tramp-end-of-output'.
22001 (tramp-action-password): Improve trace message.
22002 (tramp-check-for-regexp): Both echoes must be present, before removing.
22003 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22004 (tramp-compute-multi-hops): Eval cons cells of
22005 `tramp-default-proxies-alist'.
22006 (tramp-maybe-open-connection): Use the same command pattern for
22007 first hop and further hops.
22008 (tramp-wait-for-output): Remove handling of newlines.
22009 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22010 (tramp-split-string): Remove function. It is handled in
22011 tramp-compat now.
22012
22013 * net/tramp-cmds.el (tramp-bug):
22014 Recommend `tramp-cleanup-all-connections' in the bug mail.
22015
22016 * net/tramp-compat.el (tramp-compat-split-string)
22017 (tramp-compat-process-running-p): New defuns.
22018
22019 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22020 for `dired-uncache'.
22021
22022 * net/tramp-gvfs.el: New package.
22023
22024 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22025 Add handler for `dired-uncache'.
22026 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22027
22028 * net/trampver.el: Update release number. Make version check fit
22029 for SXEmacs 22.
22030
22031 2009-06-22 Jim Meyering <meyering@redhat.com>
22032
22033 Automatically handle .xz suffix (XZ-compressed files), too.
22034 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22035 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22036
22037 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22038 Nick Roberts <nickrob@snap.net.nz>
22039
22040 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22041 repository (http://sphinx.net.ru/hg/gdb-mi/).
22042
22043 2009-06-22 Glenn Morris <rgm@gnu.org>
22044
22045 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22046 `mode' and `eval' entries. (Bug#3430)
22047
22048 * Makefile.in (ELCFILES): Add fadr.elc.
22049
22050 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22051 differing behavior of \n and ^ in strings. (Bug#3385)
22052
22053 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22054
22055 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22056 property.
22057 (lisp-indent-function): Make it a defcustom.
22058
22059 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22060
22061 * progmodes/gdb-ui.el: Replace with ...
22062 * progmodes/gdb-mi.el: ... this file.
22063 * progmodes/gud.el: Modify for gdb-mi.el.
22064
22065 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22066
22067 * fadr.el: New file.
22068
22069 See ChangeLog.14 for earlier changes.
22070
22071 ;; Local Variables:
22072 ;; coding: utf-8
22073 ;; End:
22074
22075 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22076
22077 This file is part of GNU Emacs.
22078
22079 GNU Emacs is free software: you can redistribute it and/or modify
22080 it under the terms of the GNU General Public License as published by
22081 the Free Software Foundation, either version 3 of the License, or
22082 (at your option) any later version.
22083
22084 GNU Emacs is distributed in the hope that it will be useful,
22085 but WITHOUT ANY WARRANTY; without even the implied warranty of
22086 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22087 GNU General Public License for more details.
22088
22089 You should have received a copy of the GNU General Public License
22090 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.