df02432e79a503e520a13d920547c858a10fcf95
[bpt/emacs.git] / lisp / ChangeLog
1 2010-09-24 Glenn Morris <rgm@gnu.org>
2
3 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5 * textmodes/css-mode.el, textmodes/dns-mode.el:
6 Move autoloaded auto-mode-alist entries to files.el.
7 * files.el (auto-mode-alist): Move entries here.
8
9 2010-09-23 Glenn Morris <rgm@gnu.org>
10
11 * isearch.el (isearch-lazy-highlight-cleanup)
12 (isearch-lazy-highlight-initial-delay)
13 (isearch-lazy-highlight-interval)
14 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
15 * net/net-utils.el (ipconfig-program-options):
16 Move aliases to options before the associated definitions.
17
18 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19
20 * newcomment.el (comment-normalize-vars): Better test validity of
21 comment-end-skip.
22
23 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
26 (float-e): New name for `e'.
27 (degrees-to-radians, radians-to-degrees):
28 * calendar/solar.el (solar-longitude):
29 * calculator.el (calculator-registers, calculator-funcall):
30 * textmodes/artist.el (artist-spray-random-points):
31 * play/bubbles.el (bubbles--initialize-images): Use new names.
32
33 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
34
35 Update to CEDET 1.0's version of EIEIO.
36
37 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
38 New function.
39 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
40 (eieio-default-eval-maybe): Eval val instead of unquoting only.
41 (class-precedence-list): If class is nil, return nil.
42 (eieio-generic-call): If class of first input arg is nil, don't
43 look up static methods, and do check for primary methods.
44 (initialize-instance): See if the default needs to be evaluated
45 during the constructor.
46 (eieio-perform-slot-validation-for-default): Don't do the check
47 for values that will eventually be evaluated.
48 (eieio-eval-default-p): New function.
49 (eieio-default-eval-maybe): Use it.
50
51 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
52
53 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
54 method-invocation-order.
55 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
56 (eieio-class-precedence-dfs): Compute class precedence list using
57 dfs algorithm.
58 (eieio-class-precedence-bfs): Compute class precedence list using
59 bfs algorithm.
60 (eieio-class-precedence-c3): Compute class precedence list using
61 c3 algorithm.
62 (class-precedence-list): New function.
63 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
64 (inconsistent-class-hierarchy): New error symbol.
65 (call-next-method): Stow the replacement argument list for future
66 call-next-method invocations.
67
68 2010-09-23 Glenn Morris <rgm@gnu.org>
69
70 * calendar/appt.el (appt-check): If not displaying the diary,
71 use (diary 1) to only get the entries we need.
72 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
73 that it is in day order. (Bug#7019)
74
75 * calendar/appt.el (appt-check): Rather than showing the diary,
76 just turn off invisible display, and only if needed.
77
78 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
79
80 2010-09-23 Glenn Morris <rgm@gnu.org>
81
82 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
83 (byte-compile-defvar, byte-compile-cl-warn):
84 Start warnings with lower-case, like the majority.
85
86 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
87
88 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
89
90 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
91 * files.el (auto-mode-alist): Move ld-script entries here, further down
92 the list.
93
94 * vc/add-log.el: Don't require timezone when compiling.
95 (timezone-make-date-sortable): Autoload it.
96 (change-log-sortable-date-at): Don't require timezone.
97 Use `ignore-errors'.
98
99 * comint.el (comint-use-prompt-regexp-instead-of-fields):
100 Move alias before definition, so it does not need autoloading.
101
102 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
103 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
104 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
105 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
106 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
107 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
108 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
109 * textmodes/tex-mode.el, textmodes/two-column.el:
110 Remove leading `*' from docs of defcustoms etc.
111
112 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
113
114 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
115
116 2010-09-22 Dan Christensen <jdc@uwo.ca>
117
118 * calendar/time-date.el (date-to-time): Try using parse-time-string
119 first before using the slower timezone-make-date-arpa-standard.
120
121 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
122
123 * calendar/time-date.el (format-seconds): Comment fix.
124
125 2010-09-22 Glenn Morris <rgm@gnu.org>
126
127 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
128 is not automatically buffer-local.
129
130 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
133 (smie-indent-comment): Be more careful with comment-start-skip.
134 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
135 (smie-indent-functions): Use them.
136
137 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
138
139 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
140
141 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
142
143 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
144 tool-bar-position. Don't modify frame parameters here.
145 (menu-bar-options-save): Add tool-bar-position.
146
147 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
148
149 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * textmodes/reftex-parse.el (reftex-what-macro)
152 (reftex-context-substring): Let-bind forward-sexp-function to nil
153 since we don't need/want to treat \begin...\end as a block (bug#7053).
154
155 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
156
157 * simple.el (blink-matching-open): Use syntax-class.
158
159 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
160 Set invisibility spec for pascal's outline mode.
161 (pascal-outline-change): Clean up calling convention.
162 (pascal-show-all, pascal-hide-other-defuns): Update callers.
163
164 * progmodes/prolog.el (prolog-smie-forward-token)
165 (prolog-smie-backward-token): New functions.
166 (prolog-mode-variables): Use them to parse "!," correctly.
167 Set up smie-blink-matching for ".".
168
169 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
170 and `end'.
171 (ispell-region, ispell-process-line): Update users.
172
173 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
174 point-min==1.
175
176 * textmodes/ispell.el: Fix commenting convention.
177 (ispell-parse-output): Simplify, use push.
178 (ispell-region): Use match-string-no-properties.
179 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
180 (ispell-minor-mode): Use define-minor-mode.
181 (ispell-message): Remove unused var `skip-regexp'.
182 (ispell-add-per-file-word-list): Use dynamic let-binding.
183 Try and use the proper comment marker.
184
185 * mail/sendmail.el: Fix commenting convention.
186 (sendmail-send-it): Use line-beginning-position.
187
188 * help-fns.el (describe-variable): Add original value, if applicable.
189
190 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
191
192 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
193
194 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
195
196 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
199 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
200 (smie-prec2-levels): Use them to better diagnose precedence cycles.
201 (smie-blink-matching-check): Don't signal a mismatch if car is t.
202 (smie-blink-matching-open): Rewrite to remove assumptions, so that
203 something like "." can also be a closer.
204 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
205 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
206 Rename internal functions to use "--". Update callers.
207
208 * frame.el (make-frame-names-alist): Don't list frames on other displays.
209
210 * fringe.el (fringe-styles): New var.
211 (fringe-mode, fringe-query-style): Use it.
212
213 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
214
215 * progmodes/sql.el: Version 2.8
216 (sql-login-params): Update widget structure; changes still needed.
217 (sql-product-alist): Add :list-all and :list-table features for
218 SQLite, Postgres and MySQL products.
219 (sql-redirect): Handle default value.
220 (sql-execute, sql-execute-feature): New functions.
221 (sql-read-table-name): New function.
222 (sql-list-all, sql-list-table): New functions. User API.
223 (sql-mode-map, sql-interactive-mode-map): Add key definitions
224 for above functions.
225 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
226 for above functions.
227 (sql-postgres-login-params): Add user and database defaults.
228 (sql-buffer-live-p): Bug fix.
229 (sql-product-history): New variable.
230 (sql-read-product): New function. Use it.
231 (sql-set-product, sql-product-interactive): Use it.
232 (sql-connection-history): New variable.
233 (sql-read-connection): New function. Use it.
234 (sql-connect): New function.
235 (sql-for-each-login): Redesign function interface.
236 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
237 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
238 (sql-comint): Check for program. Existing live buffer.
239 (sql-comint-postgres): Add port parameter.
240
241 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * emacs-lisp/warnings.el: Fix commenting convention.
244 (display-warning): Use special mode and make the buffer read-only.
245
246 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
247
248 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
249 empty string when it follows a repeated or optional pattern.
250
251 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * indent.el (indent-according-to-mode): Apply syntax-propertize.
254 (indent-region): Use indent-according-to-mode.
255
256 2010-09-18 Eli Zaretskii <eliz@gnu.org>
257
258 * fringe.el (fringe-mode): Doc fix.
259
260 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
261
262 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
263 refreshing the preview buffer.
264
265 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
268 (latex-syntax-propertize-rules): New consts; replace
269 tex-font-lock-syntactic-keywords.
270 (tex-env-mark, latex-env-before-change): New functions.
271 (latex-electric-env-pair-mode): New minor mode.
272 (tex-font-lock-verb): Change arguments; do move point.
273 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
274 representation as a form of comment.
275 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
276 (doctex-syntax-propertize-rules): New const; replaces
277 doctex-font-lock-syntactic-keywords.
278 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
279
280 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
281 (fortran-make-syntax-propertize-function): New function; replaces
282 fortran-font-lock-syntactic-keywords.
283 (fortran-mode): Use it.
284 (fortran-line-length): Use it. Improve interactive spec.
285
286 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
287 (syntax-propertize-rules): Add var-ref case. Fix offset computation
288 when adding surrounding \(..\).
289
290 * progmodes/js.el (js-mode): Fix last change (bug#7054).
291
292 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
295 Use with-current-buffer.
296
297 * isearch.el (isearch-face): Rename from `isearch'.
298 (isearch-highlight): Use new name.
299
300 2010-09-17 Eli Zaretskii <eliz@gnu.org>
301
302 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
303 5, for `half' width fringes. (Bug#6933)
304
305 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
308 (byte-compile-defvar): "foo/bar" does not lack a prefix.
309
310 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
311
312 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
313
314 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
315 in calculating new frame position. Add more space between new and
316 parent on the left (Bug#7048).
317
318 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
319
320 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
321 defmacro.
322
323 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
324
325 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
326
327 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
328 obsolete alias for x-selection-value.
329
330 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
331
332 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
333
334 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
335 cookie.
336
337 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
338
339 * net/tramp-compat.el (tramp-compat-with-temp-message)
340 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
341 (tramp-compat-process-put): New defuns.
342
343 * net/tramp.el (top):
344 * net/tramp-gvfs.el (top):
345 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
346
347 * net/tramp.el (tramp-progress-reporter-update):
348 Use `tramp-compat-funcall'.
349
350 * net/tramp.el (tramp-process-actions):
351 * net/tramp-gvfs.el (tramp-handle-vc-registered):
352 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
353 (tramp-get-remote-stat, tramp-get-remote-readlink):
354 Use `tramp-compat-with-temp-message'.
355
356 * net/tramp-sh.el (top): Require 'cl.
357 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
358 (tramp-open-connection-setup-interactive-shell):
359 Use `tramp-compat-process-put'.
360
361 2010-09-15 Alan Mackenzie <acm@muc.de>
362
363 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
364 indentation.
365 (c-forward-<>-arglist-recur): Fix an infinite recursion.
366
367 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
370 `lexical' for warnings related to lexical scoping.
371 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
372 global vars which don't have a prefix and could hence affect lexical
373 scoping in unrelated files.
374
375 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
376
377 * net/imap.el: Revert back to version
378 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
379 seem problematic.
380
381 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
382
383 * obsolete/old-whitespace.el (whitespace-unload-function):
384 Explicitly pass `obarray' to `unintern' to avoid a warning.
385
386 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
389 Add `when' argument. Update callers.
390
391 * subr.el (unintern): Declare the obarray arg mandatory.
392
393 2010-09-14 Glenn Morris <rgm@gnu.org>
394
395 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
396 Doc fixes.
397
398 * calendar/diary-lib.el (diary-included-files): New variable.
399 (diary-list-entries): Maybe initialize diary-included-files.
400 (diary-include-other-diary-files): Append to diary-included-files.
401 * calendar/appt.el (appt-update-list): Also check the members of
402 diary-included-files. (Bug#6999)
403 (appt-check): Doc fix.
404
405 2010-09-14 David Reitter <david.reitter@gmail.com>
406
407 * simple.el (line-move-visual): Do not truncate goal column to
408 integer size. (Bug#7020)
409
410 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * repeat.el (repeat): Allow repeating when the last event is a click.
413 Suggested by Drew Adams (bug#6256).
414
415 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
416
417 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
418 Replace setting HGRCPATH to "" by some less invasive --config options.
419
420 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * font-lock.el (font-lock-beginning-of-syntax-function):
423 Mark as obsolete.
424
425 2010-09-14 Glenn Morris <rgm@gnu.org>
426
427 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
428 and tool-bar modes. (Bug#6211)
429 (menu-bar-mode): Move setting of standard-value after the
430 minor-mode definition, otherwise it seems to have no effect.
431
432 2010-09-14 Masatake YAMATO <yamato@redhat.com>
433
434 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
435 Fix typo. (Bug#6976)
436
437 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
438
439 * whitespace.el: Allow cleaning up blanks without blank
440 visualization (Bug#6651). Adjust help window for
441 whitespace-toggle-options (Bug#6479). Allow to use fill-column
442 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
443 (whitespace-style): Add new value 'face. Adjust docstring.
444 (whitespace-space, whitespace-hspace, whitespace-tab):
445 Adjust foreground property face.
446 (whitespace-line-column): Adjust docstring and type declaration.
447 (whitespace-style-value-list, whitespace-toggle-option-alist)
448 (whitespace-help-text): Adjust const initialization.
449 (whitespace-toggle-options, global-whitespace-toggle-options):
450 Adjust docstring.
451 (whitespace-display-window, whitespace-interactive-char)
452 (whitespace-style-face-p, whitespace-color-on): Adjust code.
453 (whitespace-help-scroll): New fun.
454
455 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
456
457 * calendar/time-date.el (format-seconds): Comment fix.
458
459 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
460
461 * progmodes/sql.el: Version 2.7.
462 (sql-buffer-live-p): Improve detection.
463 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
464 (sql-set-sqli-buffer): Use it.
465 (sql-product-interactive): Run `sql-set-sqli-hook'.
466 (sql-rename-buffer): Code cleanup.
467 (sql-redirect, sql-redirect-value): New functions. More to come.
468
469 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
470
471 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.
472 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
473 (TRAMP_SRC): New macro.
474 ($(lisp)/net/tramp-loaddefs.el): New target.
475
476 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
477
478 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
479
480 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
481
482 * net/tramp.el (top): Don't show loading message. Require just
483 'tramp-compat, everything else is required there.
484 Use `ignore-errors' where appropriate.
485 (tramp-inline-compress-start-size, tramp-copy-size-limit)
486 (tramp-terminal-type, tramp-end-of-output)
487 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
488 (tramp-completion-function-alist-ssh)
489 (tramp-completion-function-alist-telnet)
490 (tramp-completion-function-alist-su)
491 (tramp-completion-function-alist-putty, tramp-remote-path)
492 (tramp-remote-process-environment, tramp-sh-extra-args)
493 (tramp-actions-before-shell, tramp-uudecode)
494 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
495 (tramp-perl-file-attributes)
496 (tramp-perl-directory-files-and-attributes)
497 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
498 (tramp-perl-encode, tramp-perl-decode)
499 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
500 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
501 (tramp-handle-make-symbolic-link, tramp-handle-load)
502 (tramp-handle-file-name-as-directory)
503 (tramp-handle-file-name-directory)
504 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
505 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
506 (tramp-do-file-attributes-with-ls)
507 (tramp-do-file-attributes-with-perl)
508 (tramp-do-file-attributes-with-stat)
509 (tramp-handle-set-visited-file-modtime)
510 (tramp-handle-verify-visited-file-modtime)
511 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
512 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
513 (tramp-handle-file-selinux-context)
514 (tramp-handle-set-file-selinux-context)
515 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
516 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
517 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
518 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
519 (tramp-handle-file-ownership-preserved-p)
520 (tramp-handle-directory-file-name, tramp-handle-directory-files)
521 (tramp-handle-directory-files-and-attributes)
522 (tramp-do-directory-files-and-attributes-with-perl)
523 (tramp-do-directory-files-and-attributes-with-stat)
524 (tramp-handle-file-name-all-completions)
525 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
526 (tramp-handle-copy-file, tramp-handle-copy-directory)
527 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
528 (tramp-do-copy-or-rename-file-via-buffer)
529 (tramp-do-copy-or-rename-file-directly)
530 (tramp-do-copy-or-rename-file-out-of-band)
531 (tramp-handle-make-directory, tramp-handle-delete-directory)
532 (tramp-handle-delete-file)
533 (tramp-handle-dired-recursive-delete-directory)
534 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
535 (tramp-handle-insert-directory)
536 (tramp-handle-unhandled-file-name-directory)
537 (tramp-handle-expand-file-name)
538 (tramp-handle-substitute-in-file-name)
539 (tramp-handle-executable-find, tramp-process-sentinel)
540 (tramp-handle-start-file-process, tramp-handle-process-file)
541 (tramp-handle-call-process-region, tramp-handle-shell-command)
542 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
543 (tramp-handle-insert-file-contents)
544 (tramp-handle-insert-file-contents-literally)
545 (tramp-handle-find-backup-file-name)
546 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
547 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
548 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
549 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
550 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
551 (tramp-find-file-exists-command, tramp-open-shell)
552 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
553 (tramp-open-connection-setup-interactive-shell)
554 (tramp-local-coding-commands, tramp-remote-coding-commands)
555 (tramp-find-inline-encoding, tramp-call-local-coding-command)
556 (tramp-inline-compress-commands, tramp-find-inline-compress)
557 (tramp-compute-multi-hops, tramp-maybe-open-connection)
558 (tramp-send-command, tramp-wait-for-output)
559 (tramp-send-command-and-check, tramp-barf-unless-okay)
560 (tramp-send-command-and-read, tramp-mode-string-to-int)
561 (tramp-convert-file-attributes, tramp-check-cached-permissions)
562 (tramp-file-mode-from-int, tramp-file-mode-permissions)
563 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
564 (tramp-method-out-of-band-p, tramp-local-host-p)
565 (tramp-get-remote-path, tramp-get-remote-tmpdir)
566 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
567 (tramp-get-test-command, tramp-get-test-nt-command)
568 (tramp-get-file-exists-command, tramp-get-remote-ln)
569 (tramp-get-remote-perl, tramp-get-remote-stat)
570 (tramp-get-remote-readlink, tramp-get-remote-trash)
571 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
572 (tramp-get-local-uid, tramp-get-local-gid)
573 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
574 tramp-sh.el.
575 (tramp-methods, tramp-default-method-alist)
576 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
577 Move initialization to tramp-sh.el.
578 (tramp-temp-name-prefix): Make it a defconst.
579 (tramp-dissect-file-name): Don't check anymore for multi-hop
580 methods.
581 (tramp-debug-outline-regexp): Add a docstring.
582 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
583 (tramp-get-debug-buffer): Use it.
584
585 * net/tramp-cache.el (top): Set tramp-autoload cookie for
586 initialization forms.
587 (tramp-set-connection-property): Don't protect `tramp-message'
588 call, it isn't necessary any longer.
589 (tramp-dump-connection-properties): Use `ignore-errors'.
590
591 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
592 'password-cache and 'auth-source.
593
594 * net/tramp-gvfs.el (top):
595 * net/tramp-smb.el (top): Require 'tramp-sh.
596
597 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
598
599 * net/tramp-sh.el: New file, derived from tramp.el.
600 (top): Initialize `tramp-methods', `tramp-default-method-alist',
601 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
602 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
603 Use `ignore-errors' where appropriate.
604 (tramp-sh-file-name-handler-alist): Rename from
605 `tramp-file-name-handler-alist'.
606 (tramp-send-command-and-check): Return t or nil. Remove all
607 `zerop' checks, where called.
608 (tramp-handle-set-file-modes)
609 (tramp-do-copy-or-rename-file-directly)
610 (tramp-handle-delete-directory, tramp-handle-delete-file)
611 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
612 (tramp-sh-file-name-handler, tramp-send-command-and-check)
613 (tramp-get-remote-ln): Set tramp-autoload cookie.
614
615 * net/tramp-fish.el: Remove file.
616
617 2010-09-13 Daiki Ueno <ueno@unixuser.org>
618
619 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
620 buffer-file-name to avoid file-locking. (Bug#7026)
621
622 2010-09-13 Julien Danjou <julien@danjou.info>
623
624 * notifications.el (notifications-notify): Add support for
625 image-path and sound-name.
626 (notifications-specification-version): Add this variable.
627
628 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
631
632 2010-09-12 Leo <sdl.web@gmail.com>
633
634 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
635 (rcirc-completion-start): New variables.
636 (rcirc-nick-completions): Rename to rcirc-completions.
637 (rcirc-nick-completion-start-offset): Delete.
638 (rcirc-completion-at-point): New function for constructing
639 completion data for both nicks and irc commands. Add to
640 completion-at-point-functions in rcirc mode.
641 (rcirc-complete): Rename from rcirc-nick-complete; use
642 rcirc-completion-at-point.
643 (defun-rcirc-command): Update rcirc-client-commands.
644
645 2010-09-11 Glenn Morris <rgm@gnu.org>
646
647 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
648 atomically, to avoid parallel build errors. (Bug#4196)
649
650 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
651
652 * progmodes/sql.el: Version 2.6
653 (sql-dialect): Synonym for "sql-product".
654 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
655 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
656 Set "sql-buffer" to buffer name not buffer object so multiple sql
657 interactive buffers work properly. Reverts misguided changes in
658 earlier work.
659 (sql-comint): Make sure different buffer name is used if "*SQL*"
660 buffer is for a different product.
661 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
662 login param.
663 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
664 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
665 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
666 Accept new buffer name or prompt for one.
667 (sql-port): Default to zero.
668 (sql-comint-mysql): Handle "sql-port" as a numeric.
669 (sql-port-history): Delete unused variable.
670 (sql-get-login): Default "sql-port" to a number.
671 (sql-product-alist): Correct Postgres prompt and terminator regexp.
672 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
673 "sqlite3" executables.
674 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
675 (sql-buffer-live-p): New function.
676 (sql-mode-menu, sql-send-string): Use it.
677 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
678 syntax pattern.
679 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
680 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
681
682 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
683
684 * net/netrc.el (netrc-credentials): New convenience function.
685
686 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
689 to replace texinfo-font-lock-syntactic-keywords.
690 (texinfo-mode): Use it.
691
692 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
693 Use syntax-propertize-function.
694
695 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
696 replace sgml-font-lock-syntactic-keywords.
697 (sgml-mode): Use it.
698
699 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
700 since we don't use it.
701
702 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
703
704 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
705 if available.
706 (vhdl-fontify-buffer): Adjust.
707
708 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
709 replace tcl-font-lock-syntactic-keywords.
710 (tcl-mode): Use it.
711
712 * progmodes/simula.el (simula-syntax-propertize-function): New var to
713 replace simula-font-lock-syntactic-keywords.
714 (simula-mode): Use it.
715
716 * progmodes/sh-script.el (sh-st-symbol): Remove.
717 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
718 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
719 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
720 (sh-font-lock-paren): Set syntax-multiline.
721 (sh-font-lock-syntactic-keywords): Remove.
722 (sh-syntax-propertize-function): New function to replace it.
723 (sh-mode): Use it.
724
725 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
726 Define while compiling.
727 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
728 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
729 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
730 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
731 (ruby-here-doc-end-syntax): Only define when
732 syntax-propertize is not available.
733 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
734 New functions.
735 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
736 (electric-indent-chars): Silence bytecompiler.
737 (ruby-mode): Use prog-mode, syntax-propertize-function, and
738 electric-indent-chars.
739
740 * progmodes/python.el (python-syntax-propertize-function): New var to
741 replace python-font-lock-syntactic-keywords.
742 (python-mode): Use it.
743 (python-quote-syntax): Simplify and adjust to new use.
744
745 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
746 replace perl-font-lock-syntactic-keywords.
747 (perl-syntax-propertize-special-constructs): New fun to replace
748 perl-font-lock-special-syntactic-constructs.
749 (perl-font-lock-syntactic-face-function): New fun.
750 (perl-mode): Use it.
751
752 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
753 to replace octave-font-lock-close-quotes.
754 (octave-syntax-propertize-function): New function to replace
755 octave-font-lock-syntactic-keywords.
756 (octave-mode): Use it.
757
758 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
759 replaces mixal-font-lock-syntactic-keywords.
760 (mixal-mode): Use it.
761
762 * progmodes/make-mode.el (makefile-syntax-propertize-function):
763 New var; replaces makefile-font-lock-syntactic-keywords.
764 (makefile-mode): Use it.
765 (makefile-imake-mode): Adjust.
766
767 * progmodes/js.el (js--regexp-literal): Define while compiling.
768 (js-syntax-propertize-function): New var; replaces
769 js-font-lock-syntactic-keywords.
770 (js-mode): Use it.
771
772 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
773 replaces gdb-script-font-lock-syntactic-keywords.
774 (gdb-script-mode): Use it.
775
776 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
777 (fortran--font-lock-syntactic-keywords): New var.
778 (fortran-line-length): Update syntax-propertize-function and
779 fortran--font-lock-syntactic-keywords.
780
781 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
782
783 * progmodes/cfengine.el (cfengine-mode):
784 Use syntax-propertize-function.
785 (cfengine-font-lock-syntactic-keywords): Remove.
786
787 * progmodes/autoconf.el (autoconf-mode):
788 Use syntax-propertize-function.
789 (autoconf-font-lock-syntactic-keywords): Remove.
790
791 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
792 (ada-after-change-function, ada-initialize-syntax-table-properties)
793 (ada-handle-syntax-table-properties): Only define when
794 syntax-propertize is not available.
795 (ada-mode): Use syntax-propertize-function.
796
797 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
798 (font-lock-fontify-syntactic-keywords-region): Move handling of
799 font-lock-syntactically-fontified to...
800 (font-lock-default-fontify-region): ...here.
801 Let syntax-propertize-function take precedence.
802 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
803
804 * emacs-lisp/syntax.el (syntax-propertize-function)
805 (syntax-propertize-chunk-size, syntax-propertize--done)
806 (syntax-propertize-extend-region-functions): New vars.
807 (syntax-propertize-wholelines, syntax-propertize-multiline)
808 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
809 (syntax-propertize): New functions.
810 (syntax-propertize-rules): New macro.
811 (syntax-ppss-flush-cache): Set syntax-propertize--done.
812 (syntax-ppss): Call syntax-propertize.
813
814 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
815
816 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
817
818 * textmodes/ispell.el (ispell-init-process): Improve comments.
819 XEmacs compatibility changes regarding (add-hook) 'local option
820 and (set-process-query-on-exit-flag).
821
822 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
823
824 * net/tramp-cache.el (tramp-parse-connection-properties):
825 Set tramp-autoload cookie.
826
827 2010-09-09 Glenn Morris <rgm@gnu.org>
828
829 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
830 (imagemagick-register-types): Doc fix.
831
832 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
835
836 * progmodes/js.el (require): Require is already "eval-and-compile".
837 (js--re-search-forward): Avoid `eval'. Preserve the error data.
838 (js--re-search-backward): Use js--re-search-forward.
839
840 * progmodes/fortran.el (fortran-line-length): Don't recompute
841 syntactic keywords redundantly a second time.
842
843 * progmodes/ada-mode.el: Replace "(set '" with setq.
844 (ada-mode): Simplify.
845 (ada-create-case-exception, ada-adjust-case-interactive)
846 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
847 (ada-search-ignore-string-comment, ada-move-to-start)
848 (ada-move-to-end): Use with-syntax-table.
849
850 * font-lock.el (save-buffer-state): Remove `varlist' arg.
851 (font-lock-unfontify-region, font-lock-default-fontify-region):
852 Update usage correspondingly.
853 (font-lock-fontify-syntactic-keywords-region):
854 Set parse-sexp-lookup-properties buffer-locally here.
855 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
856
857 * simple.el (blink-matching-open): Don't burp if we can't find a match.
858
859 2010-09-08 Glenn Morris <rgm@gnu.org>
860
861 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
862 Error if not compiled with -DBYTE_CODE_METER.
863
864 * emacs-lisp/bytecomp.el (byte-recompile-directory):
865 Ignore dir-locals-file.
866
867 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
870 Not a const.
871 (compilation-error-regexp-alist-alist): Rule out ": " in file names
872 for the `gnu' messages.
873 (compilation-set-skip-threshold): New command.
874 (compilation-start): Use \' rather than $.
875 (compilation-forget-errors): Use clrhash.
876
877 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
878
879 * textmodes/ispell.el (ispell-valid-dictionary-list):
880 Simplify logic.
881
882 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
883
884 Migrate to Tramp 2.2. Rearrange load dependencies.
885 (Bug#1529, Bug#5448, Bug#5705)
886
887 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
888 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
889 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
890
891 * net/tramp.el (top): Remove all other tramp-* loads except
892 tramp-compat.el. Remove all changes to tramp-unload-hook for
893 other tramp-* packages. Rearrange defun order. Change calls of
894 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
895 `tramp-compat-octal-to-decimal' to new function names.
896 (tramp-terminal-type, tramp-initial-end-of-output)
897 (tramp-methods, tramp-foreign-file-name-handler-alist)
898 (tramp-tramp-file-p, tramp-completion-mode-p)
899 (tramp-send-command-and-check, tramp-get-remote-path)
900 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
901 (tramp-shell-quote-argument): Set tramp-autoload cookie.
902 (with-file-property, with-connection-property): Move to
903 tramp-cache.el.
904 (tramp-local-call-process, tramp-decimal-to-octal)
905 (tramp-octal-to-decimal): Move to tramp-compat.el.
906 (tramp-handle-shell-command): Do not require 'shell.
907 (tramp-compute-multi-hops): No special handling for tramp-gw-*
908 symbols.
909 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
910
911 * net/tramp-cache.el (top): Require 'tramp. Add to
912 `tramp-unload-hook'.
913 (tramp-cache-data, tramp-get-file-property)
914 (tramp-set-file-property, tramp-flush-file-property)
915 (tramp-flush-directory-property, tramp-get-connection-property)
916 (tramp-set-connection-property, tramp-flush-connection-property)
917 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
918 cookie.
919 (with-file-property, with-connection-property): New defuns, moved
920 from tramp.el.
921 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
922 macro.
923
924 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
925 (tramp-version): Set tramp-autoload cookie.
926
927 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
928 changes to tramp-unload-hook for other tramp-* packages. Add to
929 `tramp-unload-hook'.
930 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
931 (tramp-compat-call-process): New defuns, moved from tramp.el.
932
933 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
934 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
935 to `tramp-unload-hook'. Change call of
936 `tramp-compat-decimal-to-octal' to new function name.
937 (tramp-fish-method): Make it a defconst.
938 (tramp-fish-file-name-p): Make it a defsubst.
939 (tramp-fish-method, tramp-fish-file-name-handler)
940 (tramp-fish-file-name-p): Set tramp-autoload cookie.
941
942 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
943 `tramp-foreign-file-name-handler-alist'. Add to
944 `tramp-unload-hook'.
945 (tramp-ftp-method): Make it a defconst.
946 (tramp-ftp-file-name-p): Make it a defsubst.
947 (tramp-ftp-method, tramp-ftp-file-name-handler)
948 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
949
950 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
951 `tramp-foreign-file-name-handler-alist'. Add to
952 `tramp-unload-hook'. Change checks, whether package can be
953 loaded.
954 (tramp-gvfs-file-name-p): Make it a defsubst.
955 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
956 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
957 (tramp-gvfs-handle-file-directory-p): New defun.
958 (tramp-gvfs-file-name-handler-alist): Use it.
959
960 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
961 `tramp-foreign-file-name-handler-alist'. Add to
962 `tramp-unload-hook'.
963 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
964 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
965 defconst.
966 (tramp-gw-tunnel-method, tramp-gw-socks-method)
967 (tramp-gw-open-connection): Set tramp-autoload cookie.
968
969 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
970 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
971 to `tramp-unload-hook'. Change checks, whether package can be
972 loaded.
973 (tramp-imap-file-name-p): Make it a defsubst.
974 (tramp-imap-method, tramp-imaps-method)
975 (tramp-imap-file-name-handler)
976 (tramp-imap-file-name-p): Set tramp-autoload cookie.
977
978 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
979 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
980 to `tramp-unload-hook'. Change checks, whether package can be
981 loaded. Change call of `tramp-compat-decimal-to-octal' to new
982 function name.
983 (tramp-smb-tunnel-method): Make it a defconst.
984 (tramp-smb-file-name-p): Make it a defsubst.
985 (tramp-smb-method, tramp-smb-file-name-handler)
986 (tramp-smb-file-name-p): Set tramp-autoload cookie.
987
988 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
989 (tramp-uuencode-region): Set tramp-autoload cookie.
990
991 * net/trampver.el (top) Add to `tramp-unload-hook'.
992 (tramp-version, tramp-bug-report-address): Set tramp-autoload
993 cookie. Update release number.
994
995 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
996
997 * textmodes/ispell.el (ispell-start-process): Make sure original
998 arg list is properly initialized (Bug#6993, Bug#6994).
999
1000 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1001
1002 * files.el (directory-abbrev-alist): Use \` as default regexp.
1003
1004 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1005 chars like - or ] (bug#6984).
1006 (rx-any-condense-range): Explode 2-char ranges.
1007
1008 2010-09-06 Glenn Morris <rgm@gnu.org>
1009
1010 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1011
1012 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * textmodes/bibtex.el:
1015 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1016
1017 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1018
1019 * net/imap.el (imap-message-map): Remove optional buffer parameter,
1020 since no callers use it.
1021 (imap-message-get): Ditto.
1022 (imap-message-put): Ditto.
1023 (imap-mailbox-map): Ditto.
1024 (imap-mailbox-put): Ditto.
1025 (imap-mailbox-get): Ditto.
1026 (imap-mailbox-get): Revert last change for this function.
1027
1028 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1029
1030 * net/imap.el (imap-fetch-safe): Remove function, and alter all
1031 callers to use `imap-fetch' instead. According to the comments, this
1032 should be safe, since all other IMAP clients use the 1:* syntax.
1033 (imap-enable-exchange-bug-workaround): Remove.
1034 (imap-debug): Remove -- doesn't seem very useful.
1035
1036 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1037
1038 * net/imap.el (imap-log): New convenience function used throughout
1039 instead of repeating the same code all over the place.
1040
1041 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
1042
1043 * mouse.el (mouse-save-then-kill): Save region to kill-ring
1044 when mouse-drag-copy-region is non-nil (Bug#6956).
1045
1046 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
1047
1048 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
1049 Improve regexps (Bug#6987).
1050 (dired-sort-toggle): Search more robustly for -t flag.
1051
1052 * files.el (get-free-disk-space): Search more robustly for
1053 "available" column. Suggested by Ehud Karni
1054 <ehud@unix.mvs.co.il>.
1055
1056 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
1057
1058 * international/uni-bidi.el:
1059 * international/uni-category.el:
1060 * international/uni-combining.el:
1061 * international/uni-decimal.el:
1062 * international/uni-mirrored.el:
1063 * international/uni-name.el: Regenerate.
1064
1065 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * electric.el (electric-indent-post-self-insert-function):
1068 Don't reindent with a sloppy indentation function.
1069
1070 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
1071 border case in change-log-mode.
1072
1073 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
1074
1075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1076 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
1077 Recognize leading tab in gcc-include regexp. Ignore names with
1078 leading "from" or "in" in gnu regexp (Bug#6937).
1079
1080 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1083 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
1084 (ispell-start-process): Avoid setq and simplify logic.
1085 (ispell-init-process): Setup kill-buffer-hook locally when needed.
1086 (kill-buffer-hook): Don't use it globally with code that uses
1087 expand-file-name since that may call kill-buffer via
1088 code_conversion_restore.
1089
1090 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
1091
1092 * emacs-lisp/package.el (package-directory-list): Only call
1093 file-name-nondirectory on a string.
1094
1095 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
1096
1097 * emacs-lisp/package.el (package--download-one-archive):
1098 Ensure that archive-contents is valid before saving it.
1099 (package-activate-1, package-mark-obsolete, define-package)
1100 (package-compute-transaction, package-list-maybe-add): Use push.
1101
1102 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 Use SMIE's blink-paren for octave-mode.
1105 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
1106 Backslashes do not escape single-quotes, single-quotes do.
1107 (octave-block-else-regexp, octave-block-end-regexp)
1108 (octave-block-match-alist): Remove.
1109 (octave-smie-bnf-table): New var, with old content.
1110 (octave-smie-op-levels): Use it.
1111 (octave-smie-closer-alist): New var.
1112 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
1113 (octave-blink-matching-block-open): Remove.
1114 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1115 (octave-electric-space): Let self-insert-command run expand-abbrev and
1116 blink parens.
1117
1118 * electric.el (electricity): New group.
1119 (electric-indent-chars): New var.
1120 (electric-indent-post-self-insert-function): New fun.
1121 (electric-indent-mode): New minor mode.
1122 (electric-pair-skip-self): New custom.
1123 (electric-pair-post-self-insert-function): New function.
1124 (electric-pair-mode): New minor mode.
1125
1126 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
1127 calcAlg-blink-matching-open.
1128 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
1129 (calc-do-alg-entry): Only touch the part of the keymap that varies.
1130 Use the new blink-matching-check-function.
1131
1132 Provide blink-matching support to SMIE.
1133 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
1134 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
1135 (smie-blink-matching-check, smie-blink-matching-open): New functions.
1136
1137 * simple.el (newline): Fix last change to properly remove itself from
1138 the hook.
1139
1140 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * simple.el (newline): Eliminate optimization.
1143 Use post-self-insert-hook to set hard-newline and things before
1144 running post-self-insert-hook.
1145 (blink-matching-check-mismatch): New function.
1146 (blink-matching-check-function): New variable.
1147 (blink-matching-open): Use them.
1148 Skip back forward over prefix chars skipped by forward-sexp.
1149 Don't check if the parens are backslash escaped.
1150 (blink-paren-post-self-insert-function): Check backslash escaping here.
1151
1152 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
1153
1154 * emacs-lisp/package.el (package-menu-mode-map):
1155 Change package-menu-revert bindings to revert-buffer.
1156 (package-menu-mode): Set revert-buffer-function.
1157 (package-menu-revert): Doc fix.
1158
1159 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
1160
1161 * textmodes/ispell.el (ispell-init-process): Use "~/" as
1162 `default-directory' unless using Ispell per-directory personal
1163 dictionaries and not in a mini-buffer under XEmacs.
1164 (kill-buffer-hook): Do not kill ispell process on exit when
1165 `ispell-process-directory' is "~/". (Bug#6143)
1166
1167 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
1168
1169 * simple.el (kill-new): Call interprogram-cut-function with only
1170 one argument.
1171
1172 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
1173 Remove cut buffer from error message.
1174
1175 * term/x-win.el (x-select-text):
1176 * term/pc-win.el (x-selection-value):
1177 * term/ns-win.el (x-selection-value):
1178 * eshell/em-term.el:
1179 * w32-fns.el (x-get-selection-value):
1180 * mouse-sel.el (mouse-sel-set-selection-function):
1181 * frame.el (display-selections-p): Remove cut-buffer in documentation.
1182
1183 * term/x-win.el: Update documentation for x-last-selected-text-*.
1184 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
1185 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
1186 (x-select-text): Remove argument PUSH, update documentation. Remove
1187 cut-buffer code.
1188 (x-selection-value-internal): Was previously x-selection-value.
1189 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
1190 Update documentation, remove cut-buffer code. Call
1191 x-selection-value-internal.
1192 (x-clipboard-yank): Call x-selection-value-internal.
1193 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
1194
1195 * term/pc-win.el (x-last-selected-text):
1196 x-cut-buffer-or-selection-value renamed to x-selection-value
1197 (x-select-text): Remove argument PUSH, update documentation.
1198
1199 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
1200 x-cut-buffer-or-selection-value renamed to x-selection-value
1201 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
1202 (x-select-text): Remove argument PUSH, update documentation.
1203
1204 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
1205
1206 * w32-fns.el (x-last-selected-text):
1207 x-cut-buffer-or-selection-value renamed to x-selection-value.
1208 (x-cut-buffer-max): Remove.
1209 (x-select-text): Remove argument PUSH, update documentation.
1210
1211 * simple.el (interprogram-cut-function): Remove mention of PUSH.
1212
1213 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
1214
1215 * mouse-sel.el (mouse-sel-get-selection-function):
1216 x-cut-buffer-or-selection-value renamed to x-selection-value.
1217 (x-select-text): Remove optional push.
1218
1219 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * simple.el (blink-paren-function): Move from C to here.
1222 (blink-paren-post-self-insert-function): New function.
1223 (post-self-insert-hook): Use it.
1224
1225 * emacs-lisp/pcase.el (pcase-split-memq):
1226 Fix overenthusiastic optimisation.
1227 (pcase-u1): Handle the case of a lambda pred.
1228
1229 2010-08-31 Kenichi Handa <handa@m17n.org>
1230
1231 * international/mule-cmds.el (standard-display-european-internal):
1232 Setup standard-display-table for 8-bit characters by storing 8-bit
1233 characters in the element vector.
1234
1235 * disp-table.el (standard-display-8bit): Setup
1236 standard-display-table for 8-bit characters by storing 8-bit
1237 characters in the element vector.
1238 (standard-display-european): Likewise.
1239
1240 2010-08-31 Masatake YAMATO <yamato@redhat.com>
1241
1242 * textmodes/nroff-mode.el (nroff-view): New command.
1243 (nroff-mode-map): Bind it to C-c C-c.
1244
1245 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1246
1247 * emacs-lisp/smie.el (smie-down-list): New command.
1248
1249 Remove old indentation and navigation code on octave-mode.
1250 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
1251 smie-down-list rather than add a binding for octave-down-block.
1252 (octave-mark-block, octave-blink-matching-block-open):
1253 Rely on forward-sexp-function.
1254 (octave-fill-paragraph): Don't narrow, so you can use
1255 indent-according-to-mode.
1256 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
1257 (octave-in-block-p, octave-re-search-forward-kw)
1258 (octave-re-search-backward-kw, octave-indent-calculate)
1259 (octave-end-as-array-index-p, octave-block-end-offset)
1260 (octave-scan-blocks, octave-forward-block, octave-backward-block)
1261 (octave-down-block, octave-backward-up-block, octave-up-block)
1262 (octave-before-magic-comment-p, octave-indent-line): Remove.
1263
1264 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
1265
1266 * emacs-lisp/package.el (package--read-archive-file): Just use
1267 `read', to avoid copying an additional string.
1268 (package-menu-mode): Set header-line-format here.
1269 (package-menu-refresh, package-menu-revert): Signal an error if
1270 not in the Package Menu.
1271 (package-menu-package-list): New var.
1272 (package--generate-package-list): Operate on the current buffer;
1273 don't assume that it is *Packages*, since the user may rename it.
1274 Allow persistent package listings and sort keys using
1275 package-menu-package-list and package-menu-package-sort-key.
1276 (package-menu--version-predicate): Fix version calculation.
1277 (package-menu-sort-by-column): Don't select the window.
1278 (package--list-packages): Create the *Packages* buffer.
1279 Set package-menu-package-list-key.
1280 (list-packages): Sorting by status is now the default.
1281 (package-buffer-info): Use match-string-no-properties.
1282 (define-package): Add a &rest argument for future proofing, but
1283 don't use it yet.
1284 (package-install-from-buffer, package-install-buffer-internal):
1285 Merge into a single function, package-install-from-buffer.
1286 (package-install-file): Change caller.
1287
1288 * finder.el: Load finder-inf using `require'.
1289 (finder-list-matches): Sorting by status is now the default.
1290 (finder-compile-keywords): Simpify printing.
1291
1292 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1295 (octave-mode-map): Remove special bindings for forward/backward-block
1296 and octave-backward-up-block. Use smie-close-block.
1297 (octave-continuation-marker-regexp): New var.
1298 (octave-continuation-regexp): Use it.
1299 (octave-operator-table, octave-smie-op-levels)
1300 (octave-operator-regexp, octave-smie-indent-rules): New vars.
1301 (octave-smie-backward-token, octave-smie-forward-token): New funs.
1302 (octave-mode): Use SMIE.
1303 (octave-close-block): Delete.
1304
1305 2010-08-30 Eli Zaretskii <eliz@gnu.org>
1306
1307 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
1308 CLIPBOARD, not in PRIMARY. (Bug#6944)
1309
1310 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
1313 a list of parents.
1314 (smie-indent-column): Allow indirection through variables.
1315
1316 * composite.el (save-buffer-state): Delete, unused.
1317 * font-lock.el (save-buffer-state): Use with-silent-modifications.
1318 (font-lock-default-fontify-region): Use with-syntax-table.
1319 * jit-lock.el (with-buffer-unmodified): Remove.
1320 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
1321
1322 Use `declare' in defmacros.
1323 * window.el (save-selected-window):
1324 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
1325 * progmodes/python.el (def-python-skeleton):
1326 * net/dbus.el (dbus-ignore-errors):
1327 * jka-cmpr-hook.el (with-auto-compression-mode):
1328 * international/mule.el (with-category-table):
1329 * emacs-lisp/timer.el (with-timeout):
1330 * emacs-lisp/lisp-mnt.el (lm-with-file):
1331 * emacs-lisp/eieio.el (with-slots):
1332 * emacs-lisp/easymenu.el (easy-menu-define):
1333 * emacs-lisp/debug.el (debugger-env-macro):
1334 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
1335 (Multiple-value-call, Multiple-value-prog1):
1336 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
1337 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
1338 edebug rule to definition.
1339 * emacs-lisp/lisp-mode.el (save-selected-window)
1340 (with-current-buffer, combine-after-change-calls)
1341 (with-output-to-string, with-temp-file, with-temp-buffer)
1342 (with-temp-message, with-syntax-table, read-if, eval-after-load)
1343 (dolist, dotimes, when, unless):
1344 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
1345
1346 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
1347
1348 * finder.el: Require `package'.
1349 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
1350 (finder-package-info): Var deleted.
1351 (finder-keywords-hash, finder--builtins-alist): New vars.
1352 (finder-compile-keywords): Compute package--builtins and
1353 finder-keywords-hash instead of finder-keywords-hash, respecting
1354 the "Package" header.
1355 (finder-unknown-keywords, finder-list-matches):
1356 Use finder-keywords-hash and package--list-packages.
1357 (finder-mode): Don't set font-lock-defaults.
1358 (finder-exit): We don't use "*Finder-package*" and "*Finder
1359 Category*" buffers anymore.
1360
1361 * emacs-lisp/package.el (package--builtins-base): Var deleted.
1362 (package--builtins): Set default value to nil.
1363 (package-initialize): Load precomputed value of package--builtins
1364 from finder-inf.el.
1365 (package-alist, package-compute-transaction)
1366 (package-download-transaction): Improve docstring.
1367 (package-read-all-archive-contents): Do not change
1368 package--builtins here.
1369 (list-packages): Make package-list-packages an alias for this.
1370 Sort by status by default.
1371 (package--list-packages): Add optional PACKAGES arg.
1372 (describe-package-1): Use font-lock-face property. For built-in
1373 packages, insert file commentary.
1374 (package--generate-package-list): Rename from
1375 package-list-packages-internal; all callers changed. Add optional
1376 PACKAGES arg. Add alphabetical sort fallbacks.
1377 (package-menu--version-predicate, package-menu--status-predicate)
1378 (package-menu--description-predicate)
1379 (package-menu--name-predicate): New functions.
1380
1381 * info.el (Info-finder-find-node): Search package-alist instead of
1382 finder-package-info.
1383
1384 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
1385
1386 * subr.el (version-regexp-alist): Don't use "a" and "b" for
1387 "alpha" and "beta".
1388 (version-to-list): Handle versions like "10.3d".
1389
1390 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1391
1392 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
1393 (macroexp-accumulate): Use `declare'.
1394
1395 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1396
1397 * whitespace.el (whitespace-style): Adjust type declaration.
1398
1399 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
1400
1401 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
1402 empty argument to gvfs-copy.
1403
1404 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1405
1406 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
1407 handle new TRASH arg of `delete-file'.
1408
1409 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
1410
1411 * net/tramp.el (tramp-handle-insert-directory): Don't use
1412 `forward-word', its default syntax could be changed.
1413
1414 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1415 Michael Albinus <michael.albinus@gmx.de>
1416
1417 Implement compression for inline methods.
1418
1419 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
1420 (tramp-copy-size-limit): Allow also nil.
1421 (tramp-inline-compress-commands): New defconst.
1422 (tramp-find-inline-compress, tramp-get-inline-compress)
1423 (tramp-get-inline-coding): New defuns.
1424 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
1425 replaced by `tramp-get-inline-coding'.
1426 (tramp-handle-file-local-copy, tramp-handle-write-region)
1427 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
1428
1429 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
1430
1431 Detect ssh 'ControlMaster' argument automatically in some cases.
1432
1433 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
1434 (tramp-default-method): Use it.
1435
1436 2010-08-26 Karel Klíč <kklic@redhat.com>
1437
1438 * net/tramp.el (tramp-file-name-for-operation):
1439 Add file-selinux-context.
1440
1441 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
1442
1443 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
1444
1445 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1446
1447 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
1448 (Bug#6907).
1449
1450 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
1451
1452 * progmodes/js.el: Make indentation more customizable (Bug#6914).
1453 (js-paren-indent-offset, js-square-indent-offset)
1454 (js-curly-indent-offset): New options.
1455 (js--proper-indentation): Use them.
1456
1457 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
1458
1459 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
1460 instead of inspecting font-lock properties (Bug#6916).
1461
1462 2010-08-26 David Reitter <david.reitter@gmail.com>
1463
1464 * server.el (server-visit-files): Run pre-command-hook and
1465 post-command-hook for each buffer while it is current
1466 (Bug#6910).
1467 (server-execute): Do not run hooks here.
1468
1469 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
1470
1471 Sync with Tramp 2.1.19.
1472
1473 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1474 (tramp-reporter-dump-variable, tramp-load-report-modules)
1475 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
1476 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
1477
1478 * net/tramp-compat.el (top): Do not autoload
1479 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
1480 only when `start-file-process' is not bound.
1481 (byte-compile-not-obsolete-vars): Define if not bound.
1482 (tramp-compat-funcall): New defmacro.
1483 (tramp-compat-line-beginning-position)
1484 (tramp-compat-line-end-position)
1485 (tramp-compat-temporary-file-directory)
1486 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
1487 (tramp-compat-copy-file, tramp-compat-copy-directory)
1488 (tramp-compat-delete-file, tramp-compat-delete-directory)
1489 (tramp-compat-number-sequence, tramp-compat-process-running-p):
1490 Use it.
1491 (tramp-advice-file-expand-wildcards): Do not use
1492 `tramp-handle-file-remote-p'.
1493 (tramp-compat-make-temp-file): Simplify fallback implementation.
1494 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1495 (tramp-compat-copy-tree): Remove function.
1496 (tramp-compat-delete-file): New defun.
1497 (tramp-compat-delete-directory): Provide implementation for older
1498 Emacsen.
1499 (tramp-compat-file-attributes): Handle only
1500 `wrong-number-of-arguments' error.
1501
1502 * net/tramp-fish.el (tramp-fish-handle-copy-file): Add
1503 PRESERVE_SELINUX_CONTEXT.
1504 (tramp-fish-handle-delete-file): Add TRASH arg.
1505 (tramp-fish-handle-directory-files-and-attributes):
1506 Do not use `tramp-fish-handle-file-attributes.
1507 (tramp-fish-handle-file-local-copy)
1508 (tramp-fish-handle-insert-file-contents)
1509 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
1510
1511 * net/tramp-gvfs.el (top): Require url-util.
1512 (tramp-gvfs-mount-point): Remove.
1513 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
1514 and `set-file-selinux-context'.
1515 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
1516 (tramp-gvfs-handle-file-selinux-context)
1517 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
1518 (with-tramp-dbus-call-method): Format trace message.
1519 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
1520 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
1521 Implement backup call, when operation on local files fails. Use
1522 progress reporter. Flush properties of changed files.
1523 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
1524 `tramp-compat-delete-file'.
1525 (tramp-gvfs-handle-expand-file-name): Expand "~/".
1526 (tramp-gvfs-handle-make-directory): Make more traces.
1527 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
1528 (tramp-gvfs-url-file-name): Hexify file name in url.
1529 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
1530 into account for the resulting file name.
1531 (tramp-gvfs-handler-askquestion): Preserve current message, in
1532 order to let progress reporter continue afterwards. (Bug#6257)
1533 Return dummy mountpoint, when the answer is "no". See
1534 `tramp-gvfs-maybe-open-connection'.
1535 (tramp-gvfs-handler-mounted-unmounted)
1536 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
1537 attribute "default_location". Set "prefix" property. Handle
1538 default-location.
1539 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
1540 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
1541 exists. Raise an error, if not (due to a corresponding answer
1542 "no" in interactive questions, for example).
1543 Use `tramp-compat-funcall'.
1544
1545 * net/tramp-imap.el (top): Autoload `epg-make-context'.
1546 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1547 (tramp-imap-do-copy-or-rename-file)
1548 (tramp-imap-handle-insert-file-contents)
1549 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
1550 (tramp-imap-handle-delete-file): Add TRASH arg.
1551
1552 * net/tramp-smb.el (tramp-smb-handle-copy-file): Add
1553 PRESERVE-SELINUX-CONTEXT.
1554 (tramp-smb-handle-copy-file)
1555 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
1556 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
1557 Use `with-progress-reporter'.
1558 (tramp-smb-handle-delete-file): Add TRASH arg.
1559
1560 * net/tramp.el (tramp-methods): Move hostname to the end in all
1561 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
1562 appropriate.
1563 (tramp-verbose): Describe verbose level 9.
1564 (tramp-completion-function-alist)
1565 (tramp-file-name-regexp, tramp-chunksize)
1566 (tramp-local-coding-commands, tramp-remote-coding-commands)
1567 (with-connection-property, tramp-completion-mode-p)
1568 (tramp-action-process-alive, tramp-action-out-of-band)
1569 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
1570 (tramp-exists-file-name-handler): Fix docstring.
1571 (tramp-remote-process-environment): Use `format' instead of
1572 `concat'. Protect version string by apostroph.
1573 (tramp-shell-prompt-pattern): Do not use a shy group in case of
1574 XEmacs.
1575 (tramp-file-name-regexp-unified)
1576 (tramp-completion-file-name-regexp-unified): On W32 systems, do
1577 not regard the volume letter as remote filename. (Bug#5447)
1578 (tramp-perl-file-attributes)
1579 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
1580 (tramp-vc-registered-read-file-names): Read input as
1581 here-document, otherwise the command could exceed maximum length
1582 of command line.
1583 (tramp-file-name-handler-alist): Add `file-selinux-context' and
1584 `set-file-selinux-context'.
1585 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
1586 backtrace functions.
1587 (tramp-error-with-buffer): Don't show the connection buffer when
1588 we are in completion mode.
1589 (tramp-progress-reporter-update, tramp-remote-selinux-p)
1590 (tramp-handle-file-selinux-context)
1591 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
1592 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
1593 New defuns.
1594 (with-progress-reporter): New defmacro.
1595 (tramp-debug-outline-regexp): New defconst.
1596 (top, tramp-rfn-eshadow-setup-minibuffer)
1597 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1598 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
1599 (tramp-completion-mode-p, tramp-check-for-regexp)
1600 (tramp-open-connection-setup-interactive-shell)
1601 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
1602 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
1603 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
1604 Use `tramp-compat-funcall'.
1605 (tramp-handle-make-symbolic-link): Flush file properties.
1606 (tramp-handle-load, tramp-handle-file-local-copy)
1607 (tramp-handle-insert-file-contents, tramp-handle-write-region)
1608 (tramp-handle-vc-registered, tramp-maybe-send-script)
1609 (tramp-find-shell): Use `with-progress-reporter'.
1610 (tramp-do-file-attributes-with-stat): Add space in format string,
1611 in order to work around a bug in pdksh. Reported by Gilles Pion
1612 <gpion@lfdj.com>.
1613 (tramp-handle-verify-visited-file-modtime): Do not send a command
1614 when the connection is not established.
1615 (tramp-handle-set-file-times): Simplify the check for utc.
1616 (tramp-handle-directory-files-and-attributes)
1617 (tramp-get-remote-path): Use `copy-tree'.
1618 (tramp-completion-handle-file-name-all-completions): Ensure, that
1619 non remote files are still checked. Oops.
1620 (tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
1621 PRESERVE-SELINUX-CONTEXT.
1622 (tramp-do-copy-or-rename-file): Add progress reporter.
1623 (tramp-do-copy-or-rename-file-directly): Do not use
1624 `tramp-handle-file-remote-p'.
1625 (tramp-do-copy-or-rename-file-out-of-band):
1626 Use `tramp-compat-delete-directory'.
1627 (tramp-do-copy-or-rename-file-out-of-band)
1628 (tramp-compute-multi-hops, tramp-maybe-open-connection):
1629 Use `format-spec-make'.
1630 (tramp-handle-delete-file): Add TRASH arg.
1631 (tramp-handle-dired-uncache): Flush directory cache, not only file
1632 cache.
1633 (tramp-handle-expand-file-name)
1634 (tramp-completion-handle-file-name-all-completions)
1635 (tramp-completion-handle-file-name-completion): Use
1636 `tramp-connectable-p'.
1637 (tramp-handle-start-file-process): Set connection property "vec".
1638 Use it, in order to invalidate file caches. Check only for
1639 `remote-tty' process property.
1640 Implement tty setting. (Bug#4604, Bug#6360)
1641 (tramp-file-name-for-operation): Add `call-process-region' and
1642 `set-file-selinux-context'.
1643 (tramp-find-foreign-file-name-handler)
1644 (tramp-advice-make-auto-save-file-name)
1645 (tramp-set-auto-save-file-modes): Remove superfluous check for
1646 `stringp'. This is done inside `tramp-tramp-file-p'.
1647 (tramp-file-name-handler): Trace 'quit. Catch the error for some
1648 operations when we are in completion mode. This gives the user
1649 the chance to correct the file name in the minibuffer.
1650 (tramp-completion-mode-p): Use `non-essential'.
1651 (tramp-handle-file-name-all-completions): Backward/ XEmacs
1652 compatibility: Use `completion-ignore-case' if
1653 `read-file-name-completion-ignore-case' does not exist.
1654 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
1655 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1656 `tramp-open-shell'.
1657 (tramp-action-password): Hide password prompt before next run.
1658 (tramp-process-actions): Widen connection buffer for the trace.
1659 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
1660 process property. Trace stty settings if `tramp-verbose' >= 9.
1661 Apply workaround for IRIX64 bug. Move argument of last
1662 `tramp-send-command' where it belongs to.
1663 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
1664 front of `login-args'.
1665 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
1666 on "/dev/null" instead of "/".
1667 (tramp-get-ls-command-with-dired): Make test for "--dired"
1668 stronger.
1669 (tramp-set-auto-save-file-modes): Adapt version check.
1670 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
1671 (tramp-handle-process-file): Call the program in a subshell, in
1672 order to preserve working directory.
1673 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
1674 `tramp-remote-sh' from `tramp-methods'.
1675 (tramp-get-ls-command): Make test for "--color=never" stronger.
1676 (tramp-check-for-regexp): Use (forward-line 1).
1677
1678 * net/trampver.el: Update release number.
1679
1680 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1681
1682 * help.el (help-map): Bind `C-h P' to describe-package.
1683
1684 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
1685
1686 * emacs-lisp/package.el (package-refresh-contents): Catch errors
1687 when downloading archives.
1688 (describe-package-1): Add package commentary.
1689 (package-install-button-action): New function.
1690 (package-menu-mode-map): Bind ? to package-menu-describe-package.
1691 (package-menu-view-commentary): Function removed.
1692 (package-list-packages-internal): Hide the `package' package too.
1693
1694 2010-08-25 Kenichi Handa <handa@m17n.org>
1695
1696 * language/misc-lang.el ("Arabic"): New language environment.
1697 Setup composition-function-table for Arabic characters.
1698
1699 * international/fontset.el (setup-default-fontset): Fix typo for
1700 arabic OTF spec (fini->fina).
1701
1702 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
1703
1704 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
1705 on all frames.
1706
1707 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1708
1709 * whitespace.el: Allow cleaning up blanks without blank
1710 visualization (Bug#6651). Adjust help window for
1711 whitespace-toggle-options (Bug#6479). Allow to use fill-column
1712 instead of whitespace-line-column (from EmacsWiki). New version
1713 13.1.
1714 (whitespace-style): Added new value 'face. Adjust docstring.
1715 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
1716 foreground property face.
1717 (whitespace-line-column): Adjust docstring and type declaration.
1718 (whitespace-style-value-list, whitespace-toggle-option-alist)
1719 (whitespace-help-text): Adjust const initialization.
1720 (whitespace-toggle-options, global-whitespace-toggle-options):
1721 Adjust docstring.
1722 (whitespace-display-window, whitespace-interactive-char)
1723 (whitespace-style-face-p, whitespace-color-on): Adjust code.
1724 (whitespace-help-scroll): New fun.
1725
1726 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
1727
1728 * emacs-lisp/package.el (list-packages): Alias for
1729 package-list-packages.
1730
1731 2010-08-24 Kevin Ryde <user42@zip.com.au>
1732
1733 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
1734 (Bug#5651).
1735
1736 * progmodes/ruby-mode.el (ruby): Add defgroup.
1737
1738 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
1739
1740 * progmodes/python.el: Add Ipython support (Bug#5390).
1741 (python-shell-prompt-alist)
1742 (python-shell-continuation-prompt-alist): New options.
1743 (python--set-prompt-regexp): New function.
1744 (inferior-python-mode, run-python, python-shell): Require
1745 ansi-color. Use python--set-prompt-regexp to set the comint
1746 prompt based on the Python interpreter.
1747 (python--prompt-regexp): New var.
1748 (python-check-comint-prompt)
1749 (python-comint-output-filter-function): Use it.
1750 (run-python): Use a pipe (Bug#5694).
1751
1752 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
1753
1754 * progmodes/python.el (python-send-region): Send a different
1755 Python command if Ipython is in use.
1756 (python-check-version): Use a Python command to find the version.
1757
1758 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
1759
1760 * mouse.el (mouse-yank-primary): Avoid setting primary when
1761 deactivating the mark (Bug#6872).
1762
1763 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
1764
1765 * progmodes/python.el (python-block-pairs): Allow use of "finally"
1766 with "else" (Bug#3991).
1767
1768 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
1769
1770 * net/dbus.el: Accept UNIX domain sockets as bus address.
1771 (top): Don't initialize `dbus-registered-objects-table' anymore,
1772 this is done in dbusbind,c.
1773 (dbus-check-event): Adapt test for bus.
1774 (dbus-return-values-table, dbus-unregister-service)
1775 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
1776 Adapt doc string.
1777
1778 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
1779
1780 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
1781
1782 2010-08-22 Juri Linkov <juri@jurta.org>
1783
1784 * simple.el (read-extended-command): New function with the logic
1785 for `completing-read' moved to Elisp from `execute-extended-command'.
1786 Use `function-called-at-point' in `minibuffer-default-add-function'
1787 to get a command name for M-n (bug#5364, bug#5214).
1788
1789 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1790
1791 * startup.el (command-line-1): Issue warning for ignored arguments
1792 --unibyte, etc (Bug#6886).
1793
1794 2010-08-22 Leo <sdl.web@gmail.com>
1795
1796 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
1797 (ignore, bright, dim, keyword): Split list of nicknames before
1798 passing to rcirc-add-or-remove (Bug#6894).
1799
1800 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1801
1802 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
1803
1804 2010-08-22 Leo <sdl.web@gmail.com>
1805
1806 Fix buffer-list rename&refresh after killing a buffer in ido.
1807 * lisp/ido.el: Revert Óscar's.
1808 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
1809 Remember the buffers at head, rather than their name.
1810 * lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list.
1811
1812 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
1813 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
1816 extra backslash added to each line (bug#6890).
1817
1818 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * subr.el (read-key): Don't echo keystrokes (bug#6883).
1821
1822 2010-08-22 Glenn Morris <rgm@gnu.org>
1823
1824 * menu-bar.el (menu-bar-games-menu): Add landmark.
1825
1826 2010-08-22 Glenn Morris <rgm@gnu.org>
1827
1828 * align.el (align-regexp): Make group and spacing arguments
1829 use the interactive defaults when non-interactive. (Bug#6698)
1830
1831 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
1832 expansion, so as not to need sendmail.
1833 (mail-text-start): Remove declaration.
1834 (rmail-retry-failure): Require sendmail.
1835
1836 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1837
1838 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
1839
1840 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
1841
1842 * progmodes/flymake.el (flymake-start-syntax-check-process):
1843 Use `start-file-process' in order to let it run also on remote hosts.
1844
1845 2010-08-22 Kenichi Handa <handa@m17n.org>
1846
1847 * files.el: Add `word-wrap' as safe local variable.
1848
1849 2010-08-22 Glenn Morris <rgm@gnu.org>
1850
1851 * woman.el (woman-translate): Case matters. (Bug#6849)
1852
1853 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1854
1855 * simple.el (kill-region): Doc fix (Bug#6787).
1856
1857 2010-08-22 Glenn Morris <rgm@gnu.org>
1858
1859 * calendar/diary-lib.el (diary-header-line-format):
1860 Fit it to the window, not the frame.
1861
1862 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
1863
1864 * subr.el (ignore-errors): Add debug declaration.
1865
1866 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
1867
1868 * whitespace.el (whitespace-color-off): Remove post-command-hook
1869 locally.
1870
1871 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
1874
1875 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
1876
1877 * cus-edit.el (custom-group-value-create): Add extra newline
1878 before end line (Bug#6876).
1879
1880 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
1881
1882 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
1883 when extending it. Before killing on the second click, check if
1884 the buffer is the correct one. Doc fix.
1885 (mouse-secondary-save-then-kill): Allow usage without first
1886 calling mouse-start-secondary, by defaulting to point. Don't save
1887 an empty secondary selection. Doc fix.
1888
1889 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1890
1891 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
1892 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
1893 New version 13.0.
1894 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
1895 Adjust initialization.
1896 (whitespace-bob-marker, whitespace-eob-marker)
1897 (whitespace-buffer-changed): New vars.
1898 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
1899 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
1900 (whitespace-post-command-hook, whitespace-display-char-on):
1901 Adjust code.
1902 (whitespace-looking-back, whitespace-buffer-changed): New funs.
1903 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
1904
1905 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * files.el (locate-file-completion-table): Only list the .el and .elc
1908 extensions if there's no other choice (bug#5955).
1909
1910 * facemenu.el (facemenu-self-insert-data): New var.
1911 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
1912 New functions.
1913 (facemenu-add-face): Use them.
1914
1915 * simple.el (blink-matching-open): Obey forward-sexp-function.
1916
1917 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * simple.el (prog-mode-map): New var.
1920 (prog-indent-sexp): New command.
1921
1922 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
1923
1924 * progmodes/prolog.el (smie): Require.
1925
1926 * emacs-lisp/smie.el (smie-default-backward-token)
1927 (smie-default-forward-token): Strip properties.
1928 (smie-next-sexp): Be more careful with associative operators.
1929 (smie-forward-sexp-command): Generalize.
1930 (smie-backward-sexp-command): Simplify.
1931 (smie-closer-alist): New var.
1932 (smie-close-block): New command.
1933 (smie-indent-debug-log): New var.
1934 (smie-indent-offset-rule): Add a few more cases.
1935 (smie-indent-column): New function.
1936 (smie-indent-after-keyword): Use it.
1937 (smie-indent-keyword): Use it.
1938 Fix up the opener code's point position.
1939 (smie-indent-comment): Only applies at BOL.
1940 (smie-indent-debug): New command.
1941
1942 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
1943 declarations that are useful before running the macro.
1944
1945 2010-08-18 Joakim Verona <joakim@verona.se>
1946
1947 * image.el (imagemagick-types-inhibit): New variable.
1948 (imagemagick-register-types): New function.
1949 * image-mode.el (image-transform-properties): New function.
1950 (image-transform-set-scale, image-transform-fit-to-height)
1951 (image-transform-set-rotation, image-transform-set-resize)
1952 (image-transform-fit-to-width, image-transform-fit-to-height):
1953 New functions.
1954 (image-toggle-display-image): Support image transforms.
1955
1956 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
1957
1958 * image.el (create-animated-image): Don't add heuristic mask to image
1959 (Bug#6839).
1960
1961 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
1962
1963 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
1964 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
1965
1966 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
1969
1970 Font-lock '...' strings, plus various simplifications and fixes.
1971 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1972 (octave-font-lock-close-quotes): New function.
1973 (octave-font-lock-syntactic-keywords): New var.
1974 (octave-mode): Use it. Set beginning-of-defun-function.
1975 (octave-mode-map): Don't override the <foo>-defun commands.
1976 (octave-mode-menu): Pass it directly to easy-menu-define;
1977 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
1978 (octave-block-match-alist): Fix up last change so that
1979 octave-close-block uses the more specific keyword.
1980 (info-lookup-mode): Silence byte-compiler.
1981 (octave-beginning-of-defun): Not interactive any more.
1982 Optimize slightly.
1983 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
1984 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
1985 (octave-completion-at-point-function): Make sure point is within
1986 beg..end.
1987 (octave-reindent-then-newline-and-indent):
1988 Use reindent-then-newline-and-indent.
1989 (octave-add-octave-menu): Remove.
1990
1991 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
1992
1993 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
1994 (report-emacs-bug-can-use-xdg-email): New functions.
1995 (report-emacs-bug): Set can-xdg-email to result of
1996 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
1997 \C-cm to report-emacs-bug-insert-to-mailer and add help text
1998 about it.
1999
2000 * net/browse-url.el (browse-url-default-browser): Add cond
2001 for browse-url-xdg-open.
2002 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2003
2004 2010-08-17 Glenn Morris <rgm@gnu.org>
2005
2006 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2007 (c-fontify-recorded-types-and-refs): Define for compiler.
2008 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2009 before use.
2010
2011 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2012 Fix format call.
2013
2014 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
2015
2016 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2017 properties.
2018 (tramp-handle-process-file): Call the program in a subshell, in
2019 order to preserve working directory.
2020 (tramp-action-password): Hide password prompt before next run.
2021 (tramp-process-actions): Widen connection buffer for the trace.
2022
2023 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2024
2025 * net/rcirc.el (rcirc-log-process-buffers): New option.
2026 (rcirc-print): Use it.
2027 (rcirc-generate-log-filename): New function.
2028 (rcirc-log-filename-function): Change default to
2029 rcirc-generate-log-filename (Bug#6828).
2030
2031 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
2032
2033 * simple.el (deactivate-mark): If select-active-regions is `only',
2034 only set selection for temporarily active regions.
2035
2036 * cus-start.el: Change defcustom for select-active-regions.
2037
2038 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2039
2040 * mouse.el (mouse--drag-set-mark-and-point): New function.
2041 (mouse-drag-track): Use LOCATION arg to push-mark.
2042 Use mouse--drag-set-mark-and-point to take click-count into
2043 consideration when updating point and mark (Bug#6840).
2044
2045 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2046
2047 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2048 Give the Ruby rule a lower priority than Gnu (Bug#6778).
2049
2050 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
2051
2052 * font-lock.el (lisp-font-lock-keywords-2):
2053 Add combine-after-change-calls, condition-case-no-debug,
2054 with-demoted-errors, and with-silent-modifications (Bug#6025).
2055
2056 2010-08-14 Kevin Ryde <user42@zip.com.au>
2057
2058 * emacs-lisp/copyright.el (copyright-update-year)
2059 (copyright-update): Temporary switch-to-buffer to ensure the
2060 buffer change being queried is visible (Bug#5394).
2061
2062 2010-08-14 Tom Tromey <tromey@redhat.com>
2063
2064 * progmodes/etags.el (tags-file-name): Mark safe if stringp
2065 (Bug#6733).
2066
2067 2010-08-14 Eli Zaretskii <eliz@gnu.org>
2068
2069 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
2070 MS-DOS. (Bug#6689)
2071
2072 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
2073
2074 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
2075 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2076 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2077 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
2078 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
2079 Call menu-bar-set-tool-bar-position.
2080
2081 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2082
2083 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
2084 comment style (bug#6834).
2085 * progmodes/scheme.el (scheme-mode-syntax-table):
2086 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
2087 "b" flag in "' 14b" syntax.
2088
2089 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
2090 for (un)commenting the region and performing completion.
2091 (octave-mode-menu): Use standard commands for help and completion.
2092 (octave-mode-syntax-table): Support %{..%} comments (sort of).
2093 (octave-mode): Use define-derived-mode.
2094 Set completion-at-point-functions and don't set columns.
2095 Don't disable adaptive-fill-regexp.
2096 (octave-describe-major-mode, octave-comment-region)
2097 (octave-uncomment-region, octave-comment-indent)
2098 (octave-indent-for-comment): Remove.
2099 (octave-indent-calculate): Rename from calculate-octave-indent.
2100 (octave-indent-line, octave-fill-paragraph): Update caller.
2101 (octave-initialize-completions): No need to make an alist.
2102 (octave-completion-at-point-function): New function.
2103 (octave-complete-symbol): Use it.
2104 (octave-insert-defun): Use define-skeleton.
2105
2106 * progmodes/octave-mod.el (octave-mode): Set comment-add.
2107 (octave-mode-map): Use comment-dwim (bug#6829).
2108
2109 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
2110
2111 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
2112 indentation of inserted comment.
2113
2114 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
2115
2116 * faces.el (region): Add type gtk that uses gtk colors.
2117
2118 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2119 Handle theme-name change.
2120
2121 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
2122
2123 * progmodes/sql.el: Version 2.5
2124 (sql-product-alist): Add :prompt-cont-regexp property for several
2125 database products.
2126 (sql-prompt-cont-regexp): New variable.
2127 (sql-output-newline-count, sql-output-by-send):
2128 New variables. Record number of newlines in input text.
2129 (sql-send-string): Handle multiple filters and count newlines.
2130 (sql-send-magic-terminator): Count terminator newline.
2131 (sql-interactive-remove-continuation-prompt): Filters output to
2132 remove continuation prompts; one for each newline.
2133 (sql-interactive-mode): Set up new variables, prompt regexp and
2134 output filter.
2135 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
2136 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
2137
2138 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * emacs-lisp/pcase.el: New file.
2141
2142 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
2145 as here-document, otherwise the command could exceed maximum
2146 length of command line.
2147 (tramp-handle-vc-registered): Call script accordingly.
2148 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2149
2150 2010-08-10 Kenichi Handa <handa@m17n.org>
2151
2152 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
2153 composable pattern.
2154
2155 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
2156
2157 * emacs-lisp/package.el (package-version-split)
2158 (package--version-first-nonzero, package-version-compare):
2159 Functions removed.
2160 (package-directory-list, package-load-all-descriptors)
2161 (package--built-in, package-activate, define-package)
2162 (package-installed-p, package-compute-transaction)
2163 (package-read-all-archive-contents)
2164 (package--add-to-archive-contents, package-buffer-info)
2165 (package-tar-file-info, package-list-packages-internal):
2166 Use version-to-list and version-list-*.
2167
2168 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2169 Use version-to-list.
2170 (package-upload-buffer-internal): Use version-list-<=.
2171
2172 2010-08-09 Kenichi Handa <handa@m17n.org>
2173
2174 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
2175 composable pattern.
2176
2177 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
2178
2179 * tutorial.el (tutorial--default-keys): C-d is now bound to
2180 delete-forward-char (Bug#6826).
2181
2182 * mouse.el (mouse-drag-track): Remove accidentally-removed check
2183 for `double' value of mouse-1-click-follows-link (Bug#6807).
2184
2185 2010-08-08 Johan Bockgård <bojohan@gnu.org>
2186
2187 * replace.el (replace-highlight): Bind isearch-forward and
2188 isearch-error, ensuring that highlighting is updated if the user
2189 switches the search direction (Bug#6808).
2190
2191 * isearch.el (isearch-lazy-highlight-forward): New var.
2192 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2193 (isearch-lazy-highlight-update): Use it.
2194
2195 2010-08-08 Kenichi Handa <handa@m17n.org>
2196
2197 * international/mule.el (define-charset): Store NAME as :base property.
2198 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
2199 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
2200 current priority. Force using the designation of the specific
2201 charset by adding `charset' text property. Improve the whole algorithm.
2202
2203 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2204
2205 * emulation/pc-select.el (pc-selection-mode-hook)
2206 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
2207 (pc-selection-mode): Fix typos in docstrings.
2208
2209 2010-08-08 Kenichi Handa <handa@m17n.org>
2210
2211 * language/cyrillic.el: Don't add "microsoft-cp1251" to
2212 ctext-non-standard-encodings-alist here.
2213
2214 * international/mule.el (ctext-non-standard-encodings-alist):
2215 Add "koi8-r" and "microsoft-cp1251".
2216 (ctext-standard-encodings): New variable.
2217 (ctext-non-standard-encodings-table): List only elements for
2218 non-standard encodings.
2219 (ctext-pre-write-conversion): Adjust for the above change.
2220 Check ctext-standard-encodings.
2221
2222 * international/mule-conf.el (compound-text): Doc fix.
2223 (ctext-no-compositions): Doc fix.
2224 (compound-text-with-extensions): Doc fix.
2225
2226 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2229
2230 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2231
2232 * progmodes/which-func.el (which-func-format): Split help-echo text
2233 into lines, like other mode-line tooltips.
2234
2235 * server.el (server-start): When using TCP sockets, force IPv4
2236 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
2237
2238 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
2241
2242 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2243
2244 * term.el (term-delimiter-argument-list): Reflow docstring.
2245 (term-read-input-ring, term-write-input-ring, term-send-input)
2246 (term-bol, term-erase-in-display, serial-supported-or-barf):
2247 Fix typos in docstrings.
2248
2249 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
2252
2253 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2254
2255 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
2256
2257 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
2258
2259 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
2260 Fix typo in docstring (bug#6747).
2261
2262 2010-08-08 Leo <sdl.web@gmail.com>
2263
2264 * eshell/esh-io.el (eshell-get-target): Better detection of
2265 read-only file (Bug#6762).
2266
2267 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2268
2269 * align.el (align-default-spacing): Doc fix.
2270 (align-region-heuristic, align-regexp): Fix typos in docstrings.
2271
2272 2010-08-08 Stephen Peters <speters@itasoftware.com>
2273
2274 * calendar/icalendar.el
2275 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
2276 (icalendar--get-weekday-numbers): New.
2277 (icalendar--convert-recurring-to-diary): Handle multiple byday
2278 values in weekly rules. (Bug#6766)
2279
2280 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
2281
2282 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
2283 (icalendar--create-uid, icalendar-export-region)
2284 (icalendar--parse-summary-and-rest): Code formatting.
2285
2286 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2287
2288 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
2289 to italicize headers.
2290 (calc-highlight-selections-with-faces): New variable.
2291 (calc-selected-face, calc-nonselected-face): New faces.
2292
2293 * calc/calccomp.el (math-comp-highlight-string): Use
2294 `calc-highlight-selections-with-faces' to determine how to highlight
2295 sub-formulas.
2296
2297 * calc/calc-sel.el (calc-show-selections): Change message to when
2298 using faces to highlight selections.
2299
2300 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
2301
2302 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
2303 Add SQLite 3 keywords, functions and datatypes.
2304 (sql-interactive-mode): Remove `comint-process-echoes' set to t
2305 (Bug#6686).
2306
2307 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
2308
2309 * simple.el (select-active-regions): Move to keyboard.c.
2310 (deactivate-mark): Used saved-region-selection.
2311 (select-active-region): Function removed.
2312 (activate-mark, set-mark, push-mark-command)
2313 (handle-shift-selection): Don't call it.
2314 (keyboard-quit): Avoid adding the region to the window selection.
2315
2316 * mouse.el (mouse-drag-track): Remove hacks to deal with old
2317 select-active-regions implementation.
2318 (mouse-yank-at-click): Doc fix.
2319
2320 * cus-start.el: Add custom declaration for select-active-regions.
2321
2322 2010-08-07 Eli Zaretskii <eliz@gnu.org>
2323
2324 * simple.el (delete-forward-char): Doc fix.
2325
2326 * tutorial.el (help-with-tutorial): Hack safe file-local variables
2327 after reading the tutorial.
2328
2329 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
2330
2331 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
2332 for the case that a C style comment has its delimiters alone on
2333 their respective lines.
2334
2335 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
2336
2337 * net/tramp.el (tramp-handle-start-file-process): Set connection
2338 property "vec".
2339 (tramp-process-sentinel): Use it for flushing the cache. We
2340 cannot do it via the process buffer, the buffer could be deleted
2341 already when running the sentinel.
2342
2343 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2344
2345 * comint.el (comint-mode): Make directory tracking functions
2346 functional on remote files. (Bug#6764)
2347
2348 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
2349
2350 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
2351
2352 2010-08-05 Eli Zaretskii <eliz@gnu.org>
2353
2354 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
2355 unexec.c => unexcoff.c.
2356
2357 * emacs-lisp/authors.el (authors-fixed-entries): Rename
2358 unexec.c => unexcoff.c.
2359
2360 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
2361
2362 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
2363 cache, not only file cache.
2364 (tramp-process-sentinel): New defun.
2365 (tramp-handle-start-file-process): Use it, in order to invalidate
2366 file caches.
2367
2368 2010-08-03 Leo <sdl.web@gmail.com>
2369
2370 * server.el (server-start): Simplify loop.
2371
2372 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * frame.el (screen-height, screen-width, set-screen-width)
2375 (set-screen-height): Remove ancient compatibility aliases.
2376
2377 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
2378 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
2379
2380 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
2381 that change current buffer.
2382
2383 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2384
2385 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
2386 beginning of the string. Use `string-match-p'. (Bug#6765)
2387
2388 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
2389
2390 * cus-start.el (x-gtk-use-system-tooltips): New variable.
2391
2392 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
2393
2394 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
2395 (package--builtins): Tweak descriptions.
2396 (package-print-package): Upcase descriptions if necessary.
2397 Show all built-in packages in font-lock-builtin-face.
2398 (package-list-packages-internal): Omit "emacs" package.
2399 Show status of built-in packages as "built-in".
2400
2401 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
2402
2403 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
2404 before killing to preserve the primary selection (Bug#6701).
2405
2406 * term/x-win.el (x-select-text): Doc fix.
2407
2408 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
2409
2410 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
2411 The following functions were modified or created:
2412
2413 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
2414 (objc-font-lock-extra-types):
2415 * progmodes/cc-mode.el (c-basic-common-init):
2416 * progmodes/cc-langs.el (c-make-mode-syntax-table)
2417 (c++-make-template-syntax-table)
2418 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
2419 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
2420 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
2421 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
2422 * progmodes/cc-fonts.el (c-make-inverse-face)
2423 (c-basic-matchers-after):
2424 * progmodes/cc-engine.el (c-forward-keyword-clause)
2425 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
2426 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
2427 (c-guess-continued-construct, c-guess-basic-syntax):
2428
2429 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
2430
2431 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
2432
2433 2010-07-31 Eli Zaretskii <eliz@gnu.org>
2434
2435 * files.el (bidi-paragraph-direction): Define safe local values.
2436
2437 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
2438 language-info-alist. Remove outdated FIXME in a comment.
2439
2440 2010-07-31 Alan Mackenzie <acm@muc.de>
2441
2442 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
2443 Auto-fill broken in C/C++ modes.
2444
2445 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
2446
2447 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2448 (menu-bar-showhide-tool-bar-menu-customize-disable)
2449 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2450 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
2451 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
2452 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
2453 make a menu for Options => toolbar that can move it.
2454
2455 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
2456
2457 * emacs-lisp/package-x.el (package--make-rss-entry):
2458 (package-maint-add-news-item, package--update-news)
2459 (package-upload-buffer-internal): New arg ARCHIVE-URL.
2460
2461 * emacs-lisp/package.el (package-archive-url): Rename from
2462 package-archive-id.
2463 (package-install): Doc fix.
2464 (package-download-single, package-download-tar, package-install)
2465 (package-menu-view-commentary): Callers changed.
2466
2467 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
2468
2469 * net/tramp.el (tramp-handle-start-file-process): Check only for
2470 `remote-tty' process property.
2471 (tramp-open-shell): Don't check for tty.
2472 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2473 process property.
2474
2475 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
2476 host.
2477
2478 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
2479
2480 * emacs-lisp/package.el (package-load-list, package-archives)
2481 (package-archive-contents, package-user-dir)
2482 (package-directory-list, package--builtins, package-alist)
2483 (package-activated-list, package-obsolete-alist): Mark as risky.
2484
2485 2010-07-28 Phil Hagelberg <phil@evri.com>
2486
2487 Add support for non-default package repositories.
2488 * emacs-lisp/package.el (package-archive-base): Var deleted.
2489 (package-archives): New variable.
2490 (package-archive-contents): Doc fix.
2491 (package-load-descriptor): Do nothing if descriptor file is missing.
2492 (package--write-file-no-coding): New function.
2493 (package-unpack-single): Use it.
2494 (package-archive-id): New function.
2495 (package-download-single, package-download-tar)
2496 (package-menu-view-commentary): Use it.
2497 (package-installed-p): Make second argument optional.
2498 (package-read-all-archive-contents): New function.
2499 (package-initialize): Use it.
2500 (package-read-archive-contents): Add ARCHIVE argument.
2501 (package--add-to-archive-contents): New function.
2502 (package-install): Don't call package-read-archive-contents.
2503 (package--download-one-archive): Store archive file in a
2504 subdirectory of package-user-dir.
2505 (package-menu-execute): Remove spurious line movement.
2506
2507 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
2508
2509 * cus-start.el (tool-bar-style): Add text-image-horiz.
2510
2511 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
2512
2513 * progmodes/gud.el (gud-common-init): Check for remoteness of
2514 `file', and not of `default-directory'.
2515
2516 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
2517
2518 * net/tramp.el (tramp-methods): Move hostname to the end in all
2519 ssh `tramp-login-args'.
2520 (tramp-verbose): Describe verbose level 9.
2521 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
2522 (tramp-open-connection-setup-interactive-shell): Trace stty
2523 settings if `tramp-verbose' >= 9.
2524 (tramp-handle-start-file-process): Implement tty setting.
2525 (Bug#4604, Bug#6360)
2526
2527 * net/tramp-cmds.el (tramp-bug): Recommend setting of
2528 `tramp-verbose' to 9.
2529
2530 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
2531
2532 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
2533 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
2534 Remove references to package `lisp-re' (bug#4369).
2535
2536 2010-07-27 Tom Tromey <tromey@redhat.com>
2537
2538 * progmodes/js.el (js-mode):
2539 * progmodes/make-mode.el (makefile-mode):
2540 * progmodes/simula.el (simula-mode):
2541 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
2542
2543 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
2544
2545 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
2546
2547 * time.el (display-time-day-and-date): Remove spurious * in docstring.
2548 (display-time-world-buffer-name, display-time-world-mode-map):
2549 Fix typos in docstrings.
2550
2551 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
2552
2553 * image-mode.el (image-display-size): New function.
2554 (image-forward-hscroll, image-next-line, image-eol, image-eob)
2555 (image-mode-fit-frame): Use it (Bug#6639).
2556
2557 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
2558
2559 * dired.el (dired-buffers-for-dir): Handle list values of
2560 dired-directory (Bug#6636).
2561
2562 2010-07-26 Sam Steingold <sds@gnu.org>
2563
2564 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
2565 Do not call `x-get-selection' the second time, reuse the value.
2566
2567 2010-07-26 Daiki Ueno <ueno@unixuser.org>
2568
2569 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
2570 which consist of control chars only. Suggested by Richard Stallman.
2571
2572 2010-07-25 Daiki Ueno <ueno@unixuser.org>
2573
2574 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
2575 exists before passing an error to find-file-not-found-functions
2576 (bug#6723).
2577
2578 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
2579
2580 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
2581 Remove leading nil element, adjust values.
2582 (tetris-shapes, tetris-shape-scores):
2583 Change representation of shapes and remove some redundancy.
2584 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
2585 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
2586 Adjust for working with new representation of shapes.
2587 (tetris-shape-rotations): New function.
2588 (tetris-move-bottom, tetris-move-left, tetris-move-right)
2589 (tetris-rotate-prev, tetris-rotate-next):
2590 Adjust for working with the new version of tetris-test-shape.
2591
2592 2010-07-23 Markus Triska <markus.triska@gmx.at>
2593
2594 * progmodes/ps-mode.el: Use comint (bug#5954).
2595 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
2596 (ps-mode-other-newline): Simplify.
2597 (ps-run-mode): Derive from comint-mode instead of
2598 fundamental-mode, yielding input history etc.
2599 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
2600 (ps-run-send-string): Adapt for comint-mode.
2601 (ps-run-newline): Remove now unneeded function.
2602
2603 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
2604
2605 * net/tramp.el (tramp-methods): Move hostname to the end in all
2606 plink `tramp-login-args'.
2607
2608 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
2609
2610 * net/tramp.el (tramp-open-shell): New defun.
2611 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2612 Use it.
2613
2614 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
2615
2616 * net/tramp.el (tramp-file-name-regexp-unified)
2617 (tramp-completion-file-name-regexp-unified): On W32 systems, do
2618 not regard the volume letter as remote filename. (Bug#5447)
2619
2620 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
2621
2622 * custom.el (custom-declare-variable): Give a clearer error message
2623 when the docstring is missing (bug#6476).
2624
2625 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
2626
2627 * progmodes/sql.el: Version 2.4. Improved Login prompting.
2628 (sql-login-params): New widget definition.
2629 (sql-oracle-login-params, sql-mysql-login-params)
2630 (sql-solid-login-params, sql-sybase-login-params)
2631 (sql-informix-login-params, sql-ingres-login-params)
2632 (sql-ms-login-params, sql-postgres-login-params)
2633 (sql-interbase-login-params, sql-db2-login-params)
2634 (sql-linter-login-params): Use it.
2635 (sql-sqlite-login-params): Use it; Define "database" parameter as
2636 a file name.
2637 (sql-sqlite-program): Change to "sqlite3".
2638 (sql-comint-sqlite): Make sure database name is complete.
2639 (sql-for-each-login): New function.
2640 (sql-connect, sql-save-connection): Use it.
2641 (sql-get-login-ext): New function.
2642 (sql-get-login): Use it.
2643 (sql-make-alternate-buffer-name): Handle :file parameters.
2644
2645 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
2646
2647 * dired.el (dired-no-confirm): Document value t and fix defcustom to
2648 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
2649
2650 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
2651
2652 * dired.el (dired-mode-map): Use command remapping (bug#6632).
2653
2654 2010-07-22 Lawrence Mitchell <wence@gmx.li>
2655
2656 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
2657
2658 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
2659
2660 * net/tramp.el (tramp-get-ls-command)
2661 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
2662 instead of "/".
2663
2664 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
2665
2666 * progmodes/sql.el: Version 2.3.
2667 (sql-connection-alist): Changed keys from symbols to strings;
2668 enhanced the widget definition.
2669 (sql-mode-menu): Added submenu to select connections.
2670 (sql-interactive-mode-menu): Added "Save Connection" item.
2671 (sql-add-product): Fixed menu item.
2672 (sql-get-product-feature): Improved error handling.
2673 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
2674 (sql-make-alternate-buffer-name): Simplified.
2675 (sql-product-interactive): Handle missing product.
2676 (sql-connect): Support string keys, minor improvements.
2677 (sql-save-connection): New function.
2678 (sql-connection-menu-filter): New function.
2679
2680 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
2681
2682 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
2683 (tramp-open-connection-setup-interactive-shell): Apply
2684 workaround for IRIX64 bug. Move argument of last
2685 `tramp-send-command' where it belongs to.
2686
2687 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
2688
2689 * net/tramp.el (tramp-perl-file-attributes)
2690 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2691 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2692 front of `login-args'.
2693
2694 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
2695
2696 * time.el (display-time-world-mode): Define with `define-derived-mode'.
2697 Set `show-trailing-whitespace' to nil.
2698 (display-time-world-display): Simplify.
2699
2700 2010-07-18 Alan Mackenzie <acm@muc.de>
2701
2702 Enhance `c-file-style' in file/directory local variables.
2703 * progmodes/cc-mode.el (c-count-cfss): New function.
2704 (c-before-hack-hook): Call `c-set-style' differently according to
2705 whether c-file-style was set in file or directory local
2706 variables.
2707
2708 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
2709
2710 * progmodes/sql.el: Version 2.2.
2711 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
2712 defcustom :safe keyword rather than putting safe-local-variable
2713 property.
2714 (sql-password): Use defcustom :risky keyword rather than putting
2715 risky-local-variable property.
2716 (sql-oracle-login-params, sql-sqlite-login-params)
2717 (sql-solid-login-params, sql-sybase-login-params)
2718 (sql-informix-login-params, sql-ingres-login-params)
2719 (sql-ms-login-params, sql-postgres-login-params)
2720 (sql-interbase-login-params, sql-db2-login-params)
2721 (sql-linter-login-params): Add `port' option.
2722 (sql-get-product-feature): Added NO-INDIRECT parameter.
2723 (sql-comint-oracle, sql-comint-sybase)
2724 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
2725 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
2726 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
2727 (sql-comint-linter): Renamed sql-connect-* functions to
2728 sql-comint-*.
2729 (sql-product-alist, sql-mode-menu): Renamed as above and
2730 :sqli-connect-func to :sqli-comint-func.
2731 (sql-connection): New variable.
2732 (sql-interactive-mode): Set it.
2733 (sql-connection-alist): New variable.
2734 (sql-connect): New function.
2735 (sql--alt-buffer-part, sql--alt-if-not-empty)
2736 (sql-make-alternate-buffer-name): Improved alternative buffer name.
2737
2738 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2739
2740 * image-mode.el (image-bookmark-make-record): Do not set context
2741 in an image (Bug#6650).
2742
2743 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
2744
2745 * simple.el (select-active-region): New function.
2746 (push-mark-command, set-mark, activate-mark)
2747 (handle-shift-selection): Use it.
2748 (deactivate-mark): Don't check for size of region.
2749
2750 * mouse.el (mouse-drag-track): Use select-active-region.
2751
2752 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
2753
2754 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
2755 "--dired" stronger.
2756
2757 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
2758
2759 * term/x-win.el (x-select-enable-primary): Change default to nil.
2760 (x-select-enable-clipboard): Add :version keyword.
2761
2762 * mouse.el (mouse-drag-copy-region):
2763 * simple.el (select-active-regions): Likewise.
2764
2765 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
2766
2767 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
2768 (vc-coding-system-for-diff): Use it to decide whether to inherit
2769 from the file the EOL format for reading the diffs of that file.
2770 (Bug#4451)
2771
2772 2010-07-16 Eli Zaretskii <eliz@gnu.org>
2773
2774 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
2775 unibyte, so compressed attachments are not compressed again.
2776
2777 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
2778
2779 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
2780 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
2781 (tramp-find-shell): Simplify setting connection property.
2782 (tramp-get-ls-command): Make test for "--color=never" stronger.
2783
2784 2010-07-15 Simon South <ssouth@member.fsf.org>
2785
2786 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
2787 blocks within record declarations (i.e. variant parts) correctly.
2788
2789 2010-07-15 Simon South <ssouth@member.fsf.org>
2790
2791 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
2792 over literal tokens when parsing so newlines aren't "absorbed" by
2793 single-line comments. Corrects the indentation of case blocks
2794 that have a comment on the first line.
2795
2796 2010-07-14 Karl Fogel <kfogel@red-bean.com>
2797
2798 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
2799 by Drew Adams (Bug#5504).
2800
2801 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
2802
2803 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
2804 now that Unicode is used (Bug#6594).
2805
2806 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
2807
2808 * term/x-win.el (x-select-enable-clipboard): Default to t.
2809 (x-initialize-window-system): Don't overwrite Paste menu item.
2810
2811 * simple.el (select-active-regions): Default to t.
2812 (push-mark-command): Don't overwrite primary with empty string.
2813
2814 * mouse.el: Bind mouse-2 to mouse-yank-primary.
2815 (mouse-drag-copy-region): Default to nil.
2816
2817 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
2818 Cut/Copy/Paste menu bar items.
2819
2820 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2821
2822 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
2823 Patch applied by Karl Fogel.
2824
2825 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
2826 and `bookmark-current-buffer' if they have been already set in
2827 another buffer (e.g gnus-art).
2828
2829 2010-07-13 Karl Fogel <kfogel@red-bean.com>
2830 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2831
2832 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
2833
2834 * bookmark.el (bookmark-make-record-default): Allow unneeded
2835 information to be omitted from the record.
2836
2837 Adjust declarations and calls:
2838
2839 * info.el (bookmark-make-record-default): Adjust declaration.
2840 (Info-bookmark-make-record): Adjust call.
2841
2842 * woman.el (bookmark-make-record-default): Adjust declaration.
2843 (woman-bookmark-make-record): Adjust call.
2844
2845 * man.el (bookmark-make-record-default): Adjust declaration.
2846 (Man-bookmark-make-record): Adjust call.
2847
2848 * image-mode.el (bookmark-make-record-default): Adjust declaration.
2849
2850 * doc-view.el (bookmark-make-record-default): Adjust declaration.
2851
2852 2010-07-13 Karl Fogel <kfogel@red-bean.com>
2853
2854 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
2855 This is also from Thierry Volpiatto's patch in bug #6444. However,
2856 because it was extraneous to the functional change in that patch,
2857 and causes a re-indendation, I am committing it separately.
2858
2859 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2860
2861 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
2862 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
2863 Patch applied by Karl Fogel (Bug#6444).
2864
2865 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
2866
2867 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
2868
2869 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
2870
2871 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
2872 Dempsky; bug#5084). Remove incorrect binding for S-tab.
2873 (ns-alternatives-map): Change S-tab binding to backtab
2874 (bug#6616).
2875
2876 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
2877 under ns.
2878
2879 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
2880
2881 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
2882 (Bug#5806)
2883
2884 * language/tv-util.el (tai-viet-re): Remove format.
2885
2886 2010-07-12 Kenichi Handa <handa@m17n.org>
2887
2888 * language/hebrew.el: Remove no-byte-compile declaration.
2889 Change coding: tag to utf-8. Register hebrew-shape-gstring in
2890 composition-function-table for 3-character looking back.
2891 (hebrew-font-get-precomposed): New function.
2892 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
2893
2894 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
2895
2896 * mouse.el (mouse-drag-track): Handle select-active-regions
2897 (Bug#6612).
2898
2899 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
2900
2901 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2902 empty argument to gvfs-copy.
2903
2904 2010-07-10 Glenn Morris <rgm@gnu.org>
2905
2906 * calendar/calendar.el (calendar-week-end-day): New function.
2907 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
2908 Respect calendar-week-start-day. (Bug#6606)
2909 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
2910 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
2911 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
2912 respect calendar-week-start-day.
2913
2914 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
2915
2916 * simple.el (use-region-p): Doc fix (Bug#6607).
2917
2918 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
2919
2920 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
2921 regexps for cucumber and ruby.
2922
2923 2010-07-08 Daiki Ueno <ueno@unixuser.org>
2924
2925 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
2926 (epa-file-insert-file-contents): Hack to prevent
2927 find-file from opening empty buffer when decryption failed
2928 (bug#6568).
2929
2930 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
2931
2932 * textmodes/ispell.el (ispell-alternate-dictionary):
2933 Use file-readable-p.
2934 Return nil if no word-list is found at default locations.
2935 (ispell-complete-word-dict): Default to nil.
2936 (ispell-command-loop): Use 'word-list' when using lookup-words.
2937 (lookup-words): Use ispell-complete-word-dict or
2938 ispell-alternate-dictionary. Check for word-list availability
2939 and handle errors if needed with better messages (Bug#6539).
2940 (ispell-complete-word): Use ispell-complete-word-dict or
2941 ispell-alternate-dictionary.
2942
2943 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
2944
2945 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
2946 builtins (BufferError, BytesWarning, WindowsError; callables
2947 bin, bytearray, bytes, format, memoryview, next, print; __package__).
2948
2949 2010-07-07 Glenn Morris <rgm@gnu.org>
2950
2951 * play/zone.el (top-level): Do not require timer, tabify, or cl.
2952 (zone-shift-left): Ignore intangibility, and any errors from
2953 forward-char.
2954 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
2955 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
2956 deleting, and copying text properties.
2957 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
2958 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
2959 to point-max is hard.
2960 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
2961 (zone-fill-out-screen): Ignore intangibility.
2962
2963 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
2964
2965 * menu-bar.el (menu-bar-mode):
2966 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
2967 if it has been set.
2968
2969 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
2970 word/line selection (Bug#6565).
2971
2972 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
2973
2974 * net/dbus.el (dbus-send-signal): Declare function.
2975
2976 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
2977
2978 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
2979 (dbus-register-property): New optional argument EMITS-SIGNAL.
2980 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
2981
2982 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
2983
2984 * mouse.el (mouse-drag-overlay): Variable deleted.
2985 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
2986 (mouse--remap-link-click-p): New function.
2987 (mouse-drag-track): Handle dragging by using temporary Transient
2988 Mark mode, instead of a special overlay.
2989 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
2990 mouse-show-mark.
2991
2992 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
2993 deleted.
2994
2995 2010-07-02 Juri Linkov <juri@jurta.org>
2996
2997 * autoinsert.el (auto-insert-alist): Fix readability
2998 by using dotted pair notation for lambda.
2999
3000 2010-07-02 Juri Linkov <juri@jurta.org>
3001
3002 * faces.el (read-face-name): Rename arg `string-describing-default'
3003 to `default'. Doc fix. Display the default value in quotes
3004 in the prompt. With empty input, return the `default' arg,
3005 unless the default value is a string (in which case return nil).
3006 (describe-face): Replace the string `default' arg of `read-face-name'
3007 with the symbol `default'.
3008
3009 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
3010
3011 * emulation/viper-cmd.el (viper-delete-backward-char)
3012 (viper-del-backward-char-in-insert)
3013 (viper-del-backward-char-in-replace, viper-change)
3014 (viper-backward-indent): Replace delete-backward-char with
3015 delete-char (Bug#6552).
3016
3017 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
3018
3019 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3020
3021 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3022
3023 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3024 argument passed to frame-creation-function (Bug#5378).
3025
3026 * faces.el (x-handle-named-frame-geometry)
3027 (x-handle-reverse-video, x-create-frame-with-faces)
3028 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3029 separately consult default-frame-alist. It is now passed as the
3030 PARAMETER argument.
3031
3032 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
3033
3034 * startup.el (command-line): Don't call tool-bar-setup in a
3035 tty-only build.
3036
3037 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3038
3039 * ruler-mode.el (ruler--save-header-line-format): New fun.
3040 (ruler-mode): Use it as a setter function, so as not to overwrite
3041 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3042
3043 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
3044
3045 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
3046 (vc-root-diff, vc-print-root-log, vc-log-incoming)
3047 (vc-log-outgoing): Use it.
3048 (vc-diff-internal): Set diff-vc-backend.
3049
3050 * vc/diff-mode.el (diff-vc-backend): New var.
3051
3052 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
3053
3054 * dynamic-setting.el (font-setting-change-default-font): Remove
3055 call to message.
3056
3057 2010-06-28 Kenichi Handa <handa@m17n.org>
3058
3059 * international/quail.el (quail-insert-kbd-layout): Fix the
3060 showing of untranslated characters.
3061
3062 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
3063
3064 * simple.el (delete-active-region): New option.
3065 (delete-backward-char): Implement in Lisp.
3066 (delete-forward-char): New command.
3067
3068 * mouse.el (mouse-region-delete-keys): Deleted.
3069 (mouse-show-mark): Simplify.
3070
3071 * bindings.el (global-map): Bind delete and DEL, the former to
3072 delete-forward-char.
3073
3074 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
3075
3076 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
3077 (ruby-mode): Bind indent-line-function (Bug#5119).
3078
3079 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
3080
3081 * startup.el (command-line): Recognize "0" X resource value.
3082
3083 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
3084
3085 * startup.el (command-line): Use X resources to set the value of
3086 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
3087
3088 * menu-bar.el (menu-bar-mode):
3089 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
3090 Set init-value to t.
3091
3092 * frame.el (frame-notice-user-settings): Don't change
3093 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
3094 vice versa (Bug#2249).
3095
3096 2010-06-26 Eli Zaretskii <eliz@gnu.org>
3097
3098 * w32-fns.el (w32-convert-standard-filename): Doc fix.
3099
3100 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3101
3102 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
3103 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
3104
3105 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
3106 default directories are expanded (Bug#6143).
3107
3108 2010-06-24 Juri Linkov <juri@jurta.org>
3109
3110 * minibuffer.el (completions-format): Change default from nil to
3111 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
3112
3113 2010-06-24 Juri Linkov <juri@jurta.org>
3114
3115 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
3116 buffer-locally to lambda that re-runs the vc diff command.
3117 (Bug#6447)
3118
3119 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
3120
3121 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
3122 echo area is in use (Bug#3412).
3123
3124 2010-06-22 Glenn Morris <rgm@gnu.org>
3125
3126 * textmodes/texinfmt.el (texinfo-format-region)
3127 (texinfo-raise-lower-sections, texinfo-format-separate-node)
3128 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
3129 (texinfo-format-option, texinfo-noindent):
3130 Use line-beginning-position and line-end-position.
3131
3132 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
3133 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
3134 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
3135 utf-8 characters.
3136
3137 2010-06-21 Karl Fogel <kfogel@red-bean.com>
3138
3139 * play/zone.el (zone-fall-through-ws): Fix next-line ->
3140 forward-line fallout.
3141
3142 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
3143
3144 * mouse.el (mouse-appearance-menu): Add docstring.
3145
3146 * help.el (describe-key): Print up-event using key-description.
3147
3148 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
3149
3150 * net/zeroconf.el (zeroconf-resolve-service)
3151 (zeroconf-service-resolver-handler): Use
3152 `dbus-byte-array-to-string'.
3153 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
3154
3155 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
3156
3157 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
3158
3159 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
3160
3161 Avoid displaying files with a nil state in vc-dir.
3162 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
3163 cases that cause insertion.
3164 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
3165 with a nil state.
3166
3167 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3168
3169 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
3170
3171 2010-06-29 Leo <sdl.web@gmail.com>
3172
3173 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
3174
3175 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3176
3177 * generic-x.el (bat-generic-mode): Fix regexp for command line
3178 switches (Bug#5719).
3179
3180 2010-06-27 Masatake YAMATO <yamato@redhat.com>
3181
3182 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
3183 of nconc to avoid pure storage error (Bug#6239).
3184
3185 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
3186
3187 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3188 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
3189 bindings of bookmark-automatically-show-annotations (Bug#6515).
3190
3191 2010-06-25 Eli Zaretskii <eliz@gnu.org>
3192
3193 * arc-mode.el (archive-zip-extract): Don't quote the file name on
3194 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
3195
3196 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
3197
3198 * comint.el (make-comint, make-comint-in-buffer): Mention return
3199 value in the docstrings. (Bug#6498)
3200
3201 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
3202
3203 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
3204 since it is not present when using some non-default switches.
3205
3206 2010-06-23 Karl Fogel <kfogel@red-bean.com>
3207
3208 * simple.el (compose-mail): Fix doc string to refer to
3209 `compose-mail-user-agent-warnings', instead of to the
3210 nonexistent `compose-mail-check-user-agent'.
3211
3212 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
3213
3214 Fix an indentation bug:
3215
3216 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
3217 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
3218 of existing values.
3219
3220 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
3221 (c-clear->-pair-props-if-match-before): now return t when they've
3222 cleared properties, nil otherwise.
3223 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
3224 by taking account of the existing value.
3225
3226 * progmodes/cc-defs.el
3227 (c-clear-char-property-with-value-function): Fix this to clear the
3228 property rather than overwriting it with nil.
3229
3230 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
3231
3232 * emacs-lisp/package.el (package-print-package): Add link to
3233 package description via describe-package.
3234 (describe-package-1): List package requirements. Add button to
3235 perform installation.
3236 (package-menu-describe-package): New command.
3237
3238 * help-mode.el (help-package): New button type.
3239
3240 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
3241
3242 * emacs-lisp/package.el: Move package-list-packages binding to
3243 menu-bar.el.
3244 (describe-package, describe-package-1, package--dir): New funs.
3245 (package-activate-1): Use package--dir.
3246
3247 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
3248
3249 * help-mode.el (help-package-def): New button type.
3250
3251 * menu-bar.el: Move package-list-packages binding here from
3252 package.el.
3253
3254 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
3255
3256 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
3257
3258 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3259
3260 * emacs-lisp/edebug.el (edebug-read-list):
3261 Phase out old-style backquotes.
3262
3263 2010-06-17 Juri Linkov <juri@jurta.org>
3264
3265 * help-mode.el (help-mode): Set buffer-local variable
3266 revert-buffer-function to help-mode-revert-buffer.
3267 (help-mode-revert-buffer): New function.
3268
3269 * info.el (Info-revert-find-node): Check for major-mode Info-mode
3270 before popping to "*info*" (like in other Info functions).
3271 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
3272 old-history-forward. Pop to old-buffer-name or "*info*" to
3273 recreate the killed buffer. Set Info-history-forward from
3274 old-history-forward.
3275 (Info-breadcrumbs-depth): Add :group and :version.
3276
3277 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
3278
3279 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
3280
3281 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
3282
3283 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
3284 for languages like Portuguese with pt_{BR,PT} and no plain pt.
3285
3286 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
3287
3288 * emacs-lisp/package.el (package-menu-mode-map):
3289 Move initialization into declaration.
3290
3291 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
3292
3293 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
3294
3295 * emacs-lisp/package.el (package-archive-base): Point to
3296 elpa.gnu.org.
3297 (package-enable, package-load-list): New defcustoms.
3298 (package-user-dir, package-directory-list): Turn into defcustoms.
3299 Don't include package-user-dir in package-directory-list.
3300 (package--builtins-base): Don't include Emacs as a "package".
3301 (package-subdirectory-regexp): New var.
3302 (package-load-all-descriptors, package-compute-transaction)
3303 (package-download-transaction): Obey package-load-list.
3304 (package-activate-1): Rename from package-do-activate.
3305 (package-list-packages-internal): Check package-load-list.
3306 (package-load-descriptor, package-generate-autoloads)
3307 (package-unpack, package-unpack-single)
3308 (package--read-archive-file, package-delete): Use
3309 expand-file-name.
3310
3311 * emacs-lisp/package-x.el: New file. Package uploading
3312 functionality split out from package.el.
3313
3314 * startup.el (command-line): Load packages after reading init
3315 file.
3316
3317 2010-06-17 Tom Tromey <tromey@redhat.com>
3318
3319 * emacs-lisp/package.el: New file.
3320
3321 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
3322
3323 Fix vc-annotate for renamed files when using Git.
3324 * vc-git.el (vc-git-find-revision): Deal with empty results from
3325 ls-files. Doe not pass the object as a file name to cat-file, it
3326 is not a file name.
3327 (vc-git-annotate-command): Pass the file name using -- to avoid
3328 ambiguity with the revision.
3329 (vc-git-previous-revision): Pass a relative file name.
3330
3331 2010-06-22 Glenn Morris <rgm@gnu.org>
3332
3333 * progmodes/js.el (js-mode-map): Use standard capitalization and
3334 ellipses for menu entries.
3335
3336 * wid-edit.el (widget-complete): Doc fix.
3337
3338 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
3339
3340 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
3341
3342 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
3343
3344 Fix annotating other revisions for renamed files in vc-annotate.
3345 * vc-annotate.el (vc-annotate): Add an optional argument for the
3346 VC backend. Use it when non-nil.
3347 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
3348 (Bug#6487)
3349
3350 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
3351 * vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3352 Do not pass the file name to the 'previous-revision call when we
3353 don't want a file diff. (Bug#6489)
3354
3355 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
3356
3357 Fix finding revisions for renamed files in vc-annotate.
3358 * vc.el (vc-find-revision): Add an optional argument for
3359 the VC backend. Use it when non-nil.
3360 * vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
3361 backend to vc-find-revision. (Bug#6487)
3362
3363 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
3364
3365 Fix reading file names in Git annotate buffers.
3366 * vc-git.el (vc-git-annotate-extract-revision-at-line): Remove
3367 trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
3368
3369 2010-06-20 Alan Mackenzie <acm@muc.de>
3370
3371 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
3372 in file local variables, set it first.
3373
3374 2010-06-19 Glenn Morris <rgm@gnu.org>
3375
3376 * descr-text.el (describe-char-unicode-data): Insert separating
3377 space when needed. (Bug#6422)
3378
3379 * progmodes/idlwave.el (idlwave-action-and-binding):
3380 Fix typo in 2009-12-03 change. (Bug#6450)
3381
3382 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
3385 handling for `lambda' (misunderstanding).
3386
3387 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
3388
3389 * calc/calc-poly.el (math-accum-factors): Make sure that
3390 constants aren't distributed after they are factored out.
3391
3392 2010-06-16 Juri Linkov <juri@jurta.org>
3393
3394 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
3395 `list-colors-print'. (Bug#6332)
3396
3397 * subr.el (read-quoted-char): Fix up last change (bug#6290).
3398
3399 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3400
3401 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
3402 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
3403
3404 * font-lock.el (font-lock-major-mode): Rename from
3405 font-lock-mode-major-mode to distinguish it from
3406 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
3407 (font-lock-set-defaults):
3408 * font-core.el (font-lock-default-function): Adjust users.
3409 (font-lock-mode): Don't set it at all.
3410
3411 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3412
3413 * vc-annotate.el (vc-annotate): Use vc-read-revision.
3414
3415 2010-06-16 Glenn Morris <rgm@gnu.org>
3416
3417 * calendar/appt.el (appt-time-msg-list): Doc fix.
3418 (appt-check): Let-bind appt-warn-time.
3419 (appt-add): Make the 3rd argument optional.
3420 Simplify argument names. Doc fix. Check for integer WARNTIME.
3421 Only add WARNTIME to the output list if non-nil.
3422
3423 2010-06-16 Ivan Kanis <apple@kanis.eu>
3424
3425 * calendar/appt.el (appt-check): Let the 3rd element of
3426 appt-time-msg-list specify the warning time.
3427 (appt-add): Add new argument with the warning time. (Bug#5176)
3428
3429 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
3430
3431 * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
3432 older than version 1.6. (Bug#6361)
3433
3434 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
3435
3436 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
3437 used by cl-do-arglist. (Bug#6408)
3438
3439 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
3440
3441 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
3442 portuguese casechars/not-casechars for missing 'çÇ'.
3443 Suggested by Rolando Pereira (bug#6434).
3444
3445 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
3446
3447 * facemenu.el (list-colors-sort): Doc fix.
3448
3449 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
3450
3451 * progmodes/sql.el (sql-connect-mysql): Fix typo.
3452
3453 2010-06-14 Juri Linkov <juri@jurta.org>
3454
3455 Add sort option `list-colors-sort'. (Bug#6332)
3456 * facemenu.el (color-rgb-to-hsv): New function.
3457 (list-colors-sort): New defcustom.
3458 (list-colors-sort-key): New function.
3459 (list-colors-display): Doc fix. Sort list according to the option
3460 `list-colors-sort'.
3461 (list-colors-print): Add HSV values to `help-echo' property of
3462 RGB strings.
3463
3464 2010-06-14 Juri Linkov <juri@jurta.org>
3465
3466 * compare-w.el: Move to the "vc" subdirectory.
3467
3468 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * image-mode.el (image-mode-map): Remap left-char and right-char.
3471
3472 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
3473
3474 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
3475
3476 * term/common-win.el (x-colors): Add all the color names defined
3477 in rgb.txt (Bug#6332).
3478
3479 * facemenu.el (list-colors-print): Don't print extra names if it
3480 will overflow the window width.
3481
3482 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
3483 change (Bug#6343).
3484
3485 2010-06-12 Eli Zaretskii <eliz@gnu.org>
3486
3487 * files.el (make-directory): Doc fix (bug#6396).
3488
3489 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/tramp.el (tramp-remote-process-environment): Protect version
3492 string by apostroph.
3493 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3494 XEmacs.
3495 (tramp-file-name-for-operation): Add `call-process-region'.
3496 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3497
3498 * net/tramp-compat.el (top): Do not autoload
3499 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3500 only when `start-file-process' is not bound.
3501 (tramp-advice-file-expand-wildcards): Do not use
3502 `tramp-handle-file-remote-p'.
3503 (tramp-compat-make-temp-file): Handle the case, that
3504 `make-temp-file' has no third argument EXTENSION.
3505
3506 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
3507
3508 * makefile.w32-in (WINS_BASIC): Include new directory vc.
3509
3510 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
3511
3512 2010-06-11 Juri Linkov <juri@jurta.org>
3513
3514 * finder.el (finder-known-keywords): Add keyword "vc"
3515 for version control.
3516
3517 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
3518 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
3519 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
3520 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
3521
3522 2010-06-11 Juri Linkov <juri@jurta.org>
3523
3524 Move version control related files to the "vc" subdirectory.
3525 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
3526 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
3527 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
3528 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
3529 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
3530 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
3531 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
3532 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
3533 Move files to the "vc" subdirectory.
3534
3535 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
3536
3537 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
3538 (Bug#6367).
3539
3540 2010-06-11 Stephen Eglen <stephen@gnu.org>
3541
3542 * shell.el: Bind `shell-resync-dirs' to M-RET.
3543
3544 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
3545
3546 * notifications.el: Move file from lisp/net, because it is
3547 supposed to talk locally to the user.
3548
3549 2010-06-10 Julien Danjou <julien@danjou.info>
3550
3551 * net/notifications.el (notifications-on-action-signal)
3552 (notifications-on-closed-signal): Pass notification id as first
3553 argument to the callback functions. Add docstrings.
3554 (notifications-notify): Fix docstring.
3555
3556 2010-06-10 Glenn Morris <rgm@gnu.org>
3557
3558 * emacs-lisp/authors.el (authors-ignored-files)
3559 (authors-valid-file-names): Add some files.
3560
3561 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
3564 merge conflict, giving preference to the emacs-23 version of the code.
3565
3566 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3567
3568 * emacs-lisp/advice.el (ad-compile-function):
3569 Define warning-suppress-types before we let-bind it (bug#6275).
3570
3571 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
3572 declare it, make it buffer-local and permanent-local (bug#6324).
3573 (vc-resynch-window): Adjust name.
3574 * vc-hooks.el (vc-find-file-hook): Adjust name.
3575
3576 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
3577
3578 * net/notifications.el (notifications-notify): Fix docstring.
3579
3580 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
3581
3582 Update to Unicode 6.0.0 beta.
3583 * international/charprop.el: Update copyright.
3584 * international/mule-cmds.el (ucs-names): Update character ranges.
3585 * international/uni-bidi.el:
3586 * international/uni-category.el:
3587 * international/uni-combining.el:
3588 * international/uni-comment.el:
3589 * international/uni-decimal.el:
3590 * international/uni-decomposition.el:
3591 * international/uni-digit.el:
3592 * international/uni-lowercase.el:
3593 * international/uni-mirrored.el:
3594 * international/uni-name.el:
3595 * international/uni-numeric.el:
3596 * international/uni-old-name.el:
3597 * international/uni-titlecase.el:
3598 * international/uni-uppercase.el: Regenerate.
3599
3600 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
3601
3602 * emacs-lisp/smie.el (comment-string-strip): Declare function.
3603 (smie-precs-precedence-table): Fix typo in docstring.
3604
3605 * vc-mtn.el (log-edit-extract-headers): Declare function.
3606
3607 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
3608
3609 * net/notifications.el (dbus-register-signal): Declare function.
3610 (notifications-notify): Fix typos and reflow docstring.
3611
3612 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
3613
3614 Improve VC create/retrieve tag/branch.
3615 * vc.el (vc-create-tag): Do not read the directory name for VCs
3616 with repository revision granularity. Adjust the tag/branch
3617 prompt. Reset VC properties.
3618 (vc-retrieve-tag): Do not read the directory name for VCs
3619 with repository revision granularity. Reset VC properties.
3620
3621 2010-06-09 Julien Danjou <julien@danjou.info>
3622
3623 * net/notifications.el: New file.
3624
3625 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
3626
3627 Add optional support for resetting VC properties.
3628 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
3629 call vc-file-clearprops when true.
3630 (vc-resynch-buffer): Add new optional argument, pass it down.
3631 (vc-resynch-buffers-in-directory): Likewise.
3632
3633 Improve support for special markup in the VC commit message.
3634 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
3635 * vc-hg.el (vc-hg-checkin): Add support for Date:.
3636 * vc-git.el (vc-git-checkin):
3637 * vc-bzr.el (vc-bzr-checkin): Likewise.
3638
3639 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
3642 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
3643
3644 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
3645
3646 * iimage.el: Remove images as soon as the underlying text is modified.
3647 (iimage-modification-hook): New function.
3648 (iimage-mode-buffer): Use it.
3649
3650 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
3653 smie-indent-offset-after. Add :prev case. Make a bit more generic.
3654 (smie-indent-virtual): Remove `virtual' arg. Update callers.
3655 (smie-indent-keyword): Add handling of open-paren keywords.
3656 (smie-indent-comment-continue): Don't assume comment-continue.
3657
3658 2010-06-07 Martin Rudalics <rudalics@gmx.at>
3659
3660 * window.el (pop-to-buffer): Remove the conditional that
3661 compares new-window and old-window, so it will reselect
3662 the selected window unconditionally.
3663 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
3664
3665 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3666
3667 * emacs-lisp/smie.el (smie-indent-offset-after)
3668 (smie-indent-forward-token, smie-indent-backward-token): New functions.
3669 (smie-indent-after-keyword): Use them.
3670 (smie-indent-fixindent): Only applies to the indentation of the BOL.
3671 (smie-indent-keyword): Tweak the black magic.
3672 (smie-indent-comment-continue): Strip comment-continue before use.
3673 (smie-indent-functions): Indent comments before keywords.
3674
3675 2010-06-06 Juri Linkov <juri@jurta.org>
3676
3677 * isearch.el (isearch-lazy-highlight-search): Fix looping
3678 by checking for empty match. This syncs this loop with the
3679 similar loop in `isearch-search'. (Bug#6362)
3680
3681 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
3682
3683 * net/dbus.el (dbus-register-method): Declare function.
3684 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
3685 (dbus-introspect): Doc fix.
3686 (dbus-event-bus-name, dbus-introspect-get-interface)
3687 (dbus-introspect-get-argument): Reflow docstrings.
3688
3689 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
3690
3691 vc-log-incoming/vc-log-outgoing fixes for Git.
3692 * vc-git.el (vc-git-log-view-mode): Fix font lock for
3693 incoming/outgoing logs.
3694 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
3695 instead of vc-git-compute-remote.
3696 (vc-git-compute-remote): Remove.
3697
3698 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
3699
3700 * term/common-win.el (x-colors): Add "dark green" and "dark
3701 turquoise" (Bug#6332).
3702
3703 2010-06-04 Juri Linkov <juri@jurta.org>
3704
3705 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
3706 Instead of setting `replace' to t and replacing the same string
3707 with itself, don't do certain actions when
3708 kill-do-not-save-duplicates is non-nil and string is equal to car
3709 of kill-ring: don't call menu-bar-update-yank-menu, don't push
3710 interprogram-paste strings to kill-ring, and don't push the input
3711 argument `string' to kill-ring.
3712 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
3713
3714 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
3715
3716 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
3717
3718 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
3719
3720 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
3721 (tramp-gvfs-handler-mounted-unmounted)
3722 (tramp-gvfs-connection-mounted-p): Handle default-location.
3723
3724 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
3725 move files to trash.
3726
3727 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
3728
3729 * international/mule-cmds.el (nonascii-insert-offset)
3730 (nonascii-translation-table): Add obsolescence information.
3731
3732 * international/mule.el (make-translation-table-from-vector): Doc fix.
3733
3734 2010-06-03 Glenn Morris <rgm@gnu.org>
3735
3736 * desktop.el (desktop-clear-preserve-buffers):
3737 Add "*Warnings*" buffer. (Bug#6336)
3738
3739 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
3740
3741 vc-log-incoming/vc-log-outgoing improvements for Git.
3742 * vc-git.el (vc-git-log-outgoing): Use the same format as the
3743 short log.
3744 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
3745
3746 Add bindings for vc-log-incoming and vc-log-outgoing.
3747 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
3748 and vc-log-outgoing.
3749 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
3750 and vc-log-outgoing.
3751
3752 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
3753
3754 * net/rcirc.el (rcirc-sort-nicknames): Remove.
3755 (rcirc-handler-366): Always sort nicknames.
3756
3757 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
3758
3759 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
3760
3761 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
3762
3763 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
3764
3765 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * net/rcirc.el (rcirc-sort-nicknames): Change default.
3768 (rcirc-sort-nicknames-join): Avoid setq.
3769
3770 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3771
3772 * net/rcirc.el (rcirc-sort-nicknames): New custom.
3773 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
3774 (rcirc-handler-366): Use them.
3775
3776 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 Split smie-indent-calculate into more manageable chunks.
3779 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
3780 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
3781 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
3782 (smie-indent-exps): Extract from smie-indent-calculate.
3783 (smie-indent-functions): New var.
3784 (smie-indent-functions): Use them.
3785
3786 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
3789 (smie-indent-calculate): Simplify and cleanup.
3790
3791 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
3792
3793 * net/tramp-gvfs.el (top): Require url-util.
3794 (tramp-gvfs-mount-point): Remove.
3795 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
3796 New defuns.
3797 (with-tramp-dbus-call-method): Format trace message.
3798 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3799 Implement backup call, when operation on local files fails.
3800 Use progress reporter. Flush properties of changed files.
3801 (tramp-gvfs-handle-make-directory): Make more traces.
3802 (tramp-gvfs-url-file-name): Hexify file name in url.
3803 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3804 into account for the resulting file name.
3805 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
3806 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
3807 (tramp-gvfs-handler-mounted-unmounted)
3808 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3809 attribute "default_location". Set "prefix" property.
3810 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3811 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3812 exists. Raise an error, if not (due to a corresponding answer
3813 "no" in interactive questions, for example).
3814
3815 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
3816
3817 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
3818
3819 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
3820
3821 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
3822 right-*. (Bug#6265)
3823
3824 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
3825
3826 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
3827 * vc-git.el (vc-git-compute-remote): New function.
3828 (vc-git-log-outgoing): Use it instead of hard coding a value.
3829 (vc-git-log-incoming): New function.
3830
3831 Improve state updating for VC tag commands.
3832 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
3833 to update the state of all buffers in the directory.
3834
3835 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
3836
3837 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
3840 `file-directory-p' to the filename part rather than to the whole text.
3841
3842 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
3845
3846 2010-05-31 Drew Adams <drew.adams@oracle.com>
3847
3848 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
3849
3850 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
3851
3852 * subr.el (momentary-string-display): Just use read-event to read
3853 the exit event (Bug#6238).
3854
3855 2010-05-30 Eli Zaretskii <eliz@gnu.org>
3856
3857 * international/mule.el (define-coding-system): Doc fix (bug#6313).
3858
3859 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
3860
3861 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
3862 Suggested by Eli Zaretskii <eliz@gnu.org>.
3863
3864 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * minibuffer.el (completion-file-name-table): Don't return a boundary
3867 past the end of `string' (bug#6299).
3868 (completion--file-name-table): Delegate to completion-file-name-table
3869 for the `boundaries' case.
3870
3871 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
3872
3873 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
3874 movement commands.
3875
3876 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
3877 `path-separator', but maintain compatibility with Emacs 20.2.
3878
3879 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
3880
3881 * server.el (server-process-filter): Receive parent-id argument
3882 from emacsclient.
3883 (server-create-window-system-frame): New arg. Pass parent-id as
3884 frame parameter.
3885
3886 2010-05-29 Eli Zaretskii <eliz@gnu.org>
3887
3888 Bidi-sensitive word movement with arrow keys.
3889 * subr.el (right-arrow-command, left-arrow-command): Move to
3890 bindings.el.
3891
3892 * bindings.el (right-char, left-char): Move from subr.el and
3893 rename from right-arrow-command and left-arrow-command.
3894 (right-word, left-word): New functions.
3895 (global-map) <right>: Bind to right-char.
3896 (global-map) <left>: Bind to left-char.
3897 (global-map) <C-right>: Bind to right-word.
3898 (global-map) <C-left>: Bind to left-word.
3899
3900 * ls-lisp.el (ls-lisp-classify-file): New function.
3901 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
3902 (ls-lisp-classify): Call ls-lisp-classify-file.
3903 (insert-directory): Remove blanks from switches.
3904
3905 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
3906
3907 * ansi-color.el: Delete unused escape sequences (Bug#6085).
3908 (ansi-color-drop-regexp): New constant.
3909 (ansi-color-apply, ansi-color-filter-region)
3910 (ansi-color-apply-on-region): Delete unrecognized control sequences.
3911 (ansi-color-apply): Build string list before calling concat.
3912
3913 2010-05-28 Juri Linkov <juri@jurta.org>
3914
3915 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3916 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
3917 (Bug#5270)
3918
3919 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
3920
3921 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
3922 to ignored backtrace functions.
3923 (with-progress-reporter): Expand docstring.
3924 (tramp-handle-delete-file): Implement TRASH argument.
3925 (tramp-get-remote-trash): New defun.
3926
3927 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
3928
3929 * net/tramp-compat.el (tramp-compat-delete-file): Use
3930 `symbol-value' for backward compatibility.
3931
3932 * net/tramp.el (tramp-handle-make-symbolic-link)
3933 (tramp-handle-load)
3934 (tramp-do-copy-or-rename-file-via-buffer)
3935 (tramp-do-copy-or-rename-file-directly)
3936 (tramp-do-copy-or-rename-file-out-of-band)
3937 (tramp-handle-process-file, tramp-handle-call-process-region)
3938 (tramp-handle-shell-command, tramp-handle-file-local-copy)
3939 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3940 (tramp-delete-temp-file-function): Use `delete-file' instead
3941 of `tramp-compat-delete-file'.
3942
3943 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
3944 (tramp-fish-handle-make-symbolic-link)
3945 (tramp-fish-handle-process-file): Use `delete-file' instead
3946 of `tramp-compat-delete-file'.
3947
3948 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
3949 `delete-file' instead of `tramp-compat-delete-file'.
3950
3951 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
3952 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
3953 `tramp-compat-delete-file'.
3954
3955 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
3956 `delete-file' instead of `tramp-compat-delete-file'.
3957
3958 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3959 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3960 (tramp-smb-handle-write-region): Use `delete-file' instead of
3961 `tramp-compat-delete-file'.
3962 (tramp-smb-handle-delete-directory): Use 'trash as arg.
3963
3964 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3965
3966 * dired.el (dired-delete-file): New arg TRASH.
3967 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
3968 (dired-do-flagged-delete, dired-do-delete): Use trash.
3969
3970 * speedbar.el (speedbar-item-delete): Allow trashing.
3971
3972 * files.el (delete-directory): New arg TRASH.
3973
3974 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
3975 (ange-ftp-rename-remote-to-remote)
3976 (ange-ftp-rename-local-to-remote)
3977 (ange-ftp-rename-remote-to-local, ange-ftp-load)
3978 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
3979 `delete-file'.
3980 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
3981 allow trashing.
3982
3983 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3984 handle new TRASH arg of `delete-file'.
3985
3986 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
3987 (tramp-handle-make-symbolic-link, tramp-handle-load)
3988 (tramp-do-copy-or-rename-file-via-buffer)
3989 (tramp-do-copy-or-rename-file-directly)
3990 (tramp-do-copy-or-rename-file-out-of-band)
3991 (tramp-handle-process-file, tramp-handle-call-process-region)
3992 (tramp-handle-shell-command, tramp-handle-file-local-copy)
3993 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3994 (tramp-delete-temp-file-function): Use null TRASH arg in
3995 tramp-compat-delete-file call.
3996
3997 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
3998 (tramp-fish-handle-delete-file)
3999 (tramp-fish-handle-make-symbolic-link)
4000 (tramp-fish-handle-process-file): Use null TRASH arg in
4001 `tramp-compat-delete-file' call.
4002
4003 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4004 arg in `tramp-compat-delete-file' call.
4005
4006 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4007 (tramp-gvfs-handle-write-region): Use null TRASH arg in
4008 `tramp-compat-delete-file' call.
4009
4010 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4011 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4012 `tramp-compat-delete-file' call.
4013
4014 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4015 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4016 (tramp-smb-handle-write-region): Use null TRASH arg in
4017 tramp-compat-delete-file call.
4018 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4019 (tramp-smb-handle-delete-file): Rename arg.
4020
4021 * diff.el (diff-sentinel):
4022 * epg.el (epg--make-temp-file, epg-decrypt-string)
4023 (epg-verify-string, epg-sign-string, epg-encrypt-string):
4024 * jka-compr.el (jka-compr-partial-uncompress)
4025 (jka-compr-call-process, jka-compr-write-region):
4026 * server.el (server-sentinel): Remove optional arg from
4027 delete-file, reverting 2010-05-03 change.
4028
4029 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4030
4031 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4032 font-lock-constant-face, not obsolete font-lock-reference-face.
4033
4034 2010-05-27 Kenichi Handa <handa@m17n.org>
4035
4036 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4037 element of GSTRING is nil.
4038
4039 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * emacs-lisp/smie.el (smie-forward-token-function)
4042 (smie-backward-token-function): New vars.
4043 (smie-backward-sexp, smie-forward-sexp)
4044 (smie-indent-hanging-p, smie-indent-calculate): Use them.
4045 (smie-default-backward-token): Rename from smie-backward-token and
4046 skip comments.
4047 (smie-default-forward-token): Rename from smie-forward-token and
4048 skip comments.
4049 (smie-next-sexp): Handle nil results from next-token.
4050 (smie-indent-calculate): Add a new case for special `fixindent' comments.
4051
4052 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4053
4054 * progmodes/verilog-mode.el (verilog-type-font-keywords):
4055 Use font-lock-constant-face, not obsolete font-lock-reference-face.
4056
4057 2010-05-27 Masatake YAMATO <yamato@redhat.com>
4058
4059 * htmlfontify.el (hfy-face-resolve-face): New function.
4060 (hfy-face-to-style): Use it (Bug#6279).
4061
4062 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
4065 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
4066
4067 2010-05-26 Glenn Morris <rgm@gnu.org>
4068
4069 * emulation/edt.el (edt-load-keys): Use locate-library.
4070
4071 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
4072
4073 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
4074 (log-edit-changelog-entries): Doc fix.
4075 (log-edit-changelog-insert-entries): Args changed.
4076 Rename relative filenames in ChangeLog entries. Delete tabs.
4077 (log-edit-insert-changelog-entries): Reorganize return value of
4078 `log-edit-changelog-entries' to pass filenames to
4079 log-edit-changelog-insert-entries.
4080
4081 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4082
4083 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4084 `image-dired-dired-insert-marked-thumbs' to
4085 `image-dired-dired-toggle-marked-thumbs'.
4086
4087 * image-dired.el: Require cl when compiling.
4088 (image-dired-dired-toggle-marked-thumbs): Rename from
4089 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
4090 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
4091 to 'no-dir. Skip files whose names don't match
4092 `image-file-name-regexp'. When file has a thumbnail overlay,
4093 delete it. (Bug#5270)
4094
4095 2010-05-25 Juri Linkov <juri@jurta.org>
4096
4097 * image-mode.el (image-mode): Add image-after-revert-hook to
4098 after-revert-hook.
4099 (image-after-revert-hook): New function. (Bug#5669)
4100
4101 2010-05-25 Juri Linkov <juri@jurta.org>
4102
4103 * image.el (image-animated-p): When delay between animated images
4104 is 0, set it to 10 (0.1 sec). (Bug#6258)
4105
4106 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4107
4108 * net/tramp.el (tramp-handle-insert-directory): Don't use
4109 `forward-word', its default syntax could be changed.
4110
4111 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
4112
4113 * net/tramp.el (tramp-progress-reporter-update): New defun.
4114 (with-progress-reporter): Use it.
4115 (tramp-process-actions):
4116 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
4117 current message, in order to let progress reporter continue
4118 afterwards. (Bug#6257)
4119
4120 2010-05-25 Glenn Morris <rgm@gnu.org>
4121
4122 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
4123 Add :version.
4124
4125 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
4126
4127 * net/rcirc.el (rcirc-default-user-name): Change to "user".
4128 (rcirc-default-full-name): Change to "unknown".
4129 (rcirc-user-name-history): Add variable.
4130
4131 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
4132 Jonathan Rockway <jon@jrock.us>
4133
4134 * net/rcirc.el (rcirc-server-alist): Add :pass.
4135 (rcirc): When prompting for connection parameters, also prompt for
4136 username and password.
4137 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
4138 value to server when connecting.
4139
4140 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
4143 (smie-merge-prec2s): Pass the tables as separate args.
4144 (smie-bnf-precedence-table): Adjust call accordingly.
4145 (smie-prec2-levels): Set levels at the end.
4146
4147 Replace Lisp calls to delete-backward-char by delete-char.
4148 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
4149 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
4150 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
4151 * calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
4152 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
4153 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
4154 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
4155 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
4156 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
4157 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
4158 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
4159 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
4160 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
4161 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
4162 delete-backward-char by calls to delete-char.
4163
4164 2010-05-25 Kenichi Handa <handa@m17n.org>
4165
4166 * language/hebrew.el (hebrew-shape-gstring): New function.
4167 Register it in composition-function-table for all Hebrew combining
4168 characters.
4169
4170 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * epa.el (epa--select-keys): Don't explicitly delete the window since
4173 that can fail (e.g. sole window in frame). Use dedication instead.
4174
4175 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4176
4177 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
4178
4179 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
4180
4181 * image.el (image-refresh): Define as an alias for image-flush.
4182
4183 * image-mode.el (image-toggle-display-image): Caller changed.
4184
4185 2010-05-21 Juri Linkov <juri@jurta.org>
4186
4187 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
4188 Remove "all" from grep-files-aliases. Split grep-files-aliases by
4189 whitespace, call wildcard-to-regexp on substrings and concat them
4190 with "\\|". (Bug#6114)
4191
4192 2010-05-21 Alan Mackenzie <acm@muc.de>
4193
4194 * progmodes/cc-engine.el (c-parse-state-get-strategy):
4195 Replace parameter `here' with `here-' and `here-plus', which sandwich
4196 any pertinent CPP construct.
4197 (c-remove-stale-state-cache-backwards): Fix a bug which happens
4198 when doing (c-parse-state) in a CPP construct: Exclude any "new"
4199 CPP construct from taking part in the scanning.
4200
4201 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
4202
4203 * net/tramp.el (tramp-do-copy-or-rename-file)
4204 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
4205 Tune `with-progress-reporter' messages.
4206 (tramp-handle-vc-registered):
4207 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
4208 (tramp-fish-handle-insert-file-contents)
4209 (tramp-fish-maybe-open-connection):
4210 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4211 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
4212 (tramp-imap-handle-insert-file-contents)
4213 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4214
4215 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
4216
4217 * add-log.el (change-log-font-lock-keywords):
4218 Highlight all authors in multi-author entries.
4219
4220 * smerge-mode.el (smerge-refine-ignore-whitespace)
4221 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
4222 Fix typos in docstrings.
4223 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
4224
4225 2010-05-21 Glenn Morris <rgm@gnu.org>
4226
4227 * progmodes/fortran.el (fortran-mode):
4228 * progmodes/f90.el (f90-mode): Derive from prog-mode.
4229
4230 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
4231 having a relative path in src/Makefile.in.
4232
4233 2010-05-20 Kevin Ryde <user42@zip.com.au>
4234
4235 * help-mode.el (help-make-xrefs): For Info node links turn
4236 newlines into spaces. Link node names with newlines are matched
4237 by help-xref-info-regexp and buttonized, this change ensures they
4238 can be followed successfully with RET. (Bug#6206)
4239
4240 2010-05-20 Juri Linkov <juri@jurta.org>
4241
4242 * locate.el (locate): Use pop-to-buffer instead of
4243 switch-to-buffer-other-window. (Bug#6204)
4244
4245 2010-05-20 Juri Linkov <juri@jurta.org>
4246
4247 * replace.el (replace-highlight): Fix lazy-highlighting
4248 for `M-s w str M-% str RET'.
4249
4250 2009-12-15 Masatake YAMATO <yamato@redhat.com>
4251
4252 * isearch.el (isearch-yank-word-or-char): Pull next subword
4253 when `subword-mode' is activated. (Bug#6220)
4254
4255 2010-05-20 Mark A. Hershberger <mah@everybody.org>
4256
4257 * isearch.el (isearch-update-post-hook): New hook.
4258 (isearch-update): Use the new hook. (Bug#6225)
4259
4260 2010-05-20 Juri Linkov <juri@jurta.org>
4261
4262 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
4263 [f1], [help], and (char-to-string help-char) instead of "\C-h".
4264 (Bug#6222)
4265
4266 2010-05-20 Juri Linkov <juri@jurta.org>
4267
4268 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
4269 (Bug#6223)
4270
4271 2010-05-20 Juri Linkov <juri@jurta.org>
4272
4273 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
4274 FILE-NAME to read from the minibuffer when called interactively
4275 with prefix argument instead of using buffer-file-name.
4276 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
4277
4278 * dired.el: Update autoloads.
4279
4280 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
4281
4282 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
4283 nxml-finish-element, for consistency with SGML mode.
4284
4285 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
4286 octave-close-block.
4287
4288 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
4289
4290 * composite.el: Require cl when compiling.
4291 (reference-point-alist, compose-gstring-for-graphic)
4292 (compose-gstring-for-terminal): Fix typos in docstrings.
4293
4294 2010-05-19 Juri Linkov <juri@jurta.org>
4295
4296 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
4297 set-window-parameter.
4298
4299 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
4300
4301 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
4302 where appropriate.
4303 (tramp-maybe-open-connection): Use it.
4304
4305 2010-05-19 Eli Zaretskii <eliz@gnu.org>
4306
4307 * simple.el (move-end-of-line): Make sure we are at line beginning
4308 before backing up to end of previous line.
4309
4310 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
4311
4312 * password-cache.el (password-cache-remove): Fix docstring.
4313
4314 * net/secrets.el: Autoload the widget functions.
4315 (secrets-search-items, secrets-create-item)
4316 (secrets-get-attributes, secrets-expand-item): Attributes will be
4317 stored on the password database without leading ":", as all other
4318 clients do as well.
4319 (secrets-mode): Fix docstring.
4320 (secrets-show-secrets): Provide it as autoloaded command only when
4321 D-Bus support is available. Check existence of Secret Service API.
4322
4323 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4324
4325 * indent.el (indent-region): Deactivate region (bug#6200).
4326
4327 2010-05-19 Glenn Morris <rgm@gnu.org>
4328
4329 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
4330
4331 2010-05-19 Kenichi Handa <handa@m17n.org>
4332
4333 * composite.el: Register compose-gstring-for-graphic in
4334 composition-function-table only for combining characters (Mn, Mc, Me).
4335
4336 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
4337
4338 * calc/calc-trail.el (calc-trail-isearch-forward)
4339 (calc-trail-isearch-backward): Ensure that the new window
4340 point is set correctly.
4341
4342 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * subr.el (read-quoted-char): Resolve modifiers after key
4345 remapping (bug#6212).
4346
4347 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
4348
4349 Add visualization code for secrets.
4350 * net/secrets.el (secrets-mode): New major mode.
4351 (secrets-show-secrets, secrets-show-collections)
4352 (secrets-expand-collection, secrets-expand-item)
4353 (secrets-tree-widget-after-toggle-function)
4354 (secrets-tree-widget-show-password): New defuns.
4355
4356 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
4359 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
4360 handled in smie-next-sexp.
4361 (smie-indent-calculate): Provide a starting indentation (so the
4362 recursion is well-founded ;-).
4363
4364 Fix handling of non-associative equal levels.
4365 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
4366 when it's not needed.
4367 (smie-op-left, smie-op-right): New functions.
4368 (smie-next-sexp): New function, extracted from smie-backward-sexp.
4369 Better handle equal levels to distinguish the associative case from
4370 the "multi-keyword construct" case.
4371 (smie-backward-sexp, smie-forward-sexp): Use it.
4372
4373 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
4374
4375 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
4376
4377 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
4378 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
4379
4380 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 Provide a simple generic indentation engine and use it for Prolog.
4383 * emacs-lisp/smie.el: New file.
4384 * progmodes/prolog.el (prolog-smie-op-levels)
4385 (prolog-smie-indent-rules): New var.
4386 (prolog-mode-variables): Use them to configure SMIE.
4387 (prolog-indent-line, prolog-indent-level): Remove.
4388
4389 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4390
4391 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
4392 order before computing the averages.
4393
4394 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
4395
4396 * calc/calc-vec.el (calc-histogram):
4397 (calcFunc-histogram): Allow vectors as inputs.
4398 (math-vector-avg): New function.
4399
4400 * calc/calc-ext.el (math-group-float): Have the number of digits
4401 being grouped depend on the radix (Bug#6189).
4402
4403 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
4404
4405 * version.el (emacs-copyright, emacs-version): Don't define here,
4406 now that emacs.c defines it.
4407
4408 2010-05-15 Eli Zaretskii <eliz@gnu.org>
4409
4410 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
4411 "Describe Language Environment" menu item.
4412
4413 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
4414
4415 Bidi-sensitive movement with arrow keys.
4416 * subr.el (right-arrow-command, left-arrow-command): New functions.
4417
4418 * bindings.el (global-map): Bind them to right and left arrow keys.
4419
4420 Don't override standard definition of convert-standard-filename.
4421 * files.el (convert-standard-filename): Call
4422 w32-convert-standard-filename and dos-convert-standard-filename on
4423 the corresponding systems.
4424
4425 * w32-fns.el (w32-convert-standard-filename): Rename from
4426 convert-standard-filename. Doc fix.
4427
4428 * dos-fns.el (dos-convert-standard-filename): Doc fix.
4429 (convert-standard-filename): Don't defalias.
4430 (register-name-alist, make-register, register-value)
4431 (set-register-value, intdos): Obsolete aliases for the
4432 corresponding dos-* functions and variables.
4433 (dos-intdos): Add a doc string.
4434
4435 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
4436
4437 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
4438 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
4439 (math-compose-tex-func):
4440 * calc/calccomp.el (math-compose-expr):
4441 * calc/calc-ext.el (math-format-flat-expr-fancy):
4442 * calc/calc-store.el (calc-read-var-name):
4443 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
4444
4445 * calc/calc.el (var-π, var-φ, var-γ): New variables.
4446 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
4447 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
4448 (math-standard-units): Add units.
4449
4450 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * progmodes/asm-mode.el (asm-mode):
4453 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
4454
4455 * pcomplete.el (pcomplete-completions-at-point): New function,
4456 extracted from pcomplete-std-complete.
4457 (pcomplete-std-complete): Use it.
4458
4459 2010-05-15 Glenn Morris <rgm@gnu.org>
4460
4461 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4462 Remove references to CVS, RCS and Old directories.
4463
4464 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
4465
4466 * calc/calc-bin.el (math-format-twos-complement): Group digits when
4467 appropriate.
4468
4469 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4470
4471 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
4472 (sh-mode-syntax-table): Give it a default value instead.
4473 (sh-header-marker): Make buffer-local.
4474 (sh-mode): Move make-local-variable to the corresponding setq.
4475 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
4476 Use complete-with-action.
4477
4478 * simple.el (prog-mode): New (abstract) major mode.
4479 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
4480 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
4481
4482 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
4483
4484 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
4485 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
4486 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
4487 (sql-make-alternate-buffer-name, sql-placeholders-filter)
4488 (sql-escape-newlines-filter, sql-input-sender)
4489 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
4490
4491 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
4492
4493 Add TeX open-block and close-block keybindings to SGML, and vice versa.
4494
4495 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
4496 latex-open-block and C-c / to latex-close-block.
4497
4498 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
4499 and C-c C-e to sgml-close-tag.
4500
4501 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
4502
4503 * net/tramp.el (with-progress-reporter): Create reporter object
4504 only when the message would be displayed. Handle nested calls.
4505 (tramp-handle-load, tramp-handle-file-local-copy)
4506 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4507 (tramp-maybe-send-script, tramp-find-shell):
4508 Use `with-progress-reporter'.
4509 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
4510 Fix message text.
4511
4512 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4513 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4514 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4515 Use `with-progress-reporter'.
4516
4517 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
4518
4519 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
4520 process everytime when spellchecking from the minibuffer (bug#6143).
4521
4522 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
4525
4526 * dos-fns.el: Add "dos-" prefix for namespace control.
4527 (convert-standard-filename): Define as alias for
4528 dos-convert-standard-filename but only if applicable.
4529
4530 2010-05-12 Alan Mackenzie <acm@muc.de>
4531
4532 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
4533 Push the mark at the start of these functions when appropriate.
4534
4535 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * minibuffer.el (completion-cycle-threshold): New custom var.
4538 (completion--do-completion): Use it.
4539 (minibuffer-complete): Use cycling if appropriate.
4540
4541 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
4542
4543 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
4544 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
4545
4546 2010-05-11 Juri Linkov <juri@jurta.org>
4547
4548 * scroll-all.el (scroll-all-check-to-scroll):
4549 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
4550
4551 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4552
4553 * iimage.el (iimage-mode-map): Move initialization into declaration.
4554 (iimage-mode-buffer): Use with-silent-modifications.
4555 Simplify calling convention. Adjust callers.
4556 (iimage-mode): Don't run hook redundantly.
4557
4558 * minibuffer.el (completion-pcm--pattern->regex):
4559 Fix last change (bug#6160).
4560
4561 2010-05-10 Juri Linkov <juri@jurta.org>
4562
4563 Remove nodes visited during Isearch from the Info history.
4564 * info.el (Info-isearch-initial-history)
4565 (Info-isearch-initial-history-list): New variables.
4566 (Info-isearch-start): Record initial values of
4567 Info-isearch-initial-history and Info-isearch-initial-history-list.
4568 Add Info-isearch-end to isearch-mode-end-hook.
4569 (Info-isearch-end): New function.
4570
4571 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
4572
4573 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
4574 format string, in order to work around a bug in pdksh.
4575 Reported by Gilles Pion <gpion@lfdj.com>.
4576 (tramp-handle-verify-visited-file-modtime): Do not send a command
4577 when the connection is not established.
4578 (tramp-handle-set-file-times): Simplify the check for utc.
4579
4580 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
4581
4582 Fix use of `filter-buffer-substring' (rework previous change).
4583 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
4584 (cua-repeat-replace-region):
4585 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
4586 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4587 (cua-cut-region-to-global-mark): Use it.
4588
4589 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
4590
4591 * progmodes/sql.el: Version 2.1.
4592 (sql-product-alist): Redesign structure of product info.
4593 (sql-product, sql-user, sql-server, sql-database): Safe variables.
4594 (sql-port, sql-port-history): New variables.
4595 (sql-interactive-product): New variable.
4596 (sql-send-terminator): New variable.
4597 (sql-imenu-generic-expression): Add "Types" imenu entry.
4598 (sql-oracle-login-params, sql-sqlite-login-params)
4599 (sql-mysql-login-params, sql-solid-login-params)
4600 (sql-sybase-login-params, sql-informix-login-params)
4601 (sql-ingres-login-params, sql-ms-login-params)
4602 (sql-postgres-login-params, sql-interbase-login-params)
4603 (sql-db2-login-params, sql-linter-login-params)
4604 (sql-oracle-scan-on): New variables.
4605 (sql-mode-map): Add C-c C-i to start interactive mode.
4606 (sql-mode-menu): Update existing menu entries.
4607 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
4608 (sql-mode-oracle-font-lock-keywords)
4609 (sql-mode-postgres-font-lock-keywords)
4610 (sql-mode-ms-font-lock-keywords)
4611 (sql-mode-sybase-font-lock-keywords)
4612 (sql-mode-informix-font-lock-keywords)
4613 (sql-mode-interbase-font-lock-keywords)
4614 (sql-mode-ingres-font-lock-keywords)
4615 (sql-mode-solid-font-lock-keywords)
4616 (sql-mode-mysql-font-lock-keywords)
4617 (sql-mode-sqlite-font-lock-keywords)
4618 (sql-mode-db2-font-lock-keywords)
4619 (sql-mode-linter-font-lock-keywords): Update initialization to
4620 reduce run-time complexity.
4621 (sql-add-product, sql-del-product): New functions.
4622 (sql-set-product-feature, sql-get-product-feature): New functions.
4623 (sql-product-font-lock): Update product API.
4624 (sql-add-product-keywords): New function.
4625 (sql-highlight-product): Update product API.
4626 (sql-help-list-products): New function.
4627 (sql-help): Dynamically lists free and non-free products.
4628 (sql-get-login): Correct bug in handling history and added
4629 prompt for port.
4630 (sql-copy-column): Copy without properties.
4631 (sqli-input-sender): Apply filters to SQLi input.
4632 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
4633 Implement as a filter.
4634 (sql-escape-newlines-filter): Implement as a filter.
4635 (sql-remove-tabs-filter): New function.
4636 (sql-send-magic-terminator): New function.
4637 (sql-send-string): Implement magic terminator.
4638 (sql-send-region): Use `sql-send-string'.
4639 (sql-interactive-mode): Use product API.
4640 (sql-product-interactive): Use product API.
4641 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4642 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4643 (sql-db2, sql-linter): Use `sql-product-interactive'.
4644 (sql-connect): New function.
4645 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
4646 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
4647 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
4648 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
4649 Use `sql-connect'.
4650
4651 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4654 New custom variable.
4655 (completion-pcm--string->pattern): Use it.
4656 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
4657 Make it handle any symbol as `any'.
4658 (completion-pcm--merge-completions): Extract common suffix for the new
4659 `prefix' symbol as well.
4660 (completion-substring--all-completions): Use the new `prefix' symbol.
4661
4662 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
4663
4664 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
4665 not bound.
4666 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4667 (tramp-compat-funcall): New defmacro.
4668 (tramp-compat-line-beginning-position)
4669 (tramp-compat-line-end-position)
4670 (tramp-compat-temporary-file-directory)
4671 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4672 (tramp-compat-copy-file, tramp-compat-copy-directory)
4673 (tramp-compat-delete-file, tramp-compat-delete-directory)
4674 (tramp-compat-number-sequence, tramp-compat-process-running-p)
4675 * net/tramp.el (top, with-progress-reporter)
4676 (tramp-rfn-eshadow-setup-minibuffer)
4677 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4678 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4679 (tramp-completion-mode-p, tramp-check-for-regexp)
4680 (tramp-open-connection-setup-interactive-shell)
4681 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4682 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4683 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
4684 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4685 (tramp-reporter-dump-variable, tramp-load-report-modules)
4686 (tramp-append-tramp-buffers)
4687 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
4688
4689 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4690
4691 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * progmodes/compile.el (compilation-buffer-modtime): Rename from
4694 buffer-modtime. Adjust users.
4695
4696 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
4697
4698 * international/mule.el (auto-coding-alist): Only purecopy
4699 car of each item, not the whole list (Bug#6083).
4700
4701 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
4702
4703 * progmodes/js.el (js-mode): Make paragraph variables local before
4704 calling c-setup-paragraph-variables (Bug#6071).
4705
4706 2010-05-08 Eli Zaretskii <eliz@gnu.org>
4707
4708 * composite.el (compose-region, reference-point-alist): Fix typos
4709 in the doc strings.
4710
4711 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4712
4713 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
4714 gnuplot's "set" command.
4715
4716 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
4717
4718 * abbrev.el (last-abbrev-text): Doc fix.
4719 (abbrev-prefix-mark): Don't escape parenthesis.
4720
4721 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
4722
4723 * composite.el (find-composition): Doc fix.
4724
4725 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
4726
4727 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
4728 (sql-oracle-program, sql-sqlite-options)
4729 (sql-query-placeholders-and-send): Doc fixes.
4730 (sql-set-product, sql-interactive-mode): Reflow docstrings.
4731 (sql-imenu-generic-expression, sql-buffer)
4732 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
4733 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
4734 (sql-mode-sybase-font-lock-keywords)
4735 (sql-mode-informix-font-lock-keywords)
4736 (sql-mode-interbase-font-lock-keywords)
4737 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
4738 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
4739 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
4740 (sql-product-feature, sql-highlight-product)
4741 (comint-line-beginning-position, sql-rename-buffer)
4742 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
4743 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
4744 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
4745 Fix typos in docstrings.
4746
4747 2010-05-08 Juri Linkov <juri@jurta.org>
4748
4749 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
4750 property instead of `invisible' and `after-string' (bug#5998).
4751
4752 2010-05-08 Juri Linkov <juri@jurta.org>
4753
4754 * image-mode.el (image-mode-as-text): Fix typo in docstring.
4755
4756 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
4757
4758 * filecache.el (file-cache-add-directory-list)
4759 (file-cache-add-directory-recursively): Fix typos in docstrings.
4760
4761 2010-05-08 Kenichi Handa <handa@m17n.org>
4762
4763 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
4764 (gujarati-composable-pattern): Fix typo.
4765
4766 2010-05-08 Kenichi Handa <handa@m17n.org>
4767
4768 * language/indian.el (oriya-composable-pattern)
4769 (tamil-composable-pattern, malayalam-composable-pattern):
4770 Add two-part vowels to "v" (vowel sign).
4771
4772 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
4773
4774 * files.el (copy-directory): Handle symlinks (Bug#5982).
4775
4776 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
4777
4778 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
4779 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
4780 (Bug#5846).
4781
4782 2010-05-08 Glenn Morris <rgm@gnu.org>
4783
4784 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
4785
4786 * minibuffer.el (completion-at-point): Doc fix.
4787
4788 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * electric.el (Electric-command-loop): Minor tweak.
4791
4792 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
4793 better with dedicated windows.
4794
4795 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
4796
4797 * Version 23.2 released.
4798
4799 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
4800 Stefan Monnier <monnier@iro.umontreal.ca>
4801
4802 Highlight vendor specific properties.
4803 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
4804 (css-proprietary-property): New face.
4805 (css-font-lock-keywords): Use them.
4806
4807 2010-05-07 Eli Zaretskii <eliz@gnu.org>
4808
4809 * cus-start.el (all): Add native condition for tool-bar-* symbols.
4810
4811 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
4814 * files.el (auto-mode-alist): Remove redundant entries.
4815
4816 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
4817 * simple.el (auto-save-mode): Move from files.el.
4818 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
4819
4820 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
4821
4822 * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
4823
4824 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
4825
4826 * mail/binhex.el (binhex-decode-region-internal)
4827 * mail/uudecode.el (uudecode-decode-region-internal)
4828 * net/dns.el (dns-read-string-name, dns-write, dns-read)
4829 (dns-read-type, dns-query)
4830 * pgg-parse.el (pgg-parse-armor)
4831 * pgg.el (pgg-verify-region)
4832 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
4833 XEmacs.
4834
4835 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
4836
4837 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
4838
4839 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
4840
4841 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
4842 * emulation/cua-base.el (cua-repeat-replace-region):
4843 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4844 (cua-cut-region-to-global-mark):
4845 Remove text properties with `set-text-properties'.
4846
4847 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
4848
4849 * net/tramp.el (top, with-progress-reporter):
4850 Use `symbol-function' inside `funcall'.
4851
4852 * net/tramp-compat.el (tramp-compat-file-attributes)
4853 (tramp-compat-delete-file, tramp-compat-delete-directory):
4854 Handle only `wrong-number-of-arguments' error.
4855
4856 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
4857 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
4858 inside `funcall'.
4859
4860 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4861
4862 * minibuffer.el (completion--sreverse, completion--common-suffix):
4863 New functions.
4864 (completion-pcm--merge-completions): Extract common suffix when safe.
4865
4866 * emacs-lisp/easy-mmode.el (define-minor-mode):
4867 Make :variable more flexible.
4868 * files.el (auto-save-mode): Use it to define using define-minor-mode.
4869
4870 2010-05-05 Juri Linkov <juri@jurta.org>
4871
4872 Add `slow' and `history' tags to the desktop data.
4873
4874 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
4875 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
4876 (Info-finder-find-node): Require `finder.el' to be able
4877 to restore node from the desktop.
4878 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
4879 data `Info-history' and `slow' tag in the assoc list.
4880 (Info-restore-desktop-buffer): Don't restore nodes with the
4881 `slow' tag. Restore `Info-history'.
4882
4883 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
4884
4885 Add FORCE argument to `delete-file'.
4886
4887 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
4888 forcing to delete the temporary file.
4889 (ange-ftp-delete-file): Add FORCE arg.
4890 (ange-ftp-rename-remote-to-remote)
4891 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
4892 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
4893 Force file deletion.
4894
4895 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
4896
4897 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
4898 (tramp-handle-make-symbolic-link, tramp-handle-load)
4899 (tramp-do-copy-or-rename-file-via-buffer)
4900 (tramp-do-copy-or-rename-file-directly)
4901 (tramp-do-copy-or-rename-file-out-of-band)
4902 (tramp-handle-process-file, tramp-handle-call-process-region)
4903 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4904 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4905 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
4906
4907 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
4908 (tramp-fish-handle-make-symbolic-link)
4909 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
4910
4911 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4912 Use `tramp-compat-delete-file'.
4913
4914 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
4915 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
4916
4917 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
4918 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
4919
4920 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
4921 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
4922 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
4923 `tramp-compat-delete-file'.
4924
4925 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 Minor cleanups.
4928 * subr.el (add-minor-mode): Use push.
4929 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
4930 * emulation/edt.el (edt-select-mode): Simplify.
4931
4932 Use define-minor-mode in more cases.
4933 * term/tvi970.el (tvi970-set-keypad-mode):
4934 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4935 (normal-erase-is-backspace-mode):
4936 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
4937 (set-scroll-bar-mode-1): (Re)move to its sole caller.
4938 (get-scroll-bar-mode): New function.
4939 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
4940
4941 Use define-minor-mode for less obvious cases.
4942 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
4943 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
4944 * international/iso-ascii.el (iso-ascii-mode):
4945 * frame.el (auto-raise-mode, auto-lower-mode):
4946 * composite.el (global-auto-composition-mode): Use define-minor-mode.
4947
4948 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
4949
4950 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
4951 in order to see error messages for failed logins.
4952
4953 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
4954
4955 * diff.el (diff-sentinel):
4956
4957 * epg.el (epg--make-temp-file, epg-decrypt-string)
4958 (epg-verify-string, epg-sign-string, epg-encrypt-string):
4959
4960 * jka-compr.el (jka-compr-partial-uncompress)
4961 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
4962
4963 * server.el (server-sentinel): Use delete-file's new FORCE arg
4964 (Bug#6070).
4965
4966 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 Use define-minor-mode where applicable.
4969 * view.el (view-mode):
4970 * type-break.el (type-break-query-mode)
4971 (type-break-mode-line-message-mode):
4972 * textmodes/reftex.el (reftex-mode):
4973 * term/vt100.el (vt100-wide-mode):
4974 * tar-mode.el (tar-subfile-mode):
4975 * savehist.el (savehist-mode):
4976 * ibuf-ext.el (ibuffer-auto-mode):
4977 * composite.el (auto-composition-mode):
4978 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4979 Use define-minor-mode.
4980 (vhdl-mode): Use static mode-line format.
4981 (vhdl-mode-line-update): Delete.
4982 (vhdl-create-mode-menu, vhdl-activate-customizations)
4983 (vhdl-hs-minor-mode): Don't bother calling it.
4984
4985 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * simple.el (with-wrapper-hook): Move.
4988 (buffer-substring-filters): Mark obsolete.
4989 (filter-buffer-substring-functions): New variable.
4990 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
4991
4992 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4993 Michael Albinus <michael.albinus@gmx.de>
4994
4995 Implement compression for inline methods.
4996
4997 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4998 (tramp-copy-size-limit): Allow also nil.
4999 (tramp-inline-compress-commands): New defconst.
5000 (tramp-find-inline-compress, tramp-get-inline-compress)
5001 (tramp-get-inline-coding): New defuns.
5002 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5003 replaced by `tramp-get-inline-coding'.
5004 (tramp-handle-file-local-copy, tramp-handle-write-region)
5005 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5006
5007 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5010 Remove unused functions.
5011
5012 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5013 Set find-tag-default-function as a variable rather than a property.
5014
5015 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5016 * progmodes/etags.el (tags-completion-at-point-function):
5017 Remove left over interactive spec. Add autoloading stub.
5018 (complete-tag): Use tags-completion-at-point-function.
5019
5020 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
5021
5022 * minibuffer.el (tags-completion-at-point-function): Fix return value.
5023
5024 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5025
5026 * ido.el (ido-init-completion-maps): Remove C-v binding.
5027 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5028
5029 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5030
5031 * minibuffer.el (tags-completion-at-point-function): New function.
5032 (completion-at-point-functions): Use it.
5033
5034 * progmodes/etags.el (complete-tag): Revert last change.
5035
5036 2010-04-29 Alan Mackenzie <acm@muc.de>
5037
5038 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5039 off-by-one error (in end of macro position).
5040
5041 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5044 firefox is absent. Don't autoload.
5045 (browse-url-galeon-program): Don't autoload.
5046
5047 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
5048
5049 * bindings.el (complete-symbol): Move into minibuffer.el.
5050
5051 * minibuffer.el (complete-tag): Move from etags.el. If tags
5052 completion cannot be performed, return nil instead of signalling
5053 an error.
5054 (completion-at-point): Make it an alias for complete-symbol.
5055 (complete-symbol): Move from bindings.el, and replace with the
5056 body of completion-at-point.
5057
5058 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
5059
5060 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
5061
5062 * net/tramp.el (tramp-remote-selinux-p): New defun.
5063 (tramp-handle-file-selinux-context)
5064 (tramp-handle-set-file-selinux-context): Use it.
5065
5066 2010-04-28 Sam Steingold <sds@gnu.org>
5067
5068 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5069 `safe-local-variable' if the value is a string or a symbol with
5070 the property `bug-reference-url-format'.
5071
5072 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
5073
5074 * progmodes/bug-reference.el (bug-reference-url-format):
5075 Revert 2010-04-27 change due to security risk.
5076
5077 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 Make it possible to locally disable a globally enabled mode.
5080 * simple.el (fundamental-mode): Run fundamental-mode-hook.
5081 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
5082 rather than kill-all-local-variables so it runs fundamental-mode-hook.
5083 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5084 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
5085 that subsequent hooks get a chance to disable it.
5086
5087 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5088
5089 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5090 Avoid re-enabling a minor mode after the user turned the minor mode
5091 off if MODE-enable-in-buffers is run twice (typically once from
5092 fundamental-mode's after-change-major-mode-hook and a second time from
5093 run-mode-hook's own after-change-major-mode-hook).
5094
5095 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
5096
5097 2010-04-27 Sam Steingold <sds@gnu.org>
5098
5099 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5100 `safe-local-variable' if the value is a string or a function, as
5101 documented and implemented on 2010-04-02.
5102
5103 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
5104
5105 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
5106 when method is 'kill.
5107
5108 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
5109
5110 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
5111 condition in default directory check.
5112 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
5113 Kill ispell process when killing its associated buffer.
5114
5115 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
5116
5117 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
5118 but we aren't using it.
5119
5120 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
5121
5122 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
5123 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
5124
5125 2010-04-24 Glenn Morris <rgm@gnu.org>
5126
5127 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
5128 Ignore VCS-ignore files, and deleted nextstep preferences files.
5129 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
5130 (authors-ambiguous-files): New list.
5131 (authors-valid-file-names): Add some deleted files.
5132 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
5133 (authors-disambiguate-file-name): New function. (Bug#5501)
5134 (authors-canonical-file-name): Doc fix.
5135 Don't warn about obsolete files.
5136 (authors-canonical-file-name, authors-scan-el):
5137 Use authors-disambiguate-file-name.
5138
5139 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5140 Add autoload cookies.
5141 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
5142 (generated-autoload-file): Set file-local value to "htmlfontify.el".
5143 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
5144 They have definitions / compiler macros in cl.el.
5145 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5146 Replace manual autoloads with generated ones.
5147 (htmlfontify-unload-rgb-file): Remove autoload.
5148 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
5149
5150 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5151
5152 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
5153 (byte-compile-setq-default): Optimize for the
5154 single-var case and don't call byte-compile-form in this case to avoid
5155 inf-loop with byte-compile-set-default.
5156
5157 * progmodes/compile.el (compilation-start): Abbreviate default directory.
5158
5159 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
5160
5161 Implement SELINUX backends.
5162
5163 * net/tramp.el (tramp-file-name-handler-alist):
5164 Add `file-selinux-context' and `set-file-selinux-context'.
5165 (tramp-handle-file-selinux-context)
5166 (tramp-handle-set-file-selinux-context): New defuns.
5167 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5168 Handle PRESERVE-SELINUX-CONTEXT.
5169
5170 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5171 Add `file-selinux-context' and `set-file-selinux-context'.
5172 (tramp-gvfs-handle-file-selinux-context)
5173 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5174 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5175
5176 * net/ange-ftp.el (ange-ftp-copy-file):
5177 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5178 * net/tramp-imap.el (tramp-imap-handle-copy-file):
5179 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5180 Add PRESERVE-SELINUX-CONTEXT.
5181
5182 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5183
5184 Synchronize with Tramp repository.
5185
5186 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
5187 (tramp-action-process-alive, tramp-action-out-of-band)
5188 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5189 (tramp-exists-file-name-handler): Fix docstring.
5190 (with-progress-reporter): New defmacro.
5191 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
5192 (tramp-maybe-open-connection): Use it.
5193
5194 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
5195
5196 Detect ssh 'ControlMaster' argument automatically in some cases.
5197
5198 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5199 (tramp-default-method): Use it.
5200
5201 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5202
5203 * net/tramp.el (tramp-handle-copy-file): Add new optional
5204 parameter `preserve-selinux-context'.
5205 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
5206
5207 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5208
5209 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
5210 Ensure, that non remote files are still checked. Oops.
5211
5212 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
5213
5214 Fix Bug#5840.
5215
5216 * icomplete.el (icomplete-completions): Use `non-essential'.
5217
5218 * net/tramp.el (tramp-connectable-p): New defun.
5219 (tramp-handle-expand-file-name)
5220 (tramp-completion-handle-file-name-all-completions)
5221 (tramp-completion-handle-file-name-completion): Use it.
5222
5223 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5224
5225 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
5226
5227 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
5228
5229 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
5230
5231 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
5232
5233 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
5234 is present.
5235
5236 * info.el (info-tool-bar-map): Add labels.
5237
5238 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
5239
5240 * cus-edit.el (custom-commands): Add labels for tool bar.
5241 (custom-buffer-create-internal, Custom-mode): Adjust for
5242 labels in custom-commands.
5243
5244 * dynamic-setting.el: Renamed from font-setting.el.
5245
5246 2010-04-21 John Wiegley <jwiegley@gmail.com>
5247
5248 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
5249 toggles the use of virtual buffers.
5250 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
5251 (ido-toggle-virtual-buffers): New function.
5252
5253 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
5254
5255 Use `define-derived-mode'; fix window selection; doc fixes.
5256 * play/tetris.el (tetris, tetris-update-speed-function)
5257 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
5258 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
5259 (tetris-rotate-next, tetris-end-game, tetris-start-game)
5260 (tetris-pause-game): Fix typos in docstrings.
5261 (tetris-mode-map, tetris-null-map):
5262 Move initialization into declaration.
5263 (tetris-mode): Define with `define-derived-mode';
5264 set show-trailing-whitespace to nil.
5265 (tetris): Prefer window already displaying the "*Tetris*" buffer.
5266
5267 2010-04-21 Karel Klíč <kklic@redhat.com>
5268
5269 * files.el (backup-buffer): Handle SELinux context, and return it
5270 if a backup was made by renaming.
5271 (backup-buffer-copy): Set SELinux context to the target file.
5272 (basic-save-buffer): Set SELinux context of the newly written file.
5273 (basic-save-buffer-1): Now it also returns any SELinux context.
5274 (basic-save-buffer-2): Set SELinux context of the newly created file,
5275 and return it.
5276 * net/tramp.el (tramp-file-name-for-operation):
5277 Add file-selinux-context.
5278
5279 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 Make the log-edit comments use RFC822 format throughout.
5282
5283 * vc.el (vc-checkin, vc-modify-change-comment):
5284 Adjust to new vc-start/finish-logentry.
5285 (vc-find-conflicted-file): New command.
5286 (vc-transfer-file): Adjust to new vc-checkin.
5287 (vc-next-action): Improve scoping.
5288
5289 * vc-hg.el (vc-hg-log-edit-mode): Remove.
5290 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
5291
5292 * vc-git.el (vc-git-log-edit-mode): Remove.
5293 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
5294 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
5295
5296 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
5297 (vc-start-logentry): Remove argument `extra'.
5298 (vc-finish-logentry): Remove extra args.
5299
5300 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
5301 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
5302 (vc-bzr-conflicted-files): New function.
5303
5304 * log-edit.el (log-edit-extra-flags)
5305 (log-edit-before-checkin-process): Remove.
5306 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
5307 (log-edit-headers-alist): New var.
5308 (log-edit-header-contents-regexp): New const.
5309 (log-edit-match-to-eoh): New function.
5310 (log-edit-font-lock-keywords): Use them.
5311 (log-edit): Insert a "Summary:" header as default.
5312 (log-edit-mode): Mark font-lock rules as case-insensitive.
5313 (log-edit-done): Cleanup headers.
5314 (log-view-process-buffer): Remove.
5315 (log-edit-extract-headers): New function to replace it.
5316
5317 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
5318
5319 * subr.el (default-direction-reversed): Remove obsolescence info.
5320
5321 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
5324 windows/frames.
5325
5326 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
5327 I.e. include text after point in the completion region.
5328 Also, return nil when we're not after/in a symbol.
5329
5330 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
5331 default enable-multibyte-characters.
5332
5333 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * international/mule.el: Help the user choose a valid coding-system.
5336 (read-buffer-file-coding-system): New function.
5337 (set-buffer-file-coding-system): Use it. Prompt the user if the
5338 coding-system cannot encode all the chars.
5339
5340 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
5341 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5342 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
5343 Don't use *vc-bzr-shelve*.
5344
5345 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
5346
5347 Fix the version number for added files.
5348 * vc-hg.el (vc-hg-working-revision): Check if the file is
5349 registered after hg parent fails (Bug#5961).
5350
5351 2010-04-19 Glenn Morris <rgm@gnu.org>
5352
5353 * htmlfontify.el (htmlfontify-buffer)
5354 (htmlfontify-copy-and-link-dir): Autoload entry points.
5355
5356 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
5357
5358 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
5359 name relative to the project root (Bug#5960).
5360
5361 2010-04-19 Glenn Morris <rgm@gnu.org>
5362
5363 * vc-git.el (vc-git-print-log): Doc fix.
5364
5365 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
5366
5367 * ido.el (ido-file-internal): Fix 2009-12-02 change.
5368
5369 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
5370
5371 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
5372 default settings (Bug#5928).
5373
5374 2010-04-19 Glenn Morris <rgm@gnu.org>
5375
5376 * progmodes/fortran.el (fortran-match-and-skip-declaration):
5377 New function.
5378 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
5379
5380 2010-04-19 Kenichi Handa <handa@m17n.org>
5381
5382 * language/indian.el (malayalam-composable-pattern): Fix previous
5383 change (add U+0D4D "SIGN VIRAMA").
5384 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
5385 (tamil-composable-pattern): Fix typo in the regexp.
5386 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
5387 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
5388 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
5389
5390 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
5391
5392 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
5393 paragraph-separate (Bug#5821).
5394
5395 2010-04-19 Juri Linkov <juri@jurta.org>
5396
5397 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
5398
5399 * info.el (Info-find-node-2): Comment out code that skips
5400 breadcrumbs line.
5401 (Info-mouse-follow-link): New command.
5402 (Info-link-keymap): New keymap.
5403 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
5404 Return a string with links instead of inserting breadcrumbs
5405 to the Info buffer.
5406 (Info-fontify-node): Comment out code that inserts breadcrumbs.
5407 Instead of putting the `invisible' text property over the Info
5408 header, make an overlay over the Info header with the `invisible'
5409 property and `after-string' set to the string returned by
5410 `Info-breadcrumbs'.
5411
5412 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
5413
5414 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
5415 Reported by monkey@sandpframing.com.
5416
5417 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
5420 (tmm-get-keymap): Add key-binding shortcuts now that they're not
5421 available in the "keyseq cache" any more.
5422
5423 * custom.el (defcustom): Add edebug spec.
5424
5425 2010-04-18 Juri Linkov <juri@jurta.org>
5426
5427 Test for special mode-class in view-buffer instead of view-file (bug#5513).
5428
5429 * view.el (view-file, view-buffer): Move test for special mode-class
5430 from view-file to view-buffer.
5431
5432 * tar-mode.el (tar-extract): Turn if's into one cond
5433 like in arc-mode.el.
5434
5435 2010-04-18 Juri Linkov <juri@jurta.org>
5436
5437 Add 7z archive format support (bug#5475).
5438
5439 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
5440 (archive-7z-extract): New defcustom.
5441 (archive-find-type): Add magic string for 7z.
5442 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
5443 If `stderr-file' is non-nil, use `(t stderr-file)' for the
5444 `buffer' arg of `call-process'.
5445 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
5446 call the function `archive-7z-extract' with the variable
5447 `archive-7z-extract' let-bound to `archive-zip-extract'.
5448 (archive-7z-summarize, archive-7z-extract): New functions.
5449
5450 * international/mule.el (auto-coding-alist):
5451 * files.el (auto-mode-alist): Add 7z file extension.
5452
5453 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5454
5455 * loadup.el: Setup hash-cons for pure data.
5456
5457 Fix duplicate entries in cedet's loaddefs.el files.
5458 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
5459 Should make most file-local generated-autoload-file unnecessary.
5460 (print-readably): Silence warnings.
5461 (autoload-find-destination): Take load-name as an arg to make sure
5462 it's the same as the one that will be in the file.
5463 (autoload-generate-file-autoloads): Adjust to above changes.
5464 Try to make the dataflow a bit simpler.
5465
5466 * cvs-status.el (cvs-refontify): Remove unused.
5467
5468 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
5469
5470 * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
5471
5472 * calc-bin.el (calc-radix): Have the "O" option turn on
5473 twos-complement mode.
5474
5475 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
5476
5477 * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'.
5478 Add `calc-option-prefix-help' to calc-help autoloads.
5479 (calc-inverse): Add "Option" to message, as appropriate.
5480 (calc-hyperbolic): Add "Option" to message, as appropriate.
5481 (calc-option, calc-is-option): New functions.
5482
5483 * calc-help.el (calc-full-help): Add `calc-option-help'.
5484 (calc-option-prefix-help): New function.
5485
5486 * calc-misc.el (calc-help): Add "Option" entry.
5487
5488 * calc.el (calc-local-var-list): Add `calc-option-flag'.
5489 (calc-option-flag): New variable.
5490 (calc-do): Set `calc-option-flag to nil.
5491 (calc-set-mode-line): Add "Opt " as appropriate.
5492
5493 2010-04-16 Juri Linkov <juri@jurta.org>
5494
5495 Move scrolling commands from simple.el to window.el
5496 because their primitives are implemented in window.c.
5497
5498 * simple.el (scroll-error-top-bottom)
5499 (scroll-up-command, scroll-down-command, scroll-up-line)
5500 (scroll-down-line, scroll-other-window-down)
5501 (beginning-of-buffer-other-window, end-of-buffer-other-window):
5502 * window.el (scroll-error-top-bottom)
5503 (scroll-up-command, scroll-down-command, scroll-up-line)
5504 (scroll-down-line, scroll-other-window-down)
5505 (beginning-of-buffer-other-window, end-of-buffer-other-window):
5506 Move from simple.el to window.el because their primitives are
5507 implemented in window.c.
5508
5509 2010-04-16 Juri Linkov <juri@jurta.org>
5510
5511 * isearch.el (isearch-lookup-scroll-key): Check both
5512 `isearch-scroll' and `scroll-command' properties.
5513 (scroll-up, scroll-down): Remove `isearch-scroll' property.
5514
5515 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
5516
5517 * simple.el (scroll-up-command, scroll-down-command)
5518 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
5519
5520 2010-04-15 Juri Linkov <juri@jurta.org>
5521
5522 * simple.el (scroll-up-command, scroll-down-command)
5523 (scroll-up-line, scroll-down-line): Put `scroll-command'
5524 property on the these symbols. Remove them from
5525 `scroll-preserve-screen-position-commands'.
5526
5527 * mwheel.el (mwheel-scroll): Put `scroll-command' and
5528 `isearch-scroll' properties on the `mwheel-scroll' symbol.
5529 Remove it from `scroll-preserve-screen-position-commands'.
5530
5531 * isearch.el (isearch-allow-scroll): Doc fix.
5532
5533 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
5534
5535 * net/tramp.el (tramp-error-with-buffer): Don't show the
5536 connection buffer when we are in completion mode.
5537 (tramp-file-name-handler): Catch the error for some operations
5538 when we are in completion mode. This gives the user the chance to
5539 correct the file name in the minibuffer.
5540
5541 2010-04-15 Glenn Morris <rgm@gnu.org>
5542
5543 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
5544
5545 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
5546
5547 Simplify by using `define-derived-mode'.
5548 * info.el (Info-mode):
5549 * calendar/todo-mode.el (todo-mode):
5550 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
5551 (gomoku-mode-map): Move initialization into declaration.
5552
5553 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
5554
5555 Fix Bug#5840.
5556 * ido.el (ido-file-name-all-completions-1):
5557 * minibuffer.el (minibuffer-completion-help):
5558 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
5559
5560 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * simple.el (non-essential): New var.
5563
5564 Add a new field `location' to bookmarks for non-file bookmarks.
5565 * bookmark.el (bookmark-location): Use the new field, if present.
5566 (bookmark-insert-location): Undo last change, not needed any more.
5567 * man.el (Man-bookmark-make-record):
5568 * woman.el (woman-bookmark-make-record): Add `location' field.
5569
5570 2010-04-14 Juri Linkov <juri@jurta.org>
5571
5572 * simple.el (scroll-error-top-bottom): New defcustom.
5573 (scroll-up-command, scroll-down-command): Use it. Doc fix.
5574
5575 * emulation/pc-select.el (pc-select-override-scroll-error):
5576 Obsolete in favor of `scroll-error-top-bottom'.
5577
5578 2010-04-14 Juri Linkov <juri@jurta.org>
5579
5580 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
5581 `scroll-up-command' and `M-v' to `scroll-down-command'.
5582
5583 * emulation/cua-rect.el (cua--init-rectangles):
5584 * forms.el (forms--change-commands):
5585 * image-mode.el (image-mode-map):
5586 Remap scroll-down-command and scroll-up-command
5587 in addition to scroll-down and scroll-up.
5588
5589 2010-04-14 Juri Linkov <juri@jurta.org>
5590
5591 * mwheel.el (scroll-preserve-screen-position-commands):
5592 Add mwheel-scroll to this list of commands.
5593
5594 * simple.el (scroll-preserve-screen-position-commands):
5595 Add scroll-up-command, scroll-down-command, scroll-up-line,
5596 scroll-down-line to this list of commands.
5597
5598 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * obsolete/complete.el: Move from lisp/complete.el.
5601
5602 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
5603
5604 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
5605 to the minor mode function now turns the mode ON unconditionally.
5606
5607 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * vc-dir.el (vc-dir-kill-line): New command.
5610 (vc-dir-mode-map): Bind it to C-k.
5611
5612 * bookmark.el (bookmark-insert-location): Handle a nil filename.
5613
5614 * woman.el: Add bookmark declarations to silence the compiler.
5615 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
5616 step to compatibility between man and woman bookmarks.
5617 Adjust for Man-default-bookmark-title renaming.
5618 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
5619
5620 * man.el: Add bookmark declarations to silence the compiler.
5621 (Man-name-local-regexp): Make it match NAME as well.
5622 (Man-getpage-in-background): Return the buffer.
5623 (Man-notify-when-ready): Use `case'.
5624 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
5625 Don't hardcode "NAME". Simplify.
5626 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
5627 Rename from Man-bookmark-make-record.
5628 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
5629 we have the actual man-args. Use Man-getpage-in-background rather
5630 than `man' since the arg is already processed. Let bookmark.el do the
5631 window handling. Only wait for the relevant process.
5632 Don't forget to autoload.
5633
5634 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
5635
5636 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5637
5638 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
5639 New functions.
5640 (woman-mode): Setup bookmark support.
5641
5642 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
5643 (man-bookmark-jump): New functions.
5644 (Man-mode): Setup bookmark support.
5645
5646 2010-04-10 Jari Aalto <jari.aalto@cante.net>
5647
5648 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
5649 recognize ssh-keygen prompt (Bug#2817).
5650
5651 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
5652
5653 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
5654
5655 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
5656
5657 Synchronize with Tramp repository.
5658
5659 * net/tramp.el (tramp-completion-function-alist)
5660 (tramp-file-name-regexp, tramp-chunksize)
5661 (tramp-local-coding-commands, tramp-remote-coding-commands):
5662 Fix docstring.
5663 (tramp-remote-process-environment): Use `format' instead of `concat'.
5664 (tramp-handle-directory-files-and-attributes)
5665 (tramp-get-remote-path): Use `copy-tree'.
5666 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5667 compatibility: Use `completion-ignore-case' if
5668 `read-file-name-completion-ignore-case' does not exist.
5669 (tramp-do-copy-or-rename-file-directly): Do not use
5670 `tramp-handle-file-remote-p'.
5671 (tramp-do-copy-or-rename-file-out-of-band):
5672 Use `tramp-compat-delete-directory'.
5673 (tramp-do-copy-or-rename-file-out-of-band)
5674 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5675 Use `format-spec-make'.
5676 (tramp-find-foreign-file-name-handler)
5677 (tramp-advice-make-auto-save-file-name)
5678 (tramp-set-auto-save-file-modes): Remove superfluous check for
5679 `stringp'. This is done inside `tramp-tramp-file-p'.
5680 (tramp-debug-outline-regexp): New defconst.
5681 (tramp-get-debug-buffer): Use it.
5682 (tramp-check-for-regexp): Use (forward-line 1).
5683 (tramp-set-auto-save-file-modes): Adapt version check.
5684
5685 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
5686 Wrap call of `featurep' for 2nd argument.
5687 (tramp-compat-make-temp-file): Simplify fallback implementation.
5688 (tramp-compat-copy-tree): Remove function.
5689 (tramp-compat-delete-directory): Provide implementation for older
5690 Emacsen.
5691
5692 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
5693 Do not use `tramp-fish-handle-file-attributes.
5694
5695 * net/trampver.el: Update release number.
5696
5697 2010-04-10 Glenn Morris <rgm@gnu.org>
5698
5699 * progmodes/compile.el (compilation-save-buffers-predicate):
5700 Add missing :version tag.
5701
5702 2010-04-09 Sam Steingold <sds@gnu.org>
5703
5704 * progmodes/compile.el (compilation-save-buffers-predicate):
5705 Remove the "autoload" cookie.
5706
5707 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
5708 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
5709 and `bug-reference-prog-mode' can be used in hooks directly.
5710
5711 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
5712
5713 Add --author support to git commit.
5714 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
5715 (vc-git-log-edit-mode): New minor mode.
5716 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
5717 New declarations.
5718
5719 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
5720
5721 * vc-hooks.el, vc-git.el: Improve documentation comments.
5722
5723 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 Fix some of the problems in defsubst* (bug#5728).
5726 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
5727 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
5728
5729 2010-04-07 Sam Steingold <sds@gnu.org>
5730
5731 * progmodes/compile.el (compilation-save-buffers-predicate):
5732 New custom variable.
5733 (compile, recompile): Pass it to `save-some-buffers'.
5734
5735 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
5736
5737 * wid-edit.el (widget-choose): Move cursor to the second line of
5738 the buffer (Bug#5695).
5739
5740 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
5741
5742 Add new VC methods: vc-log-incoming and vc-log-outgoing.
5743 * vc.el (vc-print-log-setup-buttons): New function split out from
5744 vc-print-log-internal.
5745 (vc-log-internal-common): New function, a parametrized version of
5746 vc-print-log-internal.
5747 (vc-print-log-internal): Just call vc-log-internal-common with the
5748 right arguments.
5749 (vc-incoming-outgoing-internal):
5750 (vc-log-incoming, vc-log-outgoing): New functions.
5751 (vc-log-view-type): New permanent local variable.
5752
5753 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
5754
5755 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
5756 of the dynamic bound vc-short-log.
5757 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
5758
5759 * vc-git.el (vc-git-log-outgoing): New function.
5760 (vc-git-log-view-mode): Use vc-log-view-type instead
5761 of the dynamic bound vc-short-log.
5762
5763 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
5764 of the dynamic bound vc-short-log. Highlight the tag.
5765 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
5766 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
5767 (vc-hg-incoming-mode): Remove.
5768 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
5769
5770 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
5771
5772 Fix default-directory for vc-root-diff.
5773 * vc.el (vc-root-diff): Bind default-directory to the root
5774 directory for the diff command.
5775
5776 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
5777
5778 * progmodes/verilog-mode.el (verilog-forward-sexp):
5779 (verilog-calc-1): Support "disable fork" and "fork wait" multi
5780 word keywords, suggested by Steve Pearlmutter.
5781 (verilog-pretty-declarations): Support lineup of declarations in
5782 port lists.
5783 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
5784 fix bug for /* / comments.
5785 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
5786 Speed up and simplfy as this is never called with a bound.
5787 (verilog-pretty-declarations): Enhance to line up declarations
5788 inside a parameter list, suggested by Alan Morgan.
5789 (verilog-pretty-expr): Tune assignment regular expression match
5790 string for corner cases; also use markers instead of character
5791 number as indent changes the later.
5792
5793 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
5794
5795 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
5796 as missing keyword.
5797 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
5798 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
5799 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
5800 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
5801 Tennant.
5802 (verilog-keywords):
5803 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
5804 1800-2009 keywords, including "global.".
5805
5806 2010-04-06 John Wiegley <jwiegley@gmail.com>
5807
5808 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
5809 appearing in buffer list (if a live buffer name matched a recentf
5810 file basename). Should use uniquify to offer a real solution.
5811
5812 2010-04-06 John Wiegley <jwiegley@gmail.com>
5813
5814 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
5815 comment to code, and add a :version tag.
5816 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
5817
5818 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
5819
5820 Enable recentf-mode if using virtual buffers.
5821 * ido.el (recentf-list): Declare for byte-compiler.
5822 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
5823 (ido-make-buffer-list): Simplify.
5824 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
5825
5826 2010-04-05 Juri Linkov <juri@jurta.org>
5827
5828 Scrolling commands which scroll a line instead of full screen.
5829 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5830
5831 * simple.el (scroll-up-line, scroll-down-line): New commands.
5832 Put property isearch-scroll=t on them.
5833
5834 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
5835 Remove commands.
5836
5837 2010-04-05 Juri Linkov <juri@jurta.org>
5838
5839 Scrolling commands which do not signal errors at top/bottom.
5840 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5841
5842 * simple.el (scroll-up-command, scroll-down-command): New commands.
5843 Put property isearch-scroll=t on them.
5844
5845 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
5846 `scroll-down-command' and [next] from `scroll-up' to
5847 `scroll-up-command'.
5848
5849 * emulation/cua-base.el: Put property CUA=move on
5850 `scroll-up-command' and `scroll-down-command'.
5851 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
5852 and `scroll-down-command' to `cua-scroll-down'.
5853
5854 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
5855
5856 * help.el (describe-mode): Return nil.
5857
5858 2010-04-04 John Wiegley <jwiegley@gmail.com>
5859
5860 * ido.el (ido-use-virtual-buffers): New variable to indicate
5861 whether "virtual buffer" support is enabled for IDO.
5862 (ido-virtual): Face used to indicate virtual buffers in the list.
5863 (ido-buffer-internal): If a buffer is chosen, and no such buffer
5864 exists, but a virtual buffer of that name does (which would be why
5865 it was in the list), recreate the buffer by reopening the file.
5866 (ido-make-buffer-list): If virtual buffers are being used, call
5867 `ido-add-virtual-buffers-to-list' before the make list hook.
5868 (ido-virtual-buffers): New variable which contains a copy of the
5869 current contents of the `recentf-list', albeit pared down for the
5870 sake of speed, and with proper faces applied.
5871 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
5872 create a list of "virtual buffers" to present to the user in
5873 addition to the currently open set. Note that this logic could
5874 get rather slow if that list is too large. With the default
5875 `recentf-max-saved-items' of 200, there is little speed penalty.
5876
5877 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * font-lock.el: Require CL when compiling.
5880 (font-lock-turn-on-thing-lock): Use `case'.
5881
5882 2010-04-03 Eli Zaretskii <eliz@gnu.org>
5883
5884 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
5885 Zaretskii.
5886
5887 2010-04-02 Juri Linkov <juri@jurta.org>
5888
5889 * ehelp.el (electric-help-orig-major-mode):
5890 New buffer-local variable.
5891 (electric-help-mode): Set it to original major-mode. Doc fix.
5892 (with-electric-help): Use `electric-help-orig-major-mode' instead
5893 of (default-value 'major-mode). Doc fix.
5894 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
5895
5896 2010-04-02 Sam Steingold <sds@gnu.org>
5897
5898 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
5899 `vc-hg-command' with a list of flags.
5900
5901 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5902 Also accept "patch" and "RFE".
5903 (bug-reference-fontify): `bug-reference-url-format' can also be a
5904 function to be able to handle the bug kind.
5905 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
5906
5907 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
5908
5909 * tmm.el (tmm-get-keymap): Check with symbolp before passing
5910 value to fboundp, it may not be a symbol.
5911
5912 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5913
5914 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
5915
5916 2010-03-31 Juri Linkov <juri@jurta.org>
5917
5918 * simple.el (next-line, previous-line): Re-throw a signal
5919 with `signal' instead of using `ding'.
5920 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
5921
5922 2010-03-31 Juri Linkov <juri@jurta.org>
5923
5924 * simple.el (keyboard-escape-quit): Raise deselecting the active
5925 region higher than exiting the minibuffer.
5926 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
5927
5928 2010-03-31 Juri Linkov <juri@jurta.org>
5929
5930 * image.el (image-animated-p): Use `image-metadata' instead of
5931 `image-extension-data'. Get GIF extenstion data from metadata
5932 property `extension-data'.
5933
5934 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * simple.el (append-to-buffer): Simplify.
5937
5938 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
5939
5940 * textmodes/artist.el (artist-mode): Fix typo in docstring.
5941 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
5942
5943 2010-03-31 Kenichi Handa <handa@m17n.org>
5944
5945 * language/sinhala.el (composition-function-table): Fix regexp for
5946 the new Unicode specification.
5947
5948 * language/indian.el (devanagari-composable-pattern)
5949 (tamil-composable-pattern, kannada-composable-pattern)
5950 (malayalam-composable-pattern): Adjust for the new Unicode
5951 specification.
5952 (bengali-composable-pattern, gurmukhi-composable-pattern)
5953 (gujarati-composable-pattern, oriya-composable-pattern)
5954 (telugu-composable-pattern): New variables to cope with the new
5955 Unicode specification. Use them in composition-function-table.
5956
5957 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 Make tmm-menubar work for the Buffers menu again (bug#5726).
5960 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
5961 vectors rather than cons cells, as used in menu-bar-update-buffers.
5962
5963 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5964
5965 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
5966 (js-insert-and-indent): Revert 2009-08-15 change, restoring
5967 electric punctuation for "{}();,:" (Bug#5586).
5968
5969 * mail/sendmail.el (mail-default-directory): Doc fix.
5970
5971 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5972
5973 * mail/sendmail.el (mail-default-directory): Doc fix.
5974
5975 2010-03-31 Eli Zaretskii <eliz@gnu.org>
5976
5977 * subr.el (version-regexp-alist, version-to-list)
5978 (version-list-<, version-list-=, version-list-<=)
5979 (version-list-not-zero, version<, version<=, version=): Doc fix.
5980 (Bug#5744).
5981
5982 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
5983
5984 * vc.el (vc-root-diff): Doc fix.
5985
5986 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5987
5988 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
5989
5990 * simple.el (append-to-buffer): Fix last change.
5991
5992 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5993
5994 * simple.el (append-to-buffer): Ensure that point is preserved if
5995 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
5996 (Bug#5749)
5997
5998 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5999
6000 * files.el (auto-mode-case-fold): Change default to t.
6001
6002 2010-03-30 Juri Linkov <juri@jurta.org>
6003
6004 * dired-x.el (dired-omit-mode): Doc fix.
6005
6006 2010-03-30 Juri Linkov <juri@jurta.org>
6007
6008 * replace.el (occur-accumulate-lines): Move occur-engine related
6009 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6010 to be located after `occur-engine'.
6011
6012 2010-03-30 Juri Linkov <juri@jurta.org>
6013
6014 Make occur handle multi-line matches cleanly with context.
6015 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6016
6017 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6018 (occur-engine): Add local variables `ret', `prev-after-lines',
6019 `prev-lines'. Use more arguments for `occur-context-lines'.
6020 Set first elem of its returned list to `data', and the second elem
6021 to `prev-after-lines'. Don't print the separator line.
6022 In the end, print remaining context after-lines.
6023 (occur-context-lines): Add new arguments `begpt', `endpt',
6024 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
6025 after-lines of the previous match with before-lines of the
6026 current match and not overlap them. Return a list with two
6027 values: the output line and the list of context after-lines.
6028
6029 2010-03-30 Juri Linkov <juri@jurta.org>
6030
6031 * replace.el (occur-accumulate-lines): Fix a bug where the first
6032 context line at the beginning of the buffer was missing.
6033
6034 2010-03-30 Eli Zaretskii <eliz@gnu.org>
6035
6036 * files.el: Make bidi-display-reordering safe variable for boolean
6037 values.
6038
6039 2010-03-29 Phil Hagelberg <phil@evri.com>
6040 Chong Yidong <cyd@stupidchicken.com>
6041
6042 * subr.el: Extend progress reporters to perform "spinning".
6043 (progress-reporter-update, progress-reporter-do-update):
6044 Handle non-numeric value arguments.
6045 (progress-reporter--pulse-characters): New var.
6046
6047 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
6048
6049 * progmodes/compile.el (compilation-start): Fix regexp detection
6050 of initial cd command (Bug#5771).
6051
6052 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
6053
6054 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
6055
6056 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
6057
6058 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
6059 * lisp/progmodes/gdb-mi.el: Restore.
6060 * lisp/progmodes/gdb-ui.el: Remove.
6061 * lisp/progmodes/gud.el: Re-accommodate for gdb-mi.el.
6062
6063 2010-03-25 Glenn Morris <rgm@gnu.org>
6064
6065 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
6066 all dired buffers, even tramp ones. (Bug#5755)
6067
6068 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 Add "union tags" in mpc.el.
6071 * mpc.el: Remove backward compatibility code.
6072 (mpc-browser-tags): Change default.
6073 (mpc--find-memoize-union-tags): New var.
6074 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
6075 (mpc-cmd-find): Handle the case where the playlist does not exist.
6076 Handle union-tags.
6077 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
6078 (mpc-cmd-add): Use mpc-cmd-flush.
6079 (mpc-tagbrowser-tag-name): New fun.
6080 (mpc-tagbrowser-buf): Use it.
6081 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
6082
6083 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 Misc cleanup.
6086 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
6087 Use replace-regexp-in-string.
6088 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
6089 (makefile-imake-mode-syntax-table): Move init into defvar.
6090 (makefile-mode): Use define-derived-mode.
6091
6092 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
6093 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
6094 not be present any more.
6095
6096 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6097
6098 * faces.el (set-face-attribute): Fix typo in docstring.
6099 (face-valid-attribute-values): Reflow docstring.
6100
6101 2010-03-24 Glenn Morris <rgm@gnu.org>
6102
6103 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
6104
6105 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
6106
6107 * indent.el (indent-for-tab-command): Doc fix.
6108
6109 2010-03-24 Alan Mackenzie <acm@muc.de>
6110
6111 * progmodes/cc-engine.el (c-remove-stale-state-cache):
6112 Fix off-by-one error. Fixes bug #5747.
6113
6114 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6115
6116 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
6117 (image-dired-read-comment): Doc fix.
6118
6119 * json.el (json-object-type, json-array-type, json-key-type)
6120 (json-false, json-null, json-read-number):
6121 * minibuffer.el (completion-in-region-functions):
6122 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
6123 (cal-tex-cursor-week):
6124 * emacs-lisp/trace.el (trace-function):
6125 * eshell/em-basic.el (eshell/printnl):
6126 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
6127 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
6128 * obsolete/levents.el (allocate-event, event-key, event-object)
6129 (event-point, event-process, event-timestamp, event-to-character)
6130 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
6131 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
6132 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
6133 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
6134 (reftex-highlight-selection): Fix typos in docstrings.
6135
6136 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6137
6138 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
6139
6140 2010-03-24 Glenn Morris <rgm@gnu.org>
6141
6142 * mail/rmail.el (rmail-highlight-face): Restore option deleted
6143 2008-02-13 without comment; mark it obsolete.
6144 (rmail-highlight-headers): Use rmail-highlight-face once more.
6145
6146 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
6147
6148 * woman.el (woman2-process-escapes): Only consume the newline if
6149 the filler character is on a line by itself (Bug#5729).
6150
6151 2010-03-24 Kenichi Handa <handa@m17n.org>
6152
6153 * language/indian.el (devanagari-composable-pattern): Add more
6154 consonants.
6155
6156 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
6157
6158 * net/trampver.el: Update release number.
6159
6160 2010-03-24 Glenn Morris <rgm@gnu.org>
6161
6162 * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el.
6163
6164 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
6165
6166 * net/tramp.el (tramp-find-executable):
6167 Use `tramp-get-connection-buffer'. Make the regexp for checking
6168 output of "wc -l" more robust.
6169 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
6170 (tramp-open-connection-setup-interactive-shell): Remove workaround
6171 for OpenSolaris bug, it is not needed anymore.
6172
6173 2010-03-24 Glenn Morris <rgm@gnu.org>
6174
6175 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
6176
6177 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
6178
6179 * files.el (auto-mode-alist): Accept more verilog file patterns.
6180
6181 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
6184
6185 2010-03-24 Glenn Morris <rgm@gnu.org>
6186
6187 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
6188 log-edit-before-checkin-process.
6189
6190 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
6191
6192 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
6193
6194 * vc-dispatcher.el (vc-start-logentry): Doc fix.
6195 (log-view-process-buffer, log-edit-extra-flags): Declare.
6196
6197 * log-edit.el (log-edit-before-checkin-process): Doc fix.
6198
6199 2010-03-23 Sam Steingold <sds@gnu.org>
6200
6201 Fix bug#5620: recalculate all markers on compilation buffer
6202 modifications, not on file modifications.
6203 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
6204 the buffer modification time, for buffers not associated with files.
6205 (compilation-mode): Create it.
6206 (compilation-filter): Update it.
6207 (compilation-next-error-function): Use it instead of
6208 `visited-file-modtime' for timestamp.
6209
6210 2010-03-23 Juri Linkov <juri@jurta.org>
6211
6212 Implement Occur multi-line matches.
6213 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
6214
6215 * replace.el (occur): Doc fix.
6216 (occur-engine): Set `begpt' to the beginning of the first line.
6217 Set `endpt' to the end of the last match line. At first, count
6218 line numbers between `origpt' and `begpt'. Split out code from
6219 `out-line' variable to new let-bindings `match-prefix' and
6220 `match-str'. In `out-line' add non-numeric prefix to all
6221 non-first lines of multi-line matches. Finally, count lines
6222 between `begpt' and `endpt' and add to `lines'.
6223
6224 2010-03-23 Juri Linkov <juri@jurta.org>
6225
6226 * replace.el (occur-accumulate-lines, occur-engine):
6227 Use `occur-engine-line' instead of duplicate code.
6228 (occur-engine-line): New function created from duplicate code
6229 in `occur-accumulate-lines' and `occur-engine'.
6230
6231 * replace.el (occur-engine-line): Add optional arg `keep-props'.
6232 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
6233
6234 2010-03-23 Juri Linkov <juri@jurta.org>
6235
6236 * finder.el: Remove TODO tasks.
6237
6238 * info.el (Info-finder-find-node): Add node "all"
6239 with all package info. Handle a list of multiple keywords
6240 separated by comma.
6241 (info-finder): In interactive use with a prefix argument,
6242 use `completing-read-multiple' to read a list of keywords
6243 separated by comma.
6244
6245 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 Add a new completion style `substring'.
6248 * minibuffer.el (completion-basic--pattern): New function.
6249 (completion-basic-try-completion, completion-basic-all-completions):
6250 Use it.
6251 (completion-substring--all-completions)
6252 (completion-substring-try-completion)
6253 (completion-substring-all-completions): New functions.
6254 (completion-styles-alist): New style `substring'.
6255
6256 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
6257
6258 Get rid of .elc files after removal of the corresponding .el.
6259 * Makefile.in (compile-clean): New target.
6260 (compile-main): Use it.
6261
6262 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
6263
6264 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
6265 don't do make there. When compiling with separate object dir, there
6266 is no Makefile there.
6267
6268 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 Get rid of the ELCFILES abomination, again.
6271 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
6272 (all, compile): Don't call compile-last.
6273 (compile-main): Build the "elcfiles" list dynamically.
6274 (compile-targets): New (internal) target.
6275
6276 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
6277
6278 * Makefile.in (top_srcdir): Define.
6279 (abs_top_builddir): Define.
6280 (srcdir): Don't append `/..'.
6281 (EMACS): Use ${abs_top_builddir}.
6282 (all, compile, compile-always, compile-last): Don't set emacswd.
6283 (update-subdirs, update-authors): Use $(top_srcdir) instead of
6284 $(srcdir).
6285 (lisp): Use $(srcdir) instead of @srcdir@.
6286
6287 2010-03-21 Juri Linkov <juri@jurta.org>
6288
6289 Fix message of multi-line occur regexps and multi-buffer header lines.
6290 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
6291
6292 * replace.el (occur-1): Don't display regexp if it is longer
6293 than window-width. Use `query-replace-descr' to display regexp.
6294 (occur-engine): Don't display regexp in the buffer header for
6295 multi-buffer occur. Display a separate header line with total
6296 match count and regexp for multi-buffer occur.
6297 Use `query-replace-descr' to display regexp.
6298
6299 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
6300
6301 * net/secrets.el: Fix parenthesis.
6302 (secrets-enabled): Fix parenthesis.
6303
6304 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 Use more relative file and directory names.
6307 * Makefile.in (EMACS): Arrange for it to work when we chdir.
6308 (setwins, setwins_almost, setwins_for_subdirs):
6309 Don't `cd'; output relative names.
6310 (all, compile, compile-always, compile-last): Set emacswd.
6311 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
6312 Just cd to the lisp source dir so we can use relative file names.
6313
6314 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
6315
6316 2010-03-20 Glenn Morris <rgm@gnu.org>
6317
6318 * textmodes/rst.el: Use faces for font-lock customization, and make the
6319 old -face variables obsolete.
6320 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
6321 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
6322 (rst-block-face, rst-external-face, rst-definition-face)
6323 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
6324 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
6325 Make obsolete.
6326 (rst-font-lock-keywords-function): Update for above changes.
6327
6328 2010-03-20 Juri Linkov <juri@jurta.org>
6329
6330 * s-region.el:
6331 * obsolete/s-region.el: Move to obsolete.
6332
6333 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
6336
6337 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
6338
6339 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
6340
6341 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
6342
6343 Add special markup processing for commit logs.
6344 * log-edit.el (log-edit-extra-flags): New variable.
6345 (log-edit): Add new argument MODE. Use that mode when non-nil
6346 instead of the log-view-mode.
6347 (log-view-process-buffer): New function.
6348
6349 * vc.el: Document that the checkin method takes optional
6350 arguments. Document new backend specific method: log-view-mode.
6351 (vc-default-log-edit-mode): New function.
6352 (vc-checkin): Use a backend specific log-view-mode.
6353 Pass extra arguments to the checkin method.
6354 (vc-modify-change-comment): Pass a dummy extra argument.
6355
6356 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
6357 log-edit.
6358 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
6359 (vc-finish-logentry): Process the log buffer before passing it
6360 down. Pass log-edit-extra-flags.
6361
6362 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
6363 command.
6364 (log-edit-extra-flags, log-edit-before-checkin-process):
6365 New declarations.
6366
6367 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
6368 command.
6369 (log-edit-extra-flags, log-edit-before-checkin-process):
6370 New declarations.
6371 (vc-hg-log-edit-mode): New derived mode.
6372
6373 * vc-arch.el (vc-arch-checkin):
6374 * vc-cvs.el (vc-cvs-checkin):
6375 * vc-git.el (vc-git-checkin):
6376 * vc-mtn.el (vc-mtn-checkin):
6377 * vc-rcs.el (vc-rcs-checkin):
6378 * vc-sccs.el (vc-sccs-checkin):
6379 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
6380
6381 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6382
6383 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
6384 parent typo).
6385
6386 2010-03-19 Glenn Morris <rgm@gnu.org>
6387
6388 * password-cache.el (password-cache, password-cache-expiry): Autoload.
6389
6390 2010-03-18 Glenn Morris <rgm@gnu.org>
6391
6392 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
6393
6394 * replace.el (query-replace-history): Give it a doc string.
6395 (map-query-replace-regexp): Use query-replace-from-history-variable
6396 and query-replace-to-history-variable.
6397
6398 * mail/hashcash.el (declare-function): Remove duplicate definition.
6399
6400 * mail/emacsbug.el (report-emacs-bug-pretest-address):
6401 Make it an obsolete alias for report-emacs-bug-address.
6402 (message-strip-special-text-properties): Declare.
6403 (report-emacs-bug): Remove test for a pretest bug address.
6404 Combine message-mode-specific code.
6405
6406 * mail/supercite.el: Don't require sendmail.
6407 (mh-in-header-p): Declare rather than using with-no-warnings.
6408 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
6409 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
6410
6411 * calendar/cal-french.el: Convert to utf-8.
6412
6413 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
6414 Emacs scripts.
6415
6416 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
6417
6418 * net/secrets.el (secrets-enabled): New variable. Use it instead
6419 of a subfeature.
6420
6421 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
6422
6423 * net/secrets.el (top): Register the D-Bus signals only when the
6424 service "org.freedesktop.secrets" can be pinged.
6425 Provide subfeature `enabled'.
6426
6427 2010-03-14 Juri Linkov <juri@jurta.org>
6428
6429 Add finder unknown keywords.
6430
6431 * finder.el (finder-unknown-keywords): New function.
6432
6433 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
6434 to create a Finder node with unknown keywords.
6435
6436 2010-03-14 Juri Linkov <juri@jurta.org>
6437
6438 * finder.el (finder-compile-keywords): Replace `princ' with
6439 `prin1' on a list of symbols interned from keyword strings.
6440
6441 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
6442 a comma, then split keywords using a comma and optional whitespace.
6443 Otherwise, split by whitespace.
6444
6445 * complete.el:
6446 * face-remap.el:
6447 * log-view.el:
6448 * net/hmac-def.el:
6449 * net/hmac-md5.el:
6450 * net/netrc.el:
6451 * progmodes/mixal-mode.el: Fix keywords.
6452
6453 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
6454
6455 * Makefile.in (ELCFILES): Add net/secrets.elc.
6456
6457 * net/secrets.el: New file.
6458
6459 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6460
6461 * facemenu.el (list-colors-display, list-colors-print): New arg
6462 callback. Use it to allow selecting colors.
6463
6464 * wid-edit.el (widget-image-insert): Insert image prop even if the
6465 current display is non-graphic.
6466 (widget-field-value-set): New fun.
6467 (editable-field): Use it.
6468 (widget-field-value-get): Clean up unused var.
6469 (widget-color-value-create, widget-color--choose-action):
6470 New funs. Allow using list-colors-display to choose color.
6471
6472 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6473
6474 * cus-edit.el: Resort topmost custom groups.
6475 (custom-buffer-sort-alphabetically): Default to t.
6476 (customize-apropos): Use apropos-parse-pattern.
6477 (custom-search-field): New var.
6478 (custom-buffer-create-internal): Add custom-apropos search field.
6479 (custom-add-parent-links): Don't display parent doc.
6480 (custom-group-value-create): Don't sort top-level custom group.
6481 (custom-magic-value-create): Show visibility button before option name.
6482
6483 (custom-variable-state): New fun, from custom-variable-state-set.
6484 (custom-variable-state-set): Use it.
6485 (custom-group-value-create): Hide options with standard values
6486 using the :hidden-states property. Use progress reporter.
6487
6488 (custom-show): Simplify.
6489 (custom-visibility): Disable images by default.
6490 (custom-variable): New property :hidden-states.
6491 (custom-variable-value-create): Enable images for
6492 custom-visibility widgets. Use :hidden-states property to
6493 determine initial visibility.
6494
6495 * wid-edit.el (widget-image-find): Give images center ascent.
6496 (visibility): Add :on-image and :off-image properties.
6497 (widget-visibility-value-create): Use them.
6498
6499 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6500
6501 * cus-edit.el (processes): Remove from development group.
6502 (oop, hypermedia): Delete group.
6503 (comm): Promote to top-level group.
6504
6505 * net/browse-url.el (browse-url):
6506 * net/xesam.el (xesam):
6507 * net/tramp.el (tramp):
6508 * net/goto-addr.el (goto-address):
6509 * net/ange-ftp.el (ange-ftp): Put in comm group.
6510
6511 * view.el (view): Remove from editing group.
6512
6513 * uniquify.el (uniquify): Put in files group.
6514
6515 * net/browse-url.el (browse-url):
6516 * ps-print.el (postscript): Put in external group.
6517
6518 * cus-edit.el (outlines):
6519 * textmodes/text-mode.el (text-mode-hook):
6520 * textmodes/table.el (table):
6521 * textmodes/picture.el (picture):
6522 * outline.el (outlines): Put in wp group.
6523
6524 * nxml/nxml-mode.el (nxml): Remove from wp group.
6525
6526 * net/tramp-imap.el (tramp-imap): Put in tramp group.
6527
6528 * mail/metamail.el (metamail): Remove from hypermedia group.
6529
6530 * cus-edit.el (abbrev):
6531 * whitespace.el (whitespace):
6532 * vcursor.el (vcursor):
6533 * reveal.el (reveal):
6534 * hl-line.el (hl-line): Put in convenience group.
6535
6536 * epg-config.el (epg): Put in data group.
6537
6538 * emulation/pc-select.el (pc-select): Put in emulations group.
6539
6540 * calculator.el (calculator): Put in applications group.
6541
6542 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6543
6544 Add .dir-locals.el support for file-less buffers.
6545 * files.el (hack-local-variables): Split out code to apply local
6546 variable settings ...
6547 (hack-local-variables-apply): ... here. New function.
6548 (hack-dir-local-variables): Use the default directory for when the
6549 buffer does not have an associated file.
6550 (hack-dir-local-variables-non-file-buffer): New function.
6551 * diff-mode.el (diff-mode):
6552 * vc-annotate.el (vc-annotate-mode):
6553 * vc-dir.el (vc-dir-mode):
6554 * log-edit.el (log-edit-mode):
6555 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
6556
6557 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6558
6559 Add support for shelving snapshots and for showing shelves.
6560 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
6561 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
6562 New functions.
6563 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
6564 (vc-bzr-extra-menu-map): Map them.
6565
6566 2010-03-11 Glenn Morris <rgm@gnu.org>
6567
6568 * cus-edit.el (customize-changed-options-previous-release):
6569 Bump to 23.1.
6570
6571 * image.el (image-animate-max-time): Fix :version tag.
6572
6573 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
6574
6575 * Branch for 23.2.
6576
6577 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * vc-git.el (vc-git-revision-table): Include remote branches.
6580
6581 2010-03-10 Kim F. Storm <storm@cua.dk>
6582
6583 Animated image API.
6584 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
6585
6586 * image.el (image-animate-max-time): New defcustom.
6587 (image-animated-types): New defconst.
6588 (create-animated-image, image-animate-timer)
6589 (image-animate-start, image-animate-stop, image-animate-timeout)
6590 (image-animated-p): New functions.
6591
6592 * image-mode.el (image-toggle-display-image):
6593 Replace `create-image' with `create-animated-image'.
6594
6595 2010-03-09 Miles Bader <miles@gnu.org>
6596
6597 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
6598 instead of "format:"; this ensures that the output is
6599 newline-terminated.
6600
6601 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
6602
6603 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
6604 that all errors are caught, and that the return value is always a
6605 list (Bug#5692).
6606
6607 2010-03-08 Kenichi Handa <handa@m17n.org>
6608
6609 * language/misc-lang.el (windows-1256): New coding system.
6610 (cp1256): New alias of windows-1256 (bug#5690).
6611
6612 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
6613
6614 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
6615 call to rfc822-bad-address. (Bug#5692)
6616
6617 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
6618
6619 * vc-git.el (vc-git-annotate-extract-revision-at-line):
6620 Use vc-git-root as default directory for revision path (Bug#5657).
6621
6622 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
6623
6624 * calculator.el (calculator): Don't bind split-window-keep-point
6625 (Bug#5674).
6626
6627 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
6628
6629 * vc-git.el: Re-flow to fit into 80 columns.
6630 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
6631 Remove spurious `quote' element in each case alternative.
6632 (vc-git-show-log-entry): Use prog1.
6633 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
6634
6635 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
6638
6639 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
6640
6641 * macros.el (insert-kbd-macro): Look up keyboard macro using the
6642 definition, not the name (Bug#5481).
6643
6644 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
6645
6646 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
6647 argument with a local variable. (Bug#5670)
6648
6649 2010-03-02 Juri Linkov <juri@jurta.org>
6650
6651 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
6652
6653 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
6654
6655 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
6656 error when FILENAME and NEWNAME are existing remote directories.
6657
6658 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
6659 parameter DIR-FLAG.
6660
6661 2010-03-02 Glenn Morris <rgm@gnu.org>
6662
6663 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
6664 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
6665
6666 2010-03-01 Kenichi Handa <handa@m17n.org>
6667
6668 * language/burmese.el (burmese-composable-pattern): Rename from
6669 myanmar-composable-pattern.
6670
6671 * international/characters.el (script-list):
6672 * international/fontset.el (script-representative-chars):
6673 Change myanmar to burmese.
6674 (otf-script-alist): Likewise.
6675 (setup-default-fontset): Likewise. Re-fix :otf spec.
6676
6677 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
6678
6679 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
6680
6681 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
6682
6683 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
6684
6685 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
6686
6687 * net/tramp.el (tramp-handle-write-region): START can be a string.
6688 Take care in the checks. Reported by Dan Davison
6689 <davison@stats.ox.ac.uk>.
6690
6691 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
6692
6693 * net/dbus.el (dbus-introspect, dbus-get-property)
6694 (dbus-set-property, dbus-get-all-properties):
6695 Use `dbus-call-method' when noninteractive. (Bug#5645)
6696
6697 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
6698
6699 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
6700 * emacs-lisp/elint.el (elint-add-required-env):
6701 * calendar/icalendar.el (icalendar--add-diary-entry):
6702 * calc/calcalg2.el (math-tracing-integral):
6703 * files.el (recover-session-finish): Use with-current-buffer
6704 instead of save-excursion.
6705
6706 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 Fix in-buffer completion when after-change-functions modify the buffer.
6709 * minibuffer.el (completion--replace): New function.
6710 (completion--do-completion): Use it and use relative movement.
6711
6712 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
6713
6714 * international/fontset.el (setup-default-fontset): Fix :otf spec.
6715
6716 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
6717
6718 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
6719 Allow the characters _<> in the stack entry (Bug#5653).
6720
6721 2010-02-26 Kenichi Handa <handa@m17n.org>
6722
6723 * language/burmese.el: Fix entries in composition-function-table.
6724 (myanmar-composable-pattern): New variable.
6725
6726 * international/fontset.el (setup-default-fontset): Add an entry
6727 for myanmar.
6728
6729 * international/characters.el (script-list): Add Myanmar
6730 Extended-A.
6731
6732 2010-02-26 Glenn Morris <rgm@gnu.org>
6733
6734 * custom.el (custom-initialize-delay): Doc fix.
6735
6736 * mail/sendmail.el (send-mail-function): Autoload the call
6737 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
6738
6739 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
6740
6741 * files.el (hack-local-variables-filter): For eval forms, also
6742 check safe-local-variable-p (Bug#5636).
6743
6744 2010-02-24 Eduard Wiebe <usenet@pusto.de>
6745
6746 * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
6747 and use c(ad)r of cddr (Bug#5640).
6748
6749 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
6750
6751 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
6752 setting the modes by `ignore-errors'. It might fail, for example
6753 if the file is not owned by the user but the group.
6754 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
6755
6756 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
6757
6758 * files.el (directory-listing-before-filename-regexp): Use
6759 stricter matching for iso-style dates, to avoid false matches with
6760 date-like filenames (Bug#5597).
6761
6762 * htmlfontify.el (htmlfontify): Doc fix.
6763
6764 * eshell/eshell.el (eshell): Doc fix.
6765
6766 * startup.el (fancy-about-screen): In mode-line, apply
6767 mode-line-buffer-id face only to the buffer name (Bug#5613).
6768
6769 2010-02-20 Kevin Ryde <user42@zip.com.au>
6770
6771 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6772 In `watcom' anchor regexp to start of line, to avoid slowness
6773 (Bug#5599).
6774
6775 2010-02-20 Eli Zaretskii <eliz@gnu.org>
6776
6777 * subr.el (remove-yank-excluded-properties): Explain in a comment
6778 why `category' property is removed.
6779
6780 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
6781
6782 * isearch.el (isearch-update-post-hook, isearch-update): Revert
6783 2010-02-17 change.
6784
6785 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
6786
6787 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
6788 (icalendar--convert-weekly-to-ical)
6789 (icalendar--convert-yearly-to-ical)
6790 (icalendar--convert-block-to-ical)
6791 (icalendar--convert-cyclic-to-ical)
6792 (icalendar--convert-anniversary-to-ical): Take care of time
6793 specifications where hour has 1-digit only (Bug#5549).
6794
6795 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
6796
6797 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
6798 of disassemble output in GDB 7.1.
6799
6800 2010-02-19 Glenn Morris <rgm@gnu.org>
6801
6802 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
6803 property. (Bug#5593)
6804
6805 2010-02-18 Sam Steingold <sds@gnu.org>
6806
6807 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
6808
6809 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 Use abbreviated file names in bookmarks (bug#5591).
6812 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
6813 calls to expand-file-name.
6814 (bookmark-relocate): Use abbreviated file names in bookmarks.
6815 (bookmark-load): Use abbreviated file names in messages.
6816
6817 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6818
6819 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
6820 expand "." and "..". Reported by Thierry Volpiatto
6821 <thierry.volpiatto@gmail.com>.
6822
6823 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6824
6825 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
6826 permissions of the temporary file to "0600". In case the remote
6827 file has no read permissions for the owner, there might be
6828 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
6829
6830 22010-02-18 Glenn Morris <rgm@gnu.org>
6831
6832 * emacs-lisp/authors.el (authors-renamed-files-alist):
6833 Add entries for INSTALL.CVS.
6834
6835 2010-02-17 Mark A. Hershberger <mah@everybody.org>
6836
6837 * vc-bzr.el: Fix typo in Known Bugs section.
6838
6839 * isearch.el (isearch-update-post-hook): New hook.
6840 (isearch-update): Use the new hook.
6841
6842 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
6843
6844 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
6845 Fix errors in copying directories.
6846 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
6847 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
6848 (tramp-handle-delete-file)
6849 (tramp-handle-dired-recursive-delete-directory)
6850 (tramp-handle-write-region): Flush also the cache for the upper
6851 directory.
6852
6853 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
6854
6855 * simple.el (save-interprogram-paste-before-kill): Doc fix.
6856
6857 * cus-edit.el (hardware): Doc fix.
6858
6859 * man.el (man): Add to external custom group.
6860
6861 * delim-col.el (columns): Move to wp custom group.
6862
6863 * doc-view.el (doc-view): Add to data custom group.
6864
6865 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
6866
6867 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
6868 by ispell-parse-output (Bug#5575).
6869
6870 2010-02-16 Kenichi Handa <handa@m17n.org>
6871
6872 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
6873 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
6874 (skkdic-convert): Use `euc-japan' coding system for writing.
6875
6876 2010-02-16 Glenn Morris <rgm@gnu.org>
6877
6878 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
6879 tex-main-file before using it. (Bug#5562)
6880
6881 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
6884 warnings, since it is annoying for the user to see them each time he
6885 runs the code.
6886
6887 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
6888
6889 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
6890 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
6891 instead of PROC for caching "first-password-request". Otherwise,
6892 new processes would not profit from passwords already entered.
6893
6894 * net/tramp-cache.el (tramp-dump-connection-properties):
6895 Don't save "first-password-request" property.
6896
6897 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
6898
6899 * outline.el (outline-head-from-level):
6900 * simple.el (with-wrapper-hook):
6901 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
6902 (elint-defun, elint-buffer-env, elint-top-form-logged)
6903 (elint-unbound-variable):
6904 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
6905 Fix typos in docstrings.
6906
6907 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
6908
6909 * files.el (insert-directory): When WILDCARD-REGEXP and
6910 FULL-DIRECTORY-P are nil, insert the file entry instead of the
6911 whole directory. (Bug#5551)
6912
6913 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
6914 dired's alignment sanity. (Bug#5516)
6915
6916 2010-02-14 Juri Linkov <juri@jurta.org>
6917
6918 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
6919 Remove remaining ^H with their preceding chars. (Bug#5566)
6920
6921 2010-02-13 Glenn Morris <rgm@gnu.org>
6922
6923 * simple.el (transpose-subr): Give it a doc-string.
6924
6925 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
6926 Doc fixes.
6927
6928 2010-02-12 Juri Linkov <juri@jurta.org>
6929
6930 * arc-mode.el (archive-unique-fname): Make directories for nested
6931 archives. (Bug#5540)
6932
6933 2010-02-12 Juri Linkov <juri@jurta.org>
6934
6935 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
6936
6937 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * subr.el (copy-overlay): Handle deleted overlays.
6940
6941 * man.el (Man-completion-table): Don't signal an error if we can't run
6942 manual-program (bug#4056).
6943
6944 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
6945
6946 * textmodes/artist.el (artist-mt): Fix typos in docstring.
6947
6948 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6949
6950 * info.el (Info-bookmark-jump): Simplify.
6951
6952 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
6953 (bookmark-default-handler): Accept new bookmark field `buffer'.
6954
6955 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
6956
6957 * iswitchb.el (iswitchb-completions): Revert last change.
6958
6959 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
6960
6961 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
6962 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
6963 This prevents file names like "~/" being listed literally.
6964
6965 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
6966
6967 * term/xterm.el (xterm-maybe-set-dark-background-mode):
6968 Remove dead code. (Bug#5546)
6969
6970 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
6971
6972 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
6973 correctly (Bug#5548).
6974
6975 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
6976
6977 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
6978 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
6979
6980 2010-02-08 Kenichi Handa <handa@m17n.org>
6981
6982 * international/mule-util.el (with-coding-priority): Add autoload
6983 cookie for putting `lisp-indent-function'.
6984
6985 2010-02-07 Glenn Morris <rgm@gnu.org>
6986
6987 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
6988 Move F2003 named interfaces from keywords-2 to keywords-1, and
6989 use function-name-face rather than constant-face.
6990 Simplify "abstract interface" regexp.
6991
6992 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
6993
6994 * eshell/esh-util.el (eshell-file-attributes): New optional arg
6995 ID-FORMAT. Pass it to `file-attributes'.
6996
6997 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
6998
6999 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
7000
7001 * faces.el (set-face-attribute): Allow calling
7002 internal-set-lisp-face-attribute with 'unspecified family and
7003 foundry argument (Bug#5536).
7004
7005 2010-02-07 Glenn Morris <rgm@gnu.org>
7006
7007 * progmodes/f90.el (f90-font-lock-keywords-2)
7008 (f90-looking-at-type-like, f90-looking-at-program-block-end):
7009 Handle F2003 named interfaces.
7010
7011 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
7012
7013 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7014 beg and end before calling c-get-state-before-change-functions.
7015
7016 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
7017
7018 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7019
7020 2010-02-05 Juri Linkov <juri@jurta.org>
7021
7022 * doc-view.el (doc-view-mode):
7023 * image-mode.el (image-mode): Put property mode-class=special.
7024 (Bug#4896)
7025
7026 2010-02-05 Mark A. Hershberger <mah@everybody.org>
7027
7028 * vc-svn.el (vc-svn-revision-table): New function.
7029
7030 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
7031
7032 * net/ange-ftp.el (ange-ftp-insert-directory):
7033 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7034 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7035 Handle also directories. (Bug#5478)
7036
7037 2010-02-05 Glenn Morris <rgm@gnu.org>
7038
7039 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7040
7041 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
7042
7043 * startup.el (command-line-1): Convert options beginning with a
7044 single dash as well (Bug#5519).
7045
7046 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7048 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7049 * minibuffer.el (completion-initials-expand): Only check the presence
7050 of delims *within* the boundaries, since otherwise the / delim is
7051 always found for files.
7052
7053 Fix up various corner case problems.
7054 * doc-view.el (doc-view-last-page-number): New function.
7055 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7056 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7057 (doc-view-kill-proc): Avoid inf-loop in freak cases.
7058 (doc-view-reconvert-doc): Use the new recursive delete-directory.
7059 (doc-view-convert-current-doc): Don't create the resolution.el file
7060 here any more.
7061 (doc-view-pdf/ps->png): Do it here instead.
7062 (doc-view-already-converted-p): Check that resolution.el is present.
7063 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
7064 windows that are not yet showing images.
7065
7066 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
7067
7068 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
7069 `dired-uncache' for every elemnt which is an absolute file name.
7070
7071 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
7072 directory, handle its directory component.
7073 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
7074 function is called permanently and creates noise, otherwise.
7075
7076 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7077 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7078 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
7079
7080 2010-02-04 David Burger <dburger@google.com> (tiny change)
7081
7082 * macros.el (apply-macro-to-region-lines):
7083 Minor simplification. (Bug#5485)
7084
7085 2010-02-04 Glenn Morris <rgm@gnu.org>
7086
7087 * mail/rmail.el (rmail-show-message-1): Handle malformed
7088 quoted-printable text. (Bug#5441)
7089
7090 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
7091
7092 * simple.el (visual-line-mode): Capitalize lighter.
7093
7094 2010-02-03 John Wiegley <jwiegley@gmail.com>
7095
7096 * iswitchb.el (iswitchb-completions): Add bookmark files to the
7097 list of files considered for "virtual buffer" completions.
7098
7099 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
7100
7101 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
7102 also in case of (and (not full) (not wildcard)). This is needed
7103 when dired is called with a list of files, which are not in
7104 `default-directory'. (Bug#5478)
7105
7106 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
7109
7110 2010-02-02 Juri Linkov <juri@jurta.org>
7111
7112 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
7113 from unidiff to allow function-line after @@.
7114
7115 2010-02-02 Juri Linkov <juri@jurta.org>
7116
7117 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
7118 '(RCS SCCS) with inverted condition.
7119
7120 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
7121
7122 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
7123 messages.
7124
7125 2010-02-01 Juri Linkov <juri@jurta.org>
7126
7127 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
7128 compare with "pkunzip" and "pkzip" instead of only "pkzip".
7129 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
7130 only when (car archive-zip-extract) is "unzip". (Bug#5475)
7131
7132 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
7135 (doc-view-revert-buffer): New command.
7136 (doc-view-mode-map): Use it.
7137
7138 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
7139
7140 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
7141 pending merge is detected.
7142
7143 2010-01-31 Juri Linkov <juri@jurta.org>
7144
7145 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
7146 beginning of interactive spec like all other grep commands do.
7147 Put "all" in front of "gz". (Bug#5260)
7148
7149 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
7150
7151 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
7152
7153 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
7154
7155 * dirtrack.el (dirtrack): Warn instead of signalling error if the
7156 regexp is incorrect (Bug#5476).
7157
7158 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
7159
7160 * net/tramp.el (tramp-handle-insert-directory): Handle also
7161 symlinks, when FILENAME is not in `default-directory'.
7162
7163 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
7164
7165 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
7166 FILE is not in `default-directory'. (Bug#5478)
7167
7168 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
7169 of SWITCHES. Handle the case, FILENAME is not in
7170 `default-directory'. (Bug#5478)
7171 (tramp-register-file-name-handlers): Add safe-magic property.
7172
7173 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
7174
7175 * arc-mode.el (archive-zip-extract): Quote the argument passed to
7176 unzip (Bug#5475).
7177
7178 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
7179
7180 * progmodes/flymake.el (flymake-allowed-file-name-masks)
7181 (flymake-master-make-header-init): Add other C++ filename masks.
7182 (flymake-find-possible-master-files)
7183 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
7184
7185 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
7186
7187 Fix some busybox annoyances.
7188
7189 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
7190 not responding." string.
7191 (tramp-open-connection-setup-interactive-shell): Dump stty
7192 settings. Enable "neveropen" arg for all `tramp-send-command'
7193 calls. Handle "=" in variable values properly.
7194 (tramp-find-inline-encoding): Raise an error, when no encoding is
7195 found.
7196 (tramp-wait-for-output): Check, whether PROC buffer is available.
7197 Remove spurious " ^H" sequences, sent by busybox.
7198 (tramp-get-ls-command): Suppress coloring, if possible.
7199
7200 2010-01-28 Glenn Morris <rgm@gnu.org>
7201
7202 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
7203
7204 * log-edit.el (log-edit-strip-single-file-name): Add missing
7205 :safe, :group, and :version tags.
7206
7207 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
7208
7209 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
7210 buffers. (Bug#5477)
7211
7212 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
7213
7214 * files.el (delete-directory): Handle moving to trash without
7215 first doing recursion (Bug#5436).
7216
7217 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
7218
7219 * vc-hooks.el (vc-path): Mark as obsolete.
7220
7221 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
7222
7223 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
7224 names too.
7225
7226 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
7227 for the short log.
7228 (vc-bzr-log-view-mode): Adjust regexp for the above change.
7229
7230 2010-01-25 Mark A. Hershberger <mah@everybody.org>
7231
7232 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
7233
7234 * vc-bzr.el (vc-bzr-revision-table): New function.
7235
7236 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
7237
7238 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
7239 diff-index command. This requires at least git-1.5.5. (Bug#1589).
7240
7241 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
7242
7243 Remove support for adding --signoff on commit.
7244 Future support will use an incompatible generic mechanism.
7245 * vc-git.el (vc-git-add-signoff): Remove variable.
7246 (vc-git-toggle-signoff): Remove function.
7247 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
7248
7249 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
7250 from xterm-set-background-mode. Return t if the background mode
7251 was set.
7252 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7253 earlier, call it again in case the background mode has changed.
7254
7255 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
7256
7257 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7258 (Bug#3541).
7259
7260 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
7261
7262 * emacs-lisp/assoc.el (aelement): Doc fix.
7263 (aput, adelete, amake): Use lexical-let (Bug#5450).
7264
7265 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
7266
7267 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7268 is the same as subprogram call, not declaration. (Bug#5435).
7269
7270 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
7271
7272 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7273 (tramp-smb-maybe-open-connection): Use it.
7274
7275 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
7276
7277 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
7278
7279 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
7282 just because we see "encoding: 8bit".
7283 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
7284
7285 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
7286
7287 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
7288
7289 2010-01-22 Eli Zaretskii <eliz@gnu.org>
7290
7291 * jka-compr.el (jka-compr-load): If load-file is not in
7292 load-history, try its file-truename version. (bug#5447)
7293
7294 2010-01-21 Alan Mackenzie <acm@muc.de>
7295
7296 Fix a situation where deletion of a cpp construct throws an error.
7297 * progmodes/cc-engine.el (c-invalidate-state-cache):
7298 Before invoking c-with-all-but-one-cpps-commented-out, check that the
7299 special cpp construct is still in the buffer.
7300 (c-parse-state): Record the special cpp with markers, not numbers.
7301
7302 2010-01-21 Kenichi Handa <handa@m17n.org>
7303
7304 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
7305 process last-command-event, as it is now decoded first (Bug#5380).
7306
7307 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
7308
7309 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
7310
7311 2010-01-20 Glenn Morris <rgm@gnu.org>
7312
7313 * indent.el (tab-always-indent): Fix custom-type.
7314
7315 2010-01-19 Alan Mackenzie <acm@muc.de>
7316
7317 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
7318 buffer throws "args out of range".
7319 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
7320 playing the role of delimiter.
7321
7322 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
7323
7324 * progmodes/ada-mode.el: Fix bug#5400.
7325 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
7326 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
7327 changed. Delete RECURSIVE parameter; never used. Improve doc string.
7328 Improve comments in "is" portion. Handle null procedure declaration.
7329 (ada-move-to-end): Improve doc string.
7330
7331 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
7332
7333 * ido.el (ido-cur-list): Initialize to nil.
7334 Remove obsolete information from commentary.
7335 (ido-choice-list): Initialize to nil.
7336 (ido-get-bufname): Reject minibuffers.
7337 (ido-make-buffer-list): If "default" is a nonexistent
7338 buffer, ignore it, as per the function's comment.
7339 (ido-kill-buffer-internal): New function.
7340 (ido-kill-buffer-at-head): Use it.
7341 (ido-visit-buffer): Likewise.
7342
7343 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
7344
7345 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
7346
7347 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
7348
7349 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
7350 Fix typos in chart titles.
7351
7352 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
7353 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
7354 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
7355 (describe-class, eieio-describe-generic, describe-generic):
7356 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
7357 (eieio-speedbar-expand):
7358 * emulation/viper-cmd.el (viper-exec-form-in-vi)
7359 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
7360 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
7361 (viper-del-backward-char-in-replace, viper-backward-indent)
7362 (viper-brac-function, viper-register-to-point, viper-submit-report):
7363 * net/tramp.el (tramp-remote-coding-commands):
7364 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
7365 Fix typos in docstrings.
7366
7367 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
7368
7369 * mail/sendmail.el (mail-yank-original): Set the mark if the
7370 specified function for yanking does not do it.
7371
7372 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
7373
7374 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
7375
7376 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
7377 resyncing a directory.
7378
7379 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
7380
7381 * progmodes/ada-mode.el: Fix bug#1920.
7382 (ada-ident-re): Delete ., allow multibyte characters.
7383 (ada-goto-label-re): New; matches goto labels.
7384 (ada-block-label-re): New; matches block labels.
7385 (ada-label-re): New; matches both.
7386 (ada-named-block-re): Deleted; callers changed to use
7387 `ada-block-label-re' instead.
7388 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
7389 Use `ada-block-label-re'.
7390 (ada-indent-on-previous-lines): Improve handling of goto labels.
7391 (ada-get-indent-block-start): Special-case block label.
7392 (ada-get-indent-label): Split into `ada-indent-block-label' and
7393 `ada-indent-goto-label'.
7394 (ada-goto-stmt-start, ada-goto-next-non-ws):
7395 Optionally ignore goto labels.
7396 (ada-goto-next-word): Simplify.
7397 (ada-indent-newline-indent-conditional): Insert newline before
7398 trying to fix indentation; doc fix.
7399
7400 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
7401
7402 * calc/calc.el (calc-command-flags): Give it an initial value.
7403
7404 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
7405
7406 * files.el (minibuffer-with-setup-hook):
7407 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
7408 (artist-key-draw-continously, artist-key-do-continously-continously)
7409 (artist-key-set-point-continously, artist-mouse-draw-continously):
7410 Fix typos in docstrings.
7411
7412 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
7413
7414 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
7415 return t (Bug#3898).
7416
7417 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
7418
7419 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
7420 can parse the output of the external commands (Bug#5279).
7421
7422 2010-01-16 Jari Aalto <jari.aalto@cante.net>
7423
7424 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
7425
7426 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
7427
7428 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
7429
7430 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
7431
7432 * startup.el (command-line): Remove unused --icon-type arg.
7433 Handle --display arg, passing it to command-line-1 (Bug#5392).
7434
7435 2010-01-16 Mario Lang <mlang@delysid.org>
7436
7437 * emacs-lisp/chart.el (chart-translate-namezone):
7438 * textmodes/artist.el (artist-compute-popup-menu-table):
7439 Remove duplicated words in doc-strings.
7440
7441 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
7442
7443 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
7444 to mairix-search to suppress threading (Bug#5342).
7445
7446 2010-01-15 Kenichi Handa <handa@m17n.org>
7447
7448 * international/mule-cmds.el (canonicalize-coding-system-name):
7449 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
7450
7451 2010-01-15 Glenn Morris <rgm@gnu.org>
7452
7453 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
7454
7455 * wid-edit.el (widget-keymap): Doc fix.
7456
7457 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
7458 former seems to be more widely accepted by various svn versions.
7459
7460 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7461
7462 * find-cmd.el (find-constituents):
7463 * vc-arch.el (vc-arch-root):
7464 * window.el (window-body-height, pop-up-frames):
7465 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
7466 * progmodes/ada-stmt.el (ada-if):
7467 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
7468 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
7469 (ispell-encoding8-command, ispell-aspell-supports-utf8)
7470 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
7471
7472 * progmodes/flymake.el (flymake-post-syntax-check):
7473 Fix typo in error message.
7474
7475 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7476
7477 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
7478 which is always a string. (Bug#5313)
7479
7480 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7481
7482 * progmodes/ada-xref.el (ada-default-prj-properties):
7483 Simplify previous change.
7484
7485 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7486
7487 * progmodes/ada-xref.el (ada-default-prj-properties):
7488 Default ada_project_path to $ADA_PROJECT_PATH.
7489
7490 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7491
7492 * progmodes/ada-mode.el (ada-create-keymap):
7493 Override `narrow-to-defun' with `ada-narrow-to-defun'.
7494
7495 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7496
7497 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
7498 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
7499 (ada-get-current-indent, ada-imenu-generic-expression)
7500 (ada-which-function): Check for it.
7501
7502 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7503
7504 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
7505 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
7506
7507 2010-01-14 Glenn Morris <rgm@gnu.org>
7508
7509 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
7510
7511 2010-01-14 Kenichi Handa <handa@m17n.org>
7512
7513 * composite.el (auto-composition-mode): Make it a buffer local
7514 variable (permanent-local).
7515 (auto-composition-function): Set the default value to
7516 auto-compose-chars.
7517 (auto-composition-mode): Make it a simple function, not a minor mode.
7518 (global-auto-composition-mode): Likewise.
7519 (turn-on-auto-composition-if-enabled): Delete it.
7520
7521 2010-01-13 Karl Fogel <kfogel@red-bean.com>
7522
7523 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
7524
7525 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
7526
7527 * files.el (copy-directory): Compute target for recursive
7528 directories with identical names. (Bug#5343)
7529
7530 2010-01-12 Glenn Morris <rgm@gnu.org>
7531
7532 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
7533 it to bug-gnu-emacs rather than emacs-pretest-bug.
7534
7535 2010-01-11 Sam Steingold <sds@gnu.org>
7536
7537 * imenu.el (imenu-default-create-index-function): Detect infinite
7538 loops caused by imenu-prev-index-position-function.
7539
7540 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
7541
7542 * htmlfontify.el (htmlfontify-load-rgb-file)
7543 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
7544 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
7545 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
7546 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
7547 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
7548 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
7549 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
7550 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
7551 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
7552 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
7553 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
7554 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
7555 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
7556 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
7557 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
7558 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
7559 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
7560 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
7561 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
7562 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
7563 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
7564 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
7565 backslash-quoting from parentheses, etc.
7566
7567 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
7568
7569 * progmodes/js.el: Autoload javascript-mode alias.
7570
7571 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
7572
7573 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
7574 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
7575 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
7576 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
7577 Fix typos in docstrings.
7578 (ffap-url-regexp): Doc fix.
7579 (ffap-at-mouse): Fix typo in message.
7580
7581 2010-01-11 Glenn Morris <rgm@gnu.org>
7582
7583 * version.el (emacs-copyright): Set copyright year to 2010.
7584
7585 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * format.el (format-annotate-function): Only set
7588 write-region-post-annotation-function after running to-fn so as not to
7589 affect nested write-region calls (bug#5273).
7590
7591 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
7592
7593 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
7594 wisent/python.el.
7595
7596 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
7597
7598 * man.el (Man-goto-section): Signal error if the section is not
7599 found (Bug#5317).
7600
7601 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
7602
7603 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
7604 URLs with a leading triple slash in the file: scheme. (Bug#5345)
7605
7606 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
7607
7608 * progmodes/compile.el: Don't treat compile-command as safe if
7609 compilation-read-command might be nil (Bug#4218).
7610
7611 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
7612
7613 * startup.el (command-line-1): Use orig-argi to check for ignored X and
7614 NS options.
7615
7616 2010-01-08 Kenichi Handa <handa@m17n.org>
7617
7618 * international/fontset.el (build-default-fontset-data):
7619 Exclude characters in scripts kana, hangul, han, or cjk-misc.
7620
7621 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
7622
7623 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
7624 to `create-file-buffer' as it expects, not just a buffer name.
7625 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
7626 to help uniquify. (Bug#3224)
7627
7628 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
7629
7630 * font-setting.el (font-setting-change-default-font): Use user-spec
7631 instead of name.
7632
7633 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
7634
7635 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
7636
7637 2010-01-05 Tom Tromey <tromey@redhat.com>
7638
7639 * progmodes/python.el (python-font-lock-keywords):
7640 Handle qualified decorators (Bug#881).
7641
7642 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7643
7644 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
7645 in a lightweight checkout.
7646
7647 2010-01-05 Kenichi Handa <handa@m17n.org>
7648
7649 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
7650
7651 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7652
7653 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
7654
7655 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
7656
7657 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
7658 checkouts. (Bug#618)
7659 (vc-bzr-log-view-mode): Also highlight the author.
7660 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7661 (vc-bzr-shelve-menu-map):
7662 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
7663 (vc-bzr-shelve-apply): Make prompt more explicit.
7664
7665 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
7666
7667 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
7668 They are valid characters in URL paths (rfc3986), and at least
7669 Firefox does not understand the encoded version (Bug#3166).
7670
7671 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
7672
7673 * progmodes/octave-mod.el (octave-end-keywords)
7674 (octave-block-begin-or-end-regexp, octave-block-match-alist):
7675 Add "end" keyword (Bug#3061).
7676 (octave-end-as-array-index-p): New function.
7677 (calculate-octave-indent): Use it.
7678
7679 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7680
7681 * bookmark.el: Consistently put the text property on the bookmark name.
7682 (bookmark-bmenu-marks-width): Bump back to 2, to include
7683 annotation marks.
7684 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
7685 property on the bookmark name, instead of not putting it at all.
7686 (bookmark-bmenu-list): Fix where we put the text property.
7687
7688 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7689
7690 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
7691 for showing buffer modified state (as added in the previous change).
7692
7693 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7694
7695 * bookmark.el: Show modified state of bookmark buffer more accurately.
7696 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
7697 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
7698 (with-buffer-modified-unmodified): New macro.
7699 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7700 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
7701 Use new macro to preserve the buffer modified state.
7702
7703 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7704
7705 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
7706 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
7707 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
7708 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
7709 (bookmark-bmenu-rename, bookmark-bmenu-locate)
7710 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
7711 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
7712
7713 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7714
7715 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7716 Make the lines in the generated doc string shorter. (Bug#4668)
7717
7718 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
7719
7720 * net/rcirc.el: Add follow-link binding (Bug#4738).
7721
7722 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7723
7724 * Makefile.in (bzr-update): Rename from cvs-update.
7725 (cvs-update): New target for backward compatibility.
7726
7727 * makefile.w32-in (bzr-update): Rename from cvs-update.
7728 (cvs-update): New target for backward compatibility.
7729
7730 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7731
7732 * bookmark.el: Remove gratuitous gratitude.
7733
7734 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7735
7736 * bookmark.el (bookmark-bmenu-any-marks): New function.
7737 (bookmark-bmenu-save): Clear buffer modification if no marks.
7738
7739 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7740
7741 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
7742 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
7743 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
7744 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
7745
7746 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
7747 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
7748 To: emacs-devel {_AT_} gnu.org
7749 Subject: bookmark.el bug report
7750 Date: Mon, 28 Dec 2009 14:19:16 +0800
7751 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
7752
7753 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7754
7755 * bookmark.el: Improvements suggested by Drew Adams:
7756 (bookmark-bmenu-ensure-position): New name for
7757 `bookmark-bmenu-check-position'. Just ensure the position,
7758 don't return any meaningful value.
7759 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
7760 New constants.
7761
7762 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
7763
7764 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
7765 (bookmark-yank-point, bookmark-bmenu-check-position):
7766 Fix typos in docstrings.
7767 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
7768 (bookmark-name-from-full-record, bookmark-get-position)
7769 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
7770 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
7771 Remove useless quoting of parenthesis, etc. in docstrings.
7772
7773 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
7774 (ediff-append-custom-diff): Fix typo in error message.
7775 (ediff-meta-mark-equal-files): Fix typos in messages.
7776
7777 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
7778
7779 * net/imap-hash.el (imap-hash-make): Doc fix.
7780 (imap-hash-test): Fix typo in error message; reflow docstring.
7781 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
7782 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
7783 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
7784 Fix typos in docstrings.
7785 (imap-hash-open-connection): Fix typo in error message.
7786
7787 * play/gomoku.el (gomoku): Fix typos in docstring.
7788
7789 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
7790 (gdb-jsonify-buffer): Fix typos in docstring.
7791 (gdb-goto-breakpoint): Fix typo in error message.
7792 ("Display Other Windows"): Fix typo in help message.
7793 (gdb-speedbar-expand-node): Fix typo in question.
7794
7795 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
7796 (idlwave-html-system-help-location, idlwave-html-help-location)
7797 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
7798 (idlwave-help-browser-generic-args, idlwave-help-directory)
7799 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
7800 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
7801 (idlwave-online-help, idlwave-help-html-link)
7802 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
7803 Fix typos in docstrings.
7804 (idlwave-help-with-source, idlwave-help-find-routine-definition):
7805 Reflow docstrings.
7806 (idlwave-help-assistant-start): Fix typo in error message.
7807
7808 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
7809 (octave-electric-space): Fix typos in docstrings.
7810
7811 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
7812
7813 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
7814
7815 2010-01-01 Juri Linkov <juri@jurta.org>
7816
7817 * comint.el (comint-input-ring-size): Make it a defcustom and
7818 increase the default to 500 (Bug#5148).
7819
7820 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
7821
7822 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
7823 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
7824 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
7825
7826 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
7827
7828 Show working revision correctly for mercurial.
7829 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
7830 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
7831
7832 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
7833
7834 Declare some functions for the byte-compiler.
7835 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
7836 (speedbar-timer-fn, speedbar-change-expand-button-char)
7837 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
7838
7839 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
7840
7841 This changeset reverts GDB Graphical Interface to use annotations.
7842 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
7843
7844 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
7845
7846 Make vc-dir work on subdirectories of the bzr root.
7847 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
7848 file names relative to it.
7849 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
7850 relative directory to vc-bzr-after-dir-status.
7851
7852 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
7853
7854 * font-lock.el (font-lock-refresh-defaults): New function, which
7855 can be used to let font-lock react to external changes in
7856 variables like font-lock-defaults and keywords.
7857 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
7858
7859 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
7860
7861 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
7862
7863 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
7864
7865 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
7866
7867 Supersede color.diff settings in git log (bug#5211).
7868
7869 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
7870 escape chars in its output when the user has color.diff set to `always'.
7871 This fix works on git 1.4.2 and newer (released on 2006-08-13).
7872
7873 2009-12-26 Kevin Ryde <user42@zip.com.au>
7874
7875 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
7876 node. Keep previous "Index" name to work with past coreutils too.
7877
7878 * man.el (man): Revise docstring a bit to show -a and -l as
7879 examples. Add -k description since support for it has otherwise
7880 been a secret. (Further to bug#3717.)
7881 (Man-bgproc-sentinel): When "-k foo" produces no output show error
7882 "no matches" rather than "Can't find manpage", as the latter reads
7883 like -k was interpreted as a page name, which is not so. (Bug#5431)
7884
7885 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
7886
7887 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
7888 switches. Check also for //SUBDIRED// line.
7889
7890 2009-12-25 Kenichi Handa <handa@m17n.org>
7891
7892 * language/indian.el (devanagari-composable-pattern): Fixed to
7893 handle ZWNJ and ZWJ. Use it in composition-function-table for
7894 Devanagari.
7895 (malayalam-composable-pattern): Fix previous change.
7896
7897 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7898
7899 * ps-print.el (ps-face-attributes): It was not returning the
7900 attribute face for faces specified as string. Reported by harven
7901 <harven@free.fr>. (Bug#5254)
7902 (ps-print-version): New version 7.3.5.
7903
7904 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
7905
7906 * calendar/icalendar.el (icalendar--convert-tz-offset):
7907 Fix timezone names.
7908 (icalendar--convert-tz-offset): Fix the "last-day-problem".
7909 (icalendar--add-diary-entry): Remove the trailing blank that
7910 diary-make-entry inserts.
7911
7912 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
7913
7914 Make `file-expand-wildcards' work for remote files.
7915
7916 * files.el (file-expand-wildcards): In case of remote files, check
7917 only local file name part for wildcards. Provide feature 'files
7918 and subfeature 'remote-wildcards. (Bug#5198)
7919
7920 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
7921 if there is already an established connection.
7922 (tramp-advice-file-expand-wildcards): Remove it.
7923
7924 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
7925 (tramp-advice-file-expand-wildcards): Move from tramp.el.
7926 Activate advice for older GNU Emacs versions. (Bug#5237)
7927
7928 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
7929
7930 Some doc fixes (more needed).
7931
7932 * find-cmd.el (find-constituents): Reflow docstring.
7933 (find-cmd, find-prune, find-command): Fix typos in docstrings.
7934 (find-generic): Doc fix.
7935
7936 2009-12-17 Juri Linkov <juri@jurta.org>
7937
7938 Fix regression from 23.1 to allow multiple modes in Local Variables.
7939
7940 * files.el (hack-local-variables-filter): While ignoring duplicates,
7941 don't take `mode' into account.
7942 (hack-local-variables-filter, hack-dir-local-variables):
7943 Don't remove duplicate `mode' from local-variables-alist (like `eval').
7944
7945 2009-12-17 Juri Linkov <juri@jurta.org>
7946
7947 Make `dired-diff' safer. (Bug#5225)
7948
7949 * dired-aux.el (dired-diff): Signal an error when `file' equals to
7950 `current' or when `file' is a directory of the `current' file.
7951
7952 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
7953
7954 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
7955 unconditionally preloaded files.
7956
7957 2009-12-16 Juri Linkov <juri@jurta.org>
7958
7959 Revert to old 23.1 logic of using the file at the mark as default.
7960 * dired-aux.el (dired-diff): Use the file at the mark as default
7961 if it's not the same as the current file, and the target dir is
7962 the current dir or the mark is active. Add the current file
7963 as the arg of `dired-dwim-target-defaults'. Use the default file
7964 in the prompt. (Bug#5225)
7965
7966 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
7967
7968 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
7969 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
7970 (tramp-check-for-regexp): Check also, when an echoing shell stops
7971 to echo sent commands.
7972
7973 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7974
7975 * Makefile.in: Revert last change (Bug#5191).
7976
7977 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
7978
7979 * vc-hg.el (vc-hg-print-log): Fix argument order.
7980 (vc-hg-working-revision): Make sure the command is executed in a
7981 known environment so that we can parse the output. (Bug#4417)
7982
7983 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7984
7985 * progmodes/python.el (python-symbol-completions): Remove text
7986 properties from symbol string before calling python-send-receive.
7987
7988 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
7989
7990 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
7991 when there are values for both file and line. (Bug#5060)
7992
7993 2009-12-14 Juri Linkov <juri@jurta.org>
7994
7995 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
7996 whitespace after the file name of the first line of unified format,
7997 because git-diff doesn't output whitespace and file modification time
7998 after the file name.
7999
8000 2009-12-14 David Kastrup <dak@gnu.org>
8001
8002 * info.el (Info-hide-cookies-node): Before hiding a cookie,
8003 check if it already has the `display' property added by
8004 `Info-display-images-node', and not put the `invisible' property
8005 in this case.
8006
8007 2009-12-13 Glenn Morris <rgm@gnu.org>
8008
8009 * mail/emacsbug.el (message-sort-headers): Define for compiler.
8010 (report-emacs-bug): In message-mode, sort manually before storing
8011 original report text. (Bug#5178)
8012 Remove superfluous save-excursion.
8013
8014 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
8015
8016 * net/dbus.el (dbus-property-handler): Filter lambda forms out
8017 when responding to "GetAll" properties.
8018
8019 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
8020
8021 * simple.el (compose-mail): Remove mail-setup-with-from from
8022 customization checks.
8023
8024 2009-12-12 Eli Zaretskii <eliz@gnu.org>
8025
8026 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8027 RAR archives created on Unix systems.
8028
8029 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8032 the varalias that was accidentally removed by the 2009-11-19 change
8033 (bug#5186).
8034
8035 2009-12-12 Kenichi Handa <handa@m17n.org>
8036
8037 * language/indian.el (indian-compose-regexp): New function.
8038 (malayalam-composable-pattern): Fix the pattern.
8039 (composition-function-table): Set malayalam-composable-pattern for
8040 Malayalam characters.
8041
8042 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
8043
8044 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8045 rather than down-mouse-1, based on follow-link conventions.
8046
8047 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8048 are compiled.
8049
8050 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
8051
8052 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8053 (verilog-vmm-statement-re, verilog-ovm-statement-re)
8054 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8055 (verilog-leap-to-head, verilog-backward-token):
8056 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
8057
8058 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
8059
8060 * progmodes/verilog-mode.el (verilog-auto-lineup)
8061 (verilog-nameable-item-re): Cleanup user-visible spelling and
8062 documentation errors. One reported by Gary Delp.
8063 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
8064 (verilog-read-decls): Fix AUTOWIRE with types declared in a
8065 package, bug195. Reported by Pierre-David Pfister.
8066
8067 2009-12-11 Glenn Morris <rgm@gnu.org>
8068
8069 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
8070
8071 * mail/emacsbug.el: No longer require sendmail.
8072 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
8073 (report-emacs-bug-orig-text): Doc fix.
8074 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
8075 New local variables, to adapt to different mail-user-agents.
8076 (report-emacs-bug): Fix test for a gnu.org address.
8077 Use overlays for emphasis, since font-lock defeats 'face property.
8078 Pretest bugs also end up at the newsgroup these days.
8079 Stop message-mode stripping text properties.
8080 Set and use the new buffer-local variables.
8081 (report-emacs-bug-hook): Add doc-string.
8082 Remove some unnecessary save-excursions and simplify.
8083 Use the appropriate hook and send-command.
8084
8085 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
8086 capitalization of some menu entries.
8087
8088 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8089
8090 * whitespace.el (whitespace-display-char-on):
8091 Ensure `buffer-display-table' is unique when two or more windows are
8092 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
8093 New version 12.1.
8094
8095 2009-12-10 Eli Zaretskii <eliz@gnu.org>
8096
8097 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
8098 characters in the Attribute field.
8099
8100 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
8101
8102 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
8103
8104 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
8105
8106 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
8107 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8108 Disregard autoload-excludes.
8109 (update-directory-autoloads): Obey autoload-excludes here instead.
8110 But don't store its contents in no-autoloads and remove entries that
8111 refer to excludes files.
8112
8113 2009-12-10 Glenn Morris <rgm@gnu.org>
8114
8115 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
8116 (expand-mail-aliases): Define for compiler.
8117
8118 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
8119 Define for compiler.
8120
8121 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
8122 appropriate for the mail-user-agent in use.
8123
8124 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
8125
8126 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8127
8128 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
8129
8130 Fix short log parsing and fontification.
8131 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8132 Fix fontification for the [merge] label.
8133
8134 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
8135
8136 Drop some properties to avoid surprises (bug#5002).
8137 * htmlfontify.el (hfy-ignored-properties): New defcustom.
8138 (hfy-fontify-buffer): Use it.
8139
8140 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 Minor cleanup.
8143 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8144 Adjust all callers.
8145 (ffap-locate-file): Remove unused arg `dir-ok' and make other
8146 args compulsory. Adjust callers.
8147 (ffap-gopher-at-point): Remove unused var `name'.
8148
8149 Get rid of the ELCFILES abomination.
8150 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8151 (compile-elcfiles): New phony target.
8152 (compile-main): Compute ELCFILES dynamically.
8153 (compile-clean): New target to remove left-over elc files.
8154 (compile, all): Use it.
8155
8156 2009-12-09 Kenichi Handa <handa@etlken>
8157
8158 * international/mule-diag.el: Require help-mode instead of help-fns.
8159
8160 2009-12-09 Kenichi Handa <handa@m17n.org>
8161
8162 * international/mule-cmds.el (ucs-names): Supply sufficiently
8163 fine ranges instead of pre-calculating accurate ranges.
8164 Iterate with bigger gc-cons-threshold.
8165
8166 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
8167
8168 Add support for stashing a snapshot of the current tree.
8169 * vc-git.el (vc-git-stash-snapshot): New function.
8170 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8171
8172 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
8173
8174 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8175 instead of `(beginning|end)-of-line'.
8176
8177 2009-12-08 Glenn Morris <rgm@gnu.org>
8178
8179 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8180
8181 * Makefile.in (ELCFILES): Regenerate.
8182
8183 2009-12-07 Juri Linkov <juri@jurta.org>
8184
8185 Don't lazy-highlight the comint output in history Isearch mode.
8186
8187 * comint.el (comint-history-isearch-search): Instead of
8188 `comint-line-beginning-position', use `comint-after-pmark-p'
8189 to check if point if before the process mark, and go to
8190 `process-mark' in this case.
8191
8192 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8193
8194 * textmodes/tex-mode.el (latex-complete)
8195 (latex-indent-or-complete): Remove.
8196 (latex-mode): Set completion-at-point-functions instead.
8197
8198 Provide a standard completion command and hook it into TAB.
8199 * minibuffer.el (completion-at-point-functions): New var.
8200 (completion-at-point): New command.
8201 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8202 * progmodes/python.el (python-mode-map): Use completion-at-point.
8203 (python-completion-at-point): Rename from python-partial-symbol and
8204 adjust for use in completion-at-point-functions.
8205 (python-mode): Setup completion-at-point for Python completion.
8206 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8207 extracted from lisp-complete-symbol.
8208 (lisp-complete-symbol): Use it.
8209 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8210 setup completion-at-point for Elisp completion.
8211 (emacs-lisp-mode-map, lisp-interaction-mode-map):
8212 Use completion-at-point.
8213 * ielm.el (ielm-map): Use completion-at-point.
8214 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8215 * progmodes/sym-comp.el: Move to...
8216 * obsolete/sym-comp.el: Move from progmodes.
8217
8218 2009-12-07 Eli Zaretskii <eliz@gnu.org>
8219
8220 Prevent save-buffer in Rmail buffers from using the coding-system
8221 of the current message, and from clobbering the encoding mnemonics
8222 in the mode line (Bug#4623).
8223
8224 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8225 flag, too.
8226 (rmail-message-encoding): New variable.
8227 (rmail-write-region-annotate): Record the encoding of the current
8228 message in rmail-message-encoding.
8229 (rmail-after-save-hook): New function, restores the encoding of
8230 the current message after the message collection is saved.
8231
8232 2009-12-07 Juri Linkov <juri@jurta.org>
8233
8234 * progmodes/grep.el (grep-read-files): Use `completing-read'
8235 instead of `read-string'. Set its `collection' arg to
8236 `read-file-name-internal'. (Bug#4301)
8237
8238 2009-12-07 Juri Linkov <juri@jurta.org>
8239
8240 Correctly restore original Isearch point. (Bug#4994)
8241
8242 * isearch.el (isearch-mode): Move `isearch-push-state' after
8243 `(run-hooks 'isearch-mode-hook)'.
8244 (isearch-cancel): When `isearch-push-state-function' is defined,
8245 let-bind `isearch-cmds' to the first state (the last element of
8246 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8247 function and restores the original point). Otherwise, move point
8248 to `isearch-opoint'.
8249
8250 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8251
8252 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8253 chars that don't have names, so the table can be built much faster at
8254 run-time.
8255
8256 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
8257
8258 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8259 change. Suggested by David Kastrup.
8260
8261 * simple.el (compose-mail): Check for incompatibilities and warn.
8262 (compose-mail-user-agent-warnings): New option.
8263
8264 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8265
8266 Support showing a single log entry from vc-annotate.
8267 * vc.el (print-log): Add a new argument: START-REVISION.
8268 (vc-print-log-internal): Add a new optional argument and
8269 pass it to the backend.
8270 (vc-print-log, vc-print-root-log): Adjust callers.
8271 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8272 buffer already displays the requested log entry, use it.
8273 Otherwise display only the log entry in question.
8274 * vc-svn.el (vc-svn-print-log):
8275 * vc-mtn.el (vc-mtn-print-log):
8276 * vc-hg.el (vc-hg-state):
8277 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
8278 (vc-git-show-log-entry): Return t on success.
8279 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
8280 (vc-bzr-show-log-entry): Return t on success.
8281 * vc-rcs.el (vc-rcs-print-log):
8282 * vc-sccs.el (vc-sccs-print-log):
8283 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
8284
8285 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8286
8287 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
8288 Add menus to the meta mode. (Bug#5043)
8289
8290 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
8291
8292 * ediff-init.el (ediff-event-key): Use event-to-character instead of
8293 event-key.
8294
8295 * ediff.el (ediff-buffers-internal): Add unwind-protect.
8296
8297 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
8298
8299 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
8300 Berbain <raphael.berbain@gmail.com>.
8301
8302 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
8303 characters.
8304 (tramp-initial-end-of-output): New defconst.
8305 (tramp-methods, tramp-find-shell)
8306 (tramp-open-connection-setup-interactive-shell)
8307 (tramp-maybe-open-connection): Use it.
8308 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
8309 existence of `#' and `$'.
8310
8311 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
8312 `tramp-initial-end-of-output'.
8313
8314 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8315
8316 Get the background mode from the terminal for xterm, and set
8317 faces accordingly.
8318 * term/xterm.el (xterm-set-background-mode): New function.
8319 (terminal-init-xterm): Use it in case xterm supports background
8320 color queries. Recompute faces after getting the background
8321 color.
8322
8323 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
8324
8325 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
8326 number comment back on its own line, for easier parsing.
8327
8328 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 Make it work for non-file buffers (bug#5102).
8331 * doc-view.el (doc-view-current-cache-dir):
8332 Use doc-view-buffer-file-name rather than buffer-file-name.
8333 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
8334
8335 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
8336
8337 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
8338 author field is too short.
8339
8340 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
8341
8342 * vc-git.el (vc-git-print-log): Handle a limit argument.
8343 Display the short log in graph form and with labels.
8344 (vc-git-log-view-mode): Handle labels.
8345
8346 Make vc-revert change VC state from 'added to 'unregistered.
8347 * vc-git.el (vc-git-revert): Call git reset first.
8348
8349 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
8350
8351 * net/newst-backend.el, net/newst-plainview.el:
8352 * net/newst-reader.el, net/newst-ticker.el:
8353 * net/newst-treeview.el, net/newsticker.el:
8354 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
8355
8356 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
8357
8358 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
8359
8360 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
8361 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
8362 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
8363 Update annotation regexp.
8364
8365 * simple.el (beginning-of-visual-line): Constrain to field
8366 boundaries (Bug#5106).
8367
8368 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
8369
8370 * xml.el (xml-substitute-numeric-entities): Move
8371 newsticker--decode-numeric-entities in newst-backend.el to
8372 xml-substitute-numeric-entities in xml.el. (Bug#5008)
8373 * net/newst-backend.el (newsticker--parse-generic-feed)
8374 (newsticker--parse-generic-items)
8375 (newsticker--decode-numeric-entities): Move
8376 newsticker--decode-numeric-entities in newst-backend.el to
8377 xml-substitute-numeric-entities in xml.el. (Bug#5008)
8378
8379 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
8380
8381 * progmodes/js.el (js--js-not): Add null to the list of values.
8382
8383 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
8384
8385 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
8386
8387 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8388
8389 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
8390 delimiter if it is at the end of the current line.
8391 (bibtex-generate-url-list): Fix docstring.
8392
8393 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
8396 minibuffer's content with itself.
8397 Fold the confirm-after-completion case into the `confirm' case.
8398 (completion-pcm-word-delimiters): Add : and / to the delimiters.
8399
8400 2009-12-06 Kevin Ryde <user42@zip.com.au>
8401
8402 * ffap.el (ffap-rfc-path): Make this a defcustom since
8403 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
8404
8405 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
8406 manuals, similar to existing setup for help-mode. (Bug#3913.)
8407
8408 2009-12-05 Juri Linkov <juri@jurta.org>
8409
8410 Save and restore dired buffer's point positions too. (Bug#4880)
8411
8412 * dired.el (dired-save-positions): Return in the first element
8413 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
8414 Doc fix.
8415 (dired-restore-positions): First restore buffer's position.
8416 While restoring window's positions, check if window still displays
8417 the original buffer.
8418
8419 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
8420
8421 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
8422 if possible.
8423
8424 * shell.el (shell): Require ansi-color (Bug#5113).
8425
8426 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
8427
8428 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
8429
8430 2009-12-05 Alan Mackenzie <acm@muc.de>
8431
8432 * progmodes/cc-mode.el (c-before-hack-hook)
8433 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
8434 `c-file-style' to work again. This reversion restores the current
8435 software to its state in Emacs 23.1. (Bug#4146)
8436
8437 2009-12-05 Kevin Ryde <user42@zip.com.au>
8438
8439 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
8440 comment-start-skip to comment-end-skip as comment (Bug#4781).
8441
8442 2009-12-05 Juri Linkov <juri@jurta.org>
8443
8444 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
8445 for virtual nodes. (Bug#4147)
8446 (Info-find-node-2): Set `Info-current-node-virtual' to nil
8447 when moving from a virtual node.
8448 (Info-mode-menu): Add `Info-virtual-index' to the menu.
8449 (Info-mode): Add `Info-virtual-index' to the docstring.
8450
8451 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8452
8453 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
8454 track of the buffer position of the end of a BibTeX entry as this
8455 position may change during reformatting.
8456 (bibtex-format-entry): Remove whitespace before processing
8457 numerical fields so that we recognize the latter properly.
8458 (bibtex-reformat): Do not use push which changes the global value
8459 of bibtex-entry-format.
8460 (bibtex-field-braces-alist, bibtex-field-strings-alist)
8461 (bibtex-field-re-init): Replace only space characters by regexp
8462 for whitespace.
8463 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
8464 (bibtex-initialize): Also update bibtex-strings.
8465 (bibtex-kill-field): Preserve white space at end of entry.
8466 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
8467 Update bibtex-reference-keys.
8468
8469 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
8470
8471 * minibuffer.el (completion-pcm--merge-try): Also consider placing
8472 point after a star, if that's the only place where modifications can
8473 make progress.
8474
8475 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
8476
8477 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
8478 in docstrings.
8479
8480 2009-12-04 Juri Linkov <juri@jurta.org>
8481
8482 * proced.el (proced): Call `(proced-update t)' to update process
8483 information instead of only running proced-post-display-hook.
8484 (proced-send-signal): Add a leading space to the buffer name
8485 " *Marked Processes*" to make this buffer ephemeral.
8486
8487 2009-12-04 Juri Linkov <juri@jurta.org>
8488
8489 * dired.el (dired-auto-revert-buffer): New defcustom.
8490 (dired-internal-noselect): Use it.
8491
8492 2009-12-04 Juri Linkov <juri@jurta.org>
8493
8494 Change roles of modes and functions in image-mode.el (Bug#5062).
8495
8496 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
8497 in `auto-mode-alist'.
8498 (image-mode-previous-major-mode): New variable.
8499 (image-minor-mode-map): Rename from `image-mode-text-map'.
8500 (image-mode): Move graceful error-handling code from
8501 `image-minor-mode' to here. On errors call `image-mode-as-text'.
8502 (image-minor-mode): Remove all image-handling code.
8503 Replace `image-mode-text-map' with `image-minor-mode-map'.
8504 Check for `image-type' in mode-line format string.
8505 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
8506 (image-mode-as-text): New function with most code from
8507 `image-mode-maybe'.
8508 (image-toggle-display-text): Move code that removes image
8509 properties from `image-toggle-display' to here.
8510 (image-toggle-display-image): New function with code that adds
8511 image properties copied from `image-toggle-display'.
8512 (image-toggle-display): Remove most code with leaving only code
8513 that toggles between `image-mode-as-text' and `image-mode'.
8514
8515 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
8516
8517 * net/newst-treeview.el
8518 (newsticker--treeview-list-highlight-start): Restored call to
8519 save-excursion: Selected item was stuck.
8520 (newsticker--treeview-list-select): New.
8521 (newsticker--treeview-item-show-text)
8522 (newsticker--treeview-item-show)
8523 (newsticker--treeview-item-update): Use new
8524 newsticker-treeview-item-mode.
8525 (newsticker-treeview-update): Keep current item.
8526 (newsticker-treeview-next-new-or-immortal-item): Doc change.
8527 (newsticker--treeview-first-feed): Doc change.
8528 (newsticker-treeview-list-menu)
8529 (newsticker-treeview-item-menu): Added menu entries.
8530 (newsticker-treeview-item-mode): New.
8531
8532 * net/newst-backend.el (newsticker-customize): Delete other
8533 windows.
8534
8535 2009-12-04 Sam Steingold <sds@gnu.org>
8536
8537 * log-view.el (log-view-mode-map): "q" calls quit-window,
8538 like in all the other non-self-insert buffers.
8539
8540 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 Minor cleanup.
8543 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
8544 key decoding rather than do it manually via last-input-event +
8545 ascii-character.
8546 (term-exec): Use delete-and-extract-region.
8547 (term-handle-ansi-terminal-messages): Remove unused var `end'.
8548 (term-process-pager): Remove unused var `i'.
8549 (term-dynamic-simple-complete): Make obsolete.
8550 (serial-update-config-menu): Remove unused vars `y' and `str'.
8551 (term-update-mode-line): Remove unused var `temp'.
8552
8553 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8554
8555 Limit the number of log entries displayed by default.
8556 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
8557 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
8558 using a prefix argument.
8559
8560 2009-12-03 Glenn Morris <rgm@gnu.org>
8561
8562 * progmodes/idlwave.el (class): Restore still useful declaration.
8563
8564 2009-12-03 Alan Mackenzie <acm@muc.de>
8565
8566 Enhance `c-parse-state' to run efficiently in "brace deserts".
8567
8568 * progmodes/cc-mode.el (c-basic-common-init):
8569 Call c-state-cache-init.
8570 (c-neutralize-syntax-in-and-mark-CPP): Rename from
8571 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
8572 placing `category' properties value 'c-cpp-delimiter at its boundaries.
8573
8574 * progmodes/cc-langs.el (c-before-font-lock-function):
8575 c-extend-and-neutralize-syntax-in-CPP has been renamed
8576 c-neutralize-syntax-in-and-mark-CPP.
8577
8578 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
8579 with `category' properties now, not `syntax-table' ones.
8580
8581 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
8582 enhanced (but slower) version of c-end-of-macro that won't land
8583 inside a literal or on another awkward character.
8584 (c-state-cache-too-far, c-state-cache-start)
8585 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
8586 (c-state-nonlit-pos-cache-limit, c-state-point-min)
8587 (c-state-point-min-lit-type, c-state-point-min-lit-start)
8588 (c-state-min-scan-pos, c-state-brace-pair-desert)
8589 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
8590 buffer local variables.
8591 (c-state-literal-at, c-state-lit-beg)
8592 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
8593 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
8594 (c-state-cache-top-paren, c-state-cache-after-top-paren)
8595 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
8596 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
8597 (c-renarrow-state-cache)
8598 (c-append-lower-brace-pair-to-state-cache)
8599 (c-state-push-any-brace-pair, c-append-to-state-cache)
8600 (c-remove-stale-state-cache)
8601 (c-remove-stale-state-cache-backwards, c-state-cache-init)
8602 (c-invalidate-state-cache-1, c-parse-state-1)
8603 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
8604 (c-parse-state): Enhance and refactor.
8605 (c-debug-parse-state): Amend to deal with all the new variables.
8606
8607 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
8608 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
8609 modify to use category text properties rather than syntax-table ones.
8610 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8611 to switch off/on the syntactic paren property of C++ template
8612 delimiters using the category property.
8613 (c-with-<->-as-parens-suppressed): Macro to invoke code with
8614 template delims suppressed.
8615 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
8616 New constant/macros which apply category properties to the start
8617 and end of preprocessor constructs.
8618 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8619 "comment out" the syntactic value of characters in preprocessor
8620 constructs.
8621 (c-with-cpps-commented-out)
8622 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
8623 with characters in all or all but one preprocessor constructs
8624 "commented out".
8625
8626 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8627
8628 * proced.el (proced-filter-alist): Use regexp-quote.
8629
8630 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
8631
8632 Cleanup.
8633 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
8634 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
8635 arguments. Expand `default-directory'.
8636
8637 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
8638 the benefit of returning an expanded localname.
8639 (tramp-tramp-file-p): Handle the case NAME is not a string.
8640
8641 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8642
8643 Add support for bzr shelve/unshelve.
8644 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8645 (vc-bzr-extra-menu-map): New variables.
8646 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
8647 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
8648 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
8649 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
8650 (vc-bzr-dir-extra-headers): Display shelves.
8651
8652 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
8653
8654 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * textmodes/bibtex.el (bibtex-complete-internal):
8657 Use completion-in-region.
8658 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
8659
8660 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8661
8662 Support applying stashes. Improve UI.
8663 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
8664 (vc-git-stash-apply, vc-git-stash-pop)
8665 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
8666 (vc-git-stash-menu): New functions.
8667 (vc-git-stash-menu-map): New variable.
8668 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
8669
8670 2009-12-03 Glenn Morris <rgm@gnu.org>
8671
8672 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
8673 (vc-print-log-internal): Fix previous change.
8674 (vc-revert): Correct pluralization.
8675
8676 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * progmodes/make-mode.el (makefile-special-targets-list): No need for
8679 it to be an alist any more.
8680 (makefile-complete): Use completion-in-region.
8681
8682 * progmodes/octave-mod.el (octave-complete-symbol):
8683 Use completion-in-region.
8684
8685 Misc cleanup.
8686 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
8687 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
8688 (idlwave-complete-class): Don't quote lambda.
8689 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
8690 (idlwave-mode-map): Move initialization into declaration.
8691 (idlwave-action-and-binding): Use backquotes.
8692 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
8693 Simplify.
8694 (idlwave-is-pointer-dereference): Remove unused var `pos'.
8695 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
8696 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
8697 `parts', and `all-parts'.
8698 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
8699 (idlwave-convert-xml-system-routine-info): Remove unused string
8700 `version-string'.
8701 (idlwave-display-user-catalog-widget): Use dolist.
8702 (idlwave-scanning-lib): Declare dynamically-scoped var.
8703 (idlwave-scan-library-catalogs): Remove unused var `flags'.
8704 (completion-highlight-first-word-only): Declare to silence bytecomp.
8705 (idlwave-popup-select): Tighten scope of `resp'.
8706 (idlwave-find-struct-tag): Remove unused var `beg'.
8707 (idlwave-after-load-rinfo-hook): Declare.
8708 (idlwave-sintern-class-info): Remove unused var `taglist'.
8709 (idlwave-find-class-definition): Remove unused var `list'.
8710 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
8711 (idlwave-what-module-find-class): Remove unused var `classes'.
8712
8713 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
8714
8715 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
8716
8717 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8718
8719 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
8720 buffers visited. Remove redundant current-buffer-saving.
8721
8722 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 Use completion-in-buffer and remove uses of dynamic scoping.
8725 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
8726 (pascal-buffer-to-use, pascal-flag): Don't declare.
8727 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
8728 (pascal-get-completion-decl, pascal-keyword-completion):
8729 Add `pascal-str' argument, save-excursion,
8730 return the found completions, and don't filter with pascal-pred.
8731 (pascal-completion-cache): New var.
8732 (pascal-completion): Don't switch buffer any more (it was never
8733 necessary). Don't save-excursion any more (it's done by the called
8734 subroutines). Use a cache to avoid redundant computations.
8735 Use complete-with-action rather than pascal-completion-response and
8736 let it apply the predicate as well.
8737 (pascal-complete-word): Use completion-in-buffer when
8738 pascal-toggle-completions is nil.
8739 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
8740 not used any more.
8741 (pascal-comp-defun): Don't change buffer any more.
8742 Use complete-with-action rather than pascal-completion-response and
8743 let it apply the predicate as well.
8744 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
8745 when neded.
8746
8747 2009-12-02 Kenichi Handa <handa@m17n.org>
8748
8749 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
8750 shape for all Indic scripts.
8751
8752 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 Use completion-in-buffer.
8755 * wid-edit.el (widget-field-text-end): New function.
8756 (widget-field-value-get): Use it.
8757 (widget-string-complete, widget-file-complete)
8758 (widget-color-complete): Use it and completion-in-region.
8759 (widget-complete): Don't narrow the buffer.
8760
8761 2009-12-02 Glenn Morris <rgm@gnu.org>
8762
8763 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
8764 (rmail-select-summary): Use rmail-pop-to-buffer.
8765 * mail/rmailsum.el: Replace all pop-to-buffer calls with
8766 rmail-pop-to-buffer, to prevent horizontal splits.
8767
8768 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
8769 save-excursion with save-current-buffer.
8770 Widen before searching. (Bug#5093)
8771 (diary-list-sexp-entries): Remove superfluous save-excursion.
8772
8773 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
8774
8775 * woman.el (woman-make-bufname): Handle man-pages with "." in the
8776 name. (Bug#5038)
8777
8778 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
8779
8780 * ido.el (ido-file-internal): Handle filenames at point that do
8781 not have a directory part. (Bug#5049)
8782
8783 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
8784
8785 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
8786 (mpc-songs-jump-to, mpc-resume): Doc fixes.
8787
8788 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
8789
8790 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
8791 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
8792 any more.
8793
8794 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * comint.el (comint-insert-input): Ignore clicks to the right of
8797 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
8798
8799 * vc.el (vc-print-log-internal): Don't wait for the process to
8800 terminate before setting up the major mode.
8801
8802 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
8803 in case.
8804
8805 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
8806 the last element.
8807
8808 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
8809
8810 2009-12-01 Glenn Morris <rgm@gnu.org>
8811
8812 * window.el (window--display-buffer-2): Fix previous changes.
8813
8814 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
8815
8816 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
8817
8818 2009-12-01 Glenn Morris <rgm@gnu.org>
8819
8820 * Makefile.in (ELCFILES): Add mpc.elc.
8821
8822 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * mpc.el: New file.
8825
8826 2009-12-01 Glenn Morris <rgm@gnu.org>
8827
8828 * window.el (window-to-use): Define for compiler.
8829
8830 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
8831 consistent with others (no final period).
8832
8833 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
8834 (rmail-mime-show): Downcase the encoding. (Bug#5070)
8835
8836 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
8837
8838 Make vc-print-log buttons work.
8839 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
8840
8841 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
8842
8843 * savehist.el (savehist-autosave-interval): Allow setting to nil
8844 through customize. (Bug#5056)
8845
8846 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
8847
8848 Fix references to jit-lock properties.
8849 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
8850 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
8851 (perl-font-lock-special-syntactic-constructs):
8852 Quote jit-lock-defer-multiline property.
8853
8854 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
8855
8856 * vc-git.el (vc-git-registered): Call vc-git-root only once.
8857
8858 2009-11-30 Juri Linkov <juri@jurta.org>
8859
8860 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
8861 value `buffer' of `multi-isearch-next-buffer-current-function'.
8862 Use `(current-buffer)' when `buffer' is nil.
8863 (multi-isearch-next-buffer-from-list): Don't fallback to
8864 `(current-buffer)' when `buffer' is nil. (Bug#4947)
8865
8866 2009-11-30 Juri Linkov <juri@jurta.org>
8867
8868 * misearch.el (multi-isearch-read-buffers): Move canonicalization
8869 of buffers with `get-buffer' to `multi-isearch-buffers'.
8870 (multi-isearch-buffers, multi-isearch-buffers-regexp):
8871 Canonicalize BUFFERS with `get-buffer'. Doc fix.
8872 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
8873 FILES with `expand-file-name' converting relative file names
8874 to absolute. Doc fix. (Bug#4727)
8875
8876 2009-11-30 Juri Linkov <juri@jurta.org>
8877
8878 * misearch.el (multi-isearch-read-buffers)
8879 (multi-isearch-read-matching-buffers): New functions.
8880 (multi-isearch-buffers, multi-isearch-buffers-regexp):
8881 Use them in the `interactive' spec. Doc fix.
8882 (multi-isearch-read-files, multi-isearch-read-matching-files):
8883 New functions.
8884 (multi-isearch-files, multi-isearch-files-regexp):
8885 Use them in the `interactive' spec. Doc fix. (Bug#4725)
8886
8887 2009-11-30 Juri Linkov <juri@jurta.org>
8888
8889 * doc-view.el (doc-view-continuous):
8890 Rename from `doc-view-continuous-mode'.
8891 (doc-view-menu): Move "Toggle display" to the top.
8892 Add submenu "Continuous" with radio buttons "Off"/"On"
8893 and "Save as Default".
8894 (doc-view-scroll-up-or-next-page)
8895 (doc-view-scroll-down-or-previous-page)
8896 (doc-view-next-line-or-next-page)
8897 (doc-view-previous-line-or-previous-page): Rename
8898 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
8899
8900 2009-11-30 Juri Linkov <juri@jurta.org>
8901
8902 * comint.el (comint-mode-map): Rebind `M-r' from
8903 `comint-previous-matching-input' to
8904 `comint-history-isearch-backward-regexp'.
8905 Unbind `M-s' to allow global key binding `M-s'.
8906 Add menu items for `comint-history-isearch-backward' and
8907 `comint-history-isearch-backward-regexp'. (Bug#3746)
8908
8909 2009-11-30 Juri Linkov <juri@jurta.org>
8910
8911 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
8912 For def=recenter, replace `recenter' with `recenter-top-bottom'
8913 that is called with `this-command' and `last-command' let-bound
8914 to `recenter-top-bottom'. When the last `def' was not `recenter',
8915 set `recenter-last-op' to nil. (Bug#4981)
8916
8917 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 Minor cleanup and simplification.
8920 * filecache.el (file-cache-add-directory)
8921 (file-cache-add-directory-recursively)
8922 (file-cache-add-from-file-cache-buffer)
8923 (file-cache-delete-file-regexp, file-cache-delete-directory)
8924 (file-cache-files-matching-internal, file-cache-display): Use dolist.
8925 (file-cache-temp-minibuffer-message): Delete function.
8926 (file-cache-minibuffer-complete): Use minibuffer-message instead.
8927
8928 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
8929 Don't signal an error when bumping into EOB in tr, s, or y.
8930
8931 2009-11-29 Juri Linkov <juri@jurta.org>
8932
8933 * startup.el (fancy-about-text): Fix wording of Guided Tour.
8934 (Bug#4960)
8935
8936 * descr-text.el (describe-char-unidata-list): Use lowercase name
8937 for "Unicode name" like in other tags.
8938
8939 2009-11-29 Juri Linkov <juri@jurta.org>
8940
8941 * ediff-util.el (ediff-minibuffer-with-setup-hook):
8942 New compatibility macro.
8943 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
8944
8945 2009-11-29 Juri Linkov <juri@jurta.org>
8946
8947 Add defcustom to define the cycling order of `recenter-top-bottom'.
8948 (Bug#4981)
8949
8950 * window.el (recenter-last-op): Doc fix.
8951 (recenter-positions): New defcustom.
8952 (recenter-top-bottom): Rewrite to use `recenter-positions'.
8953 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
8954
8955 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
8956
8957 Improve integration of Tramp and ange-ftp in eshell.
8958
8959 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
8960 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
8961 (eshell/sudo): Flatten args. Let-bind `default-directory'.
8962
8963 * eshell/esh-util.el (top): Require also Tramp when compiling.
8964 (eshell-directory-files-and-attributes): Check for FTP remote
8965 connection.
8966 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
8967 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
8968 (eshell-file-attributes): Handle ".". Return `entry'.
8969
8970 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
8971 (ange-ftp-directory-files-and-attributes)
8972 (ange-ftp-real-directory-files-and-attributes): New defuns.
8973
8974 * net/tramp.el (tramp-maybe-open-connection): Open the remote
8975 shell with "exec" when possible. This prevents trailing prompts
8976 in `start-file-process'.
8977
8978 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 Try and remove assumptions about point-min==1.
8981 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
8982 (rng-compute-mode-line-string): Show the validation percentage in
8983 terms of the narrowed text, not the widened text.
8984 (rng-do-some-validation): Don't catch internal errors when debugging.
8985 (rng-first-error): Simplify.
8986 (rng-after-change-function): Remove work around. AFAIK the bug has
8987 been fixed a while ago.
8988
8989 * image-mode.el (image-minor-mode): Exit more gracefully when the image
8990 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
8991
8992 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
8993
8994 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
8995 `cd' doesn't always do it for us (bug#5067).
8996
8997 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
8998 on 2009-10-25 as part of some other change (bug#5067).
8999
9000 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9001
9002 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9003 `suspicious'.
9004 (byte-compile-warnings): Use byte-compile-warning-types.
9005 (byte-compile-save-excursion): Warn about use of set-buffer right
9006 after save-excursion.
9007
9008 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9009 the excursion as well.
9010
9011 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
9012
9013 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9014 providing a Tramp related implementation of "su" and "sudo".
9015 (eshell-unix-initialize): Add "su" and "sudo".
9016
9017 2009-11-27 Daiki Ueno <ueno@unixuser.org>
9018
9019 * net/socks.el (socks-send-command): Convert binary request to
9020 unibyte before sending. This fixes mishandling of some port
9021 numbers such as 129.
9022
9023 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9024
9025 * help.el (describe-bindings-internal): Remove `interactive'.
9026
9027 * man.el (Man-completion-table): Trim a terminating "(".
9028 Remove the space between name page a section.
9029 Add the command's description on the `help-echo' property.
9030 Remove `process-connection-type' binding since it's unused by
9031 call-process.
9032 Provide completion for the "<section> <name>" format as well.
9033 (Man-default-man-entry): Remove spurious var shadowing the argument.
9034
9035 2009-11-26 Kevin Ryde <user42@zip.com.au>
9036
9037 * log-view.el: Add "Keywords: tools", since its other keywords
9038 aren't in finder-known-keywords, and following vc.el.
9039
9040 * sha1.el (sha1-string-external): default-directory "/" in case
9041 otherwise non-existent. process-connection-type pipe for touch of
9042 efficiency recommended by elisp manual. (An aside in Bug#3911.)
9043
9044 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 Misc coding convention cleanups.
9047 * htmlfontify.el (hfy-init-kludge-hook): Rename from
9048 hfy-init-kludge-hooks.
9049 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9050 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9051 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9052 and push.
9053 (hfy-slant, hfy-weight): Use tables rather than code.
9054 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9055 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9056 (hfy-face-attr-for-class): Initialize `face-spec' directly.
9057 (hfy-face-to-css): Remove `nconc' with single arg.
9058 (hfy-p-to-face-lennart): Use `or'.
9059 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
9060 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
9061 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
9062 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
9063 (hfy-force-fontification): Use run-hooks.
9064
9065 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
9066
9067 Various minor fixes.
9068 * htmlfontify.el (hfy-default-header): Add toggle_invis since
9069 Javascript belongs in the header, not the body.
9070 (hfy-javascript): Remove.
9071 (hfy-fontify-buffer): Don't insert it any more.
9072 (hfy-face-at): Handle (face0 face1 face2) style face properties.
9073 Fix bug in invis handling when there were no invis props in a chunk.
9074
9075 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
9078
9079 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
9080
9081 * finder.el (finder-mode-map): Add a menu.
9082
9083 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
9084
9085 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
9086 "unsigned" structs.
9087
9088 (verilog-leap-to-head, verilog-backward-token): Handle "disable
9089 fork" statement better.
9090
9091 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
9092
9093 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
9094 (verilog-delete-auto, verilog-delete-empty-auto-pair)
9095 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
9096 Reported by Clay Douglass.
9097
9098 (verilog-auto-inst, verilog-auto-star-safe)
9099 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
9100 Fix removing "// Interfaces" when saving .* expansions. Reported by
9101 Pierre-David Pfister.
9102
9103 2009-11-26 Glenn Morris <rgm@gnu.org>
9104
9105 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9106 the scope.
9107
9108 2009-11-25 Johan Bockgård <bojohan@gnu.org>
9109
9110 * vc-annotate.el (vc-annotate-revision-previous-to-line):
9111 Really use previous revision.
9112
9113 2009-11-25 Kevin Ryde <user42@zip.com.au>
9114
9115 * man.el (Man-completion-table): default-directory "/" in case
9116 doesn't otherwise exist. process-environment COLUMNS=999 so as
9117 not to truncate long names. process-connection-type pipe to avoid
9118 any chance of hitting the pseudo-tty TIOCGWINSZ.
9119 (man): completion-ignore-case t for friendliness and since man
9120 itself is case-insensitive on the command line.
9121 Further to Bug#3717.
9122
9123 * arc-mode.el: Add "Keywords: files", so the details in its
9124 commentary can be reached from finder-by-keyword.
9125 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
9126 editing mode, but it's comms related and sgml-mode.el has "comm"
9127 on that basis too.
9128 * textmodes/bibtex-style.el: Add "Keywords: tex".
9129 * international/isearch-x.el, international/ja-dic-cnv.el:
9130 * international/ja-dic-utl.el, international/kkc.el:
9131 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9132
9133 2009-11-25 Juri Linkov <juri@jurta.org>
9134
9135 * man.el (Man-completion-table): Modify regexp to include
9136 section names to completion strings. (Bug#3717)
9137
9138 2009-11-25 Juri Linkov <juri@jurta.org>
9139
9140 Search recursively in gzipped files. (Bug#4982)
9141
9142 * progmodes/grep.el (grep-highlight-matches): Add new options
9143 `always' and `auto'. Doc fix.
9144 (grep-process-setup): Check `grep-highlight-matches' for
9145 `auto-detect' to determine the need to compute grep defaults.
9146 Move Windows/DOS specific --colors settings handling
9147 to `grep-compute-defaults'. Check `grep-highlight-matches'
9148 to get the value of "--color=".
9149 (grep-compute-defaults): Compute `grep-highlight-matches' when it
9150 has the value `auto-detect'. Move Windows/DOS specific settings
9151 from `grep-process-setup'.
9152 (zrgrep): New command with alias `rzgrep'.
9153
9154 2009-11-25 Juri Linkov <juri@jurta.org>
9155
9156 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9157 to nil instead of switching off view-mode. (Bug#4896)
9158
9159 2009-11-25 Juri Linkov <juri@jurta.org>
9160
9161 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
9162
9163 * mwheel.el (mwheel-scroll-up-function)
9164 (mwheel-scroll-down-function): New defvars.
9165 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9166 `scroll-up', and `mwheel-scroll-down-function' instead of
9167 `scroll-down'.
9168
9169 * doc-view.el (doc-view-scroll-up-or-next-page)
9170 (doc-view-scroll-down-or-previous-page): Add optional ARG.
9171 Use this ARG in the call to image-scroll-up/image-scroll-down.
9172 Change `interactive' spec to "P". Goto next/previous page only
9173 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9174 SPC/DEL case). Doc fix.
9175 (doc-view-next-line-or-next-page)
9176 (doc-view-previous-line-or-previous-page): Rename arg to ARG
9177 for consistency.
9178 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9179 `doc-view-scroll-up-or-next-page', and buffer-local
9180 `mwheel-scroll-down-function' to
9181 `doc-view-scroll-down-or-previous-page'.
9182
9183 2009-11-25 Juri Linkov <juri@jurta.org>
9184
9185 Provide additional default values (directories at other Dired
9186 windows) via M-n in the minibuffer of some Dired commands.
9187
9188 * dired-aux.el (dired-diff, dired-compare-directories)
9189 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9190 `minibuffer-default' in `minibuffer-with-setup-hook'.
9191 (dired-dwim-target-directory): Find a window that displays Dired
9192 buffer instead of failing when the next window is not Dired.
9193 Use `get-window-with-predicate' to find for the next Dired window.
9194 (dired-dwim-target-defaults): New function.
9195
9196 * ediff-util.el (ediff-read-file-name):
9197 Use `dired-dwim-target-defaults' to set `minibuffer-default'
9198 in `minibuffer-with-setup-hook'.
9199
9200 2009-11-25 Juri Linkov <juri@jurta.org>
9201
9202 Provide additional default values (file name at point or at the
9203 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
9204
9205 * minibuffer.el (read-file-name-defaults): New function.
9206 (read-file-name): Reset `minibuffer-default' to nil when
9207 it duplicates initial input `insdef'.
9208 Bind `minibuffer-default-add-function' to lambda that
9209 calls `read-file-name-defaults' in `minibuffer-selected-window'.
9210 (minibuffer-insert-file-name-at-point): New command.
9211
9212 * files.el (file-name-at-point-functions): New defcustom.
9213 (find-file-default): Remove defvar.
9214 (find-file-read-args): Don't use `find-file-default'.
9215 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9216 to `read-file-name'.
9217 (find-file-literally): Use `read-file-name' with
9218 `confirm-nonexistent-file-or-buffer'.
9219
9220 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9221
9222 * dired.el (dired-read-dir-and-switches):
9223 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9224 to `read-file-name'.
9225 (dired-file-name-at-point): New function.
9226 (dired-mode): Add hook `dired-file-name-at-point' to
9227 `file-name-at-point-functions'.
9228
9229 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 Really make the *Completions* window soft-dedicated (bug#5030).
9232 * window.el (window--display-buffer-2): Add `dedicated' argument.
9233 (display-buffer): Pass it when needed so the dedicated flag is set
9234 after calling set-window-buffer, which would otherwise reset it.
9235
9236 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9237
9238 * progmodes/meta-mode.el (meta-complete-symbol):
9239 * progmodes/etags.el (complete-tag):
9240 * mail/mailabbrev.el (mail-abbrev-complete-alias):
9241 Use completion-in-region.
9242
9243 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9244 (dabbrev-completion): Use completion-in-region.
9245 (dabbrev--abbrev-at-point): Simplify regexp.
9246
9247 * abbrev.el (abbrev--before-point): Use word-motion functions
9248 if :regexp is not specified (bug#5031).
9249
9250 * subr.el (string-prefix-p): New function.
9251
9252 * man.el (Man-completion-cache): New var.
9253 (Man-completion-table): Use it.
9254
9255 * vc.el (vc-print-log-internal): Make `limit' optional for better
9256 compatibility (e.g. with vc-annotate.el).
9257
9258 2009-11-24 Kevin Ryde <user42@zip.com.au>
9259
9260 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9261 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
9262
9263 * emacs-lisp/elint.el (elint-add-required-env): Better error message
9264 when .el source file not found or other error.
9265
9266 2009-11-24 Markus Triska <markus.triska@gmx.at>
9267
9268 * linum.el (linum-update-window): Ignore intangible (bug#4996).
9269
9270 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
9271
9272 Handle the [back] button properly (bug#4979).
9273 * descr-text.el (describe-text-properties): Add a `buffer' argument.
9274 Use help-setup-xref, help-buffer, and with-help-window.
9275 (describe-char): Add `buffer' argument.
9276 Pass proper command to help-setup-xref. Don't meddle with
9277 help-xref-stack-item directly.
9278 (describe-text-category): Use with-help-window and help-buffer.
9279
9280 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
9281 for the displayed buffer (bug#4887).
9282
9283 * man.el (Man-completion-table): New function.
9284 (man): Use it.
9285
9286 2009-11-24 David Reitter <david.reitter@gmail.com>
9287
9288 * vc-git.el (vc-git-registered): Use checkout directory (where
9289 .git is) rather than the file's directory and a relative path spec
9290 to work around a bug in git.
9291
9292 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
9293
9294 Improve handling of processes on remote hosts.
9295
9296 * eshell/esh-util.el (eshell-path-env): New defvar.
9297 (eshell-parse-colon-path): New defun.
9298 (eshell-file-attributes): Use `eshell-parse-colon-path'.
9299
9300 * eshell/esh-ext.el (eshell-search-path):
9301 Use `eshell-parse-colon-path'.
9302 (eshell-remote-command): Remove argument HANDLER.
9303 (eshell-external-command): Check for FTP remote connection.
9304
9305 * eshell/esh-proc.el (eshell-gather-process-output):
9306 Use `file-truename', in order to start also symlinked files.
9307 Apply `start-file-process' instead of `start-process'.
9308 Shorten `command' to the local file name part.
9309
9310 * eshell/em-cmpl.el (eshell-complete-commands-list):
9311 Use `eshell-parse-colon-path'.
9312
9313 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
9314
9315 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
9316 to `eshell-directory-change-hook'.
9317
9318 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
9319
9320 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
9321 because it could be enabled automatically if view-read-only is non-nil.
9322
9323 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
9324
9325 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
9326 made on 2009-11-22.
9327
9328 2009-11-24 Glenn Morris <rgm@gnu.org>
9329
9330 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
9331 deleted variable bookmark-bmenu-bookmark-column.
9332
9333 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
9336
9337 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
9338
9339 * net/browse-url.el (browse-url-filename-alist): On Windows, add
9340 two slashes to the "file:" prefix.
9341 (browse-url-file-url): De-munge Cygwin filenames before passing
9342 them to Windows browser.
9343 (browse-url-default-windows-browser): Use call-process.
9344
9345 2009-11-23 Juri Linkov <juri@jurta.org>
9346
9347 Implement DocView Continuous mode. (Bug#4896)
9348 * doc-view.el (doc-view-continuous-mode): New defcustom.
9349 (doc-view-mode-map): Bind C-n/<down> to
9350 `doc-view-next-line-or-next-page', C-p/<up> to
9351 `doc-view-previous-line-or-previous-page'.
9352 (doc-view-next-line-or-next-page)
9353 (doc-view-previous-line-or-previous-page): New commands.
9354
9355 2009-11-23 Juri Linkov <juri@jurta.org>
9356
9357 Implement Isearch in comint input history. (Bug#3746)
9358 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
9359 `isearch-mode-hook'.
9360 (comint-history-isearch): New defcustom.
9361 (comint-history-isearch-backward)
9362 (comint-history-isearch-backward-regexp): New commands.
9363 (comint-history-isearch-message-overlay): New buffer-local variable.
9364 (comint-history-isearch-setup, comint-history-isearch-end)
9365 (comint-goto-input, comint-history-isearch-search)
9366 (comint-history-isearch-message, comint-history-isearch-wrap)
9367 (comint-history-isearch-push-state)
9368 (comint-history-isearch-pop-state): New functions.
9369
9370 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
9371
9372 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
9373 return.
9374 (tramp-handle-make-symbolic-link)
9375 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
9376 Quote file names.
9377 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
9378 (tramp-handle-process-file): Use it.
9379
9380 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * window.el (move-to-window-line-last-op): Remove.
9383 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
9384
9385 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9386
9387 Make M-r mirror the new cycling behavior of C-l.
9388 * window.el (move-to-window-line-last-op): New var.
9389 (move-to-window-line-top-bottom): New command.
9390 (global-map): Bind M-r move-to-window-line-top-bottom.
9391
9392 2009-11-23 Sven Joachim <svenjoac@gmx.de>
9393
9394 * dired-x.el (dired-guess-shell-alist-default):
9395 Support xz format. (Bug#4953)
9396
9397 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
9398
9399 * emulation/viper-cmd.el: Use viper-last-command-char instead of
9400 last-command-char/last-command-event.
9401 (viper-prefix-arg-value): Do correct conversion of event-char for
9402 XEmacs.
9403
9404 * emulation/viper-util.el, emulation/viper.el:
9405 Use viper-last-command-char instead of
9406 last-command-char/last-command-event.
9407
9408 * ediff-init.el, ediff-mult.el, ediff-util.el:
9409 Replace last-command-char and last-command-event
9410 with (ediff-last-command-char) everywhere.
9411
9412 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
9413 created in fundamental mode.
9414
9415 * ediff.el (ediff-version): Revert the change of interactive-p to
9416 called-interactively-p.
9417
9418 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
9419
9420 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
9421 generation from word-movement command names.
9422
9423 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
9424
9425 * cus-start.el (all): Add native condition for font-use-system-font.
9426
9427 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
9428
9429 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
9430 Correct the patch from 2009-11-18. (Bug#3910)
9431
9432 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
9433
9434 * progmodes/subword.el: Rename from lisp/subword.el.
9435
9436 * subword.el: Rename to progmodes/subword.el.
9437
9438 * Makefile.in (ELCFILES): Adapt to subword.el move.
9439
9440 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9441 Stefan Monnier <monnier@iro.umontreal.ca>
9442
9443 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
9444 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
9445 (bookmark-bmenu-show-filenames): Use push.
9446 (bookmark-bmenu-hide-filenames): Use local var instead of
9447 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
9448 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
9449 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
9450 filenames now that the bookmark names are always available.
9451
9452 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
9455 (bookmark-search-pattern): Move and leave unbound.
9456 (bookmark-bmenu-mode-map): Change binding.
9457 (bookmark-read-search-input): Simplify.
9458 Don't use text-char-description. Don't error on non-char events.
9459 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
9460 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
9461 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
9462 Use a local var for the timer.
9463 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
9464 (i.e. bookmark-bmenu-search).
9465
9466 2009-11-21 Glenn Morris <rgm@gnu.org>
9467
9468 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
9469
9470 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
9471
9472 * net/browse-url.el (browse-url-default-windows-browser):
9473 Use cygstart for cygwin.
9474
9475 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
9476
9477 * bookmark.el: Formatting and doc fixes only:
9478 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
9479 (bookmark-bmenu-search): Wrap to fit within 80 columns.
9480 Minor grammar and punctuation fixes in doc string.
9481 (bookmark-read-search-input): Adjust to fit within 80 columns.
9482
9483 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
9484
9485 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
9486 (c-backward-into-nomenclature): Adapt to subword renaming.
9487
9488 * subword.el (subword-forward, subword-backward, subword-mark)
9489 (subword-kill, subword-backward-kill, subword-transpose)
9490 (subword-downcase, subword-upcase, subword-capitalize)
9491 (subword-forward-internal, subword-backward-internal):
9492 Rename from forward-subword, backward-subword, mark-subword,
9493 kill-subword, backward-kill-subword, transpose-subwords,
9494 downcase-subword, upcase-subword, capitalize-subword,
9495 forward-subword-internal, backward-subword-internal.
9496
9497 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9498
9499 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
9500 New options.
9501 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
9502 New vars.
9503 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
9504 (bookmark-bmenu-filter-alist-by-regexp)
9505 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
9506 (bookmark-bmenu-search): New command.
9507 (bookmark-bmenu-mode-map): Bind it.
9508
9509 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
9510
9511 * progmodes/cc-cmds.el: declare-functioned forward-subword and
9512 backward-subword to quit the byte-compiler.
9513
9514 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9515
9516 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9517
9518 * progmodes/cc-cmds.el (c-update-modeline)
9519 (c-forward-into-nomenclature, c-backward-into-nomenclature):
9520 Refer to subword.el functions instead of cc-subword.el.
9521
9522 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9523 subword.el functions instead of cc-subword.el.
9524
9525 * progmodes/cc-subword.el: Rename to subword.el.
9526 * subword.el: Rename from progmodes/cc-subword.el.
9527 (subword-mode-map): Rename from c-subword-mode-map.
9528 (subword-mode): Rename from c-subword-mode.
9529 (global-subword-mode): New global minor mode.
9530 (forward-subword): Rename from c-forward-subword.
9531 (backward-subword): Rename from c-backward-subword.
9532 (mark-subword): Rename from c-mark-subword.
9533 (kill-subword): Rename from c-kill-subword.
9534 (backward-kill-subword): Rename from c-backward-kill-subword.
9535 (transpose-subwords): Rename from c-tranpose-subword.
9536 (downcase-subword): Rename from c-downcase-subword.
9537 (capitalize-subword): Rename from c-capitalize-subword.
9538 (forward-subword-internal): Rename from c-forward-subword-internal.
9539 (backward-subword-internal): Rename from c-backward-subword-internal.
9540
9541 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
9542
9543 * vc.el (vc-deduce-fileset): Allow non-state changing operations
9544 from a dired buffer.
9545 (vc-dired-deduce-fileset): New function.
9546 (vc-root-diff, vc-print-root-log): Use it.
9547
9548 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
9549 nil LIMIT argument to vc-print-log-internal.
9550
9551 2009-11-20 Glenn Morris <rgm@gnu.org>
9552
9553 * Makefile.in (ELCFILES): Regenerate.
9554
9555 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
9556
9557 * calc/calc.el (calc-set-mode-line):
9558 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9559 (math-format-number): Rename `math-format-complement-signed' to
9560 `math-format-twos-complement'.
9561
9562 * calc/calc-bin.el (math-format-twos-complement): Rename from
9563 math-format-complement-signed.
9564 (calc-radix): Rename `calc-complement-signed-mode' to
9565 `calc-twos-complement-mode'.
9566 (calc-octal-radix, calc-hex-radix): Add an argument for
9567 two's complement.
9568
9569 * calc/calc-embed.el (calc-embedded-mode-vars):
9570 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9571
9572 * calc/calc-ext.el (calc-init-extensions):
9573 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9574 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
9575
9576 * calc/calc-units.el (math-build-units-table-buffer):
9577 Let `calc-twos-complement-mode' be nil.
9578
9579 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
9580 entries.
9581
9582 * calc/calc-vec.el (calcFunc-vunpack):
9583 * calc/calc-aent.el (calc-do-calc-eval):
9584 * calc/calc-forms.el (math-format-date):
9585 * calc/calc-graph.el (calc-graph-plot):
9586 * calc/calc-math.el (math-use-emacs-fn):
9587 * calc/calccomp.el (math-compose-expr):
9588 Let `calc-twos-complement-mode' be nil.
9589
9590 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
9593 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
9594 * minibuffer.el (completion-in-region-functions): New hook.
9595 (completion-in-region): New function.
9596 * emacs-lisp/lisp.el (lisp-complete-symbol):
9597 * pcomplete.el (pcomplete-std-complete): Use it.
9598
9599 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
9602 (latex-complete-alist): New vars.
9603 (latex-string-prefix-p, latex-complete-bibtex-keys)
9604 (latex-complete-envnames, latex-complete-refkeys)
9605 (latex-complete-data): New functions.
9606 (latex-complete, latex-indent-or-complete): New commands.
9607
9608 * window.el (display-buffer-mark-dedicated): New var.
9609 (display-buffer): Obey it.
9610 * minibuffer.el (minibuffer-completion-help): Use it.
9611
9612 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
9613
9614 * filecache.el (file-cache-add-file): Use push and cons.
9615 (file-cache-delete-file-regexp): Use push.
9616 (file-cache-complete): Use completion-in-region.
9617
9618 * simple.el (with-wrapper-hook): Fix thinko.
9619
9620 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
9621 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
9622 Use with-current-buffer and string-to-number.
9623 (hfy-fallback-colour-values): Use assoc-string.
9624 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
9625 (hfy-face-at): Remove unused var `found-face'.
9626 (hfy-compile-stylesheet): Remove unused var `css'.
9627 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
9628 and `orig-buffer'.
9629 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
9630 Use with-current-buffer.
9631 (hfy-text-p): Use expand-file-name and fewer setq.
9632
9633 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
9634
9635 * htmlfontify.el, hfy-cmap.el: New files.
9636
9637 2009-11-19 Juri Linkov <juri@jurta.org>
9638
9639 * minibuffer.el (completions-format): New defcustom.
9640 (completion--insert-strings): Implement vertical format.
9641
9642 * simple.el (switch-to-completions): Move point to the first
9643 completion when point was at the beginning of the buffer.
9644
9645 2009-11-19 Juri Linkov <juri@jurta.org>
9646
9647 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
9648
9649 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
9650
9651 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
9652
9653 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
9654 (mail-signature): Change default to t.
9655 (mail-from-style): Deprecate `system-default' value.
9656 (mail-insert-from-field): For default value of mail-from-style,
9657 default to `angles' unless `angles' needs quoting and `parens'
9658 does not.
9659 (mail-citation-prefix-regexp): Use citation regexp from
9660 message-mode.
9661
9662 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
9663
9664 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9665 Set variables for computing the prompt for reading password.
9666
9667 2009-11-19 Glenn Morris <rgm@gnu.org>
9668
9669 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
9670
9671 * textmodes/flyspell.el (sgml-lexical-context): Declare.
9672
9673 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
9674 (newsticker-treeview-listwindow-height): Fix custom type.
9675
9676 2009-11-19 Kenichi Handa <handa@m17n.org>
9677
9678 * descr-text.el (describe-char-padded-string): Compose with TAB
9679 only if there's a font for CH.
9680 (describe-char): Fix the condition for detecting a trivial composition.
9681
9682 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
9683
9684 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
9685 more accurate version of the regexp. (Bug#3910)
9686
9687 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
9688
9689 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
9690
9691 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
9692
9693 * font-setting.el (font-use-system-font): Declare for byte-compiler.
9694 (font-setting-change-default-font): Fix typo in docstring.
9695
9696 2009-11-18 Alan Mackenzie <acm@muc.de>
9697
9698 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
9699
9700 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9701
9702 * font-setting.el (font-use-system-font): Move ...
9703
9704 * cus-start.el (all): ... to here.
9705
9706 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
9707
9708 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
9709 Don't set `ad-return-value' if `ad-do-it' doesn't.
9710
9711 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
9712 modification time.
9713
9714 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9715
9716 * menu-bar.el: Put "Use system font" in Option-menu.
9717 (menu-bar-options-save): Add font-use-system-font.
9718
9719 * loadup.el: If feature system-font-setting or font-render-setting is
9720 there, load font-setting.
9721
9722 * Makefile.in (ELCFILES): Add font-settings.el.
9723 * font-setting.el: New file.
9724
9725 2009-11-17 Glenn Morris <rgm@gnu.org>
9726
9727 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
9728
9729 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
9730 Preserve point in the list buffer. (Bug#4939)
9731 Use point-at-eol.
9732 (newsticker--treeview-list-update-highlight)
9733 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
9734
9735 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9736
9737 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
9738 Remove.
9739
9740 * calc/calc-ext.el (calc-init-extensions): Remove references to
9741 symclip.
9742
9743 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
9744
9745 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
9746 * calc/calc-help.el (calc-b-prefix-help): Remove references to
9747 `calc-symclip'.
9748
9749 2009-11-16 Kevin Ryde <user42@zip.com.au>
9750
9751 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9752 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
9753
9754 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
9755 (lm-keywords-list): Allow comma-only separator like "foo,bar".
9756 Ignore trailing spaces by omit-nulls to split-string (fixing
9757 regression from Emacs 21 due to the incompatible split-string
9758 change). (Bug #4928.)
9759
9760 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
9761
9762 * vc.el (vc-log-show-limit): Default to 2000.
9763 (vc-print-log-internal): Insert buttons to request more entries
9764 when limiting the output.
9765
9766 * vc-sccs.el (vc-sccs-print-log):
9767 * vc-rcs.el (vc-rcs-print-log):
9768 * vc-cvs.el (vc-cvs-print-log):
9769 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
9770 LIMIT is non-nil.
9771
9772 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9773
9774 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
9775 error when `tramp-gvfs-dbus-event-vector' is set.
9776 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
9777
9778 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
9781
9782 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9783
9784 * net/dbus.el (dbus-unregister-service): New defun.
9785 (dbus-register-property): Register the handlers of
9786 "org.freedesktop.DBus.Properties" for SERVICE.
9787 (dbus-property-handler): Fix docstring.
9788
9789 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9790
9791 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
9792 Quote doc string reference in defvaralias as it is not in special form.
9793 (byte-compile-output-docform): Doc fix.
9794
9795 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9796
9797 * calc/calc.el (math-2-word-size, math-half-2-word-size)
9798 (calc-complement-signed-mode): New variables.
9799 (calc-set-mode-line): Add indicator for twos-complements.
9800 (math-format-number): Format twos-complement notation.
9801
9802 * calc/calc-bin.el (calc-word-size): Reset the variables
9803 `math-2-word-size' and `math-half-2-word-size'.
9804 (math-format-complement-signed, math-symclip, calcFunc-symclip)
9805 (calc-symclip): New functions.
9806
9807 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
9808
9809 * calc/calc-embed.el (calc-embedded-mode-vars):
9810 Add `calc-complement-signed-mode' to the list of modes.
9811
9812 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
9813 (calc-b-oper-keys): Add `calc-symclip' to list.
9814
9815 * calc/calc-ext.el (math-read-number-fancy): Read complement
9816 signed numbers.
9817 (calc-init-extensions): Add binding for `calc-symclip'.
9818 Add autoload for `calcFunc-symclip' and `calc-symclip'.
9819
9820 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
9821 `calc-symclip'.
9822 (calc-modes-menu): Add item for twos complement mode.
9823
9824 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
9825
9826 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
9827
9828 * register.el (jump-to-register, insert-register): Handle Semantic
9829 tags. From commented-out advice in semantic/senator.el.
9830
9831 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
9832
9833 * vc.el (vc-log-show-limit): New variable.
9834 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
9835 when using a prefix argument.
9836 (vc-print-log-internal): Add new argument LIMIT.
9837
9838 * vc-svn.el (vc-svn-print-log):
9839 * vc-mtn.el (vc-mtn-print-log):
9840 * vc-hg.el (vc-hg-print-log):
9841 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
9842 pass it to the log command when set. Make the BUFFER argument
9843 non-optional.
9844
9845 * vc-sccs.el (vc-sccs-print-log):
9846 * vc-rcs.el (vc-rcs-print-log):
9847 * vc-git.el (vc-git-print-log):
9848 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
9849 ignore it. Make the BUFFER argument non-optional
9850
9851 * bindings.el (mode-line-buffer-identification): Do not purecopy.
9852
9853 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
9854
9855 * dired.el (dired-mode-map): Move encryption items to "Operate"
9856 menu (Bug#4703).
9857
9858 * strokes.el (strokes-update-window-configuration): Make strokes
9859 buffer current before erasing (Bug#4906).
9860
9861 2009-11-15 Juri Linkov <juri@jurta.org>
9862
9863 * simple.el (set-mark-default-inactive): Add :type, :group
9864 and :version. (Bug#4876)
9865
9866 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
9867
9868 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
9869 (archive-unique-fname): ... here. (Bug#4929)
9870
9871 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
9874 with a real fix.
9875
9876 * novice.el (disabled-command-function): Add useful args.
9877 Setup the help buffer so that [back] works.
9878 Remove redundant call to help-mode.
9879 (disabled-command-function): Use `case'.
9880 (en/disable-command): New function extracted from enable-command.
9881 (enable-command, disable-command): Use it.
9882
9883 2009-11-14 Glenn Morris <rgm@gnu.org>
9884
9885 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
9886 constants. (Bug#4913)
9887
9888 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
9889
9890 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
9891
9892 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
9893 defined in C that have no doc-strings. (Bug#1063)
9894
9895 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
9896
9897 * cus-edit.el (data, files):
9898 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
9899
9900 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
9901
9902 * simple.el (shell-command): Doc fix (Bug#4891).
9903
9904 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
9905
9906 2009-11-14 Glenn Morris <rgm@gnu.org>
9907
9908 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
9909 statements for vc-diff, emerge-quit, and rmail-cease-edit.
9910 If they are already loaded, eval-after-load will do the right thing.
9911
9912 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
9913 compiling.
9914
9915 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
9916
9917 * simple.el (x-selection-owner-p): Declare.
9918 (read-mail-command): Use custom radio type rather than choice.
9919 (completion-no-auto-exit): Doc fix.
9920
9921 * custom.el (defgroup):
9922 * epg-config.el (epg): Doc fixes.
9923
9924 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
9925
9926 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
9927 * international/ccl.el (define-ccl-program): Do not purecopy the
9928 docstring, defconst does it anyway.
9929
9930 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * add-log.el (add-change-log-entry): Avoid displaying the changelog
9933 a second time.
9934
9935 * x-dnd.el (x-dnd-maybe-call-test-function):
9936 * window.el (split-window-vertically):
9937 * whitespace.el (whitespace-help-on):
9938 * vc-rcs.el (vc-rcs-consult-headers):
9939 * userlock.el (ask-user-about-lock-help)
9940 (ask-user-about-supersession-help):
9941 * type-break.el (type-break-force-mode-line-update):
9942 * time-stamp.el (time-stamp-conv-warn):
9943 * terminal.el (te-set-output-log, te-more-break, te-filter)
9944 (te-sentinel, terminal-emulator):
9945 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
9946 (term-write-input-ring, term-check-source, term-start-output-log):
9947 (term-display-buffer-line, term-dynamic-list-completions):
9948 (term-ansi-make-term, serial-term):
9949 * subr.el (selective-display):
9950 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
9951 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
9952 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
9953 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
9954 (speedbar-remove-localized-speedbar-support)
9955 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
9956 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
9957 (speedbar-buffers-line-directory):
9958 * simple.el (shell-command-on-region, append-to-buffer)
9959 (prepend-to-buffer):
9960 * shadowfile.el (shadow-save-todo-file):
9961 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
9962 (scroll-bar-maybe-set-window-start):
9963 * sb-image.el (speedbar-image-dump):
9964 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
9965 (load-save-place-alist-from-file):
9966 * ps-samp.el (ps-print-message-from-summary):
9967 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
9968 (ps-background-image, ps-begin-job, ps-do-despool):
9969 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
9970 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
9971 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
9972 (pr-call-process, pr-file-list, pr-interface-save):
9973 * novice.el (disabled-command-function)
9974 (enable-command, disable-command):
9975 * mouse.el (mouse-buffer-menu-alist):
9976 * mouse-copy.el (mouse-kill-preserving-secondary):
9977 * macros.el (kbd-macro-query):
9978 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
9979 * informat.el (batch-info-validate):
9980 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
9981 * hippie-exp.el (try-expand-dabbrev-visible):
9982 * help-mode.el (help-make-xrefs):
9983 * help-fns.el (describe-variable):
9984 * generic-x.el (bat-generic-mode-run-as-comint):
9985 * finder.el (finder-mouse-select):
9986 * find-dired.el (find-dired-sentinel):
9987 * filesets.el (filesets-file-close):
9988 * files.el (list-directory):
9989 * faces.el (list-faces-display, describe-face):
9990 * facemenu.el (list-colors-display):
9991 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
9992 * epg.el (epg--process-filter, epg-cancel):
9993 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
9994 (epa--read-signature-type):
9995 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
9996 (emerge-file-names):
9997 * ehelp.el (electric-helpify):
9998 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
9999 * ediff-vers.el (rcs-ediff-view-revision):
10000 * ediff-util.el (ediff-setup):
10001 * ediff-mult.el (ediff-append-custom-diff):
10002 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10003 (ediff-wordify):
10004 * echistory.el (Electric-command-history-redo-expression):
10005 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10006 * disp-table.el (describe-display-table):
10007 * dired.el (dired-find-buffer-nocreate):
10008 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10009 * dabbrev.el (dabbrev--same-major-mode-p):
10010 * chistory.el (list-command-history):
10011 * apropos.el (apropos-documentation):
10012 * allout.el (allout-obtain-passphrase):
10013 (allout-copy-exposed-to-buffer):
10014 (allout-verify-passphrase): Use with-current-buffer.
10015
10016 2009-11-13 Glenn Morris <rgm@gnu.org>
10017
10018 * Makefile.in (ELCFILES): Regenerate.
10019
10020 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
10021
10022 * net/dbus.el (dbus-registered-objects-table): Rename from
10023 `dbus-registered-functions-table', because it contains also properties.
10024 (dbus-unregister-object): Unregister also properties.
10025 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10026 Use a timeout of 500 msec, in order to not block.
10027 (dbus-register-property, dbus-property-handler): New defuns.
10028
10029 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10030
10031 * simple.el (minibuffer-default-add-completions): Drop deprecated
10032 4th arg.
10033
10034 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
10035
10036 * textmodes/artist.el (artist-mouse-choose-operation):
10037 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10038 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10039 (artist-compute-up-event-key): New function.
10040 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10041
10042 2009-11-13 Kenichi Handa <handa@m17n.org>
10043
10044 * language/japan-util.el: Make sure that the value of jisx0208
10045 property is jisx0208 character.
10046
10047 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
10048
10049 * international/mule.el (auto-coding-regexp-alist): Only purecopy
10050 car or each item, not the whole list.
10051
10052 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 * minibuffer.el (minibuffer-completion-help):
10055 Use minibuffer-hide-completions.
10056
10057 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
10058
10059 * dired.el (dired-save-positions, dired-restore-positions): New funs.
10060 (dired-revert): Use them (bug#4880).
10061
10062 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10063
10064 * tooltip.el (tooltip-frame-parameters): Undo previous change.
10065
10066 2009-11-12 Juri Linkov <juri@jurta.org>
10067
10068 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10069 New functions.
10070 (find-file-literally-at-point): Alias of `ffap-literally'.
10071
10072 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10073
10074 * textmodes/ispell.el (ispell-skip-region-alist):
10075 * textmodes/css-mode.el (auto-mode-alist):
10076 * progmodes/compile.el (auto-mode-alist):
10077 * international/mule.el (ctext-non-standard-encodings-alist)
10078 (ctext-non-standard-encodings-regexp):
10079 * simple.el (shell-command-switch, text-read-only):
10080 * replace.el (occur-mode-map):
10081 * paths.el (rmail-file-name):
10082 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10083 * find-file.el (ff-special-constructs):
10084 * files.el (file-name-handler-alist):
10085 * composite.el: Purecopy strings.
10086
10087 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10088
10089 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10090
10091 * widget.el (define-widget): Purecopy the docstring.
10092 * international/mule-cmds.el (charset): Do not purecopy the
10093 docstring here, define-widget does it.
10094
10095 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10096 * textmodes/bibtex-style.el (auto-mode-alist):
10097 * progmodes/inf-lisp.el (inferior-lisp-prompt):
10098 * progmodes/compile.el (compile-command):
10099 * language/korea-util.el (default-korean-keyboard):
10100 * international/mule-conf.el (file-coding-system-alist):
10101 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10102 * tooltip.el (tooltip-frame-parameters):
10103 * newcomment.el (comment-end, comment-padding):
10104 * dired.el (dired-trivial-filenames):
10105 * comint.el (comint-file-name-prefix): Purecopy initial values.
10106
10107 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
10108
10109 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10110 (tramp-advice-minibuffer-electric-tilde): Unload advices via
10111 `tramp-unload'.
10112 (tramp-advice-make-auto-save-file-name)
10113 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10114 after removing the advice.
10115
10116 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10117
10118 * progmodes/grep.el (grep-regexp-alist):
10119 * international/mule-cmds.el (iso-2022-control-alist):
10120 * emacs-lisp/timer.el (timer-duration-words):
10121 * subr.el (version-separator, version-regexp-alist):
10122 * minibuffer.el (completion-styles-alist):
10123 * faces.el (face-attribute-name-alist, list-faces-sample-text):
10124 Change defvars to defconsts.
10125
10126 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10127 * loadup.el ("international/mule-conf"): Load the byte compiled version.
10128 * international/mule-conf.el: Allow to be byte compiled.
10129
10130 * international/mule.el (define-charset): Purecopy props.
10131 (load-with-code-conversion): Purecopy doc string and file name.
10132 (put-charset-property): Purecopy strings.
10133 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10134
10135 * international/mule-cmds.el (register-input-method): Purecopy arguments.
10136 (define-char-code-property): Correctly purecopy the table.
10137
10138 * international/ccl.el (define-ccl-program): Purecopy the docstring.
10139
10140 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10141
10142 * subr.el (add-hook): Purecopy strings.
10143 (eval-after-load): Purecopy load-history-regexp and the form.
10144
10145 * custom.el (custom-declare-group): Purecopy load-file-name.
10146
10147 * subr.el (menu-bar-separator): New defconst.
10148 * net/eudc.el (eudc-tools-menu):
10149 * international/mule-cmds.el (set-coding-system-map)
10150 (mule-menu-keymap):
10151 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10152 * vc-hooks.el (vc-menu-map):
10153 * replace.el (occur-mode-map):
10154 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10155 (menu-bar-edit-menu, menu-bar-goto-menu)
10156 (menu-bar-custom-menu, menu-bar-showhide-menu)
10157 (menu-bar-options-menu, menu-bar-tools-menu)
10158 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10159 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10160 (menu-bar-help-menu):
10161 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10162 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10163
10164 * term/x-win.el (x-gtk-stock-map):
10165 * progmodes/vera-mode.el (auto-mode-alist):
10166 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10167 (inferior-lisp-program, inferior-lisp-load-command):
10168 * progmodes/hideshow.el (hs-special-modes-alist):
10169 * progmodes/gud.el (same-window-regexps):
10170 * progmodes/grep.el (grep-program, find-program, xargs-program):
10171 * net/telnet.el (same-window-regexps):
10172 * net/rlogin.el (same-window-regexps):
10173 * language/ethiopic.el (font-ccl-encoder-alist):
10174 * vc-sccs.el (vc-sccs-master-templates):
10175 * vc-rcs.el (vc-rcs-master-templates):
10176 * subr.el (cl-assertion-failed):
10177 * simple.el (next-error-overlay-arrow-position):
10178 * lpr.el (lpr-command):
10179 * locate.el (locate-ls-subdir-switches):
10180 * info.el (same-window-regexps, info)
10181 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10182 * image-mode.el (image-mode, auto-mode-alist):
10183 * hippie-exp.el (hippie-expand-ignore-buffers):
10184 * format.el (format-alist):
10185 * find-dired.el (find-ls-subdir-switches, find-grep-options)
10186 (find-name-arg):
10187 * facemenu.el (facemenu-keybindings):
10188 * dired.el (dired-listing-switches, dired-chown-program):
10189 * diff.el (diff-switches, diff-command):
10190 * cus-edit.el (same-window-regexps):
10191 * bindings.el (mode-line-mule-info)
10192 (mode-line-buffer-identification): Purecopy strings.
10193
10194 2009-11-11 Juri Linkov <juri@jurta.org>
10195
10196 * simple.el (dired-get-filename) <declare-function>:
10197 Tell the byte-compiler about dired-get-filename.
10198 (shell-command): In Dired mode, get filename from the current line
10199 as the default value.
10200
10201 2009-11-10 Glenn Morris <rgm@gnu.org>
10202
10203 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10204 * calendar/holidays.el, progmodes/cperl-mode.el:
10205 Update x-popup-menu declarations.
10206
10207 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10208 (list-load-path-shadows): Use dolist.
10209 (list-load-path-shadows): Use with-current-buffer.
10210
10211 2009-11-10 Juri Linkov <juri@jurta.org>
10212
10213 * minibuffer.el (read-file-name): Support a list of default values
10214 in `default-filename'. Use the first file name where only one
10215 element is required. Doc fix.
10216
10217 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
10218
10219 * net/dbus.el (dbus-unregister-object): Release service, if no
10220 other method is registered for it.
10221
10222 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
10223
10224 * bookmark.el (bookmark-completing-read): Sort bookmark names if
10225 bookmark-sort-flag is non-nil (Bug#4653).
10226
10227 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10228
10229 * emulation/cua-base.el: Add CUA property to some CC mode commands
10230 (Bug#4100).
10231
10232 2009-11-08 Kevin Ryde <user42@zip.com.au>
10233
10234 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10235 at end of sentence (Bug#4818).
10236
10237 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
10238
10239 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10240 Handle "see declaration of" MSFT statements (Bug#4100).
10241
10242 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
10243
10244 * net/tramp.el (tramp-advice-make-auto-save-file-name)
10245 (tramp-advice-file-expand-wildcards): Unload via
10246 `ad-remove-advice'.
10247
10248 * net/trampver.el: Update release number.
10249
10250 2009-11-08 Kevin Ryde <user42@zip.com.au>
10251
10252 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10253 `ad-do-it'.
10254
10255 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
10256
10257 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10258 in order to keep context in SELinux.
10259
10260 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10261
10262 * dired-aux.el (dired-query): Place cursor in echo area and allow
10263 C-g.
10264
10265 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10266 menu item if not on a directory (Bug#4701).
10267
10268 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
10269
10270 Sync with Tramp 2.1.17.
10271
10272 * net/tramp.el (tramp-handle-copy-directory): Don't use
10273 `file-remote-p' (due to compatibility).
10274
10275 * net/tramp-compat.el (tramp-compat-copy-directory)
10276 (tramp-compat-delete-directory): New defuns.
10277
10278 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
10279 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
10280 `tramp-compat-delete-directory'.
10281
10282 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10283 (tramp-smb-handle-delete-directory): Use
10284 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
10285
10286 * net/trampver.el: Update release number.
10287
10288 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
10289
10290 * tar-mode.el (tar-copy): Call write-region on the right buffer
10291 (Bug#4857).
10292
10293 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
10294 by hand, if necessary (Bug#4878).
10295
10296 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
10297
10298 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
10299 align size column (Bug#4839).
10300
10301 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
10302 statement.
10303
10304 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
10305
10306 * progmodes/ld-script.el (auto-mode-alist):
10307 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
10308
10309 * cus-face.el (custom-declare-face): Purecopy face spec.
10310
10311 2009-11-06 Kenichi Handa <handa@m17n.org>
10312
10313 * international/uni-bidi.el: Re-generated.
10314 * international/uni-category.el: Re-generated.
10315 * international/uni-combining.el: Re-generated.
10316 * international/uni-mirrored.el: Re-generated.
10317
10318 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
10319
10320 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
10321 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
10322 (tex-start-options, slitex-run-command, latex-run-command)
10323 (tex-run-command, tex-directory):
10324 * textmodes/ispell.el (ispell-html-skip-alists)
10325 (ispell-tex-skip-alists, ispell-tex-skip-alists):
10326 * textmodes/fill.el (adaptive-fill-first-line-regexp):
10327 (adaptive-fill-regexp):
10328 * textmodes/dns-mode.el (auto-mode-alist):
10329 * progmodes/python.el (interpreter-mode-alist):
10330 * progmodes/etags.el (tags-compression-info-list):
10331 * progmodes/etags.el (tags-file-name):
10332 * net/browse-url.el (browse-url-galeon-program)
10333 (browse-url-firefox-program):
10334 * mail/sendmail.el (mail-signature-file)
10335 (mail-citation-prefix-regexp):
10336 * international/mule-conf.el (eight-bit):
10337 * international/latexenc.el (latex-inputenc-coding-alist):
10338 * international/fontset.el (x-pixel-size-width-font-regexp):
10339 * emacs-lisp/warnings.el (warning-type-format):
10340 * emacs-lisp/trace.el (trace-buffer):
10341 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
10342 (emacs-lisp-mode-map):
10343 * calendar/holidays.el (holiday-solar-holidays)
10344 (holiday-bahai-holidays, holiday-islamic-holidays)
10345 (holiday-christian-holidays, holiday-hebrew-holidays)
10346 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
10347 (hebrew-holidays-1, holiday-oriental-holidays)
10348 (holiday-general-holidays):
10349 * x-dnd.el (x-dnd-known-types):
10350 * tool-bar.el (tool-bar):
10351 * startup.el (site-run-file):
10352 * shell.el (shell-dumb-shell-regexp):
10353 * rfn-eshadow.el (file-name-shadow-tty-properties)
10354 (file-name-shadow-properties):
10355 * paths.el (remote-shell-program, news-directory):
10356 * mouse.el ([C-down-mouse-3]):
10357 * menu-bar.el (menu-bar-tools-menu):
10358 * jka-cmpr-hook.el (jka-compr-load-suffixes)
10359 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
10360 (jka-compr-compression-info-list):
10361 * isearch.el (search-whitespace-regexp):
10362 * image-file.el (image-file-name-extensions):
10363 * find-dired.el (find-ls-option):
10364 * files.el (directory-listing-before-filename-regexp)
10365 (directory-free-space-args, insert-directory-program)
10366 (list-directory-brief-switches, magic-fallback-mode-alist)
10367 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
10368 (automount-dir-prefix):
10369 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
10370 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
10371 (face-font-registry-alternatives, face-font-registry-alternatives)
10372 (face-font-family-alternatives):
10373 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
10374 (facemenu-foreground-menu, facemenu-face-menu):
10375 * epa-hook.el (epa-file-name-regexp):
10376 * dnd.el (dnd-protocol-alist):
10377 * textmodes/rst.el (auto-mode-alist):
10378 * button.el (default-button): Purecopy strings.
10379
10380 2009-11-06 Glenn Morris <rgm@gnu.org>
10381
10382 * Makefile.in (ELCFILES): Update.
10383
10384 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
10387 * emacs-lisp/levents.el: Move to obsolete/levents.el.
10388
10389 * nxml/xsd-regexp.el (xsdre-gen-categories):
10390 * nxml/xmltok.el (xmltok-parse-entity):
10391 * nxml/rng-parse.el (rng-parse-validate-file):
10392 * nxml/rng-maint.el (rng-format-manual)
10393 (rng-manual-output-force-new-line):
10394 * nxml/rng-loc.el (rng-save-schema-location-1):
10395 * nxml/rng-cmpct.el (rng-c-parse-file):
10396 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
10397 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
10398
10399 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
10400
10401 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
10402 Remove extra save-excursions and make-variable-buffer-local's.
10403 Suggested by Stefan Monnier.
10404
10405 (verilog-getopt-file, verilog-module-inside-filename-p)
10406 (verilog-set-define): Merge GNU 1.35 and repair changes from
10407 switching to using with-current-buffer.
10408
10409 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
10410 being treated as a number and confusing AUTORESET.
10411 Reported by Dan Dever.
10412
10413 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
10414 Add verilog-auto-ignore-concat to fix backward compatibility with
10415 older verilog-modes. Reported by Dan Katz.
10416
10417 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
10418 containing closing anchors "...$".
10419
10420 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
10421 Reported by Wade Smith.
10422
10423 (verilog-batch-execute-func): Comment on function usage.
10424
10425 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
10426
10427 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
10428 for labels.
10429
10430 (verilog-label-re, verilog-calc-1): Support proper indent of named
10431 asserts.
10432
10433 (verilog-backward-token, verilog-basic-complete-re)
10434 (verilog-beg-of-statement, verilog-indent-re): Support proper
10435 indent of the assert statement at the beginning of a block of text.
10436
10437 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
10438 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
10439 tokens as begins.
10440
10441 2009-11-05 Glenn Morris <rgm@gnu.org>
10442
10443 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
10444 Emacs 19. (Bug#1531)
10445 (byte-compile-fix-header): Update for the above change.
10446 Drop test for epoch::version.
10447
10448 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
10449 * cus-dep.el (custom-make-dependencies):
10450 * finder.el (finder-compile-keywords):
10451 Use autoload-rubric's feature argument.
10452
10453 * calendar/diary-lib.el (top-level): Make load behave more like require.
10454
10455 * vc-git.el (vc-git-stash-map): Move definition before use.
10456
10457 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
10458
10459 * custom.el (custom-declare-group): Purecopy standard-value.
10460 (custom-declare-group): Purecopy custom-prefix.
10461
10462 * international/mule.el (load-with-code-conversion):
10463 Call do-after-load-evaluation unconditionally.
10464
10465 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
10466
10467 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
10470
10471 2009-11-04 Glenn Morris <rgm@gnu.org>
10472
10473 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
10474 (byte-compile-compatibility): Remove option.
10475 (byte-compile-close-variables, byte-compile-fix-header)
10476 (byte-compile-insert-header, byte-compile-output-docform)
10477 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
10478 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
10479 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
10480 (byte-compile-insert, byte-compile-defun):
10481 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
10482 (byte-defop-compiler19): Remove.
10483 Without byte-compile-compatibility, the 'emacs19-opcode property is not
10484 used by anything. Replace all calls with byte-defop-compiler.
10485
10486 2009-11-04 Juri Linkov <juri@jurta.org>
10487
10488 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
10489 (menu-bar-options-menu): Don't quote the `prop' arg of
10490 `menu-bar-make-mm-toggle'.
10491
10492 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
10493
10494 * calendar/calendar.el (cal-loaddefs):
10495 * calendar/diary-lib.el (diary-loaddefs):
10496 * calendar/holidays.el (hol-loaddefs):
10497 * eshell/esh-module.el (esh-groups): Load rather than require.
10498
10499 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * calendar/todo-mode.el (todo-add-category): Don't hardcode
10502 point-min==1.
10503 (todo-top-priorities): Only display-buffer when called interactively.
10504 (todo-item-start): Don't save excursion point.
10505 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
10506 (todo-insert-item-here, todo-file-item, todo-remove-item):
10507 Adjust uses of todo-item-start and todo-item-end.
10508
10509 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10510 (autoload-rubric): Don't use any more.
10511
10512 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10513 and only put a prop if it is non-nil.
10514
10515 2009-11-03 Juri Linkov <juri@jurta.org>
10516
10517 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10518 (menu-bar-options-menu): Fix list quoting (Bug#4429).
10519
10520 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10521 and "Menu" to make top-level menu item visually one unit (like
10522 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10523 multi-word menu items). Fix :help string for quit-window.
10524
10525 2009-11-03 Glenn Morris <rgm@gnu.org>
10526
10527 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
10528 (byte-compile-file-form-define-abbrev-table)
10529 (byte-compile-file-form-custom-declare-variable)
10530 (byte-compile-variable-ref, byte-compile-defvar):
10531 Whether or not a warning is enabled should only affect whether we issue
10532 the warning, not whether or not we collect the relevant data.
10533 Eg warnings can be turned on and off throughout the course of a file.
10534
10535 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
10536 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
10537
10538 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10539
10540 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
10541 * play/mpuz.el (mpuz-create-buffer):
10542 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
10543 (lm-print-y,s,noise, lm-print-w0, lm-init):
10544 * play/gomoku.el (gomoku-prompt-for-move):
10545 * play/fortune.el (fortune-in-buffer):
10546 * play/dissociate.el (dissociated-press):
10547 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
10548 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
10549 * mail/supercite.el (sc-eref-show):
10550 * mail/smtpmail.el (smtpmail-send-it):
10551 * mail/rmailsum.el (rmail-summary-next-labeled-message)
10552 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
10553 (rmail-summary-undelete-many, rmail-summary-rmail-update)
10554 (rmail-summary-goto-msg, rmail-summary-expunge)
10555 (rmail-summary-get-new-mail, rmail-summary-search-backward)
10556 (rmail-summary-add-label, rmail-summary-output-menu)
10557 (rmail-summary-output-body):
10558 * mail/rfc822.el (rfc822-addresses):
10559 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
10560 * mail/mailpost.el (post-mail-send-it):
10561 * mail/hashcash.el (hashcash-generate-payment):
10562 * mail/feedmail.el (feedmail-run-the-queue)
10563 (feedmail-queue-send-edit-prompt-help-first)
10564 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
10565 (feedmail-deduce-address-list):
10566 * eshell/esh-ext.el (eshell-remote-command):
10567 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
10568 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
10569 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
10570 (viper-save-string-in-file, viper-valid-marker):
10571 * emulation/viper-keym.el (viper-toggle-key):
10572 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
10573 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
10574 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
10575 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10576 (viper-exec-form-in-emacs, viper-brac-function):
10577 * emulation/viper.el (viper-delocalize-var):
10578 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
10579 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
10580 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
10581 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
10582 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
10583 * emulation/edt.el (edt-electric-helpify):
10584 * emulation/cua-rect.el (cua--rectangle-aux-replace):
10585 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
10586 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
10587 (cua-indent-to-global-mark-column):
10588 * calendar/diary-lib.el (calendar-mark-1):
10589 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
10590 Use with-current-buffer.
10591 * emulation/viper.el (viper-delocalize-var): Use dolist.
10592
10593 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
10594
10595 * comint.el (comint-replace-by-expanded-history-before-point):
10596 Replace !! with the previous input string literally (Bug#1795).
10597
10598 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
10599
10600 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
10601 to be made up of whitespace.
10602
10603 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
10604
10605 * minibuffer.el (read-file-name): Don't use file dialogs for
10606 remote directories (Bug#99).
10607
10608 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
10609
10610 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
10611
10612 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
10613
10614 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
10615 instead of deleting the window or frame.
10616
10617 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10618
10619 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
10620 Support face colors.
10621
10622 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
10623 New function. Support face colors (Bug#1168).
10624 (tex-common-initialization): Use it.
10625
10626 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
10627 mode allows it (Bug#1168).
10628
10629 2009-10-31 Juri Linkov <juri@jurta.org>
10630
10631 * facemenu.el (list-colors-display): Don't mark buffer as
10632 modified (Bug#3948).
10633
10634 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10635
10636 * international/mule-diag.el (list-character-sets-1): Minor
10637 message fix (Bug#3526).
10638
10639 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
10640 face property (Bug#4834).
10641 (etags-list-tags, etags-tags-apropos-additional)
10642 (etags-tags-apropos, tags-select-tags-table): Add follow-link
10643 property.
10644
10645 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
10646 items.
10647
10648 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * textmodes/two-column.el (2C-split):
10651 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
10652 * textmodes/tex-mode.el (tex-set-buffer-directory):
10653 * textmodes/spell.el (spell-region, spell-string):
10654 * textmodes/reftex.el (reftex-erase-buffer):
10655 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
10656 * textmodes/reftex-toc.el (reftex-toc-promote-action):
10657 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
10658 (reftex-select-item):
10659 * textmodes/reftex-ref.el (reftex-label-info-update)
10660 (reftex-offer-label-menu):
10661 * textmodes/reftex-index.el (reftex-index-change-entry)
10662 (reftex-index-phrases-info):
10663 * textmodes/reftex-global.el (reftex-create-tags-file)
10664 (reftex-save-all-document-buffers, reftex-ensure-write-access):
10665 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
10666 (reftex-view-crossref-from-bibtex):
10667 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
10668 (reftex-extract-bib-entries-from-thebibliography)
10669 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
10670 * textmodes/refbib.el (r2b-capitalize-title):
10671 (r2b-convert-buffer, r2b-help):
10672 * textmodes/page-ext.el (pages-directory)
10673 (pages-directory-goto-with-mouse):
10674 * textmodes/bibtex.el (bibtex-validate-globally):
10675 * textmodes/bib-mode.el (bib-capitalize-title):
10676 * textmodes/artist.el (artist-clear-buffer, artist-system):
10677 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
10678 (local-set-scheme-interaction-buffer, xscheme-process-filter)
10679 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
10680 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
10681 (xscheme-send-control-g-interrupt, xscheme-start-process)
10682 (xscheme-process-sentinel, xscheme-cd):
10683 * progmodes/verilog-mode.el (verilog-read-always-signals)
10684 (verilog-set-define, verilog-getopt-file)
10685 (verilog-module-inside-filename-p):
10686 * progmodes/sh-script.el:
10687 * progmodes/python.el (python-pdbtrack-get-source-buffer)
10688 (python-pdbtrack-grub-for-buffer, python-execute-file):
10689 * progmodes/octave-inf.el (inferior-octave):
10690 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10691 (idlwave-shell-compile-helper-routines, idlwave-set-local)
10692 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
10693 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
10694 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
10695 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
10696 (idlwave-shell-filter, idlwave-shell-examine-highlight)
10697 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
10698 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
10699 (idlwave-shell-examine-display, idlwave-shell-run-region)
10700 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
10701 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
10702 * progmodes/idlw-help.el (idlwave-help-get-special-help)
10703 (idlwave-help-get-help-buffer):
10704 * progmodes/gud.el (gud-basic-call, gud-find-class)
10705 (gud-tooltip-activate-mouse-motions-if-enabled):
10706 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10707 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
10708 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
10709 (ebrowse-tags-next-file):
10710 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
10711 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
10712 (ebnf-eps-finish-and-write):
10713 * progmodes/cpp.el (cpp-edit-save):
10714 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
10715 * progmodes/cc-defs.el (c-emacs-features):
10716 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
10717 (antlr-directory-dependencies):
10718 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
10719 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
10720 (ada-find-any-references, ada-make-filename-from-adaname)
10721 (ada-make-body-gnatstub):
10722 * obsolete/rnews.el (news-list-news-groups):
10723 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
10724 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
10725 * net/rcirc.el (rcirc-debug):
10726 * net/newst-treeview.el (newsticker--treeview-list-add-item)
10727 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
10728 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
10729 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
10730 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
10731 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
10732 (newsticker--treeview-list-clear-highlight)
10733 (newsticker--treeview-list-update-highlight)
10734 (newsticker--treeview-list-highlight-start)
10735 (newsticker--treeview-tree-update-highlight)
10736 (newsticker--treeview-get-selected-item)
10737 (newsticker-treeview-mark-list-items-old)
10738 (newsticker--treeview-set-current-node):
10739 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10740 * net/newst-backend.el (newsticker--get-news-by-funcall)
10741 (newsticker--get-news-by-wget, newsticker--image-get)
10742 (newsticker--image-sentinel):
10743 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
10744 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
10745 (eudc-ph-close-session):
10746 * net/eudc.el (eudc-save-options):
10747 * language/thai-word.el (thai-update-word-table):
10748 * language/japan-util.el (japanese-string-conversion):
10749 * international/titdic-cnv.el (tsang-quick-converter)
10750 (ziranma-converter, ctlau-converter):
10751 * international/mule-cmds.el (describe-language-environment):
10752 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
10753 (skkdic-convert-postfix, skkdic-convert-prefix):
10754 (skkdic-convert-okuri-nasi, skkdic-convert):
10755 * emacs-lisp/re-builder.el (reb-update-overlays):
10756 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
10757 * emacs-lisp/gulp.el (gulp-send-requests):
10758 * emacs-lisp/find-gc.el (trace-call-tree):
10759 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
10760 (eieio-describe-generic):
10761 * emacs-lisp/eieio-base.el (eieio-persistent-read):
10762 * emacs-lisp/edebug.el (edebug-outside-excursion):
10763 * emacs-lisp/debug.el (debugger-make-xrefs):
10764 * emacs-lisp/cust-print.el (custom-prin1-to-string):
10765 * emacs-lisp/chart.el (chart-new-buffer):
10766 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
10767 Use with-current-buffer.
10768 * textmodes/artist.el (artist-system): Don't call
10769 copy-sequence on a fresh string.
10770 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
10771
10772 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
10773
10774 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
10775 is no item to edit. (Bug#4820)
10776 (todo-top-priorities): Restore point and restore narrowing in Todo
10777 buffer. (Bug#4820)
10778
10779 2009-10-31 Glenn Morris <rgm@gnu.org>
10780
10781 * net/ange-ftp.el (top-level): Don't require dired when compiling.
10782 (comint-last-output-start, comint-last-input-start)
10783 (comint-last-input-end): Don't defvar when compiling.
10784 (ange-ftp-process-file): Use bound-and-true-p.
10785
10786 * pcmpl-rpm.el (top-level): Move provide statement to end.
10787 (pcmpl-rpm): Remove unused custom group.
10788
10789 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
10790
10791 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
10792
10793 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10794 (byte-compile-warnings): Add `constants' as an option.
10795 (byte-compile-callargs-warn, byte-compile-arglist-warn)
10796 (display-call-tree): Update for byte-compile-fdefinition possibly
10797 returning `(macro lambda ...)'. (Bug#4778)
10798 (byte-compile-variable-ref, byte-compile-setq-default):
10799 Respect `constants' member of byte-compile-warnings.
10800
10801 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10802
10803 * vc-bzr.el (vc-bzr-revision-keywords): New var.
10804 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
10805 to "submit:".
10806
10807 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
10808
10809 * textmodes/ispell.el (ispell-skip-region-alist):
10810 * international/mule-conf.el (eight-bit):
10811 * international/fontset.el (font-encoding-alist):
10812 * startup.el (pure-space-overflow-message):
10813 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
10814 * paths.el (gnus-nntp-service, rmail-spool-directory)
10815 (term-file-prefix):
10816 * files.el (save-some-buffers-action-alist):
10817 * cmuscheme.el (same-window-buffer-names):
10818 * ielm.el (same-window-buffer-names):
10819 * shell.el (same-window-buffer-names):
10820 * mail/sendmail.el (same-window-buffer-names):
10821 * progmodes/inf-lisp.el (same-window-buffer-names):
10822 * bindings.el (mode-line-client)
10823 (mode-line-column-line-number-mode-map):
10824 * language/tibetan.el (tibetan-precomposition-rule-regexp)
10825 (tibetan-precomposed-regexp): Purecopy string arguments.
10826
10827 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10828
10829 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
10830 (calcDigit-nondigit):
10831 * calc/calc-yank.el (calc-copy-to-buffer):
10832 * calc/calc-units.el (calc-invalidate-units-table):
10833 * calc/calc-trail.el (calc-trail-yank):
10834 * calc/calc-store.el (calc-insert-variables):
10835 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
10836 * calc/calc-prog.el (calc-read-parse-table):
10837 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
10838 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
10839 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
10840 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
10841 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
10842 (calc-graph-name, calc-graph-find-command, calc-graph-view)
10843 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
10844 * calc/calc-ext.el (calc-realign):
10845 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
10846 (calc-embedded-finish-edit, calc-embedded-make-info)
10847 (calc-embedded-finish-command, calc-embedded-stack-change):
10848 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
10849
10850 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
10851 shell-dynamic-complete-filename in preference to
10852 comint-dynamic-complete-filename.
10853
10854 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
10855 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
10856 Don't consider whether the display supports colors.
10857 (bookmark-import-new-list): Use dolist.
10858 (bookmark-bmenu-mode-map): Move initialization into declaration.
10859 (bookmark-bmenu-list): Use dolist, simplify.
10860 (bookmark-show-all-annotations): Use save-selected-window and dolist.
10861 (menu-bar-final-items): Use push.
10862
10863 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
10864
10865 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
10866 it works on remote files.
10867 (vc-hg-diff): Don't pass any `--cwd' argument.
10868
10869 2009-10-27 Kevin Ryde <user42@zip.com.au>
10870
10871 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
10872 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
10873 (Further to Bug#3921).
10874
10875 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
10876
10877 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
10878 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
10879 calling `tramp-imap-put-file'. Add file size to the call.
10880 (tramp-imap-get-file-entries): Compute also user name, file size,
10881 and date.
10882 (tramp-imap-handle-insert-directory): Insert uid and gid.
10883 (tramp-imap-handle-file-attributes): Transform uid and gid
10884 according to `id-format'.
10885 (tramp-imap-put-file): New optional parameter SIZE. Encode file
10886 size in header X-Size.
10887
10888 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
10889
10890 * simple.el (transpose-subr): Give clearer error when the mark
10891 is not set. (Bug#4807)
10892
10893 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
10894
10895 * net/tramp.el (tramp-perl-file-truename): New defconst.
10896 Perl code contributed by yary <not.com@gmail.com> (tiny change).
10897 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
10898 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
10899 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
10900
10901 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
10902 Ignore `dired-call-process'.
10903 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
10904
10905 2009-10-26 Julian Scheid <julians37@gmail.com>
10906
10907 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
10908 (tramp-get-remote-readlink): New defun.
10909 (tramp-handle-file-truename): Use it.
10910 (tramp-handle-file-exists-p): Check file-attributes cache, assume
10911 file exists if cache value present.
10912 (tramp-check-cached-permissions): New defun.
10913 (tramp-handle-file-readable-p): Use it.
10914 (tramp-handle-file-writable-p): Likewise.
10915 (tramp-handle-file-executable-p): Likewise.
10916 (tramp-handle-file-name-all-completions): Try using Perl to get
10917 partial completions. When perl not available, combine `cd' and
10918 `ls' into single remote operation and use shell expansion to get
10919 partial remote directory contents. Set `file-exists-p' cache for
10920 directory and any files returned by ls. Change cache handling to
10921 support partial directory contents. Use error message emitted by
10922 remote `cd' or Perl code for local tramp-error.
10923 (tramp-do-copy-or-rename-file-directly): Avoid separate
10924 tramp-send-command-and-check call.
10925 (tramp-handle-process-file): Merge three remote ops into one.
10926 Do not flush all caches when `process-file-side-effects' is set.
10927 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
10928 file-attributes shows uid/gid to be set already.
10929
10930 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
10931
10932 * textmodes/tex-mode.el (tex-dvi-view-command)
10933 (tex-show-queue-command, tex-open-quote):
10934 * progmodes/ruby-mode.el (auto-mode-alist)
10935 (interpreter-mode-alist): Purecopy strings.
10936
10937 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
10938
10939 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
10940 string for the hook, keymap and abbrev table.
10941
10942 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
10943
10944 * x-dnd.el (x-dnd-xdnd-to-action):
10945 * startup.el (fancy-startup-text, fancy-about-text): Change to
10946 defconst from defvar.
10947
10948 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
10949
10950 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
10951 Purecopy initialization strings.
10952
10953 * mail/sendmail.el (mail-header-separator)
10954 (mail-personal-alias-file):
10955 * mail/rmail.el (rmail-default-dont-reply-to-names)
10956 (rmail-ignored-headers, rmail-retry-ignored-headers)
10957 (rmail-highlighted-headers, rmail-secondary-file-directory)
10958 (rmail-secondary-file-regexp):
10959 * files.el (null-device, file-name-invalid-regexp)
10960 (locate-dominating-stop-dir-regexp)
10961 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
10962 (interpreter-mode-alist): Use mapcar instead of mapc.
10963
10964 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
10965
10966 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
10967 (completion-ignored-extensions):
10968 (debug-ignored-errors): Purecopy strings.
10969
10970 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
10973 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
10974 (pcomplete--here): Use push.
10975
10976 * subr.el (all-completions): Declare the 4th arg obsolete.
10977
10978 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * pcomplete.el (pcomplete-unquote-argument-function): New var.
10981 (pcomplete-unquote-argument): New function.
10982 (pcomplete--common-suffix): Always pay attention to case.
10983 (pcomplete--table-subvert): Quote and unquote the text.
10984 (pcomplete--common-quoted-suffix): New function.
10985 (pcomplete-std-complete): Use it and pcomplete-begin.
10986
10987 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
10988 we're inside a dedicated or minibuffer window.
10989
10990 2009-10-24 Karl Fogel <kfogel@red-bean.com>
10991
10992 * bookmark.el: Update documentation, especially documentation
10993 of `bookmark-alist' and of the bookmark file format.
10994 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
10995
10996 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
10997
10998 * mail/emacsbug.el (report-emacs-bug): Clarify that the
10999 keybindings apply to the mail buffer (Bug#4003). Shrink help
11000 window to buffer.
11001
11002 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11003 (global-whitespace-mode, global-whitespace-newline-mode)
11004 (whitespace-toggle-options, global-whitespace-toggle-options):
11005 Doc fix (Bug#3660).
11006
11007 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11008 of xmltok-start before the end tag was inserted (Bug#2840).
11009
11010 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11011 patterns that are preceded by an open-paren (Bug#1320).
11012
11013 2009-10-24 Sven Joachim <svenjoac@gmx.de>
11014
11015 * files.el (delete-directory): Delete symlinks to directories with
11016 delete-file (Bug#4739).
11017
11018 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
11019
11020 * vc.el (vc-backend-for-registration): Rename from
11021 vc-get-backend-for-registration. Update callers.
11022
11023 * international/mule-cmds.el (set-language-info-alist):
11024 Purecopy lang-env.
11025 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11026 (charset): Purecopy the name.
11027 (define-char-code-property): Purecopy string arguments.
11028
11029 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11030 Purecopy string arguments.
11031
11032 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11033 * ediff-hook.el (menu-bar-ediff-menu):
11034 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11035 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11036
11037 2009-10-24 Glenn Morris <rgm@gnu.org>
11038
11039 * comint.el (comint-dynamic-list-completions):
11040 * term.el (term-dynamic-list-completions): Use choose-completion rather
11041 than obsolete alias mouse-choose-completion.
11042
11043 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11044 file-cache-choose-completion.
11045 (file-cache-choose-completion): Handle an optional event argument.
11046 (file-cache-mouse-choose-completion): Make it an obsolete alias.
11047
11048 * progmodes/octave-mod.el (octave-complete-symbol):
11049 Use choose-completion if mouse-choose-completion is ever removed.
11050
11051 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11052 use.
11053
11054 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11055 compiler.
11056
11057 * vc-hooks.el (vc-responsible-backend): Fix declaration.
11058
11059 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11060
11061 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11062 Ignore `pred' now that we receive one.
11063 Handle test-completion specially.
11064
11065 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11066
11067 * vc.el (vc-responsible-backend): Throw an error if not backend is
11068 found. Remove the REGISTER argument. Move the code dealing with
11069 REGISTER ...
11070 (vc-get-backend-for-registration): ... here. New function.
11071 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11072 of vc-responsible-backend, pass the file name instead of the
11073 directory name.
11074
11075 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
11076
11077 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11078 New funs.
11079 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
11080 (pcomplete-comint-setup): Don't modify a global var via
11081 accidental side-effects.
11082 (pcomplete-shell-setup): Adjust call accordingly.
11083 (pcomplete-parse-comint-arguments): Use push.
11084
11085 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
11086
11087 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11088 Allow uncapitalized info node names (Bug#3921).
11089
11090 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11091 to the DEBUG file (Bug#3781).
11092
11093 2009-10-23 Jari Aalto <jari.aalto@cante.net>
11094
11095 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11096 dictionary entry (Bug#4579).
11097
11098 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
11099
11100 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11101 from `rfn-eshadow-update-overlay-hook' when unloading.
11102 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11103 "rsyncc". Adjust doc string.
11104 (tramp-temp-buffer-file-name): New buffer-local defvar.
11105 (tramp-handle-insert-file-contents, tramp-handle-write-region):
11106 Keep temporary file when indicated by method ("rsync" and
11107 "rsyncc").
11108 (tramp-handle-write-region): Handle APPEND.
11109 (tramp-delete-temp-file-function): New defun. Added to
11110 `kill-buffer-hook'.
11111
11112 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
11113
11114 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11115
11116 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11117
11118 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11119 (color-name-rgb-alist, tty-standard-colors)
11120 (tty-color-mode-alist): Change to defconst.
11121
11122 * simple.el (mark-inactive): Purecopy message.
11123
11124 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11125 (global-map, yank-menu):
11126 * textmodes/ispell.el (ispell-menu-map):
11127 * net/eudc.el (eudc-tools-menu):
11128 * international/mule-cmds.el (describe-language-environment-map)
11129 (setup-language-environment-map, set-coding-system-map)
11130 (mule-menu-keymap):
11131 * vc-hooks.el (vc-menu-entry, vc-menu-map):
11132 * replace.el (occur-mode-map):
11133 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11134
11135 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
11136
11137 * calc/calc.el (math-read-number, math-read-number-simple): Use
11138 `save-match-data'.
11139
11140 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11141
11142 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11143 rather than fiddling with global-map bindings, since it should only
11144 affect per-terminal settings.
11145 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11146
11147 * minibuffer.el (completion-table-with-terminator): Allow to specify
11148 the terminator-regexp.
11149
11150 * simple.el (switch-to-completions): Look for *Completions* in other
11151 frames as well.
11152
11153 * pcomplete.el: Allow the use of completion-tables.
11154 (pcomplete-std-complete): New command.
11155 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11156 (pcomplete--here): Use a function for `form' rather than an expression,
11157 so it can be byte-compiled.
11158 (pcomplete-here, pcomplete-here*): Adjust accordingly.
11159 Add edebug declaration.
11160 (pcomplete-show-completions): Remove unused var `curbuf'.
11161 (pcomplete-do-complete, pcomplete-stub):
11162 Don't assume `completions' is a list of strings any more.
11163
11164 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
11165
11166 * find-dired.el (find-name-arg): Fix typo in docstring.
11167
11168 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11169
11170 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11171 (pcmpl-linux-fs-types): Same, and update to new modules layout.
11172
11173 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11174 pcomplete-entries.
11175
11176 * comint.el (comint-read-input-ring, comint-write-input-ring)
11177 (comint-substitute-in-file-name)
11178 (comint-dynamic-complete-as-filename)
11179 (comint-dynamic-simple-complete)
11180 (comint-dynamic-list-filename-completions)
11181 (comint-dynamic-list-completions)
11182 (comint-redirect-results-list-from-process): Minor simplifications.
11183
11184 2009-10-21 Kevin Ryde <user42@zip.com.au>
11185
11186 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11187 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11188 the first form. And insert a blank line after ";;; Code" since
11189 that's usual style. (Bug#4612)
11190
11191 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11192
11193 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * minibuffer.el (completion-table-with-terminator): Properly implement
11196 boundaries, in case `terminator' appears in the suffix.
11197 (completion--embedded-envvar-table): Don't return boundaries if
11198 there's no valid completion. Simplify.
11199 (completion-file-name-table): New completion table extracted from
11200 completion--file-name-table.
11201 (completion--file-name-table): Use it.
11202 (read-file-name-predicate): Declare obsolete.
11203 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11204 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11205 completion-file-name-table, and use the `pred' argument.
11206 * files.el (locate-file-completion-table): Use the `pred' arg rather
11207 than read-file-name-predicate.
11208 (abbreviate-file-name): Use \` rather than ^ for BOS.
11209
11210 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
11211
11212 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11213 vc-responsible-backend to register, it causes problems.
11214
11215 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11216
11217 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11218
11219 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
11220
11221 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11222 (tramp-smb-handle-file-attributes): Use it.
11223 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11224 (tramp-smb-handle-insert-directory): Use `mapc' rather than
11225 `mapcar'. Use `tramp-smb-get-stat-capability'.
11226 Add `dired-filename' text properties.
11227 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11228 (tramp-smb-maybe-open-connection): Simplify check for smbclient
11229 version.
11230
11231 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
11232
11233 * subr.el (read-key-delay): Reduce to 0.01.
11234 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11235 (bug#4751).
11236
11237 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11240
11241 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11242 (Info-menu): Remove unused vars `last' and `completions'.
11243 (Info-index-nodes): Remove unused var `node'.
11244
11245 * info.el (Info-complete-menu-item): Use complete-with-action.
11246
11247 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
11248
11249 Make vc-annotate work through copies and renames.
11250 * vc-annotate.el (vc-annotate-extract-revision-at-line):
11251 Return the file name too.
11252 (vc-annotate-revision-at-line)
11253 (vc-annotate-find-revision-at-line)
11254 (vc-annotate-revision-previous-to-line)
11255 (vc-annotate-show-log-revision-at-line): Update to get the file
11256 name from vc-annotate-extract-revision-at-line.
11257 (vc-annotate-show-diff-revision-at-line-internal): Change the
11258 argument to mean whether to show a file diff or not. Get the file
11259 name from vc-annotate-extract-revision-at-line.
11260 (vc-annotate-show-diff-revision-at-line):
11261 Update vc-annotate-show-diff-revision-at-line call.
11262 (vc-annotate-warp-revision): Add an optional file argument.
11263
11264 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11265 (vc-git-annotate-extract-revision-at-line): Also return the file
11266 name if found.
11267
11268 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11269 command. Remove unused code.
11270 (vc-hg-annotate-re): Update to match --follow output.
11271 (vc-hg-annotate-extract-revision-at-line): Also return the file
11272 name if found.
11273
11274 * vc.el: Update annotate-extract-revision-at-line documentation.
11275
11276 2009-10-18 Kevin Ryde <user42@zip.com.au>
11277
11278 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11279 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11280
11281 * net/browse-url.el (browse-url): Identify alist with "consp and
11282 not functionp" and let all other things go down the `apply' leg,
11283 as suggested by Stefan. (Further to bug#4531.)
11284
11285 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
11286
11287 * minibuffer.el (read-file-name): Check for repeat before putting
11288 a default argument in file-name-history (Bug#4657).
11289
11290 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11291 read syntax (Bug#4737).
11292
11293 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11294
11295 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11296
11297 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11298 (html-tag-alist, html-tag-help): Add descriptions for undocumented
11299 entries and make note of obsolete tags.
11300
11301 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11304
11305 2009-10-18 Glenn Morris <rgm@gnu.org>
11306
11307 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11308 grep, so that binary files (eg international/uni-bidi.el) can match.
11309 Remove test for "UnicodeData" files, since it is hopefully unnecessary
11310 now, and in any case the file header format has changed.
11311
11312 2009-10-17 Glenn Morris <rgm@gnu.org>
11313
11314 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11315 (flyspell-get-word, flyspell-large-region)
11316 (flyspell-auto-correct-previous-word): Doc/error message fixes.
11317
11318 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
11319
11320 * Makefile.in (ELCFILES): Add ede/shell.
11321
11322 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
11323
11324 * term/common-win.el (x-colors): Purecopy it.
11325
11326 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11329 permissive for when the buffer is empty.
11330 (tar-header-block-tokenize): Decode the username and groupname.
11331 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11332
11333 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * international/mule-cmds.el (select-safe-coding-system): If the file
11336 has a coding cookie, use it regardless of any other setting (bug#4712).
11337
11338 2009-10-17 Glenn Morris <rgm@gnu.org>
11339
11340 * foldout.el (foldout-mouse-swallow-events):
11341 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11342
11343 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11344 (dired-keep-marker-copy, dired-keep-marker-hardlink)
11345 (dired-keep-marker-symlink, dired-dwim-target)
11346 (dired-copy-preserve-time): Do not autoload these defcustoms.
11347
11348 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11349 messages from messing up the file coding. (Bug#4623)
11350
11351 2009-10-17 Jari Aalto <jari.aalto@cante.net>
11352
11353 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11354 if no match is found for the current dictionary. (Bug#4578)
11355
11356 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11357 optional, since that is how it is documented, and this is often called
11358 with a nil argument. (Bug#4577)
11359 (flyspell-external-point-words, flyspell-auto-correct-word)
11360 (flyspell-correct-word-before-point, flyspell-word-search-forward)
11361 (flyspell-word-search-backward): Remove nil argument in calls to
11362 flyspell-get-word, since it is not needed now.
11363
11364 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
11365
11366 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
11367
11368 2009-10-16 Glenn Morris <rgm@gnu.org>
11369
11370 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11371
11372 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11373
11374 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11375 (ange-ftp-file-size): New function.
11376 (ange-ftp-file-attributes): Use it.
11377
11378 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
11379
11380 * net/tramp-smb.el (tramp-smb-version): New defvar.
11381 (tramp-smb-maybe-open-connection): Use it, in order to avoid
11382 repeated checks.
11383
11384 2009-10-16 Glenn Morris <rgm@gnu.org>
11385
11386 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11387 Maybe copy some custom properties from old to new name. (Bug#4706)
11388
11389 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
11390
11391 * subr.el (error, sit-for, start-process-shell-command)
11392 (start-file-process-shell-command): Set the calling convention
11393 after the function definition.
11394
11395 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
11396
11397 * subr.el (error, sit-for, start-process-shell-command)
11398 (start-file-process-shell-command): Use the new
11399 set-advertised-calling-convention feature.
11400
11401 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
11402
11403 * international/ucs-normalize.el (ucs-normalize-version):
11404 Change to 1.2.
11405 (check-range): Adjust for Unicode 5.2.
11406
11407 2009-10-15 Juri Linkov <juri@jurta.org>
11408
11409 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11410 to the `menu-item' format.
11411
11412 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
11413
11414 * net/tramp.el (tramp-replace-environment-variables): Do not fail
11415 if the environment variable does not exist.
11416
11417 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11418 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11419 parameter.
11420 (tramp-smb-handle-add-name-to-file)
11421 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11422 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11423 (tramp-smb-handle-file-attributes)
11424 (tramp-smb-do-file-attributes-with-stat)
11425 (tramp-smb-handle-file-local-copy)
11426 (tramp-smb-handle-insert-directory)
11427 (tramp-smb-handle-make-directory)
11428 (tramp-smb-handle-make-directory-internal)
11429 (tramp-smb-handle-make-symbolic-link)
11430 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11431 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11432 (tramp-smb-maybe-open-connection): Apply the changed parameters.
11433 (tramp-smb-read-file-entry): Read Disk names in compressed format.
11434 Handle long file names.
11435 (tramp-smb-get-cifs-capabilities): Check, whether the connection
11436 process is running.
11437 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11438 Read share names with "-g" option.
11439
11440 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
11441
11442 * net/rcirc.el (rcirc-view-log-file): New command.
11443 (rcirc-track-minor-mode-map): Remove C-c ` binding.
11444 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11445 specified.
11446
11447 2009-10-15 Glenn Morris <rgm@gnu.org>
11448
11449 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11450 from the second command-line argument.
11451 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11452 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11453 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11454 w32-batch-update-autoloads.
11455 * emacs-lisp/autoload.el (autoload-make-program): New variable.
11456 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11457
11458 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11459 the headers cannot be located. Simplify, subtracting superflous
11460 save-excursions.
11461
11462 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
11463
11464 Replace completion-base-size by completion-base-position to fix bugs
11465 such as (bug#4699).
11466 * simple.el (completion-base-position): New var.
11467 (completion-base-size): Mark as obsolete.
11468 (choose-completion): Make it work for mouse events as well.
11469 Pass the new base-position to choose-completion-string.
11470 (choose-completion-guess-base-position): New function, extracted from
11471 choose-completion-delete-max-match.
11472 (choose-completion-delete-max-match): Use it. Make obsolete.
11473 (choose-completion-string): Use the new base-position info.
11474 (completion-root-regexp): Delete.
11475 (completion-setup-function): Preserve completion-base-position.
11476 Eliminate obsolete base-size manipulation.
11477 * minibuffer.el (display-completion-list): Don't mess with base-size.
11478 (minibuffer-completion-help): Set completion-base-position instead.
11479 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11480 choose-completion.
11481 * textmodes/bibtex.el (bibtex-complete):
11482 * emacs-lisp/crm.el (crm--choose-completion-string):
11483 Adjust to new calling convention.
11484 * complete.el (partial-completion-mode): Use minibufferp to avoid
11485 bumping into incompatible change to choose-completion-string-functions.
11486 * ido.el (ido-choose-completion-string): Make its calling convention
11487 more permissive.
11488 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11489 base-size manipulation.
11490 (comint-dynamic-list-input-ring): Use dotimes and push.
11491 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11492 fundamental-mode. Use `or'.
11493
11494 2009-10-14 Juri Linkov <juri@jurta.org>
11495
11496 * misearch.el (multi-isearch-next-buffer-from-list)
11497 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
11498
11499 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * Makefile.in (compile-onefile): Load `bytecomp' rather than
11502 `bytecomp.el'.
11503
11504 * minibuffer.el (completion-pcm--merge-completions): Make sure the
11505 string we return is all made up of text from the completions rather
11506 than part from the completions and part from the input (bug#4219).
11507
11508 * ido.el (ido-everywhere): Use define-minor-mode.
11509
11510 * buff-menu.el (list-buffers, ctl-x-map):
11511 Mark the entry points with ;;;###autoload cookies.
11512
11513 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
11514
11515 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11516 correctly in the detached head case.
11517 (vc-git-print-log): Remove unused binding.
11518
11519 * vc.el (vc-responsible-backend): When a directory is passed for
11520 for registration create a VC repository if no backend is
11521 responsible for the directory argument.
11522 (vc-deduce-fileset): Tell vc-responsible-backend to register.
11523
11524 * vc.el: Move comments about RCS and SCCS ...
11525 * vc-rcs.el:
11526 * vc-sccs.el: ... here, respectively.
11527
11528 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11529
11530 * minibuffer.el (completion--file-name-table): Return nil if there's
11531 no file completion, even if substitute-in-file-name changed
11532 the string (bug#4708).
11533
11534 2009-10-13 Juri Linkov <juri@jurta.org>
11535
11536 * files-x.el (read-file-local-variable-value): Don't filter out
11537 minor modes from mode name completion (bug#4664).
11538
11539 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11540
11541 * international/mule-cmds.el (ucs-names): Remove exclusion of
11542 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
11543
11544 2009-10-13 Kenichi Handa <handa@m17n.org>
11545
11546 * international/uni-name.el: Regenerated.
11547
11548 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11549
11550 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
11551 should be automatically buffer-local, but isn't.)
11552
11553 2009-10-12 Sam Steingold <sds@gnu.org>
11554
11555 * progmodes/compile.el (compilation-next-error-function): Fix the
11556 timestamps if the buffer has been visited before.
11557 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
11558 non-anchored patterns, like the perl one (bug#3928).
11559
11560 2009-10-12 Glenn Morris <rgm@gnu.org>
11561
11562 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
11563 Let-bind `size'.
11564
11565 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
11566
11567 * proced.el (proced-unload-function): New function.
11568
11569 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
11570 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
11571 Doc fix.
11572
11573 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
11574
11575 2009-10-11 Juri Linkov <juri@jurta.org>
11576
11577 * files-x.el (read-file-local-variable-value):
11578 Provide default value only for bound variables (bug#4664).
11579
11580 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
11581
11582 * net/tramp.el (tramp-local-host-p): Function shall return nil for
11583 connection methods like smb.
11584
11585 * net/tramp-cache.el (tramp-flush-connection-property): The hash
11586 can be empty.
11587
11588 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11589 (tramp-smb-file-name-handler-alist): Add handlers for
11590 `add-name-to-file', `make-symbolic-link'.
11591 (tramp-smb-handle-add-name-to-file)
11592 (tramp-smb-do-file-attributes-with-stat)
11593 (tramp-smb-handle-make-symbolic-link)
11594 (tramp-smb-get-cifs-capabilities): New defuns.
11595 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11596 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11597 (tramp-smb-handle-file-local-copy)
11598 (tramp-smb-handle-make-directory-internal)
11599 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11600 The file name syntax depends on cifs capabilities.
11601 (tramp-smb-handle-file-attributes):
11602 Call `tramp-smb-do-file-attributes-with-stat' if possible.
11603 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
11604 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
11605
11606 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
11607
11608 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
11609 (eieio-defclass): Apply deftype handler and setf-method properties
11610 directly.
11611 (eieio-add-new-slot): Avoid union function from cl library.
11612 (eieio--typep): New function.
11613 (eieio-perform-slot-validation): Use it.
11614
11615 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11616
11617 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
11618 Update documentation to refer to the variables documented in r1.135.
11619 (Bug#4188)
11620
11621 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11622
11623 * bookmark.el (Info-suffix-list): Remove this unused variable.
11624 (bookmark-current-point): Remove this obsolete variable.
11625 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
11626 Adjust for removal of bookmark-current-point.
11627
11628 (bookmarks-already-loaded, bookmark-current-buffer)
11629 (bookmark-yank-point): Document. (Bug#4188)
11630
11631 2009-10-10 Glenn Morris <rgm@gnu.org>
11632
11633 * frame.el (frame-height): Doc fix.
11634
11635 * calendar/calendar.el (calendar-split-width-threshold): New option.
11636 (calendar-basic-setup): Use calendar-split-width-threshold.
11637
11638 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
11639
11640 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
11641 Ideographic Supplement" range (U+1F200..U+1F2FF).
11642
11643 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11644
11645 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
11646 since the list will have been rebuilt anyway. (Bug#4349)
11647
11648 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11649
11650 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
11651 (bookmark-bmenu-execute-deletions): Don't save here, as
11652 bookmark-delete will now do so if necessary.
11653 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
11654 (Bug#4348)
11655
11656 2009-10-09 Glenn Morris <rgm@gnu.org>
11657
11658 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
11659
11660 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11661
11662 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
11663 (bookmark-jump-other-window): Just invoke bookmark-jump with new
11664 argument now, so the two function's behaviors will match. (Bug#3645)
11665
11666 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
11667
11668 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
11669 (tramp-file-name-real-host, tramp-file-name-port):
11670 Apply `save-match-data'.
11671
11672 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
11673 case both directories are remote.
11674 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
11675 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
11676
11677 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
11678
11679 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
11680
11681 2009-10-07 Glenn Morris <rgm@gnu.org>
11682
11683 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
11684 of concat.
11685
11686 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * files-x.el (read-file-local-variable): Include some
11689 non-user-variables in the completion table (bug#4664).
11690
11691 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
11692
11693 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
11694 message.
11695
11696 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11697 (tramp-smb-file-name-handler-alist): Add handler for
11698 `copy-directory', `expand-file-name', `set-file-modes'.
11699 (tramp-smb-handle-copy-directory)
11700 (tramp-smb-handle-expand-file-name)
11701 (tramp-smb-handle-set-file-modes): New defuns.
11702 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
11703 (tramp-smb-handle-file-attributes): Simplify check for retrieving
11704 entry.
11705 (tramp-smb-handle-insert-directory): Don't flush the cache.
11706 (tramp-smb-maybe-open-connection): Check for samba client and
11707 server versions.
11708
11709 2009-10-07 Eli Zaretskii <eliz@gnu.org>
11710
11711 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
11712 to not error out of search for "^lisp=" fails.
11713
11714 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
11715
11716 * makefile.w32-in (WINS_UPDATES): New macro.
11717 (custom-deps, finder-data, autoloads): Use it.
11718
11719 2009-10-07 Glenn Morris <rgm@gnu.org>
11720
11721 * Makefile.in (autoloads): Revert previous change.
11722 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
11723 the list of preloaded files passed on the command-line, get
11724 it from src/Makefile.
11725
11726 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
11727 show the original buffer rather than a random one.
11728
11729 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
11730
11731 * help.el (describe-no-warranty): Place point in a slightly better
11732 position in the GPLv3 text.
11733
11734 2009-10-06 Sam Steingold <sds@gnu.org>
11735
11736 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
11737 the comm attribute is present before calling regexp-quote.
11738
11739 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
11740
11741 * play/animate.el (animate-string): For good effect, make sure
11742 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
11743
11744 * play/animate.el (animate-sequence, animate-birthday-present):
11745 * misc.el (butterfly): Don't set `indent-tabs-mode'.
11746
11747 2009-10-06 Glenn Morris <rgm@gnu.org>
11748
11749 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
11750
11751 * emacs-lisp/autoload.el (autoload-excludes): New variable.
11752 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
11753 (batch-update-autoloads): Process a string value of autoload-excludes,
11754 set during the build process.
11755 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
11756
11757 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
11758 inside with-parsed... macro so that `v' is defined.
11759
11760 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
11761 * progmodes/fortran.el (fortran-end-of-block)
11762 (fortran-beginning-of-block):
11763 Also push mark in the macro case.
11764
11765 * emerge.el (emerge-show-file-name):
11766 * calc/calc.el (calc-quit):
11767 * calc/calc-misc.el (calc-big-or-small):
11768 * calc/calc-graph.el (calc-graph-view):
11769 * calc/calc-ext.el (calc-reset):
11770 * calendar/calendar.el (calendar-basic-setup):
11771 Use window-full-height-p.
11772
11773 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
11774 header we don't understand, don't insert another. (Bug#4624)
11775 If changing mime charset, insert the new one in the right place.
11776
11777 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
11778
11779 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
11780 (cal-tex-cursor-month): Correctly increment the end date for diary and
11781 holiday listing. (Bug#4626)
11782
11783 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 * help-fns.el (describe-function-1): Don't burp if the function is not
11786 a symbol.
11787
11788 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
11789
11790 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
11791 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
11792 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
11793 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
11794
11795 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
11796 (eieio-default-superclass): Reflow docstrings.
11797 (this, class-option-assoc, defclass, eieio-class-un-autoload)
11798 (eieio-unbind-method-implementations, defmethod)
11799 (eieio-validate-slot-value, eieio-validate-class-slot-value)
11800 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
11801 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
11802 (eieio-slot-originating-class-p, eieio-slot-name-index)
11803 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
11804 (constructor, initialize-instance, no-next-method, object-print)
11805 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
11806 Fix typos in docstrings.
11807 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
11808 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
11809 (next-method-p): Doc fixes.
11810 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
11811 Fix typos in error messages.
11812 (eieio-defmethod): Fix typo in description of generic method.
11813
11814 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
11815 (eieio-persistent-save-interactive, slot-missing):
11816 Fix typos in docstrings.
11817 (eieio-instance-inheritor-slot-boundp): Doc fix.
11818
11819 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
11820 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
11821
11822 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
11823 (eieio-custom-object-apply-reset):
11824 Fix typos in docstrings and error messages.
11825
11826 * emacs-lisp/eieio-datadebug.el (data-debug-show):
11827 Fix typo in docstring.
11828
11829 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
11830 (eieio-browse-tree): Doc fix.
11831 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
11832 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
11833 Fix typos in docstrings.
11834
11835 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
11836 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
11837 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
11838 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
11839 Reflow docstrings.
11840
11841 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
11842
11843 * vc-hg.el (log-view-vc-backend): Declare for compiler.
11844 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
11845 Set log-view-vc-backend so that diff can work.
11846
11847 * log-view.el (log-view-diff): Use vc-diff-internal instead of
11848 vc-version-diff.
11849 (vc-diff-internal): Autoload this instead of vc-version-diff.
11850
11851 2009-10-05 Eli Zaretskii <eliz@gnu.org>
11852
11853 * simple.el (eval-expression): Doc fix.
11854
11855 * progmodes/cwarn.el (cwarn-mode): Doc fix.
11856
11857 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
11858
11859 * files.el (directory-files-no-dot-files-regexp): New defconst.
11860 (delete-directory): Use it.
11861 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
11862
11863 * net/tramp.el (tramp-verbose): Fix docstring.
11864 (tramp-methods): Add recursive option to `tramp-copy-args'.
11865 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
11866 "scp1_old", "scp2_old", "rsync", "rsyncc".
11867 (tramp-default-method): Check also for `auth-source-user-or-password'.
11868 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
11869 Add handler for `copy-directory'.
11870 (tramp-handle-copy-directory): New defun.
11871 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
11872 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
11873 Optimize sent command.
11874
11875 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
11878 window if necessary.
11879
11880 * calendar/calendar.el (calendar-basic-setup): Don't call
11881 switch-to-buffer in a dedicated window.
11882
11883 2009-10-05 Karl Fogel <kfogel@red-bean.com>
11884
11885 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
11886 don't do anything related to relocating, just return nil.
11887 (bookmark-error-no-filename): New error.
11888 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
11889 bookmark has no file. Don't even attempt to handle things that
11890 are not files; the whole point of custom handlers is to keep that
11891 knowledge elsewhere anyway. Tighten some comments.
11892 (bookmark-file-or-variation-thereof): Remove now-unused function.
11893 (bookmark-location): Doc string fix.
11894 (Bug#4250)
11895
11896 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11897
11898 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
11899 don't use a file dialog, because they usually don't know how to read
11900 a directory target from the user. (Bug#4230)
11901 Also, make sure the prompt can display directories as well as files.
11902
11903 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11904
11905 * bookmark.el (bookmark-set, bookmark-buffer-name):
11906 Improve doc strings. (Bug#1193)
11907
11908 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11909
11910 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
11911 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
11912 (bookmark-get-annotation, bookmark-set-annotation)
11913 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
11914 (bookmark-set-position, bookmark-get-front-context-string)
11915 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
11916 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
11917 (bookmark-jump-other-window, bookmark-handle-bookmark)
11918 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
11919 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
11920 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
11921 Improve doc strings to say whether bookmark can be a string or
11922 a record or both, and make other consistency and clarity fixes.
11923 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
11924 (bookmark-default-annotation-text, bookmark-yank-word)
11925 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
11926 (bookmark-import-new-list, bookmark-maybe-rename)
11927 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11928 (bookmark-bmenu-bookmark): Give these doc strings.
11929 (bookmark-bmenu-check-position): Give this a doc string, but also
11930 add a FIXME comment about how the function may be pointless.
11931 (bookmark-default-handler): Rework doc string and change a
11932 parameter name, to clarify that this takes a bookmark record
11933 not a bookmark name.
11934 (bookmark-set): Change a parameter name to indicate its meaning,
11935 and improve the doc string a bit.
11936 (Bug#4188)
11937
11938 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11939
11940 * bookmark.el (bookmark-alist): Document the new `handler' element
11941 in the param alist.
11942 (bookmark-make-record-function): Adjust documentation for above.
11943 (Bug#4193)
11944
11945 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11946
11947 * info.el (Info-bookmark-make-record): Document this function.
11948 (Info-bookmark-jump): Document with a doc string, not just a comment.
11949 (Bug#4203)
11950
11951 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
11952
11953 * files.el (copy-directory): New defun.
11954
11955 * dired-aux.el (dired-copy-file-recursive): Use it.
11956
11957 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
11958
11959 * files-x.el (modify-dir-local-variable)
11960 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
11961 docstrings.
11962
11963 * recentf.el (recentf-unload-function): New function.
11964
11965 2009-10-04 Glenn Morris <rgm@gnu.org>
11966
11967 * window.el (window-full-height-p): Add doc string.
11968
11969 2009-10-04 Martin Rudalics <rudalics@gmx.at>
11970
11971 * window.el (window-full-height-p): New function. (Bug#4543)
11972
11973 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
11974
11975 * vc.el: Remove commented out code.
11976 (vc-derived-from-dir-mode): Remove, unused.
11977 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
11978
11979 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
11980
11981 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11982 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
11983 there could be recursive loading when `default-directory' is a
11984 remote file name. (Bug#4614)
11985
11986 2009-10-03 Glenn Morris <rgm@gnu.org>
11987
11988 * calendar/calendar.el (calendar-basic-setup): Handle the case where
11989 the frame is wide.
11990 (calendar-generate-window): Test for shrinkability rather than width.
11991
11992 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
11993 reusing existing buffers, in case we happen to visit two files with the
11994 same basename. (Bug#4593)
11995
11996 2009-10-02 Eli Zaretskii <eliz@gnu.org>
11997
11998 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
11999 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12000 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12001 subdirs of cedet as well.
12002 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12003
12004 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12005
12006 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12007 Obey advertised-signature-table.
12008
12009 * help-fns.el (help-function-arglist): Don't check
12010 advertised-signature-table.
12011 (describe-function-1): Do it here instead so it also applies to subrs.
12012
12013 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
12014
12015 * simple.el (start-file-process): Say in the doc-string, that file
12016 handlers might not support pty association, if PROGRAM is nil.
12017
12018 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12019 HOST and USER are strings. They are nil, when there are
12020 incomplete entries in ~/.netrc, for example.
12021 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
12022 root directory ("device busy" error otherwise).
12023
12024 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12025 Flush file properties of created directory.
12026
12027 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12028
12029 * makefile.w32-in (WINS_BASIC): Remove cedet.
12030 (WINS_CEDET): Add cedet.
12031 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12032
12033 2009-10-02 Kevin Ryde <user42@zip.com.au>
12034
12035 * net/browse-url.el (browse-url): Pass any symbol in
12036 browse-url-browser-function to `apply', since if you've mistakenly put
12037 an unbound symbol then the error is clearer. (Bug#4531)
12038
12039 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12040
12041 * allout.el (allout-init, allout-back-to-current-heading)
12042 (allout-beginning-of-current-entry, allout-ascend-to-depth)
12043 (allout-ascend, allout-up-current-level, allout-end-of-level)
12044 (allout-previous-visible-heading, allout-forward-current-level)
12045 (allout-backward-current-level, allout-show-children):
12046 * apropos.el (apropos-describe-plist):
12047 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12048 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12049 * completion.el (add-completion, add-permanent-completion):
12050 * descr-text.el (describe-text-category, describe-char):
12051 * desktop.el (desktop-lazy-abort):
12052 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12053 * dired.el (dired-build-subdir-alist):
12054 * ediff.el (ediff-version):
12055 * elide-head.el (elide-head, elide-head-show):
12056 * emerge.el (emerge-version):
12057 * env.el (getenv):
12058 * face-remap.el (variable-pitch-mode):
12059 * faces.el (describe-face):
12060 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12061 (dired-at-point):
12062 * files.el (find-file-existing, auto-save-mode):
12063 * font-lock.el (font-lock-fontify-buffer):
12064 * help-fns.el (describe-function, describe-variable)
12065 (describe-syntax, describe-categories):
12066 * help.el (view-lossage, describe-bindings, describe-key)
12067 (describe-mode):
12068 * hexl.el (hexl-current-address):
12069 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12070 * info.el (Info-goto-emacs-key-command-node):
12071 * log-edit.el (log-edit-insert-cvs-template)
12072 (log-edit-insert-cvs-rcstemplate):
12073 * menu-bar.el (menu-bar-mode):
12074 * mouse.el (mouse-appearance-menu):
12075 * newcomment.el (comment-indent-new-line):
12076 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12077 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12078 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12079 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12080 * recentf.el (recentf-mode):
12081 * savehist.el (savehist-mode, savehist-save):
12082 * shadowfile.el (shadow-copy-files):
12083 * simple.el (kill-ring-save, next-line, previous-line)
12084 (normal-erase-is-backspace-mode):
12085 * strokes.el (strokes-update-window-configuration)
12086 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12087 (strokes-xpm-for-stroke):
12088 * time.el (emacs-uptime, emacs-init-time):
12089 * tutorial.el (tutorial--describe-nonstandard-key)
12090 (tutorial--detailed-help):
12091 * type-break.el (type-break-mode)
12092 (type-break-mode-line-message-mode, type-break-query-mode)
12093 (type-break-guesstimate-keystroke-threshold):
12094 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12095 * version.el (emacs-version):
12096 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12097 * winner.el (winner-mode):
12098 * calendar/timeclock.el (timeclock-in, timeclock-out)
12099 (timeclock-status-string, timeclock-change)
12100 (timeclock-workday-remaining-string)
12101 (timeclock-workday-elapsed-string)
12102 (timeclock-when-to-leave-string):
12103 * calendar/todo-mode.el (todo-add-category):
12104 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12105 * emacs-lisp/autoload.el (update-file-autoloads):
12106 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12107 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12108 (checkdoc-message-text, checkdoc-defun):
12109 * emacs-lisp/debug.el (debugger-list-functions):
12110 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12111 * emacs-lisp/eieio-opt.el (eieio-describe-class)
12112 (eieio-describe-generic):
12113 * emacs-lisp/lisp-mnt.el (lm-synopsis):
12114 * emacs-lisp/shadow.el (list-load-path-shadows):
12115 * emulation/cua-base.el (cua-mode):
12116 * emulation/edt.el (edt-set-scroll-margins):
12117 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12118 (tpu-toggle-regexp, tpu-toggle-search-direction)
12119 (tpu-toggle-rectangle, tpu-toggle-control-keys):
12120 * emulation/tpu-extras.el (tpu-set-scroll-margins):
12121 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12122 (viper-set-parsing-style-toggling-macro)
12123 (viper-set-emacs-state-searchstyle-macros):
12124 * emulation/viper.el (viper-set-hooks):
12125 * eshell/esh-mode.el (eshell-truncate-buffer):
12126 * international/mule-cmds.el (prefer-coding-system)
12127 (describe-input-method, describe-language-environment):
12128 * international/mule-diag.el (list-character-sets)
12129 (describe-character-set, describe-coding-system)
12130 (describe-fontset, list-fontsets, list-input-methods):
12131 * mail/sendmail.el (mail-signature):
12132 * net/ange-ftp.el (ange-ftp-copy-file):
12133 * net/browse-url.el (browse-url):
12134 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12135 * net/quickurl.el (quickurl-add-url):
12136 * net/rcirc.el (names, topic):
12137 * net/xesam.el (xesam-mode):
12138 * play/5x5.el (5x5-new-game):
12139 * play/yow.el (apropos-zippy):
12140 * progmodes/ada-mode.el (ada-mode-version):
12141 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12142 (f90-end-of-block)
12143 (f90-beginning-of-block):
12144 * progmodes/fortran.el (fortran-end-of-block)
12145 (fortran-beginning-of-block):
12146 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12147 * progmodes/python.el (python-describe-symbol, python-shell):
12148 * term/ns-win.el (ns-print-buffer):
12149 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12150 * textmodes/flyspell.el (flyspell-mode-on):
12151 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12152 (pages-directory-for-addresses):
12153 * textmodes/table.el (table-recognize-cell)
12154 (table-query-dimension, table-generate-source)
12155 (table-insert-sequence, table--warn-incompatibility):
12156 * textmodes/tex-mode.el (tex-validate-buffer):
12157 * textmodes/texinfmt.el (texinfmt-version)
12158 (texinfo-format-buffer):
12159 Use `called-interactively-p' instead of `interactive-p'.
12160
12161 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12162
12163 * image-mode.el (image-toggle-display):
12164 * emacs-lisp/elp.el (elp-instrument-function):
12165 * emacs-lisp/advice.el (ad-make-advised-definition):
12166 * emacs-lisp/easy-mmode.el (define-minor-mode):
12167 * net/browse-url.el (browse-url-maybe-new-window):
12168 * progmodes/sh-script.el (sh-learn-buffer-indent):
12169 Pass new argument 'any to `called-interactively-p'.
12170
12171 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12172
12173 * international/uni-bidi.el:
12174 * international/uni-category.el:
12175 * international/uni-combining.el:
12176 * international/uni-comment.el:
12177 * international/uni-decimal.el:
12178 * international/uni-decomposition.el:
12179 * international/uni-digit.el:
12180 * international/uni-lowercase.el:
12181 * international/uni-mirrored.el:
12182 * international/uni-name.el:
12183 * international/uni-numeric.el:
12184 * international/uni-old-name.el:
12185 * international/uni-titlecase.el:
12186 * international/uni-uppercase.el:
12187 Regenerate from Unicode 5.2.0 data.
12188
12189 2009-10-01 Glenn Morris <rgm@gnu.org>
12190
12191 * Makefile.in (ELCFILES): Regenerate.
12192
12193 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12194
12195 * subr.el (interactive-p): Mark obsolete.
12196 (called-interactively-p): Make the optional-ness of `kind' obsolete.
12197 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12198 advertised-signature-table for subroutines as well.
12199
12200 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12201 (set-advertised-calling-convention): New function.
12202 (make-obsolete, define-obsolete-function-alias)
12203 (make-obsolete-variable, define-obsolete-variable-alias):
12204 Make the optional-ness of `when' obsolete.
12205 (define-obsolete-face-alias): Make `when' non-optional.
12206 * help-fns.el (help-function-arglist):
12207 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12208 Use advertised-signature-table.
12209
12210 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
12211
12212 * files.el (delete-directory): New defun. The original function
12213 in fileio.c has been renamed to `delete-directory-internal'.
12214
12215 * dired.el (dired-delete-file): Call `delete-directory' with
12216 RECURSIVE parameter.
12217
12218 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12219 parameter RECURSIVE. Implementation is missing.
12220
12221 * net/tramp.el (tramp-handle-make-directory): Flush upper
12222 directory's file properties.
12223 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12224 (tramp-handle-dired-recursive-delete-directory): Flush directory
12225 properties after the remove command only.
12226
12227 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12228 Handle optional parameter RECURSIVE.
12229
12230 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12231 Handle optional parameter RECURSIVE.
12232
12233 * net/tramp-smb.el (tramp-smb-errors): Add error message for
12234 connection timeout.
12235 (tramp-smb-handle-delete-directory): Handle optional parameter
12236 RECURSIVE.
12237
12238 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12239
12240 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12241 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12242 (byte-compile-defmacro): Use backquotes.
12243
12244 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12245
12246 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12247 has no associated file.
12248 (vc-resynch-buffer): Use vc-dir-buffers.
12249
12250 2009-10-01 Glenn Morris <rgm@gnu.org>
12251
12252 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12253 (chart-file-count):
12254 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12255 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12256 * emacs-lisp/eieio-opt.el (eieio-describe-class):
12257 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12258 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12259 (eieio-copy-parents-into-subclass, make-instance, class-children)
12260 (eieio-generic-form):
12261
12262 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12263 match-data. (Bug#4555).
12264
12265 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12266 rather than parsing it as a regexp. This relaxes the layout
12267 requirements and makes errors easier to detect.
12268 (check-declare-verify): Check file is regular.
12269 (check-declare-directory): Doc fix.
12270 * subr.el (declare-function): Doc fix.
12271
12272 * ibuffer.el (ibuffer-format-qualifier):
12273 * isearch.el (hi-lock-regexp-okay):
12274 * calc/calc.el (math-zerop):
12275 * mail/uce.el (rmail-msgbeg, rmail-msgend):
12276 * term/w32-win.el (setup-default-fontset, set-fontset-font):
12277 Remove unused declarations.
12278
12279 2009-09-30 Glenn Morris <rgm@gnu.org>
12280
12281 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12282
12283 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12284 filename is not a string.
12285
12286 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
12287
12288 * files.el (safe-local-eval-forms): Fix typo.
12289
12290 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12291
12292 * vc-hooks.el (vc-dir-buffers): New var.
12293 (vc-state-refresh): New function.
12294 (vc-state): Use it.
12295 (vc-after-save): Always ask the backend to recompute the new state.
12296 Always call vc-dir if necessary, using vc-dir-buffers.
12297 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12298 Use vc-dir-buffers.
12299 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12300 (vc-dir-prepare-status-buffer, vc-dir-update)
12301 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12302 Don't call expand-file-name on default-directory.
12303
12304 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12305
12306 * speedbar.el (speedbar-item-delete):
12307 * calc/calc-prog.el (calc-kbd-if):
12308 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12309
12310 * epa.el (epa-key-list-mode-map):
12311 * hi-lock.el (hi-lock-menu): Fix typos in menus.
12312
12313 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12314 (hs-show-hook): Fix typo in docstring.
12315
12316 2009-09-29 Glenn Morris <rgm@gnu.org>
12317
12318 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12319 file-name-nondirectory call preventing location of cedet files.
12320 (check-declare-verify): Use literal search rather than re-search.
12321 Add basic defmethod and defclass, and define-overloadable-function.
12322
12323 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12324 Use tramp-compat-file-attributes rather than nonexistent
12325 tramp-compat-handle-file-attributes.
12326
12327 * Makefile.in (lisptagsfiles4): New.
12328 (AUTOGENEL): Add cedet loaddefs files.
12329 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12330 (update-elclist, compile-always, backup-compiled-files)
12331 (bootstrap-clean): Add yet another directory level.
12332 (update-elclist): Use LC_COLLATE rather than COLLATE.
12333 (ELCFILES): Update, via `make update-elclist'.
12334
12335 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12336
12337 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12338 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12339 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12340
12341 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
12342
12343 * Makefile.in (lisptagsfiles3): Define.
12344 (TAGS, TAGS-LISP): Use it.
12345 (update-elclist): Add third directory level to look for elc files.
12346 (compile-always): Likewise.
12347 (backup-compiled-files): Likewise.
12348 (bootstrap-clean): Likewise.
12349 (ELCFILES): Update.
12350
12351 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
12352
12353 * Makefile.in (ELCFILES): Add CEDET files.
12354
12355 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
12356
12357 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12358
12359 * net/tramp.el (top): Require tramp-imap.
12360
12361 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12362 Use `tramp-compat-handle-file-attributes'.
12363
12364 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
12365
12366 * net/tramp-imap.el: New package.
12367
12368 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12369
12370 * whitespace.el (whitespace-trailing-regexp)
12371 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12372 Fix doc string.
12373
12374 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
12375
12376 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12377 menu.
12378
12379 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12380 menu-bar-ediff-menu.
12381
12382 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12383 define-overloadable-function.
12384
12385 * progmodes/autoconf.el: Provide autoconf as well, so that this
12386 file can be `require'd.
12387
12388 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12389
12390 * emacs-lisp/autoload.el (generated-autoload-feature)
12391 (generated-autoload-load-name): New vars.
12392 (autoload-rubric, autoload-generate-file-autoloads): Use them.
12393 (make-autoload): Recognize define-overloadable-function and
12394 defclass forms (for EIEIO).
12395
12396 * Makefile.in (update-subdirs): Exclude cedet directory.
12397
12398 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
12399
12400 * term/ns-win.el: Don't set the region face background. (Bug#4381)
12401
12402 * faces.el: Default light-background background for region face to
12403 ns_selection_color under NS.
12404
12405 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
12406
12407 * net/imap-hash.el: New library, see NEWS.
12408
12409 * Makefile.in (ELCFILES): Add imap-hash.el.
12410
12411 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
12414 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
12415 * help-macro.el (make-help-screen): Avoid using an ambiguous function
12416 definition where the docstring could be taken for the return value.
12417
12418 2009-09-26 Glenn Morris <rgm@gnu.org>
12419
12420 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
12421 Add option to only show images below a certain size.
12422 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
12423 save-excursion calls.
12424
12425 2009-09-26 Eli Zaretskii <eliz@gnu.org>
12426
12427 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
12428 subdirectories) and eieio.
12429
12430 2009-09-26 Alan Mackenzie <acm@muc.de>
12431
12432 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
12433 buggy bracketing. (Bug#4289)
12434
12435 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12436 character constants (as case labels). (Bug#4289)
12437
12438 2009-09-25 Juri Linkov <juri@jurta.org>
12439
12440 * files.el (safe-local-eval-forms): Allow time-stamp in
12441 before-save-hook (Bug#4554).
12442
12443 2009-09-25 Drew Adams <drew.adams@oracle.com>
12444
12445 * menu-bar.el (list-buffers-directory): Doc fix.
12446
12447 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
12448
12449 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
12450 Try and avoid copying twice the same paragraph.
12451 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
12452 Remove save-excursion.
12453 (log-edit-changelog-entry): Do it here instead.
12454
12455 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
12456
12457 * bs.el (bs--get-file-name): Use `list-buffers-directory'
12458 when available, instead of hardcoding mode names. Doc fix.
12459
12460 * menu-bar.el (list-buffers-directory): Add docstring.
12461 Make automatically buffer-local.
12462
12463 * dired.el (dired-mode):
12464 * files.el (cd-absolute):
12465 * pcvs.el (cvs-temp-buffer):
12466 * pcvs-util.el (cvs-get-buffer-create):
12467 * shell.el (shell-mode):
12468 * vc-dir.el (vc-dir-mode):
12469 Don't make `list-buffers-directory' buffer local.
12470
12471 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
12472
12473 * comint.el (comint-exec, comint-run, make-comint):
12474 Doc fixes (Bug#4542).
12475
12476 2009-09-25 Glenn Morris <rgm@gnu.org>
12477
12478 * mail/rmailmm.el (rmail-mime): New custom group.
12479 Move all defcustoms in this file into this group.
12480 (rmail-mime-media-type-handlers-alist): Revert previous change.
12481 (rmail-mime-show-images): New option.
12482 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
12483 references to it, since it wasn't actually used for anything.
12484 (rmail-mime-insert-image): New function.
12485 (rmail-mime-image): Use rmail-mime-insert-image.
12486 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
12487 obey the value of `rmail-mime-show-images' option. Print the size of
12488 attachments.
12489
12490 2009-09-25 David Engster <deng@randomsample.de>
12491
12492 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
12493
12494 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12495
12496 * whitespace.el: Does not highlight trailing spaces While point is
12497 at end of line. Does not highligt spaces at beginning of buffer
12498 while point is at beginning of buffer. Does not highlight spaces
12499 at end of buffer while point is at end of buffer. (Bug#4177)
12500 New version 12.0.
12501 (whitespace-display-mappings): Adjust initialization.
12502 (whitespace-point, whitespace-font-lock-refontify): New vars.
12503 (whitespace-color-on, whitespace-color-off): Adjust code.
12504 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
12505 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
12506 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
12507
12508 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
12509
12510 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
12511
12512 * textmodes/sgml-mode.el: Remove xml-mode alias.
12513
12514 * files.el (auto-mode-alist, conf-mode-maybe)
12515 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
12516
12517 2009-09-24 Alan Mackenzie <acm@muc.de>
12518
12519 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
12520 c-forward-conditionals, but it doesn't move point and doesn't set
12521 the mark.
12522 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
12523 (c-down-conditional-with-else, c-backward-conditional)
12524 (c-forward-conditional): Refactor to use c-scan-conditionals.
12525
12526 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
12527
12528 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
12529 (help-default-arg-highlight): Remove.
12530 (help-highlight-arg): New function.
12531 (help-do-arg-highlight): Use it.
12532 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
12533
12534 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
12535
12536 * term.el (term-set-scroll-region, term-handle-ansi-escape):
12537 Undo last change, which didn't fix the problem and introduced others.
12538
12539 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
12540
12541 * progmodes/gdb-mi.el: Don't require speedbar.
12542 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
12543
12544 2009-09-24 Glenn Morris <rgm@gnu.org>
12545
12546 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
12547
12548 * term/ns-win.el (ns-reg-to-script): Define for compiler.
12549
12550 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
12551 there is no newline after the final mime boundary. (Bug#4539)
12552 Move markers on insertion so that any buttons inserted don't end up in
12553 the next part of a multipart message.
12554 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
12555 (rmail-mime-bulk-handler): Optionally handle images.
12556 (rmail-mime-image): New button action.
12557 (rmail-mime-image-handler): New function.
12558 (rmail-mime-mode): New mode.
12559 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
12560
12561 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
12564 than just dropping elements from it (bug#4504).
12565
12566 * term.el (term-set-scroll-region): Don't move cursor any more.
12567 (term-handle-ansi-escape): Call term-goto here instead.
12568 Suggested by Ivan Kanis <apple@kanis.eu>.
12569
12570 * term.el: Require CL.
12571 (term-ansi-reset): New function.
12572 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
12573 (term-handle-colors-array): Simplify.
12574
12575 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
12576
12577 * allout.el (allout-overlay-interior-modification-handler)
12578 (allout-obtain-passphrase):
12579 * epa-file.el (epa-file-write-region):
12580 * ps-print.el (ps-begin-job):
12581 * vc-hooks.el (vc-toggle-read-only):
12582 * vc-rcs.el (vc-rcs-rollback):
12583 * vc-sccs.el (vc-sccs-rollback):
12584 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
12585 (vc-version-diff, vc-revert, vc-rollback):
12586 * wdired.el (wdired-check-kill-buffer):
12587 * emacs-lisp/authors.el (authors):
12588 * net/socks.el (socks-open-connection):
12589 * net/zeroconf.el (zeroconf-service-add-hook):
12590 * obsolete/vc-mcvs.el (vc-mcvs-register):
12591 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
12592 (gdb-select-frame):
12593 * progmodes/grep.el (lgrep, rgrep):
12594 * progmodes/idlw-help.el (idlwave-help-check-locations)
12595 (idlwave-help-html-link, idlwave-help-assistant-open-link):
12596 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12597 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
12598 (reftex-toc-rename-label): Fix typos in error messages.
12599
12600 * dired-aux.el (dired-do-shell-command): Reflow docstring.
12601 (dired-copy-how-to-fn): Doc fix.
12602 (dired-files-attributes, dired-read-shell-command):
12603 Fix typos in docstrings.
12604
12605 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
12606 (dired-x-find-file-other-window): Reflow docstrings.
12607 (dired-omit-marker-char, dired-read-shell-command)
12608 (dired-x-submit-report): Fix typos in docstrings.
12609
12610 * shell.el (shell-mode-hook):
12611 * view.el (View-scroll-line-forward):
12612 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
12613 Fix typos in docstrings.
12614
12615 * net/dig.el (dig-invoke): Fix typo in docstring.
12616 (query-dig): Reflow docstring.
12617
12618 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
12619 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
12620 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
12621 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
12622 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
12623 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
12624 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
12625 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
12626 (idlwave-completion-map, idlwave-current-indent)
12627 (idlwave-custom-ampersand-surround, idlwave-customize)
12628 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
12629 (idlwave-define-abbrev, idlwave-determine-class-special)
12630 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
12631 (idlwave-end-block-reg, idlwave-end-of-statement)
12632 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
12633 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
12634 (idlwave-explicit-class-listed, idlwave-file-header)
12635 (idlwave-fill-paragraph, idlwave-find-class-definition)
12636 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
12637 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
12638 (idlwave-in-quote, idlwave-indent-action-table)
12639 (idlwave-indent-expand-table, idlwave-indent-line)
12640 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
12641 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
12642 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
12643 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
12644 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
12645 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
12646 (idlwave-outlawed-buffers, idlwave-popup-select)
12647 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
12648 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
12649 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
12650 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
12651 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
12652 (idlwave-statement-type, idlwave-struct-skip)
12653 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
12654 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
12655 (idlwave-what-module-find-class): Fix typos in docstrings.
12656 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
12657 (idlwave-calculate-cont-indent, idlwave-expand-equal)
12658 (idlwave-find-module, idlwave-find-structure-definition)
12659 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
12660 (idlwave-list-load-path-shadows, idlwave-next-statement)
12661 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
12662 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
12663 (idlwave-template): Reflow docstrings.
12664
12665 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
12666 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
12667 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
12668 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
12669 (idlwave-shell-display-line, idlwave-shell-display-wframe)
12670 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
12671 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
12672 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
12673 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
12674 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
12675 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
12676 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
12677 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
12678 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
12679 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
12680 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
12681 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
12682 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
12683 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
12684 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
12685 Fix typos in docstrings.
12686 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
12687 (idlwave-shell-hide-output, idlwave-shell-mode)
12688 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
12689 Reflow docstrings.
12690
12691 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
12692
12693 2009-09-24 Ivan Kanis <apple@kanis.eu>
12694
12695 * term.el (term-bold-attribute): New var.
12696 (term-handle-colors-array): Use it.
12697
12698 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
12699
12700 * progmodes/gdb-mi.el (gdb-version): New variable.
12701 (gdb-non-stop-handler): Set gdb-version.
12702 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
12703 Condition "--thread" option on gdb-version.
12704 (gdb-invalidate-threads): Remove unused argument.
12705
12706 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
12709 to looking-back to avoid ridiculous slow down in large files (bug#4511).
12710
12711 2009-09-23 Glenn Morris <rgm@gnu.org>
12712
12713 * mail/rmail.el (rmail-reply): Don't try to add a References header when
12714 replying to mail without References or Message-Id. (Bug#4525)
12715
12716 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
12717
12718 * term/ns-win.el (ns-reg-to-script): New variable.
12719
12720 2009-09-23 Daiki Ueno <ueno@unixuser.org>
12721
12722 * epg.el (epg-wait-for-status): Preserve existing 'error results.
12723
12724 2009-09-22 Sam Steingold <sds@gnu.org>
12725
12726 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
12727 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
12728 to 1 because hg returns status 1 when nothing is found.
12729 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
12730
12731 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
12732
12733 * textmodes/fill.el: Convert to utf-8 encoding.
12734 (fill-french-nobreak-p): Remove redundant » and « inherited from our
12735 pre-Unicode days.
12736
12737 * add-log.el (change-log-fill-forward-paragraph): New function.
12738 (change-log-mode): Use it so fill-region DTRT.
12739 Set fill-indent-according-to-mode here rather than in
12740 change-log-fill-paragraph.
12741 (change-log-fill-paragraph): Remove.
12742
12743 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
12744
12745 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
12746 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
12747
12748 2009-09-22 Glenn Morris <rgm@gnu.org>
12749
12750 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
12751 the scroll-bar scroll the calendar window rather than the buffer.
12752
12753 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
12754 commands that move point (as opposed to scrolling).
12755
12756 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
12757
12758 * emacs-lisp/elint.el (elint): New custom group.
12759 (elint-log-buffer): Make it a defcustom.
12760 (elint-scan-preloaded, elint-ignored-warnings)
12761 (elint-directory-skip-re): New options.
12762 (elint-builtin-variables): Doc fix.
12763 (elint-preloaded-env): New variable.
12764 (elint-unknown-builtin-args): Add an entry for encode-time.
12765 (elint-extra-errors): Make it a variable rather than a constant.
12766 (elint-preloaded-skip-re): New constant.
12767 (elint-directory): Skip files matching elint-directory-skip-re.
12768 (elint-features): New variable, local to linted buffers.
12769 (elint-update-env): Initialize elint-features. Possibly add
12770 elint-preloaded-env to the buffer's environment.
12771 (elint-get-top-forms): Bind elint-current-pos, for log messages.
12772 Skip quoted forms.
12773 (elint-init-form): New function, extracted from elint-init-env.
12774 Make non-list forms a warning rather than an error.
12775 Add the mode-map for define-derived-mode. Handle define-minor-mode,
12776 easy-menu-define, put that adds an error-condition, and provide.
12777 When requiring cl, also require cl-macs. Really require cl, to handle
12778 some cl macros. Store required libraries in the list elint-features,
12779 so as not to re-load them. Treat cc-require like require.
12780 (elint-init-env): Call elint-init-form to do the work.
12781 Handle eval-and-compile and such like.
12782 (elint-add-required-env): Do not clear messages.
12783 (elint-special-forms): Add handlers for function, defalias, if, when,
12784 unless, and, or.
12785 (elint-form): Add optional argument to ignore elint-special-forms,
12786 useful to prevent recursive calls from handlers. Doc fix.
12787 Respect elint-ignored-warnings.
12788 (elint-form): Respect elint-ignored-warnings.
12789 (elint-bound-variable, elint-bound-function): New variables.
12790 (elint-unbound-variable): Respect elint-bound-variable.
12791 (elint-get-args): Respect elint-bound-function.
12792 (elint-check-cond-form): Add some simple handling for (f)boundp and
12793 featurep tests.
12794 (elint-check-defalias-form): New handler.
12795 (elint-check-let-form): Make an empty let a warning rather than an
12796 error.
12797 (elint-check-setq-form): Make an empty setq a warning rather than an
12798 error. Respect elint-ignored-warnings.
12799 (elint-check-defvar-form): Accept null doc-strings.
12800 (elint-check-conditional-form): New handler. Does some simple-minded
12801 checking of featurep and (f)boundp tests.
12802 (elint-put-function-args): New function.
12803 (elint-initialize): Use elint-scan-doc-file rather than
12804 elint-find-builtin-variables. Use elint-put-function-args.
12805 Possibly scan preloaded-file-list.
12806 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
12807 extend to handle functions as well.
12808
12809 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
12810
12811 * linum.el (linum-delete-overlays, linum-update-window):
12812 Do not modify the right margin. (Bug#3971)
12813
12814 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
12815
12816 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
12817 nxml-mode instead of xml-mode.
12818
12819 2009-09-21 Kevin Ryde <user42@zip.com.au>
12820
12821 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
12822
12823 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * net/dig.el (dig-mode): Use define-derived-mode.
12826
12827 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
12828
12829 * vc-dispatcher.el (vc-do-command): Return the process object in
12830 the asynchronous case. Use when instead of if. Do not run
12831 vc-exec-after to display a message if not enabled. (Bug#4463)
12832
12833 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
12834 properties to the stash strings.
12835 (vc-git-stash-list): Return a list of strings.
12836 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
12837 (vc-git-stash-show-at-point): New functions.
12838 (vc-git-stash-map): New keymap.
12839
12840 * register.el (ctl-x-r-map): Define the keys here instead of
12841 using autoload.
12842
12843 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
12844
12845 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
12846 list, to workaround performance problem (bug#4485).
12847
12848 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
12849
12850 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
12851
12852 2009-09-20 Daiki Ueno <ueno@unixuser.org>
12853
12854 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12855 Document that this option is not recommended to use.
12856
12857 2009-09-19 Glenn Morris <rgm@gnu.org>
12858
12859 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
12860 variable `var'.
12861
12862 * calc/calc-alg.el (var):
12863 * calc/calcalg2.el (var): Define for compiler.
12864
12865 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
12866
12867 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
12868 Doc fix (Bug#3932).
12869
12870 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
12871
12872 * time-stamp.el (time-stamp-month-dd-yyyy)
12873 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
12874 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
12875 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
12876 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
12877 Remove functions that have been obsolete since 1995 (Bug#4436).
12878
12879 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
12880 indent buffer only if called interactively (Bug#4452).
12881
12882 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
12883 Eli Zaretskii <eliz@gnu.org>
12884
12885 This fixes bug#4197 (merged to bug#865, though not identical).
12886 * server.el (server-auth-dir): Add docstring note about FAT32.
12887 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
12888 but warn against using them.
12889
12890 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
12891
12892 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
12893 older GDB where there is no has_more field.
12894
12895 2009-09-19 Glenn Morris <rgm@gnu.org>
12896
12897 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
12898
12899 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
12900
12901 * files.el (auto-mode-alist): Change default for XML files to nXML
12902 mode (Bug#4169).
12903
12904 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
12905
12906 * server.el (server-ensure-safe-dir): Pass 'integer
12907 to `file-attributes', as suggested.
12908
12909 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
12910
12911 * dired-aux.el (dired-query-alist): Remove spurious backslash.
12912 (dired-query): Use read-key.
12913
12914 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
12915
12916 * cus-start.el (ns-use-qd-smoothing): Remove.
12917
12918 2009-09-18 Glenn Morris <rgm@gnu.org>
12919
12920 * allout.el (top-level): Remove unnecessary progn.
12921
12922 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
12923
12924 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
12925 definition of abbrev table.
12926
12927 * speedbar.el (speedbar-track-mouse):
12928 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
12929 * net/eudc.el (eudc-expand-inline):
12930 * net/newst-backend.el (newsticker--cache-read-feed):
12931 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
12932 condition-case handlers.
12933
12934 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
12935
12936 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
12937 (gdb-var-list): Add an element for has_more field.
12938 (gdb-non-stop-handler): Enable pretty printing for STL containers.
12939 (gdb-var-create-handler, gdb-var-list-children-handler-1)
12940 (gdb-var-update-handler-1): Parse output of dynamic variable
12941 objects (STL containers).
12942 (gdb-var-delete-1): Pass var1 as an explicit second argument.
12943 (gdb-get-field): Delete alias. Use bindat-get-field directly.
12944
12945 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
12946 gdb-var-list.
12947 (gud-speedbar-buttons): Make node expandable if expression "has more"
12948 children.
12949
12950 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
12951
12952 * startup.el (emacs-quick-startup): Remove variable and all uses.
12953 (command-line): Set `inhibit-x-resources' instead.
12954 (command-line-1): Use `inhibit-x-resources' instead.
12955
12956 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
12957
12958 * subr.el: Fix last change to avoid using the `unless' macro,
12959 which breaks bootstrapping.
12960
12961 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
12962
12963 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
12964 extended definitions, in case we reload subr.el after having
12965 loaded CL.
12966 (eval-next-after-load): Mark as obsolete.
12967
12968 2009-09-17 Juri Linkov <juri@jurta.org>
12969
12970 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
12971 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
12972 (menu-bar-showhide-menu, menu-bar-tools-menu)
12973 (menu-bar-describe-menu, menu-bar-help-menu)
12974 (minibuffer-local-completion-map, minibuffer-local-map):
12975 Fix list quoting.
12976
12977 2009-09-17 Glenn Morris <rgm@gnu.org>
12978
12979 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
12980 arguments, whether or not it has a handler.
12981
12982 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
12983
12984 * simple.el (hard-newline): Give it a doc-string.
12985
12986 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12987 (lisp-mode-syntax-table): Give them doc-strings.
12988
12989 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
12990
12991 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
12992 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
12993 (menu-bar-options-menu, menu-bar-showhide-menu)
12994 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
12995 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
12996 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
12997 (menu-bar-options-menu, menu-bar-tools-menu)
12998 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
12999 (menu-bar-help-menu):
13000 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13001 string arguments.
13002
13003 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13004 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13005 calls for the menu names and :help.
13006
13007 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13008
13009 * mouse.el (minor-mode-menu-from-indicator): Pay attention
13010 to :minor-mode-function (bug#4455).
13011
13012 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13013
13014 * startup.el (command-line): Initialize the window-system after
13015 processing the command-line.
13016
13017 * textmodes/page.el (what-page): Make sure we don't inf-loop if
13018 page-delimiter matches the empty string.
13019
13020 2009-09-16 Glenn Morris <rgm@gnu.org>
13021
13022 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13023 byte-compile-not-obsolete-var. It's a list now.
13024 (byte-compile-not-obsolete-funcs): New variable.
13025 (byte-compile-warn-obsolete): Don't warn about functions if they are in
13026 byte-compile-not-obsolete-funcs.
13027 (byte-compile-variable-ref, byte-compile-defvar): Update for
13028 byte-compile-not-obsolete-vars name-change and list nature.
13029 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13030 and variables behind (f)boundp tests.
13031 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13032
13033 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13034
13035 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13036
13037 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13038
13039 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13040 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13041 Don't autoload.
13042
13043 2009-09-15 Stephen Eglen <stephen@gnu.org>
13044
13045 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13046 the virtual-buffers, use the name of the buffer specified by
13047 find-file-noselect, as the match may be a symlink. (This was a
13048 problem if the target and the symlink had different names.)
13049
13050 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13053
13054 * desktop.el (desktop-path): Check user-emacs-directory.
13055
13056 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13057
13058 * loadup.el: Use after-load-functions to GC after loading each file.
13059 Remove the explicit GC calls that used to be sprinkled around.
13060
13061 * subr.el (after-load-functions): New hook.
13062 (do-after-load-evaluation): Run it. Use string-match-p to detect
13063 `obsolete' packages, rather than painfully extracting the relevant
13064 directory name.
13065
13066 2009-09-15 Glenn Morris <rgm@gnu.org>
13067
13068 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13069 free variable `doc'.
13070
13071 * dired.el (dired-mode-map): Add menu entry for async shell command.
13072
13073 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13074 variables, also consider the .elc files, since the .el files are
13075 normally gzipped (subsequent code locates the .el.gz from the .elc).
13076
13077 * calc/calc-prog.el (arglist): Define for compiler.
13078
13079 * calendar/diary-lib.el (diary-display-function): Change the default to
13080 fancy display.
13081 (body): Define for compiler.
13082
13083 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13084 (byte-compile-file-form, byte-compile-lambda)
13085 (byte-compile-top-level-body, byte-compile-form)
13086 (byte-compile-variable-ref, byte-compile-setq)
13087 (byte-compile-setq-default, byte-compile-body)
13088 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13089 (batch-byte-compile): Give some more local variables with common names
13090 a "bytecomp-" prefix to avoid masking warnings about free variables.
13091
13092 * startup.el (command-line-1): Give local variables with common names a
13093 distinguishing prefix, so as not to hide free variable warnings during
13094 bootstrap.
13095
13096 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13097 clever and add a suffix to make a unique name, just let the user decide
13098 whether or not to overwrite it. If the input is a directory, write the
13099 default filename to that directory. (Bug#4388)
13100 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13101 is a filename-as-a-directory.
13102
13103 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13104
13105 * textmodes/page.el (what-page): Don't move to beginning of line.
13106 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13107
13108 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13109
13110 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13111
13112 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
13113
13114 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13115 * help.el (help-for-help-internal): Add purecopy calls for text.
13116
13117 * vc.el (top): print-log method now takes an optional SHORTLOG
13118 argument. Add a new method: root.
13119 (vc-root-diff, vc-print-root-log): New functions.
13120 (vc-log-short-style): New variable.
13121 (vc-print-log-internal): Add support for showing short logs.
13122
13123 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13124 vc-print-root-log and vc-print-root-diff.
13125
13126 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13127 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13128 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13129 short logs.
13130
13131 * vc-cvs.el (vc-cvs-print-log):
13132 * vc-mtn.el (vc-mtn-print-log):
13133 * vc-rcs.el (vc-rcs-print-log):
13134 * vc-sccs.el (vc-sccs-print-log):
13135 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13136 that is ignored for now.
13137
13138 * vc-mtn.el (vc-mtn-annotate-command):
13139 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13140
13141 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13142
13143 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13144 to function-key-map, and give them ascii-character property.
13145 * term/x-win.el (x-alternatives-map):
13146 * term/ns-win.el (ns-alternatives-map):
13147 * term/internal.el (msdos-key-remapping-map):
13148 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13149
13150 2009-09-14 Glenn Morris <rgm@gnu.org>
13151
13152 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13153 temp-buffers (2009-09-12).
13154
13155 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13156
13157 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13158 the new read-key function.
13159
13160 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13161
13162 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13163 is defined (Bug#4405).
13164
13165 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
13166
13167 * recentf.el (recentf-cleanup): Use a hash table to find
13168 duplicates (Bug#4407).
13169
13170 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
13171
13172 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13173 kp-0 to ascii equivalents (Bug#4325).
13174
13175 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13176
13177 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13178
13179 * eshell/em-hist.el:
13180 * eshell/em-dirs.el (eshell-complete-user-reference):
13181 Declare pcomplete functions and variables to avoid compiler warnings.
13182
13183 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
13184
13185 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13186 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13187 * eshell/em-alias.el (eshell-aliases-file):
13188 * eshell/em-hist.el (eshell-history-file-name):
13189 Use expand-file-name instead of concat to make file names (Bug#4308).
13190
13191 2009-09-13 Glenn Morris <rgm@gnu.org>
13192
13193 * ediff-merg.el (ediff-do-merge):
13194 * filesets.el (filesets-run-cmd):
13195 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13196 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13197 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13198 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13199 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13200 Replace empty `let's with `progn'.
13201
13202 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 * mail/sendmail.el (send-mail-function):
13205 * tooltip.el (tooltip-mode):
13206 * simple.el (transient-mark-mode):
13207 * rfn-eshadow.el (file-name-shadow-mode):
13208 * frame.el (blink-cursor-mode):
13209 * font-core.el (global-font-lock-mode):
13210 * files.el (temporary-file-directory)
13211 (small-temporary-file-directory, auto-save-file-name-transforms):
13212 * epa-hook.el (auto-encryption-mode):
13213 * composite.el (global-auto-composition-mode):
13214 Use custom-initialize-delay.
13215 * startup.el (command-line): Don't explicitly call
13216 custom-reevaluate-setting for all the above vars.
13217 * custom.el (custom-initialize-safe-set)
13218 (custom-initialize-safe-default): Delete.
13219
13220 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13221
13222 * term/x-win.el (x-initialize-window-system):
13223 * term/w32-win.el (w32-initialize-window-system):
13224 * term/ns-win.el (ns-initialize-window-system): Don't call
13225 mouse-wheel-mode since it's enabled globally by default already.
13226
13227 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13228 actually define the variable, but only silences the byte-compiler.
13229 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13230 before looking it up.
13231 (mouse-wheel-scroll-amount): Also reset the bindings if this value
13232 is changed.
13233
13234 2009-09-12 Glenn Morris <rgm@gnu.org>
13235
13236 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13237 1000.
13238 (elint-add-required-env): Don't beep on error.
13239 (elint-forms): In case of error, return ENV unchanged.
13240 (elint-init-env): Skip non-list forms.
13241 (elint-log): Handle unknown file positions.
13242
13243 2009-09-12 Daiki Ueno <ueno@unixuser.org>
13244
13245 * epg.el (epg-make-context): Add autoload cookie.
13246 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13247 (epg-decrypt-string, epg-start-verify, epg-verify-file)
13248 (epg-verify-string, epg-start-sign, epg-sign-file)
13249 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13250 (epg-encrypt-string, epg-start-export-keys)
13251 (epg-export-keys-to-file, epg-export-keys-to-string)
13252 (epg-start-import-keys, epg-import-keys-from-file)
13253 (epg-import-keys-from-string, epg-start-receive-keys)
13254 (epg-receive-keys, epg-import-keys-from-server)
13255 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13256 (epg-sign-keys, epg-start-generate-key)
13257 (epg-generate-key-from-file, epg-generate-key-from-string):
13258 Remove autoload cookie.
13259
13260 2009-09-12 Eli Zaretskii <eliz@gnu.org>
13261
13262 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13263 reevaluation of trash-directory.
13264
13265 * mwheel.el: Fix last change.
13266 (mouse-wheel-mode): New defvar.
13267 (mouse-wheel-mode): Remove autoload cookie.
13268
13269 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * mwheel.el (mwheel-installed-bindings): New var.
13272 (mouse-wheel-mode): Use it, so as to make sure we really remove all
13273 the bindings we set last time. Use custom-initialize-delay.
13274 * loadup.el: Load mwheel after term/*-win.el.
13275 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13276 and mouse-wheel-up-event now that their first evaluation is done
13277 sufficiently late to be correct.
13278
13279 * startup.el (tutorial-directory): Make it a defcustom.
13280 Use custom-initialize-delay rather than eval-at-startup to set it.
13281 * image.el (image-load-path): Make it a defcustom.
13282 Use custom-initialize-delay rather than eval-at-startup to set it.
13283 * subr.el (eval-at-startup): Remove.
13284 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13285
13286 * subr.el (do-after-load-evaluation): Warn the user after loading an
13287 obsolete package.
13288
13289 2009-09-12 Glenn Morris <rgm@gnu.org>
13290
13291 * proced.el (proced-mark-alt): Remove alias.
13292 (proced-mode-map): Remove proced-mark-alt.
13293
13294 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13295 Elint file and directory. Remove initialization entry.
13296
13297 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13298 commands.
13299 (elint-current-buffer): Set mode-line-process.
13300 (elint-init-env): Handle define-derived-mode.
13301 Fix declare-function with unspecified arglist. Guard against odd
13302 defalias statements (eg iso-insert's 8859-1-map).
13303 (elint-add-required-env): Use a temp buffer.
13304 (elint-form): Just print the function/macro name, not the whole form.
13305 Return env unchanged if we fail to parse a macro.
13306 (elint-forms): Guard against parse errors.
13307 (elint-output): New function, to handle batch mode.
13308 (elint-log-message): Add optional argument. Use elint-output.
13309 (elint-set-mode-line): New function.
13310
13311 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
13312
13313 * emacs-lisp/elp.el (elp-not-profilable): Add more
13314 functions (Bug#4233).
13315
13316 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
13317
13318 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13319 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13320
13321 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13322
13323 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13324 (gdb-var-list-children): Use json parsing.
13325
13326 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
13327
13328 * progmodes/js.el (js--proper-indentation): Handle the case where
13329 char-before is null. Reported by Deniz Dogan.
13330
13331 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13332
13333 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13334
13335 2009-09-11 Daiki Ueno <ueno@unixuser.org>
13336
13337 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13338 (epg-digest-algorithm-alist): Add SHA224.
13339 (epg-context-set-passphrase-callback)
13340 (epg-context-set-progress-callback): Add description about
13341 callback function.
13342
13343 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13344
13345 * custom.el (custom-delayed-init-variables): New var.
13346 (custom-initialize-delay): New function.
13347 * startup.el (command-line): "Re"evaluate all vars in
13348 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
13349 explicitly any more.
13350 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13351 to avoid creating a ~/.emacs.d at build-time (bug#4347).
13352
13353 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13354
13355 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13356
13357 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13358 (gdb-var-update-handler): Use json parsing.
13359
13360 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13361
13362 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13363 decode annotated text, regardless of language environment. (Bug#2741)
13364
13365 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13366
13367 * Makefile.in (autoloads): Make rmail.el writable as well.
13368
13369 2009-09-11 Glenn Morris <rgm@gnu.org>
13370
13371 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13372 loaddefs.el.
13373 * dired.el: Regenerate with extracted autoloads.
13374 * Makefile.in (autoloads): Make dired.el writable.
13375
13376 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13377 * ibuffer.el: Regenerate with extracted autoloads.
13378 * Makefile.in (autoloads): Make ibuffer.el writable.
13379
13380 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13381 * version.el (emacs-copyright, emacs-major-version)
13382 (emacs-minor-version): Reformat doc-strings for make-docfile.
13383
13384 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13385 functions and variables, since they must be stuff specific to some other
13386 platform.
13387 (apropos-print): Make mouse-click message less specific about button.
13388
13389 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13390 that records where a macro was defined.
13391 * help-fns.el (describe-function-1): Mention if a function has a
13392 compiler-macro.
13393 * help-mode.el (help-function-cmacro): New button.
13394
13395 * locate.el (top-level): Always require dired.
13396 (locate-mode-map): Initialize inside the defvar.
13397
13398 * net/ange-ftp.el (dired-compress-file): Declare.
13399 (ange-ftp-dired-compress-file): Add doc string.
13400
13401 * term/ns-win.el (x-display-name, x-setup-function-keys):
13402 Unify doc-strings with X versions.
13403
13404 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13405
13406 * emulation/crisp.el (crisp-mode-map): Move initialization
13407 into declaration.
13408 (crisp-mode): Use define-minor-mode.
13409
13410 * progmodes/xscheme.el (xscheme-evaluation-commands):
13411 Put a :advertised-binding property rather than using
13412 advertised-xscheme-send-previous-expression.
13413 (advertised-xscheme-send-previous-expression): Declare obsolete.
13414 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
13415 `advertised-undo'.
13416 (crisp-mode): Add corresponding bindings to
13417 undo's :advertised-binding instead.
13418 * dired.el (dired-mode-map): Put a :advertised-binding property rather
13419 than using dired-advertised-find-file.
13420 (dired-advertised-find-file):
13421 * simple.el (advertised-undo):
13422 * wid-edit.el (advertised-widget-backward): Declare obsolete.
13423 (widget-keymap): Put a :advertised-binding property rather
13424 than using advertised-widget-backward.
13425 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
13426 than using advertised-undo.
13427 * tutorial.el (tutorial--default-keys): Adjust accordingly.
13428
13429 2009-09-10 Simon South <ssouth@slowcomputing.org>
13430
13431 * progmodes/delphi.el (delphi-tab): Indent region when Transient
13432 Mark mode is enabled and region is active; otherwise indent or
13433 insert TAB as usual.
13434 (delphi-mode): Update description of TAB-key binding.
13435
13436 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
13437
13438 * subr.el (define-key-rebound-commands): Mark obsolete.
13439 * startup.el (precompute-menubar-bindings): Remove.
13440 (normal-top-level): Remove obsolete code that tried to precompute
13441 menubar bindings.
13442 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
13443 define-key-rebound-commands and precompute-menubar-bindings.
13444
13445 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
13446
13447 * net/imap.el (imap-interactive-login): Better messages.
13448 (imap-open): Fix bug with renamed buffer on reconnect.
13449 (imap-authenticate): Add buffer-local imap-last-authenticator variable
13450 for easier debugging and cleaner code. On successful (guessed based on
13451 server capabilities) secondary authentication, set imap-state
13452 correctly.
13453 (imap-last-authenticator): Define imap-last-authenticator as a variable
13454 to avoid warnings.
13455
13456 2009-09-10 Glenn Morris <rgm@gnu.org>
13457
13458 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
13459
13460 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
13461 (byte-compile-file-form-autoload): Don't warn about unknown functions
13462 where the autoload statement comes after the use.
13463 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
13464 that any handlers inside the body (eg require) are in turn respected.
13465
13466 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
13467 effects.
13468
13469 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
13470 and syntax and abbrev tables basic docs, if they don't have any.
13471
13472 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
13473
13474 * international/mule-cmds.el (top-level): Require cl when compiling.
13475 (view-hello-file): Use default-value rather than
13476 default-enable-multibyte-characters.
13477
13478 * progmodes/fortran.el: Move all safe and risky properties into the
13479 defcustoms.
13480
13481 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
13482 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
13483 * mail/undigest.el:
13484 Put autoloads in rmail.el rather than loaddefs.el.
13485 * mail/rmail.el: Regenerate with extracted autoloads.
13486
13487 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
13488 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
13489
13490 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
13491
13492 Reported in thread for Bug#4375.
13493 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
13494 "-data-evaluate-expression" instead of print.
13495 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
13496 (gdb-tooltip-print): Parse output from above MI command.
13497 (gdb): Revert 2009-08-11 change. User should detach inferior
13498 manually.
13499
13500 Remove the word "separate" from IO functions as inferior
13501 output is now never displayed in the GUD buffer.
13502
13503 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
13504
13505 * startup.el (command-line-normalize-file-name): On Windows and
13506 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
13507
13508 2009-09-10 Juri Linkov <juri@jurta.org>
13509
13510 * isearch.el (isearch-text-char-description): Propertize escape
13511 character sequences with the `escape-glyph' face. (Bug#4344)
13512
13513 * simple.el (shell-command): Set asynchronous process filter to
13514 `comint-output-filter'. (Bug#4343)
13515
13516 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
13517 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
13518 the list. Move "asm" to the bottom.
13519 (grep-find-ignored-directories): Add `choice' with nil value
13520 to empty the list easily.
13521 (grep-find-ignored-files): New option.
13522 (grep-files-history): Set to nil by default instead of '("ch" "el").
13523 (grep-compute-defaults): Add "<X>" to `grep-template'.
13524 (grep-read-files): Bind new local variables `default-alias' and
13525 `default-extension'. Use a list of default values for the file prompt.
13526 (lgrep): Add `--exclude=' command line options composed from
13527 `grep-find-ignored-files'.
13528 (rgrep): Add `-name' command line options composed from
13529 `grep-find-ignored-files'. (Bug#4301)
13530
13531 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
13532
13533 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
13534 (bug#4368).
13535
13536 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
13537
13538 * calendar/time-date.el (autoload):
13539 Expand define-obsolete-function-alias into defalias and make-obsolete
13540 for old Emacsen that Gnus supports.
13541 (with-no-warnings): Define it for old Emacsen.
13542 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
13543 is available.
13544 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
13545 float-time is available; suppress compile warning for time-to-seconds.
13546
13547 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
13548
13549 * net/imap.el (imap-message-map): Docstring fix.
13550
13551 2009-09-09 Glenn Morris <rgm@gnu.org>
13552
13553 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
13554 line numbers too. (Bug#4374)
13555
13556 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
13557
13558 * smerge-mode.el (smerge-remove-props, smerge-refine):
13559 Use with-silent-modifications (bug#4342).
13560
13561 * subr.el (with-silent-modifications): New macro.
13562
13563 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
13564
13565 * files.el (top-level): Require `cl' when compiling.
13566
13567 2009-09-07 Glenn Morris <rgm@gnu.org>
13568
13569 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
13570
13571 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
13572 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
13573
13574 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
13575
13576 * vc-git.el (vc-git-annotate-command): Use separator to parse
13577 arguments correctly.
13578
13579 2009-09-06 Eli Zaretskii <eliz@gnu.org>
13580
13581 * proced.el (proced-mode): Doc fix.
13582
13583 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
13584
13585 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
13586 lstat fails.
13587 (tramp-do-file-attributes-with-ls): Check for file existence at
13588 remote end.
13589 (tramp-do-file-attributes-with-stat): Likewise.
13590 (tramp-convert-file-attributes): Return nil when attr is nil.
13591
13592 2009-09-05 Glenn Morris <rgm@gnu.org>
13593
13594 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
13595 properties to this button.
13596 (diary-fancy-display): Don't extend the button to the final newline.
13597 (diary-fancy-display-mode): Continue to define "q" as a local key.
13598
13599 * calendar/cal-china.el (holiday-chinese): Make it slightly more
13600 efficient.
13601
13602 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
13603
13604 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
13605 (byte-compile-dest-file-function): New option.
13606 (byte-compile-dest-file): Doc fix.
13607 Obey byte-compile-dest-file-function.
13608 (byte-compile-cl-file-p): New function.
13609 (byte-compile-eval): Only suppress noruntime warnings about cl functions
13610 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
13611 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
13612 than for file being previously loaded.
13613 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
13614 (byte-compile-file-form-require): Handle the case where requiring a file
13615 indirectly causes CL to be loaded.
13616
13617 2009-09-05 Karl Fogel <kfogel@red-bean.com>
13618
13619 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
13620 before killing the old buffer, since by the time `kill-buffer' is
13621 run so many buffer variables have been set to nil that it may not
13622 behave as expected. (Bug#4061)
13623
13624 2009-09-05 Karl Fogel <kfogel@red-bean.com>
13625
13626 * files.el (find-alternate-file): If the old buffer is modified
13627 and visiting a file, behave similarly to `kill-buffer' when
13628 killing it, thus reverting to the pre-1.878 behavior; see
13629 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
13630 for discussion. Also, consult `buffer-file-name' as a variable
13631 not as a function, for consistency with the rest of the code.
13632
13633 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
13634
13635 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
13636 also when adding a new directory.
13637
13638 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
13639 defun.
13640
13641 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
13642
13643 * files.el (locate-file-completion-table): Make it provide boundary
13644 information, so partial-completion works better.
13645
13646 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
13647
13648 * mail/footnote.el (Footnote-text-under-cursor):
13649 Check footnote-text-marker-alist before using it (bug#4324).
13650
13651 2009-09-04 Glenn Morris <rgm@gnu.org>
13652
13653 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
13654 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
13655 * play/solitaire.el, play/tetris.el:
13656 Remove leading * from defcustom and defface docs.
13657
13658 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
13659 necessary.
13660 (diary-fancy-overriding-map): New variable.
13661 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
13662 Use view-mode.
13663
13664 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
13665 goto-line.
13666
13667 2009-09-03 Glenn Morris <rgm@gnu.org>
13668
13669 * arc-mode.el (archive-mode):
13670 * dos-fns.el (set-default-process-coding-system):
13671 * man.el (Man-getpage-in-background):
13672 * menu-bar.el (menu-bar-describe-menu):
13673 * server.el (server-process-filter):
13674 * startup.el (command-line):
13675 * tar-mode.el (tar-header-block-tokenize, tar-extract):
13676 * w32-fns.el (set-default-process-coding-system):
13677 * x-dnd.el (x-dnd-handle-file-name):
13678 * international/mule-cmds.el (mule-menu-keymap)
13679 (set-default-coding-systems, language-info-alist, set-language-info)
13680 (set-language-environment, standard-display-european-internal)
13681 (set-locale-environment):
13682 * international/mule-diag.el (mule-diag):
13683 * mail/emacsbug.el (report-emacs-bug):
13684 * mail/rmail.el (rmail-mode):
13685 * mail/sendmail.el (mail-setup):
13686 Use default-value rather than default-enable-multibyte-characters.
13687
13688 * progmodes/f90.el: Move all safe properties into the defcustoms.
13689 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
13690
13691 * calendar/appt.el (appt-check):
13692 * calendar/diary-lib.el (diary-set-header, diary-live-p)
13693 (diary-check-diary-file, diary-list-entries)
13694 (diary-include-other-diary-files, diary-simple-display)
13695 (diary-fancy-display, diary-print-entries)
13696 (diary-mark-included-diary-files, diary-make-entry):
13697 Don't call substitute-in-file-name on diary-file.
13698
13699 2009-09-03 Eduard Wiebe <usenet@pusto.de>
13700 Stefan Monnier <monnier@iro.umontreal.ca>
13701
13702 * mail/footnote.el (footnote-prefix): Make it a defcustom.
13703 (footnote-mode-map): Move initialization into the declaration.
13704 (footnote-minor-mode-map): Define it rather than changing global-map.
13705 (footnote-mode): Use define-minor-mode.
13706
13707 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
13708
13709 * net/tramp.el (tramp-handle-file-attributes-with-ls)
13710 (tramp-do-file-attributes-with-perl)
13711 (tramp-do-file-attributes-with-stat): Rename from
13712 `tramp-handle-file-attributes-with-*'.
13713 (tramp-handle-file-attributes): Use them.
13714 (tramp-do-directory-files-and-attributes-with-perl)
13715 (tramp-do-directory-files-and-attributes-with-stat): Rename from
13716 `tramp-handle-directory-files-and-attributes-with-*'.
13717 (tramp-handle-directory-files-and-attributes): Use them.
13718 (tramp-method-out-of-band-p): Additional parameter SIZE.
13719 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
13720 (tramp-handle-write-region): Use it.
13721 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
13722 (tramp-handle-vc-registered): Check, whether the first run did
13723 return files to be tested.
13724 (tramp-advice-make-auto-save-file-name): Do not call directly
13725 `tramp-handle-make-auto-save-file-name', because this would bypass
13726 the locking mechanism.
13727
13728 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
13729 (file-remote-p, process-file, start-file-process, set-file-times)
13730 (tramp-compat-file-attributes): Compatibility functions shall not
13731 call directly `tramp-handle-*', because this would bypass the
13732 locking mechanism.
13733 (tramp-compat-number-sequence): New defun.
13734
13735 2009-09-02 Glenn Morris <rgm@gnu.org>
13736
13737 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
13738 alias for float-time.
13739 (time-to-number-of-days): In Emacs, use float-time.
13740 * net/newst-backend.el (time-add): Suppress warnings from compat
13741 function.
13742 * time.el (emacs-uptime, emacs-init-time):
13743 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
13744 Use float-time rather than time-to-seconds.
13745
13746 * minibuffer.el (completion-initials-expand): Fix typo.
13747
13748 * faces.el (modeline, modeline-inactive, modeline-highlight)
13749 (modeline-buffer-id):
13750 * info.el (info-menu-5): Mark these face aliases as obsolete.
13751
13752 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
13753
13754 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
13755 space ...
13756 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
13757 no "--thread" option.
13758 (gdb-stopped): Don't print "Switched to thread" message when it is
13759 unchanged.
13760
13761 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
13762
13763 * minibuffer.el (completion-try-completion)
13764 (completion-all-completions): Remove ill-defined (and
13765 mistakenly installed and luckily never used nor documented)
13766 `completion-styles' property.
13767 (completion-initials-expand, completion-initials-all-completions)
13768 (completion-initials-try-completion): New functions.
13769 (completion-styles-alist): Add doc to each entry.
13770 Add new `initials' entry.
13771
13772 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
13773
13774 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
13775 MI command -var-evaluate-expression.
13776 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
13777 and tweak for case of string child.
13778 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
13779
13780 2009-09-01 Glenn Morris <rgm@gnu.org>
13781
13782 * add-log.el (change-log-date-face, change-log-name-face)
13783 (change-log-email-face, change-log-file-face, change-log-list-face)
13784 (change-log-conditionals-face, change-log-function-face)
13785 (change-log-acknowledgement-face):
13786 * cus-edit.el (custom-invalid-face, custom-rogue-face)
13787 (custom-modified-face, custom-set-face, custom-changed-face)
13788 (custom-saved-face, custom-button-face, custom-button-pressed-face)
13789 (custom-documentation-face, custom-state-face, custom-comment-face)
13790 (custom-comment-tag-face, custom-variable-tag-face)
13791 (custom-variable-button-face, custom-face-tag-face)
13792 (custom-group-tag-face-1, custom-group-tag-face):
13793 * diff-mode.el (diff-header-face, diff-file-header-face)
13794 (diff-index-face, diff-hunk-header-face, diff-removed-face)
13795 (diff-added-face, diff-changed-face, diff-function-face)
13796 (diff-context-face, diff-nonexistent-face):
13797 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
13798 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
13799 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
13800 (Info-title-4-face):
13801 * isearch.el (isearch-lazy-highlight-face):
13802 * log-view.el (log-view-file-face, log-view-message-face):
13803 * paren.el (show-paren-match-face, show-paren-mismatch-face):
13804 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
13805 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
13806 (cvs-msg-face):
13807 * smerge-mode.el (smerge-mine-face, smerge-other-face)
13808 (smerge-base-face, smerge-markers-face):
13809 * wid-edit.el (widget-documentation-face, widget-button-face)
13810 (widget-field-face, widget-single-line-field-face)
13811 (widget-inactive-face, widget-button-pressed-face):
13812 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
13813 (woman-addition-face):
13814 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
13815 (eshell-ls-executable-face, eshell-ls-readonly-face)
13816 (eshell-ls-unreadable-face, eshell-ls-special-face)
13817 (eshell-ls-missing-face, eshell-ls-archive-face)
13818 (eshell-ls-backup-face, eshell-ls-product-face)
13819 (eshell-ls-clutter-face):
13820 * eshell/em-prompt.el (eshell-prompt-face):
13821 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
13822 * obsolete/old-whitespace.el (whitespace-highlight-face):
13823 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
13824 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
13825 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
13826 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
13827 (antlr-font-lock-literal-face):
13828 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
13829 (ebrowse-root-class-face, ebrowse-file-name-face)
13830 (ebrowse-default-face, ebrowse-member-attribute-face)
13831 (ebrowse-member-class-face, ebrowse-progress-face):
13832 * progmodes/make-mode.el (makefile-space-face):
13833 * progmodes/sh-script.el (sh-heredoc-face):
13834 * textmodes/flyspell.el (flyspell-incorrect-face)
13835 (flyspell-duplicate-face):
13836 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
13837 * textmodes/texinfo.el (texinfo-heading-face):
13838 Mark face aliases with "-face" suffix as obsolete.
13839
13840 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
13841 compiler.
13842
13843 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
13844 (eudc-bob-sound-menu): Use defvar rather than defconst, since
13845 easy-menu-define wants to modify these.
13846
13847 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
13848
13849 * net/browse-url.el (browse-url-file-url):
13850 * term/internal.el (dos-codepage-setup):
13851 Use default-value rather than default-enable-multibyte-characters.
13852
13853 * progmodes/etags.el (etags-goto-tag-location):
13854 * progmodes/flymake.el (flymake-highlight-line)
13855 (flymake-goto-file-and-line, flymake-goto-line):
13856 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
13857 (gdb-goto-breakpoint):
13858 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
13859 * progmodes/python.el (python-find-function)
13860 (python-pdbtrack-track-stack-file):
13861 * progmodes/verilog-mode.el (verilog-surelint-off):
13862 * term/ns-win.el (ns-open-file-select-line):
13863 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
13864 Use forward-line rather than goto-line.
13865
13866 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
13867 * textmodes/reftex-index.el (reftex-display-index):
13868 * textmodes/reftex-ref.el (reftex-offer-label-menu):
13869 * textmodes/reftex-toc.el (reftex-toc):
13870 Remove unnecessary bindings of default-major-mode (all are followed by
13871 major-mode check and possible mode switch).
13872
13873 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
13874
13875 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13876 Handle watchpoints (bug#4282).
13877 (def-gdb-thread-buffer-command): Enable thread to be selected by
13878 clicking without selecting threads buffer first.
13879 (gdb-current-context-command): Use selected frame so that "up",
13880 "down" etc work in the GUD buffer.
13881 (gdb-update): Find selected frame before rendering stack buffer.
13882 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
13883
13884 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
13885
13886 * progmodes/sym-comp.el (displayed-completions): Remove.
13887 (symbol-complete): Use minibuffer-complete.
13888
13889 2009-08-31 Glenn Morris <rgm@gnu.org>
13890
13891 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
13892
13893 * apropos.el (apropos-symbols-internal):
13894 Handle (obsolete) face aliases.
13895
13896 * faces.el (describe-face): Adjust the output format to be more like
13897 describe-variable, and to mention (obsolete) face aliases.
13898 Adjust the whitespace so that help-setup-xref works.
13899
13900 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
13901 * calendar/diary-lib.el (diary-button-face):
13902 Mark these face aliases as obsolete.
13903
13904 * calendar/calendar.el (calendar-today): Doc fix.
13905
13906 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
13907
13908 * progmodes/gdb-mi.el (gdb-control-all-threads)
13909 (gdb-control-current-thread): Force tool bar update.
13910 (gdb-non-stop-handler): New function.
13911 (gdb-init-1): Use it to test if non-stop mode is supported.
13912 Remove unused gdbmi buffer type.
13913
13914 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
13915
13916 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
13917 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
13918
13919 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
13920
13921 * comint.el (comint-exec-1): Check command is non-null first.
13922 Part of gdb-mi.el change (2009-08-28).
13923
13924 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13925
13926 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
13927
13928 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
13929
13930 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
13931 instead of `dolist' to avoid a recursive require when bootstrapping.
13932
13933 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
13936
13937 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
13938
13939 * net/imap.el (imap-send-command): Simplify.
13940 (imap-wait-for-tag): point-max -> buffer-size.
13941
13942 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
13943
13944 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
13945 with constant argument.
13946
13947 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
13948
13949 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
13950
13951 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
13952 Change default, since most of our files don't have a history.
13953 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
13954 the user.
13955
13956 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13957 Add comint-run.
13958
13959 * calc/calc.el: Improve commenting convention.
13960 (calc-digit-map, toplevel): Simplify.
13961
13962 * comint.el (comint-insert-input): Be careful to only set point if we
13963 don't delegate to some other command.
13964
13965 * proced.el (proced-signal-list): Make it an alist.
13966 (proced-grammar-alist): Capitalize names.
13967 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
13968 Disable undo manually and make it read-only.
13969 Use completion-annotate-function.
13970
13971 * minibuffer.el (minibuffer-message): If the current buffer is not
13972 a minibuffer, insert the message in the echo area rather than at the
13973 end of the buffer.
13974 (completion-annotate-function): New variable.
13975 (minibuffer-completion-help): Use it.
13976 (completion--embedded-envvar-table): Environment vars are
13977 always case-sensitive.
13978
13979 2009-08-30 Glenn Morris <rgm@gnu.org>
13980
13981 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
13982 from fortran-current-defun.
13983 (fortran-beginning-of-subprogram): Be more precise about finding the
13984 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
13985 (fortran-end-of-subprogram): Simplify.
13986 (fortran-current-defun): Use fortran-start-prog-re.
13987
13988 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
13989
13990 * subr.el (do-after-load-evaluation): Simplify.
13991
13992 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
13993
13994 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
13995
13996 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
13997 (vc-rcs-print-log): Use it.
13998
13999 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14000
14001 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14002
14003 * paths.el (abbrev-file-name): Move to abbrev.el.
14004 * abbrev.el (abbrev-file-name): Move from paths.el.
14005 Obey user-emacs-directory.
14006 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14007 user-emacs-directory.
14008 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14009 abbrev-file-name and calc-settings-file any more.
14010 * startup.el (command-line): Recompute abbrev-file-name and
14011 abbreviated-home-dir.
14012 (normal-no-mouse-startup-screen): Improve the generic code and get rid
14013 of the special code for when C-h bindings haven't been changed.
14014 (display-startup-echo-area-message): Use with-current-buffer.
14015 (command-line-1): Use a list of strings, rather than a list of lists
14016 of strings for longopts.
14017
14018 * files.el (get-free-disk-space): Use / for default-directory.
14019
14020 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14021 Use with-current-buffer.
14022
14023 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14024 Recognize immutable variables like most-positive-fixnum.
14025 (byte-compile-setq-default): Check and warn if trying to assign
14026 to an immutable variable, or a non-variable.
14027
14028 * progmodes/cc-vars.el (c-comment-continuation-stars):
14029 * progmodes/cc-engine.el (c-looking-at-bos):
14030 * progmodes/cc-cmds.el (c-toggle-auto-state)
14031 (c-forward-into-nomenclature, c-backward-into-nomenclature)
14032 (c-comment-line-break-function): Add version of obsolescence.
14033
14034 2009-08-28 Juri Linkov <juri@jurta.org>
14035
14036 * files.el (magic-fallback-mode-alist): Add ZIP magic number
14037 associated with `archive-mode'.
14038
14039 * image.el (image-type-header-regexps): Use only JPEG magic number
14040 to determine JPEG images, and don't use `image-jpeg-p' because
14041 Emacs can display non-JFIF non-Exif JPEG images.
14042
14043 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14044
14045 * arc-mode.el (archive-mode):
14046 * emacs-lisp/re-builder.el (re-builder-unload-function):
14047 Protect against the default value of `major-mode' being nil.
14048
14049 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14050
14051 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14052 Fix typos in docstrings.
14053
14054 * progmodes/js.el (js--macro-decl-re): Doc fix.
14055 (js--plain-method-re, js--split-name): Refloc docstring.
14056 (js--class-styles, js--make-merged-item, js--splice-into-items):
14057 Fix typos in docstrings; reflow docstrings.
14058 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14059 (js--variable-decl-matcher, js--inside-pitem-p)
14060 (js--parse-state-at-point, js--get-all-known-symbols)
14061 (js--symbol-history, js-find-symbol, js--js-references)
14062 (js--moz-interactor, js--js-encode-value, js--read-tab):
14063 Fix typos in docstrings.
14064
14065 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14066
14067 * textmodes/reftex.el (reftex-get-file-buffer-force):
14068 * progmodes/verilog-mode.el (verilog-batch-execute-func):
14069 * emulation/viper.el (viper-go-away, viper-set-hooks):
14070 * emacs-lisp/re-builder.el (re-builder-unload-function):
14071 * emacs-lisp/bytecomp.el (byte-compile-file):
14072 * ses.el (ses-unload-function):
14073 * hexl.el (hexl-find-file):
14074 * files.el (normal-mode):
14075 * ehelp.el (with-electric-help):
14076 * autoinsert.el (auto-insert-alist):
14077 * arc-mode.el (archive-mode):
14078 Use (default-value 'major-mode) instead of default-major-mode.
14079
14080 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14081 * international/mule.el (load-with-code-conversion):
14082 * emacs-lisp/debug.el (debug):
14083 * ediff-vers.el (ediff-rcs-get-output-buffer):
14084 * dired.el (dired-internal-noselect): Don't let-bind
14085 default-major-mode around code that doesn't use it.
14086 E.g. buffer creation via get-buffer-create doesn't use it.
14087
14088 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
14089
14090 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14091 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14092 when writing the temp file. Otherwise, epa-file gets confused.
14093 (tramp-register-file-name-handlers): Make it a defun. Move also
14094 `epa-file-handler' to the front of `file-name-handler-alist'.
14095
14096 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14097
14098 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14099 start right after a ^M.
14100 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14101 (tramp-completion-file-name-regexp-separate)
14102 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14103 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14104 Don't modify last-coding-system-used by accident.
14105 (tramp-completion-file-name-handler): Apply the checks here,
14106 instead during registration.
14107 (tramp-register-file-name-handlers): Renamed from
14108 `tramp-register-file-name-handler'. Register both
14109 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14110 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
14111
14112 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
14113
14114 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14115 Remove variable ...
14116 (gdb-init-1, gdb-display-separate-io-buffer)
14117 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14118 references to it.
14119 (gdb-inferior-io-mode): Use make-comint-in-buffer.
14120 (gdb-inferior-filter): Use comint-output-filter to stop
14121 echoing and remove ^M characters.
14122
14123 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14124
14125 * emulation/viper-init.el (viper-restore-cursor-type):
14126 * emulation/cua-base.el (cua--update-indications):
14127 Replace default-cursor-type with (default-value 'cursor-type).
14128
14129 * mail/sendmail.el (mail-recover-1):
14130 * international/mule-diag.el (describe-current-coding-system-briefly)
14131 (describe-current-coding-system):
14132 * international/mule-cmds.el (select-safe-coding-system)
14133 (select-message-coding-system)
14134 (set-language-environment-coding-systems, set-locale-environment):
14135 * hexl.el (hexl-insert-multibyte-char):
14136 * dos-w32.el (find-buffer-file-type-coding-system):
14137 * simple.el (what-cursor-position):
14138 Replace uses of default-buffer-file-coding-system
14139 with (default-value 'buffer-file-coding-system).
14140
14141 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14142 Replace uses of default-cursor-in-non-selected-windows
14143 with (default-value 'cursor-in-non-selected-windows).
14144 Use with-current-buffer.
14145
14146 * mail/feedmail.el: Use CL macros.
14147 (feedmail-run-the-queue, feedmail-send-it-immediately):
14148 * dos-w32.el (find-buffer-file-type): Replace uses of
14149 default-buffer-file-type with (default-value 'buffer-file-type).
14150
14151 2009-08-28 Glenn Morris <rgm@gnu.org>
14152
14153 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14154 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14155 Use default-value of major-mode rather than default-major-mode.
14156
14157 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14158
14159 * Makefile.in (update-elcfiles): Report left over elc files.
14160
14161 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14162 expand-file-name and with-current-buffer.
14163 (mail-get-names, mail-directory): Use with-current-buffer.
14164
14165 * vc.el (vc-read-revision): New function.
14166 (vc-version-diff, vc-merge): Use it.
14167
14168 2009-08-27 Sam Steingold <sds@gnu.org>
14169
14170 * simple.el (kill-do-not-save-duplicates): New user option.
14171 (kill-new): When it is non-nil, and the new string is the same as
14172 the latest kill, set replace to t to avoid duplicates in kill-ring.
14173
14174 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
14175
14176 * net/tramp.el (tramp-handle-process-file): Do not flush all
14177 caches when `process-file-side-effects' is set.
14178 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14179 instead of `tramp-find-file-exists-command'.
14180 Unset `process-file-side-effects'.
14181
14182 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
14183
14184 * net/tramp.el (tramp-methods): New method "rsyncc".
14185 (top): Add completion function for "rsyncc".
14186 (tramp-message-show-message): New defvar.
14187 (tramp-message, tramp-error): Use it.
14188 (tramp-do-copy-or-rename-file-directly): Extend check for direct
14189 remote copying.
14190 (tramp-do-copy-or-rename-file-out-of-band): Handle new
14191 `tramp-methods' entry `copy-env' of "rsyncc".
14192 (tramp-vc-registered-read-file-names): New defconst.
14193 (tramp-vc-registered-file-names): New defvar.
14194 (tramp-handle-vc-registered): Implement optimization strategy.
14195 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14196 (tramp-vc-file-name-handler): New defun.
14197 (tramp-get-ls-command, tramp-get-test-command)
14198 (tramp-get-file-exists-command, tramp-get-remote-ln)
14199 (tramp-get-remote-perl, tramp-get-remote-stat)
14200 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14201
14202 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14203 (tramp-cache-inhibit-cache): Extend doc string. It allows also
14204 timestamps.
14205 (tramp-get-file-property): Check for timestamps in
14206 `tramp-cache-inhibit-cache'.
14207 (tramp-set-file-property): Write timestamp.
14208
14209 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14210
14211 * language/japan-util.el (japanese-symbol-table): Add entries for
14212 cp932-2-byte.
14213
14214 * international/characters.el: Add category `j' to cp932-2-byte.
14215
14216 2009-08-27 Kenichi Handa <handa@m17n.org>
14217
14218 * international/fontset.el (build-default-fontset-data): New macro.
14219 (setup-default-fontset): Use build-default-fontset-data for CJK,
14220 tibetan, ethiopic, and ipa.
14221
14222 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14223
14224 * cus-start.el (default-major-mode): Customize `major-mode' instead.
14225 (enable-multibyte-characters): Not customizable any more.
14226
14227 * subr.el (default-mode-line-format, default-header-line-format)
14228 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14229 (default-direction-reversed, default-truncate-lines)
14230 (default-left-margin, default-tab-width, default-case-fold-search)
14231 (default-left-margin-width, default-right-margin-width)
14232 (default-left-fringe-width, default-right-fringe-width)
14233 (default-fringes-outside-margins, default-scroll-bar-width)
14234 (default-vertical-scroll-bar, default-indicate-empty-lines)
14235 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14236 (default-fringe-cursor-alist, default-scroll-up-aggressively)
14237 (default-scroll-down-aggressively, default-fill-column)
14238 (default-cursor-type, default-buffer-file-type)
14239 (default-cursor-in-non-selected-windows)
14240 (default-buffer-file-coding-system, default-major-mode)
14241 (default-enable-multibyte-characters): Mark as obsolete.
14242
14243 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
14244
14245 * vc-dir.el (vc-dir-update): Remove debug helper.
14246
14247 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14248
14249 2009-08-26 Sam Steingold <sds@gnu.org>
14250
14251 * simple.el (save-interprogram-paste-before-kill): New user option.
14252 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14253 save the interprogram-paste into kill-ring before overriding it
14254 with the Emacs kill.
14255
14256 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14257
14258 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14259 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14260 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14261 and move to vc-rcs.el.
14262 (vc-default-next-revision): Rename to vc-rcs-next-revision and
14263 move to vc-rcs.el.
14264 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14265 (vc-rcs-update-changelog): Remove.
14266 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14267 and move to vc-rcs.el.
14268
14269 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14270 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14271 renaming.
14272 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14273 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14274 vc.el, renamed to be RCS specific.
14275
14276 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14277 New functions.
14278 (vc-cvs-update-changelog): Move here from vc.el.
14279
14280 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14281 New functions.
14282
14283 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
14284
14285 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14286
14287 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14288
14289 * vc-git.el (vc-git-register): Use "git add" for directories.
14290 (vc-git-stash, vc-git-stash-show): New functions.
14291 (vc-git-extra-menu-map): Bind them.
14292
14293 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14294 directory correctly in case the item is a directory itself.
14295
14296 * vc.el: Document the desired behavior for reverted files in the
14297 `added' state.
14298 (vc-default-prettify-state-info): Remove function, unused.
14299
14300 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14301
14302 2009-08-26 Glenn Morris <rgm@gnu.org>
14303
14304 * bindings.el (standard-mode-line-format): Reposition dashes in
14305 which-func entry. (Bug#4217)
14306
14307 * files.el (enable-local-variables, enable-local-eval)
14308 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14309 the defcustoms.
14310 (auto-mode-alist, ignored-local-variables)
14311 (save-some-buffers-action-alist): Move risky declarations to the
14312 definitions.
14313 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14314 (font-lock-defaults, format-alist, imenu--index-alist)
14315 (imenu-generic-expression, input-method-alist, minor-mode-alist)
14316 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14317 (mode-line-modified, mode-line-mule-info, mode-line-position)
14318 (mode-line-process, mode-line-remote, outline-level)
14319 (parse-time-rules, rmail-output-file-alist)
14320 (special-display-buffer-names, vc-mode):
14321 Move risky declarations to the relevant files.
14322 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14323 (mode-line-modified, mode-line-process, mode-line-position)
14324 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14325 * font-core.el (font-lock-defaults):
14326 * format.el (format-alist):
14327 * vc-hooks.el (vc-mode):
14328 * window.el (special-display-buffer-names):
14329 * international/mule-cmds.el (input-method-alist):
14330 Define riskiness here (dumped file) rather than in files.el.
14331 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14332 * imenu.el (imenu-generic-expression, imenu--index-alist):
14333 * outline.el (outline-level):
14334 * time.el (display-time-string):
14335 * calendar/parse-time.el (parse-time-rules):
14336 * mail/rmailout.el (rmail-output-file-alist):
14337 Autoload riskiness here, rather than placing in files.el.
14338
14339 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
14340
14341 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14342
14343 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
14344
14345 * simple.el (process-file-side-effects): New defvar.
14346
14347 * dired-aux.el (dired-show-file-type):
14348 * vc.el (vc-diff-internal):
14349 * vc-arch.el (vc-arch-diff):
14350 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14351 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14352 * vc-git.el (vc-git-registered, vc-git-working-revision)
14353 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14354 (vc-git--empty-db-p):
14355 * vc-hooks.el (vc-user-login-name):
14356 * vc-svn.el (vc-svn-registered, vc-svn-state)
14357 (vc-svn-dir-extra-headers, vc-svn-find-revision):
14358 * progmodes/grep.el (grep-probe): Let-bind
14359 `process-file-side-effects' with nil.
14360
14361 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14362
14363 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14364 daemon. Replace ping by checking for running service for bluez
14365 and zeroconf. (Bug#4239)
14366
14367 2009-08-25 Kevin Ryde <user42@zip.com.au>
14368
14369 * net/dig.el (dig): Add autoload cookie.
14370
14371 2009-08-25 Glenn Morris <rgm@gnu.org>
14372
14373 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14374 load-history for absolute file-names.
14375 (byte-compile-file-form-require): Warn about use of the cl package.
14376
14377 * format.el (format-alist): Doc fix.
14378
14379 * play/bubbles.el (top-level): Don't require cl at run-time.
14380
14381 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14382 run-time cl).
14383
14384 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
14385
14386 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14387 from cl package.
14388 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14389
14390 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
14391
14392 * calc/calc-alg.el (math-trig-rewrite)
14393 (math-hyperbolic-trig-rewrite): New functions.
14394 (calc-simplify): Simplify trig functions when asked.
14395
14396 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14397
14398 * diff-mode.el (diff-find-source-location): Avoid goto-line.
14399
14400 2009-08-24 Kenichi Handa <handa@m17n.org>
14401
14402 * language/ind-util.el (mapthread): Delete it.
14403 (combinatorial): New function.
14404 (indian--puthash-cv): Use combinatorial instead of mapthread.
14405
14406 2009-08-22 Kevin Ryde <user42@zip.com.au>
14407
14408 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
14409 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
14410 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
14411 Clarify docstring that the value is strings not symbols.
14412 (checkdoc-list-of-strings-p): New function.
14413
14414 2009-08-22 Glenn Morris <rgm@gnu.org>
14415
14416 * files.el (auto-mode-alist):
14417 * hippie-exp.el (he-concat-directory-file-name):
14418 * lpr.el (lpr-windows-system, printer-name):
14419 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
14420 * ps-print.el (ps-windows-system):
14421 * startup.el (command-line):
14422 * emulation/viper-ex.el (viper-glob-function):
14423 * international/mule-cmds.el (set-language-environment-coding-systems):
14424 * net/ange-ftp.el (ange-ftp-write-region):
14425 * obsolete/fast-lock.el (fast-lock-cache-name):
14426 Remove code for defunct system-types emx, macos, mswindows, next-mach,
14427 unisoft-unix, vax-vms, win32, w32.
14428
14429 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
14430 given name if the pattern is not more specific.
14431
14432 * calendar/lunar.el (lunar-phase-names): New option.
14433 (lunar-phase): Doc fix.
14434 (lunar-cycles-per-year): New constant.
14435 (lunar-index): New function.
14436 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
14437 (lunar-phase-name): Use lunar-phase-names.
14438 (calendar-lunar-phases): Use format.
14439 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
14440
14441 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
14442 Copy imenu-example--name-and-position function here for own use.
14443 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
14444
14445 * bs.el (bs--redisplay):
14446 * cus-edit.el (custom-redraw):
14447 * ibuffer.el (ibuffer-bury-buffer):
14448 * server.el (server-goto-line-column):
14449 * startup.el (command-line-1):
14450 * strokes.el (strokes-xpm-for-stroke):
14451 * term.el (term-display-buffer-line):
14452 * view.el (View-goto-line):
14453 * calc/calc.el (calc-do, calc-trail-buffer):
14454 * play/gamegrid.el (gamegrid-add-score-insecure):
14455 * progmodes/ada-mode.el (ada-compile-goto-error):
14456 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
14457 (ebrowse-select-1st-to-9nth):
14458 * progmodes/cperl-mode.el (cperl-time-fontification):
14459 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
14460 * progmodes/gud.el (gud-display-line):
14461 (idlwave-shell-display-line):
14462 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
14463 * progmodes/make-mode.el (makefile-browser-toggle):
14464 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
14465 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
14466 * textmodes/picture.el (picture-draw-rectangle):
14467 * textmodes/reftex-index.el (reftex-index-goto-letter):
14468 (reftex-select-jump-to-previous):
14469 * textmodes/reftex-sel.el (reftex-find-start-point)
14470 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
14471 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
14472 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
14473 * textmodes/tex-mode.el (tex-compilation-parse-errors):
14474 * textmodes/two-column.el (2C-associated-buffer):
14475 Use forward-line rather than goto-line.
14476
14477 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
14478 goto-line.
14479
14480 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
14481 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
14482 (quick-check-list-to-regexp): Declare.
14483
14484 * progmodes/make-mode.el (makefile-browser-insert-selection):
14485 Use goto-char rather than goto-line.
14486
14487 * progmodes/prolog.el (compilation-error-regexp-alist)
14488 (compilation-forget-errors): Declare.
14489
14490 2009-08-22 Juri Linkov <juri@jurta.org>
14491
14492 * progmodes/grep.el (lgrep, rgrep): At the beginning
14493 set `dir' to `default-directory' unless `dir' is a non-nil
14494 readable directory. (Bug#4052)
14495 (lgrep, rgrep): Change a weird way to report an error
14496 from using `read-string' to using `error'.
14497 Instead of using interactive arguments in the function body,
14498 add new argument `confirm'.
14499
14500 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14501
14502 * textmodes/remember.el (remember-buffer):
14503 * progmodes/cperl-mode.el (cperl-vc-header-alist):
14504 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
14505 (icalendar-extract-ical-from-buffer):
14506 * net/newst-treeview.el (newsticker-groups-filename):
14507 * net/newst-backend.el (newsticker-cache-filename):
14508 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
14509 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
14510 (speedbar-add-ignored-path-regexp, speedbar-line-path)
14511 (speedbar-buffers-line-path, speedbar-path-line)
14512 (speedbar-buffers-line-path):
14513 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
14514 (epg-sign-keys):
14515 * epa.el (epa-display-verify-result):
14516 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
14517
14518 2009-08-21 Glenn Morris <rgm@gnu.org>
14519
14520 * progmodes/js.el (inferior-moz-process): Fix declaration.
14521
14522 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
14523
14524 * obsolete/rnewspost.el (news-mail-reply):
14525 Use goto-char rather than goto-line.
14526
14527 * term/ns-win.el (ns-open-file-select-line):
14528 Use line-beginning-position rather than goto-line.
14529
14530 * apropos.el (apropos-command):
14531 * ehelp.el (electric-helpify):
14532 * printing.el (pr-show-setup):
14533 * strokes.el (strokes-help):
14534 * tutorial.el (tutorial--describe-nonstandard-key)
14535 (tutorial--detailed-help):
14536 * woman.el (woman-mini-help, woman-display-extended-fonts):
14537 * calc/calc-help.el (calc-describe-key):
14538 * emulation/edt.el (edt-electric-helpify):
14539 * international/mule-diag.el (mule-diag):
14540 * play/yow.el (apropos-zippy):
14541 * progmodes/python.el (python-describe-symbol):
14542 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
14543 * textmodes/table.el (*table--cell-describe-mode)
14544 (*table--cell-describe-bindings):
14545 Use help-print-return-message rather than the now obsolete alias.
14546
14547 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
14548 (calendar-cursor-to-visible-date):
14549 * play/5x5.el (5x5-position-cursor):
14550 * play/decipher.el (decipher):
14551 * play/gomoku.el (gomoku-goto-xy):
14552 * play/landmark.el (lm-goto-xy):
14553 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
14554 (mpuz-paint-digit):
14555 Use forward-line, not goto-line.
14556
14557 * mail/rmail.el (rmail-obsolete): Delete custom group.
14558 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
14559 (rmail-remote-password, rmail-remote-password-required):
14560 Remove unneeded :set-after and :set properties.
14561
14562 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
14563
14564 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
14565
14566 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
14567
14568 * loadup.el: Remove leftover macos code.
14569
14570 * vc-git.el (vc-git-annotate-command): Run asynchronously.
14571 Explicitly pass the date format to git blame so that user local
14572 so that the output format can be parsed.
14573
14574 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
14575
14576 * net/dbus.el (top): Don't check for (getenv
14577 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
14578
14579 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
14580
14581 * log-edit.el (log-edit-strip-single-file-name): New var.
14582 (log-edit-insert-changelog): Use it. Bug#3571
14583
14584 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14585
14586 * subr.el (read-passwd): Use read-key so keypad keys work as well.
14587 Bug#3287
14588
14589 * help.el (help-print-return-message): Rename from
14590 print-help-return-message.
14591
14592 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
14593 cvs-mode-map parent hack.
14594 (log-view-mode): Derive from special-mode.
14595
14596 * linum.el (linum-mode): window-size-change-functions is redundant.
14597 Adapt to new window-configuration-change-hook behavior.
14598 (linum-after-size, linum-after-config): Remove.
14599
14600 * imenu.el (imenu-example--name-and-position)
14601 (imenu-example--lisp-extract-index-name)
14602 (imenu-example--create-lisp-index, imenu-example--create-c-index):
14603 Mark as obsolete.
14604
14605 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
14606 (inferior-prolog-mode): Use it.
14607 (inferior-prolog-load-file): Reset list of errors.
14608
14609 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14610
14611 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
14612
14613 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
14614
14615 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
14616
14617 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
14618 is running already.
14619
14620 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14621
14622 * subr.el (listify-key-sequence-1): Use normal syntax since those
14623 integers are nowadays always represented by the same (positive) number
14624 on all platforms.
14625 (read-key-empty-map): New const.
14626 (read-key-delay): New var.
14627 (read-key): New function.
14628 (force-mode-line-update): Use with-current-buffer.
14629 (locate-user-emacs-file): Don't forget to abbreviate the file name.
14630 (start-process-shell-command, start-file-process-shell-command):
14631 Discourage the use of command-args.
14632
14633 2009-08-19 Glenn Morris <rgm@gnu.org>
14634
14635 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
14636
14637 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14638
14639 * simple.el (choose-completion-string): Don't rely on
14640 minibuffer-completing-file-name and ad-hoc checks to decide whether
14641 to continue completion or not.
14642
14643 * minibuffer.el (minibuffer-hide-completions): New function.
14644 (completion--do-completion): Use it.
14645 (completions-annotations): New face.
14646 (completion--insert-strings): Use it.
14647 (completion-pcm--delim-wild-regex): Add docstring.
14648 (completion-pcm--string->pattern): Add support for 0-width delimiters
14649 in completion-pcm--delim-wild-regex.
14650
14651 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
14654 Remove unused var `buffer-modified-p'.
14655
14656 * minibuffer.el (completion--do-completion): Move point for the #b001
14657 case as well (bug#4176).
14658 (minibuffer-complete, minibuffer-complete-word): Don't move point.
14659
14660 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
14661
14662 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
14663 and :session buses.
14664
14665 2009-08-18 Kenichi Handa <handa@m17n.org>
14666
14667 * international/ucs-normalize.el (ucs-normalize-version):
14668 Change to 1.1.
14669 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
14670 (utf-8-hfs): Make it perform normalization on encoding too.
14671
14672 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
14673 (sentence-end-without-space): Delete duplicated chars.
14674 (sentence-end-base): Likewise.
14675
14676 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
14677 (html-mode): Delete duplicated chars from sentence-end-base.
14678
14679 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
14680 (texinfo-mode): Delete duplicated chars from sentence-end-base.
14681
14682 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
14683
14684 * files.el (hack-one-local-variable): If the mode function is for
14685 a minor mode, pass it an argument (Bug#4148).
14686
14687 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
14688
14689 * net/tramp.el (tramp-register-completion-file-name-handler):
14690 Check also for (member 'partial-completion completion-styles).
14691
14692 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14693
14694 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
14695 abbrev (Bug#3943).
14696
14697 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
14698
14699 * progmodes/cperl-mode.el: Merge upstream 6.2.
14700 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
14701 (cperl-forward-re): Check cperl-brace-recursing.
14702 (cperl-highlight-charclass): New function.
14703 (cperl-find-pods-heres): Use it.
14704 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
14705 (cperl-beautify-regexp-piece): Fix column calculation.
14706 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
14707 (cperl-beautify-level): Don't process entire regexp.
14708 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
14709 calling man.
14710 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
14711 (cperl-init-faces): Build a list in the normal way.
14712
14713 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14714
14715 * calendar/parse-time.el (parse-time-string-chars): Save match
14716 data.
14717
14718 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
14719
14720 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
14721 (sql-product): Use it.
14722 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
14723 (sql-set-product): Add completion.
14724 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
14725 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
14726 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
14727 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
14728 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
14729 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
14730 (sql-highlight-db2-keywords): Remove.
14731 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
14732 (sql-highlight-product): Use derived-mode-p.
14733 (sql-set-sqli-buffer): Use with-current-buffer.
14734 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
14735 Simplify.
14736
14737 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
14738
14739 * term.el: Fix commenting convention, turn comments into docstrings.
14740
14741 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
14742
14743 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
14744
14745 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
14746
14747 * calendar/parse-time.el (parse-time-string-chars): Compute using
14748 character classes, to handle non-ascii characters (Bug#3190).
14749
14750 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14751
14752 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
14753 another heredoc if the user adds another < (Bug#3226).
14754
14755 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
14756 Don't initialize based on window-system (Bug#4124).
14757
14758 * facemenu.el (facemenu-read-color): Use a completion function
14759 that accepts any defined color, such as RGB triplets (Bug#3677).
14760
14761 * files.el (get-free-disk-space): Change fallback default
14762 directory to /. Expand DIR argument before switching to fallback.
14763 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
14764
14765 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
14766
14767 * files.el (load-library): Doc fix.
14768
14769 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
14770
14771 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
14772 (viper-if-string): Redefine C-s in the minibuffer to insert the last
14773 incremental search string.
14774
14775 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
14776 XEmacs.
14777
14778 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
14779 (ediff-merge-region-is-non-clash)
14780 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
14781 Also check if the job is really a merge job.
14782
14783 * ediff.el (ediff-current-file): New function.
14784
14785 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
14786
14787 * progmodes/js.el: Edit docstrings throughout to follow Emacs
14788 conventions.
14789 (js-insert-and-indent): Delete function.
14790 (js-mode-map): Don't bind keys to js-insert-and-indent.
14791 (js-beginning-of-defun): Rename from js--beginning-of-defun.
14792 (js-end-of-defun): Rename from js--end-of-defun.
14793 (js-auto-indent-flag): Delete variable.
14794
14795 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
14796
14797 * progmodes/js.el: Remove proclaim statement.
14798 Defvar which-func-imenu-joiner-function to silence compiler.
14799
14800 * files.el (auto-mode-alist): Use js-mode for .js files.
14801
14802 * progmodes/js2-mode.el: Remove file.
14803
14804 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
14805
14806 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
14807
14808 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
14809
14810 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
14811 Karl Landstrom <karl.landstrom@brgeight.se>
14812
14813 * progmodes/js.el: New file.
14814
14815 2009-08-14 Mark A. Hershberger <mah@everybody.org>
14816
14817 * timezone.el (timezone-parse-date): Add ability to understand ISO
14818 basic format (minimal separators) dates in addition to the
14819 already-supported extended format dates.
14820
14821 2009-08-14 Eli Zaretskii <eliz@gnu.org>
14822
14823 * international/ucs-normalize.el: Add a `coding' file variable.
14824
14825 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
14826
14827 2009-08-14 Sam Steingold <sds@gnu.org>
14828
14829 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
14830
14831 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
14832
14833 * faces.el (help-argument-name): Define it here instead of
14834 help-fns.el, because in daemon mode help-fns.el may be loaded when
14835 faces are still uninitialized (Bug#1078).
14836
14837 * help-fns.el (help-argument-name): Move defface to faces.el.
14838
14839 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
14840
14841 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
14842 create buffer with a pty but no process so that GDB can make the
14843 inferior the controlling process.
14844
14845 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
14846
14847 * international/ucs-normalize.el: New file.
14848
14849 2009-08-13 Richard Stallman <rms@gnu.org>
14850
14851 * mail/rmail.el (rmail-get-attr-names):
14852 Accept an attribute header that is too short.
14853
14854 * mail/rmail.el (rmail-forget-messages):
14855 Ignore nil elt in rmail-message-vector. Use dotimes.
14856
14857 * progmodes/compile.el (compilation-goto-locus):
14858 Use next-error-move-function.
14859
14860 * simple.el (next-error-move-function): New variable.
14861
14862 2009-08-12 Juri Linkov <juri@jurta.org>
14863
14864 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
14865 always non-nil. (Bug#4052)
14866
14867 * replace.el (read-regexp): Return empty string when
14868 `default-value' is nil.
14869 (keep-lines-read-args): Don't use empty string as the
14870 default value for `read-regexp'. (Bug#2495)
14871
14872 2009-08-12 Juri Linkov <juri@jurta.org>
14873
14874 * international/mule-cmds.el (ucs-insert): Change arguments
14875 from `arg' to `character', `count', `inherit' to be the same
14876 as in `insert-char'. Doc fix. (Bug#4039)
14877
14878 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
14879
14880 2009-08-12 Juri Linkov <juri@jurta.org>
14881
14882 * files-x.el: New file.
14883
14884 * files.el: Move code that deals with adding/deleting
14885 file/directory-local variables to files-x.el.
14886
14887 * Makefile.in (ELCFILES): Add files-x.elc.
14888
14889 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
14890
14891 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
14892 to use `goto-line'.
14893 (gdb-place-breakpoints, gdb-get-location): Rewritten without
14894 `goto-line'.
14895 (gdb-invalidate-disassembly): Do not refresh upon receiving
14896 'update signal. Instead, update all disassembly buffers only after
14897 threads list.
14898 (gdb): Send -target-detach when buffer is killed (Bug#3794).
14899 (gdb-starting): Moved -data-list-register-names...
14900 (gdb-stopped): ...here so it's sent when first thread stops.
14901 (gdb-registers-handler-custom): Do nothing if register names are
14902 unknown yet.
14903
14904 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
14905 from `gdb-mi.el' to avoid extra tangling.
14906
14907 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
14908 change which breaks `gud-def' definitions used in `gdb'.
14909 (gdb-update-gud-running): No extra fuss for updating frame number.
14910
14911 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
14912
14913 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
14914 (describe-language-environment-map, setup-language-environment-map)
14915 (set-coding-system-map): Move initialization into declaration.
14916 (set-language-info-alist): Last arg to define-key-after can be skipped.
14917
14918 * international/quail.el (quail-completion-1): Simplify.
14919 (quail-define-rules): Use slightly more compact code.
14920 (quail-insert-decode-map): Propertize keys, compact columns.
14921
14922 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14923 Add goto-line.
14924
14925 2009-08-10 Miles Bader <miles@gnu.org>
14926
14927 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
14928 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
14929 (js2-instance-member, js2-private-member, js2-private-function-call)
14930 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
14931 (js2-magic-paren, js2-external-variable):
14932 Remove "-face" suffix from face names.
14933 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
14934 (js2-highlight-undeclared-vars, js2-peek-token)
14935 (js2-parse-function-params, js2-mode-show-errors)
14936 (js2-mode-show-warnings, js2-make-magic-delimiter)
14937 (js2-mode-highlight-magic-parens): Update to use new face names.
14938
14939 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
14940
14941 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
14942 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
14943
14944 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
14945
14946 * subr.el: Provide hashtable-print-readable.
14947
14948 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
14949 hs-c-like-adjust-block-beginning.
14950 (hs-hide-block-at-point): Stop hiding at the beginning of
14951 hs-block-end-regexp (Bug#700).
14952
14953 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
14954
14955 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
14956 a macro.
14957 (gdb-registers-handler-custom): Do not fail when register names
14958 are unavailable.
14959
14960 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
14961
14962 * progmodes/gdb-mi.el (gdb-control-all-threads)
14963 (gdb-control-current-thread): Interactive setters for
14964 `gdb-gud-control-all-threads' to use in menu.
14965 (gdb-show-run-p): Show «Go» when process is not active.
14966 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
14967 gud/thread.xpm and gud/all.xpm.
14968
14969 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
14970
14971 * net/net-utils.el (net-utils-font-lock-keywords): New var.
14972 (nslookup-font-lock-keywords): Make it a variable.
14973 (net-utils-mode): New mode for viewing diagnostic network output.
14974 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
14975 (net-utils-run-simple): New function.
14976 (ifconfig, iwconfig, netstat, arp, route): Use it.
14977
14978 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
14979
14980 * progmodes/gdb-mi.el (gdb-read-memory-custom)
14981 (gdb-memory-set-address, def-gdb-set-positive-number)
14982 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
14983 after changing settings.
14984 (gdb-invalidate-disassembly): Update when first shown.
14985 (gdb-edit-locals-value): Fixed.
14986 (gdb-registers-handler-custom): Print registers in right order and
14987 allow changing register values (only for current thread yet).
14988 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
14989 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
14990 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
14991 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
14992 info in mode name.
14993 (gdb-registers-mode-map): TAB to switch to locals.
14994
14995 2009-08-08 Eli Zaretskii <eliz@gnu.org>
14996
14997 * mail/rmail.el (rmail-add-mbox-headers)
14998 (rmail-set-message-counters-counter): Search for
14999 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
15000
15001 2009-08-08 Glenn Morris <rgm@gnu.org>
15002
15003 * Makefile.in (ELCFILES): Update.
15004
15005 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15006
15007 * mail/sendmail.el (mail-yank-original): Set
15008 buffer-file-coding-system from the one used by the message whose
15009 text is yanked.
15010
15011 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15012 to "windows" when "pgnuplot" is used.
15013 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15014 call accept-process-output if "pgnuplot" is used.
15015 (calc-graph-init): Don't send -display and -geometry to
15016 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
15017 running "pgnuplot -V" with shell-command-to-string.
15018
15019 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15020 the default.
15021
15022 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15023
15024 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15025 org/org-latex.elc.
15026
15027 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
15028
15029 * vc-dispatcher.el (vc-resynch-window): Update comment.
15030
15031 * term.el (term-handle-ansi-escape): Add comments with the
15032 terminfo capabilities implemented.
15033
15034 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
15035
15036 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15037 (gdb-var-create-handler): Rewritten using JSON parser.
15038 (gdb-propertize-header): Moved earlier.
15039 (gdb-set-header): Removed to avoid duplication.
15040 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15041 Refresh disassembly buffers only after threads list have been
15042 update.
15043 (gdb-threads-header, gdb-registers-header): Per-buffer header line
15044 variables.
15045
15046 2009-08-04 Juri Linkov <juri@jurta.org>
15047
15048 * files.el: Commands to add/delete file/directory-local variables.
15049 (read-file-local-variable, read-file-local-variable-value)
15050 (read-file-local-variable-mode, modify-file-local-variable)
15051 (modify-file-local-variable-prop-line)
15052 (modify-dir-local-variable): New functions.
15053 (add-file-local-variable, delete-file-local-variable)
15054 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15055 (add-dir-local-variable, delete-dir-local-variable)
15056 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15057 (copy-dir-locals-to-file-locals-prop-line): New commands.
15058
15059 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
15060
15061 * abbrev.el (insert-abbrev-table-description): Prettify output.
15062 Suggested by Karl Chen.
15063
15064 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
15065
15066 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15067 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15068 (gdb-overlay-arrow-position, gdb-thread-position)
15069 (gdb-disassembly-position): Declare variables.
15070 (gdb-wait-for-pending): Function now.
15071 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15072 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15073 compilation goes smoothly.
15074 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15075 (gdb-non-stop-setting): New customization setting which replaces
15076 `gdb-non-stop' so changing it doesn't break active GDB session.
15077 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15078 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15079 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15080 (gdb-show-threads-by-default): New customization options.
15081 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15082 routines.
15083 (gdb-get-buffer-create): Send buffers update signal when they are
15084 created.
15085 (gdb-invalidate-locals, gdb-invalidate-registers)
15086 (gdb-invalidate-breakpoints)
15087 (gdb-invalidate-threads, gdb-invalidate-disassembly)
15088 (gdb-invalidate-memory): Accept update signal.
15089 (gdb-current-context-command): Use --frame option.
15090 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15091 Implement `gdb-frame-number' selection logic.
15092 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15093 whether to show GUD toolbar buttons.
15094 (gdb-thread-exited): Unselect current thread when it exits.
15095 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15096 (gdb-mark-line): Routine which sets overlay arrow or inverses
15097 video on fringeless displays.
15098 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15099 to build aligned columns of data in GDB buffers and set text
15100 properties line-by-line.
15101 (gdb-invalidate-breakpoints)
15102 (gdb-breakpoints-list-handler-custom)
15103 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15104 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15105 (gdb-registers-handler-custom): Align data columns.
15106 (gdb-locals-handler-custom): Now prints data like in variable
15107 declarations.
15108 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15109 Removed confusing buttons.
15110 (gdb-invalidate-threads): Append --frame.
15111 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15112 between breakpoints/threads buffers.
15113 (gdb-set-window-buffer): Now can ignore dedicated windows.
15114 (gdb-propertize-header): Use `gdb-set-window-buffer'.
15115 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15116 (def-gdb-thread-buffer-gud-command): Replaces
15117 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15118 for fine thread control.
15119 (gdb-preempt-existing-or-display-buffer): New function used to
15120 display bound buffers without breaking window layout.
15121 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15122 (gdb-select-frame): New version of `gdb-frames-select' which now
15123 sets `gdb-frame-number' so commands may use --frame option instead
15124 of inner debugger state.
15125 (gdb-frame-handler): Do not set `gdb-frame-number'.
15126 (gdb-threads-mode-map): Select threads with mouse.
15127
15128 * progmodes/gud.el (gdb-gud-context-call): Declare function to
15129 avoid compilation warning.
15130 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15131 `gdb-show-stop-p`.
15132
15133 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15134 Argument `key' renamed to `buffer-type'.
15135 (gdb-current-context-buffer-name): Do not add thread info to
15136 buffer name when no thread is selected.
15137 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15138 command (bug 3794).
15139 (gdb-thread-selected): Handle `=thread-selected' notification.
15140 (gdb-wait-for-pending): New macro to deal with congestion problems.
15141 (gdb-breakpoints-list-handler-custom): Don't fail on pending
15142 breakpoints.
15143 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15144 This fixes problem similar to one described in bug 3947.
15145 (gud-menu-map): More menu items.
15146 (gdb-init-1): Reset `gdb-thread-number' to nil.
15147
15148 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15149 non-stop settings.
15150
15151 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15152 (gdb-current-context-command): Do not append --thread if
15153 `gdb-thread-number' is nil.
15154 (gdb-running-threads-count, gdb-stopped-threads-count): New
15155 variables.
15156 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15157 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15158 customization options.
15159 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15160 GUD commands.
15161 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15162 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15163 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15164 set `gdb-thread-number' and update `gud-running' properly.
15165 (gdb-running): Update threads list when new threads appear.
15166 (gdb-stopped): Support non-stop operation and new thread switching
15167 logic.
15168 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15169 (gdb-json-partial-output): New set of JSON routines.
15170 (def-gdb-auto-update-trigger): New `signal-list' optional
15171 argument.
15172 (gdb-thread-list-handler-custom): Update `gud-running',
15173 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15174 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15175 (gdb-continue-thread, gdb-step-thread): New commands for fine
15176 thread execution control.
15177 (gud-menu-map): New menu items to switch non-stop options.
15178 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15179 (gdb-send): Mimic RET properly (bug 3794).
15180
15181 * progmodes/gdb-mi.el (gdb-rules-name-maker)
15182 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15183 gdb-buffer-rules.
15184 (def-gdb-auto-update-handler): New nopreserve optional argument.
15185 (gdb-stack-list-frames-custom): Print stack from top to bottom.
15186
15187 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15188 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15189 (gdb-parent-mode): New mode to derive other GDB modes from.
15190 (gdb-display-disassembly-for-thread)
15191 (gdb-frame-disassembly-for-thread): New commands for threads
15192 buffer.
15193
15194 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15195 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15196 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15197 (gdb-update): We now store all GDB buffers in a list so that they
15198 can be updated by traversing a list instead of calling invalidate
15199 triggers explicitly.
15200 (def-gdb-trigger-and-handler): New macro to define trigger-handler
15201 pair for GDB buffer.
15202 (gdb-stack-buffer-name): Add thread information.
15203 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15204 handle pending triggers.
15205 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15206 (def-gdb-thread-buffer-simple-command)
15207 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15208 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15209 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15210 New commands which show buffers bound to thread.
15211 (gdb-stack-list-locals-regexp): Removed unused regexp.
15212
15213 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15214 (gdb-locals-buffer-name, gdb-registers-buffer-name)
15215 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15216 to (gud-comint-buffer) in *-buffer-name functions
15217 because (gdb-get-target-string) already does that.
15218 (gdb-locals-handler-custom, gdb-registers-handler-custom)
15219 (gdb-changed-registers-handler): Rewritten without regexps.
15220
15221 * progmodes/gdb-mi.el: Basic thread selection support.
15222 (gdb-thread-number): New variable.
15223 (gdb-current-context-command): New macro which adds --thread
15224 option to command.
15225 (gdb-threads-mode-map): Select thread with SPC.
15226 (gdb-thread-list-handler-custom): Mark current thread with overlay
15227 arrow. Synchronize GDB thread and Emacs thread.
15228 (gdb-select-thread): New command which selects current thread.
15229 (gdb-invalidate-frames, gdb-invalidate-locals)
15230 (gdb-invalidate-registers): Use --thread option.
15231
15232 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
15233
15234 * net/tramp.el (top): Make check for tramp-gvfs loading more
15235 robust. (Bug#3977)
15236 (tramp-handle-insert-file-contents): `unwind-protect' must be
15237 inside `with-parsed-tramp-file-name'.
15238
15239 * net/tramp-gvfs.el (top): Remove superfluous message when loading
15240 fails.
15241
15242 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
15243
15244 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15245 directory if CLASSPATH is not set.
15246
15247 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
15248
15249 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15250 New defconst.
15251 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
15252
15253 2009-08-02 Kevin Ryde <user42@zip.com.au>
15254
15255 * net/newst-backend.el (newsticker--raw-url-list-defaults):
15256 Update freshmeat link. Delete newsforge.com as it seems gone.
15257
15258 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15259
15260 * select.el (x-set-selection): Doc fix (Bug#4021).
15261
15262 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15263
15264 * help-fns.el (describe-variable): Treat list return values from
15265 dir-locals-find-file properly (Bug#4005).
15266
15267 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
15268
15269 * net/tramp.el (tramp-debug-message): Print also microseconds.
15270
15271 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
15272
15273 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15274 or END is non-nil.
15275 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15276 (tramp-get-debug-buffer): Change `outline-regexp' according to new
15277 format.
15278
15279 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15280 (tramp-get-file-property): Use it.
15281
15282 * autorevert.el (auto-revert-handler): Allow
15283 `auto-revert-tail-mode' for remote files.
15284
15285 2009-08-02 Jason Rumney <jasonr@gnu.org>
15286
15287 * minibuffer.el (read-file-name): Treat confirm options to
15288 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
15289
15290 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15291
15292 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15293 (font-lock-variable-name-face, font-lock-constant-face): Darken
15294 the colors for light backgrounds.
15295
15296 2009-08-01 Eli Zaretskii <eliz@gnu.org>
15297
15298 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15299 month names. (Bug#3987)
15300
15301 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
15302
15303 * simple.el (line-move-finish): Pass whole number to
15304 line-move-to-column.
15305 (line-move-visual): Perform hscroll to the recorded position.
15306
15307 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
15308
15309 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15310
15311 2009-07-29 Alan Mackenzie <acm@muc.de>
15312
15313 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15314
15315 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
15316
15317 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15318 (gdb-place-breakpoints): Use full path when setting breakpoints.
15319
15320 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
15321
15322 * calc/calc.el (calc-mode-map): Add keybinding for
15323 `calc-transpose-lines'.
15324
15325 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
15326
15327 * calc/calc-misc.el (calc-transpose-lines): New function.
15328
15329 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
15330
15331 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15332 Simplify check for out-of-band methods.
15333 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15334 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
15335
15336 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
15337
15338 * vc-git.el (vc-git-checkin): Fix typo.
15339
15340 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
15341
15342 * progmodes/js2-mode.el: New file.
15343
15344 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
15345
15346 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15347 (gud-menu-map): Adjust tooltip accordingly.
15348
15349 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
15350
15351 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15352 (vc-bzr-log-view-mode): Adjust log-view-file-re.
15353
15354 * add-log.el (change-log-mode-map): Add a menu.
15355
15356 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
15357
15358 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15359 function returns nil.
15360 (dbus-handle-event): Handle special return value :ignore.
15361 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15362
15363 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
15364
15365 * view.el (view-mode-enable): Don't define Helper-return-blurb if
15366 it's not needed.
15367
15368 2009-07-25 Eli Zaretskii <eliz@gnu.org>
15369
15370 Fix Bug#3888:
15371
15372 * w32-vars.el (x-select-enable-clipboard): Doc fix.
15373
15374 * term/pc-win.el (x-display-name, x-colors)
15375 (x-select-enable-clipboard, x-select-text): Doc fix.
15376
15377 * term/common-win.el (x-display-name, x-colors): Doc fix.
15378
15379 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15380 (xw-defined-colors): Doc fix.
15381
15382 * w32-fns.el (x-select-text, x-setup-function-keys)
15383 (x-get-selection, x-set-selection): Doc fix.
15384
15385 * term/x-win.el (x-select-text, x-setup-function-keys)
15386 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15387
15388 * select.el (x-set-selection): Doc fix.
15389
15390 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
15391
15392 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15393 instead of "IsNSSSupportAvailable". Avahi ought to work also when
15394 "IsNSSSupportAvailable" method is not available. Reported by
15395 Steve Youngs <steve@sxemacs.org>.
15396
15397 2009-07-24 Kenichi Handa <handa@m17n.org>
15398
15399 * international/characters.el: Fix setting of category ?C, ?|, ?K,
15400 and ?H. Fix setting of case for Latin Extended and Greek Extended.
15401 (build-unicode-category-table): Fix range checks.
15402
15403 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
15404
15405 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
15406 the buffer we try to sync is current when calling
15407 vc-resynch-buffer.
15408
15409 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
15410 not show up to date files.
15411
15412 2009-07-24 Glenn Morris <rgm@gnu.org>
15413
15414 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
15415 Add autoload cookies. If necessary, initialize.
15416 (elint-log): Handle non-file buffers.
15417 (elint-initialize): Add optional argument to reinitialize.
15418 (elint-find-builtin-variables): Save excursion.
15419
15420 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
15421
15422 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
15423 for Lint.
15424
15425 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
15426
15427 * vc.el (vc-print-log-internal): New function, split out from ...
15428 (vc-print-log): ... here.
15429 (vc-dir-move-to-goal-column): Declare.
15430
15431 * vc-git.el (vc-git-add-signoff): New variable.
15432 (vc-git-checkin): Use it.
15433 (vc-git-toggle-signoff): New function.
15434 (vc-git-extra-menu-map): Bind it to menu.
15435 (vc-git--run-command-string): Accept a nil FILE argument.
15436 (vc-git-stash-list): New function.
15437 (vc-git-dir-extra-headers): Use it.
15438
15439 2009-07-23 Glenn Morris <rgm@gnu.org>
15440
15441 * help-fns.el (describe-variable): Describe ignored and risky local
15442 variables in a similar way to that in which we describe safe ones.
15443
15444 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
15445 (byte-compile-output-file-form, byte-compile-output-docform)
15446 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
15447 Give some more local variables with common names a "bytecomp-" prefix,
15448 so as not to shadow things during compilation.
15449 * emacs-lisp/cl-macs.el (load-time-value)
15450 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
15451 `outbuffer' to `bytecomp-outbuffer'.
15452
15453 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
15454 since the next two variables cover them automatically now.
15455 (elint-builtin-variables, elint-autoloaded-variables): New.
15456 (elint-unknown-builtin-args): Remove all members, since they can be
15457 parsed automatically now.
15458 (elint-extra-errors): New.
15459 (elint-env-add-env, elint-env-add-macro): Use cadr.
15460 (elint-current-buffer): Use or. Change final message.
15461 (elint-get-top-forms): Use line-end-position.
15462 (elint-init-env): Use cadr. Handle autoload, declare-function,
15463 and defalias.
15464 (elint-add-required-env): Doc fix. Use or. Standardize error.
15465 (regexp-assoc): Remove unused function.
15466 (elint-top-form): Set elint-current-pos, to record the start of the
15467 top-level form, for compilation-mode.
15468 (elint-form): Trap errors in macro expansion. Use dolist.
15469 (elint-unbound-variable): Use elint-builtin-variables and
15470 elint-autoloaded-variables.
15471 (elint-get-args): Use cadr, or.
15472 (elint-check-cond-form): Use dolist, cadr.
15473 (elint-check-condition-case-form): Doc fix. Use cadr.
15474 Use elint-extra-errors.
15475 (elint-log): New function.
15476 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
15477 Distinguish errors and warnings.
15478 (elint-log-message): Use with-current-buffer. Inhibit read-only.
15479 Use a bytecomp-style format.
15480 (elint-clear-log): Preserve default-directory. Inhibit read-only.
15481 (elint-get-log-buffer): Use compilation mode. Disable undo.
15482 Don't truncate lines.
15483 (elint-initialize): Set builtin and autoloaded variable lists.
15484 Only process elint-unknown-builtin-args if non-nil.
15485 (elint-find-builtin-variables, elint-find-autoloaded-variables):
15486 New functions.
15487 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
15488
15489 2009-07-22 Kevin Ryde <user42@zip.com.au>
15490
15491 * net/newst-backend.el (newsticker--parse-atom-1.0)
15492 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
15493 (newsticker--parse-rss-1.0):
15494 * progmodes/idlwave.el (idlwave-mode):
15495 * progmodes/idlw-shell.el (idlwave-shell-mode):
15496 * progmodes/vera-mode.el (vera-mode):
15497 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
15498 * progmodes/vhdl-mode.el (vhdl-mode):
15499 * textmodes/table.el (table-generate-source)
15500 (table--warn-incompatibility):
15501 Hyperlink urls in docstrings with URL `...'.
15502
15503 2009-07-22 Glenn Morris <rgm@gnu.org>
15504
15505 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
15506 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
15507 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
15508 Remove leading * from defcustom docs.
15509
15510 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
15511
15512 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
15513 defcustom doc.
15514 (list-load-path-shadows): Optionally, just return shadows as a string.
15515
15516 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
15517
15518 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
15519
15520 * mail/rmailedit.el (rmail-edit-mode): Use
15521 auto-save-include-big-deletions.
15522
15523 * mail/rmail.el (rmail-variables): Use
15524 auto-save-include-big-deletions.
15525
15526 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
15527 changes.
15528
15529 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
15530
15531 * calc/calc.el (calc-undo-length): New variable.
15532 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
15533
15534 2009-07-21 Richard Stallman <rms@gnu.org>
15535
15536 * files.el (auto-save-mode): Handle buffer-save-size = -2
15537 for toggling mode.
15538
15539 2009-07-21 Glenn Morris <rgm@gnu.org>
15540
15541 * textmodes/ispell.el (ispell-looking-back): Update declaration.
15542
15543 * calendar/todo-mode.el (calendar-current-date): Update declaration.
15544
15545 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
15546 silence compiler. Instead...
15547 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
15548 (ps-print-ensure-fontified): Update for above function name changes.
15549
15550 * printing.el (pr-mh-get-msg-num, pr-mh-show)
15551 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
15552 silence compiler. Instead...
15553 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
15554 (mh-show-buffer): Only define for compiler.
15555 (pr-mh-current-message): Update for above function name changes.
15556
15557 * files.el (abort-if-file-too-large): Explicitly pass `filename'
15558 as an argument.
15559 (find-file-noselect, insert-file-1): Update for above change.
15560
15561 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
15562
15563 * mail/mailclient.el (mailclient-send-it): Fix message.
15564
15565 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
15566 (edebug-eval): Check cl-debug-env is bound.
15567 (print-level, print-circle): Don't redefine built-in variables.
15568
15569 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
15570 (custom-print-vectors): Remove old comments from doc.
15571
15572 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
15573 (emerge-version): Make the variable an obsolete alias for the
15574 emacs-version variable. Make the function obsolete.
15575 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
15576 Emerge options, rather than merging in into the main Options menu.
15577 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
15578 and auto advance modes. Disable edit/fast items when not relevant.
15579
15580 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
15581
15582 * term/vt420.el (terminal-init-vt420): Fix typo.
15583
15584 2009-07-20 Sam Steingold <sds@gnu.org>
15585
15586 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
15587 variable (removed from compile.el on 2004-03-11).
15588
15589 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
15590
15591 * files.el (hack-local-variables-filter): Fix last change.
15592
15593 2009-07-19 Juri Linkov <juri@jurta.org>
15594
15595 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
15596 (dir-local-variables-alist): New buffer-local variable.
15597 (hack-local-variables-filter): If variable is not dir-local,
15598 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
15599 because file-local overrides dir-local.
15600 (c-postprocess-file-styles) <declare-function>:
15601 Remove obsolete declaration.
15602 (hack-dir-local-variables): Add dir-local variable/value pair to
15603 `dir-local-variables-alist' and remove duplicates. Doc fix.
15604
15605 * help-fns.el (describe-variable): Add information about
15606 file-local and dir-local variables.
15607
15608 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
15609
15610 * files.el (hack-local-variables-filter): Rewrite.
15611
15612 2009-07-19 Glenn Morris <rgm@gnu.org>
15613
15614 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
15615 Silence compiler by only defining on XEmacs.
15616
15617 * international/mule.el (auto-coding-regexp-alist): Only match
15618 BABYL... at the start of buffer, not of lines. (Bug#3790)
15619
15620 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
15621 non-calendar buffers (Bug#3862). Restore "not on a date" message.
15622 (cal-menu-context-mouse-menu): Doc fix.
15623
15624 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
15625
15626 * simple.el (mail-user-agent): Doc fix. Set :version tag.
15627
15628 2009-07-18 Juri Linkov <juri@jurta.org>
15629
15630 * info.el: Virtual Info keyword finder.
15631 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
15632 (Info-finder-file): New variable.
15633 (Info-finder-find-file): New function.
15634 (finder-known-keywords, finder-package-info)
15635 (find-library-name, lm-commentary): Use defvar and
15636 declare-function to silence compiler warnings.
15637 (Info-finder-find-node): New function.
15638 (info-finder): New command.
15639
15640 * subr.el (process-kill-buffer-query-function): New function.
15641 (add-hook)<kill-buffer-query-functions>: Add hook
15642 `process-kill-buffer-query-function'.
15643
15644 2009-07-18 Alan Mackenzie <acm@muc.de>
15645
15646 * progmodes/cc-mode.el (c-before-hack-hook)
15647 (c-postprocess-file-styles): Give invocation of `c-set-style'
15648 DONT-OVERRIDE parameter of t. Already set style variables will
15649 thus not be overridden by style settings given by `c-file-syle'.
15650
15651 * files.el (hack-local-variables-filter): Remove entries with
15652 duplicate keys from `file-local-variables-alist'.
15653
15654 2009-07-18 Eli Zaretskii <eliz@gnu.org>
15655
15656 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
15657 x-set-selection if display-selections-p returns nil for the
15658 current frame.
15659
15660 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
15661
15662 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
15663
15664 2009-07-18 Eli Zaretskii <eliz@gnu.org>
15665
15666 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
15667 Accept nil in addition to a regexp.
15668 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
15669 Accept nil in addition to a regexp.
15670 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
15671 buffers that have an associated file. Handle nil values of
15672 desktop-buffers-not-to-save and desktop-files-not-to-save.
15673 (Bug#3833)
15674
15675 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15676 (x-disown-selection-internal): New functions.
15677
15678 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
15679
15680 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
15681 warning.
15682 (gdb-breakpoints-header): Move forward to avoid compiler warning.
15683 (gdb-make-header-line-mouse-map): Remove duplicate definition.
15684
15685 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
15686
15687 * simple.el (set-mark): Revert last change.
15688
15689 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
15690
15691 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
15692 rendering of pngs is not possible instead of messaging a long
15693 description.
15694
15695 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
15696
15697 * w32-fns.el (x-selection-owner-p): New function.
15698
15699 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
15700 (mouse-yank-at-click, mouse-yank-primary): If
15701 select-active-regions is non-nil, deactivate the mark before
15702 insertion.
15703
15704 * simple.el (deactivate-mark, set-mark): Only save selection if we
15705 own it.
15706
15707 2009-07-17 Kenichi Handa <handa@m17n.org>
15708
15709 * case-table.el (describe-buffer-case-table): Fix for the case
15710 that KEY is a cons.
15711
15712 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
15713
15714 * vc-rcs.el (vc-rcs-find-file-hook):
15715 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
15716
15717 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
15718
15719 * net/tramp.el (tramp-wait-for-output): Handle the case when
15720 commands do not return a newline but a null byte before the shell
15721 prompt. (Bug#3858)
15722
15723 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15724
15725 * term/ns-win.el (ns-set-alpha): Don't declare.
15726 (ns-set-background-alpha): Remove function.
15727
15728 2009-07-16 Kevin Ryde <user42@zip.com.au>
15729
15730 * emacs-lisp/copyright.el (copyright-update): Save match-data across
15731 y-or-n-p, for safety.
15732
15733 2009-07-16 Richard Stallman <rms@gnu.org>
15734
15735 * files.el (auto-save-mode): If buffer-saved-size is -2,
15736 don't clobber it.
15737
15738 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
15739 (rmail-retry-ignored-headers): Add more uninteresting fields.
15740
15741 2009-07-15 Jari Aalto <jari.aalto@cante.net>
15742
15743 * net/rcirc.el (rcirc): Use history variables.
15744 (rcirc-server-name-history, rcirc-nick-name-history)
15745 (rcirc-server-port-history): New variables.
15746
15747 2009-07-15 Kenichi Handa <handa@m17n.org>
15748
15749 * international/mule-cmds.el (set-language-environment-charset):
15750 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
15751 ignore them.
15752
15753 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
15754 Delete unibyte-display.
15755
15756 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
15757
15758 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
15759
15760 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
15761
15762 * simple.el (deactivate-mark): Optional argument FORCE.
15763 (set-mark): Use deactivate-mark.
15764
15765 * info.el (Info-search): No need to check transient-mark-mode
15766 before calling deactivate-mark.
15767
15768 * select.el (x-set-selection): Doc fix.
15769 (x-valid-simple-selection-p): Allow buffer values.
15770 (xselect--selection-bounds): Handle buffer values. Suggested by
15771 David De La Harpe Golden.
15772
15773 * mouse.el (mouse-set-region, mouse-drag-track): Call
15774 copy-region-as-kill before setting the mark, to let
15775 select-active-regions work.
15776
15777 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
15778
15779 * simple.el (deactivate-mark): If select-active-regions is
15780 non-nil, copy the selection data into a string.
15781 (activate-mark): If select-active-regions is non-nil, set the
15782 selection to the current buffer.
15783 (set-mark): Update selection if select-active-regions is non-nil.
15784
15785 * select.el (x-valid-simple-selection-p): Allow buffer values.
15786
15787 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
15788
15789 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
15790 and more featureful message-mode.
15791
15792 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
15793
15794 * select.el (x-set-selection): Doc fix.
15795 (x-valid-simple-selection-p): Disallow selection data consisting
15796 of a list or cons of integers, since that is not used.
15797 (xselect--selection-bounds, xselect--int-to-cons): New functions.
15798 (xselect-convert-to-string, xselect-convert-to-length)
15799 (xselect-convert-to-filename, xselect-convert-to-charpos)
15800 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
15801
15802 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
15803
15804 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
15805 output in -break-info command (Emacs bug #3794).
15806
15807 2009-07-14 Glenn Morris <rgm@gnu.org>
15808
15809 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
15810 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
15811 (edebug-print-length, edebug-print-level, edebug-print-circle)
15812 (edebug-sit-for-seconds, edebug-view-outside)
15813 (edebug-bounce-point, edebug-set-global-break-condition)
15814 (edebug-Go-nonstop-mode, edebug-trace-mode)
15815 (edebug-Trace-fast-mode, edebug-continue-mode)
15816 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
15817 (edebug-visit-eval-list): Doc fixes.
15818
15819 * subr.el (def-edebug-spec): Doc fix.
15820
15821 2009-07-14 Kenichi Handa <handa@m17n.org>
15822
15823 * international/characters.el: Fix setting of category ?C.
15824
15825 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
15826
15827 * term/ns-win.el (x-select-font): defalias x-select-font to
15828 ns-popup-font-panel instead of generate-fontset-menu.
15829
15830 2009-07-12 Eli Zaretskii <eliz@gnu.org>
15831
15832 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
15833
15834 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
15835
15836 * arc-mode.el (archive-find-type): Allow for a PK00 string before
15837 the PK\003\004 header (Bug#3770).
15838
15839 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
15840
15841 * pcomplete.el (pcomplete-comint-setup): Check for
15842 shell-dynamic-complete-filename too.
15843
15844 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
15845
15846 * simple.el (temporary-goal-column): Change the value for
15847 line-move-visual to a cons cell.
15848 (line-move-visual): Record or set the window hscroll, if
15849 necessary (Bug#3494).
15850 (line-move-1): Handle cons value of temporary-goal-column.
15851
15852 2009-07-11 Kenichi Handa <handa@m17n.org>
15853
15854 * international/mule-diag.el (describe-character-set): Don't show
15855 width.
15856
15857 2009-07-10 Sam Steingold <sds@gnu.org>
15858
15859 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15860 Omake sometimes indents the errors it prints, so allow all
15861 regexps to start with spaces.
15862
15863 2009-07-10 Eli Zaretskii <eliz@gnu.org>
15864
15865 * cus-edit.el (customize-changed-options-previous-release):
15866 Bump value to 22.1. (Bug#3804)
15867
15868 2009-07-08 Sam Steingold <sds@gnu.org>
15869
15870 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
15871 to be a cons cell (test . ignored-directory) to selectively ignore
15872 some directories depending on the location of the search.
15873
15874 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
15875
15876 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
15877 remote user is root, on the local host.
15878 (tramp-local-host-p): Either the local user or the remote user
15879 must be root. (Bug#3771)
15880
15881 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
15882
15883 * progmodes/gdb-mi.el (gdb): Remove description of
15884 gdb-use-separate-io-buffer.
15885 (menu): Don't allow toggling of or enable
15886 gdb-use-separate-io-buffer from menubar.
15887
15888 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
15889
15890 * mail/unrmail.el (unrmail): Make sure the message ends with two
15891 newlines (Bug#3769).
15892
15893 2009-07-08 Glenn Morris <rgm@gnu.org>
15894
15895 * calendar/calendar.el (calendar-current-date): Rework previous change.
15896
15897 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
15898
15899 * calendar/calendar.el (calendar-current-date):
15900 Add an optional argument giving an offset from today.
15901
15902 2009-07-08 Glenn Morris <rgm@gnu.org>
15903
15904 * tutorial.el (tutorial--describe-nonstandard-key):
15905 Adjust the message for when a key has been unbound.
15906 (help-with-tutorial): Hide the arch-tag.
15907
15908 2009-07-08 Kenichi Handa <handa@m17n.org>
15909
15910 * international/fontset.el (setup-default-fontset): For each
15911 script, append (not set) font-specs.
15912
15913 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
15914 docstring.
15915
15916 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
15917
15918 * progmodes/gdb-mi.el (gdb-init-1): Move sending
15919 -data-list-register-names to ...
15920 (gdb-starting): ... here because GDB 7.0 requires execution to
15921 have started when using this MI command.
15922 (gdb-set-header): New function to distinguish select and
15923 unselected tabs in gdb buffers.
15924 (gdb-propertize-header): New macro that uses gdb-set-header.
15925 (gdb-breakpoints-header, gdb-locals-header): Use it.
15926 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
15927
15928 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
15929
15930 * Makefile.in (ELCFILES): Remove fadr.elc.
15931
15932 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
15933
15934 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
15935 may contain frame information, so `string-match' should be used.
15936 (gdb-update): Disassembly is invalidated through
15937 `gdb-get-selected-frame'.
15938 (gdb-pad-string): New function to pad string with spaces.
15939 (gdb-invalidate-disassembly): Invalidate only if the buffer
15940 exists.
15941 (gdb-disassembly-handler-custom): Column alignment.
15942 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
15943 placing new ones.
15944 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
15945 end of line, too.
15946 (gdb-frame-handler): Match convention to for disassembly buffer
15947 mode name.
15948 (gdb-stack-list-frames-handler): Rewritten without regexps.
15949 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
15950 not highlight breakpoints without line information.
15951 (gdb-input): Add trailing newline to command.
15952
15953 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
15954 buffer properly.
15955 (gdb-breakpoints-list-handler-custom): Replacement for
15956 `gdb-break-list-handler'. Using real parser instead of regexps
15957 now.
15958 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
15959 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
15960 to place breakpoints.
15961 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
15962 functions.
15963 (gdb-disassembly-handler-custom): Show overlay arrow.
15964 (gdb-disassembly-place-breakpoints): Show breakpoints in
15965 disassembly buffer.
15966 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
15967 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
15968 instead of parsing breakpoints buffer. Fixed old menu references
15969 in `gud-menu-map'.
15970
15971 * fadr.el: Remove.
15972
15973 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
15974 (gdb-memory-address): New variable which holds top address of
15975 memory page shown in memory buffer.
15976 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
15977 customization variables.
15978 New functions:
15979 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
15980 display the memory buffer.
15981 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
15982 buffer display parameters.
15983 (def-gdb-memory-format, gdb-memory-format-binary)
15984 (gdb-memory-format-octal, gdb-memory-format-unsigned)
15985 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
15986 Functions for setting memory buffer format.
15987 (gdb-memory-unit-word, gdb-memory-unit-halfword)
15988 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
15989 unit size used in memory buffer.
15990 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
15991 to next/previous page of memory buffer.
15992 Now using (bindat-get-field) instead of fadr functions.
15993
15994 2009-07-07 Sam Steingold <sds@gnu.org>
15995
15996 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
15997 non-top-level files.
15998
15999 2009-07-07 Kenichi Handa <handa@m17n.org>
16000
16001 * international/mule-cmds.el (reset-language-environment): Put
16002 the highset priority to the charset iso-8859-1.
16003
16004 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16005
16006 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16007 to the end of the line when locating the block (Bug#700).
16008
16009 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
16010
16011 * net/tramp.el (tramp-handle-write-region): Flush file properties
16012 in case of short track.
16013
16014 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
16015
16016 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16017 Coded custom representation of verilog error regular expressions
16018 to work with Emacs-22's new format.
16019 (verilog-error-regexp-xemacs-alist): Coded custom representation
16020 of verilog error regular expressions to work with XEmacs format.
16021 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16022 error recognition into XEmacs.
16023 (verilog-error-regexp-add-emacs): Hook routine to install verilog
16024 error recognition into Emacs-22.
16025
16026 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16027
16028 * woman.el: Remove stand-alone closing parentheses.
16029 (woman-file-name, woman2-format-paragraphs)
16030 (woman-leave-blank-lines): Code cleanup.
16031 (woman-use-own-frame): Change default to nil.
16032 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16033 defaults to inherit from default faces.
16034 (woman2-process-escapes): Consume the newline after a stand-alone
16035 filler character (Bug#3651).
16036
16037 2009-07-06 Glenn Morris <rgm@gnu.org>
16038
16039 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16040 (top-level): Move provide to the end.
16041 (ffap): Remove defunct URL from custom group.
16042
16043 * subr.el (eval-after-load): Doc fix.
16044
16045 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
16046
16047 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16048 `calc-embedded-word' is called twice.
16049
16050 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16051
16052 * files.el (find-alternate-file-other-window, find-alternate-file):
16053 Obey confirm-nonexistent-file-or-buffer.
16054
16055 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
16056
16057 * dired-aux.el (dired-show-file-type): Handle remote files.
16058
16059 2009-07-05 Jari Aalto <jari.aalto@cante.net>
16060
16061 * desktop.el (desktop-globals-to-save):
16062 Add file-name-history (Bug#2750).
16063
16064 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
16065
16066 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16067
16068 2009-07-04 Johan Bockgård <bojohan@gnu.org>
16069
16070 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16071 property on entire argument since this is what eshell-lisp-command
16072 expects.
16073
16074 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
16075
16076 * net/tramp-gvfs.el (tramp-gvfs-methods)
16077 (tramp-gvfs-zeroconf-domain)
16078 (tramp-bluez-discover-devices-timeout): Add version flag.
16079 (tramp-gvfs-handler-mounted-unmounted)
16080 (tramp-gvfs-connection-mounted-p): Polish handling of
16081 incompatibilities between GVFS 0.2 and 1.0.
16082
16083 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
16084
16085 * cus-start.el (all): Add make-pointer-invisible.
16086
16087 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
16088
16089 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16090 formatted correctly.
16091
16092 2009-07-02 Juri Linkov <juri@jurta.org>
16093
16094 * info.el: Virtual Info files and nodes.
16095 (Info-virtual-files, Info-virtual-nodes): New variables.
16096 (Info-current-node-virtual): New variable.
16097 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16098 New functions.
16099 (Info-file-supports-index-cookies): Use Info-virtual-file-p
16100 to check for a virtual file instead of checking a fixed list
16101 of node names.
16102 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16103 instead of ad-hoc processing of "dir" and (apropos history toc).
16104 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16105 instead of ad-hoc processing of "dir" and (apropos history toc).
16106 Reread a file when moving from a virtual node.
16107 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16108 (Info-directory-toc-nodes, Info-directory-find-file)
16109 (Info-directory-find-node): New functions.
16110 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16111 (Info-history): Move part of code to
16112 `Info-history-find-node'.
16113 (Info-history-toc-nodes, Info-history-find-file)
16114 (Info-history-find-node): New functions.
16115 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16116 (Info-toc): Move part of code to `Info-toc-find-node'.
16117 (Info-toc-find-node): New function.
16118 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
16119 the current Info file name to references because now the node
16120 "*TOC*" belongs to the same Info manual.
16121 (Info-toc-build): Rename from `Info-build-toc'.
16122 (Info-toc-nodes): Rename input argument `file' to `filename'.
16123 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16124 instead of ad-hoc processing of ("dir" apropos history toc).
16125 (Info-index-nodes): Use Info-virtual-file-p
16126 to check for a virtual file instead of checking a fixed list
16127 of node names.
16128 (Info-index-node): Add check for `Info-current-node-virtual'.
16129 Raise `save-match-data' higher up the tree to contain
16130 `search-forward' too (bug fix).
16131 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16132 (Info-virtual-index-nodes): New variable.
16133 (Info-virtual-index-find-node, Info-virtual-index): New functions.
16134 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16135 (Info-apropos-file, Info-apropos-nodes): New variables.
16136 (Info-apropos-toc-nodes, Info-apropos-find-file)
16137 (Info-apropos-find-node, Info-apropos-matches): New functions.
16138 (info-apropos): Move part of code to `Info-apropos-find-node' and
16139 `Info-apropos-matches'.
16140 (Info-mode-map): Bind "I" to `Info-virtual-index'.
16141 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16142 for a virtual file instead of checking a fixed list of node names.
16143
16144 * simple.el (async-shell-command): New command.
16145
16146 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16147
16148 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16149 instead of `mount-info'.
16150
16151 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
16152
16153 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16154 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16155
16156 2009-07-02 Kenichi Handa <handa@m17n.org>
16157
16158 * international/mule.el (set-keyboard-coding-system): Force *-unix
16159 coding-system to avoid eol conversion.
16160
16161 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
16162
16163 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16164 Add handler for `process-file', `shell-command' and
16165 `start-file-process'.
16166 (tramp-gvfs-handle-shell-command)
16167 (tramp-gvfs-handle-start-file-process)
16168 (tramp-gvfs-handle-process-file): New defuns.
16169 (tramp-synce-list-devices): Simplify check for existence of property.
16170
16171 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
16172
16173 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16174
16175 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
16176
16177 * language/korean.el (set-language-info-alist): Add korean-cp949,
16178 cp949 to spec.
16179
16180 2009-07-01 Kenichi Handa <handa@m17n.org>
16181
16182 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16183
16184 * international/encoded-kb.el: Deleted.
16185
16186 * international/mule.el (set-keyboard-coding-system): Perform the
16187 necessary setup here instead of calling encoded-kbd-setup-display.
16188
16189 2009-07-01 Glenn Morris <rgm@gnu.org>
16190
16191 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16192
16193 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
16194
16195 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
16196
16197 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
16198
16199 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16200 Handle also the 'rename case, when setting file modes. (Bug#3712)
16201 (tramp-default-file-modes): Remove execute permissions.
16202
16203 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16204 (top): Add a default for "synce" in `tramp-default-user-alist'.
16205 Add completion function for "synce" method.
16206 (tramp-hal-service, tramp-hal-path-manager)
16207 (tramp-hal-interface-manager, tramp-hal-interface-device):
16208 New defconst.
16209 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16210 (tramp-synce-list-devices, tramp-synce-parse-device-names):
16211 New defuns.
16212
16213 * net/trampver.el: Update release number.
16214
16215 2009-06-30 Kenichi Handa <handa@m17n.org>
16216
16217 * international/fontset.el (setup-default-fontset): Add CJK fonts
16218 for symbols and the other miscellaneous characters.
16219
16220 * language/korea-util.el (setup-korean-environment-internal):
16221 Make char-width-table suitable for Korean environments.
16222 (exit-korean-environment): Cancel above.
16223
16224 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16225 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16226 setup-function to make char-width-table suitable for respective
16227 environments, and an exit-function to cancel that.
16228
16229 * language/japan-util.el (setup-japanese-environment-internal):
16230 Call use-cjk-char-width-table with arg `ja_JP'.
16231
16232 * international/characters.el (cjk-char-width-table): Delete it.
16233 (cjk-char-width-table-list): New variable.
16234 (use-cjk-char-width-table): New arg local-name.
16235 (use-default-char-width-table): Fix for the case that Emacs is
16236 already using the default char-width-table.
16237
16238 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
16239
16240 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16241 modes mandatory. (Bug#3712)
16242
16243 2009-06-29 Alan Mackenzie <acm@muc.de>
16244
16245 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16246 correction between the visible width of TABs and their number of bytes.
16247
16248 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
16249
16250 * server.el (server-buffer-done): Prevent kill-buffer from
16251 prompting by clearing the buffer modification flag (Bug#3696).
16252
16253 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
16254
16255 * progmodes/verilog-mode.el (verilog-beg-of-statement)
16256 (verilog-endcomment-reason-re): Support unique case and priority case.
16257 (verilog-basic-complete-re): Support localparam lineup.
16258 (verilog-beg-of-statement-1): Fix for robustness, unique case.
16259 (verilog-set-auto-endcomments): Fix for unique case, always_comb
16260 commenting.
16261 (verilog-leap-to-case-head): Now support *nested* unique &
16262 priority case statements.
16263 (verilog-auto-lineup): Make just declarations the default (as it
16264 had been).
16265 (verilog-leap-to-case-head): Support priority/unique case statements.
16266 (verilog-auto-lineup): Rework to give users radio buttons to
16267 select the various styles of automatic lineup.
16268 (verilog-error-regexp-alist): Rework to support the XEmacs style
16269 of error regular expressions from compilers, lint tools &
16270 simulators. Note that GNU Emacs has made it impossible for a mode
16271 to load such things.
16272 (electric-verilog-terminate-line, verilog-indent-declaration)
16273 (verilog-auto-wiure): Rework for radio button selection of
16274 auto-lineup selection of specification of auto lineup.
16275 (verilog-beg-of-statement-1): Redesign to support proper operation
16276 in additional code, based on testing with auto-lineup.
16277 (verilog-calculate-indent, assignments & declarations)
16278 (verilog-backward-token): Enhance to support auto-lineup of
16279 assignments & declarations.
16280 (verilog-in-directive-p, verilog-at-struct-p): New function for
16281 easy test of whether we are.
16282 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16283 to support safe execution at almost anyline.
16284 (verilog-calc-1): Properly support indenting deep inside generate
16285 blocks.
16286 (verilog-init-font): Remove definition & use of verilog-init-font,
16287 as it is redundant with font-lock-defaults.
16288 (verilog-mode): Alter the definition of verilog-font-lock-defaults
16289 to avoid circular calls if syntax-ppss is a function (as is the
16290 case now in 22.x GNU Emacs) as that function would sometimes call
16291 itself, leading to (nearly) infinite recursion.
16292 (verilog-ovm-begin-re, verilog-ovm-end-re)
16293 (verilog-ovm-statement-re, verilog-leap-to-head)
16294 (verilog-backward-token): Add support for OVM macros. Some are
16295 complete statements, and others open and close scopes like begin
16296 and end.
16297 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16298 (verilog-defun-level-generate-only-re): Really fix the defun-list
16299 compilation issue.
16300 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16301 coverpoint, constraint and cross statements.
16302 (verilog-defun-level-list, verilog-generate-defun-level-list)
16303 (verilog-all-defun-level-list): Redo these specifications - it is
16304 too hard to support eval-when compile aggregation of lists also
16305 built at when-compile time.
16306 (verilog-defun-level-list): Place defconsts of variables used in
16307 building regular expressions which are built in eval-when-compile
16308 bodies in the same eval-when-compile body to facilitate compile
16309 without load.
16310 (verilog-beg-block-re-ordered): Support indenting
16311 virtual/protected tasks and functions.
16312 (verilog-defun-level-list, verilog-in-generate-region-p)
16313 (verilog-backward-ws&directives, verilog-calc-1): Speed up
16314 indentation of some module items (generate items).
16315 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16316 across virtual/protected tasks and functions.
16317
16318 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
16319
16320 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16321 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
16322 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16323 in concatenations. Reported by Yishay Belkind.
16324 (verilog-auto-ascii-enum): Support one-hot state machines in
16325 AUTOASCIIENUM. Suggested by Lloyd Gomez.
16326 (verilog-auto-inst, verilog-auto-inst-port): Include interface
16327 modport in AUTOINST and add vl-modport for users. Reported by
16328 David Rogoff.
16329 (verilog-auto-inout-module, verilog-auto-inst)
16330 (verilog-decls-get-interfaces, verilog-insert-definition)
16331 (verilog-insert-one-definition, verilog-read-decls)
16332 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16333 (verilog-sig-modport, verilog-signals-combine-bus)
16334 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16335 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16336 Suggested by David Rogoff.
16337 (verilog-repair-open-comma): Fix non-insertion of comma when
16338 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
16339 (verilog-make-width-expression): Simplify [A-1:0] expression
16340 widths to just {A{1'b0}}.
16341 (verilog-mode): Cleanup checkdoc warnings.
16342 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16343 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16344 inputs/outputs or data type. Suggested by Vasu Kandadi.
16345 (next-error-last-buffer): Fix byte-compiler warning.
16346 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16347 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16348 or shell command text during AUTO expansion. Suggested by Tad Truex.
16349 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16350 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16351 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16352 in AUTOINOUT. Reported by Matthew Lovell.
16353 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16354 causing use of <= assignments. Reported by Alex Reed.
16355 (verilog-read-decls): Fix triand, trior, wand, wor to be
16356 recognized by AUTOWIRE. Reported by Spencer Isaacson.
16357 (verilog-extended-complete-re): Support import "DPI-C" functions.
16358 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16359 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
16360 (verilog-insert-date, verilog-insert-year)
16361 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16362 Windows systems. Reported by Michael Potts.
16363 (verilog-read-module-name): Fix AUTOINST when the child module
16364 declaration's name is a tick define. Reported by Elliot Mednick.
16365 (verilog-read-decls): Fix V2K parameter bit subscripts getting
16366 passed to next parameter's definition. Reported by Bruce T.
16367 (verilog-read-decls): Fix detecting "parameter int" when using
16368 AUTOINSTPARAM. Reported by Bruce T.
16369 (verilog-goto-defun): Fix goto not finding modules unless first
16370 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
16371 (verilog-mode): Expand -f flag arguments on entry to mode so
16372 verilog-goto-defun will work. Reported by Lawrence Butcher.
16373 (verilog-getopt): Expand environment variables in -f file
16374 arguments. Suggested by Lawrence Butcher.
16375 (verilog-set-define): Fix "Symbol's value as variable is void"
16376 when reading enumerations.
16377 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16378 Suggested by Stephen Peltan.
16379 (verilog-read-defines): Fix reading of enumerations in include
16380 files. Reported by Steve Peltan.
16381
16382 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16383
16384 * files.el (trash-directory): Fix defcustom type.
16385
16386 2009-06-28 Juri Linkov <juri@jurta.org>
16387
16388 * help-fns.el (describe-function-1): Correctly locate adviced
16389 functions in hyperlink (Bug#2438).
16390
16391 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
16392
16393 * files.el (trash-directory): Change default to nil.
16394 (move-file-to-trash): If trash-directory is nil and
16395 system-move-file-to-trash is unbound, perform freedesktop-style
16396 trashing.
16397
16398 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16399
16400 * files.el (move-file-to-trash): Add freedesktop trash
16401 support (Bug#973).
16402
16403 2009-06-28 Glenn Morris <rgm@gnu.org>
16404
16405 * autorevert.el (global-auto-revert-non-file-buffers)
16406 (global-auto-revert-mode): Doc fixes.
16407
16408 2009-06-27 Johan Bockgård <bojohan@gnu.org>
16409
16410 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
16411
16412 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
16413
16414 * faces.el (x-handle-named-frame-geometry): Ensure that we have
16415 opened an X connection before calling x-get-resource (Bug#3194).
16416
16417 * play/doctor.el: Remove reference to obsolete website.
16418 (make-doctor-variables): Correct grammar mistake (Bug#2633).
16419
16420 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
16421
16422 Remove find-file-not-found-hook VC method. (Bug#2757)
16423 * vc-hooks.el (vc-file-not-found-hook)
16424 (vc-default-find-file-not-found-hook): Remove functions.
16425 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
16426 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
16427 * vc.el:
16428 * vc-hg.el:
16429 * vc-git.el: Do not mention find-file-not-found-hook VC method.
16430
16431 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
16432
16433 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
16434 compatibility function for `looking-back'.
16435
16436 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16437 Use `ispell-looking-back'.
16438
16439 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
16440
16441 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
16442 rather than `filename'.
16443
16444 2009-06-23 Miles Bader <miles@gnu.org>
16445
16446 * face-remap.el (text-scale-set): New function.
16447
16448 2009-06-23 Glenn Morris <rgm@gnu.org>
16449
16450 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
16451
16452 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
16453
16454 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
16455
16456 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
16457
16458 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
16459 Simplify Persian conditionals.
16460
16461 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
16462 variable `filename'.
16463
16464 * comint.el (comint-insert-input): Doc fix.
16465
16466 * Makefile.in (ELCFILES): Fix typo in previous change.
16467
16468 2009-06-23 Miles Bader <miles@gnu.org>
16469
16470 * cus-start.el: Add entry for `recenter-redisplay'.
16471
16472 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16473
16474 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
16475 Add an optional argument for the backend, use it instead of
16476 calling vc-backend.
16477 (vc-mode-line): Add an optional argument for the backend.
16478 Pass the backend to vc-state and vc-working-revision. Move code for
16479 special handling for vc-state being a buffer to ...
16480
16481 * vc-rcs.el (vc-rcs-find-file-hook):
16482 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
16483
16484 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
16485 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
16486 vc-stay-local-p and vc-mode-line calls.
16487
16488 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
16489 (vc-cvs-diff, vc-cvs-annotate-command)
16490 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
16491 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
16492 vc-mode-line calls.
16493
16494 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
16495 direct comparison.
16496 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
16497 backend when calling vc-mode-line.
16498 (vc-register): Do not create a closure for calling the vc register
16499 function, call it directly.
16500
16501 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16502
16503 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
16504 to make it obvious item can be clicked.
16505
16506 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
16507
16508 2009-06-23 Kenichi Handa <handa@m17n.org>
16509
16510 * language/korea-util.el (korean-key-bindings): Change the binding
16511 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
16512 same command.
16513
16514 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
16515
16516 Sync with Tramp 2.1.16.
16517
16518 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
16519
16520 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
16521 when a loading of a package fails. Completion function for rsync
16522 is `tramp-completion-function-alist-ssh'.
16523 (all): Replace all calls of `split-string' and
16524 `tramp-split-string' by `tramp-compat-split-string'.
16525 (tramp-default-method): Use `tramp-compat-process-running-p'.
16526 (tramp-default-proxies-alist): Allow also Lisp forms.
16527 (tramp-remote-path): Add choice "Private Directories".
16528 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
16529 (tramp-domain-regexp): Allow also "-", "_" and ".".
16530 (tramp-end-of-output): Remove newlines, and add "$" at the end.
16531 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
16532 (tramp-debug-message): Insert header line in debug buffer.
16533 (tramp-handle-directory-files-and-attributes-with-stat):
16534 Care about filenames with spaces, or starting with "-".
16535 (tramp-handle-dired-uncache): New defun.
16536 (tramp-handle-insert-directory): Don't flush the directory from
16537 cache, this is handled by `dired-uncache' now.
16538 (tramp-handle-insert-file-contents): Improve error handling.
16539 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16540 Quote `tramp-end-of-output'.
16541 (tramp-action-password): Improve trace message.
16542 (tramp-check-for-regexp): Both echoes must be present, before removing.
16543 (tramp-open-connection-setup-interactive-shell): Trace coding system.
16544 (tramp-compute-multi-hops): Eval cons cells of
16545 `tramp-default-proxies-alist'.
16546 (tramp-maybe-open-connection): Use the same command pattern for
16547 first hop and further hops.
16548 (tramp-wait-for-output): Remove handling of newlines.
16549 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
16550 (tramp-split-string): Remove function. It is handled in
16551 tramp-compat now.
16552
16553 * net/tramp-cmds.el (tramp-bug):
16554 Recommend `tramp-cleanup-all-connections' in the bug mail.
16555
16556 * net/tramp-compat.el (tramp-compat-split-string)
16557 (tramp-compat-process-running-p): New defuns.
16558
16559 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
16560 for `dired-uncache'.
16561
16562 * net/tramp-gvfs.el: New package.
16563
16564 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16565 Add handler for `dired-uncache'.
16566 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
16567
16568 * net/trampver.el: Update release number. Make version check fit
16569 for SXEmacs 22.
16570
16571 2009-06-22 Jim Meyering <meyering@redhat.com>
16572
16573 Automatically handle .xz suffix (XZ-compressed files), too.
16574 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
16575 XZ is the successor to LZMA: <http://tukaani.org/xz/>
16576
16577 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
16578 Nick Roberts <nickrob@snap.net.nz>
16579
16580 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
16581 repository (http://sphinx.net.ru/hg/gdb-mi/).
16582
16583 2009-06-22 Glenn Morris <rgm@gnu.org>
16584
16585 * files.el (dir-locals-collect-mode-variables): Allow for any number of
16586 `mode' and `eval' entries. (Bug#3430)
16587
16588 * Makefile.in (ELCFILES): Add fadr.elc.
16589
16590 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
16591 differing behavior of \n and ^ in strings. (Bug#3385)
16592
16593 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
16594
16595 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
16596 property.
16597 (lisp-indent-function): Make it a defcustom.
16598
16599 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
16600
16601 * progmodes/gdb-ui.el: Replace with ...
16602 * progmodes/gdb-mi.el: ... this file.
16603 * progmodes/gud.el: Modify for gdb-mi.el.
16604
16605 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
16606
16607 * fadr.el: New file.
16608
16609 See ChangeLog.14 for earlier changes.
16610
16611 ;; Local Variables:
16612 ;; coding: utf-8
16613 ;; End:
16614
16615 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
16616
16617 This file is part of GNU Emacs.
16618
16619 GNU Emacs is free software: you can redistribute it and/or modify
16620 it under the terms of the GNU General Public License as published by
16621 the Free Software Foundation, either version 3 of the License, or
16622 (at your option) any later version.
16623
16624 GNU Emacs is distributed in the hope that it will be useful,
16625 but WITHOUT ANY WARRANTY; without even the implied warranty of
16626 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16627 GNU General Public License for more details.
16628
16629 You should have received a copy of the GNU General Public License
16630 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
16631
16632 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1